Archive-only list for patches
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: iommu@lists.linux.dev, Joerg Roedel <joro@8bytes.org>,
	Robin Murphy <robin.murphy@arm.com>,
	Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>,
	Will Deacon <will@kernel.org>
Cc: Joerg Roedel <jroedel@suse.de>,
	patches@lists.linux.dev, Vasant Hegde <vasant.hegde@amd.com>
Subject: [PATCH rc 0/2] iommu/amd: Fix locking for domain->dev_list
Date: Thu,  5 Dec 2024 20:13:40 -0400	[thread overview]
Message-ID: <0-v1-3b9edcf8067d+3975-amd_dev_list_locking_jgg@nvidia.com> (raw)

Two small patches to fix locking regressions around this list. Found by
inspection.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>

Jason Gunthorpe (2):
  iommu/amd: Put list_add/del(dev_data) back under the domain->lock
  iommu/amd: Add lockdep asserts for domain->dev_list

 drivers/iommu/amd/iommu.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)


base-commit: 457730bc1f55c2b29d374e10cc125506f2b3cde9
-- 
2.43.0


             reply	other threads:[~2024-12-06  0:13 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-06  0:13 Jason Gunthorpe [this message]
2024-12-06  0:13 ` [PATCH rc 1/2] iommu/amd: Put list_add/del(dev_data) back under the domain->lock Jason Gunthorpe
2024-12-09  8:23   ` Vasant Hegde
2024-12-06  0:13 ` [PATCH rc 2/2] iommu/amd: Add lockdep asserts for domain->dev_list Jason Gunthorpe
2024-12-09  8:18   ` Vasant Hegde
2024-12-10  9:12 ` [PATCH rc 0/2] iommu/amd: Fix locking " Joerg Roedel

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=0-v1-3b9edcf8067d+3975-amd_dev_list_locking_jgg@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=iommu@lists.linux.dev \
    --cc=joro@8bytes.org \
    --cc=jroedel@suse.de \
    --cc=patches@lists.linux.dev \
    --cc=robin.murphy@arm.com \
    --cc=suravee.suthikulpanit@amd.com \
    --cc=vasant.hegde@amd.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