From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laurent Pinchart Subject: Re: [PATCH v2 linux-next] iommu: Enable LPAE pagetable on ARM only Date: Tue, 24 Feb 2015 02:02:57 +0200 Message-ID: <3203874.zEMjzr0PS0@avalon> References: <2868840.GyWYJOzqWH@avalon> <1424735721-32313-1-git-send-email-vincent.stehle@laposte.net> <4372575.Lr7FssDpKu@avalon> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4372575.Lr7FssDpKu@avalon> 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: Vincent =?ISO-8859-1?Q?Stehl=E9?= Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org, linux-next-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Will Deacon , linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: iommu@lists.linux-foundation.org Hi Vincent, On Tuesday 24 February 2015 01:58:17 Laurent Pinchart wrote: > On Tuesday 24 February 2015 00:55:21 Vincent Stehl=E9 wrote: > > LPAE iommu page table makes sense only for ARM architecture. Add the > > corresponding dependency in Kconfig (and enable for COMPILE_TEST, too, = as > > per Laurent's suggestion). > > = > > Signed-off-by: Vincent Stehl=E9 > > Suggested-by: Laurent Pinchart > > Cc: Will Deacon > = > Acked-by: Laurent Pinchart And I of course spoke too soon :-/ > > --- > > = > > Changes since v1: > > - Add condition on COMPILE_TEST > > = > > drivers/iommu/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > = > > diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig > > index baa0d97..27cd88d 100644 > > --- a/drivers/iommu/Kconfig > > +++ b/drivers/iommu/Kconfig > > @@ -22,6 +22,7 @@ config IOMMU_IO_PGTABLE > > = > > config IOMMU_IO_PGTABLE_LPAE > > bool "ARMv7/v8 Long Descriptor Format" > > + depends on ARM || COMPILE_TEST Shouldn't this be ARM || ARM64 || COMPILE_TEST ? > > select IOMMU_IO_PGTABLE > > help > > Enable support for the ARM long descriptor pagetable format. -- = Regards, Laurent Pinchart From mboxrd@z Thu Jan 1 00:00:00 1970 From: laurent.pinchart@ideasonboard.com (Laurent Pinchart) Date: Tue, 24 Feb 2015 02:02:57 +0200 Subject: [PATCH v2 linux-next] iommu: Enable LPAE pagetable on ARM only In-Reply-To: <4372575.Lr7FssDpKu@avalon> References: <2868840.GyWYJOzqWH@avalon> <1424735721-32313-1-git-send-email-vincent.stehle@laposte.net> <4372575.Lr7FssDpKu@avalon> Message-ID: <3203874.zEMjzr0PS0@avalon> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Vincent, On Tuesday 24 February 2015 01:58:17 Laurent Pinchart wrote: > On Tuesday 24 February 2015 00:55:21 Vincent Stehl? wrote: > > LPAE iommu page table makes sense only for ARM architecture. Add the > > corresponding dependency in Kconfig (and enable for COMPILE_TEST, too, as > > per Laurent's suggestion). > > > > Signed-off-by: Vincent Stehl? > > Suggested-by: Laurent Pinchart > > Cc: Will Deacon > > Acked-by: Laurent Pinchart And I of course spoke too soon :-/ > > --- > > > > Changes since v1: > > - Add condition on COMPILE_TEST > > > > drivers/iommu/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig > > index baa0d97..27cd88d 100644 > > --- a/drivers/iommu/Kconfig > > +++ b/drivers/iommu/Kconfig > > @@ -22,6 +22,7 @@ config IOMMU_IO_PGTABLE > > > > config IOMMU_IO_PGTABLE_LPAE > > bool "ARMv7/v8 Long Descriptor Format" > > + depends on ARM || COMPILE_TEST Shouldn't this be ARM || ARM64 || COMPILE_TEST ? > > select IOMMU_IO_PGTABLE > > help > > Enable support for the ARM long descriptor pagetable format. -- Regards, Laurent Pinchart From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752650AbbBXAB6 (ORCPT ); Mon, 23 Feb 2015 19:01:58 -0500 Received: from galahad.ideasonboard.com ([185.26.127.97]:49734 "EHLO galahad.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751845AbbBXAB4 convert rfc822-to-8bit (ORCPT ); Mon, 23 Feb 2015 19:01:56 -0500 From: Laurent Pinchart To: Vincent =?ISO-8859-1?Q?Stehl=E9?= Cc: iommu@lists.linux-foundation.org, linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Will Deacon Subject: Re: [PATCH v2 linux-next] iommu: Enable LPAE pagetable on ARM only Date: Tue, 24 Feb 2015 02:02:57 +0200 Message-ID: <3203874.zEMjzr0PS0@avalon> User-Agent: KMail/4.14.3 (Linux/3.18.7-gentoo; KDE/4.14.3; x86_64; ; ) In-Reply-To: <4372575.Lr7FssDpKu@avalon> References: <2868840.GyWYJOzqWH@avalon> <1424735721-32313-1-git-send-email-vincent.stehle@laposte.net> <4372575.Lr7FssDpKu@avalon> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vincent, On Tuesday 24 February 2015 01:58:17 Laurent Pinchart wrote: > On Tuesday 24 February 2015 00:55:21 Vincent Stehlé wrote: > > LPAE iommu page table makes sense only for ARM architecture. Add the > > corresponding dependency in Kconfig (and enable for COMPILE_TEST, too, as > > per Laurent's suggestion). > > > > Signed-off-by: Vincent Stehlé > > Suggested-by: Laurent Pinchart > > Cc: Will Deacon > > Acked-by: Laurent Pinchart And I of course spoke too soon :-/ > > --- > > > > Changes since v1: > > - Add condition on COMPILE_TEST > > > > drivers/iommu/Kconfig | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig > > index baa0d97..27cd88d 100644 > > --- a/drivers/iommu/Kconfig > > +++ b/drivers/iommu/Kconfig > > @@ -22,6 +22,7 @@ config IOMMU_IO_PGTABLE > > > > config IOMMU_IO_PGTABLE_LPAE > > bool "ARMv7/v8 Long Descriptor Format" > > + depends on ARM || COMPILE_TEST Shouldn't this be ARM || ARM64 || COMPILE_TEST ? > > select IOMMU_IO_PGTABLE > > help > > Enable support for the ARM long descriptor pagetable format. -- Regards, Laurent Pinchart