diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2018-10-08 16:30:52 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-09 16:04:27 +1100 |
commit | df709a296ef7c493a074609019b0e074cde5c0d0 (patch) | |
tree | c19f2c34e20f0faf7918f98dc90d2cdb528d168d /arch/powerpc/kvm/tm.S | |
parent | 41f4e631daf80d16d818ac17c4144bd5b9a11f33 (diff) |
KVM: PPC: Book3S HV: Simplify real-mode interrupt handling
This streamlines the first part of the code that handles a hypervisor
interrupt that occurred in the guest. With this, all of the real-mode
handling that occurs is done before the "guest_exit_cont" label; once
we get to that label we are committed to exiting to host virtual mode.
Thus the machine check and HMI real-mode handling is moved before that
label.
Also, the code to handle external interrupts is moved out of line, as
is the code that calls kvmppc_realmode_hmi_handler().
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/tm.S')
0 files changed, 0 insertions, 0 deletions