#
#asahi-dev · 2025-08-03 15:41
jannaunickchan: are we using LSE atomics?
#asahi-dev · 2025-08-03 15:41
chaos_princessbasic and boring - just the host-to-host interface thing?
#asahi-dev · 2025-08-03 15:41
svenonce that's there i'll look into pcie next
#asahi-dev · 2025-08-03 15:41
sveni first want to get the NHI upstream
#asahi-dev · 2025-08-03 15:41
nickchanokay it's not that simple I should look into it more
#asahi-dev · 2025-08-03 15:41
jannauso you're not going to fix PCI hotplug? it looks like nvidia might be struggling with usb4 / thunderbolt for dgx spark as well. it's delayed. nvidia lists just usb-c in their spec and the partner devices list usb3.2
#asahi-dev · 2025-08-03 15:38
nickchanI mean mrs() but both has issues seems anything that ends up calling p.call is problematic
#asahi-dev · 2025-08-03 15:37
sven(basic and boring thunderbolt that isn't useful fwiw)
#asahi-dev · 2025-08-03 15:37
nickchanthere's some new weird issues right now with the armv8.0 chips (a7-a10,t2) that causes m1n1 to stop responding on the second msr() in two msr() in a row, sounds like atomics :/
#asahi-dev · 2025-08-03 15:37
svenassuming i get usb in for 6.18, thunderbolt should be doable for 6.19 then
#asahi-dev · 2025-08-03 15:36
sventhat would be nice
#asahi-dev · 2025-08-03 15:36
jannauI started preparations for those. ideally I'd also like to submit the missing devices (15" m2 air and all t602x based devices) for 6.18
#asahi-dev · 2025-08-03 15:35
jannauI will look at four level dart/iopgtbl and spi-hid + touchpad
#asahi-dev · 2025-08-03 15:33
sven(and smc hid and rtc, but that shouldn't be very hard since both drivers are rather small)
#asahi-dev · 2025-08-03 15:32
sveni really hope i can get finally get atcphy/usb upstream next
#asahi-dev · 2025-08-03 15:31
svennice, we're slowly making progress :)
#asahi-dev · 2025-08-03 15:10
jannauroughly 1/4 of the 963 commits are in bits/200-dcp which could also be squashed
#asahi-dev · 2025-08-03 15:09
jannauI've pushed asahi-6.16.0-1 to github. 967 non merge commits compared to v6.16. backl to lkess than 1000 commits from upstream. main contribution are imported rust patches from v6.16, squashing of the 210-gpu branch and other patches upstreamed for v6.16
#asahi-dev · 2025-08-03 14:00
jannausmall compile warning fix after today's merges: https://github.com/AsahiLinux/m1n1/pull/478
#asahi-dev · 2025-08-03 13:59
jannauI don't think the linux driver can do anything about this on j314s side. afaik that's handled by cd3217 fw or possible smc
#asahi-dev · 2025-08-03 13:46
nickchanwouldn't be surprised if there's some atc mishandling
#asahi-dev · 2025-08-03 13:45
nickchanSo I suppose I should stick to that
#asahi-dev · 2025-08-03 13:45
nickchanokay a usb2 c to c cable works too
#asahi-dev · 2025-08-03 13:38
nickchanso I used thunderbolt 4 cable to connect the mbp 2018 15 inch's usb-c port and j314sap's m1n1 proxy together and that does not work but a usb-a to c cable with an adapter worked fine
#asahi-dev · 2025-08-03 11:23
svenfair enough
#asahi-dev · 2025-08-03 11:23
svenoh... that's the pmgr driver
#asahi-dev · 2025-08-03 11:22
chaos_princessno, it may actually be us doing by hand what pmp is supposed to do via firmware
#asahi-dev · 2025-08-03 11:22
svenis that part of the gpu pr?
#asahi-dev · 2025-08-03 11:22
chaos_princesssven: temporary hold on bf89fe2, i may or may not revert it
#asahi-dev · 2025-08-03 10:51
svenhm, i thought that additional power usage was very likely caused by something else
#asahi-dev · 2025-08-03 10:47
chadmedcurrently those both still pull down like 8-10 W idle
#asahi-dev · 2025-08-03 10:46
chadmedyes but supposedly it needs to do more stuff for idle pm to work properly on t60xx
#asahi-dev · 2025-08-03 10:46
svenmaybe i don't understand that driver, but doesn't it just tweak some registers and save 1W or so in s2idle?
#asahi-dev · 2025-08-03 10:45
chadmedi feel like we should at least figure out what we need to do to it
#asahi-dev · 2025-08-03 10:45
chadmedshould we upstream pmgr without first fixing idle pm on the t60xx socs?
#asahi-dev · 2025-08-03 10:41
svenhappy to mentor anyone who wants to give that one a try
#asahi-dev · 2025-08-03 10:41
svenyeah, that driver would be a good first one for anyone looking to get into upstreaming work
#asahi-dev · 2025-08-03 10:34
nickchanif anything should be a pr_debug
#asahi-dev · 2025-08-03 10:33
nickchanthat pmgr misc state driver sounds sane enough other than the printk("set %d ps to pstate %d\n", dev, pstate);
#asahi-dev · 2025-08-03 10:32
svenand if someone's looking for something more challenging and ideally has a raspberry pi for testing as well there's the wifi patches
#asahi-dev · 2025-08-03 10:32
nickchanmacvdmtool won't work with a t2 host but I suppose I could live without that
#asahi-dev · 2025-08-03 10:32
svenhttps://github.com/AsahiLinux/linux/commit/3aabd7c1e40232b7faec3ced1af82cc4b1b61783 should be uncontroversial as well
#asahi-dev · 2025-08-03 10:30
svenalso https://github.com/AsahiLinux/linux/commit/bf89fe21293400b172284e08d53cf1147cfdf368 for anyone with a t60xx, just needs dt-bindings and i'm happy to mentor someone there
#asahi-dev · 2025-08-03 10:30
svenlooking at the list of stuff left to upstream: rust bindings for rtkit and our mailbox looks like low hanging fruit to me
#asahi-dev · 2025-08-03 10:27
nickchanso I can debug the j314sap
#asahi-dev · 2025-08-03 10:27
nickchantime to setup the m1n1 tethered boot setup I guess I can use the t2 mac as the host
#asahi-dev · 2025-08-03 09:25
chadmedwe can have safe(r) methods to get property values of a specific type rather than expect callees to just blindly cast slices of u8s
#asahi-dev · 2025-08-03 09:24
chadmedi was thinking of tying the methods related to nodes and headers (getting values, number of children, etc) to impls for their specific structs and leave the top level ADT impl for simply getting references to those nodes/headers
#asahi-dev · 2025-08-03 09:18
svenchadmed: i'd be in favor for a more rust-y API and then just binding that one back to the C api fwiw
#asahi-dev · 2025-08-03 09:15
sventhe rest seems useful to keep around even if no one ever continues working on them

plus ›