[PATCH v4 3/3] RISC-V: selftests: Add TEST_ZICBOM into CBO tests
Samuel Holland
samuel.holland at sifive.com
Mon Jan 13 21:32:45 PST 2025
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 at bytedance.com>
> ---
> tools/testing/selftests/riscv/hwprobe/cbo.c | 66 +++++++++++++++++----
> 1 file changed, 55 insertions(+), 11 deletions(-)
Reviewed-by: Samuel Holland <samuel.holland at sifive.com>
More information about the linux-riscv
mailing list