]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9459ab25283ced2a9dab017da292eb28b2f18353
treeafb1d92533ddbbe90a25ecb796d6a1703386acf4
parenta074031da5abead21195512004b2041fcf5f383b
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