2025-08-03
00:01chrisl has joined #asahi-dev
00:10chrisl has quit [Ping timeout: 480 seconds]
00:16midou has quit [Read error: No route to host]
00:23midou has joined #asahi-dev
01:01chrisl has joined #asahi-dev
01:10chrisl has quit [Ping timeout: 480 seconds]
01:12chrisl has joined #asahi-dev
01:15hdbngr has joined #asahi-dev
01:21chrisl has quit [Ping timeout: 480 seconds]
01:24hdbngr has quit [Ping timeout: 480 seconds]
01:30chrisl has joined #asahi-dev
01:38chrisl has quit [Ping timeout: 480 seconds]
01:46Extern has quit [Quit: WeeChat 4.7.0]
02:07tobhe_ has joined #asahi-dev
02:14tobhe has quit [Ping timeout: 480 seconds]
02:29chrisl has joined #asahi-dev
02:38chrisl has quit [Ping timeout: 480 seconds]
02:48chrisl has joined #asahi-dev
02:55jnn has joined #asahi-dev
02:56chrisl has quit [Ping timeout: 480 seconds]
02:58jn has quit [Ping timeout: 480 seconds]
02:59pb17 has quit [Ping timeout: 480 seconds]
03:03pb17 has joined #asahi-dev
03:05chrisl has joined #asahi-dev
03:14chadmed has quit [Quit: Konversation terminated!]
03:14chadmed has joined #asahi-dev
03:23chrisl has quit [Ping timeout: 480 seconds]
03:25nora has joined #asahi-dev
03:27nora_ has quit [Ping timeout: 480 seconds]
03:31chrisl has joined #asahi-dev
03:39chrisl has quit [Ping timeout: 480 seconds]
03:48chrisl has joined #asahi-dev
03:55Lyude has quit [Read error: Connection reset by peer]
03:56Lyude has joined #asahi-dev
03:57chrisl has quit [Ping timeout: 480 seconds]
04:01hdbngr has joined #asahi-dev
04:06chrisl has joined #asahi-dev
04:09hdbngr has quit [Ping timeout: 480 seconds]
04:23chrisl has quit [Ping timeout: 480 seconds]
04:33chrisl has joined #asahi-dev
04:42chrisl has quit [Ping timeout: 480 seconds]
04:49chrisl has joined #asahi-dev
04:58chrisl has quit [Ping timeout: 480 seconds]
05:06chrisl has joined #asahi-dev
05:15chrisl has quit [Ping timeout: 480 seconds]
05:16chadmed has quit [Quit: Konversation terminated!]
05:16chrisl has joined #asahi-dev
05:16chadmed has joined #asahi-dev
05:25chrisl has quit [Ping timeout: 480 seconds]
05:25hdbngr has joined #asahi-dev
05:32bacarrdy has quit [Remote host closed the connection]
05:32bacarrdy has joined #asahi-dev
05:32chrisl has joined #asahi-dev
05:34hdbngr has quit [Ping timeout: 480 seconds]
05:42bacarrdy has quit [Remote host closed the connection]
05:42bacarrdy has joined #asahi-dev
05:43chrisl has quit [Ping timeout: 480 seconds]
05:52chrisl has joined #asahi-dev
06:02hdbngr has joined #asahi-dev
06:03chrisl has quit [Ping timeout: 480 seconds]
06:10hdbngr has quit [Ping timeout: 480 seconds]
06:12chrisl has joined #asahi-dev
06:13pb17 has quit [Ping timeout: 480 seconds]
06:14pb17 has joined #asahi-dev
06:16nafod has quit [Ping timeout: 480 seconds]
06:26chrisl has quit [Ping timeout: 480 seconds]
06:35chrisl has joined #asahi-dev
06:44chrisl has quit [Ping timeout: 480 seconds]
06:51chrisl has joined #asahi-dev
07:00chrisl has quit [Ping timeout: 480 seconds]
07:01ddxtanx has quit [Remote host closed the connection]
07:03hdbngr has joined #asahi-dev
07:08bacarrdy has quit [Remote host closed the connection]
07:08chrisl has joined #asahi-dev
07:09bacarrdy has joined #asahi-dev
07:11hdbngr has quit [Ping timeout: 480 seconds]
07:17chrisl has quit [Ping timeout: 480 seconds]
07:18chrisl has joined #asahi-dev
07:18hdbngr has joined #asahi-dev
07:27chrisl has quit [Ping timeout: 480 seconds]
07:27hdbngr has quit [Ping timeout: 480 seconds]
07:35chrisl has joined #asahi-dev
07:44chrisl has quit [Ping timeout: 480 seconds]
07:51chrisl has joined #asahi-dev
07:54svenhttps://github.com/AsahiLinux/m1n1/pull/474 Can we somehow disable that rpm stuff or mark fails there as warning only?
08:00chrisl has quit [Ping timeout: 480 seconds]
08:04hdbngr has joined #asahi-dev
08:08jannauI think we should solve that differently, i.e. either not run those checks in github or use a rpm spec inside the github m1n1 repo
08:09chrisl has joined #asahi-dev
08:12chadmedi would like to disable packit in our repos tbh. its not useful for what we do because the repos do not host the specfiles
08:17chrisl has quit [Ping timeout: 480 seconds]
08:20hdbngr has quit [Ping timeout: 480 seconds]
08:21hdbngr has joined #asahi-dev
08:23pb17 has quit [Ping timeout: 480 seconds]
08:24pb17 has joined #asahi-dev
08:26bacarrdy has quit [Ping timeout: 480 seconds]
08:26bacarrdy has joined #asahi-dev
08:27chrisl has joined #asahi-dev
08:29hdbngr has quit [Ping timeout: 480 seconds]
08:36chrisl has quit [Ping timeout: 480 seconds]
08:44svenunless there are objections i'd also merge 460 (chickens cleanup) and 469 (atcphy fuses as tunable). is 466 (gpu blobs in m1n1) ready as well now that the gpu dt bindings are upstream?
08:44chrisl has joined #asahi-dev
08:47jannauplease wait on GPU init one. I need go through all devices again to verify that the paramters are unchanged
08:48jannauand the kernel is not ready either. My plan was to see if we can have at least for a while both variants supported
08:53chrisl has quit [Ping timeout: 480 seconds]
09:03chrisl has joined #asahi-dev
09:03bacarrdy has quit [Ping timeout: 480 seconds]
09:04bacarrdy has joined #asahi-dev
09:05hdbngr has joined #asahi-dev
09:07svenalright, so from the non-stale PRs we have two for pre-M1 support (where i just left comments), the gpu one, the packit one, the rust compiler warnings, and finally https://github.com/AsahiLinux/m1n1/pull/457
09:09chadmedwrt 457 id like some feedback before we merge it obviously. also not sure if we want to do a more modern/rust-y API and bind that back to the libfdt API for C code or just stick with what's in there which is basically 1:1 the libfdt API translated to rust
09:09svenyeah, i wasn't going to suggest to just merge it. just mentioned it because that's the only one no one reviewed so far :)
09:10sven(plus the old stale PRs, i'd just leave them around just in case someone does come back to them. maybe add a stale label or something)
09:11jannauI think the stale trace PRs are useful to keep as open as that makes them easier to discover
09:12chrisl has quit [Ping timeout: 480 seconds]
09:12svenif someone runs into the same problem they're probably gonna fix it before noticing there's already a stale PR around
09:13hdbngr has quit [Ping timeout: 480 seconds]
09:18svenchadmed: i'd be in favor for a more rust-y API and then just binding that one back to the C api fwiw
09:20cylm has joined #asahi-dev
09:21chrisl has joined #asahi-dev
09:24chadmedi 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
09:25chadmedwe can have safe(r) methods to get property values of a specific type rather than expect callees to just blindly cast slices of u8s
09:29chrisl has quit [Ping timeout: 480 seconds]
09:30chadmed has quit [Quit: Konversation terminated!]
09:30chadmed has joined #asahi-dev
09:38chrisl has joined #asahi-dev
09:46chrisl has quit [Ping timeout: 480 seconds]
09:54chrisl has joined #asahi-dev
10:03chrisl has quit [Ping timeout: 480 seconds]
10:06hdbngr has joined #asahi-dev
10:11chrisl has joined #asahi-dev
10:12bacarrdy has quit [Remote host closed the connection]
10:13bacarrdy has joined #asahi-dev
10:14hdbngr has quit [Ping timeout: 480 seconds]
10:17hdbngr has joined #asahi-dev
10:23chrisl has quit [Ping timeout: 480 seconds]
10:28bacarrdy has quit [Ping timeout: 480 seconds]
10:29bacarrdy has joined #asahi-dev
10:30svenlooking at the list of stuff left to upstream: rust bindings for rtkit and our mailbox looks like low hanging fruit to me
10:30svenalso https://github.com/AsahiLinux/linux/commit/bf89fe21293400b172284e08d53cf1147cfdf368 for anyone with a t60xx, just needs dt-bindings and i'm happy to mentor someone there
10:32svenhttps://github.com/AsahiLinux/linux/commit/3aabd7c1e40232b7faec3ced1af82cc4b1b61783 should be uncontroversial as well
10:32svenand if someone's looking for something more challenging and ideally has a raspberry pi for testing as well there's the wifi patches
10:33chrisl has joined #asahi-dev
10:33nickchanthat pmgr misc state driver sounds sane enough other than the printk("set %d ps to pstate %d\n", dev, pstate);
10:39hdbngr has quit [Ping timeout: 480 seconds]
10:41svenyeah, that driver would be a good first one for anyone looking to get into upstreaming work
10:41chrisl has quit [Ping timeout: 480 seconds]
10:44hdbngr has joined #asahi-dev
10:46svenmaybe i don't understand that driver, but doesn't it just tweak some registers and save 1W or so in s2idle?
10:49chrisl has joined #asahi-dev
10:56hdbngr has quit [Ping timeout: 480 seconds]
10:57chrisl has quit [Ping timeout: 480 seconds]
11:06chrisl has joined #asahi-dev
11:14chrisl has quit [Ping timeout: 480 seconds]
11:22chaos_princesssven: temporary hold on bf89fe2, i may or may not revert it
11:22chaos_princessno, it may actually be us doing by hand what pmp is supposed to do via firmware
11:24chrisl has joined #asahi-dev
11:33chrisl has quit [Ping timeout: 480 seconds]
11:43chrisl has joined #asahi-dev
11:51chrisl has quit [Ping timeout: 480 seconds]
12:00chrisl has joined #asahi-dev
12:07hdbngr has joined #asahi-dev
12:08chrisl has quit [Ping timeout: 480 seconds]
12:16hdbngr has quit [Ping timeout: 480 seconds]
12:17chrisl has joined #asahi-dev
12:26chrisl has quit [Ping timeout: 480 seconds]
12:27bigmac has quit [Quit: WeeChat 3.8]
12:33chrisl has joined #asahi-dev
12:37bigmac has joined #asahi-dev
12:42chrisl has quit [Ping timeout: 480 seconds]
12:51chrisl has joined #asahi-dev
13:00chrisl has quit [Ping timeout: 480 seconds]
13:08hdbngr has joined #asahi-dev
13:08chrisl has joined #asahi-dev
13:12nafod has joined #asahi-dev
13:17chrisl has quit [Ping timeout: 480 seconds]
13:17hdbngr has quit [Ping timeout: 480 seconds]
13:25chrisl has joined #asahi-dev
13:27os has joined #asahi-dev
13:33chrisl has quit [Ping timeout: 480 seconds]
13:38nickchanso 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
13:38hdbngr has joined #asahi-dev
13:41chrisl has joined #asahi-dev
13:47hdbngr has quit [Ping timeout: 480 seconds]
13:50chrisl has quit [Ping timeout: 480 seconds]
13:54hdbngr has joined #asahi-dev
13:59chrisl has joined #asahi-dev
13:59jannauI don't think the linux driver can do anything about this on j314s side. afaik that's handled by cd3217 fw or possible smc
14:00jannausmall compile warning fix after today's merges: https://github.com/AsahiLinux/m1n1/pull/478
14:03hdbngr has quit [Ping timeout: 480 seconds]
14:05hdbngr has joined #asahi-dev
14:08chrisl has quit [Ping timeout: 480 seconds]
14:16chrisl has joined #asahi-dev
14:18hdbngr has quit [Ping timeout: 480 seconds]
14:25chrisl has quit [Ping timeout: 480 seconds]
14:32chrisl has joined #asahi-dev
14:41chrisl has quit [Ping timeout: 480 seconds]
14:46al3xtjames2 has quit [Quit: al3xtjames2]
15:09jannauI'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
15:10hdbngr has joined #asahi-dev
15:11bacarrdy has quit [Ping timeout: 480 seconds]
15:12bacarrdy has joined #asahi-dev
15:17nela2 has joined #asahi-dev
15:19hdbngr has quit [Ping timeout: 480 seconds]
15:21bacarrdy has quit [Ping timeout: 480 seconds]
15:21bacarrdy has joined #asahi-dev
15:30bacarrdy has quit [Ping timeout: 480 seconds]
15:30bacarrdy has joined #asahi-dev
15:36jannauI 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
15:37nickchanthere'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 :/
15:38nickchanI mean mrs() but both has issues seems anything that ends up calling p.call is problematic
15:39bacarrdy has quit [Ping timeout: 480 seconds]
15:39bacarrdy has joined #asahi-dev
15:41jannauso 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
15:41chaos_princessbasic and boring - just the host-to-host interface thing?
15:42svenessentially i just don't want to create another situation where there are 30+ downstream patches for tbt again
15:43chaos_princessyea, a certain someone decided to write a rust driver, and well... :P
15:44svenand then once tbt + pcie hotplug is there it's maybe finally time to buy a m3 or m4 for me ;)
15:46siddhartha has joined #asahi-dev
15:46siddhartha has quit [Remote host closed the connection]
15:46nickchanjannau: im looking into the behaivor because I cannot reproduce the behaivor on a8 and a11 but can on a7 and a10
15:49jannauwe're building with "-march=armv8.2-a". did you change that already? not sure what could blow but LSE atomics certainly would
15:55nickchanokay now that's fun because I have to instruct the compiler to not emit lse atomics while still allowing all those sysreg accesses to happen
15:58bacarrdy has quit [Remote host closed the connection]
15:58bacarrdy has joined #asahi-dev
16:00bgb has quit [Remote host closed the connection]
16:00bgb has joined #asahi-dev
16:05nickchanthis could become an issue down the line for macs too if some newer arm msr needed to be accessed
16:07chadmed has quit [Quit: Konversation terminated!]
16:07chadmed has joined #asahi-dev
16:08chadmed has quit []
16:08chadmed has joined #asahi-dev
16:08nickchanokay all the inline sysreg accesses that causes issues when compiled with -march=armv8-a is within the hv files
16:11hdbngr has joined #asahi-dev
16:16bacarrdy has quit [Ping timeout: 480 seconds]
16:16bacarrdy has joined #asahi-dev
16:18nickchannah there's also a bunch in src/exception.c but linux must be somehow dealing with all of this
16:20hdbngr has quit [Ping timeout: 480 seconds]
16:24nickchanlinux uses -Wa,-march=armv8.4-a -DARM64_ASM_ARCH="armv8.4-a" but that still doesn't fix the
16:25bacarrdy has quit [Ping timeout: 480 seconds]
16:25bacarrdy has joined #asahi-dev
16:27nickchangot it, add .arch armv8.2-a to all the inline asms and it is fine (the critical ones happen via the sysreg wrapper so it really is just 2)
16:29tpw_ruleshi i'm being bothered by device tree differences again. is it possible to have u-boot copy the per-boot/per-device DT stuff to a device tree it loads itself so they can be kept with the kernel instead of m1n1? i made a patch several years ago but the plan was not accepted. maybe things have changed now?
16:31chaos_princessi am not sure how u-boot is involved in that?
16:32nickchanunforunately that does not fix the issue so I need to look further, probably good idea to keep the change in makefile though
16:33chaos_princessok, and how is that related? The per-device data is calculated in m1n1
16:33tpw_ruleshttps://github.com/nix-community/nixos-apple-silicon/blob/b9e89a2b2580d5239bf8b2ca9efc1af0e313ab22/nix/u-boot/0001-m1n1-fdt-compat.patch
16:35chaos_princessalso, this https://github.com/AsahiLinux/m1n1/pull/466 will happen at some point in the future
16:37bacarrdy has quit [Remote host closed the connection]
16:37bacarrdy has joined #asahi-dev
16:37nickchannothing to worry about for upstream then other than the everything compiled for armv8.2-a which is not even the reason things are breaking
16:44rivendell has joined #asahi-dev
16:45hdbngr has joined #asahi-dev
16:54hdbngr has quit [Ping timeout: 480 seconds]
17:12hdbngr has joined #asahi-dev
17:19ece314378925355451680698427415 has joined #asahi-dev
17:21chrisl has joined #asahi-dev
17:21hdbngr has quit [Ping timeout: 480 seconds]
17:24bacarrdy has quit [Ping timeout: 480 seconds]
17:24hdbngr has joined #asahi-dev
17:25dev-muhammad-adel has joined #asahi-dev
17:26bacarrdy has joined #asahi-dev
17:29chrisl has quit [Ping timeout: 480 seconds]
17:36hdbngr has quit [Remote host closed the connection]
17:36hdbngr has joined #asahi-dev
17:36chrisl has joined #asahi-dev
17:43pb17 has quit [Ping timeout: 480 seconds]
17:45chrisl has quit [Ping timeout: 480 seconds]
17:46pb17 has joined #asahi-dev
17:47bacarrdy has quit [Ping timeout: 480 seconds]
17:48bacarrdy has joined #asahi-dev
17:54chrisl has joined #asahi-dev
17:56hdbngr has quit [Ping timeout: 480 seconds]
17:56bacarrdy has quit [Ping timeout: 480 seconds]
17:57bacarrdy has joined #asahi-dev
18:01tpw_rulesit means things can break if you need to use an older kernel cause the device trees don't match anymore
18:01glem81005488994 has quit [Quit: bye.]
18:01hdbngr has joined #asahi-dev
18:02chrisl has quit [Ping timeout: 480 seconds]
18:04chrisl has joined #asahi-dev
18:05svenI don't see how that's caused by the kboot.c surgery. that usually happens because the downstream bindings change while we're upstreaming them
18:11hdbngr has quit [Remote host closed the connection]
18:11hdbngr has joined #asahi-dev
18:12chrisl has quit [Ping timeout: 480 seconds]
18:15bacarrdy has quit [Ping timeout: 480 seconds]
18:16bacarrdy has joined #asahi-dev
18:22chrisl has joined #asahi-dev
18:22glem810054889940 has joined #asahi-dev
18:24hdbngr has quit [Remote host closed the connection]
18:24hdbngr has joined #asahi-dev
18:30dev-muhammad-adel has quit [Read error: Connection reset by peer]
18:30dev-muhammad-adel has joined #asahi-dev
18:32hdbngr has quit [Remote host closed the connection]
18:32hdbngr has joined #asahi-dev
18:36chrisl has quit [Ping timeout: 480 seconds]
18:41hdbngr has quit [Ping timeout: 480 seconds]
18:42ruvam has joined #asahi-dev
18:43jannauI think it's a bad idea because it'll end in madness because you end up with implementing thin in 5 to 10 bootloaders then
18:44bacarrdy has quit [Remote host closed the connection]
18:44WindowPain0 has joined #asahi-dev
18:44bacarrdy has joined #asahi-dev
18:44chrisl has joined #asahi-dev
18:44okb has quit [Ping timeout: 480 seconds]
18:48sveni think we just need to continue upstreaming the current backlog and ideally then start working upstream first for new hardware support
18:50WindowPain has quit [Ping timeout: 480 seconds]
18:50WindowPain0 is now known as WindowPain
18:52chrisl has quit [Ping timeout: 480 seconds]
19:00chrisl has joined #asahi-dev
19:08opoku has quit [Remote host closed the connection]
19:08bacarrdy has quit [Ping timeout: 480 seconds]
19:09bacarrdy has joined #asahi-dev
19:13chrisl has quit [Ping timeout: 480 seconds]
19:14hdbngr has joined #asahi-dev
19:17bacarrdy has quit [Remote host closed the connection]
19:21chrisl has joined #asahi-dev
19:23bacarrdy has joined #asahi-dev
19:23hdbngr has quit [Ping timeout: 480 seconds]
19:23dev-muhammad-adel has quit [Ping timeout: 480 seconds]
19:23dev-muhammad-adel has joined #asahi-dev
19:30chrisl has quit [Ping timeout: 480 seconds]
19:38chrisl has joined #asahi-dev
19:43Demostrike has quit [Quit: The Lounge - https://thelounge.chat]
19:45Demostrike has joined #asahi-dev
19:47chrisl has quit [Ping timeout: 480 seconds]
19:52dev-muhammad-adel has quit [Ping timeout: 480 seconds]
19:52dev-muhammad-adel has joined #asahi-dev
19:53bgb has quit [Remote host closed the connection]
19:53bgb has joined #asahi-dev
19:55chrisl has joined #asahi-dev
20:04chrisl has quit [Ping timeout: 480 seconds]
20:06catred has joined #asahi-dev
20:06chrisl has joined #asahi-dev
20:14chrisl has quit [Ping timeout: 480 seconds]
20:15hdbngr has joined #asahi-dev
20:17ece314378925355451680698427415 has quit [Ping timeout: 480 seconds]
20:24hdbngr has quit [Ping timeout: 480 seconds]
20:24chrisl has joined #asahi-dev
20:33chrisl has quit [Ping timeout: 480 seconds]
20:41dev-muhammad-adel has quit [Ping timeout: 480 seconds]
20:41dev-muhammad-adel has joined #asahi-dev
20:42chrisl has joined #asahi-dev
20:50chrisl has quit [Ping timeout: 480 seconds]
20:54chadmed has quit [Quit: Konversation terminated!]
20:54chadmed has joined #asahi-dev
20:58chrisl has joined #asahi-dev
21:15chrisl has quit [Ping timeout: 480 seconds]
21:16hdbngr has joined #asahi-dev
21:24chrisl has joined #asahi-dev
21:30opoku has joined #asahi-dev
21:32opoku has quit []
21:33chrisl has quit [Ping timeout: 480 seconds]
21:40chrisl has joined #asahi-dev
21:49bgb has quit [Remote host closed the connection]
21:49chrisl has quit [Ping timeout: 480 seconds]
21:49bgb has joined #asahi-dev
21:56chrisl has joined #asahi-dev
22:05chrisl has quit [Ping timeout: 480 seconds]
22:08chrisl has joined #asahi-dev
22:11dev-muhammad-adel has quit [Ping timeout: 480 seconds]
22:16chrisl has quit [Ping timeout: 480 seconds]
22:17chadmed has quit [Quit: Konversation terminated!]
22:17chadmed has joined #asahi-dev
22:24chrisl has joined #asahi-dev
22:33chrisl has quit [Ping timeout: 480 seconds]
22:41chrisl has joined #asahi-dev
22:44rivendell has quit [Remote host closed the connection]
22:45opoku has joined #asahi-dev
22:48glem8100548899406 has joined #asahi-dev
22:49chrisl has quit [Ping timeout: 480 seconds]
22:54glem810054889940 has quit [Ping timeout: 480 seconds]
22:54glem8100548899406 is now known as glem810054889940
22:59chrisl has joined #asahi-dev
23:08chrisl has quit [Ping timeout: 480 seconds]
23:09chrisl has joined #asahi-dev
23:17chrisl has quit [Ping timeout: 480 seconds]
23:18hdbngr has quit [Ping timeout: 480 seconds]