diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2018-01-11 14:31:43 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2018-01-17 11:18:48 +1100 |
commit | 43ff3f65234061e08d234bdef5a9aadc19832b74 (patch) | |
tree | 803b7bfef4591b2c978e767746307b4ab16453cd /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | 5855564c8ab2d9cefca7b2933bd19818eb795e40 (diff) |
KVM: PPC: Book3S HV: Make sure we don't re-enter guest without XIVE loaded
This fixes a bug where it is possible to enter a guest on a POWER9
system without having the XIVE (interrupt controller) context loaded.
This can happen because we unload the XIVE context from the CPU
before doing the real-mode handling for machine checks. After the
real-mode handler runs, it is possible that we re-enter the guest
via a fast path which does not load the XIVE context.
To fix this, we move the unloading of the XIVE context to come after
the real-mode machine check handler is called.
Fixes: 5af50993850a ("KVM: PPC: Book3S HV: Native usage of the XIVE interrupt controller")
Cc: stable@vger.kernel.org # v4.11+
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions