From patchwork Tue Mar 7 03:17:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9608073 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 16A8D60414 for ; Tue, 7 Mar 2017 03:34:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 05C082841A for ; Tue, 7 Mar 2017 03:34:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE30D2846E; Tue, 7 Mar 2017 03:34:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 980162841A for ; Tue, 7 Mar 2017 03:34:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932571AbdCGDdr (ORCPT ); Mon, 6 Mar 2017 22:33:47 -0500 Received: from mail-pf0-f195.google.com ([209.85.192.195]:34053 "EHLO mail-pf0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932277AbdCGDcD (ORCPT ); Mon, 6 Mar 2017 22:32:03 -0500 Received: by mail-pf0-f195.google.com with SMTP id o126so5437323pfb.1; Mon, 06 Mar 2017 19:31:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=1hZMY2U0mluIfHR9Q7y0isiytCF6N5feSCakJX7Fwa4=; b=D8G/8P9FSSpF6F40+X47ehRzr2nucffQJ7iZFx6MkuOUUmuEyKNPDdWRpR7qaQ/Pm3 jXBAP4dzRhkFsp2ZlhVxUVfsA2Kuhdo7myXGyKSc5WV6wvRd3tismxj7Y++s4JarvoOy MgcZpBT1GKbn4HwlybGxhORUaoixIV7Ikk9xyulkd2or1Iv16lqWM2DNhA6Y+yx1Z4QM hglrkOKYEM4FaE6IVADDATDA56v3PnDA4A0AsmygK92VvRyqPE2jO/mpzas55EFCSqLi 2qH+GxEoZunFHts9O2MUmbHeG9rlKEOS0784MQn+ezpr8j3nBdwoW85QfywvXGBE5x5g HaeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=1hZMY2U0mluIfHR9Q7y0isiytCF6N5feSCakJX7Fwa4=; b=hTLc83Oqo/ARIwpgfxLcSklgC23eLcERn8RgjrSZOCHPC0ZtvkE8cBfm1uLC3ln+T0 +y9+QpZfW27AGetgoo7H32NV8qplO61b+sYimiGlSzamlVoKy0S4Uc7/1bNlgyxjZ98j 2u6Rp/iFFZUGu/071L6xD6rJ00Qnkahd06u/ut1EN7VZNarkOg2gV3igwI+B1W7mnjV6 oNDBFwvZgn8Ywv4Eqs8nGsDY8FSDhuJmSTOzX94TYZxMicZ4uNR+mGH+E0cw6VK+rElZ 5aTm6538hdcxt2mY19szKjHUcZcqAZYuhxW80zqLimXzJMwfVY+hBpkC0zBvMiqVdFhU YmTA== X-Gm-Message-State: AMke39mxk3qJZtVKBL3zNZt6HvvdpPnx3Syv/xPI8/bB7H+0ukrGo+PYR6hYghi/O+4vAQ== X-Received: by 10.99.161.17 with SMTP id b17mr24800917pgf.72.1488857016715; Mon, 06 Mar 2017 19:23:36 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id z4sm42313078pge.49.2017.03.06.19.23.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Mar 2017 19:23:35 -0800 (PST) From: Magnus Damm To: joro@8bytes.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, iommu@lists.linux-foundation.org, horms+renesas@verge.net.au, Magnus Damm , robin.murphy@arm.com, m.szyprowski@samsung.com Date: Tue, 07 Mar 2017 12:17:53 +0900 Message-Id: <148885667392.28553.14961612755669401435.sendpatchset@little-apple> In-Reply-To: <148885660307.28553.995847796823338863.sendpatchset@little-apple> References: <148885660307.28553.995847796823338863.sendpatchset@little-apple> Subject: [PATCH v7 07/07] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Neither the ARM page table code enabled by IOMMU_IO_PGTABLE_LPAE nor the IPMMU_VMSA driver actually depends on ARM_LPAE, so get rid of the dependency. Tested with ipmmu-vmsa on r8a7794 ALT and a kernel config using: # CONFIG_ARM_LPAE is not set Signed-off-by: Magnus Damm Acked-by: Laurent Pinchart Reviewed-by: Joerg Roedel --- Changes since V6: - None drivers/iommu/Kconfig | 1 - 1 file changed, 1 deletion(-) --- 0011/drivers/iommu/Kconfig +++ work/drivers/iommu/Kconfig 2017-03-06 18:50:49.260607110 +0900 @@ -275,7 +275,6 @@ config EXYNOS_IOMMU_DEBUG config IPMMU_VMSA bool "Renesas VMSA-compatible IPMMU" depends on ARM || IOMMU_DMA - depends on ARM_LPAE depends on ARCH_RENESAS || COMPILE_TEST select IOMMU_API select IOMMU_IO_PGTABLE_LPAE