]> git.ipfire.org Git - thirdparty/linux.git/commit
iommu/vt-d: Remove dmar_writel() and dmar_writeq()
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 2 Apr 2026 06:57:29 +0000 (14:57 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 2 Apr 2026 07:26:06 +0000 (09:26 +0200)
commit51234c4e57c8cee33dfcbdd07e65ab06c86eb326
tree96e3745139370212cd7d85c522c6bdf3c9d7ee67
parent973009137138aa6372c2346d389601e26659645b
iommu/vt-d: Remove dmar_writel() and dmar_writeq()

dmar_writel() and dmar_writeq() do nothing other than expand to the generic
writel() and writeq(), and the dmar_write*() wrappers are used
inconsistently.

Remove the dmar_write*() wrappers and use writel() and writeq() directly.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Samiullah Khawaja <skhawaja@google.com>
Link: https://lore.kernel.org/r/20260217214438.3395039-3-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/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