diff options
author | Paul Mackerras <paulus@ozlabs.org> | 2018-10-08 07:30:50 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-10-09 07:04:27 +0200 |
commit | f7035ce9f1dfb1042c4acedf5cca6f9af395f110 (patch) | |
tree | 6e6789150a42f8de7f45c813d92896138cabee2e /arch/powerpc/kvm/book3s_hv_interrupts.S | |
parent | KVM: PPC: Book3S HV: Remove left-over code in XICS-on-XIVE emulation (diff) | |
download | linux-f7035ce9f1dfb1042c4acedf5cca6f9af395f110.tar.xz linux-f7035ce9f1dfb1042c4acedf5cca6f9af395f110.zip |
KVM: PPC: Book3S HV: Move interrupt delivery on guest entry to C code
This is based on a patch by Suraj Jitindar Singh.
This moves the code in book3s_hv_rmhandlers.S that generates an
external, decrementer or privileged doorbell interrupt just before
entering the guest to C code in book3s_hv_builtin.c. This is to
make future maintenance and modification easier. The algorithm
expressed in the C code is almost identical to the previous
algorithm.
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv_interrupts.S')
0 files changed, 0 insertions, 0 deletions