]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/vt-d: Remove the CONFIG_X86 wrapping from iommu init hook
authorVineeth Pillai (Google) <vineeth@bitbyteword.org>
Mon, 14 Jul 2025 04:50:18 +0000 (12:50 +0800)
committerWill Deacon <will@kernel.org>
Mon, 14 Jul 2025 10:18:03 +0000 (11:18 +0100)
commitbd26cd9d815acba56204c8b2af45af96d221c962
tree41239753f6af50998bc584c0a5d3d0ddb0dc787f
parent86731a2a651e58953fc949573895f2fa6d456841
iommu/vt-d: Remove the CONFIG_X86 wrapping from iommu init hook

iommu init hook is wrapped in CONFI_X86 and is a remnant of dmar.c when
it was a common code in "drivers/pci/dmar.c". This was added in commit
(9d5ce73a64be2 x86: intel-iommu: Convert detect_intel_iommu to use
iommu_init hook)

Now this is built only for x86. This config wrap could be removed.

Signed-off-by: Vineeth Pillai (Google) <vineeth@bitbyteword.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/20250616131740.3499289-1-vineeth@bitbyteword.org
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20250714045028.958850-2-baolu.lu@linux.intel.com
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/intel/dmar.c