Skip to content

RFC RISC-V: hwprobe related stuff

Andrew Jones linux-riscv 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest5 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5RISC-V: hwprobe: Clarify cpus size parameterDocumentation/riscv/hwprobe.rst arch/riscv/kernel/sys_riscv.c arch/riscv/kernel/vdso/hwprobe.c+20 -192 replies
2/5RISC-V: selftests: Replace cpu_count with cpusetsizetools/testing/selftests/riscv/hwprobe/hwprobe.c tools/testing/selftests/riscv/hwprobe/hwprobe.h tools/testing/selftests/riscv/vector/vstate_prctl.c+3 -31 reply
3/5RISC-V: hwprobe: Introduce which-cpus flagDocumentation/riscv/hwprobe.rst arch/riscv/include/uapi/asm/hwprobe.h arch/riscv/kernel/sys_riscv.c+163 -415 replies
4/5RISC-V: selftests: Add which-cpus hwprobe testtools/testing/selftests/riscv/hwprobe/Makefile tools/testing/selftests/riscv/hwprobe/which-cpus.c+160 -11 reply
5/5RISC-V: selftests: Apply which-cpus flag to CBO hwprobe testtools/testing/selftests/riscv/hwprobe/cbo.c+9 -171 reply

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchPalmer Dabbelt
1/5R-b
2/5R-b
3/5
4/5R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/5] RISC-V: hwprobe related stuff

This series clarifies the hwprobe interface and introduces the first hwprobe flag. The flag basically reverses hwprobe to go from getting values for cpus to getting cpus for values. I've made the series an RFC because for the first part, the clarification, I'm not sure if the only person that needs clarification is me or not. If it's just me, then consider me clarified and we can drop it. The second part, the new flag, is an RFC, because so far the only use case is the CBO hwprobe selftest, which this series is based on and the last patch of the series applies the new hwprobe variant to it. If we don't believe other use cases, or use cases that care about having to do the probing inefficiently like the CBO test does before this series, will crop up, then the second part of this series can be dropped.

Based-on: [email protected]

Thanks,
drew

Andrew Jones (5):
RISC-V: hwprobe: Clarify cpus size parameter
RISC-V: selftests: Replace cpu_count with cpusetsize
RISC-V: hwprobe: Introduce which-cpus flag
RISC-V: selftests: Add which-cpus hwprobe test
RISC-V: selftests: Apply which-cpus flag to CBO hwprobe test

 Documentation/riscv/hwprobe.rst               |  27 ++-
 arch/riscv/include/uapi/asm/hwprobe.h         |   3 +
 arch/riscv/kernel/sys_riscv.c                 | 162 +++++++++++++++++-
 arch/riscv/kernel/vdso/hwprobe.c              |  10 +-
 .../testing/selftests/riscv/hwprobe/Makefile  |   5 +-
 tools/testing/selftests/riscv/hwprobe/cbo.c   |  26 +--
 .../testing/selftests/riscv/hwprobe/hwprobe.c |   2 +-
 .../testing/selftests/riscv/hwprobe/hwprobe.h |   2 +-
 .../selftests/riscv/hwprobe/which-cpus.c      | 156 +++++++++++++++++
 .../selftests/riscv/vector/vstate_prctl.c     |   2 +-
 10 files changed, 353 insertions(+), 42 deletions(-)
 create mode 100644 tools/testing/selftests/riscv/hwprobe/which-cpus.c
Signature · 7 lines
2.41.0


_______________________________________________
linux-riscv mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-riscv