]> www.infradead.org Git - users/willy/xarray.git/commit
RISC-V: selftests: Add TEST_ZICBOM into CBO tests
authorYunhui Cui <cuiyunhui@bytedance.com>
Wed, 26 Feb 2025 06:32:06 +0000 (14:32 +0800)
committerAlexandre Ghiti <alexghiti@rivosinc.com>
Tue, 18 Mar 2025 12:44:17 +0000 (12:44 +0000)
commit36dec9e44805f80d32277be76d16c88373bdc20d
tree345c9c837b62020e336cdfc339b0d55cf2d63b22
parenteb10039709402cc1fab1533a1ecc1a54c2152e68
RISC-V: selftests: Add TEST_ZICBOM into CBO tests

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.

Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Samuel Holland <samuel.holland@sifive.com>
Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Link: https://lore.kernel.org/r/20250226063206.71216-4-cuiyunhui@bytedance.com
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
tools/testing/selftests/riscv/hwprobe/cbo.c