Skip to content

iommu/amd: Interrupt handling improvements

Vasant Hegde linux-iommu 3 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 3 repliesApplied
  2. v22 patches 0 repliesSuperseded
  3. v12 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- Moved log message to amd_iommu_handle_irq() - Thanks Joao

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/2iommu/amd: Refactor IOMMU interrupt handling logic for Event, PPR, and GA logsdrivers/iommu/amd/amd_iommu.h drivers/iommu/amd/iommu.c+53 -431 reply
2/2iommu/amd: Enable separate interrupt for PPR and GA logdrivers/iommu/amd/amd_iommu_types.h drivers/iommu/amd/init.c+47 -121 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSuravee SuthikulpanitAlexey KardashevskiyJerry Snitselaar
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v3 thread

Cover letter [PATCH v3 0/2] iommu/amd: Interrupt handling improvements

AMD IOMMU has three different logs/interrupts (Event, PPR and GA). Currently, the IOMMU driver consolidates interrupts for all three logs to a single interrupt. This could become a bottleneck when enable GA and PPR logs simultaneously. Hence separate these interrupt to prevent potential performance issue.

This series applies on top of PPR overflow support patchset [1].
[1] https://lore.kernel.org/linux-iommu/[email protected]/T/#t

Changes from v2 -> v3:
- Moved log message to amd_iommu_handle_irq() - Thanks Joao

V2 : https://lore.kernel.org/linux-iommu/[email protected]/

Changes from v1 -> v2:
- Moved GA log interrupt under CONFIG_IRQ_REMAP
- Updated patch description

V1 : https://lore.kernel.org/linux-iommu/[email protected]/

Vasant Hegde (2):
iommu/amd: Refactor IOMMU interrupt handling logic for Event, PPR, and GA logs iommu/amd: Enable separate interrupt for PPR and GA log

 drivers/iommu/amd/amd_iommu.h       |  3 +
 drivers/iommu/amd/amd_iommu_types.h |  9 +++
 drivers/iommu/amd/init.c            | 50 ++++++++++++----
 drivers/iommu/amd/iommu.c           | 93 ++++++++++++++++-------------
 4 files changed, 100 insertions(+), 55 deletions(-)
Signature · 1 line
2.31.1