#asahi-dev · 2021-05-29 14:07
svenwhat probably doesn't work is hotplugging#asahi-dev · 2021-05-29 14:06
sven:-)#asahi-dev · 2021-05-29 13:06
sveneuh, can you maybe just comment on the github pr? i'll forget about all of this otherwise in an hour or two :D#asahi-dev · 2021-05-29 13:01
svenbecause i probably copy&pasted it from somewhere :D#asahi-dev · 2021-05-29 12:44
svenbloom: https://github.com/AsahiLinux/m1n1/pull/65 and https://github.com/AsahiLinux/linux/commits/dart/dev and enabling dwc3+whatever else you need in .config and you have your usb support#asahi-dev · 2021-05-28 15:09
svenand who knows what that one supports#asahi-dev · 2021-05-28 15:08
svenmight be yet another iommu #asahi-dev · 2021-05-28 15:08
svenmarcan: sure, but i don't think there's an iommu node in the ADT for the gpu (or maybe i missed it)#asahi-dev · 2021-05-28 10:44
svenI'm not sure if the gpu is behind a dart#asahi-dev · 2021-05-28 08:42
svensince the last time someone tried I found another bypass bit. maybe that thing helps#asahi-dev · 2021-05-28 08:41
svenwhich may or may not be possible#asahi-dev · 2021-05-28 08:41
sventhis also depends on pcie working in bypass mode#asahi-dev · 2021-05-28 08:34
svenmaybe, but we shouldn't enable thunderbolt there then#asahi-dev · 2021-05-28 08:14
svenjust patched some hack in there to force 64bit and then bypass mode worked#asahi-dev · 2021-05-28 08:13
svenmaybe, didn't really look into it in much detail#asahi-dev · 2021-05-28 08:12
svendwc3 almost works there. for some reason it ignores dma-ranges though and refuses to use >32 bit addresses#asahi-dev · 2021-05-28 08:06
svenI mean, it'll kinda boot in bypass-only mode if we can somehow convince pcie to support that#asahi-dev · 2021-05-28 08:06
svenwell, even better for me!#asahi-dev · 2021-05-28 07:47
svener, yes#asahi-dev · 2021-05-28 07:47
svenit's probably hard-wired when they synthesise the hw block :/#asahi-dev · 2021-05-28 07:46
sventhere's even a field in one of the write-only registers at the beginning that indicates the page shift#asahi-dev · 2021-05-28 07:45
svenyes#asahi-dev · 2021-05-28 07:41
svenofc :D#asahi-dev · 2021-05-28 07:41
svensounds good#asahi-dev · 2021-05-28 07:41
svenbut that won't have an impact anywhere else either#asahi-dev · 2021-05-28 07:41
svenand for the clock I'll have to discuss with the maintainers how to encode the non-leafs in the device tree such that we don't have to have that in the drive#asahi-dev · 2021-05-28 07:40
svenyeah#asahi-dev · 2021-05-28 07:40
svenbut the rest should be fine#asahi-dev · 2021-05-28 07:40
svendart is gonna be a little bit hairy since I'll probably need to change something in the iommu subsystem to allow 4k cpu / 16k iommu pages#asahi-dev · 2021-05-28 07:37
svensure, especially with the clock/DART stuff will will need to work together with almost everything else#asahi-dev · 2021-05-28 07:19
svenprobably through marcan and then through arnd's soc tree i guess#asahi-dev · 2021-05-28 07:12
svenmarcan: sounds good, will push my stuff later today#asahi-dev · 2021-05-27 20:00
svenjust tell me whatever works best. i'm not picky about this stuff ;)#asahi-dev · 2021-05-27 20:00
svensure#asahi-dev · 2021-05-27 19:11
svendart works, it just still has some minor hacks and i need to look into the 4k cpu pages / 16k dart pages thing#asahi-dev · 2021-05-27 19:10
svenanyway ;)#asahi-dev · 2021-05-27 19:09
sventsk tsk :P#asahi-dev · 2021-05-27 19:08
sveni get lazy. i occasionally need someone to kick my butt ;)#asahi-dev · 2021-05-27 19:07
sveni'll reply to the feedback on the clk submission tomorrow#asahi-dev · 2021-05-27 19:07
svenyeah, yeah, i get it :P#asahi-dev · 2021-05-27 19:02
svenit's still a little bit ugly and needs some more work before i can submit that upstream though#asahi-dev · 2021-05-27 19:02
svenbloom: so https://github.com/svenpeter42/linux/commits/dart-iommu-v3-wip might be enough to get the usb ports working once#asahi-dev · 2021-05-27 18:57
svenit doesn't really matter. git is all distributed anyway *shrug*#asahi-dev · 2021-05-27 18:56
sveni can push my rebase version of the DART stuff there#asahi-dev · 2021-05-27 18:55
sveni have https://github.com/svenpeter42/linux/tree/dart-iommu-v3 which is almost enough for usb#asahi-dev · 2021-05-27 18:55
svendon't think so.#asahi-dev · 2021-05-27 18:54
svenneeds some major changes ofc :P#asahi-dev · 2021-05-27 18:54
svenmainline