Skip to content

dt-bindings: Add a cpu-capacity property for RISC-V

Conor Dooley linux-devicetree linux-doc linux-riscv lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: arm: move cpu-capacity to a shared loationDocumentation/devicetree/bindings/arm/cpus.yaml Documentation/devicetree/bindings/cpu/cpu-capacity.txt Documentation/scheduler/sched-capacity.rst +1 more+5 -53 repliesApplied
2/2dt-bindings: riscv: add a capacity-dmips-mhz cpu propertyDocumentation/devicetree/bindings/riscv/cpus.yaml+6 -02 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchLey Foon TanRob HerringYanteng Si
1/2R-b A-b R-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH v1 0/2] dt-bindings: Add a cpu-capacity property for RISC-V

From: Conor Dooley <[email protected]>

Hey,

Ever since RISC-V starting using generic arch topology code, the code paths for cpu-capacity have been there but there's no binding defined to actually convey the information. Defining the same property as used on arm seems to be the only logical thing to do, so do it.

It's worth noting that right now, actually putting this property in a DT will cause allocation failures on RISC-V - but there's already a patch for that thanks to Ley Foon Tan:
https://patchwork.kernel.org/project/linux-riscv/patch/[email protected]/

Thanks,
Conor.

CC Ley Foon Tan <[email protected]>
CC Sudeep Holla <[email protected]>
CC Palmer Dabbelt <[email protected]>
CC Conor Dooley <[email protected]>
CC Rob Herring <[email protected]>
CC Krzysztof Kozlowski <[email protected]>
CC Jonathan Corbet <[email protected]>
CC Alex Shi <[email protected]>
CC Yanteng Si <[email protected]>
CC Lorenzo Pieralisi <[email protected]>

Conor Dooley (2):
dt-bindings: arm: move cpu-capacity to a shared loation
dt-bindings: riscv: add a capacity-dmips-mhz cpu property

 Documentation/devicetree/bindings/arm/cpus.yaml             | 2 +-
 .../devicetree/bindings/{arm => cpu}/cpu-capacity.txt       | 4 ++--
 Documentation/devicetree/bindings/riscv/cpus.yaml           | 6 ++++++
 Documentation/scheduler/sched-capacity.rst                  | 2 +-
 .../translations/zh_CN/scheduler/sched-capacity.rst         | 2 +-
 5 files changed, 11 insertions(+), 5 deletions(-)
 rename Documentation/devicetree/bindings/{arm => cpu}/cpu-capacity.txt (98%)
Signature · 1 line
2.39.0