#asahi-dev · 2026-04-18 10:29
yukawhat will not work?#asahi-dev · 2026-04-18 10:29
chaos_princessiirc, it will not work on m4, don't try#asahi-dev · 2026-04-18 10:28
yukaso I can get a non-broken watchdog or multicore but not both#asahi-dev · 2026-04-18 10:28
yuka> Starting CPU 0 (0:0:0)... Failed!#asahi-dev · 2026-04-18 10:28
yukasadly secondary startup does not work on 15.1#asahi-dev · 2026-04-18 09:33
jannauresets started with macos 26.0#asahi-dev · 2026-04-18 08:53
jannauyes, I just booted my existing macos 15.1 install for hv which still had m1n1 installed#asahi-dev · 2026-04-18 08:34
yukaAh you were faster#asahi-dev · 2026-04-18 08:32
jannaustill no reboot#asahi-dev · 2026-04-18 08:30
jannauit doesn't appear to do so. at least not after 120s#asahi-dev · 2026-04-18 08:23
yukaI will test#asahi-dev · 2026-04-18 08:21
jannaumy memory is hazy I think it didn't do that but it could have been m4 pro#asahi-dev · 2026-04-18 08:17
yukabut it's been a year at this point since I tried 15.1#asahi-dev · 2026-04-18 08:16
yukaI think yes#asahi-dev · 2026-04-18 08:14
jannaudid the resets on m4 already happen with macos 15.1?#asahi-dev · 2026-04-18 08:12
jannauyes, same resets after 120s on a18 pro#asahi-dev · 2026-04-18 08:12
jannau"Unable to handle kernel write to read-only memory at virtual address ..." when replacing wfi with nop smells like it could be kernel bug#asahi-dev · 2026-04-18 08:10
yukaof rebooting after 120s regardless of the known watchdog being disabled#asahi-dev · 2026-04-18 08:10
yukacan you remind me again, do you have the same problem on the macbook neo?#asahi-dev · 2026-04-18 08:09
jannauwe just have to find which watchdog it is. I don't see how it would be /arm-io/wdt#asahi-dev · 2026-04-18 08:06
noopwafelthat is at least good :)#asahi-dev · 2026-04-18 08:05
yukabut once it's booted into userspace it always lasts for the 2 minutes until it gets killed by the watchdog#asahi-dev · 2026-04-18 08:05
yukaSo like what seems to be least likely to run into this crash is adding save & restore around the wfi and replacing wfit with nop in barrier.h. But again very possible that that's just a timing thing and not actually causality.#asahi-dev · 2026-04-18 08:00
yukaAh no it's just flaky, now got the same crash with pd_ignore_unused#asahi-dev · 2026-04-18 07:59
yukaI'll take it#asahi-dev · 2026-04-18 07:59
yukabut the pd_ignore_unused seems to help anyways#asahi-dev · 2026-04-18 07:59
jannauah, I missed that#asahi-dev · 2026-04-18 07:58
yukaand thought that was the start of the crash#asahi-dev · 2026-04-18 07:58
yukaI was looking at "Unable to handle kernel write to read-only memory at virtual address ffff800003a0c000" way before#asahi-dev · 2026-04-18 07:58
jannaurandom thing to try due to "PM: genpd: Disabling unused power domains" being the last thing printed before the crash#asahi-dev · 2026-04-18 07:57
yukaOhh#asahi-dev · 2026-04-18 07:57
jannaupd_ignore_unused in the kernel command line#asahi-dev · 2026-04-18 07:57
yukapd?#asahi-dev · 2026-04-18 07:56
jannauyuka: please try with pd#asahi-dev · 2026-04-18 07:51
yukaLike with many combos which theoretically should work I get crashes like this: https://termbin.com/e0uq#asahi-dev · 2026-04-18 07:44
yukabut I'm not sure if that's a race condition#asahi-dev · 2026-04-18 07:44
yukanop also does not work btw#asahi-dev · 2026-04-18 07:42
yukawfi->wfe gets stuck#asahi-dev · 2026-04-18 07:41
yukanickchan does not work#asahi-dev · 2026-04-18 07:33
LarstiQyuka: does working mean, no more register zeroing?#asahi-dev · 2026-04-18 02:32
nickchanreplace wfi with wfe; wfit with wfet#asahi-dev · 2026-04-17 20:38
yukaOk got it working#asahi-dev · 2026-04-17 19:30
yuka(source: https://lists.infradead.org/pipermail/linux-arm-kernel/2022-April/735274.html)#asahi-dev · 2026-04-17 19:30
yukaso this msr _is_ the wfit instruction apparently#asahi-dev · 2026-04-17 19:29
yuka> Note that the encoding is that reported by objdump, as no currrent toolchain knows about these instructions yet.#asahi-dev · 2026-04-17 19:27
yukathough I do not see how wfit instructions are generated by these defines#asahi-dev · 2026-04-17 19:26
yukawfit is still a thing#asahi-dev · 2026-04-17 19:26
yukaOh!#asahi-dev · 2026-04-17 19:22
yukabut I can not figure out which wfi causes this#asahi-dev · 2026-04-17 19:22
yukato me it looks again like losing register state, because most registers are zeroed