]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S HV: Don't attempt to recover machine checks for FWNMI enabled guests
authorNicholas Piggin <npiggin@gmail.com>
Sat, 28 Nov 2020 07:07:23 +0000 (17:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 3 Dec 2020 14:01:23 +0000 (01:01 +1100)
commita64312bce7787411b2a0e7ca96bf9efec85ed219
tree2c3b15d344a2421b618eadb2689eb01c02b5fce3
parentbd764f6c1fba5298cb23fa73491b7e75a105266b
KVM: PPC: Book3S HV: Don't attempt to recover machine checks for FWNMI enabled guests

Guests that can deal with machine checks would actually prefer the
hypervisor not to try recover for them. For example if SLB multi-hits
are recovered by the hypervisor by clearing the SLB then the guest
will not be able to log the contents and debug its programming error.

If guests don't register for FWNMI, they may not be so capable and so
the hypervisor will continue to recover for those.

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