]> www.infradead.org Git - linux.git/commit
KVM: PPC: Book3S HV: Add one-reg interface for DEXCR register
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Wed, 5 Jun 2024 13:06:42 +0000 (13:06 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Jun 2024 12:39:03 +0000 (22:39 +1000)
commit1a1e6865f516696adcf6e94f286c7a0f84d78df3
tree5f8fff4fa38a89a965c697b322ce1a9b15ccdd71
parent009f6f42c67e9de737d6d3d199f92b21a8cb9622
KVM: PPC: Book3S HV: Add one-reg interface for DEXCR register

The patch adds a one-reg register identifier which can be used to
read and set the DEXCR for the guest during enter/exit with
KVM_REG_PPC_DEXCR. The specific SPR KVM API documentation
too updated.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Reviewed-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/171759279613.1480.12873911783530175699.stgit@linux.ibm.com
Documentation/virt/kvm/api.rst
arch/powerpc/include/asm/kvm_host.h
arch/powerpc/include/uapi/asm/kvm.h
arch/powerpc/kvm/book3s_hv.c
arch/powerpc/kvm/book3s_hv.h