Skip to content

Commit e1c6b9e

Browse files
ouptonMarc Zyngier
authored andcommitted
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 <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent fe5161d commit e1c6b9e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/linux/entry-kvm.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
#ifndef __LINUX_ENTRYKVM_H
33
#define __LINUX_ENTRYKVM_H
44

5-
#include <linux/entry-common.h>
5+
#include <linux/static_call_types.h>
6+
#include <linux/tracehook.h>
7+
#include <linux/syscalls.h>
8+
#include <linux/seccomp.h>
9+
#include <linux/sched.h>
610
#include <linux/tick.h>
711

812
/* Transfer to guest mode work */

0 commit comments

Comments
 (0)