summaryrefslogtreecommitdiffstats
path: root/include/linux/entry-kvm.h
diff options
context:
space:
mode:
authorOliver Upton <oupton@google.com>2021-08-02 19:28:08 +0000
committerMarc Zyngier <maz@kernel.org>2021-08-19 11:19:41 +0100
commite1c6b9e1669e44fb7f9688e34e460b759e3b9187 (patch)
treefbcc6d38252e0d650eba8ae1e3a8c7cfdc68e843 /include/linux/entry-kvm.h
parentfe5161d2c39b8c2801f0e786631460c6e8a1cae4 (diff)
downloadlinux-e1c6b9e1669e44fb7f9688e34e460b759e3b9187.tar.gz
linux-e1c6b9e1669e44fb7f9688e34e460b759e3b9187.tar.bz2
linux-e1c6b9e1669e44fb7f9688e34e460b759e3b9187.zip
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
Diffstat (limited to 'include/linux/entry-kvm.h')
-rw-r--r--include/linux/entry-kvm.h6
1 files changed, 5 insertions, 1 deletions
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 <linux/entry-common.h>
+#include <linux/static_call_types.h>
+#include <linux/tracehook.h>
+#include <linux/syscalls.h>
+#include <linux/seccomp.h>
+#include <linux/sched.h>
#include <linux/tick.h>
/* Transfer to guest mode work */