[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210820202957.187572-1-suravee.suthikulpanit@amd.com>
Date: Fri, 20 Aug 2021 15:29:54 -0500
From: Suravee Suthikulpanit <suravee.suthikulpanit@....com>
To: linux-kernel@...r.kernel.org, iommu@...ts.linux-foundation.org
Cc: joro@...tes.org, Jon.Grimm@....com, wei.huang2@....com,
Suravee Suthikulpanit <suravee.suthikulpanit@....com>
Subject: [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(-)
--
2.17.1
Powered by blists - more mailing lists