KVM: PPC: Book3S HV: XIVE: Activate XIVE exploitation mode
authorCédric Le Goater <clg@kaod.org>
Thu, 18 Apr 2019 10:39:40 +0000 (12:39 +0200)
committerPaul Mackerras <paulus@ozlabs.org>
Tue, 30 Apr 2019 09:35:16 +0000 (19:35 +1000)
commit3fab2d10588e09abd4bd7b9bacce5e4e435993f6
tree17ed617e8c7e1cb189d53400eab7a0f8569aecd1
parent232b984b7d55e68971962f07f1dd1d1eb1be52e0
KVM: PPC: Book3S HV: XIVE: Activate XIVE exploitation mode

Full support for the XIVE native exploitation mode is now available,
advertise the capability KVM_CAP_PPC_IRQ_XIVE for guests running on
PowerNV KVM Hypervisors only. Support for nested guests (pseries KVM
Hypervisor) is not yet available. XIVE should also have been activated
which is default setting on POWER9 systems running a recent Linux
kernel.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
arch/powerpc/kvm/powerpc.c