summaryrefslogtreecommitdiff
path: root/net/bluetooth/selftest.h
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2019-08-02 20:56:28 +1000
committerMichael Ellerman <mpe@ellerman.id.au>2019-08-30 10:32:34 +1000
commit19dbe673e62b076f00ae2841fcf5898b4728d5ab (patch)
tree490eabac13302ffffab8ca09eb5228a07f869d82 /net/bluetooth/selftest.h
parent1039f62431e2aa16487cd6d64bc841d71f6465b8 (diff)
powerpc/64s/exception: machine check fix KVM guest test
The machine_check_handle_early hypervisor guest test is skipped if !HVMODE or MSR[HV]=0, which is wrong for PR or nested hypervisors that could be running a guest in this state. Test HSTATE_IN_GUEST up front and use that to branch out to the KVM handler, then MSR[PR] alone can test for this kernel's userspace. This matches all other interrupt handling. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190802105709.27696-4-npiggin@gmail.com
Diffstat (limited to 'net/bluetooth/selftest.h')
0 files changed, 0 insertions, 0 deletions