#asahi · 2022-01-05 13:46
svenasahi has this commit here https://github.com/AsahiLinux/linux/commit/4d8a0a2c146a6dae81dde6d6cc40ae53f362e719#asahi · 2022-01-05 13:44
sveni'm still pretty sure that usb hotplug should also work with the asahi tree#asahi · 2022-01-05 13:11
sven*it#asahi · 2022-01-05 13:11
svenopticron: yeah, i sounded interesting at first but then a few years passed and nothing useful came out of it for me#asahi · 2022-01-05 12:59
sveni'm just glad apple got rid of the touchbar as well#asahi · 2022-01-05 12:45
sven:D#asahi · 2022-01-05 11:09
svenugh#asahi · 2022-01-04 15:33
svenshould also send a new version of that#asahi · 2022-01-04 15:32
sveniirc that branch already has the apple,dwc3 compatible #asahi · 2022-01-04 14:10
svenright, I don’t have a kernel config or treee ready and also don’t want to encourage people to use my development trees, sorry #asahi · 2022-01-04 14:09
svenmultiple people have reported that hotplugging worked for them #asahi · 2022-01-04 14:09
sventhat must be some issue for you only.#asahi · 2022-01-04 12:23
svenit just needs that reset quirk commit and then it should mostly work #asahi · 2022-01-04 12:23
svenno idea#asahi · 2022-01-04 11:43
svenGlanzmann: replugging should mostly work depending on what tree you use#asahi · 2022-01-03 11:29
sven:>#asahi · 2022-01-01 19:20
svenit‘s much more annoying though #asahi · 2022-01-01 19:20
svenit’s not impossible to reverse engineer since you can e.g. crash DCP very early and see iboot‘s last messages and also look at the DCP firmware itself#asahi · 2022-01-01 19:20
svenpretty sure that’s the one he was talking about #asahi · 2022-01-01 19:19
svenNot for the M1#asahi · 2022-01-01 19:18
svenDCP has a iboot protocol that should be much simpler than the real one. It’s just not documented anywhere and kinda annoying to reverse engineer since we can’t observe the code that uses it#asahi · 2021-12-29 15:55
svenon the M1 it emulates apple’s serial and probably needs a driver in whatever you’re running on there#asahi · 2021-12-29 15:55
svenyeah, I just made the usb code emulate a normal CDC ACM drive which should work everywhere#asahi · 2021-12-28 14:52
sven:/#asahi · 2021-12-28 11:54
svenputting it into nvme separate from m1n1 will result in a lot of headaches eventually #asahi · 2021-12-28 11:54
svenno, the device tree will always come from m1n1#asahi · 2021-12-25 11:44
sveni’d prefer if it just goes through swiotlb or that subpage protection #asahi · 2021-12-25 11:43
svenright now it’ll even see the entire pages of its buffers#asahi · 2021-12-25 11:42
svenyeah. and I don’t think I’d feel comfortable with the WiFi being in bypass mode anyway#asahi · 2021-12-25 11:15
svenif you boot with 4K the usb darts are just forced to bypass mode#asahi · 2021-12-25 11:14
svenbecause the pcie darts have no hardware bypass mode#asahi · 2021-12-25 10:54
svenbut that’s all doable. Just needs some more work :)#asahi · 2021-12-25 10:53
svenand it doesn’t have support for swiotlb for untrusted devices because that api unsurprisingly can’t align buffers to more than PAGE_SIZE#asahi · 2021-12-25 10:52
sventhe patch set actually already works fine, it just needs a bit more work because the upstream IOMMU API has a slightly odd level of abstraction#asahi · 2021-12-25 10:51
svenyeah, with 4K any pcie dma allocations will just fail#asahi · 2021-12-22 11:17
svenit will still have that sync/flush issue#asahi · 2021-12-22 11:16
svenit’ll#asahi · 2021-12-22 11:16
svenYeah, that branch should be fine to test#asahi · 2021-12-21 19:43
svenis it 0x10?#asahi · 2021-12-21 19:43
sveni guess because it has to keep running in the background #asahi · 2021-12-20 20:40
sventhat branch is actually fine to test :)#asahi · 2021-12-20 14:42
sven:D#asahi · 2021-12-19 21:47
sveni hoped we had fixed hpm issues at this point :(#asahi · 2021-12-19 21:46
svenand the usb curse strikes again!#asahi · 2021-12-19 12:51
svenmaybe we should just delete those pages#asahi · 2021-12-19 10:26
svenno idea#asahi · 2021-12-19 10:25
sventhere will be a time where testing like this will be incredibly helpful, but right now i already know that the driver has issues and that i've essentially rewritten it anyway#asahi · 2021-12-19 10:23
svenas i said, this thing is WIP and i've almost rewritten it#asahi · 2021-12-19 10:23
svendoesn't matter#asahi · 2021-12-19 10:13
sventhis thing is still WIP, i _know_ it has issues