All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/38][PULL REQUEST] AMD IOMMU Updates for v7.5
@ 2026-12-04  9:55 Vasant Hegde
  2026-12-04  9:55 ` [PATCH 01/38] iommu/amd: Enhance "Command buffer timeout" error message Vasant Hegde
                   ` (38 more replies)
  0 siblings, 39 replies; 40+ messages in thread
From: Vasant Hegde @ 2026-12-04  9:55 UTC (permalink / raw)
  To: joro; +Cc: iommu

Hi Joerg,

  This series includes quite a few fixes and minor cleanups.
  Major changes:

  - Move DTE lock from dev_data structure to pci segment so that we can
    have consistent locking mechanism while updating DTE.

  - Fixes for init/teardown path specifically around interrupt
    allocation, protection domain ID free path, etc.

  - RCU protectin for GA Log notifier, keep unobserved log overflow
    status bits and performance improvement in interrupt invalidation
    path. Disable GAPPI bit during boot to avoid unhandled interrupt
    issue when AVIC is enabled.

  - Couple of fixes for PASID/PRI handling path.
    Note that this addresses most of the issues in SVA path. I still
    have one more series to finish

This series is based on top of amd/amd-vi branch (commit b6a9fa34ce418).
Please consider pulling these patches for v7.5.

The full series is also available on GitHub:
  https://github.com/AMDESE/linux-iommu/tree/amd-vi/updates-7.5

Thanks
Vasant

Ankit Soni (2):
  iommu/amd: Move page-table setup into init_pgtable_params()
  iommu/amd: Adhere to IVINFO[PAsize] for output address limits

Dheeraj Kumar Srivastava (1):
  iommu/amd: Enhance "Command buffer timeout" error message

Guanghui Feng (2):
  iommu/amd: Do not clear unobserved log overflow status bits
  iommu/amd: Reuse device data for IRTE cache invalidation

Li RongQing (1):
  iommu/amd: RCU-protect iommu_ga_log_notifier

Naveen N Rao (AMD) (1):
  iommu/amd: Explicitly disable GAPPI

Santosh Shukla (1):
  iommu/amd: Restore an SVA PASID after PCI reset

Vasant Hegde (29):
  iommu/amd: Continue the completion sequence in SNP kdump
  iommu/amd: Destroy protection domain IDs after the domains are freed
  iommu/amd: Unregister the IOMMUs before disabling them on init failure
  iommu/amd: Log error message when IOMMU interrupt setup failed
  iommu/amd: Remove the shared INTCAPXT domain only after its IRQs are freed
  iommu/amd: Serialize device-table writes with one per-segment lock
  iommu/amd: Identify a DTE entry by its DeviceID
  iommu/amd: Drop the iommu_dev_data allocation for alias devices
  iommu/amd: Clear the event log entry after reporting an I/O page fault
  iommu/amd: Hold the device mutex across a page-fault report
  iommu/amd: Log raw event log
  iommu/amd: Drop redundant flushes when the page table top changes
  iommu/amd: Fix page-counter drift in multi-level GCR3 table teardown
  iommu/amd: Do not allocate GCR3 tables when clearing a PASID
  iommu/amd: Allocate the completion sequence after queueing commands
  iommu/amd: Free the level-1 tables of a two-level GCR3 table
  iommu/amd: Update device attach state only after a successful attach
  iommu/amd: Write the DTE under the domain lock on attach and detach
  iommu/amd: Disable PRI before ATS and PASID
  iommu/amd: Derive the PPR completion GN bit from the request
  iommu/amd: Complete a PPR from a device the IOMMU did not probe
  iommu/amd: Keep the GCR3 table while PASIDs are attached
  iommu/amd: Return -ENOMEM when SVA PASID allocation fails
  iommu/amd: Complete an aborted PPR group only on its last page
  iommu/amd: Discard partial page requests when the PPR log overflows
  iommu/amd: Allocate the GCR3 table from the device
  iommu/amd: Drain the PPR log before detaching an SVA PASID
  iommu/amd: Drain the PPR log before removing a device from the IOPF queue
  iommu/amd: Don't detach SVA PASIDs from the mm release notifier

Wei Wang (1):
  iommu/amd: Skip the southbridge IOAPIC PCI class check in guests

 drivers/iommu/amd/amd_iommu.h       |   9 +-
 drivers/iommu/amd/amd_iommu_types.h |  21 +-
 drivers/iommu/amd/init.c            | 229 +++++++++---
 drivers/iommu/amd/iommu.c           | 562 +++++++++++++++-------------
 drivers/iommu/amd/pasid.c           |  32 +-
 drivers/iommu/amd/ppr.c             |  92 ++++-
 6 files changed, 608 insertions(+), 337 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2026-12-05  7:37 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04  9:55 [PATCH 00/38][PULL REQUEST] AMD IOMMU Updates for v7.5 Vasant Hegde
2026-12-04  9:55 ` [PATCH 01/38] iommu/amd: Enhance "Command buffer timeout" error message Vasant Hegde
2026-12-04  9:56 ` [PATCH 02/38] iommu/amd: Move page-table setup into init_pgtable_params() Vasant Hegde
2026-12-04  9:56 ` [PATCH 03/38] iommu/amd: Adhere to IVINFO[PAsize] for output address limits Vasant Hegde
2026-12-04  9:56 ` [PATCH 04/38] iommu/amd: Do not clear unobserved log overflow status bits Vasant Hegde
2026-12-04  9:56 ` [PATCH 05/38] iommu/amd: RCU-protect iommu_ga_log_notifier Vasant Hegde
2026-12-04  9:56 ` [PATCH 06/38] iommu/amd: Reuse device data for IRTE cache invalidation Vasant Hegde
2026-12-04  9:56 ` [PATCH 07/38] iommu/amd: Skip the southbridge IOAPIC PCI class check in guests Vasant Hegde
2026-12-04  9:56 ` [PATCH 08/38] iommu/amd: Continue the completion sequence in SNP kdump Vasant Hegde
2026-12-04  9:56 ` [PATCH 09/38] iommu/amd: Destroy protection domain IDs after the domains are freed Vasant Hegde
2026-12-04  9:56 ` [PATCH 10/38] iommu/amd: Unregister the IOMMUs before disabling them on init failure Vasant Hegde
2026-12-04  9:56 ` [PATCH 11/38] iommu/amd: Log error message when IOMMU interrupt setup failed Vasant Hegde
2026-12-04  9:56 ` [PATCH 12/38] iommu/amd: Remove the shared INTCAPXT domain only after its IRQs are freed Vasant Hegde
2026-12-04  9:56 ` [PATCH 13/38] iommu/amd: Serialize device-table writes with one per-segment lock Vasant Hegde
2026-12-04  9:56 ` [PATCH 14/38] iommu/amd: Identify a DTE entry by its DeviceID Vasant Hegde
2026-12-04  9:56 ` [PATCH 15/38] iommu/amd: Drop the iommu_dev_data allocation for alias devices Vasant Hegde
2026-12-04  9:56 ` [PATCH 16/38] iommu/amd: Clear the event log entry after reporting an I/O page fault Vasant Hegde
2026-12-04  9:56 ` [PATCH 17/38] iommu/amd: Hold the device mutex across a page-fault report Vasant Hegde
2026-12-04  9:56 ` [PATCH 18/38] iommu/amd: Log raw event log Vasant Hegde
2026-12-04  9:56 ` [PATCH 19/38] iommu/amd: Drop redundant flushes when the page table top changes Vasant Hegde
2026-12-04  9:56 ` [PATCH 20/38] iommu/amd: Fix page-counter drift in multi-level GCR3 table teardown Vasant Hegde
2026-12-04  9:56 ` [PATCH 21/38] iommu/amd: Do not allocate GCR3 tables when clearing a PASID Vasant Hegde
2026-12-04  9:56 ` [PATCH 22/38] iommu/amd: Allocate the completion sequence after queueing commands Vasant Hegde
2026-12-04  9:56 ` [PATCH 23/38] iommu/amd: Free the level-1 tables of a two-level GCR3 table Vasant Hegde
2026-12-04  9:56 ` [PATCH 24/38] iommu/amd: Update device attach state only after a successful attach Vasant Hegde
2026-12-04  9:56 ` [PATCH 25/38] iommu/amd: Write the DTE under the domain lock on attach and detach Vasant Hegde
2026-12-04  9:56 ` [PATCH 26/38] iommu/amd: Disable PRI before ATS and PASID Vasant Hegde
2026-12-04  9:56 ` [PATCH 27/38] iommu/amd: Derive the PPR completion GN bit from the request Vasant Hegde
2026-12-04  9:56 ` [PATCH 28/38] iommu/amd: Complete a PPR from a device the IOMMU did not probe Vasant Hegde
2026-12-04  9:56 ` [PATCH 29/38] iommu/amd: Restore an SVA PASID after PCI reset Vasant Hegde
2026-12-04  9:56 ` [PATCH 30/38] iommu/amd: Keep the GCR3 table while PASIDs are attached Vasant Hegde
2026-12-04  9:56 ` [PATCH 31/38] iommu/amd: Return -ENOMEM when SVA PASID allocation fails Vasant Hegde
2026-12-04  9:56 ` [PATCH 32/38] iommu/amd: Complete an aborted PPR group only on its last page Vasant Hegde
2026-12-04  9:56 ` [PATCH 33/38] iommu/amd: Discard partial page requests when the PPR log overflows Vasant Hegde
2026-12-04  9:56 ` [PATCH 34/38] iommu/amd: Allocate the GCR3 table from the device Vasant Hegde
2026-12-04  9:56 ` [PATCH 35/38] iommu/amd: Drain the PPR log before detaching an SVA PASID Vasant Hegde
2026-12-04  9:56 ` [PATCH 36/38] iommu/amd: Drain the PPR log before removing a device from the IOPF queue Vasant Hegde
2026-12-04  9:56 ` [PATCH 37/38] iommu/amd: Don't detach SVA PASIDs from the mm release notifier Vasant Hegde
2026-12-04  9:56 ` [PATCH 38/38] iommu/amd: Explicitly disable GAPPI Vasant Hegde
2026-12-05  7:36 ` [PATCH 00/38][PULL REQUEST] AMD IOMMU Updates for v7.5 Jörg Rödel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.