#asahi · 2021-06-09 15:37
marcan*useful#asahi · 2021-06-09 15:37
marcanusb3 host at least though is usefu;#asahi · 2021-06-09 15:37
marcangraphics first tbh#asahi · 2021-06-09 15:36
marcananyway, that's not a huge prio#asahi · 2021-06-09 15:36
marcanyeah#asahi · 2021-06-09 15:36
marcanI can't escape USB#asahi · 2021-06-09 15:36
marcanI'm going to be more frustrated at having to read parts of the USB4 spec#asahi · 2021-06-09 15:35
marcanso chances are all the horrible stuff will be done there#asahi · 2021-06-09 15:35
marcanthere's an IOP for TB, isn't there?#asahi · 2021-06-09 15:35
marcanworst case just blob of mmiotrace stuff#asahi · 2021-06-09 15:35
marcanmeh, we'll figure it out#asahi · 2021-06-09 15:31
marcanthere we called the regs "PPCMSG" and "ARMMSG" though, after the originator#asahi · 2021-06-09 15:31
marcanthis IPC interface is giving me serious wii vibes#asahi · 2021-06-09 15:30
marcan(we called it the Starlet though)#asahi · 2021-06-09 15:30
marcanalso IOP also happens to be Nintendo terminology for the CPU mini used to run on so... :-)#asahi · 2021-06-09 15:29
marcan_jannau_: thanks, merged :)#asahi · 2021-06-09 15:29
marcanA2I/I2A do make sense though (AP to IOP and vice versa); this makes sense from the POV of having the register names be reasonable when seen from both sides#asahi · 2021-06-09 15:28
marcan"came up with" like they "came up" with the USB PHY stuff? :P#asahi · 2021-06-08 13:06
marcan(especially since I fully expect resets to be necessary to get us out of trouble during development)#asahi · 2021-06-08 13:06
marcan(unless we make m1n1 do it all, but... that kind of smells like relying on the bootloader a bit too much)#asahi · 2021-06-08 13:05
marcanwe need that code in linux anyway, since it needs to do all the other ones#asahi · 2021-06-08 13:05
marcanyeah, spin up the core etc#asahi · 2021-06-08 13:04
marcanI remember now :p#asahi · 2021-06-08 13:04
marcanah, then i was waiting for power/clocks at least#asahi · 2021-06-08 13:04
marcanoh, it isn't? I thought it was#asahi · 2021-06-08 13:03
marcanI'll probably hack up some basic m1n1-based gpu driver scripts first before jumping into linux#asahi · 2021-06-08 13:03
marcanit's on my list, but if someone wants to tackle it while I work on the mmiotrace side by all means#asahi · 2021-06-08 13:02
marcanand display, both#asahi · 2021-06-08 13:02
marcanand yeah, a big next one is going to be IOP mailbox, especially since that's a dep for graphics too#asahi · 2021-06-08 13:00
marcan(and then got caught up in a hypervisor)#asahi · 2021-06-08 13:00
marcanarnd: I was waiting for sven to get the dart stuff going for nvme :)#asahi · 2021-06-07 15:11
marcanoff to sleep#asahi · 2021-06-07 15:11
marcanarnd: certainly, if we can make it use bounce buffers easily for sub-page maps, it makes sense to start off with that#asahi · 2021-06-07 15:06
marcanbut this is very much worth doing#asahi · 2021-06-07 15:06
marcandoesn't need to happen for the initial submission of course#asahi · 2021-06-07 15:06
marcanso yes, let's look into subpage protection#asahi · 2021-06-07 15:05
marcanthis is how the ps4 got owned ;)#asahi · 2021-06-07 15:05
marcanarnd: by the way, "small buffers that live in the same page as other (possibly sensitive) data" isn't a "small" security hole#asahi · 2021-06-07 14:48
marcanand then we can be more specific about just breaking wifi by default if we want to in the future#asahi · 2021-06-07 14:48
marcanand say you need that for usb/eth on 4k kernels#asahi · 2021-06-07 14:47
marcanwe can just have a dart.enable_bypass=1 or whatever for now#asahi · 2021-06-07 14:46
marcanas long as it's gated behind a nondefault argument I'm fine with that#asahi · 2021-06-07 14:44
marcanif distros want to flip the flag instead of ship 16k, that has to be an explicit decision#asahi · 2021-06-07 14:44
marcanpeople should be *aware* that running in this mode is crap for security for several reasons, but especially that one#asahi · 2021-06-07 14:44
marcanI just want the wifi thing to be opt-in#asahi · 2021-06-07 14:43
marcanallocating DMA memory with higher than page size alignment#asahi · 2021-06-07 14:43
marcansounds like it's more of a kernel issue#asahi · 2021-06-07 14:43
marcan*expose_me_to_broadcom_firmware_vulnerabilities=1#asahi · 2021-06-07 14:43
marcaninsmod dart.ko expose_me_to_broadcom_firmware_bugs=1 (or whatever module we put the gate in)#asahi · 2021-06-07 14:42
marcansven: I'd also kill wifi for "encouragement" ;)