RFC RISC-V: hwprobe related stuff
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest5 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | RISC-V: hwprobe: Clarify cpus size parameterDocumentation/ arch/ arch/ | +20 | 2 replies | |
| 2/5 | RISC-V: selftests: Replace cpu_count with cpusetsizetools/ tools/ tools/ | +3 | 1 reply | |
| 3/5 | RISC-V: hwprobe: Introduce which-cpus flagDocumentation/ arch/ arch/ | +163 | 15 replies | |
| 4/5 | RISC-V: selftests: Add which-cpus hwprobe testtools/ tools/ | +160 | 1 reply | |
| 5/5 | RISC-V: selftests: Apply which-cpus flag to CBO hwprobe testtools/ | +9 | 1 reply |
Reviews trailers per patch
4 of 5 patches have a Reviewed-by or Acked-by.
| Patch | Palmer Dabbelt |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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