Skip to content

iommu/amd: Fix unable to handle page fault due to AVIC

Suravee Suthikulpanit linux-iommu lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3iommu/amd: Introduce helper function to check feature bit on all IOMMUsdrivers/iommu/amd/init.c+13 -00 replies
2/3iommu/amd: Relocate GAMSup check to early_enable_iommusdrivers/iommu/amd/init.c+8 -70 replies
3/3iommu/amd: Remove iommu_init_ga()drivers/iommu/amd/init.c+4 -130 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchTerry Bowman
SeriesT-b
1/3
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] iommu/amd: Fix unable to handle page fault due to AVIC

This bug is triggered when rebooting VM on a system which SVM AVIC is enabled but IOMMU AVIC is disabled in the BIOS.

The series reworks interrupt remapping intialiation to check for IOMMU AVIC support (GAMSup) at earlier stage using EFR provided by IVRS table instead of the PCI MMIO register, which is available after PCI support for IOMMU is initialized. This helps avoid having to disable and clean up the already initialized interrupt-remapping-related parameter.

Thanks,
Suravee

Suravee Suthikulpanit (2):
iommu/amd: Introduce helper function to check feature bit on all
IOMMUs
iommu/amd: Remove iommu_init_ga()

Wei Huang (1):
iommu/amd: Relocate GAMSup check to early_enable_iommus

 drivers/iommu/amd/init.c | 45 ++++++++++++++++++++++------------------
 1 file changed, 25 insertions(+), 20 deletions(-)
Signature · 1 line
2.17.1