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

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

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/171759285547.1480.12374595786792346073.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