From mboxrd@z Thu Jan 1 00:00:00 1970 From: Will Deacon Subject: Re: [PATCH v2] iommu/io-pgtable-arm: Add built time dependency Date: Wed, 25 Feb 2015 12:41:00 +0000 Message-ID: <20150225124059.GB12377@arm.com> References: <20150223100521.45108573@endymion.delvare> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20150223100521.45108573-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Jean Delvare Cc: "iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org" , "linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org" List-Id: iommu@lists.linux-foundation.org On Mon, Feb 23, 2015 at 09:05:21AM +0000, Jean Delvare wrote: > If io-pgtable-arm is an ARM-specific driver then configuration option > IOMMU_IO_PGTABLE_LPAE should not be presented to the user by default > for non-ARM kernels. > > Signed-off-by: Jean Delvare > Cc: Will Deacon > Cc: Joerg Roedel > --- > Changes since v1: > * Added ARM64 as suggested by Will Deacon. Acked-by: Will Deacon Joerg, you may as well pick this on up directly too :) Cheers, Will > drivers/iommu/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > --- linux-4.0-rc1.orig/drivers/iommu/Kconfig 2015-02-20 17:24:46.838955014 +0100 > +++ linux-4.0-rc1/drivers/iommu/Kconfig 2015-02-23 10:03:06.487667832 +0100 > @@ -23,6 +23,7 @@ config IOMMU_IO_PGTABLE > config IOMMU_IO_PGTABLE_LPAE > bool "ARMv7/v8 Long Descriptor Format" > select IOMMU_IO_PGTABLE > + depends on ARM || ARM64 || COMPILE_TEST > help > Enable support for the ARM long descriptor pagetable format. > This allocator supports 4K/2M/1G, 16K/32M and 64K/512M page > > > -- > Jean Delvare > SUSE L3 Support >