#
✕ nick:sven
#asahi-dev · 2022-08-28 08:23
svenalmost everything is left :D
#asahi-dev · 2022-08-28 08:21
sveni don’t push wip branches anymore because people have been annoying me too much about them
#asahi-dev · 2022-08-28 08:21
svenonly local tests from m1n1
#asahi-dev · 2022-08-28 08:17
svensomeone just needs to do it :D
#asahi-dev · 2022-08-28 08:16
svensure
#asahi-dev · 2022-08-28 08:15
sventhe bigger task really is that psci stuff
#asahi-dev · 2022-08-28 08:14
svenI think we already have a good idea how deep sleep work. Flip some sysreg to enable it, store cpu context, wfi, restore context, disable deep wfi again
#asahi-dev · 2022-08-28 08:13
svenbut even suspend to idle fails for WiFi already
#asahi-dev · 2022-08-28 08:13
svenbut that was just to debug Bluetooth suspend/resume
#asahi-dev · 2022-08-28 08:12
svenyes
#asahi-dev · 2022-08-28 08:12
svenpossibly because the pcie power domains were marked as always-on though
#asahi-dev · 2022-08-28 08:11
svenI think there was at least one report that pcie itself also breaks but when I tested bt resume it just worked
#asahi-dev · 2022-08-28 08:11
svenWiFi on its own because apple invented sone suspend protocol that’s different from what brcmfmac supports
#asahi-dev · 2022-08-28 08:05
svenbut the bigger task is defining and implementing that new psci-in-el2 thing
#asahi-dev · 2022-08-28 08:04
svenpcie and WiFi don’t handle suspend correctly yet iirc
#asahi-dev · 2022-08-28 06:51
svenI’m with kettenis. Just upstream more and the dts bug disappears
#asahi-dev · 2022-08-26 13:01
svendunno
#asahi-dev · 2022-08-26 12:59
svenand it just fails if I pass anything that’s not one of those values
#asahi-dev · 2022-08-26 12:58
svenbut it fits nicely, it configured some thing it calls PLL depending on the link rate I feed to the function
#asahi-dev · 2022-08-26 12:58
svenor that :D
#asahi-dev · 2022-08-26 12:57
svenyeah, 30 is just for 2.0 I guess
#asahi-dev · 2022-08-26 12:48
svensure
#asahi-dev · 2022-08-26 12:46
svenyup, that seems to be it!
#asahi-dev · 2022-08-26 12:45
sventhat looks useful, thanks.
#asahi-dev · 2022-08-26 12:45
svenoh, nice!
#asahi-dev · 2022-08-26 12:27
svenright, i'm mostly looking for the latter
#asahi-dev · 2022-08-26 12:26
svenis that a guess or does that come from some specification?
#asahi-dev · 2022-08-26 12:20
svendo the numbers 6, 10, 20, 30 in relation to display port "link rate" ring any bells for anyone?
#asahi-dev · 2022-08-25 15:38
svenshould submit Bluetooth v2 as well
#asahi-dev · 2022-08-25 15:38
svennice!
#asahi-dev · 2022-08-25 15:16
svennice, thanks!
#asahi-dev · 2022-08-25 09:39
svendidn't see a quick fix because things moved around there so i just reverted that commit and it works again
#asahi-dev · 2022-08-25 09:39
svenyup, https://github.com/AsahiLinux/m1n1/pull/225#discussion_r954671577
#asahi-dev · 2022-08-23 17:51
svenfor running the hv as well? Don’t you need a full macOS install for that to work?
#asahi-dev · 2022-08-22 12:32
sventurns out it's because for some reason Apple decided to just put the "missing" DP tunables directly into the kext
#asahi-dev · 2022-08-22 12:32
svenso i've wondered for a while why DP mode seems to have less tunables in the ADT than all the other modes
#asahi-dev · 2022-08-20 20:05
svendoesn’t matter for this patch though since nothing changed
#asahi-dev · 2022-08-20 20:05
sventhat’s usually a bad idea, you want to base on torvald’s tree (or possibly Linux-next)
#asahi-dev · 2022-08-20 20:00
svenI’ll take a look tomorrow
#asahi-dev · 2022-08-20 20:00
svendid you base it on linux 6.0-rc1? That should already have the list in MAINTAINERS
#asahi-dev · 2022-08-20 15:01
sven(that might generate some spurious warnings but also prevent common mistakes)
#asahi-dev · 2022-08-20 15:01
svenyes, and run checkpatch on it as well
#asahi-dev · 2022-08-20 14:59
svensend-email picks up Cc: from commit messages
#asahi-dev · 2022-08-20 14:57
sveniirc b4 is getting sone feature like that as well
#asahi-dev · 2022-08-20 14:57
svenI’m too paranoid to do that automatically
#asahi-dev · 2022-08-20 14:51
svengetmaintainers should automatically add my mail address anyway
#asahi-dev · 2022-08-20 14:49
svensounds like it’s time to submit it to the mailing lists
#asahi-dev · 2022-08-19 21:22
svenand then just set use_irq to 1
#asahi-dev · 2022-08-19 21:22
sventhe irq wont fire before it hits the if (irq_enabled) path then such that you can safely request it
#asahi-dev · 2022-08-19 21:21
svenI think if you write 0 to the irq mask in common_probe there’s no need to lock the bus

plus ›