KVM: PPC: Book3S HV: Introduce new capability for 2nd DAWR
authorRavi Bangoria <ravi.bangoria@linux.ibm.com>
Wed, 16 Dec 2020 10:42:19 +0000 (16:12 +0530)
committerPaul Mackerras <paulus@ozlabs.org>
Wed, 10 Feb 2021 03:31:08 +0000 (14:31 +1100)
commitd9a47edabc4f948102753fa9d41f2dc1dbeb28be
treeafb1d92533ddbbe90a25ecb796d6a1703386acf4
parentbd1de1a0e6eff4bde5ceae969673b85b8446fd6a
KVM: PPC: Book3S HV: Introduce new capability for 2nd DAWR

Introduce KVM_CAP_PPC_DAWR1 which can be used by QEMU to query whether
KVM supports 2nd DAWR or not. The capability is by default disabled
even when the underlying CPU supports 2nd DAWR. QEMU needs to check
and enable it manually to use the feature.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Documentation/virt/kvm/api.rst
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/powerpc.c
include/uapi/linux/kvm.h
tools/include/uapi/linux/kvm.h