[PATCH v1 0/2] iommu/vt-d: Remove dmar_readl(), etc

Bjorn Helgaas posted 2 patches 1 month, 2 weeks ago
drivers/iommu/intel/debugfs.c       | 18 +++++------
drivers/iommu/intel/dmar.c          | 24 +++++++-------
drivers/iommu/intel/iommu.c         | 22 ++++++-------
drivers/iommu/intel/iommu.h         |  5 ---
drivers/iommu/intel/irq_remapping.c |  6 ++--
drivers/iommu/intel/perfmon.c       | 50 ++++++++++++++---------------
drivers/iommu/intel/prq.c           | 26 +++++++--------
7 files changed, 73 insertions(+), 78 deletions(-)
[PATCH v1 0/2] iommu/vt-d: Remove dmar_readl(), etc
Posted by Bjorn Helgaas 1 month, 2 weeks ago
Remove dmar_readl() and similar wrappers because they add nothing over
readl() and are used inconsistently.

dmar_writel() and dmar_writeq() swapped the order of the address and value
parameters, so I put those changes in a separate patch for ease of
reviewing.  I'm happy to squash them if desired.

Bjorn Helgaas (2):
  iommu/vt-d: Remove dmar_readl() and dmar_readq()
  iommu/vt-d: Remove dmar_writel() and dmar_writeq()

 drivers/iommu/intel/debugfs.c       | 18 +++++------
 drivers/iommu/intel/dmar.c          | 24 +++++++-------
 drivers/iommu/intel/iommu.c         | 22 ++++++-------
 drivers/iommu/intel/iommu.h         |  5 ---
 drivers/iommu/intel/irq_remapping.c |  6 ++--
 drivers/iommu/intel/perfmon.c       | 50 ++++++++++++++---------------
 drivers/iommu/intel/prq.c           | 26 +++++++--------
 7 files changed, 73 insertions(+), 78 deletions(-)

-- 
2.51.0
Re: [PATCH v1 0/2] iommu/vt-d: Remove dmar_readl(), etc
Posted by Baolu Lu 1 day, 20 hours ago
On 2/18/26 05:44, Bjorn Helgaas wrote:
> Remove dmar_readl() and similar wrappers because they add nothing over
> readl() and are used inconsistently.
> 
> dmar_writel() and dmar_writeq() swapped the order of the address and value
> parameters, so I put those changes in a separate patch for ease of
> reviewing.  I'm happy to squash them if desired.
> 
> Bjorn Helgaas (2):
>    iommu/vt-d: Remove dmar_readl() and dmar_readq()
>    iommu/vt-d: Remove dmar_writel() and dmar_writeq()

Queued for iommu/next.

Thanks,
baolu