[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200527144521.GL5221@8bytes.org>
Date: Wed, 27 May 2020 16:45:21 +0200
From: Joerg Roedel <joro@...tes.org>
To: Krzysztof Kozlowski <krzk@...nel.org>
Cc: Tony Luck <tony.luck@...el.com>, Fenghua Yu <fenghua.yu@...el.com>,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
x86@...nel.org, "H. Peter Anvin" <hpa@...or.com>,
linux-ia64@...r.kernel.org, linux-kernel@...r.kernel.org,
iommu@...ts.linux-foundation.org
Subject: Re: [PATCH 1/2] ia64: Hide the archdata.iommu field behind generic
IOMMU_API
On Mon, May 18, 2020 at 02:08:54PM +0200, Krzysztof Kozlowski wrote:
> There is a generic, kernel wide configuration symbol for enabling the
> IOMMU specific bits: CONFIG_IOMMU_API. Implementations (including
> INTEL_IOMMU driver) select it so use it here as well.
>
> This makes the conditional archdata.iommu field consistent with other
> platforms and also fixes any compile test builds of other IOMMU drivers,
> when INTEL_IOMMU is not selected).
>
> For the case when INTEL_IOMMU and COMPILE_TEST are not selected, this
> should create functionally equivalent code/choice. With COMPILE_TEST
> this field could appear if other IOMMU drivers are chosen but
> INTEL_IOMMU not.
>
> Reported-by: kbuild test robot <lkp@...el.com>
> Signed-off-by: Krzysztof Kozlowski <krzk@...nel.org>
>
> ---
>
> See:
> https://lore.kernel.org/lkml/202005181412.frC4juFy%25lkp@intel.com/
> ---
> arch/ia64/include/asm/device.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied both to iommu/fixes.
Powered by blists - more mailing lists