KVM: PPC: Book3S 64: Move interrupt early register setup to KVM
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 May 2021 09:07:25 +0000 (19:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 12:12:12 +0000 (22:12 +1000)
commit69fdd67499716efca861f7cecabdfeee5e5d7b51
tree6afbf0532a17f82bdcaf9cbffa123fec42dffec8
parent04ece7b60b689e1de38b9b0f597f8f94951e4367
KVM: PPC: Book3S 64: Move interrupt early register setup to KVM

Like the earlier patch for hcalls, KVM interrupt entry requires a
different calling convention than the Linux interrupt handlers
set up. Move the code that converts from one to the other into KVM.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210528090752.3542186-6-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kvm/book3s_64_entry.S