#asahi-dev · 2026-01-11 18:55
nickchanwouldn't be the first cache related erratum workaround in m1n1#asahi-dev · 2026-01-11 18:52
nickchanwatch the bug to be some sort of erratum#asahi-dev · 2026-01-11 18:47
svenpeter[m]right now i take look at it whenever i remember it exists for maybe 30 minutes#asahi-dev · 2026-01-11 18:47
svenpeter[m]that bug isn't that bad tbh. if it was actually happening regularly and impacting everything we'd probably figure out what's going on in a week or two of actually debugging that thing every day#asahi-dev · 2026-01-11 18:47
svenpeter[m]😄#asahi-dev · 2026-01-11 18:45
nickchanas for fw vresearch1 would run in GL1#asahi-dev · 2026-01-11 18:43
nickchanand then praying that the bug can be reproduced in the drastically different environment#asahi-dev · 2026-01-11 18:39
nickchanthe massive problem is ofc it would need a lot of upfront porting#asahi-dev · 2026-01-11 18:39
nickchanso in theory the hypervisor can be debugged from there#asahi-dev · 2026-01-11 18:38
nickchanneed to run with internal isa level and have allow-research-guest csr turned on though#asahi-dev · 2026-01-11 18:37
nickchanthis probably doesn't help but i think hypervisor framework is capable of exposing vGL2 on M3+#asahi-dev · 2026-01-11 18:33
svenpeter[m]yeah, i'd rather not touch them 🙂#asahi-dev · 2026-01-11 18:33
svenpeter[m]oh, you meant devices with jtag enabled.#asahi-dev · 2026-01-11 18:33
nickchanafter all they are the only plausible source of all the firmware keys#asahi-dev · 2026-01-11 18:32
svenpeter[m]we know where SWD is, we can even mux it to some pins on the type-c port. it's unfortunately fused off though and doesn't do much#asahi-dev · 2026-01-11 18:31
nickchani mean jtag surely aren't hard to find but there's reasons to not touch them#asahi-dev · 2026-01-11 18:24
Shizalyssa is like a curse magnet#asahi-dev · 2026-01-11 18:22
svenpeter[m]i'm just showing you more cursed things!#asahi-dev · 2026-01-11 18:22
svenpeter[m]you told me you like cursed things! 😛#asahi-dev · 2026-01-11 18:22
noopwafel(are you trying to nerdsnipe us with other cursed bugs)#asahi-dev · 2026-01-11 18:19
svenpeter[m]https://github.com/AsahiLinux/m1n1/issues/463 is actually the first bug in 4 years where i wish i had jtag#asahi-dev · 2026-01-11 18:08
noopwafelif only we had a hypervisor to trap writes#asahi-dev · 2026-01-11 18:01
svenpeter[m]pity that can't explain the weird m3 corruption with the hv though ☹️#asahi-dev · 2026-01-11 17:49
nickchanoops I broke the exception handling code#asahi-dev · 2026-01-11 17:38
svenpeter[m]*taken from GL1#asahi-dev · 2026-01-11 17:37
kettenisnickchan: we do want to make sure that "asahi,m1n1-stage1-version" has the version number of the stage1 that was actually used and not the version number of the stage2 m1n1 ;)#asahi-dev · 2026-01-11 17:37
svenpeter[m]yuuup. it'll update both GL1_ELR and EL1_ELR when the exception is taken from EL1#asahi-dev · 2026-01-11 17:37
Shizyee#asahi-dev · 2026-01-11 17:37
Shizoh, it's about the last conditional#asahi-dev · 2026-01-11 17:36
Shizsvenpeter[m]: can that ever occur? GL3 doesn't exist#asahi-dev · 2026-01-11 17:36
noopwafel\o/#asahi-dev · 2026-01-11 17:30
svenpeter[m]https://github.com/AsahiLinux/m1n1/pull/529 🙃#asahi-dev · 2026-01-11 17:23
svenpeter[m]https://github.com/AsahiLinux/m1n1/blob/fa822be70783bd721589a47c4355e76d6ed9c356/src/exception.c#L357 that's broken as well, isn't it? we always overwrite GL's ELR and the normal ELR there#asahi-dev · 2026-01-11 16:38
nickchanDon't think there's ever a reason to build with chainload off now#asahi-dev · 2026-01-11 16:38
nickchanit also adds /chosen/asahi,m1n1-stage1-version into FDT#asahi-dev · 2026-01-11 16:37
nickchanwell, it enables chainload support and some workarounds to fix chainload related bugs in apple/previous m1n1#asahi-dev · 2026-01-11 16:36
svenpeter[m]that has a few more side effects, doesn't it?#asahi-dev · 2026-01-11 16:33
nickchansince rust is required either way i think CHAINLOADING build option doesn't need to exist anymore#asahi-dev · 2026-01-11 16:31
nickchanokay it works fine#asahi-dev · 2026-01-11 16:27
nickchanso i should just hack my tests into m1n1_main#asahi-dev · 2026-01-11 16:26
nickchanand load_inline_c don't work on macos i think#asahi-dev · 2026-01-11 16:19
nickchanokay i need to call a symbol in EL3#asahi-dev · 2026-01-11 16:12
nickchantime to do it most broken cpu which is cyclone#asahi-dev · 2026-01-11 16:11
nickchani saw they are touched#asahi-dev · 2026-01-11 16:11
nickchanim going to test el3#asahi-dev · 2026-01-11 16:05
svenpeter[m]they look good to me, will wait a bit in case anyone else wants to triple-check before merging#asahi-dev · 2026-01-11 16:03
noopwafel(and with that in mind, if anyone wants to sanity-check the commits then please do)#asahi-dev · 2026-01-11 16:03
noopwafelthis is one of the reasons the PR took a while, I was kind of second-guessing myself a lot because .. what#asahi-dev · 2026-01-11 16:02
noopwafelI mean, I guess it didn't#asahi-dev · 2026-01-11 16:02
ShizI wonder a bit how the commit ever worked