Re: [PATCH v4 3/3] RISC-V: selftests: Add TEST_ZICBOM into CBO tests
From: Samuel Holland
Date: Tue Jan 14 2025 - 00:32:58 EST
On 2025-01-13 8:19 PM, Yunhui Cui wrote:
> Add test for Zicbom and its block size into CBO tests, when
> Zicbom is present, test that cbo.clean/flush may be issued and works.
> As the software can't verify the clean/flush functions, we just judged
> that cbo.clean/flush isn't executed illegally.
>
> Signed-off-by: Yunhui Cui <cuiyunhui@xxxxxxxxxxxxx>
> ---
> tools/testing/selftests/riscv/hwprobe/cbo.c | 66 +++++++++++++++++----
> 1 file changed, 55 insertions(+), 11 deletions(-)
Reviewed-by: Samuel Holland <samuel.holland@xxxxxxxxxx>