Re: [PATCH] iommu/amd: Set iommu->int_enabled consistently when interrupts are set up

2021-01-05 Thread Will Deacon
On Tue, 05 Jan 2021 01:32:51 +, David Woodhouse wrote: > When I made the INTCAPXT support stop gratuitously pretending to be MSI, > I missed the fact that iommu_setup_msi() also sets the ->int_enabled > flag. I missed this in the iommu_setup_intcapxt() code path, which means > that a resume

Re: [PATCH] iommu/amd: Set iommu->int_enabled consistently when interrupts are set up

2021-01-05 Thread Borislav Petkov
On Tue, Jan 05, 2021 at 01:32:51AM +, David Woodhouse wrote: > From: David Woodhouse > > When I made the INTCAPXT support stop gratuitously pretending to be MSI, > I missed the fact that iommu_setup_msi() also sets the ->int_enabled > flag. I missed this in the iommu_setup_intcapxt() code

[PATCH] iommu/amd: Set iommu->int_enabled consistently when interrupts are set up

2021-01-04 Thread David Woodhouse
From: David Woodhouse When I made the INTCAPXT support stop gratuitously pretending to be MSI, I missed the fact that iommu_setup_msi() also sets the ->int_enabled flag. I missed this in the iommu_setup_intcapxt() code path, which means that a resume from suspend will try to allocate the IRQ