mbox series

[v7,0/3] Enable Zicbom in usermode

Message ID 20250226063206.71216-1-cuiyunhui@bytedance.com (mailing list archive)
Headers show
Series Enable Zicbom in usermode | expand

Message

yunhui cui Feb. 26, 2025, 6:32 a.m. UTC
v1/v2:
There is only the first patch: RISC-V: Enable cbo.clean/flush in usermode,
which mainly removes the enabling of cbo.inval in user mode.

v3:
Add the functionality of Expose Zicbom and selftests for Zicbom.

v4:
Modify the order of macros, The test_no_cbo_inval function is added
separately.

v5:
1. Modify the order of RISCV_HWPROBE_KEY_ZICBOM_BLOCK_SIZE in hwprobe.rst
2. "TEST_NO_ZICBOINVAL" -> "TEST_NO_CBO_INVAL"

v6:
Change hwprobe_ext0_has's second param to u64.

v7:
Rebase to the latest code of linux-next.

Yunhui Cui (3):
  RISC-V: Enable cbo.clean/flush in usermode
  RISC-V: hwprobe: Expose Zicbom extension and its block size
  RISC-V: selftests: Add TEST_ZICBOM into CBO tests

 Documentation/arch/riscv/hwprobe.rst        |  6 ++
 arch/riscv/include/asm/hwprobe.h            |  2 +-
 arch/riscv/include/uapi/asm/hwprobe.h       |  2 +
 arch/riscv/kernel/cpufeature.c              |  8 +++
 arch/riscv/kernel/sys_hwprobe.c             |  8 ++-
 tools/testing/selftests/riscv/hwprobe/cbo.c | 66 +++++++++++++++++----
 6 files changed, 79 insertions(+), 13 deletions(-)

Comments

patchwork-bot+linux-riscv@kernel.org March 27, 2025, 3:24 a.m. UTC | #1
Hello:

This series was applied to riscv/linux.git (for-next)
by Alexandre Ghiti <alexghiti@rivosinc.com>:

On Wed, 26 Feb 2025 14:32:03 +0800 you wrote:
> v1/v2:
> There is only the first patch: RISC-V: Enable cbo.clean/flush in usermode,
> which mainly removes the enabling of cbo.inval in user mode.
> 
> v3:
> Add the functionality of Expose Zicbom and selftests for Zicbom.
> 
> [...]

Here is the summary with links:
  - [v7,1/3] RISC-V: Enable cbo.clean/flush in usermode
    https://git.kernel.org/riscv/c/de70b532f91b
  - [v7,2/3] RISC-V: hwprobe: Expose Zicbom extension and its block size
    https://git.kernel.org/riscv/c/eb1003970940
  - [v7,3/3] RISC-V: selftests: Add TEST_ZICBOM into CBO tests
    https://git.kernel.org/riscv/c/36dec9e44805

You are awesome, thank you!