Re: [PATCH v3] PCI: hv: Fix hibernation in case interrupts are not re-created

2020-10-02 Thread Lorenzo Pieralisi
On Fri, Oct 02, 2020 at 01:51:58AM -0700, Dexuan Cui wrote: > pci_restore_msi_state() directly writes the MSI/MSI-X related registers > via MMIO. On a physical machine, this works perfectly; for a Linux VM > running on a hypervisor, which typically enables IOMMU interrupt remapping, > the

[PATCH v3] PCI: hv: Fix hibernation in case interrupts are not re-created

2020-10-02 Thread Dexuan Cui
pci_restore_msi_state() directly writes the MSI/MSI-X related registers via MMIO. On a physical machine, this works perfectly; for a Linux VM running on a hypervisor, which typically enables IOMMU interrupt remapping, the hypervisor usually should trap and emulate the MMIO accesses in order to