#asahi-dev · 2021-12-19 14:24
marcan(since those strings aren't in the firmware)#asahi-dev · 2021-12-19 14:24
marcanbut I get the feeling the ROM function that panicked is the one handling the AXI error#asahi-dev · 2021-12-19 14:23
marcanmaybe I should do that...#asahi-dev · 2021-12-19 14:22
marcan(and I haven't dumped the ROM)#asahi-dev · 2021-12-19 14:22
marcanit seems to crash in a few ways, and I ended up throwing a crashed memory image into ghidra to try to trace what happened, and I ended up with "ROM function called panic()" :/#asahi-dev · 2021-12-19 14:21
marcanso about this wifi thing... I'm getting really annoyed :/#asahi-dev · 2021-12-19 14:21
marcanj`ey: ha#asahi-dev · 2021-12-19 00:25
marcannot even that, 96K or so?#asahi-dev · 2021-12-19 00:25
marcanit's like 128K of actual code#asahi-dev · 2021-12-19 00:25
marcansven: most of the SIO firmware is zeroes#asahi-dev · 2021-12-18 05:24
marcananother option would be a debug break; I think we trap brks unconditionally right now (and lower them automatically since a patch I sent some time ago), at least from EL1 but presumably EL0 too#asahi-dev · 2021-12-18 05:23
marcanI'd actually been meaning to implement this for this use case, especially for the GPU stuff, just haven't gotten there yet#asahi-dev · 2021-12-18 05:23
marcanor indeed as many registers as you want, treating it as a weirdo hypercal#asahi-dev · 2021-12-18 05:23
marcanthough since this is trapped, you can use the full 64 bits of data#asahi-dev · 2021-12-18 05:22
marcanand then read/write that register to trigger events; you get a whole two bits for writes (though macOS writes zeroes to it all the time, so you need to filter that out either by value or EL1)#asahi-dev · 2021-12-18 05:22
marcanhv_exc.c has a handler for it, you could have that emit an event#asahi-dev · 2021-12-18 05:21
marcanJamie[m]1: you could use the m1racles register :D#asahi-dev · 2021-12-18 02:23
marcanI've also seen it half-work; you get the first message from RTKit, then it hangs#asahi-dev · 2021-12-18 02:23
marcanbut if it progresses beyond that it stops working#asahi-dev · 2021-12-18 02:23
marcantpw_rules: the reset seems to work if you have it crash init by not setting up SART properly. IIRC#asahi-dev · 2021-12-18 01:19
marcanthe reset thing#asahi-dev · 2021-12-18 01:18
marcanwe don't know why it doesn't work if you do a full init#asahi-dev · 2021-12-18 01:18
marcanit's weird#asahi-dev · 2021-12-18 01:18
marcantpw_rules: it works if you haven't fully initialized rtkit yet#asahi-dev · 2021-12-18 01:14
marcansven: that would be a cute hack, if we can just have the kmutil m1n1 chainload something from AuxKC :D#asahi-dev · 2021-12-17 17:46
marcanI think we've been kind of labeling everything out of inertia, but yeah, I don't see us doing anything with that one#asahi-dev · 2021-12-17 17:39
marcan(ans2 is the version AIUI, so that one makes sense)#asahi-dev · 2021-12-17 17:39
marcan(and those labels are weird, should probably just be ans_mbox for the first)#asahi-dev · 2021-12-17 17:36
marcanans#asahi-dev · 2021-12-17 13:47
marcanso definitely not safe#asahi-dev · 2021-12-17 13:46
marcankettenis: if it decides to log without getting its locks acked it well might deadlock#asahi-dev · 2021-12-17 13:42
marcanleaving them running isn't really valid anyway without some kind of handoff mechanism for the SART buffers#asahi-dev · 2021-12-16 16:11
marcanvideo decoder#asahi-dev · 2021-12-16 16:10
marcanthere will be no shared code for it or mailbox driver or anything; it'll talk directly to the hardware#asahi-dev · 2021-12-16 16:09
marcanit is unrelated to anything else#asahi-dev · 2021-12-16 16:09
marcanAVD is just a random hardware block that happens to include a random cortex-m3 that doesn't run RTKit#asahi-dev · 2021-12-16 16:09
marcanJamie[m]1: AVD does not use the m3 mailbox#asahi-dev · 2021-12-16 04:50
marcanjannau: awesome, I'll test it in a bit!#asahi-dev · 2021-12-16 04:19
marcan(the quirks they need that is)#asahi-dev · 2021-12-16 04:19
marcanchadmed: NVMe support for intel macs has been in mainline for years now#asahi-dev · 2021-12-15 23:16
marcanwe all owe it to him for keeping these platforms sanely described :)#asahi-dev · 2021-12-15 16:23
marcan(mostly my fault for not following anything outside the kernel properly...)#asahi-dev · 2021-12-15 16:23
marcanthat would be cool, I feel like you don't get enough credit :)#asahi-dev · 2021-12-15 16:19
marcanalright, I think that's all the urgent-ish kernel stuff taken care of... I should follow up on spi and aic2 tomorrow and then maybe I'll have time for wifi :)#asahi-dev · 2021-12-15 15:12
marcan(it automatically goes off on every branch in our asahi/linux.git repo)#asahi-dev · 2021-12-15 15:11
marcansome of that may be useful, some of it may not; always good to look at#asahi-dev · 2021-12-15 15:11
marcanjannau: ah, I see you got some kernel test robot goodies :)#asahi-dev · 2021-12-15 14:52
marcankettenis: https://news.ycombinator.com/item?id=29566308 looks like I need to start outsourcing a section of the report to you :-)#asahi-dev · 2021-12-15 14:49
marcanarnd: PMGR pull sent, hope this one is OK! :)#asahi-dev · 2021-12-15 14:43
marcanlooks like I *might* be able to make it work this way, as long as I remember to rewrap the cover text and then click the disable linewrap button