]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
KVM: riscv: selftests: Add missing headers for new testcases
authorDong Yang <dayss1224@gmail.com>
Mon, 1 Sep 2025 07:35:50 +0000 (15:35 +0800)
committerAnup Patel <anup@brainfault.org>
Tue, 16 Sep 2025 05:23:55 +0000 (10:53 +0530)
Add missing headers to fix the build for new RISC-V KVM selftests.

Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn>
Signed-off-by: Dong Yang <dayss1224@gmail.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/bfb66541918de68cd89b83bc3430af94bdc75a85.1756710918.git.dayss1224@gmail.com
Signed-off-by: Anup Patel <anup@brainfault.org>
tools/testing/selftests/kvm/access_tracking_perf_test.c
tools/testing/selftests/kvm/include/riscv/processor.h
tools/testing/selftests/kvm/memslot_modification_stress_test.c
tools/testing/selftests/kvm/memslot_perf_test.c

index c9de66537ec34f3fbfe274da0ef1ebbc96eb11e4..b058f27b2141143ffad9a8e81d4b6a174c86e298 100644 (file)
@@ -50,6 +50,7 @@
 #include "memstress.h"
 #include "guest_modes.h"
 #include "processor.h"
+#include "ucall_common.h"
 
 #include "cgroup_util.h"
 #include "lru_gen_util.h"
index 162f303d9daaa83df7f5857cb154e21be5be3447..e58282488beb3eab94a5760473df322beacb73fa 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <linux/stringify.h>
 #include <asm/csr.h>
+#include <asm/vdso/processor.h>
 #include "kvm_util.h"
 
 #define INSN_OPCODE_MASK       0x007c
index c81a84990eabfc3fe7ffa9fe2f75c1d45207a0bb..3cdfa3b19b85fc459d1c80d60b0f3be3dd69d31f 100644 (file)
@@ -22,6 +22,7 @@
 #include "processor.h"
 #include "test_util.h"
 #include "guest_modes.h"
+#include "ucall_common.h"
 
 #define DUMMY_MEMSLOT_INDEX 7
 
index e3711beff7f314920c45998dff2be07c413052cb..5087d082c4b00b0d8af111693c50edd6e2325662 100644 (file)
@@ -25,6 +25,7 @@
 #include <test_util.h>
 #include <kvm_util.h>
 #include <processor.h>
+#include <ucall_common.h>
 
 #define MEM_EXTRA_SIZE         SZ_64K