#
…

2025-08-11

00:00hdbngr has quit [Ping timeout: 480 seconds]
00:50XeR has quit []
00:53mildsunrise3 has quit [Quit: disconnect]
00:54mildsunrise3 has joined #asahi-dev
01:03chrisl has joined #asahi-dev
01:11chrisl has quit [Ping timeout: 480 seconds]
01:12chrisl has joined #asahi-dev
01:20chrisl has quit [Ping timeout: 480 seconds]
01:28chrisl has joined #asahi-dev
01:36chrisl has quit [Ping timeout: 480 seconds]
01:44chrisl has joined #asahi-dev
01:52chrisl has quit [Ping timeout: 480 seconds]
02:00gabuscus has quit []
02:00chrisl has joined #asahi-dev
02:05hdbngr has joined #asahi-dev
02:09chrisl has quit [Ping timeout: 480 seconds]
02:13chrisl has joined #asahi-dev
02:13hdbngr has quit [Ping timeout: 480 seconds]
02:21hdbngr has joined #asahi-dev
02:21chrisl has quit [Ping timeout: 480 seconds]
02:30hdbngr has quit [Ping timeout: 480 seconds]
02:30chrisl has joined #asahi-dev
02:37pb17 has quit [Ping timeout: 480 seconds]
02:38chrisl has quit [Ping timeout: 480 seconds]
02:42prike8 has joined #asahi-dev
02:47chrisl has joined #asahi-dev
02:48prike has quit [Ping timeout: 480 seconds]
02:48prike8 is now known as prike
02:54tobhe has joined #asahi-dev
02:55chrisl has quit [Ping timeout: 480 seconds]
03:01tobhe_ has quit [Ping timeout: 480 seconds]
03:02skipwich has quit [Remote host closed the connection]
03:03skipwich has joined #asahi-dev
03:07pb17 has joined #asahi-dev
03:17nora has joined #asahi-dev
03:19nora_ has quit [Ping timeout: 480 seconds]
03:42gabuscus has joined #asahi-dev
03:44hdbngr has joined #asahi-dev
03:52hdbngr has quit [Ping timeout: 480 seconds]
04:31chrisl has joined #asahi-dev
04:39hdbngr has joined #asahi-dev
04:39chrisl has quit [Ping timeout: 480 seconds]
04:47chrisl has joined #asahi-dev
04:50prike6 has joined #asahi-dev
04:53hdbngr has quit [Ping timeout: 480 seconds]
04:56chrisl has quit [Ping timeout: 480 seconds]
04:56prike has quit [Ping timeout: 480 seconds]
04:56prike6 is now known as prike
05:04chrisl has joined #asahi-dev
05:13chrisl has quit [Ping timeout: 480 seconds]
05:16chrisl has joined #asahi-dev
05:18larstiq_ has quit [Quit: ZNC - http://znc.in]
05:18LarstiQ has joined #asahi-dev
05:19prike has quit [Ping timeout: 480 seconds]
05:24chrisl has quit [Ping timeout: 480 seconds]
05:40hdbngr has joined #asahi-dev
05:51chrisl has joined #asahi-dev
05:54hdbngr has quit [Ping timeout: 480 seconds]
06:02chrisl has quit [Ping timeout: 480 seconds]
06:12chrisl has joined #asahi-dev
06:25chrisl has quit [Ping timeout: 480 seconds]
06:33chrisl has joined #asahi-dev
06:34hdbngr has joined #asahi-dev
06:42chrisl has quit [Ping timeout: 480 seconds]
06:43hdbngr has quit [Ping timeout: 480 seconds]
06:48chadmedthoughts on dropping unused parts of the ADT API? the original design was meant to be 1:1 with libfdt readonly but there are a few methods that are actually unused anywhere in m1n1
06:49chadmedgetting rid of them will allow the Rust side to be more sound by default
06:51chrisl has joined #asahi-dev
07:00chrisl has quit [Ping timeout: 480 seconds]
07:05snklp has joined #asahi-dev
07:06ravikant_ has joined #asahi-dev
07:08chrisl has joined #asahi-dev
07:19hdbngr has joined #asahi-dev
07:21bjoto has joined #asahi-dev
07:26chrisl has quit [Ping timeout: 480 seconds]
07:31nickchan- has joined #asahi-dev
07:32nickchan has quit [Remote host closed the connection]
07:34chrisl has joined #asahi-dev
07:42chrisl has quit [Ping timeout: 480 seconds]
07:51chrisl has joined #asahi-dev
08:00chrisl has quit [Ping timeout: 480 seconds]
08:07svenfine with me
08:07svenalso happy to change the C API completely, the current one is bit awkward
08:09chrisl has joined #asahi-dev
08:18chrisl has quit [Ping timeout: 480 seconds]
08:27chrisl has joined #asahi-dev
08:29nela2 is now known as nela
08:29nela has quit [Quit: bye!]
08:29nela has joined #asahi-dev
08:31chadmeddo we have coccinelle? :P
08:31chadmedthere are soooo many consumers
08:36chrisl has quit [Ping timeout: 480 seconds]
08:38sventrue :D
08:42chadmedwhat do you consider awkward about it? i personally think the way you get a reg container is a bit insane but idk if thats constrained by how the ADT works or what
08:42chadmed has quit [Quit: Konversation terminated!]
08:42chadmed has joined #asahi-dev
08:45chrisl has joined #asahi-dev
08:47svenall this node offset stuff always feels weird to me
08:47svenand yeah, getting the reg container is also, uh, interesting
08:48svenI think it all comes from the fdt api which feels like a very thin wrapper around the fdt format
08:48chadmedyeah the idea was to copy what fdt does but its not very ergonomic
08:48chadmedim not sure why get_reg needs to iterate over an entire absolute path though
08:48chadmedthats why i didnt touch it and just copied it 1:1
08:49chadmedimo it should just be get_reg(*ADTNode node, int reg_index)
08:50svenyeah, something like that
08:50chaos_princessisn't it because of the offsets, you constantly need to re-walk the data structure if you have done any changes
08:50svenand the offset stuff shouldn’t be exposed to the API level, that’s imho an implementation detail
08:50chadmedchaos_princess: the API is incapable of making any changes though apart from setting the value of some property
08:51chadmedit cant add/remove nodes or properties
08:51chaos_princesscan you set a prop to a bigger value?
08:52chaos_princessand does that shift things around?
08:52chadmednah they have to be the same size
08:52chadmedor we return AdtError::BadLength
08:52chaos_princessi think we can rip out 99% of the offset stuff then
08:53chrisl has quit [Ping timeout: 480 seconds]
08:54chadmedi dont feel like rewriting like 30% of m1n1 before i go on holiday though
08:54chaos_princesswe do not care about offset invalidation, so newtype the offsets for rust and keep them as ints for c api
08:55svenjust ask your favorite slop generator to do the rewrite /s
08:55chadmedi tried gpt-5 at work the other day out of curiosity and its honestly worse than i expected it to be
08:56svenI tried it for the atcphy dt bindings a few weeks ago. it created two subtle errors that took me longer to fix that just writing the entire thing myself :/
08:56svenwhere it was some copilot model, dunno which one
08:57chaos_princessit is such a hilarious shitshow, they focused more on coding, but according to slop enjoyers, claude is still better, and now they have people who used 4o as a "friend replacement" whining at them for changing the personality they got used to
08:57chadmedwe're out of the blitzscaling phase and into the "haha whatre you gonna do, not use it?" phase
08:58chadmedtook saas/cloud like 15 years to get to the same point :P
09:01chrisl has joined #asahi-dev
09:06jannauget_reg needs to walk the tree to do "ranges" based address translation
09:09chrisl has quit [Ping timeout: 480 seconds]
09:17chrisl has joined #asahi-dev
09:25chrisl has quit [Ping timeout: 480 seconds]
09:26chadmedi wonder then if its better to simply do get_reg(ADTNode *node, int reg_index) then internally build the tree and not expose path_offset_trace at all
09:27chadmedbut then we're doing that twice, since we still need to do that to get the reference to the node in the first place...
09:30maz_ has joined #asahi-dev
09:33chrisl has joined #asahi-dev
09:41hdbngr has quit [Ping timeout: 480 seconds]
09:41chrisl has quit [Ping timeout: 480 seconds]
09:49chrisl has joined #asahi-dev
09:50hdbngr has joined #asahi-dev
09:57chrisl has quit [Ping timeout: 480 seconds]
10:00hdbngr has quit [Ping timeout: 480 seconds]
10:06chrisl has joined #asahi-dev
10:08hdbngr has joined #asahi-dev
10:08maz_ has quit []
10:08maz_ has joined #asahi-dev
10:14chrisl has quit [Ping timeout: 480 seconds]
10:16hdbngr has quit [Ping timeout: 480 seconds]
10:22chrisl has joined #asahi-dev
10:23maz_ has quit []
10:24hdbngr has joined #asahi-dev
10:30chrisl has quit [Ping timeout: 480 seconds]
10:34hdbngr has quit [Ping timeout: 480 seconds]
10:36hdbngr has joined #asahi-dev
10:39nickchan-updated two pre-m1 prs the armv8-a one now compiles the asm and hv code as armv8.2-a (all other c file armv8-a), and the requested changes for the uncore pmc handling one
10:39chrisl has joined #asahi-dev
10:40nickchan-Technically I should go and patch Linux's upmc handling too but there's not much incentive to do so right now... since the bootloader will silence the registers already
10:45hdbngr has quit [Ping timeout: 480 seconds]
10:48chrisl has quit [Ping timeout: 480 seconds]
10:52hdbngr has joined #asahi-dev
11:01hdbngr has quit [Ping timeout: 480 seconds]
11:08hdbngr has joined #asahi-dev
11:13chadmedokay i have an idea for getting rid of offsets entirely but it will require some glue code for the C binding
11:14chadmedthe runtime cost should be negligible though
11:21hdbngr has quit [Ping timeout: 480 seconds]
11:23ravikant_ has quit [Ping timeout: 480 seconds]
11:27hdbngr has joined #asahi-dev
11:35hdbngr has quit [Ping timeout: 480 seconds]
11:44hdbngr has joined #asahi-dev
11:46nickchan- has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
11:46nickchan has joined #asahi-dev
11:48chrisl has joined #asahi-dev
11:55hdbngr has quit [Ping timeout: 480 seconds]
11:57chrisl has quit [Ping timeout: 480 seconds]
12:01chrisl has joined #asahi-dev
12:05glem8100548899408 has joined #asahi-dev
12:08glem810054889940 has quit [Ping timeout: 480 seconds]
12:08glem8100548899408 is now known as glem810054889940
12:10chrisl has quit [Ping timeout: 480 seconds]
12:12jannauthe joys of running make dtbs_check on the t602x device trees
12:19chrisl has joined #asahi-dev
12:20ravikant_ has joined #asahi-dev
12:21hdbngr has joined #asahi-dev
12:28chrisl has quit [Ping timeout: 480 seconds]
12:36chrisl has joined #asahi-dev
12:44chrisl has quit [Ping timeout: 480 seconds]
12:53chrisl has joined #asahi-dev
12:54hdbngr has quit [Ping timeout: 480 seconds]
13:02hdbngr has joined #asahi-dev
13:02chrisl has quit [Ping timeout: 480 seconds]
13:10chrisl has joined #asahi-dev
13:12hdbngr has quit [Ping timeout: 480 seconds]
13:18chrisl has quit [Ping timeout: 480 seconds]
13:21hdbngr has joined #asahi-dev
13:26chrisl has joined #asahi-dev
13:27snklp1 has joined #asahi-dev
13:27snklp has quit [Quit: snklp]
13:27snklp1 is now known as snklp
13:28snklp has quit []
13:29hdbngr has quit [Ping timeout: 480 seconds]
13:35chrisl has quit [Ping timeout: 480 seconds]
13:37hdbngr has joined #asahi-dev
13:43chrisl has joined #asahi-dev
13:48hdbngr has quit [Ping timeout: 480 seconds]
13:51chrisl has quit [Ping timeout: 480 seconds]
13:55midou has quit [Ping timeout: 480 seconds]
13:57hdbngr has joined #asahi-dev
14:00chrisl has joined #asahi-dev
14:05hdbngr has quit [Ping timeout: 480 seconds]
14:09chrisl has quit [Ping timeout: 480 seconds]
14:13hdbngr has joined #asahi-dev
14:15john-cabaj has joined #asahi-dev
14:17chrisl has joined #asahi-dev
14:23midou has joined #asahi-dev
14:24hdbngr has quit [Ping timeout: 480 seconds]
14:24hdbngr has joined #asahi-dev
14:26chrisl has quit [Ping timeout: 480 seconds]
14:33hdbngr has quit [Ping timeout: 480 seconds]
14:34chrisl has joined #asahi-dev
14:37hdbngr has joined #asahi-dev
14:42chrisl has quit [Ping timeout: 480 seconds]
14:46hdbngr has quit [Ping timeout: 480 seconds]
14:50chrisl has joined #asahi-dev
14:52zumi has joined #asahi-dev
14:55hdbngr has joined #asahi-dev
14:58chrisl has quit [Ping timeout: 480 seconds]
15:02chrisl has joined #asahi-dev
15:06hdbngr has quit [Ping timeout: 480 seconds]
15:08hdbngr has joined #asahi-dev
15:11chrisl has quit [Ping timeout: 480 seconds]
15:18cylm has joined #asahi-dev
15:19chrisl has joined #asahi-dev
15:24chadmed has quit [Quit: Konversation terminated!]
15:25chadmed has joined #asahi-dev
15:27hdbngr has quit [Ping timeout: 480 seconds]
15:35chrisl has quit [Ping timeout: 480 seconds]
15:37hdbngr has joined #asahi-dev
15:44chrisl has joined #asahi-dev
15:53chrisl has quit [Ping timeout: 480 seconds]
16:01chrisl has joined #asahi-dev
16:04hdbngr has quit [Ping timeout: 480 seconds]
16:10chrisl has quit [Ping timeout: 480 seconds]
16:11ravikant_ has quit [Ping timeout: 480 seconds]
16:11hdbngr has joined #asahi-dev
16:17chrisl has joined #asahi-dev
16:26chrisl has quit [Ping timeout: 480 seconds]
16:27Ariadne has quit [Remote host closed the connection]
16:27Ariadne has joined #asahi-dev
16:31chadmed has quit [Quit: Konversation terminated!]
16:31chadmed has joined #asahi-dev
16:35chrisl has joined #asahi-dev
16:44chrisl has quit [Ping timeout: 480 seconds]
17:07linuxgemini has quit [Quit: getting (hopefully fresh) air o/]
17:07hdbngr has quit [Ping timeout: 480 seconds]
17:20hdbngr has joined #asahi-dev
17:22amarioguy has joined #asahi-dev
17:26amarioguy has quit [Remote host closed the connection]
17:35chrisl has joined #asahi-dev
17:36linuxgemini has joined #asahi-dev
17:39hdbngr has quit [Ping timeout: 480 seconds]
17:40hdbngr has joined #asahi-dev
17:44chrisl has quit [Ping timeout: 480 seconds]
17:51hdbngr has quit [Ping timeout: 480 seconds]
17:52chrisl has joined #asahi-dev
17:52hdbngr has joined #asahi-dev
17:52hamr has quit [Read error: Connection reset by peer]
17:53hamr has joined #asahi-dev
17:56hamr has quit []
17:58hamr has joined #asahi-dev
18:01chrisl has quit [Ping timeout: 480 seconds]
18:03zumi_ has joined #asahi-dev
18:04chrisl has joined #asahi-dev
18:05hdbngr has quit [Ping timeout: 480 seconds]
18:08zumi has quit [Ping timeout: 480 seconds]
18:08zumi_ is now known as zumi
18:12chrisl has quit [Ping timeout: 480 seconds]
18:18hdbngr has joined #asahi-dev
18:22chrisl has joined #asahi-dev
18:24cylm_ has joined #asahi-dev
18:30cylm has quit [Ping timeout: 480 seconds]
18:30chrisl has quit [Ping timeout: 480 seconds]
18:37hdbngr has quit [Ping timeout: 480 seconds]
18:40chrisl has joined #asahi-dev
18:40hdbngr has joined #asahi-dev
18:48chrisl has quit [Ping timeout: 480 seconds]
19:14hdbngr has quit [Read error: Connection reset by peer]
19:17hdbngr has joined #asahi-dev
19:46hdbngr has quit [Ping timeout: 480 seconds]
20:13bgb has quit [Remote host closed the connection]
20:13bgb has joined #asahi-dev
20:22chrisl has joined #asahi-dev
20:28ravikant_ has joined #asahi-dev
20:30chrisl has quit [Ping timeout: 480 seconds]
20:31cylm has joined #asahi-dev
20:37cylm_ has quit [Ping timeout: 480 seconds]
20:38chrisl has joined #asahi-dev
20:42hdbngr has joined #asahi-dev
20:46chaos_princess has quit [Quit: chaos_princess]
20:47chrisl has quit [Ping timeout: 480 seconds]
20:47chaos_princess has joined #asahi-dev
20:58cylm_ has joined #asahi-dev
20:58hdbngr has quit [Read error: Connection reset by peer]
21:00cylm has quit [Ping timeout: 480 seconds]
21:01hdbngr has joined #asahi-dev
21:08ddxtanx has quit [Remote host closed the connection]
21:09hdbngr has quit [Ping timeout: 480 seconds]
21:10dhinakg has quit [Quit: dhinakg]
21:12rivendell has joined #asahi-dev
21:15john-cabaj has quit [Ping timeout: 480 seconds]
21:16chadmed has quit [Quit: Konversation terminated!]
21:16chadmed has joined #asahi-dev
21:17chadmed has quit []
21:17chadmed has joined #asahi-dev
21:17chadmed has quit []
21:17chadmed has joined #asahi-dev
21:18john-cabaj has joined #asahi-dev
21:20rivendell has quit [Ping timeout: 480 seconds]
21:21rivendell has joined #asahi-dev
21:23ravikant_ has quit [Ping timeout: 480 seconds]
21:23ddxtanx has joined #asahi-dev
21:26ansg191 has quit [Remote host closed the connection]
21:27pb17 has quit [Ping timeout: 480 seconds]
21:28pb17 has joined #asahi-dev
21:29dhinakg has joined #asahi-dev
21:29dhinakg has quit []
21:37ansg191 has joined #asahi-dev
21:38dhinakg has joined #asahi-dev
21:40rivendell has quit [Quit: rivendell]
21:41hdbngr has joined #asahi-dev
21:45ddxtanx has quit [Remote host closed the connection]
21:49hdbngr has quit [Ping timeout: 480 seconds]
21:50ansg191 has quit [Remote host closed the connection]
21:51ansg191 has joined #asahi-dev
21:55ddxtanx has joined #asahi-dev
21:56ddxtanx has quit [Remote host closed the connection]
21:57hdbngr has joined #asahi-dev
22:03ddxtanx has joined #asahi-dev
22:07hdbngr has quit [Ping timeout: 480 seconds]
22:16hdbngr has joined #asahi-dev
22:17john-cabaj has quit [Ping timeout: 480 seconds]
22:20cylm_ has quit [Quit: WeeChat 4.7.0]
22:25hdbngr has quit [Ping timeout: 480 seconds]
22:25chrisl has joined #asahi-dev
22:31john-cabaj has joined #asahi-dev
22:33chrisl has quit [Ping timeout: 480 seconds]
22:41chrisl has joined #asahi-dev
22:44Lyude has quit [Ping timeout: 480 seconds]
22:49chrisl has quit [Ping timeout: 480 seconds]
22:59chrisl has joined #asahi-dev
23:04hdbngr has joined #asahi-dev
23:07chrisl has quit [Ping timeout: 480 seconds]
23:09chrisl has joined #asahi-dev
23:17chrisl has quit [Ping timeout: 480 seconds]
23:20hdbngr has quit [Ping timeout: 480 seconds]
23:26chrisl has joined #asahi-dev
23:34chrisl has quit [Ping timeout: 480 seconds]
23:40chrisl has joined #asahi-dev
23:48chrisl has quit [Ping timeout: 480 seconds]
23:50hdbngr has joined #asahi-dev
23:55chrisl has joined #asahi-dev
23:59hdbngr has quit [Ping timeout: 480 seconds]
…