diff options
| author | Yao Zihong <zihong.plct@isrc.iscas.ac.cn> | 2025-11-18 19:23:25 +0300 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2025-11-19 19:19:29 +0300 |
| commit | a131fd60796dbfaa6297c0c8ca8e2a7610a64281 (patch) | |
| tree | ba6ec39cf518f003689dc4059ff6a93ffeb2ee79 /scripts | |
| parent | e0a504984a88a2f1c0131aca5115fd529fc9974a (diff) | |
| download | linux-a131fd60796dbfaa6297c0c8ca8e2a7610a64281.tar.xz | |
selftests/riscv: Add Zicbop prefetch test
Add selftests to cbo.c to verify Zicbop extension behavior, and split
the previous `--sigill` mode into two options so they can be tested
independently.
The test checks:
- That hwprobe correctly reports Zicbop presence and block size.
- That prefetch instructions execute without exception on valid and NULL
addresses when Zicbop is present.
Signed-off-by: Yao Zihong <zihong.plct@isrc.iscas.ac.cn>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://patch.msgid.link/20251118162436.15485-3-zihong.plct@isrc.iscas.ac.cn
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
