diff options
author | Nicholas Piggin <[email protected]> | 2020-11-17 23:56:17 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2020-11-18 13:02:05 +1100 |
commit | cd81acc600a9684ea4b4d25a47900d38a3890eab (patch) | |
tree | 2ae01066c1301041bfbeae00f10f4590fa011a02 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e02152ba2810f7c88cb54e71cda096268dfa9241 (diff) |
powerpc/64s/exception: KVM Fix for host DSI being taken in HPT guest MMU context
Commit 2284ffea8f0c ("powerpc/64s/exception: Only test KVM in SRR
interrupts when PR KVM is supported") removed KVM guest tests from
interrupts that do not set HV=1, when PR-KVM is not configured.
This is wrong for HV-KVM HPT guest MMIO emulation case which attempts
to load the faulting instruction word with MSR[DR]=1 and MSR[HV]=1 with
the guest MMU context loaded. This can cause host DSI, DSLB interrupts
which must test for KVM guest. Restore this and add a comment.
Fixes: 2284ffea8f0c ("powerpc/64s/exception: Only test KVM in SRR interrupts when PR KVM is supported")
Cc: [email protected] # v5.7+
Signed-off-by: Nicholas Piggin <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions