All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/2] iommu/amd: Interrupt handling improvements
@ 2023-06-28  5:32 Vasant Hegde
  2023-06-28  5:32 ` [PATCH v3 1/2] iommu/amd: Refactor IOMMU interrupt handling logic for Event, PPR, and GA logs Vasant Hegde
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Vasant Hegde @ 2023-06-28  5:32 UTC (permalink / raw)
  To: iommu, joro; +Cc: suravee.suthikulpanit, joao.m.martins, jsnitsel, Vasant Hegde

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/20230628051624.5792-1-vasant.hegde@amd.com/T/#t

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

V2 : https://lore.kernel.org/linux-iommu/20230619133008.6221-1-vasant.hegde@amd.com/

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

V1 : https://lore.kernel.org/linux-iommu/20230609102025.6498-1-vasant.hegde@amd.com/


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(-)

-- 
2.31.1


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

end of thread, other threads:[~2023-07-14 14:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-28  5:32 [PATCH v3 0/2] iommu/amd: Interrupt handling improvements Vasant Hegde
2023-06-28  5:32 ` [PATCH v3 1/2] iommu/amd: Refactor IOMMU interrupt handling logic for Event, PPR, and GA logs Vasant Hegde
2023-06-29 16:36   ` Jerry Snitselaar
2023-06-28  5:32 ` [PATCH v3 2/2] iommu/amd: Enable separate interrupt for PPR and GA log Vasant Hegde
2023-06-29 16:35   ` Jerry Snitselaar
2023-07-14 14:20 ` [PATCH v3 0/2] iommu/amd: Interrupt handling improvements Joerg Roedel

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.