#asahi-dev · 2026-01-11 16:02
ShizI wonder a bit how the commit ever worked#asahi-dev · 2026-01-11 16:02
Shizyeah haha#asahi-dev · 2026-01-11 16:02
svenpeter[m]lol, did we really get stuck in a brk -> EL2 does whatever but doesn't adjust ELR -> back to brk -> EL2 does whatever again loop? 😄#asahi-dev · 2026-01-11 15:58
svenpeter[m]maybe we should update clang-format inside the CI then#asahi-dev · 2026-01-11 15:57
Shizanyway, I cherry-picked the ones that matched the CI log#asahi-dev · 2026-01-11 15:57
ShizCI is 18#asahi-dev · 2026-01-11 15:57
Shizah yeah local clang-format is 21#asahi-dev · 2026-01-11 15:56
chaos_princessaren't smp and exception because we are using ancient clang-format in ci?#asahi-dev · 2026-01-11 15:56
nickchanthose are the two files that i keep having formatting issues in#asahi-dev · 2026-01-11 15:55
Shizto be fair, we did change src/exception.c#asahi-dev · 2026-01-11 15:55
Shiznickchan: yes#asahi-dev · 2026-01-11 15:55
svenpeter[m]nickchan: the PR improves "el1_call crashes m1n1" to "el1_call works again", that's good enough for me. feel free to remove el1_call from el1 support if you care#asahi-dev · 2026-01-11 15:55
nickchanlet me guess it's src/smp.c and src/exception.c#asahi-dev · 2026-01-11 15:55
svenpeter[m]ugh#asahi-dev · 2026-01-11 15:54
Shizmake format is giving me some changes unrelated to the code we changed :D#asahi-dev · 2026-01-11 15:54
nickchanhave not ran into any complicated scripts that really wants el1_call to be working#asahi-dev · 2026-01-11 15:53
svenpeter[m]if you run make format and just squash whatever it fixes i'll merge it#asahi-dev · 2026-01-11 15:53
nickchanI run m1n1 in EL1 most of the time but then I just use p.call#asahi-dev · 2026-01-11 15:53
svenpeter[m]😄#asahi-dev · 2026-01-11 15:53
noopwafel(the readability fixes are because Shiz is sitting next to me and wanted to understand what the heck the code was doing)#asahi-dev · 2026-01-11 15:52
chaos_princessself-encrypting drive#asahi-dev · 2026-01-11 15:52
noopwafelI decided not to touch more than the minimum required to make this work, for now#asahi-dev · 2026-01-11 15:50
nickchannow what's SED#asahi-dev · 2026-01-11 15:50
nickchanis el1_call in EL1 something that needs to be supported#asahi-dev · 2026-01-11 15:50
chaos_princessi also don't think that the SED ecosystem is very well supported on linux, as nobody uses those for pretty good reasons#asahi-dev · 2026-01-11 15:50
svenpeter[m]noopwafel / Shiz: nice! even some drive-by readability fixes#asahi-dev · 2026-01-11 15:49
svenpeter[m]not looking forward to finding a sane way to do that and then get it upstream 😄#asahi-dev · 2026-01-11 15:49
nickchansep isn't a requirement for hibernation... it just wouldn't be... secure#asahi-dev · 2026-01-11 15:49
svenpeter[m]that's gonna be extra spicy anyway because iirc you have to stuff something that comes from SEP into that weird nvme iommu#asahi-dev · 2026-01-11 15:48
Shiz\o/#asahi-dev · 2026-01-11 15:48
noopwafelsven: https://github.com/AsahiLinux/m1n1/pull/528 for the el1_call#asahi-dev · 2026-01-11 15:48
chaos_princesssep is probably not that bad depending on what we do with it. the only thing that looks hard is transparent disk encryption if we ever do that#asahi-dev · 2026-01-11 15:47
svenpeter[m]we still need to figure out some PSCI conduit for proper cpu sleep#asahi-dev · 2026-01-11 15:47
svenpeter[m]oh yeah, there's a bunch of other issues. i was just talking about co-processors there#asahi-dev · 2026-01-11 15:47
jannauCPU hotplug in its self is an issue#asahi-dev · 2026-01-11 15:45
svenpeter[m]so maybe it's just gpu that is going to be fun then. and SEP i guess if we ever support that#asahi-dev · 2026-01-11 15:43
jannauI think dcp shouldn't be an issue there isn't persistent state and it's in DPMS anyway. GPU is a larger problem as we don't have eviction/memory shrinker. not sure how much fw state there is which needs to be restored in the exact same way as long as jobs are either completed or canceled#asahi-dev · 2026-01-11 15:37
svenpeter[m]And we also don’t even support the basics like taking CPUs completely offline#asahi-dev · 2026-01-11 15:35
svenpeter[m]yeah, hibernation is gonna be complicated as well due to state of co-processors like gpu or DCP#asahi-dev · 2026-01-11 15:30
nickchanand apple has to make secureboot and stuff still work with hibernation and apple made it work with SEP#asahi-dev · 2026-01-11 15:29
chaos_princessarm macs are in some sense oversized iphones and those don't hibernate#asahi-dev · 2026-01-11 15:29
nickchanLarstiQ: iOS doesn't support hibernation#asahi-dev · 2026-01-11 15:29
LarstiQmore so than elsewhere?#asahi-dev · 2026-01-11 15:29
nickchanin the meantime the workaround should be well#asahi-dev · 2026-01-11 15:28
nickchanapple spent sigificant enginnering effort to explicitly make hibernation possible on apple silicon macos but's it's complicated#asahi-dev · 2026-01-11 14:53
svenworks here as well#asahi-dev · 2026-01-11 14:42
jannaupushed to asahi-wip. "disk" vanishes from /sys/power/state and returns EPERM when written to anyway#asahi-dev · 2026-01-11 14:32
svenyay! also el1_call fix PR would be nice ;)#asahi-dev · 2026-01-11 14:28
Shizmore m3 stuff today i guess#asahi-dev · 2026-01-11 14:19
svenhttps://f.svpe.de/a330911e3c402e201618adc0b080ed4a44b0b13e981198cf4d63f6726443e3cc_0001-power-hibernate-Disable-hibernation-on-Apple-Silicon.patch only compile tested