#
#asahi-dev · 2026-06-01 21:41
msimonelli of doing something wrong?
#asahi-dev · 2026-06-01 21:41
msimonellinot sure if it's the right channel but i'm trying to boot m1n1 on an M4 (i am well aware that this is not officially supported, but i want to poke at some stuff with the proxyclient and help with the porting effort), however after setting m1n1 as the boot target with kmutil from 1TR as outlined in docs, iboot panics on every boot, so i assume we're dying well before even reaching m1n1 - is this a known issue or a known symptom
#asahi-dev · 2026-06-01 21:00
paulwalkerthanks
#asahi-dev · 2026-06-01 21:00
chaos_princessbputil -np
#asahi-dev · 2026-06-01 21:00
paulwalkerhow do I undo kmutil configure-boot?
#asahi-dev · 2026-06-01 19:53
jannauhttps://asahilinux.org/docs/sw/m1n1-hypervisor/ has instructions
#asahi-dev · 2026-06-01 19:52
chaos_princessjust install a second copy of macos
#asahi-dev · 2026-06-01 19:52
paulwalkerI'm interested in helping port Asahi Linux to the m5 SOC. I have compiled m1n1, but can't find documentation on setting up the stub recoveryOS manually, can someone point me in the right direction?
#asahi-dev · 2026-06-01 10:59
yukaI published it with the changes from the weekend which make base auto-detection and chainload mostly work
#asahi-dev · 2026-06-01 10:58
yukaIf some asahi team member also wants ownership of the kisd crate on crates.io, lmk
#asahi-dev · 2026-05-31 21:26
svenjannau: i'll pick it up from v2 and rebase tomorrow
#asahi-dev · 2026-05-31 20:04
tryhard[m]alright used of_ for now and now probing works great stuff
#asahi-dev · 2026-05-31 20:00
chaos_princessyes, that is what devm is for
#asahi-dev · 2026-05-31 19:59
tryhard[m]is devm_of_platform_populate also correct? i can use both but devm basically depopulates also
#asahi-dev · 2026-05-31 19:42
tryhard[m]oh actually maybe there is
#asahi-dev · 2026-05-31 19:41
tryhard[m]there are no bindings for that func am i correct? seems like rust for linux barely did any bindings
#asahi-dev · 2026-05-31 19:30
chaos_princessit goes in the pmp driver, not the report driver
#asahi-dev · 2026-05-31 19:25
tryhard[m]chaos_princess: where should i actually call it? the probe function never executes
#asahi-dev · 2026-05-31 19:24
tryhard[m]otherwise... >)
#asahi-dev · 2026-05-31 19:24
tryhard[m]i hope there are bindings for it
#asahi-dev · 2026-05-31 19:22
pjvhttps://github.com/AsahiLinux/linux/issues/507 -> https://github.com/AsahiLinux/linux/pull/508
#asahi-dev · 2026-05-31 19:21
chaos_princessthe thing that actually probes your subdevices. buses only probe direct children, they do not recurse
#asahi-dev · 2026-05-31 19:19
tryhard[m]what the freaky is that
#asahi-dev · 2026-05-31 19:16
chaos_princessyep
#asahi-dev · 2026-05-31 19:16
chaos_princessso, i am going to blind-guess even before reading - you need this https://github.com/AsahiLinux/linux/blob/asahi-wip/drivers/pmdomain/apple/pmp-report.c#L49
#asahi-dev · 2026-05-31 19:15
tryhard[m]https://github.com/dd-dreams/linux/commit/b79ca3fdfea82bef8f6df8a322ee906ea0300331#diff-16054adb2928fc56a1fe64ed8f12c303423a97c43db424c64cdc35efae995863
#asahi-dev · 2026-05-31 19:14
chaos_princesssend it
#asahi-dev · 2026-05-31 19:13
tryhard[m]doesnt probe
#asahi-dev · 2026-05-31 19:13
tryhard[m]chaos_princess: can you review my pmp report entries? for some reason the driver for them doesnt trigger
#asahi-dev · 2026-05-31 18:57
pjvThis is on a Macbook Pro M1
#asahi-dev · 2026-05-31 18:56
pjvuhuh
#asahi-dev · 2026-05-31 18:55
chaos_princessi am not saying the fix does not work, but the explanation is completely bogus
#asahi-dev · 2026-05-31 18:55
chaos_princessstop. fuck off with your llm. i am telling you that what it told you is wrong
#asahi-dev · 2026-05-31 18:54
j`eylol
#asahi-dev · 2026-05-31 18:54
pjvVerified on Fedora Asahi Remix with the custom kernel `6.19.14-suspendfix+`. Multiple consecutive manual suspends and resumes successfully retained WiFi and Bluetooth connectivity without timeouts.
#asahi-dev · 2026-05-31 18:54
pjv### Testing
#asahi-dev · 2026-05-31 18:54
pjv3. **Coordinated Quiesce:** Modified `bcm4377_suspend` to locate the sibling WiFi PCI function (function 0) and wait until it transitions to `PCI_D3hot` or `PCI_D3cold` before writing `BCM4377_BAR0_SLEEP_CONTROL_QUIESCE`.
#asahi-dev · 2026-05-31 18:54
pjv2. **Bluetooth Driver:** Added retry loops on `bootstage` and `rti_status` checks in `bcm4377_boot` to allow slower wakeups.
#asahi-dev · 2026-05-31 18:54
pjv1. **WiFi Driver:** Increased `BRCMF_PCIE_MBDATA_TIMEOUT` to 5 seconds and added return code validation to `brcmf_pcie_pm_enter_D3`.
#asahi-dev · 2026-05-31 18:54
pjv### Proposed/Verified Fixes
#asahi-dev · 2026-05-31 18:54
pjv3. **Error Propagation:** The WiFi driver ignores return values from mailbox data writes during suspend.
#asahi-dev · 2026-05-31 18:54
pjv2. **Cross-Function Race:** Sibling WiFi (01:00.0) and Bluetooth (01:00.1) drivers independently access the shared sleep control register (`BAR0_SLEEP_CONTROL`). If Bluetooth quiesces the chip while WiFi is waiting for a response, the firmware hangs.
#asahi-dev · 2026-05-31 18:54
pjv1. **Handshake Timeout:** The 2-second timeout (`BRCMF_PCIE_MBDATA_TIMEOUT`) is insufficient during connection teardown.
#asahi-dev · 2026-05-31 18:54
pjv### Root Causes
#asahi-dev · 2026-05-31 18:54
pjvThe Broadcom BCM4387 PCIe device consistently fails to enter the D3 power state during system suspend. This results in the hardware entering an unrecoverable state or timing out upon resume unless modules are unloaded before sleep.
#asahi-dev · 2026-05-31 18:54
pjv### Description
#asahi-dev · 2026-05-31 18:53
chaos_princess*sure
#asahi-dev · 2026-05-31 18:53
chaos_princessthis is completely incorrect and not what is happening, but sire
#asahi-dev · 2026-05-31 18:52
pjvit's more than just increasing a timeout
#asahi-dev · 2026-05-31 18:52
pjvWithout deep understanding: both bluetooth and wifi are using a same bus, and when sending the bluetooth driver to D3 sleep mode, this message never gets sent to the device because wifi keeps the bus full

plus ›