[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250818-4672b703d0bf9518ee1d4162@orel>
Date: Mon, 18 Aug 2025 16:01:16 -0500
From: Andrew Jones <ajones@...tanamicro.com>
To: dayss1224@...il.com
Cc: kvm@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org, kvm-riscv@...ts.infradead.org, linux-riscv@...ts.infradead.org,
Paolo Bonzini <pbonzini@...hat.com>, Shuah Khan <shuah@...nel.org>, Anup Patel <anup@...infault.org>,
Atish Patra <atish.patra@...ux.dev>, Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, Albert Ou <aou@...s.berkeley.edu>,
Alexandre Ghiti <alex@...ti.fr>, Mathieu Desnoyers <mathieu.desnoyers@...icios.com>,
Peter Zijlstra <peterz@...radead.org>, "Paul E. McKenney" <paulmck@...nel.org>,
Boqun Feng <boqun.feng@...il.com>, Quan Zhou <zhouquan@...as.ac.cn>
Subject: Re: [PATCH v2 3/3] KVM: riscv: selftests: Add missing headers for
new testcases
On Thu, Aug 07, 2025 at 10:59:30PM +0800, dayss1224@...il.com wrote:
> From: Dong Yang <dayss1224@...il.com>
>
> Add missing headers to fix the build for new RISC-V KVM selftests.
>
> Signed-off-by: Quan Zhou <zhouquan@...as.ac.cn>
> Signed-off-by: Dong Yang <dayss1224@...il.com>
> ---
> tools/testing/selftests/kvm/include/riscv/processor.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/testing/selftests/kvm/include/riscv/processor.h b/tools/testing/selftests/kvm/include/riscv/processor.h
> index 162f303d9..4cf5ae117 100644
> --- a/tools/testing/selftests/kvm/include/riscv/processor.h
> +++ b/tools/testing/selftests/kvm/include/riscv/processor.h
> @@ -9,7 +9,9 @@
>
> #include <linux/stringify.h>
> #include <asm/csr.h>
> +#include <asm/vdso/processor.h>
This is fine, but...
> #include "kvm_util.h"
> +#include "ucall_common.h"
...this isn't correct. We should instead add this include line to all the
source files that need it:
access_tracking_perf_test.c
memslot_modification_stress_test.c
memslot_perf_test.c
Thanks,
drew
>
> #define INSN_OPCODE_MASK 0x007c
> #define INSN_OPCODE_SHIFT 2
> --
> 2.34.1
>
>
> --
> kvm-riscv mailing list
> kvm-riscv@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/kvm-riscv
Powered by blists - more mailing lists