KVM: PPC: Book3S HV: Fix the set_one_reg for MMCR3
authorShivaprasad G Bhat <sbhat@linux.ibm.com>
Wed, 5 Jun 2024 13:06:16 +0000 (13:06 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 6 Jun 2024 12:39:03 +0000 (22:39 +1000)
commitf9ca6a10be20479d526f27316cc32cfd1785ed39
tree91d0a2abb04bf7d281f8c1f0dde899b0ead841a0
parent54ec2bd9e0173b75daf84675d07c56584f96564b
KVM: PPC: Book3S HV: Fix the set_one_reg for MMCR3

The kvmppc_set_one_reg_hv() wrongly get() the value
instead of set() for MMCR3. Fix the same.

Fixes: 5752fe0b811b ("KVM: PPC: Book3S HV: Save/restore new PMU 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/171759276847.1480.16387950124201117847.stgit@linux.ibm.com
arch/powerpc/kvm/book3s_hv.c