#asahi · 2022-07-05 13:18
svenno, it’s probably a different OTP offset or maybe the bar0_windowX entries are wrong #asahi · 2022-07-05 11:58
svenprobably needs a single line fix to work on pro/max as well#asahi · 2022-07-05 11:58
svenand yeah, there’s a driver in a wip branch that seems to work on the m1 at least#asahi · 2022-07-05 11:58
svenand rqou_ who did the initial reversing!#asahi · 2022-07-03 15:40
svenhttps://github.com/AsahiLinux/docs/wiki/%22When-will-Asahi-Linux-be-done%3F%22#asahi · 2022-07-03 12:11
svennice \o/#asahi · 2022-07-01 20:06
svenknowing him it’ll be another hour or two until he actually goes to bed :p#asahi · 2022-07-01 20:05
svengood night! #asahi · 2022-07-01 20:05
svenhrm, I guess I should also take a look at how Bluetooth does suspend/resume#asahi · 2022-07-01 20:04
svensounds reasonable#asahi · 2022-07-01 20:04
svenheh, yeah#asahi · 2022-07-01 20:03
sventhat sounds much more tricky #asahi · 2022-07-01 20:02
svenliterally just rescans the bus on the link up and retrigger link training on link down#asahi · 2022-07-01 20:01
svenpcie hotplug can be done in a very stupid way and it’ll just work#asahi · 2022-07-01 15:48
sventhat’s the pci vendor/device id#asahi · 2022-07-01 15:48
svenno#asahi · 2022-07-01 15:46
sventhunderbolt…. is gonna take a bit longer #asahi · 2022-07-01 15:46
svenjust needs more cleanup and that firmware renaming script #asahi · 2022-07-01 15:46
svenBluetooth is almost there ;)#asahi · 2022-06-30 12:47
svenhttps://github.com/AsahiLinux/docs/wiki/Yaks-in-need-of-shaving :-)#asahi · 2022-06-30 12:46
svenI think we also have a list with easy tasks somewhere in the wiki#asahi · 2022-06-30 12:46
sventesting and reporting bugs (usually developers report *much* better bugs :D) and writing documentation are two things that come to my mind#asahi · 2022-06-28 07:59
svenand chainload.py uses a small stub to relocate the payload to overwrite m1n1#asahi · 2022-06-28 07:58
sventhe hypervisor can load a macho that looks like XNU but that's all done in python#asahi · 2022-06-28 07:56
svenyes#asahi · 2022-06-23 18:09
svengetting that right and making it secure is _hard_#asahi · 2022-06-23 18:08
svenyup#asahi · 2022-06-23 18:02
sventhe whole threat model changed when suddenly half of your function run in another cpu #asahi · 2022-06-23 18:02
svenbut it does not surprise me at all that there are bugs like in the macOS driver given it’s history #asahi · 2022-06-23 18:02
sven*its#asahi · 2022-06-23 18:02
svenyup :-)#asahi · 2022-06-23 18:02
sventhat entire codebase used to run on a single CPU and if you had control it was game over anyway #asahi · 2022-06-23 18:02
svendoesn’t surprise me tbh given that they probably just took the DCP driver and cut it in half #asahi · 2022-06-23 17:07
svenagraf probably knows more :)#asahi · 2022-06-23 17:07
svenit’s essentially just a wrapper around a few syscalls#asahi · 2022-06-23 17:06
svenno idea, but the framework is very very thin iirc#asahi · 2022-06-22 07:18
svenyeah, that patch just makes the symptom disappear but probably doesn't fix the root cause #asahi · 2022-06-21 13:09
svenoh, i agree that this isn't a great idea but it might be the best that can be done#asahi · 2022-06-21 13:04
sveni think that's more or less what hvf.framework on macOS does fwiw. most of the heavy lifting is done inside virtualization.framework which runs in userspace#asahi · 2022-06-20 15:34
sven:D#asahi · 2022-06-19 21:02
sveni bet it’s for some obscure historical reason :D#asahi · 2022-06-19 21:02
svenhuh, true. that’s weird#asahi · 2022-06-19 20:56
svenas long as a device is only attached to a single power domain the genpd core will handle everything automatically #asahi · 2022-06-19 20:55
sventhey also usually don’t need explicit support in the drivers #asahi · 2022-06-19 20:54
svenand they can do auto power management #asahi · 2022-06-19 20:54
svenyeah, there are at least three states (off, clock gated(?) and on)#asahi · 2022-06-19 20:52
svenwhat we assumed to be clock gates are actually those power states#asahi · 2022-06-18 22:32
svenbut that’s possible on these machines, you can pretty much isolate and pass through every single pcie function #asahi · 2022-06-18 22:32
svenit also requires cooperation from the iommu #asahi · 2022-06-17 09:48
sven🤷♂️