diff options
author | 2021-04-12 11:48:37 +1000 | |
---|---|---|
committer | 2021-04-12 13:36:23 +1000 | |
commit | bcc92a0d6d6eae1e7b34a88f58ae69c081d85f97 (patch) | |
tree | ae597f5144a13a0e117556757348a776782ecabe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | KVM: PPC: Book3S HV: Add a function to filter guest LPCR bits (diff) | |
download | wireguard-linux-bcc92a0d6d6eae1e7b34a88f58ae69c081d85f97.tar.xz wireguard-linux-bcc92a0d6d6eae1e7b34a88f58ae69c081d85f97.zip |
KVM: PPC: Book3S HV: Disallow LPCR[AIL] to be set to 1 or 2
These are already disallowed by H_SET_MODE from the guest, also disallow
these by updating LPCR directly.
AIL modes can affect the host interrupt behaviour while the guest LPCR
value is set, so filter it here too.
Suggested-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210412014845.1517916-5-npiggin@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions