mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Helgaas <helgaas@kernel.org>
To: David Woodhouse <dwmw2@infradead.org>,
	Lu Baolu <baolu.lu@linux.intel.com>,
	Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>
Cc: Robin Murphy <robin.murphy@arm.com>,
	iommu@lists.linux.dev, linux-kernel@vger.kernel.org,
	Bjorn Helgaas <bhelgaas@google.com>
Subject: [PATCH v1 0/2] iommu/vt-d: Remove dmar_readl(), etc
Date: Tue, 17 Feb 2026 15:44:36 -0600	[thread overview]
Message-ID: <20260217214438.3395039-1-bhelgaas@google.com> (raw)

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


             reply	other threads:[~2026-02-17 21:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-17 21:44 Bjorn Helgaas [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260217214438.3395039-1-bhelgaas@google.com \
    --to=helgaas@kernel.org \
    --cc=baolu.lu@linux.intel.com \
    --cc=bhelgaas@google.com \
    --cc=dwmw2@infradead.org \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robin.murphy@arm.com \
    --cc=will@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®