OSDN Git Service

KVM: arm64: Use generic KVM xfer to guest work function
authorOliver Upton <oupton@google.com>
Mon, 2 Aug 2021 19:28:09 +0000 (19:28 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 19 Aug 2021 10:19:41 +0000 (11:19 +0100)
commit6caa5812e2d126a0aa8a17816c1ba6f0a0c2b309
treee6b8b6f330be586b97875eb6dde5133a13b935b8
parente1c6b9e1669e44fb7f9688e34e460b759e3b9187
KVM: arm64: Use generic KVM xfer to guest work function

Clean up handling of checks for pending work by switching to the generic
infrastructure to do so.

We pick up handling for TIF_NOTIFY_RESUME from this switch, meaning that
task work will be correctly handled.

Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210802192809.1851010-4-oupton@google.com
arch/arm64/kvm/Kconfig
arch/arm64/kvm/arm.c