From: Wei Liu <[email protected]> There are two issues in pci-hyperv when Linux runs as the root partition on a nested setup.
1. Interrupt state between Linux and the hypervisor is out of sync due to pci-hyperv not issuing unmap hypercall. 2. Interrupt migration is broken due to Linux doesn't retarget interrupts correctly. The first patch is trivial. The two issues are fixed by two separate patches. Wei CC: "K. Y. Srinivasan" <[email protected]>, CC: Haiyang Zhang <[email protected]>, CC: Dexuan Cui <[email protected]>, CC: Long Li <[email protected]>, Wei Liu (3): x86/hyperv: export hv_unmap_msi_interrupt() PCI: hv: unmap MSI interrupt on the nested root partition teardown path PCI: hv: fix interrupt affinity change on the nested root partition arch/x86/hyperv/irqdomain.c | 9 +- arch/x86/include/asm/mshyperv.h | 2 + drivers/pci/controller/pci-hyperv.c | 122 ++++++++++++++++++++++++++-- 3 files changed, 122 insertions(+), 11 deletions(-) -- 2.53.0
