From: Oliver Upton Date: Mon, 2 Aug 2021 19:28:08 +0000 (+0000) Subject: entry: KVM: Allow use of generic KVM entry w/o full generic support X-Git-Tag: io_uring-5.15-2021-09-11~9^2~4^2~3^2~1 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=e1c6b9e1669e44fb7f9688e34e460b759e3b9187;p=linux-2.6-block.git 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 Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20210802192809.1851010-3-oupton@google.com --- diff --git a/include/linux/entry-kvm.h b/include/linux/entry-kvm.h index 136b8d97d8c0..0d7865a0731c 100644 --- a/include/linux/entry-kvm.h +++ b/include/linux/entry-kvm.h @@ -2,7 +2,11 @@ #ifndef __LINUX_ENTRYKVM_H #define __LINUX_ENTRYKVM_H -#include +#include +#include +#include +#include +#include #include /* Transfer to guest mode work */