diff options
author | Vasant Hegde <[email protected]> | 2023-06-28 05:32:22 +0000 |
---|---|---|
committer | Joerg Roedel <[email protected]> | 2023-07-14 16:20:38 +0200 |
commit | e5ebd90d1b5cbfa0df9b911cd3f24c1bb84c05dd (patch) | |
tree | 128aec735ab1148d45cf92af798df5ed67b32a30 /tools/perf/scripts/python | |
parent | 2379f3485239095b8782353c2431f3c97c275986 (diff) |
iommu/amd: Enable separate interrupt for PPR and GA log
AMD IOMMU has three log buffers (i.e. Event, PPR, and GA). These logs can
be configured to generate different interrupts when an entry is inserted
into a log buffer.
However, current implementation share single interrupt to handle all three
logs. With increasing usages of the GA (for IOMMU AVIC) and PPR logs (for
IOMMUv2 APIs and SVA), interrupt sharing could potentially become
performance bottleneck.
Hence, separate IOMMU interrupt into use three separate vectors and irq
threads with corresponding name, which will be displayed in the
/proc/interrupts as "AMD-Vi<x>-[Evt/PPR/GA]", where "x" is an IOMMU id.
Note that this patch changes interrupt handling only in IOMMU x2apic mode
(MMIO 0x18[IntCapXTEn]=1). In legacy mode it will continue to use single
MSI interrupt.
Signed-off-by: Vasant Hegde<[email protected]>
Reviewed-by: Alexey Kardashevskiy<[email protected]>
Reviewed-by: Jerry Snitselaar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Joerg Roedel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions