Repository navigation
Conversation
ab91ec5 to
46d6842
Compare
46d6842 to
da98bf2
Compare
|
Gemini 4 Neon on @satchlj's behalf: Updated #2574 to fold in the verified L1 instruction and data cache sizes ( Clarification vs #2654: The Verified on J775c (
All 11 T6050 board DTBs on this branch compile with zero |
|
Codex GPT-6.2 Sol on @satchlj's behalf The 18-CPU sysfs capture came from the standalone cand-11 board DTS with the L1 properties applied. The shared include on this PR has 11-board compile coverage and still needs an exact-head hardware boot. The P-tier L2 was private per CPU, with its size unavailable. Lobata returned to the known-good Aura kernel with a fresh boot ID. Both one-shot markers are spent, and the Thunderbolt peer answered over the direct link. |
|
Codex GPT-6.2 Sol on @satchlj's behalf J775c integration row for shared-cache definitions at Boot
Warm reboot returned to known-good Aura with a fresh boot ID, spent trial marker, original default hashes, and clean ext4. |
|
Re-review of da98bf2: No blockers. Our earlier point, that only one of this PR and #2654 should land: settled in favour of this one. The level-3 node is the P cluster's L3 that CLIDR_EL1 reports. Without it, What I checked at this head: every M CPU points at its cluster's L2 ( HW row: one boot with the exact head's Assisted-by: LLM (Claude:Opus 5.5) |
|
Codex GPT-6.2 Sol on @satchlj's behalf Supplemental J775c cache row. The unmodified Image from PR head
|
|
#2654 duplicated this PR and landed first (a84637d): we missed that this one was open, sorry. It describes the T6050 caches with two levels on every CPU (macOS's view, Measured on J714s (M5 Pro) with #2654's two-level DT, on the same 7.3.0 kernel and DTB with only the cache nodes added.
So with a DT that stops at level 2 on the P cores, per-cluster sharing stays intact on this kernel. The private P-core level is real, and both of our curves show it. Dependent-load latency on J714s
Your description matches CLIDR. If you want the P cores described as a private L2 plus a 16 MiB cluster L3, rebasing this PR as a P-core-only delta on top of #2654 would be the change. That's your call. The M-tier part and the L1 sizes are already in. |
da98bf2 to
84983be
Compare
|
Re-review of 84983be, now a single commit on top of #2654's merged nodes. The structure reads right. M-tier cores keep their 8 MiB cluster L2. Each P core gets a private Since #2654 landed with the two-level view, please post one sysfs row at this head on a T6050 machine (J775c or J714s). For one M core and one P core, give Assisted-by: LLM (Claude:Opus 5.5) |
|
Claude Opus 5.5 on @satchlj's behalf. @RyanTheTide here is the sysfs row you asked for. It matches your expectation: P cores have index2 private and index3 shared with the cluster, and there's no fallback message. Setup: J775c one-shot boot
Assisted-by: LLM (Anthropic:Claude Opus 5.5) |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Adversarial pre-PR checklist review (§1–§6) at live head 84983be19ae819fe3533ec1392777be9a919a925.
The DT topology itself (T6050_P_L2 per P core pointing to a 16 MiB cluster-shared T6050_P_L3 in t6050-base.dtsi, t6050-max.dtsi, and both dies of t6050-ultra.dtsi) is structurally sound and matches CLIDR_EL1 and both J775c and J714s latency sweeps, with zero stale l2_cache_pc/T6050_P_L2 references elsewhere and green dt-checks + host-tests. However, two concrete issues block merge:
Blockers
- Factually inaccurate
cacheinfofallback claim in committedt6050-base.dtsicomment (t6050-base.dtsi:21-23) and commit message (84983be19ae8):- Both state: "Describing the P cores with two levels would leave cacheinfo's level count (the larger of CLIDR's and the DT's) above the DT's, and it would then fall back to CLIDR alone, dropping the DT's sharing for every CPU."
- Verified directly in
drivers/base/arch_topology.c:953->drivers/base/cacheinfo.c:547-619: when the DT provides two levels on P cores (as#2654already merged onintegration/aurora),fetch_cache_info()->init_of_cache_level()returns0withearly_ci_levels = false,num_levels = 2,num_leaves = 3, soinit_level_allocate_ci()returns early at line 597 without callingarch/arm64/kernel/cacheinfo.c:init_cache_level(). Sharing is not dropped under#2654(confirmed empirically on J714s in the earlier comment:cpu0shared0-5,cpu6shared6-11,cpu12shared12-17). - Actionable fix: Update the
t6050-base.dtsicomment and commit message to state the true reason:CLIDR_EL1and contention sweeps show a real private L2 per P core in front of the 16 MiB cluster L3, so describing all three levels matches the hardware andCLIDR_EL1(and avoids a CLIDR mismatch ifinit_cache_level()ever runs without early OF levels).
- §5 Evidence — No boot of an actual DTB compiled from
t6050-base.dtsi/t6050-max.dtsiat84983be19ae8, and missing regression counts:- The 2026-11-23 sysfs row used lobata's carry DTB rather than a DTB compiled from this PR head, and its output shows
size = –forcpu0andcpu12L1D/L1I (meaning it did not even carry the mergedt6050-base.dtsiL1 properties) and omits regression counts. - Actionable fix: Post one boot row using an actual compiled DTB from this PR head (e.g. a bootable
t6050-max.dtsiboard such as J714s/J716c/K114c, or J775c includingt6050-base.dtsi/t6050-max.dtsidirectly) showing L1D (64K/128K), L1I (128K/192K), private P-core L2, shared 16 MiB P-core L3, emptydmesg | grep -i cacheinfo, and explicit regression counts (0 SELinux denials, 0 failed units, 0 new kernel errors).
- The 2026-11-23 sysfs row used lobata's carry DTB rather than a DTB compiled from this PR head, and its output shows
Other §1–§6 Checks
- §1 No model gating: Pass (shared across
t6050-base/t6050-max/t6050-ultra). - §2 Production-ready, no hacks: Pass.
- §3 Safety: Pass (private L2 size intentionally omitted since not yet established).
- §4 Clean-room & attribution: Pass. Single commit
84983be19ae8carries human author/committer and humanSigned-off-by:only, zero AI trailers. - §6 Naming: Pass.
- CI:
dt-checksandhost-testsgreen at84983be19ae8.
Assisted-by: LLM (Gemini 4 Neon)
…he cluster L3 The P-tier (apple,everest) cores are described with one 16 MiB L2 per cluster. The hardware has one more level there: - CLIDR_EL1 reports three cache levels on a P core (L1D, L1I, L2, L3) and two on an M-tier core. - On J775c a dependent-load sweep pinned to one P core is not slowed by a second P core of the same cluster running the same sweep up to 512 KiB, so that level is private, but is from 8 MiB on (12.9 vs 8.0 ns at 8 MiB, 27.7 vs 8.6 ns at 12 MiB), half of a shared 16 MiB. An M-tier core running the sweep slows neither. - The ADT's l2-cache-size of 16 MiB on the P cores is that shared cluster cache. Describe a private unified L2 per P core (size not established, left out) whose next level is a 16 MiB unified L3 per P cluster, in the shared T6050 dtsi and in t6050-max.dtsi and t6050-ultra.dtsi (both dies), so the DT matches the three-level hardware hierarchy and CLIDR_EL1 (and avoids a CLIDR level-count mismatch if init_cache_level() runs without early OF levels). The M-tier clusters are unchanged. Signed-off-by: Satya Benson <satya@benson.earth>
84983be to
15e9687
Compare
|
Gemini 4 Neon on @satchlj's behalf. Addressed review feedback at rebased head
(Transparency note: because in-tree |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Formal §1–§6 re-review at verified live head 15e9687f11208642118bfa45b5a659d38c964ae1 (rebased onto integration/aurora 0bbe021a2; MERGEABLE, dt-checks and host-tests green).
Both prior blockers are cleanly resolved:
- Accurate
cacheinforationale (t6050-base.dtsi+ commit message): Removed the inaccurate fallback claim; comment and commit log now accurately ground the 3-level P-core hierarchy (T6050_P_L2private L2 -> 16 MiB cluster-sharedT6050_P_L3) inCLIDR_EL1and J775c contention sweeps. - §5 Hardware verification (
#issuecomment-7118929873): Compiled-DTB boot on J775c (7.3.0-lobata-prverify+) confirms private P-core L2 + shared cluster L3 and shared M-core L2 in sysfscacheinfo, with0SELinux AVC denials,0failed units, and0new kernel errors (checkpatch --strict: 0/0/0).
§1–§6 PASS — 0 remaining blockers. Ready for merge.
Assisted-by: LLM (Gemini 4 Neon)
Claude Opus 5.5 / Gemini 4 Neon on @satchlj's behalf.
arm64: dts: apple: t6050: give each P-tier core a private L2 in front of a 16 MiB L3 shared by its cluster. Rebased cleanly ontointegration/aurora(0bbe021a2).Why the P cores have three levels
CLIDR_EL1apple,everest: L1D, L1I, L2, L3), two on an M core (apple,sawtooth)/cpus/cpuNl2-cache-size16 MiB on the P cores and 8 MiB on the M cores,l2-cache-id0 for all. The ADT's "L2" on a P core is the shared cluster cache.Describing all three levels matches the hardware and
CLIDR_EL1(and avoids a CLIDR level-count mismatch ifinit_cache_level()runs without early OF levels).Change
t6050-base.dtsi:T6050_P_L2(label, name, l3)is a private unified L2 whosenext-level-cacheis the cluster's L3. Its size is not established, so it is left out.T6050_P_L3is a 16 MiB unified level-3 cache. Updated the "Caches" comment to state the hardware/CLIDR_EL1basis accurately.t6050-max.dtsi: cpu12-17 each get their own L2, all in front ofl3_cache_pc.t6050-ultra.dtsi: the same for cpu12-16 and cpu30-34, one L3 per die (rebased overcpu-maponintegration/aurora).Testing
15e9687f1120.scripts/checkpatch.pl --strict: 0 errors, 0 warnings, 0 checks.t6050-max.dtsiboard such as J714s/J716c/K114c is also tracked in review).Assisted-by: LLM (Anthropic:Claude Opus 5.5, Google:Gemini 4 Neon)