Repository navigation
integration/aurora-7.3: sync to v1.0.0b17 and align carry.toml with carry/edgeB3-7.3 - #51
Conversation
…ow-source data: keep the execute-window chip rule in one file and check it on boot
…afety-adt kboot: key the speaker safety profile on the ADT, not on T8140
…fail the boot on it fdt_get_alias() returns a string inside the blob, and adding the fixed-clock nodes moves it. Copy it first. A failed clock publication now leaves the DCP without its firmware clocks, which is logged, instead of stopping kboot. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-reset-quiet startup, smp: keep every secondary off the console in its reset path
…-closed kboot: refuse an unresolvable display device on every chip
kboot: check that SEPFW and its manifests lie in DRAM on every chip
kboot: leave one device tree margin on every Mac
Since the carveout and MCC failures became fatal on every chip, a SoC whose ADT has no /arm-io/mcc (A7-A11, T2) panics: mcc_init() returns -1 on the missing node, and mcc_unmap_carveouts() requires a /chosen/carveout-memory-map with region-id-2 and region-id-4. The ADT survey behind that change only covered Apple Silicon Macs. Decide by ADT presence instead of a chip list: - mcc_init() returns MCC_ABSENT (not an error) when /arm-io/mcc is missing. - mcc_unmap_carveouts() still requires the list and both ranges when /arm-io/mcc exists and the TZ registers are unknown. Without an MCC node it unmaps the ranges the ADT carries and skips, with a message, any that are missing or unusable. Also correct the memory.c comment: returning 0 when nothing is described held only on the TZ-register path. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
BRINGUP=1 compiles out mmu_init(), mcc_init(), aic_init() and smp_init(). Since the CPU handoff checks apply on every chip, smp_start_secondaries() returns -1 on these builds (smp_initialized is never set), so every kernel payload is refused with "SMP: refusing payload handoff with missing CPUs", after NVMe and cpufreq work was already done. The refusal is right: without SMP init no secondary CPU is started, and without the MMU no carveout is unmapped, so a kernel would get a half-initialized machine. BRINGUP builds are proxy-only by design. Refuse at the start of the kernel path with a message that names the reason, and document it next to the BRINGUP option. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Each merge to main starts every push workflow again, and runs for main heads that are already superseded keep their runners busy until they finish. Give the build, test, format-check, release, stage1-size and esp-stage2-size workflows a concurrency group that cancels the older run on a new push to main. Pull request runs, tag pushes, other branches and manual runs get a group of their own (keyed by run id) and are never cancelled or queued, so every PR head keeps its full CI result. aurora-agent-policy keeps its own non-cancelling group, since it writes to branches. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Instead of a T8112-on-27.2 copy of the T6040/T6041 code, dt_set_aop_firmware() now finds the AOP node by its "apple,<soc>-aop" compatible and, when it is enabled, copies the motion calibration and reserves the DRAM segments the ADT's /arm-io/aop segment-ranges lists. An AOP whose segments all sit in its own SRAM gets none (dram_only), as before. T8132 keeps its DAPF path. The OS-log segment that T8112 27.2 firmware runs at its DRAM address is reserved without an IOVA because it lies outside the DVA window of the DART that the ADT device names in iommu-parent (vm-base, vm-size), not because of the chip. Only the dram_only reservation applies that test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On J413 27.2 the ADT window did not exclude the OS-log segment, while the DART itself reports a 32-bit input range (PARAMS3 VA width, as Linux reads it: "AS 32 -> 36"). Read the width from the T8110 DART that the FDT node's iommus names, after checking it is the one the ADT device's iommu-parent names. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The T8112 ADT /arm-io/aop iommu-parent is /arm-io/dart-aop/mapper-aop, so the lookup matches a T8110 DART by its own phandle or one of its children's. Log the range the DRAM reservation uses. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…segment harnesses The ISP and DCP harnesses compile dt_reserve_asc_segments_at() on its own; give them a dt_device_dart_va_bits() that reports no range, which keeps their reservations as before. No change on hardware: 1ULL << va_bits is what BIT() expanded to. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…concurrency ci: Cancel superseded main push runs
…cc-soft mcc: Fail soft on SoCs with no MCC in the ADT
payload: Say why a BRINGUP build refuses a kernel handoff
smp: start all 30 of the M5 Ultra's CPUs, not 27, without a larger image
kboot: T6050: give the M5 Ultra Mac Studio its displays
…r-direct-check ctxr_exec: read an armed CTXR_D before probing a secondary
…-disp-dart hv: trace_dcp names the display DART disp0 for the plain dcp node
The kernel starts the G14G 27.2 firmware itself, with no PMP link, as on T8122 27.2. Mark the GPU's power domain apple,no-auto-pm in the same transaction that enables the GPU, as t8122_gpu_enable_27() does, so Linux's pmgr never arms hardware auto power-gating of GFX under the running firmware. A GPU node without a single power domain refuses the handoff and leaves the GPU disabled. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
…pu-272-handoff kboot_gpu: publish the G14G firmware-27.2 handoff for a kernel-started image (T8112 compute)
…bles
The Mac mini M2 (T8112) on 27.2 system firmware runs a SIO firmware that
reports protocol 10. aura built it the earlier tables (five 32-byte DMA
shim records, eight device types). The firmware starts with them, but
crashes at the first DMA channel configuration ("Fifo allocation
overflow 2048:0"), so HDMI and DisplayPort audio cannot play.
With T6030's protocol-10 layout (six 36-byte shim records, nine device
types) the same firmware configures both DisplayPort audio channels and
streams; the AES engine on the same SIO is unaffected.
The ADT on 27.2 describes the SIO exactly as on 13.5, as T6030's does
for its own two layouts, so nothing in it tells the layouts apart. The
generation of the system firmware the SIO firmware is paired with is
the narrowest thing that does: low-window SIOs on firmware 27 or later
take the protocol-10 layout. High-window SIOs keep the T6041 tables.
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
…ocol
The M2's SIO firmware on system firmware 13.5 reports protocol 9 and
takes the earlier boot tables; on 27.2, with an ADT the same as the 13.5
one's, it reports protocol 10 and takes T6030's six 36-byte shim records
and nine device types. Given the earlier tables, the 27.2 firmware
crashes at its first DMA channel configuration ("Fifo allocation
overflow"), so DisplayPort/HDMI audio on the Mac mini M2 never ran.
Only the OS sees the protocol (in the SIO's STARTED message), after the
boot loader has built the tables. So instead of choosing by the paired
firmware's version (the previous commit), build both: the earlier
tables as before in apple,sio-firmware-params, and a second list,
apple,sio-firmware-params-v10, with T6030's shim records and device
types in place of the earlier ones (the other tables are the same in
both layouts and are shared). The OS sends the list for the protocol
the firmware reports. T6030 and the high-window SIOs are unchanged.
Stage 1 is unchanged in size (_file_vital_end 0x10c080 before and
after; sio.o grows by 432 bytes inside the existing 64 KiB step).
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Prepare Aura 1.0.0b16
Runs the shared pr-text check from aurora-silicon/.github on pull requests: it asks for the Tested and Risk lines and rejects AI attribution in the PR text, saying which line to fix. Drafts and older PRs only get a warning. [skip ci] Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
ci: add the org pr-text check
The protocol-10 list is optional: a failure to build it (out of mappings or parameter slots) used to discard the whole SIO handoff and leave the node disabled, though the earlier tables, which a protocol-9 firmware takes, were complete. Build it in add_v10_list(), and on a failure undo it: drop the mappings it added, restore the size of the last mapping it may have merged into, and clear its parameters. A protocol-10 firmware then gets no list, and the OS leaves its DMA down. Tie the second list to the layout chosen above (rules == copy_rules) rather than repeating the chip test. Format add_rule() per clang-format. Give the reservation test's struct sio_data stub the new fields, and add a host test of sio.c: both lists from a fake ADT (the earlier tables unchanged, T6030's shim records and device types in the second, the shared tables the same), and the undo when the second list's first or second allocation fails. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Darwin defines uint64_t as unsigned long long, so sio.c's %lx prints of u64 fail -Wformat under -Werror there. Use unsigned long, as test_sio_reservation_full.py does. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
…rkflows github: add the organisation's pr-readiness caller
…low-window sio: give the low-window SIO both table layouts, the OS picks by protocol
Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Prepare Aura 1.0.0b17
…h carry/edgeB3-7.3 Advances intake from 3d517e6 to v1.0.0b17 (5a244b5), retires aura#294 and aura#233 (both in v1.0.0b17; AsahiLinux#233 via AsahiLinux#312), and pins aura#290-AsahiLinux#293 to the four carries shipped on carry/edgeB3-7.3 (36b6f2b) with closed_ok noted for aura#290 (superseded by aura#604 on 2026-11-30).
Matches carry/edgeB3-7.3 @ 06cc08b (fixes omacom/omarchy#21139). Retires automatically once intake advances past 1f77cab (v1.0.0b18). Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
Carry aurora-silicon/aura#647 (ctxr_exec: check ACC_CTXR_*_CTL_EL2 policy bits in ctxr_range()) on top of carry/edgeB3-7.3 @ 06cc08b so T8140 raw Stage 1 boots are not falsely treated as confined (fixes omacom/omarchy-mac-installer#257). Annotated tag: carry-input/aura-647-7feed1009635. Sequential replay of all 6 carry ranges onto v1.0.0b17 (5a244b5) reproduces carry/edgeB3-7.3^{tree} (5dbd304) bit-for-bit. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
…TXR_*_CTL_EL2 in ctxr_range) (#4424) Advance pkgbuilds/aura from 06cc08b1a570 to 7feed1009635 on omacom/m1n1 carry/edgeB3-7.3 (annotated tag carry-input/aura-647-7feed1009635, tracked in omacom/m1n1#51). Carries aurora-silicon/aura#647 (commit 336ce6423704) so ctxr_range() checks SYS_IMP_APL_ACC_CTXR_{A..D}_CTL_EL2 policy bits below lock bits [63:62] instead of treating populated bounds with lock-only CTL (0xc000000000000000) on T8140 (MacBook Neo) raw Stage 1 as an armed CTXR_D window. Fixes omacom/omarchy-mac-installer#257. Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
Confidence Score: 4/5
[High impact] The b17 sync reaches shared boot paths across hardware, disk parsing, and device handoffs. The PR appears safe to merge, with a non-blocking path fix needed in the new IOVA fuzz runner. Findings
SummaryAdvances the upstream intake to
Acknowledged scope:
|
| -I"$root/src" "$root/tests/fuzz/iova_fuzz.c" -o "$out/iova_fuzz" | ||
| cd "$out" | ||
| exec ./iova_fuzz -max_total_time="$secs" -timeout=10 -rss_limit_mb=1024 -max_len=1024 \ | ||
| -artifact_prefix="$out/" "$@" corpus |
There was a problem hiding this comment.
With a relative output directory such as fuzz-out, the runner enters that directory before using -artifact_prefix="$out/". The prefix now points to fuzz-out/fuzz-out/, which was never created, so the fuzzer cannot save crash inputs where requested. Use an absolute out path or change the prefix to ./.
| -artifact_prefix="$out/" "$@" corpus | |
| -artifact_prefix=./ "$@" corpus |
Summary
Housekeeping sync advancing
omacom/m1n1integration/aurora-7.3from stale intake3d517e63e5e4up tov1.0.0b17(5a244b5bcbaf4a2751abea18dc0dd8e71c325e46) and aligningcarry.tomlwith the six carries oncarry/edgeB3-7.3(7feed1009635).What changes
v1.0.0b17(5a244b5bcbaf4a2751abea18dc0dd8e71c325e46) intointegration/aurora-7.3(zero conflicts).carry.toml:[upstream].intaketo5a244b5bcbaf4a2751abea18dc0dd8e71c325e46(v1.0.0b17).aurora-silicon/aura#294(merged inb17) andaurora-silicon/aura#233(closed in favour of#312, merged inb17).#290(2786048d7b6f, withclosed_oknoting closure 2026-11-30 in favour of#604),#291(f3fae42a0c45),#292(6993dc9f62ad),#293(36b6f2bd4daf, noting upstream merge42243c6b8faf),#550(06cc08b1a570, T8112 macOS 27+ device-tree ranking in ESP Stage 2, fixingomacom/omarchy#21139, noting upstream merge1f77cab45647), and#647(7feed1009635,ctxr_range()checkingACC_CTXR_*_CTL_EL2policy bits so T8140 raw Stage 1 boots are not falsely treated as confined, fixingomacom/omarchy-mac-installer#257) usingafter = ...single-commit ranges.carry-input/aura-*tags pushed toomacom/m1n1for all six SHAs (carry-input/aura-290-2786048d7b6f,291-f3fae42a0c45,292-6993dc9f62ad,293-36b6f2bd4daf,550-06cc08b1a570,647-7feed1009635).auraatv1.0.0b17(rather than jumping to draftv1.0.0b18, which requiresaurora-silicon/linux#3405and#3689).Evidence
carry.tomlranges ontov1.0.0b17(5a244b5bcbaf) reproduces exact tree hash5dbd3042dd25537a6481953eb5e36c4d99b79d1c— bit-for-bit identical tocarry/edgeB3-7.3^{tree}.gpt-6.2-sol):01a2340d-3eec-7743-b5b2-770dc8d1e281): VERIFIED.#647(7feed1009635), annotated tagcarry-input/aura-647-7feed1009635, andcarry.toml(01a23580-d37b-7971-85d3-fdfb81fb3f86): VERIFIED.