]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
drivers: iommu: hyperv: Make HYPERV_IOMMU only available on x86
authorBoqun Feng <boqun.feng@gmail.com>
Thu, 17 Oct 2019 00:57:03 +0000 (08:57 +0800)
committerSasha Levin <sashal@kernel.org>
Fri, 22 Nov 2019 01:10:45 +0000 (20:10 -0500)
Currently hyperv-iommu is implemented in a x86 specific way, for
example, apic is used. So make the HYPERV_IOMMU Kconfig depend on X86
as a preparation for enabling HyperV on architecture other than x86.

Cc: Lan Tianyu <Tianyu.Lan@microsoft.com>
Cc: Michael Kelley <mikelley@microsoft.com>
Cc: linux-hyperv@vger.kernel.org
Signed-off-by: Boqun Feng (Microsoft) <boqun.feng@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/iommu/Kconfig

index e3842eabcfdd66560dc5c1e33af4011d10944562..f1086eaed41cbc2afd0d8db007bee1f32c2ba239 100644 (file)
@@ -467,7 +467,7 @@ config QCOM_IOMMU
 
 config HYPERV_IOMMU
        bool "Hyper-V x2APIC IRQ Handling"
-       depends on HYPERV
+       depends on HYPERV && X86
        select IOMMU_API
        default HYPERV
        help