]> www.infradead.org Git - linux.git/commit
KVM: PPC: Book3S HV nestedv2: Keep nested guest HASHKEYR in sync
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Wed, 5 Jun 2024 13:07:27 +0000 (13:07 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Jun 2024 12:39:04 +0000 (22:39 +1000)
commit1e97c1eb785fe2dc863c2bd570030d6fcf4b5e5b
treec480b68ea31dc5f8aec08dfc65ef82e10334f71b
parente9eb790b25577a15d3f450ed585c59048e4e6c44
KVM: PPC: Book3S HV nestedv2: Keep nested guest HASHKEYR in sync

The nestedv2 APIs has the guest state element defined for HASHKEYR for
the save-restore with L0. However, its ignored in the code.

The patch takes care of this for the HASHKEYR GSID.

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/171759284380.1480.15665015792935543933.stgit@linux.ibm.com
arch/powerpc/kvm/book3s_hv_nestedv2.c