mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v7 0/3] Enable Zicbom in usermode
@ 2025-02-26  6:32 Yunhui Cui
  2025-02-26  6:32 ` [PATCH v7 1/3] RISC-V: Enable cbo.clean/flush " Yunhui Cui
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Yunhui Cui @ 2025-02-26  6:32 UTC (permalink / raw)
  To: ajones, alexghiti, andybnac, aou, charlie, cleger, conor.dooley,
	conor, corbet, cuiyunhui, evan, jesse, linux-doc, linux-kernel,
	linux-kselftest, linux-riscv, palmer, paul.walmsley,
	samuel.holland, shuah

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(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-27  3:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-02-26  6:32 [PATCH v7 0/3] Enable Zicbom in usermode Yunhui Cui
2025-02-26  6:32 ` [PATCH v7 1/3] RISC-V: Enable cbo.clean/flush " Yunhui Cui
2025-02-26  6:32 ` [PATCH v7 2/3] RISC-V: hwprobe: Expose Zicbom extension and its block size Yunhui Cui
2025-02-26  6:32 ` [PATCH v7 3/3] RISC-V: selftests: Add TEST_ZICBOM into CBO tests Yunhui Cui
2025-03-27  3:24 ` [PATCH v7 0/3] Enable Zicbom in usermode patchwork-bot+linux-riscv

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®