Repository navigation
arm64: dts: apple: describe J714s per-cluster L2 caches - #2099
DjDeveloperr wants to merge 1 commit into
Conversation
The J714s describes its CPU clusters without their shared L2 links. Describe one unified L2 per cluster with the sizes supplied by the board description: 8 MiB for clusters 0 and 1 and 16 MiB for cluster 2. Point each CPU at its cluster cache so cacheinfo and the scheduler can distinguish the three sharing domains. The board description supplies no cache geometry or L1 sizes; leave those unspecified. The change is local to J714s. Signed-off-by: Diljit Singh <hey@djdev.me>
|
Blockers: 2.
HW row: J714s booting a DTB built from this exact head (not an edited intg10 DTB): /sys/devices/system/cpu/cpu{0,6,12}/cache/index*/{level,size,shared_cpu_list} matching CLIDR_EL1, plus the same on one other T6050 board (J775c or J716c) once the nodes are in the shared dtsi. Also 0 AVC, 0 failed units and no new kernel errors. Assisted-by: LLM (Claude:Opus 5.5) |
|
#2654 is now on integration/aurora (1bd5f40) and describes the same per-cluster L2 caches, 8 MiB per M cluster and 16 MiB for the P cluster, in t6050-max.dtsi for every T6050 board. On the current tip this branch would add a second set of L2 nodes in t6050-j714s.dts. The P-core topology (private L2 per core in front of a 16 MiB L3, per CLIDR_EL1) is in #2574. Nothing in this PR seems to remain beyond those two, so it can probably be closed. |
J714s has a CPU cluster map but no shared L2 cache links. Describe one unified L2 per cluster and point each CPU at its own cache: 8 MiB for CPUs 0–5 and 6–11, and 16 MiB for CPUs 12–17, as supplied by the board's ADT. Cache geometry and L1 sizes remain unspecified because the ADT does not supply them. Only t6050-j714s.dts changes.
Based on merged integration/aurora bf423bf, including #2080. This changes no GPU controller defaults or driver code.
Validation so far:
These boots used equivalent additions to an existing DTB, not a DTB compiled from this exact source head. One stock boot with three rounds versus one interrupted L2 boot with two rounds is not a qualified speedup comparison; some rows improve and others regress. Draft pending kernel-build-system/schema checks and complete repeated stock/L2 boots. No performance win or default change is claimed.