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
This commit is contained in:
Shivaprasad G Bhat 2024-06-05 13:07:15 +00:00 • committed by Michael Ellerman
commit e9eb790b25
5 changed files with 10 additions and 0 deletions