public inbox for iommu@lists.linux-foundation.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] iommu/vt-d: Remove dmar_readl(), etc
@ 2026-02-17 21:44 Bjorn Helgaas
  2026-02-17 21:44 ` [PATCH v1 1/2] iommu/vt-d: Remove dmar_readl() and dmar_readq() Bjorn Helgaas
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Bjorn Helgaas @ 2026-02-17 21:44 UTC (permalink / raw)
  To: David Woodhouse, Lu Baolu, Joerg Roedel, Will Deacon
  Cc: Robin Murphy, iommu, linux-kernel, Bjorn Helgaas

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


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [PATCH v1 0/2] iommu/vt-d: Remove dmar_readl(), etc
@ 2026-02-17 21:05 Bjorn Helgaas
  0 siblings, 0 replies; 7+ messages in thread
From: Bjorn Helgaas @ 2026-02-17 21:05 UTC (permalink / raw)
  To: David Woodhouse, Lu Baolu, Joerg Roedel, Will Deacon
  Cc: Robin Murphy, iommu, linux-kernel, Bjorn Helgaas

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2026-04-01  7:11 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-17 21:44 [PATCH v1 0/2] iommu/vt-d: Remove dmar_readl(), etc Bjorn Helgaas
2026-02-17 21:44 ` [PATCH v1 1/2] iommu/vt-d: Remove dmar_readl() and dmar_readq() Bjorn Helgaas
2026-02-17 23:52   ` Samiullah Khawaja
2026-02-17 21:44 ` [PATCH v1 2/2] iommu/vt-d: Remove dmar_writel() and dmar_writeq() Bjorn Helgaas
2026-02-17 23:52   ` Samiullah Khawaja
2026-04-01  7:10 ` [PATCH v1 0/2] iommu/vt-d: Remove dmar_readl(), etc Baolu Lu
  -- strict thread matches above, loose matches on Subject: below --
2026-02-17 21:05 Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox