Skip to content

T6050 (M5 Max): CPU release, NVMe window, MTP DAPF and cpufreq - #26

Closed
edimoldovan wants to merge 4 commits into
omacom:integration/aurorafrom
edimoldovan:j714c/t6050
Closed

edimoldovan wants to merge 4 commits into
omacom:integration/aurorafrom
edimoldovan:j714c/t6050

Conversation

@edimoldovan

Copy link
Copy Markdown

Base: integration/aurora 121fcbf.

What it does:

  • smp: the T6050 secondary release register takes one bit per CPU index, as on T8142.
  • nvme: the J714c's 64 KiB NVMe alias gets the 0x30000 aperture, as on T8140.
  • kboot: keep m1n1's heap for the live NVMe session (as on T8140); program only the
    MTP DAPF, since dapf_init_all() faults on the AOP entry; nine i2c nodes.
  • cpufreq: cluster 0 with T8142's P-state handling.

The kernel side is edimoldovan/linux-aurora j714c/base (PR to follow).
Not included: USB host prep for the next stage, the GPU handoff, the PMP DART, and the T6050
chainload support in the proxy client.

Testing

MacBook Pro 14-inch, M5 Max (J714c, Mac17,7), system firmware 20457.60.65.0.1 (macOS 27.2,
26B123).

This code was tested while investigating the J714c bring-up, not this branch itself:

  • The same T6050 code in smp, nvme, kboot and cpufreq booted on 2026-11-07 as part of the
    stage 1 of an m1n1 build on an older integration/aurora, with the items under "Not included",
    m1n1 -> U-Boot -> Limine -> Omarchy login, no cable: EFI, 18 CPUs: pass
  • The same code as the resident m1n1 proxy, with the kernel of j714c/base: 18 CPUs, root on
    the internal SSD, keyboard and trackpad, cpufreq in Linux: pass
  • this branch: not booted
  • make CHAINLOADING=1: builds, no new warnings; git clang-format on the changed lines: clean

🤖 Generated with Claude Code

edimoldovan and others added 4 commits November 7, 2026 02:26
The T6050 secondary release register takes one bit per CPU index, as on
T8142. The 4 * cluster + core layout never releases cores 14-17 of its
three six-core clusters.

Tested on J714c (MacBook Pro 14-inch, M5 Max): all 18 CPUs come up in
Linux.

Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The J714c ADT gives the NVMe controller a 64 KiB window at 0x45dcc0000
with the NVMMU at 0x41dcc0000, the same alias T8140 has. Use the
0x30000 aperture the registers above it need, as on T8140.

Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Keep m1n1's heap for Linux on T6050 as on T8140: the live NVMe
  session's buffers come from it.
- Program only the MTP DAPF (reg 1 of dart-mtp). The MTP's first
  access is PMGR at 0x28830c000, entry 0 of dapf-instance-0; without
  the filter it never sends HELLO. dapf_init_all() is not used: its AOP
  entry points at the block every DART shares, at 0x2890fc000, and
  faults with an SError.
- The J714c ADT has nine i2c nodes: raise the i2c limit of
  dt_disable_missing_devs() to 16.

Tested on J714c (MacBook Pro 14-inch, M5 Max): Linux boots from the
internal SSD, and the keyboard and trackpad work.

Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
T6050 takes T8142's P-state register handling and keeps the firmware's
voltage, PLL and throttling configuration. Add its cluster 0 (MCPU0 at
0x210e00000, boot P-state 4); Linux's cpufreq driver drives all three
clusters.

Signed-off-by: Eduard Moldovan <edimoldovan@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@greptile-apps

greptile-apps Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge within its stated T6050 scope.

Summary

Adds T6050 support for CPU release, NVMe register access, and kernel handoff.

  • T6050 starts and stops CPUs with one bit per CPU index.
  • T6050 NVMe access includes the full register window.
  • T6050 kernel handoff keeps NVMe memory and prepares its devices.
  • T6050 boots with a configured MCPU0 P-state.

No actionable issues were found.

Intentional scope: edimoldovan explicitly leaves USB host preparation, GPU handoff, PMP DART, and proxy-client T6050 chainloading support out of this PR. The cluster-0-only setup is also intentional.

Reviews (1) · Last reviewed commit: "cpufreq: T6050" · Reviewed by Greptile

@edimoldovan

Copy link
Copy Markdown
Author

Superseded by #30, which carries this together with the rest of the T6050 support the J714c now boots from disk with, rebased onto the current integration/aurora.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant