2026-01-18
00:06hdbngr has joined #asahi-dev
00:14hdbngr has quit [Ping timeout: 480 seconds]
00:23hdbngr has joined #asahi-dev
00:38pb17 has quit [Ping timeout: 480 seconds]
00:39cow123 has quit [Ping timeout: 480 seconds]
00:42pb17 has joined #asahi-dev
01:03mixi has quit [Ping timeout: 480 seconds]
01:08cow123 has joined #asahi-dev
01:10hdbngr has quit [Ping timeout: 480 seconds]
01:13mixi has joined #asahi-dev
01:18hdbngr has joined #asahi-dev
01:22fl0_id___ has joined #asahi-dev
01:27hdbngr has quit [Ping timeout: 480 seconds]
01:35hdbngr has joined #asahi-dev
01:43hdbngr has quit [Ping timeout: 480 seconds]
01:46cow123 has quit [Read error: Connection reset by peer]
01:51hdbngr has joined #asahi-dev
01:58cow123 has joined #asahi-dev
02:06hdbngr has quit [Ping timeout: 480 seconds]
02:07fl0_id___ has quit [Ping timeout: 480 seconds]
02:15hdbngr has joined #asahi-dev
02:24hdbngr has quit [Ping timeout: 480 seconds]
02:33hdbngr has joined #asahi-dev
02:42hdbngr has quit [Ping timeout: 480 seconds]
02:50hdbngr has joined #asahi-dev
03:02tobhe_ has joined #asahi-dev
03:05hdbngr has quit [Ping timeout: 480 seconds]
03:09tobhe has quit [Ping timeout: 480 seconds]
03:14hexdump0815 has joined #asahi-dev
03:14hdbngr has joined #asahi-dev
03:16hexdump01 has quit [Ping timeout: 480 seconds]
03:23hdbngr has quit [Ping timeout: 480 seconds]
03:29bigsilicon has joined #asahi-dev
03:31hdbngr has joined #asahi-dev
03:40hdbngr has quit [Ping timeout: 480 seconds]
03:47hdbngr has joined #asahi-dev
03:56hdbngr has quit [Ping timeout: 480 seconds]
03:58hdbngr has joined #asahi-dev
04:00tobhe has joined #asahi-dev
04:06bigsilicon has quit [Ping timeout: 480 seconds]
04:06tobhe_ has quit [Ping timeout: 480 seconds]
04:07hdbngr has quit [Ping timeout: 480 seconds]
04:15hdbngr has joined #asahi-dev
04:17nora_ has joined #asahi-dev
04:19nora has quit [Ping timeout: 480 seconds]
04:23hdbngr has quit [Ping timeout: 480 seconds]
04:31hdbngr has joined #asahi-dev
04:39hdbngr has quit [Ping timeout: 480 seconds]
04:47hdbngr has joined #asahi-dev
04:48midou has quit [Remote host closed the connection]
04:52pb17 has quit [Ping timeout: 480 seconds]
04:53midou has joined #asahi-dev
04:56hdbngr has quit [Ping timeout: 480 seconds]
04:59hdbngr has joined #asahi-dev
05:04pb17 has joined #asahi-dev
05:08hdbngr has quit [Ping timeout: 480 seconds]
05:17hdbngr has joined #asahi-dev
05:18midou has quit [Ping timeout: 480 seconds]
05:26hdbngr has quit [Ping timeout: 480 seconds]
05:33hdbngr has joined #asahi-dev
05:42hdbngr has quit [Ping timeout: 480 seconds]
05:46midou has joined #asahi-dev
05:49hdbngr has joined #asahi-dev
05:57hdbngr has quit [Ping timeout: 480 seconds]
06:00hdbngr has joined #asahi-dev
06:09hdbngr has quit [Ping timeout: 480 seconds]
06:16hdbngr has joined #asahi-dev
06:20pb17 has quit [Ping timeout: 480 seconds]
06:22midou has quit [Read error: No route to host]
06:25hdbngr has quit [Ping timeout: 480 seconds]
06:25pb17 has joined #asahi-dev
06:32hdbngr has joined #asahi-dev
06:41hdbngr has quit [Ping timeout: 480 seconds]
06:42hdbngr has joined #asahi-dev
06:43midou has joined #asahi-dev
06:57hdbngr has quit [Ping timeout: 480 seconds]
06:58hdbngr has joined #asahi-dev
07:00lacamar has joined #asahi-dev
07:01lacamar- has joined #asahi-dev
07:07lacamar_ has quit [Ping timeout: 480 seconds]
07:08lacamar has quit [Ping timeout: 480 seconds]
07:10hdbngr has quit [Ping timeout: 480 seconds]
07:17hdbngr has joined #asahi-dev
07:26hdbngr has quit [Ping timeout: 480 seconds]
07:34hdbngr has joined #asahi-dev
07:36midou has quit [Ping timeout: 480 seconds]
07:36maor26 has joined #asahi-dev
07:43hdbngr has quit [Ping timeout: 480 seconds]
07:51hdbngr has joined #asahi-dev
07:54midou has joined #asahi-dev
08:00hdbngr has quit [Ping timeout: 480 seconds]
08:02hdbngr has joined #asahi-dev
08:11hdbngr has quit [Ping timeout: 480 seconds]
08:20hdbngr has joined #asahi-dev
08:28hdbngr has quit [Ping timeout: 480 seconds]
08:35midou has quit [Ping timeout: 480 seconds]
08:36hdbngr has joined #asahi-dev
08:43midou has joined #asahi-dev
08:45hdbngr has quit [Ping timeout: 480 seconds]
08:53hdbngr has joined #asahi-dev
09:02hdbngr has quit [Ping timeout: 480 seconds]
09:03hdbngr has joined #asahi-dev
09:07okb has joined #asahi-dev
09:08midou has quit [Ping timeout: 480 seconds]
09:12hdbngr has quit [Ping timeout: 480 seconds]
09:19hdbngr has joined #asahi-dev
09:26midou has joined #asahi-dev
09:28hdbngr has quit [Ping timeout: 480 seconds]
09:36hdbngr has joined #asahi-dev
09:45hdbngr has quit [Ping timeout: 480 seconds]
09:54hdbngr has joined #asahi-dev
10:06chadmed has quit [Quit: Konversation terminated!]
10:06chadmed has joined #asahi-dev
10:08chadmed has quit []
10:08chadmed has joined #asahi-dev
10:09chadmed has quit []
10:09chadmed has joined #asahi-dev
10:13hdbngr has quit [Ping timeout: 480 seconds]
10:21hdbngr has joined #asahi-dev
10:26okb has quit [Ping timeout: 480 seconds]
10:30hdbngr has quit [Ping timeout: 480 seconds]
10:31okb has joined #asahi-dev
10:34jannaulooks like switching the baudrate to 1.5M on the hw uart broke. this is likely broken with CS anyway
10:39hdbngr has joined #asahi-dev
10:46jannauwith m1n1 but might be an m3 issue as it does work with a m1 device. possibly different uart clock
10:47hdbngr has quit [Ping timeout: 480 seconds]
10:49hdbngr has joined #asahi-dev
10:52nickchan has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
10:53nickchan has joined #asahi-dev
10:55nickchan has quit []
10:56nickchan has joined #asahi-dev
10:57hdbngr has quit [Ping timeout: 480 seconds]
11:00hdbngr has joined #asahi-dev
11:32SandwichBtw has joined #asahi-dev
11:34SandwichBtw has quit []
11:34SandwichBtw has joined #asahi-dev
11:45integralpilot has joined #asahi-dev
11:46integralpilotjannau: ack your SMC & dockchannel feedback, thanks for your time in looking into it! i'm a bit busy today and for the next few days so won't be able to reply properly for a bit, sorry.
11:46integralpilot has quit []
11:46integralpilot has joined #asahi-dev
11:47integralpilotthough not sure about removing the dynamic allocation of props, nickchan said it helped with earlier gen stuff even fewer of the features are available.
11:47integralpilot has quit []
11:48chadmedbe sure to make a note of that on list in a reply. it is frowned upon to be perceived as "ignoring" feedback on the list
11:53nickchancan technically get away with static allocation if just for M1/M2/M3 and decrementing num_properties but that way no new property can be added
11:55svenbut yeah, the discussion (or at least a summary) should be on list now that's submitted there :)
11:57hdbngr has quit [Ping timeout: 480 seconds]
11:57nickchanbtw i have a working prototype now (absolutely not readying though with things like 5V1A hardcode): https://github.com/HoolockLinux/linux/blob/hoolock/drivers/power/supply/macsmc-power.c
11:58nickchanand i already found a better way of checking some keys instead of hardcoding compatible, in any case that's quite ready
11:59svenmaybe just reply on the list that dynamic allocation will be useful for a future series for pre-M1 support
12:00svenintegralpilot: also, LKML is fairly slow. it's not uncommon for replies to take 1-2 weeks to come in ;)
12:01sventhat's why we usually do pre-reviews with the folks here to at least get all the simple stuff out of the way
12:02jannauintegralpilot: ack. take your time. it took v3 for me to actually looking at it so no hurry
12:05jannaudynamic allocation is ok, I was only looking at the code in the patch where it's not necessry
12:07jannauextending the list static array would be possible. I doubt the property list needs to be sorted in a particular way. also there is another end. Not serious about this. at this point the dynamic list is preferable
12:08nickchanmaybe ML really isn't the best way to do code development, if only there's web UI integrated with git... oh wait
12:08nickchanmaybe ML really isn't the best way to do code development, if only there's web UI integrated with git... oh wait
12:10hdbngr has joined #asahi-dev
12:17jannaunickchan: I guess the point is moot if we do dynamic properties anyway. I was my assumption
12:25hdbngr has quit [Ping timeout: 480 seconds]
12:55integralpilot has joined #asahi-dev
12:55integralpilotOOOPS i replied instead of reply all :(
12:56integralpilotoh that was only for jannau's
12:56integralpiloti'll send it again as a reply all, sorry!
12:57hdbngr has joined #asahi-dev
13:05hdbngr has quit [Ping timeout: 480 seconds]
13:06integralpilot has quit [Quit: integralpilot]
13:10okb has quit [Quit: Leaving]
13:16pb17 has quit [Ping timeout: 480 seconds]
13:18pb17 has joined #asahi-dev
13:29bigsilicon has joined #asahi-dev
13:33hdbngr has joined #asahi-dev
13:33bigsilicon has quit [Remote host closed the connection]
13:42hdbngr has quit [Ping timeout: 480 seconds]
13:45hdbngr has joined #asahi-dev
13:53hdbngr has quit [Ping timeout: 480 seconds]
14:10chadmed has quit [Ping timeout: 480 seconds]
14:18chadmed has joined #asahi-dev
14:24fzwoch[m] has joined #asahi-dev
14:25bigsilicon has joined #asahi-dev
14:36nnym_ is now known as nnym
14:37pb17 has quit [Ping timeout: 480 seconds]
14:41balrog has quit []
14:41hdbngr has joined #asahi-dev
14:44balrog has joined #asahi-dev
14:46hdbngr has quit [Remote host closed the connection]
14:55hdbngr has joined #asahi-dev
14:55chadmed has quit [Ping timeout: 480 seconds]
14:57bigsilicon has quit [Quit: bigsilicon]
14:58bigsilicon has joined #asahi-dev
15:00pb17 has joined #asahi-dev
15:03hdbngr has quit [Ping timeout: 480 seconds]
15:08bigsilicon has quit [Quit: bigsilicon]
15:08bigsilicon has joined #asahi-dev
15:35yukamade the central scrutinizer firmware present two serial ports for control commands and the uart
15:36hdbngr has joined #asahi-dev
15:39jannauthat sounds if there is nothing on the uart. either m1n1 is broken or it fails to switch the remote port to debug
15:45hdbngr has quit [Ping timeout: 480 seconds]
15:47hdbngr has joined #asahi-dev
15:49chadmed has joined #asahi-dev
15:57yukaI'm not sure how it works, how does the proxyclient tell m1n1 to adjust its baudrate if the m1n1 receiving baud rate is initially wrong?
15:57bigsilicon has quit [Quit: bigsilicon]
15:58nickchanhttps://github.com/AsahiLinux/m1n1/blob/717054aaf02c5419cd59fe9c78bae65afda70713/proxyclient/m1n1/proxyutils.py#L543
15:59nora has joined #asahi-dev
16:00nora_ has quit [Ping timeout: 480 seconds]
16:02yukain my case, it does the iodev_whoami(), which fails so it sets do_baud = False and assumes 1500000. If I set this to anything else, it would mismatch the baud rate configured on the m1n1 side, no?
16:21yukaSo, if I use a stage 1 m1n1 with usb support (no BRINGUP), I can connect via usb and set the uart baud rate to 115200, and then hardcode it to the same in bootstrap_port()
16:31yukaI still don't see any way for proxyclient to work if the initial baud rate does not match (before even attempting to check)
16:31yukaif the initial baud rate on the other side is not 1.5M, it will always fail get the iodev_whami(), and then wrongly assume it's already set to 1.5M
16:34jannauthe initial baudrate is 115200. if the proxyclent doesn't receive a reply it assumes it has already switched to 1.5 Mb
16:35___nick___ has joined #asahi-dev
16:55hdbngr has quit [Ping timeout: 480 seconds]
16:56hdbngr has joined #asahi-dev
16:57rodmac has joined #asahi-dev
17:06___nick___ has quit []
17:08fl0_id___ has joined #asahi-dev
17:11___nick___ has joined #asahi-dev
17:12hdbngr has quit [Ping timeout: 480 seconds]
17:18fl0_id___a few days ago I think someone suggested that the memory layout might be different on m3 max. should this be visible in adts?
17:18midou_ has joined #asahi-dev
17:19midou has quit [Remote host closed the connection]
17:19hdbngr has joined #asahi-dev
17:27mike-p has joined #asahi-dev
17:32hdbngr has quit [Ping timeout: 480 seconds]
17:35hdbngr has joined #asahi-dev
17:44hdbngr has quit [Ping timeout: 480 seconds]
17:53hdbngr has joined #asahi-dev
18:06hdbngr has quit [Ping timeout: 480 seconds]
18:09pb17 has quit [Ping timeout: 480 seconds]
18:13Pokemod977362084712 has quit []
18:15midou_ has quit [Ping timeout: 480 seconds]
18:16hdbngr has joined #asahi-dev
18:16___nick___ has quit [Read error: Connection reset by peer]
18:18fl0_id___ has quit [Ping timeout: 480 seconds]
18:18pb17 has joined #asahi-dev
18:24hdbngr has quit [Ping timeout: 480 seconds]
18:26rodmac has quit [Quit: leaving]
18:30Pokemod977362084712 has joined #asahi-dev
18:32midou has joined #asahi-dev
18:32hdbngr has joined #asahi-dev
18:41hdbngr has quit [Ping timeout: 480 seconds]
18:44svenokay, pretty sure it's some atcphy thing. the old branch the worked showed the same issue on the first plug event, and only the second one works
18:45tobhe_ has joined #asahi-dev
18:46hdbngr has joined #asahi-dev
18:50tobhe has quit [Ping timeout: 480 seconds]
18:54hdbngr has quit [Ping timeout: 480 seconds]
19:04hdbngr has joined #asahi-dev
19:13hdbngr has quit [Ping timeout: 480 seconds]
19:22hdbngr has joined #asahi-dev
19:28bjarne has quit [Quit: Connection closed for inactivity]
19:31hdbngr has quit [Ping timeout: 480 seconds]
19:33midou has quit [Ping timeout: 480 seconds]
19:35pb17 has quit [Ping timeout: 480 seconds]
19:40hdbngr has joined #asahi-dev
19:42midou has joined #asahi-dev
19:45pb17 has joined #asahi-dev
19:56knorkle has joined #asahi-dev
19:57knorkle has quit []
19:57knorkle has joined #asahi-dev
20:04svenwhen i set the wrong cable info with the old code my dock starts blinking because it's likely trying and failing to negotiate the connection again and again
20:14midou has quit [Ping timeout: 480 seconds]
20:24GlanzmannI see, so in order to debug this you need to trace under hv, add some debug code to your driver and compare and hope to find the difference. Or sprinkle your working code and the broken one with mmio debug and compare. Not fun.
20:29__nick__ has joined #asahi-dev
20:29Glanzmannsven: Can the HV trace mmio without adding to much latency so that usb does not break?
20:33xdbob has quit [Remote host closed the connection]
20:34svenit supports async mode where it just takes the exception, logs the access to a buffer and then erets to the guest and only bother with the entire pipeline to Python every now and then
20:35xdbob has joined #asahi-dev
20:37GlanzmannI remember when we had to trace mmio in FAUmachine. It took us 6 context switches. We than used a JIT to replace the offending instruction into a HV call.
20:40fl0_id___ has joined #asahi-dev
20:55hdbngr has quit [Ping timeout: 480 seconds]
21:00pb17 has quit [Ping timeout: 480 seconds]
21:01pb17 has joined #asahi-dev
21:04hdbngr has joined #asahi-dev
21:06__nick__ has quit [Remote host closed the connection]
21:12hdbngr has quit [Ping timeout: 480 seconds]
21:14midou has joined #asahi-dev
21:22hdbngr has joined #asahi-dev
21:31hdbngr has quit [Ping timeout: 480 seconds]
21:36midou has quit [Read error: No route to host]
21:39hdbngr has joined #asahi-dev
21:45midou has joined #asahi-dev
22:00noopwafelI did 'break "lol"' and it worked, and maybe it is difficult to be more elegant than this
22:27pb17 has quit [Ping timeout: 480 seconds]
22:48fl0_id___in the sense of confirming whether I have a memory problem - should memdump.py in experiments not just work? it crashes almost immediately and resets the proxy.
22:51hdbngr has quit [Ping timeout: 480 seconds]
22:58pthariensflame has joined #asahi-dev
22:58pthariensflame has quit []
22:59hdbngr has joined #asahi-dev
23:01psykose has quit [Remote host closed the connection]
23:02psykose has joined #asahi-dev
23:07hdbngr has quit [Ping timeout: 480 seconds]
23:08hdbngr has joined #asahi-dev
23:16hdbngr has quit [Ping timeout: 480 seconds]
23:24hdbngr has joined #asahi-dev
23:25jannaudoesn't really explain any issues in linux though as the base m3 boots fine. m1n1 handles it automatically
23:31pb17 has joined #asahi-dev
23:32hdbngr has quit [Ping timeout: 480 seconds]
23:35fl0_id___right that makes sense. but as someone suggested memory layout, that could it be anything else there? on the last experiments, got a more specific backtrackt, where it crashed when printing sth.
23:39fl0_id___noopwafel, based on device tree and m1n1 output when loading kernel, I'm only using 1 core (cpu 4, first p core iirc)
23:40maor26 has quit [Ping timeout: 480 seconds]
23:42hdbngr has joined #asahi-dev
23:50hdbngr has quit [Ping timeout: 480 seconds]
23:55hdbngr has joined #asahi-dev