]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV P9: Test dawr_enabled() before saving host DAWR SPRs
authorNicholas Piggin <npiggin@gmail.com>
Tue, 23 Nov 2021 09:52:18 +0000 (19:52 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 10:09:01 +0000 (21:09 +1100)
commitf92d5dad3374ff17a5e5b5618b929704a5b07e73
tree211134f7fe2645a3f7789daa3bf72ec65ba8ebeb
parentf85c7e9c7c31e189d9a9458d448cb1ce9b63cf41
KVM: PPC: Book3S HV P9: Test dawr_enabled() before saving host DAWR SPRs

Some of the DAWR SPR access is already predicated on dawr_enabled(),
apply this to the remainder of the accesses.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211123095231.1036501-41-npiggin@gmail.com
arch/powerpc/kvm/book3s_hv_p9_entry.c