summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/3w-9xxx.h
diff options
context:
space:
mode:
authorVasant Hegde <vasant.hegde@amd.com>2023-06-28 05:32:22 +0000
committerJoerg Roedel <jroedel@suse.de>2023-07-14 16:20:38 +0200
commite5ebd90d1b5cbfa0df9b911cd3f24c1bb84c05dd (patch)
tree128aec735ab1148d45cf92af798df5ed67b32a30 /drivers/scsi/3w-9xxx.h
parent2379f3485239095b8782353c2431f3c97c275986 (diff)
downloadlinux-stable-e5ebd90d1b5cbfa0df9b911cd3f24c1bb84c05dd.tar.gz
linux-stable-e5ebd90d1b5cbfa0df9b911cd3f24c1bb84c05dd.tar.bz2
linux-stable-e5ebd90d1b5cbfa0df9b911cd3f24c1bb84c05dd.zip
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<vasant.hegde@amd.com> Reviewed-by: Alexey Kardashevskiy<aik@amd.com> Reviewed-by: Jerry Snitselaar <jsnitsel@redhat.com> Link: https://lore.kernel.org/r/20230628053222.5962-3-vasant.hegde@amd.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/scsi/3w-9xxx.h')
0 files changed, 0 insertions, 0 deletions