Repository navigation
Conversation
PCI: apple: enable the root-port prefetchable window on cold-initialized tunnel ports
…-only cpufreq: apple-soc: offer no boost control without turbo-mode OPPs
media: apple: ave: admit the J775D's encoder by its build's per-boot word
drm/asahi: g18: advertise MAX_COMMANDS_PER_SUBMISSION (64)
media: apple: ave: 26A428: 60 fps and no-B sessions, B-picture flags
HID: magicmouse: J813/J815 trackpad touch states, palm rules and palm-free click
drm/asahi: g17: wait for the other engine's newest scheduled producer
arm64: configs: asahi: enable Bluetooth RFCOMM, BNEP and LE
…tion-poll Bluetooth: hci_bcm4377: Bound completion ring polling
Add apple,soc-die-passive-millicelsius and apple,soc-die-hot-millicelsius. They give the macsmc_soc_die thermal zone the machine's SoC die limits: the temperature from which in-kernel power consumers shed performance and the one at which they hold their lowest state. Each requires the other and apple,soc-die-keys. The hot trip only reports and never shuts the machine down. Signed-off-by: Dj <43033058+DjDeveloperr@users.noreply.github.com>
The macsmc_soc_die zone is registered tripless unless the board describes hotspot fan assistance. Consumers that read the zone's trips then see no limits. The G16 backend's thermal-zone backstop, which drives the GPU ceiling when the GPU has no PMP telemetry, fails closed at its lowest state in that case. So the T6030 and T8122 GPUs never leave S1. Read apple,soc-die-passive-millicelsius and apple,soc-die-hot-millicelsius from the hwmon node, and register them as a passive and a hot trip on the zone, after the active fan-assistance trip when one is configured. Both must be present, and the hot trip must lie above the passive one, or neither is registered. The zone has no hot callback and no critical trip, so the hot trip never shuts the machine down. Signed-off-by: Dj <43033058+DjDeveloperr@users.noreply.github.com>
The T6030 GPU has no PMP telemetry (its PMP node is disabled), so the G16 backend sets the GPU ceiling from the macsmc_soc_die zone's trips. The zone had none, so the backstop failed closed and held the G15S at S1, 338 MHz of its 1380 MHz table. Give the zone the machine's SoC die limits. The ADT's /arm-io/pmp/iop-pmp-nub describes the PMP's fast die control: fast-die-ctrl-ts-avg-temp holds the average die temperature at 100 C (0x640000, 16.16), and the fast-die-ctrl-loop target holds the hottest die sensor at 110 C (0x6e0000 in each of its EACC, PACC and ANE0 records). The J514s and J516s device trees of the 27.2 (26B123) IPSW carry the same values, so they go in the SoC dtsi: the passive trip at 100 C and the hot trip at 110 C. Signed-off-by: Dj <43033058+DjDeveloperr@users.noreply.github.com>
The T8122 GPU, like T6030's, has no PMP telemetry (its PMP node is disabled), so the G16 backend sets the G15G ceiling from the macsmc_soc_die zone's trips. The zone has none, so the backstop fails closed at S1. Give the zone the machine's SoC die limits. The ADT's /arm-io/pmp/iop-pmp-nub holds fast-die-ctrl-ts-avg-temp at 100 C (0x640000, 16.16) and the fast-die-ctrl-loop target at 110 C (0x6e0000). The J433, J434, J504, J613 and J615 device trees of the 27.2 (26B123) IPSW carry the same values, so they go in the SoC dtsi: the passive trip at 100 C and the hot trip at 110 C. Signed-off-by: Dj <43033058+DjDeveloperr@users.noreply.github.com>
drm/asahi: g17: count busy time across power gates, in timestamp order (#1611 follow-up)
…lback-20261111-v2 phy: apple: atc: Serve USB2 for USB4/TBT on T8132 without CIO calibration
soc: apple: sleep: T8142: start the cores and write the cluster words as XNU (on #2192)
media: apple: avd: VP9: one segmentation map per stream, shared by the banks
media: apple: ave: 26A428: encode HEVC Main 10 (on #2218)
aurora-sep: selinux: allow catacomb publication by atomic replacement
make pacman-pkg takes pkgrel from scripts/build-version, a local build counter, so every release build produced 7.3.0_aurora_edge-2: the edge packages at f3bfe50 and c4b7e83 have the same version and different contents, and pacman (vercmp 0) never upgrades from one to the other. Use the source commit's committer time in Unix seconds as the build number: export it as KBUILD_BUILD_VERSION (uname -v '#N') and seed .version so pacman-pkg's pkgrel is the same value. It grows with every new main commit (channel tags only move forward), a rebuild of the same commit gets the same version, and ten digits keep UTS_VERSION within its 64 bytes. An explicit KBUILD_BUILD_VERSION still wins. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
The Bluetooth wake diagnostics run as root and wrote their evidence below /var/tmp/bt-wake, under directory names predictable to the second, taking over any existing directory with mkdir -p and writing through ordinary pathname redirections and tee. Another local user who owns that parent, or a leaf in it, could point those writes elsewhere. bt-wake-cycle.sh and bt-wake-power.sh now open their output directory with open_out(): a fresh mktemp -d directory by default, or, for -o, a new absolute path that must not exist yet and whose parents only root, the caller or the sticky bit let others change. The directory is created with mode 0700, checked to be private, and entered, and the scripts work inside it with noclobber set, so a renamed or replaced path cannot redirect later writes and no existing file is overwritten. Kernel attributes are written with >| on purpose. attended-bt-wake.sh works in a fresh private directory the same way, and bt-wake-emulated.sh copies the cycle script to, and collects its evidence from, a fresh directory on the target rather than a fixed shared one. aurora-wake-output-tests.py, run by run-host-tests.py, plants the old predictable paths with symlinked outputs and checks that nothing is written through them; that -o refuses relative, existing, symlinked and dangling paths and parents others can change; that writes after a swap stay in the held directory; and that the scripts keep to these rules. Signed-off-by: Dj <43033058+DjDeveloperr@users.noreply.github.com>
arm64: dts: apple: t8103: give every M1 board the sio alias
On firmware 27.x the M3 and M4 Airs' external display processors announce the EDID AV service, dcpav-service-epic with class DCPDP13Service, on the classic DPAV endpoint 0x28 with EPICUnit 0 and a dynamic interface-id (1 at boot, then 5, 9, 13, 17, 21 after each reconnect and resume). Endpoint 0x28 admits only the MCDP29xx converter classes, so the service is refused with -ENODEV and the connector has no EDID source: an empty EDID blob, no monitor name, no colorimetry or HDR metadata, and no ELD for DisplayPort audio. The generic classes were refused there because using them reset the M4 Air when the external processor released its link. That reset was the display DART being unmapped while DPMS had its domains off, fixed by "drm/apple: dcp: keep the display DART dark while DPMS has its domains off" (linux#2962). With it, the service no longer resets the J713 on link release. Admit DCPDP13Service on endpoint 0x28 with EPICUnit 0, as the converter classes are. AppleDCPDP2HDMI stays refused there, endpoint 0x2a keeps requiring unit == interface-id, and the generation, epoch and owner fences are unchanged. The host regression admits DCPDP13Service on 0x28 over interface-ids 1/5/9/13 and still refuses AppleDCPDP2HDMI there, unit == interface-id on 0x28, unit 0 on 0x2a, other endpoints, compartments and classes. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
The device tree binding defines "external-facing" on a port as: every bridge and endpoint downstream of it is external to the machine. pci_set_bus_of_node() still sets external_facing on such a port, but since commit 3b96b89 ("PCI: Detect and trust built-in Thunderbolt chips") only arch_pci_dev_is_removable() marks the devices below it untrusted or removable, and that is implemented for x86 with ACPI only. On device tree systems, devices tunneled through a USB4 or Thunderbolt port are therefore treated as built in: iommu-dma maps their buffers in place instead of bouncing the unaligned ones, so with 16K IOMMU pages a device can reach the rest of each page around its buffers, and ATS stays allowed. Mark the devices directly below a port that the device tree marks external-facing untrusted and removable again, as before that commit. The ACPI exception for a built-in discrete controller below an ExternalFacingPort does not apply: the binding leaves no room for one. Fixes: 3b96b89 ("PCI: Detect and trust built-in Thunderbolt chips") Signed-off-by: Dj <43033058+DjDeveloperr@users.noreply.github.com>
dcp_send_message() previously passed in_atomic() to apple_rtkit_send_message() on T6030 14.7 and native26 (ext26) firmwares to choose between sleeping and non-sleeping mailbox sends. in_atomic() is unreliable on non-preemptible kernels (!CONFIG_PREEMPT_COUNT), where holding a spinlock does not increment preempt_count and in_atomic() returns false even while a spinlock is held with interrupts disabled. Auditing all four dcp_send_message() call sites (iomfb_start_rtkit(), dcp_push_context(), dcp_ack(), and afk_send()) and every transitive caller shows that every external entry point is already in sleepable context (RTKit RX runs on an ordered workqueue, DCP audio sets pcm->nonatomic = true, HPD uses a threaded IRQ, and DRM commits run in process/workqueue context). However, two internal AFK paths called afk_send() while holding spinlocks: - afk_send_epic_token() held ep->lock across afk_send(), and afk_send_command_common() also held service->lock across afk_send_epic(). - afk_send_compact_fragment() held ep->lock across afk_send(), even though its caller already holds the endpoint TX mutex. On CONFIG_PREEMPT_COUNT=y kernels, that caused in_atomic() to return true on EPIC commands and DisplayPort handshake replies, forcing non-sleeping sends that can fail on a full shared mailbox FIFO. On !CONFIG_PREEMPT_COUNT kernels, it risked sleeping while holding ep->lock and service->lock with IRQs disabled. Fix both layers cleanly: - Generalize ep->compact_tx_lock to ep->tx_lock so TX ring writes and their matching mailbox doorbells stay serialized across afk_send_epic_token(), afk_send_compact(), and afk_v27_sleep_control() without holding ep->lock across afk_send(). Drain external TX senders in afk_quiesce() by taking and releasing ep->tx_lock after stopping is set and workqueues are destroyed. - Release service->lock in afk_send_command_common() once the command slot and completion are published, before calling afk_send_epic(). - Remove in_atomic() from dcp_send_message(), add might_sleep() to enforce its sleepable-context contract under CONFIG_DEBUG_ATOMIC_SLEEP, and unconditionally use sleeping sends on 14.7/ext26 while keeping atomic sends on other firmware paths. - Update the AFK/DCP host selftests to track ep->tx_lock in afk_quiesce() and assert that neither service->lock nor ep->lock is held when afk_send_epic() is called. Closes: aurora-silicon/linux#2847 Signed-off-by: AxxzyWasTaken <axxzytte@gmail.com>
main reworked firmware-27 admission (dcp_v27_admission(), dcp_firmware_27() and terminal UUID pins), added the T6041 S2R host stop next to the probe, and modelled the T6040 tunnel clock in the T6030 clock host test. Three files conflicted, dcp.c in two places: - drivers/gpu/drm/apple/dcp.c, dcp_check_firmware_version(): main's order is kept. Its T8142 firmware-27 check replaces the old early T8142 and T8122 checks. The J773g 27.2 dcpext admission and the M4 backend's off-firmware-path refusal now come right after it, before the match-data pin they have to beat. The pin's comment now names the 27.2 dcpext as the T8132 exception. - drivers/gpu/drm/apple/dcp.c, before dcp_platform_probe_pipe(): both sides added code. main's T6041 S2R block is kept, followed by apple_dcp_hw_t8132_dcpext_v27. - tools/asahi/t6030-clock/fixture.c: main's T6040 PHY stub is kept, with this branch's dcp_is_t8132_ext() comment, wrapped to 100 columns. - tools/testing/selftests/drivers/gpu/apple-dcp/boot.py: main runs every firmware-27 unit through the full selector from _v27_prelude(). That selector now calls apple_t8132_dcpext_v27_2() and apple_t8132_firmware_path(), so the T8132 UUID, the t8132.h admission (still checked to be board-free), the firmware-path stub and dev_info() move into the prelude. The enum comes from version_utils.h, which has DCP_FIRMWARE_M4. The T8132 cases run on main's shared hw and restore it afterwards. One more change was not a textual conflict. main's KUnit test dcp_firmware_27_pin_precedence expected an apple,t8132-dcp on 27.2 to get DCP_FIRMWARE_M4. With this branch it gets that only on the M4 26.6.2 firmware path and DCP_FIRMWARE_UNKNOWN off it, so the test now expects whichever apple_t8132_firmware_path() selects. Signed-off-by: DjDeveloperr <hey@djdev.me>
…r-admit drm/apple: afk: retire a superseded singleton only after its successor is admitted
Resolve against main's rework of the T8132 display paths: - apple-dart: main adopts the internal display DARTs only after the DCP firmware handoff; keep that gate and this branch's t8132_dcp fw_mirror path ahead of it (the 27.2 internal DCP keeps its locked roots). The guarded-probe enable flags main removed stay removed. - dcp: main already selects the generic firmware-27 table; keep only the T8132 internal 27.2 admission ahead of the M4 match-data pin. - selftests/apple-dcp/boot.py: main's harness, with the T8132 internal admission helper and its cases ported to it. Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
Resolve with main (via #2541): keep both display-DART helpers (enabled-streams and the T6041 keep/restore), keep this branch's retention-word helper under main's map_power, and list t8132 with main's t8103/t6041 display-power compatibles (t8132 keeps the t8140 conditional). Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
drm/apple: stop the M4 MacBook Air's internal DCP firmware on macOS 27.2 (DPMS off, deep sleep; replaces #2660)
drm/asahi: g16: accept 48 KiB tile buffers on the M4
…s-after-crash drm/apple: refuse panel brightness once the display processor crashed
…nctions Add the N1 PCIe Wi-Fi (01:00.1, pci106b,1902) and Bluetooth (01:00.2, pci106b,1903) child nodes under port00 and their wifi0 / bluetooth0 aliases in t8152-j873-n1.dtsi, matching t8142-j813.dts. Aura's dt_prepare_t8152() already runs dt_set_mac_addresses() and copies ADT /chosen/mac-address-wifi0 and mac-address-bluetooth0 into these aliases when present. Without them, wlp1s0f0 fell back to a per-boot random MAC and btcentauri logged 'No factory local-bd-address from the loader', skipped native PROXIMA startup, and failed HCI Reset (0x0c03) with -110. Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
arm64: dts: apple: t8103-j313: the SMC's wake reasons
arm64: dts: apple: t6041-j575c: describe dcpext3
arm64: dts: apple: t8122-j615: leave the trackpad power method to the driver
…r-fault-irq arm64: dts: apple: t6030-j514s: route the speaker amp fault IRQ to pin 195
arm64: dts: apple: t8152-j873: describe the N1 warm reset on PCIe port 0
…wifi ci: apple-build: compile the Apple Wi-Fi drivers too
…e-timers soc: apple: clpc: use per-CPU deferrable timers when idle on idle_on_time SoCs
Apple USB4 host routers do not perform USB4 sideband retimer scans on macOS. On T8103 (M1 MacBook Air), tb_retimer_scan() probes non-existent retimer index 2 three times on every attach (adding ~650 ms of 100-242 ms NR=1 RC=1 firmware timeouts per link) and can exceed the 500 ms PND wait on hotplug, causing ACIO firmware crashes (assert_id=1313) when a device such as an ASM2464 USB4 NVMe enclosure is hot-plugged. Add QUIRK_NO_RETIMER_SCAN and enable it in apple_nhi_probe(), replacing the J714s/J716c board check in tb_retimer_scan_skip() with the quirk check. Tested on Apple M1 MacBook Air (J313 / T8103, 27.2.1 firmware) with an ASM2464 USB4 NVMe enclosure (40 Gbps, 2.8 GB/s) on both USB-C ports across cold boot, hot-unplug/hot-replug, and deep sleep (S2R). Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
The loader does not enable the ANE node itself; each board enables it with its memory-region while the loader populates the preload reservations and firmware IOVAs from the ADT. Name each T604x board enablement file in the base t604x.dtsi comment (t6041.dtsi for J575c/J614c/J616c, t604x-j614-j616.dtsi for J614s/J616s, and t6040-j773s.dts for J773s). Signed-off-by: Joshua Warren <816217+joshuaswarren@users.noreply.github.com>
arm64: dts: apple: t8152-j873: describe the N1 Wi-Fi and Bluetooth functions
arm64: dts: apple: t604x: the H16 firmware path is proven on the J616s
iommu/apple-dart: expand display keep table for five T6041 display processors
…defaults-and-dst-dep accel/ane: h16: default channel counts to 16 and admit 0x5104 dependency bits
accel/ane: h16: expose ane_stats and wedged on the H16 and H17 node
…etimer-scan thunderbolt: apple: guard PORT_CS_1_PND and skip retimer sideband scan on Apple NHI
media: apple: avd: h264: support frame-based Annex-B stateless decode
drm/apple: don't offer PQ on firmware 27 panels
…rate drm/apple: keep the refresh rate iBoot left the T6050 panel at
Upstream: https://github.com/aurora-silicon/linux.git main 4a42f31 Previous intake: 00cbc67 New upstream commits: 2232 Signed-off-by: Satya Benson <satya@benson.earth>
Follow aurora-silicon/linux main (integration/aurora no longer exists) at 4a42f31, which brings in #3133 (T8112 DCP on firmware 27.2). Retire, each merged upstream and in this intake: aurora-silicon/linux#2145 as 6f84f56 aurora-silicon/linux#2150 as 15b1e2e aurora-silicon/linux#2152 as 8bd4942 aurora-silicon/linux#2153 as a2801d4 aurora-silicon/linux#2154 as 90d3f11 aurora-silicon/linux#2156 as dff34de aurora-silicon/linux#2199 as d51160c aurora-silicon/linux#2147, closed in favour of #3114 (merged as e8d93e4, in this intake) j613-touchid-data-ready, superseded by aurora-silicon/linux#2678 (merged as 3777510), which describes the same line for the J613 and J615 in t8122-j613-j615.dtsi Re-pin to the current PR heads: #2146, #2148, #2149 and #2151 now merge main on their own branches, so they are carried as merges of those heads (new "merge" field); #2155 adds a review follow-up. Signed-off-by: Satya Benson <satya@benson.earth>
Author
|
J413 (M2 Air, macOS 27.2 firmware) boot row, PASS, with the package this PR builds (
|
This was referenced Nov 30, 2026
Author
|
Closing as superseded — |
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.
What: Move
integration/aurora-7.3from aurora-silicon/linuxintegration/aurora00cbc67 tomainat 4a42f31, the base alarm-aurora ships aslinux-aurora 7.3.0.aurora1-46. It contains aurora-silicon/linux#3133, which admits the M2 (T8112) display coprocessor on macOS 27.2 firmware. Without it, a J413 on 27.2 getsDCP firmware-compat 27.2.0 (FW: 27.2.0) is not supported, no DRM device and no desktop. The carry list is updated to match. aurora-silicon/linux has nointegration/aurorabranch any more, so[upstream] refis nowmain.Tested: Built only. At carry head
b1201d6b1c24(this branch minuscarry.toml, plus the entries), the omarchy-pkgslinux-aurorarecipe built7.3.0.aurora3-1(kernel release7.3.0-3-1-ARCH) on AArch64:Image, modules and DTBs built with ALARM LLVM 20 and Rust 1.85,check()passed (35 tests), config resolved andvalidate-config.pypassed. The package containst8112-j413.dtband anappledrm.kowith the 27.x DCP admission. It has not been booted on any Mac.Risk: Two-way door · all Omarchy Edge Macs. This PR only adds the upstream sync merge and edits
carry.toml.Not yet: Boot and desktop qualification on firmware 27.2 (J413 first, then the M1 and M3 Macs the re-pinned carries cover).
Carry changes
Retired: each is merged upstream and in this intake, or superseded.
j613-touchid-data-readyKept unchanged:
omacom/linux-aurora#370(brcmfmac ring completions),xart-pin-7.3, aurora-silicon/linux#3605, #3606, #3607 (same two commits) and #3608. All apply cleanly on the new base.Re-pinned to the current PR heads:
g15/hw.rs). The head merges main and adds the any-T6030 cd05/4118 pin. Carried as a merge of the head.drivers/soc/apple/display-gate.c: main adds the T8132 gate, the PR adds the T6034 and J516M gates; both are kept.The new optional
merge = truefield (documented in the file header) records the four entries that are carried as a merge of the PR head rather than picked commit by commit. Each of those branches already merges main, so this reuses the authors' own resolutions.Commits picked onto the carry branch keep their authorship. AI-attribution trailers in the original messages were dropped, as the org rules require.
Branch and tag for the maintainers
The generated carry tree is at satchlj/aurora-linux
carry/aurora-7.3.0-3=b1201d6b1c24361adb4a162e6825173b4c1387f5, with annotated tagaurora-7.3.0-3on it. I cannot push to omacom/linux-aurora. Please publish the branch and tag there unchanged, or regenerate them; omacom/omarchy-pkgs#4155 pins this SHA.carry/aurora-7.3and theaurora-7.3.0-2tag are left untouched.The new pins have no
carry-input/tags yet.