]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S 64: move KVM interrupt entry to a common entry point
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 May 2021 09:07:21 +0000 (19:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 12:12:01 +0000 (22:12 +1000)
commit59df75cb7537cb5f5354944d23711768c9fdc070
tree91a9784a9f679ca50f8c51482b67e6c1549d975c
parent3a01897b7ee8f9a9937218f27cbaaf2b6afd14b0
KVM: PPC: Book3S 64: move KVM interrupt entry to a common entry point

Rather than bifurcate the call depending on whether or not HV is
possible, and have the HV entry test for PR, just make a single
common point which does the demultiplexing. This makes it simpler
to add another type of exit handler.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
Reviewed-by: Fabiano Rosas <farosas@linux.ibm.com>
Acked-by: Paul Mackerras <paulus@ozlabs.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210528090752.3542186-2-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kvm/Makefile
arch/powerpc/kvm/book3s_64_entry.S [new file with mode: 0644]
arch/powerpc/kvm/book3s_hv_rmhandlers.S