diff options
author | Nicholas Piggin <[email protected]> | 2021-11-23 19:52:25 +1000 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2021-11-24 21:09:02 +1100 |
commit | f08cbf5c7d1f86f12143a1dce23740411b03a807 (patch) | |
tree | 88705818f19bf9a6081a0eb852a34059c663570b /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 241d1f19f0e5c257881a0661f201b51dc3e57f8c (diff) |
KVM: PPC: Book3S HV P9: Avoid changing MSR[RI] in entry and exit
kvm_hstate.in_guest provides the equivalent of MSR[RI]=0 protection,
and it covers the existing MSR[RI]=0 section in late entry and early
exit, so clearing and setting MSR[RI] in those cases does not
actually do anything useful.
Remove the RI manipulation and replace it with comments. Make the
in_guest memory accesses a bit closer to a proper critical section
pattern. This speeds up guest entry/exit performance.
This also removes the MSR[RI] warnings which aren't very interesting
and would cause crashes if they hit due to causing an interrupt in
non-recoverable code.
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions