On Wed, 29 Apr 2020 09:51:19 +0200, Cédric Le Goater wrote: > Here are a couple of fixes for PCI hotplug issues for machines running > under the POWER hypervisor using hash MMU and the XIVE interrupt mode. > > Commit 1ca3dec2b2df ("powerpc/xive: Prevent page fault issues in the > machine crash handler") forced the mapping of the XIVE ESB page and > this is now blocking the removal of a passthrough IO adapter because > the PCI isolation fails with "valid outstanding translations". Under > KVM, the ESB pages for the adapter interrupts are un-mapped from the > guest by the hypervisor in the KVM XIVE native device. This is is now > redundant but it's harmless. > > [...]
Patches 1 & 3 pplied to powerpc/next. [1/3] powerpc/xive: Clear the page tables for the ESB IO mapping https://git.kernel.org/powerpc/c/a101950fcb78b0ba20cd487be6627dea58d55c2b [3/3] powerpc/xive: Do not expose a debugfs file when XIVE is disabled https://git.kernel.org/powerpc/c/0755e85570a4615ca674ad6489d44d63916f1f3e cheers