#asahi-dev · 2022-06-19 10:33
svenM=RASP m=6.11 V=m <-- that looks like part of the wifi otp, doesn't it?#asahi-dev · 2022-06-19 09:54
svenit sounds like apple was involved in the design though#asahi-dev · 2022-06-19 09:54
svenI kinda hoped it would just be similar enough to some other broadcom stuff but there's no pcie broadcom bluetooth driver in linux #asahi-dev · 2022-06-19 09:53
svenyeah :(#asahi-dev · 2022-06-19 09:48
svenR already did some nice reverse engineering, essentially it's HCI over what apple calls "Apple Converged IPC"#asahi-dev · 2022-06-19 09:47
svenuh, the one I wrote. there's unfortunately nothing that's similar#asahi-dev · 2022-06-19 09:47
svenand now it can also construct the correct firmware filename (minus that weird MUR vs. USI part I still have to figure out)#asahi-dev · 2022-06-19 09:46
svenit probes and the BARs are correctly mapped#asahi-dev · 2022-06-19 09:46
svenno :D#asahi-dev · 2022-06-19 09:46
svenreg = <0x10100 0x0 0x0 0x0 0x0>; works#asahi-dev · 2022-06-19 09:45
svenah, that was easier than expected#asahi-dev · 2022-06-19 09:29
svendoes anyone know how to add the bluetooth function here by heart? it'll also need at least the board type. otherwise i'll go read some documentation but i'd like to avoid that :D https://github.com/AsahiLinux/linux/blob/asahi/arch/arm64/boot/dts/apple/t8103-jxxx.dtsi#L125 #asahi-dev · 2022-06-18 13:12
svenhuh, it's actually the smp wfe mode thing that makes it slow here#asahi-dev · 2022-06-18 11:41
sven<3 git bisect :-)#asahi-dev · 2022-06-18 11:28
svenadding that sev to the unlock has completely fixed it here fwiw#asahi-dev · 2022-06-18 10:59
svenit does disable the MMU a bit later and there could be a delay in the messages arriving over USB#asahi-dev · 2022-06-18 10:54
svenit becomes slow for me before the mmu is off afaict#asahi-dev · 2022-06-18 10:54
svenhmm?#asahi-dev · 2022-06-18 10:54
svenyup, with an sev in spin_unlock it's also fast here#asahi-dev · 2022-06-18 10:43
svenwithout that wfe everything works fine for me#asahi-dev · 2022-06-18 10:28
svenbeen waiting for two minutes now and nothing happens#asahi-dev · 2022-06-18 10:26
svenI can't even ctrl+c to the shell, I have to do a hard reboot#asahi-dev · 2022-06-18 10:26
svenI don't think it'll get any further#asahi-dev · 2022-06-18 10:25
sventhis is on a m1 mini fwiw#asahi-dev · 2022-06-18 10:25
svenstill stuck at that next line#asahi-dev · 2022-06-18 10:24
svenI don't think it'll ever get to the kernel here fwiw#asahi-dev · 2022-06-18 10:23
svenlooks like it's even stuck at printing the next line after that smp mode now#asahi-dev · 2022-06-18 10:23
svenif I leave the wfe in it's always glacially slow#asahi-dev · 2022-06-18 10:22
svenyeah, pretty much#asahi-dev · 2022-06-18 10:22
svenalright, it slowed down just after "Setting SMP mode to WFE..." again#asahi-dev · 2022-06-18 10:21
sveni've not been patient enough to wait for that :D#asahi-dev · 2022-06-18 10:19
svenhm... so for me it already prints the "setting mode to wft" pretty slowly and that happens before the MMU is disabled I think#asahi-dev · 2022-06-18 10:16
svencould also be coincidence ofc#asahi-dev · 2022-06-18 10:10
sven*"Setting SMP mode to WFE"#asahi-dev · 2022-06-18 10:10
svenlooks like it actually starts getting slower after "SMP mode to WFE" in the guest#asahi-dev · 2022-06-18 10:07
sven 2553c: 08 fc 9f c8 stlr x8, [x0]#asahi-dev · 2022-06-18 10:07
sven 25538: 08 00 80 92 mov x8, #-1#asahi-dev · 2022-06-18 09:47
svenweird. that wfe definitely makes everything slow here#asahi-dev · 2022-06-18 09:41
svenbut if I remove the "wfe" in there it seems to be fine again#asahi-dev · 2022-06-18 09:41
svenhrm, it's still broken with that for me#asahi-dev · 2022-06-18 09:37
svenbisected to 9c795fbdbf445d144d331ff2a19a0f42fe0fc190#asahi-dev · 2022-06-18 09:29
sven(incredibly slow as in takes minutes to get through the guest m1n1)#asahi-dev · 2022-06-18 09:29
svenhuh, on the latest main the hv vuart is incredibly slow for me. anyone noticed something similar?#asahi-dev · 2022-06-15 06:09
svenmillenialhacker: looks awesome =)#asahi-dev · 2022-06-14 07:49
svenlooks like you've made quite some progress!#asahi-dev · 2022-06-14 07:48
svenmillenialhacker: nice!#asahi-dev · 2022-06-14 07:47
svenkettenis, jannau: ugh, i don't think that was intentional. so I guess we either add it back again as a fix or we just use "apple,twhatever-m2-is", "apple,t6000-sart" instead#asahi-dev · 2022-06-13 12:02
sveni'm also happy to re-inintroduce apple,sart2 but that feels a bit silly when there's only one chip that has it#asahi-dev · 2022-06-13 07:21
svenjannau: fwiw, apple,sart2 doesn't exist in the upstream DT bindings anymore because sart2 is only used on t8103