mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] iommu: Fix domain check on device release
@ 2024-02-23  5:13 Lu Baolu
  2024-02-23  5:13 ` [PATCH 1/2] iommu: Add static iommu_ops->release_domain Lu Baolu
  2024-02-23  5:13 ` [PATCH 2/2] iommu/vt-d: Fix NULL domain on device release Lu Baolu
  0 siblings, 2 replies; 10+ messages in thread
From: Lu Baolu @ 2024-02-23  5:13 UTC (permalink / raw)
  To: Joerg Roedel, Will Deacon, Robin Murphy, Jason Gunthorpe,
	Kevin Tian, Eric Badger
  Cc: iommu, linux-kernel, Lu Baolu

This is a follow-up to the discussion thread here:

https://lore.kernel.org/linux-iommu/20240221154012.GC13491@ziepe.ca/

It fixes a NULL pointer reference in the Intel iommu driver and
strengthens the iommu core to possibly prevent similar failures in other
iommu drivers.

Best regards,
baolu

Lu Baolu (2):
  iommu: Add static iommu_ops->release_domain
  iommu/vt-d: Fix NULL domain on device release

 include/linux/iommu.h       |  1 +
 drivers/iommu/intel/iommu.c | 26 +-------------------------
 drivers/iommu/iommu.c       | 12 ++++++++++++
 3 files changed, 14 insertions(+), 25 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2024-02-28  3:36 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-23  5:13 [PATCH 0/2] iommu: Fix domain check on device release Lu Baolu
2024-02-23  5:13 ` [PATCH 1/2] iommu: Add static iommu_ops->release_domain Lu Baolu
2024-02-27  7:32   ` Tian, Kevin
2024-02-28  1:13     ` Baolu Lu
2024-02-28  3:08       ` Tian, Kevin
2024-02-28  3:30         ` Baolu Lu
2024-02-23  5:13 ` [PATCH 2/2] iommu/vt-d: Fix NULL domain on device release Lu Baolu
2024-02-27  7:40   ` Tian, Kevin
2024-02-28  1:22     ` Baolu Lu
2024-02-28  3:08       ` Tian, Kevin

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

Powered by JetHome