#asahi-re · 2021-08-23 22:18
svenand if you trace the DART mappings as well you should be able to see what data it exhanges#asahi-re · 2021-08-23 22:17
svenit's rtkit, so you could try to use the asctracer (i think it's called like that) and see what messages are exchanged#asahi-re · 2021-08-23 22:15
jeffmiwtouchpad ? yeah re. eng. is needed then. I will continue dig into it.#asahi-re · 2021-08-23 22:08
svenbut anyway, if they use DMA for SPI for some reason and if that co-processor is involved you will have to reverse engineer its protocol#asahi-re · 2021-08-23 22:06
svenmaybe for the nor flash, but even that one is quite small and probably not read/written often#asahi-re · 2021-08-23 22:06
svendma doesn't make much sense for a keyboard though#asahi-re · 2021-08-23 22:06
jeffmiwsven: thx. what it seems to me is that the kbd/spi patches from amw including Corellium patches are not using the same mode of spi that macos is using, but I can be mistaken.#asahi-re · 2021-08-23 21:50
svensee #asahi. it at least maps the aes engine#asahi-re · 2021-08-23 21:49
svenuh#asahi-re · 2021-08-23 21:49
jeffmiwI'll continue try to figure it out#asahi-re · 2021-08-23 21:48
jeffmiwthis is what I'm doing to try to understand and found those sio / dart-sio acesses, thus my initial questions if anyone knows anything about them#asahi-re · 2021-08-23 21:39
j_eytrace macOS a bit?#asahi-re · 2021-08-23 21:39
jeffmiwthis is what I was thinking of, the combination of sio & dart-sio to do some dma stuff from spi .... but no real facts I can use to confirm this speculation ...#asahi-re · 2021-08-23 21:37
j_eyit does have a dma controller subnode..#asahi-re · 2021-08-23 21:36
alyssawell, a DMA controller#asahi-re · 2021-08-23 21:35
alyssaj_ey: It might just be the DMA controller...?#asahi-re · 2021-08-23 21:35
jeffmiw:)#asahi-re · 2021-08-23 21:31
alyssai'll leave that one up to your imagination#asahi-re · 2021-08-23 21:30
jeffmiwis this expansion of the acronym based on some reverse eng ?#asahi-re · 2021-08-23 21:29
alyssaI just like expanding acronyms#asahi-re · 2021-08-23 21:29
alyssaDunno#asahi-re · 2021-08-23 21:29
j_eyso what does it actually handle? (the sio asc)#asahi-re · 2021-08-23 21:29
alyssaYes.#asahi-re · 2021-08-23 21:29
j_eyactually? #asahi-re · 2021-08-23 21:28
alyssaj_ey: the "S" in "SIO" is for "Smart"#asahi-re · 2021-08-23 06:13
sventhere's still 2 unknown bytes so it could be three i guess#asahi-re · 2021-08-23 06:13
marcanok#asahi-re · 2021-08-23 06:13
svenhaven't seen anything with more than 2#asahi-re · 2021-08-23 06:12
marcanit's max 2?#asahi-re · 2021-08-23 06:12
marcanack#asahi-re · 2021-08-23 06:11
svenmarcan: pmgr.c is missing the second parent fwiw. i think it was just after the first parent in the structure at the top#asahi-re · 2021-08-23 06:09
svenyeah#asahi-re · 2021-08-23 06:09
marcanI'll poke around#asahi-re · 2021-08-23 06:09
marcanone way or another#asahi-re · 2021-08-23 06:09
marcanwith subnodes for clocks#asahi-re · 2021-08-23 06:09
marcanI think, realistically, this needs to be a DT structure#asahi-re · 2021-08-23 06:08
marcanyeah#asahi-re · 2021-08-23 06:08
sven+of#asahi-re · 2021-08-23 06:08
svenwhich the maintainers would probably hate and which isn't enough anyway because the two parents thing#asahi-re · 2021-08-23 06:07
sventhat was a single clock controller with a clocks property that can reference the controller itself#asahi-re · 2021-08-23 06:07
marcanand yeah#asahi-re · 2021-08-23 06:07
marcanah that was the instance per clock model, right?#asahi-re · 2021-08-23 06:07
sveni think the only code we have is https://github.com/AsahiLinux/m1n1/blob/main/src/pmgr.c#asahi-re · 2021-08-23 06:06
svenand also not enough, because some clocks have *two* parents#asahi-re · 2021-08-23 06:06
sveni have some hack https://github.com/AsahiLinux/linux/commits/clk/dev there but that's not great#asahi-re · 2021-08-23 06:06
marcando we have any tooling for extracting clock trees from the adt?#asahi-re · 2021-08-23 06:06
marcancool#asahi-re · 2021-08-23 06:06
svenhttps://github.com/AsahiLinux/linux/commits/nvme/new first three commits or so are the variant that keeps sending messages and requests and irq once the FIFO is full fwiw#asahi-re · 2021-08-23 06:06
marcanwe never figured out the clock dependency stuff, right? I guess I'll just do $something and then see what upstream says#asahi-re · 2021-08-23 06:05
marcansounds good