entry: KVM: Allow use of generic KVM entry w/o full generic support
authorOliver Upton <oupton@google.com>
Mon, 2 Aug 2021 19:28:08 +0000 (19:28 +0000)
committerMarc Zyngier <maz@kernel.org>
Thu, 19 Aug 2021 10:19:41 +0000 (11:19 +0100)
commite1c6b9e1669e44fb7f9688e34e460b759e3b9187
treefbcc6d38252e0d650eba8ae1e3a8c7cfdc68e843
parentfe5161d2c39b8c2801f0e786631460c6e8a1cae4
entry: KVM: Allow use of generic KVM entry w/o full generic support

Some architectures (e.g. arm64) have yet to adopt the generic entry
infrastructure. Despite that, it would be nice to use some common
plumbing for guest entry/exit handling. For example, KVM/arm64 currently
does not handle TIF_NOTIFY_PENDING correctly.

Allow use of only the generic KVM entry code by tightening up the
include list. No functional change intended.

Signed-off-by: Oliver Upton <oupton@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20210802192809.1851010-3-oupton@google.com
include/linux/entry-kvm.h