]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: PPC: Book3S 64: Move GUEST_MODE_SKIP test into KVM
authorNicholas Piggin <npiggin@gmail.com>
Fri, 28 May 2021 09:07:22 +0000 (19:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 10 Jun 2021 12:12:11 +0000 (22:12 +1000)
commit20c5049eff4c14302a5769f31004f1fcbbce5b9a
treedfb4b5683fa2cd5245377f7eaa95dbb65b4a2fb1
parent59df75cb7537cb5f5354944d23711768c9fdc070
KVM: PPC: Book3S 64: Move GUEST_MODE_SKIP test into KVM

Move the GUEST_MODE_SKIP logic into KVM code. This is quite a KVM
internal detail that has no real need to be in common handlers.

Add a comment explaining the what and why of KVM "skip" interrupts.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Daniel Axtens <dja@axtens.net>
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-3-npiggin@gmail.com
arch/powerpc/kernel/exceptions-64s.S
arch/powerpc/kvm/book3s_64_entry.S