Skip to content

arm64 topology support

Mark Brown linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm64: topology: Implement basic CPU topology supportarch/arm64/Kconfig arch/arm64/include/asm/topology.h arch/arm64/kernel/Makefile +2 more+168 -00 replies
2/4arm64: topology: Add support for topology DT bindingsarch/arm64/kernel/topology.c+145 -00 replies
3/4arm64: topology: Tell the scheduler about the relative power of coresarch/arm64/kernel/topology.c+145 -01 reply
3/4arm64: topology: Tell the scheduler about the relative power of cores+0 -01 reply
3/4arm64: topology: Tell the scheduler about the relative power of cores+0 -01 reply
3/4arm64: topology: Tell the scheduler about the relative power of cores+0 -00 replies
4/4arm64: topology: Provide relative power numbers for coresarch/arm64/kernel/topology.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] arm64 topology support

From: Mark Brown <[email protected]>

Another spin of the arm64 topology work - this should incorporate most of the feedback from Lorenzo, there's a few things that were still under discussion the main ones being:

- Should we have a smp_store_cpu_info(); like I say I like the errors it generates for omitted cores and the reuse of the SMP enumeration code (and cross-check with that I guess - make sure we don't get confused about which CPUs are getting enabled).

- Should we update the binding to allow cores in the root cpu_map node (since it's less effort in code and not a meaningful difference semantically), warn if we find cores in the cpu_map node or actively reject such DTs?

In both cases I don't much mind but I think what's there is reasonable so I've left the code as-is pending further feedback. I also didn't update the code to get more reuse of the iteration code, like I said I did look at that when writing the code but couldn't find anything that actually made things more pleasant but if someone has some ideas...

Everything else raised should be addressed I think.

Mark Brown (4):
arm64: topology: Implement basic CPU topology support
arm64: topology: Add support for topology DT bindings
arm64: topology: Tell the scheduler about the relative power of cores
arm64: topology: Provide relative power numbers for cores

 arch/arm64/Kconfig                |  24 +++
 arch/arm64/include/asm/topology.h |  39 ++++
 arch/arm64/kernel/Makefile        |   1 +
 arch/arm64/kernel/smp.c           |  12 ++
 arch/arm64/kernel/topology.c      | 384 ++++++++++++++++++++++++++++++++++++++
 5 files changed, 460 insertions(+)
 create mode 100644 arch/arm64/include/asm/topology.h
 create mode 100644 arch/arm64/kernel/topology.c
Signature · 1 line
1.8.5.2