]> 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)
commit6625ec481e1491a69cebd5f6293af0d6fedf803c
treeafb1d92533ddbbe90a25ecb796d6a1703386acf4
parent28ce0097f09434eccf3ad4f5e17cc0a2c9628356
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