diff options
author | Paul Mackerras <[email protected]> | 2023-03-08 17:36:11 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2023-04-03 15:45:59 +1000 |
commit | a3800ef9c48c4497dafe5ede1b65d91d9ef9cf1e (patch) | |
tree | ba1c7ea92cc4ca0156fb5f00fe6a8fbe946ca658 /tools/perf/scripts/python/syscall-counts.py | |
parent | 953e37397fb61be61f095d36972188bac5235021 (diff) |
KVM: PPC: Enable prefixed instructions for HV KVM and disable for PR KVM
Now that we can read prefixed instructions from a HV KVM guest and
emulate prefixed load/store instructions to emulated MMIO locations,
we can add HFSCR_PREFIXED into the set of bits that are set in the
HFSCR for a HV KVM guest on POWER10, allowing the guest to use
prefixed instructions.
PR KVM has not yet been extended to handle prefixed instructions in
all situations where we might need to emulate them, so prevent the
guest from enabling prefixed instructions in the FSCR for now.
Reviewed-by: Nicholas Piggin <[email protected]>
Tested-by: Nicholas Piggin <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Tested-by: Sachin Sant <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/ZAgs25dCmLrVkBdU@cleo
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions