]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S 64: Minimise hcall handler calling convention differences
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 May 2021 09:07:27 +0000 (19:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 12:12:12 +0000 (22:12 +1000)
commit0f80984a561f92cb214e9459fc1ada948589d09c
tree85fc9682460c9fa0ed029b707dbb6add13bd3913
parent7cbed7a42aef6a9454fefa4bd9d491b7e3253c31
KVM: PPC: Book3S 64: Minimise hcall handler calling convention differences

This sets up the same calling convention from interrupt entry to
KVM interrupt handler for system calls as exists for other interrupt
types.

This is a better API, it uses a save area rather than SPR, and it has
more registers free to use. Using a single common API helps maintain
it, and it becomes easier to use in C in a later patch.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210528090752.3542186-8-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kvm/book3s_64_entry.S