]> asedeno.scripts.mit.edu Git - linux.git/commit
KVM: PPC: Book3S HV: XIVE: Clear file mapping when device is released
authorCédric Le Goater <clg@kaod.org>
Mon, 20 May 2019 07:15:12 +0000 (09:15 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 29 May 2019 03:44:37 +0000 (13:44 +1000)
commitd47aacdb8e0bc03dcaa1a5630a3c633cdcd4cfa7
tree61c7e7804d649495d3e5baffe0473f76026ec172
parent5a3f49364c3ffa1107bd88f8292406e98c5d206c
KVM: PPC: Book3S HV: XIVE: Clear file mapping when device is released

Improve the release of the XIVE KVM device by clearing the file
address_space, which is used to unmap the interrupt ESB pages when a
device is passed-through.

Suggested-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/book3s_xive_native.c