summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@ozlabs.org>2018-01-11 06:31:43 +0300
committerPaul Mackerras <paulus@ozlabs.org>2018-01-17 03:18:48 +0300
commit43ff3f65234061e08d234bdef5a9aadc19832b74 (patch)
tree803b7bfef4591b2c978e767746307b4ab16453cd /include/linux/fpga/fpga-mgr.h
parent5855564c8ab2d9cefca7b2933bd19818eb795e40 (diff)
downloadlinux-43ff3f65234061e08d234bdef5a9aadc19832b74.tar.xz
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 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions