Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934030AbcCOES6 (ORCPT ); Tue, 15 Mar 2016 00:18:58 -0400 Received: from mail-pf0-f180.google.com ([209.85.192.180]:35482 "EHLO mail-pf0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933960AbcCOESy (ORCPT ); Tue, 15 Mar 2016 00:18:54 -0400 From: Magnus Damm To: iommu@lists.linux-foundation.org Cc: laurent.pinchart+renesas@ideasonboard.com, geert+renesas@glider.be, linux-sh@vger.kernel.org, joro@8bytes.org, linux-kernel@vger.kernel.org, horms+renesas@verge.net.au, Magnus Damm Date: Tue, 15 Mar 2016 13:22:13 +0900 Message-Id: <20160315042213.22103.15860.sendpatchset@little-apple> In-Reply-To: <20160315042136.22103.26570.sendpatchset@little-apple> References: <20160315042136.22103.26570.sendpatchset@little-apple> Subject: [PATCH v2 04/04] iommu/ipmmu-vmsa: Drop LPAE Kconfig dependency Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1062 Lines: 34 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 --- Changes since V1: - Rebased on top of ARCH_RENESAS change - Added Acked-by from Laurent This time the result also compiles on x86. Need to be applied as last patch in the following series: [PATCH v2 00/04] iommu/ipmmu-vmsa: IPMMU multi-arch update V2 drivers/iommu/Kconfig | 1 - 1 file changed, 1 deletion(-) --- 0001/drivers/iommu/Kconfig +++ work/drivers/iommu/Kconfig 2016-03-15 12:28:45.210513000 +0900 @@ -284,7 +284,6 @@ config EXYNOS_IOMMU_DEBUG config IPMMU_VMSA bool "Renesas VMSA-compatible IPMMU" - depends on ARM_LPAE depends on ARCH_RENESAS || COMPILE_TEST select IOMMU_API select IOMMU_IO_PGTABLE_LPAE