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

The patch adds a one-reg register identifier which can be used to
read and set the virtual HASHKEYR for the guest during enter/exit
with KVM_REG_PPC_HASHKEYR. 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/171759283170.1480.12904332463112769129.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