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

2021-08-20 Thread Suravee Suthikulpanit via iommu
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, whi

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

2021-08-31 Thread Suthikulpanit, Suravee via iommu
Joerg, Here is an dditional tags for this series: Fixes: 8bda0cfbdc1a ("iommu/amd: Detect and initialize guest vAPIC log") Are there any concerns with this series? Thanks Suravee On 8/20/2021 3:29 PM, Suravee Suthikulpanit wrote: This bug is triggered when rebooting VM on a system which SVM

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

2021-09-02 Thread Joerg Roedel
Hi Suravee, On Tue, Aug 31, 2021 at 12:10:27PM -0500, Suthikulpanit, Suravee wrote: > Here is an dditional tags for this series: > > Fixes: 8bda0cfbdc1a ("iommu/amd: Detect and initialize guest vAPIC log") > > Are there any concerns with this series? No concerns, please add the tag and re-post

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

2021-09-02 Thread Suthikulpanit, Suravee via iommu
On 9/2/2021 12:38 AM, Joerg Roedel wrote: Hi Suravee, On Tue, Aug 31, 2021 at 12:10:27PM -0500, Suthikulpanit, Suravee wrote: Here is an dditional tags for this series: Fixes: 8bda0cfbdc1a ("iommu/amd: Detect and initialize guest vAPIC log") Are there any concerns with this series? No co

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

2021-09-09 Thread Joerg Roedel
Hi Suravee, On Thu, Sep 02, 2021 at 09:13:00AM -0700, Suthikulpanit, Suravee wrote: > I'll do that. New plan: I queued them now and added the Fixes tag. Will send a pull-request tomorrow to get them upstream together with a couple of other fixes. Regards, Joerg _

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

2021-09-09 Thread Joerg Roedel
Okay, after this triggered a defconfig compile warning, I squashed patch 1 and 2 into one and also #ifdef'ed check_feature_on_all_iommus(). The result is here: >From c3811a50addd23b9bb5a36278609ee1638debcf6 Mon Sep 17 00:00:00 2001 From: Wei Huang Date: Fri, 20 Aug 2021 15:29:55 -0500 Subject: [P

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

2021-09-10 Thread Wei Huang via iommu
Thanks. We did verify the correctness of this patch: we didn't see host crash with guest reboot when this patch is applied. Tested-by: Terry Bowman Thanks, -Wei On 9/9/21 6:17 AM, Joerg Roedel wrote: > Okay, after this triggered a defconfig compile warning, I squashed patch > 1 and 2 into one a