summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cachepc/track.h7
-rw-r--r--cachepc/uapi.h9
m---------linux0
3 files changed, 4 insertions, 12 deletions
diff --git a/cachepc/track.h b/cachepc/track.h
index aaf1d33..b5e7f0d 100644
--- a/cachepc/track.h
+++ b/cachepc/track.h
@@ -2,13 +2,14 @@
#include <linux/types.h>
#include <linux/spinlock_types.h>
-#include <asm/atomic.h>
+#include <linux/srcu.h>
#include <linux/kvm_types.h>
-#include <asm/kvm_page_track.h>
-
#include <linux/kvm_host.h>
#include <linux/pid.h>
#include <linux/psp-sev.h>
+#include <asm/kvm_page_track.h>
+#include <asm/atomic.h>
+
extern struct kvm* main_vm;
diff --git a/cachepc/uapi.h b/cachepc/uapi.h
index a7c9300..6c456ee 100644
--- a/cachepc/uapi.h
+++ b/cachepc/uapi.h
@@ -76,15 +76,6 @@ enum {
CPC_TRACK_FULL,
};
-enum kvm_page_track_mode {
- KVM_PAGE_TRACK_WRITE,
- KVM_PAGE_TRACK_ACCESS,
- KVM_PAGE_TRACK_RESET_ACCESS,
- KVM_PAGE_TRACK_EXEC,
- KVM_PAGE_TRACK_RESET_EXEC,
- KVM_PAGE_TRACK_MAX,
-};
-
struct cpc_track_config {
__u64 gfn;
__s32 mode;
diff --git a/linux b/linux
-Subproject 277af7f29adc70fa5963dc06316aeb2e4c75c78
+Subproject 0b71cfed297636b3e9889085d757ff5d7edd845