KVM: PPC: Book3S HV: Fix the get_one_reg of SDAR
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Wed, 5 Jun 2024 13:06:28 +0000 (13:06 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Jun 2024 12:39:03 +0000 (22:39 +1000)
commit009f6f42c67e9de737d6d3d199f92b21a8cb9622
tree7c5bb0f16fa0a8b7d0aaecd33fc524b0a3896e77
parentf9ca6a10be20479d526f27316cc32cfd1785ed39
KVM: PPC: Book3S HV: Fix the get_one_reg of SDAR

The kvmppc_get_one_reg_hv() for SDAR is wrongly getting the SIAR
instead of SDAR, possibly a paste error emanating from the previous
refactoring.

Patch fixes the wrong get_one_reg() for the same.

Fixes: ebc88ea7a6ad ("KVM: PPC: Book3S HV: Use accessors for VCPU registers")
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/171759278410.1480.16404209606556979576.stgit@linux.ibm.com
arch/powerpc/kvm/book3s_hv.c