Repository navigation
Conversation
fbalazsy
force-pushed
the
j616s/m4cho-real-sptm
branch
from
November 2, 2026 11:58
16442ca to
7f6023d
Compare
An EL2 monitor that runs where XNU would, under Apple's resident SPTM, and starts Omarchy as its guest at EL1, so hardware TSO can be enabled for Linux processes. tools/kc_patch.py writes the monitor and the payload into the user's own BootKC (26.7.1 25G241, checked by SHA-256); no Apple binary or code is part of this tree. Reproduces candidate F37 byte for byte. Work in progress: see README.md for the hardware status and the open problems we need help with, and LEGAL.md for what the tree contains. Signed-off-by: František Balázsy <frantisekbalazsy@gmail.com>
fbalazsy
force-pushed
the
j616s/m4cho-real-sptm
branch
from
November 2, 2026 12:01
7f6023d to
5ce8691
Compare
Contributor
Author
|
Closing: J616s work continues on the boot-object path in #66 instead of running under the resident SPTM. |
dmitzsaz
pushed a commit
to dmitzsaz/aura
that referenced
this pull request
Nov 6, 2026
…aurora-wip-20261028 Consolidate our m1n1 work on aurora-wip: J616s display handover, T8140 providers and j616s fixes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Another macho on M4 trying to help: our J616s (MacBook Pro M4 Pro, T6040) path that keeps SPTM resident and runs Omarchy as a guest of a small EL2 monitor, so hardware TSO works for Linux processes. It complements the
kcbz=0boot object of #29.On hardware today: Omarchy desktop under the resident SPTM, 14 CPUs, Wi-Fi, USB gadget, NVMe root, and
tso_litmusacross clusters (cpu1 E × cpu9 P, 40 M iterations) shows 15 reorderings with TSO off and 0 with the TSO bit on.Not done: silent freezes after 60 to 330 s were traced to the monitor mapping through SPTM from guest state; the fix is in F37, which ran 9 min without a freeze; a rarer freeze is still being chased. Left USB-C xHCI sits on IRQ 0. DCP and external displays are not done. Details and the help-wanted list are in
j616s-sptm/README.md.No Apple code is in the tree.
tools/kc_patch.pypatches the user's own kernelcache (26.7.1 25G241, checked by SHA-256), and firmware and per-unit calibration come from the user's machine. Seej616s-sptm/LEGAL.md.The tree is the source of our hardware candidate F37 plus the F38 changes built since (KVM memslot delete fix, left USB-C ports held until their DART is bound). The kernel series carries aurora commits by Dj and Ryan Murray as its base, with their authorship.