]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
iommu/vt-d: Remove dmar_readl() and dmar_readq()
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 2 Apr 2026 06:57:28 +0000 (14:57 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 2 Apr 2026 07:26:05 +0000 (09:26 +0200)
commit973009137138aa6372c2346d389601e26659645b
tree84b49b8e3c48ad7a01b1f54f00f98b07225e84bc
parentc9587216d991120c3cf546bcd708422b26334888
iommu/vt-d: Remove dmar_readl() and dmar_readq()

dmar_readl() and dmar_readq() do nothing other than expand to the generic
readl() and readq(), and the dmar_read*() wrappers are used inconsistently.

Remove the dmar_read*() wrappers and use readl() and readq() directly.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Samiullah Khawaja <skhawaja@google.com>
Link: https://lore.kernel.org/r/20260217214438.3395039-2-bhelgaas@google.com
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/intel/debugfs.c
drivers/iommu/intel/dmar.c
drivers/iommu/intel/iommu.c
drivers/iommu/intel/iommu.h
drivers/iommu/intel/irq_remapping.c
drivers/iommu/intel/perfmon.c
drivers/iommu/intel/prq.c