#
…

2025-05-06

00:03chrisl has quit [Ping timeout: 480 seconds]
00:17yuyichao_ has quit [Ping timeout: 480 seconds]
00:55hdbngr has joined #asahi-dev
00:57pb17 has quit [Ping timeout: 480 seconds]
01:02chrisl has joined #asahi-dev
01:03hdbngr has quit [Ping timeout: 480 seconds]
01:05pb17 has joined #asahi-dev
01:10chrisl has quit [Ping timeout: 480 seconds]
01:28hdbngr has joined #asahi-dev
01:36hdbngr has quit [Ping timeout: 480 seconds]
01:37chrisl has joined #asahi-dev
01:51lukeleppan___ has joined #asahi-dev
01:52lukeleppan___ has quit []
01:53chrisl has quit [Ping timeout: 480 seconds]
02:14tobhe_ has joined #asahi-dev
02:16hexdump0815 has joined #asahi-dev
02:18hexdump01 has quit [Ping timeout: 480 seconds]
02:21tobhe has quit [Ping timeout: 480 seconds]
02:22chrisl has joined #asahi-dev
02:30chrisl has quit [Ping timeout: 480 seconds]
03:44nora has joined #asahi-dev
03:45nora_ has quit [Ping timeout: 480 seconds]
04:04Larwive has joined #asahi-dev
04:05chrisl has joined #asahi-dev
04:13chrisl has quit [Ping timeout: 480 seconds]
04:29eluks has quit [Remote host closed the connection]
04:31eluks has joined #asahi-dev
04:49johey_ has quit [Ping timeout: 480 seconds]
04:50hdbngr has joined #asahi-dev
04:59johey has joined #asahi-dev
04:59hdbngr has quit [Ping timeout: 480 seconds]
05:00hdbngr has joined #asahi-dev
05:04chrisl has joined #asahi-dev
05:08hdbngr has quit [Ping timeout: 480 seconds]
05:11Stardust has quit [Ping timeout: 480 seconds]
05:11Stardust has joined #asahi-dev
05:12chrisl has quit [Ping timeout: 480 seconds]
05:51yuyichao_ has joined #asahi-dev
05:52hdbngr has joined #asahi-dev
06:00hdbngr has quit [Ping timeout: 480 seconds]
06:10chrisl has joined #asahi-dev
06:18chrisl has quit [Ping timeout: 480 seconds]
06:27Larwive has quit [Ping timeout: 480 seconds]
06:38mildsunrise3 has quit [Quit: disconnect]
06:39mildsunrise3 has joined #asahi-dev
07:04kujeger- has quit [Quit: ZNC 1.9.1 - https://znc.in]
07:09hdbngr has joined #asahi-dev
07:17chrisl has joined #asahi-dev
07:18hdbngr has quit [Ping timeout: 480 seconds]
07:25chrisl has quit [Ping timeout: 480 seconds]
07:52ddxtanx_ has quit [Remote host closed the connection]
07:53hdbngr has joined #asahi-dev
07:54ddxtanx has joined #asahi-dev
08:01hdbngr has quit [Ping timeout: 480 seconds]
08:11chrisl has joined #asahi-dev
08:26vimproved has quit [Remote host closed the connection]
08:26vimproved has joined #asahi-dev
08:38nimprod3l has joined #asahi-dev
08:44pb17 has quit [Ping timeout: 480 seconds]
08:54hdbngr has joined #asahi-dev
09:03hdbngr has quit [Ping timeout: 480 seconds]
09:13chrisl has quit [Ping timeout: 480 seconds]
09:17pb17 has joined #asahi-dev
09:29tobhe_ is now known as tobhe
09:38vimproved has quit [Ping timeout: 480 seconds]
09:55hdbngr has joined #asahi-dev
10:03hdbngr has quit [Ping timeout: 480 seconds]
10:29pb17 has quit [Ping timeout: 480 seconds]
10:31chrisl has joined #asahi-dev
10:35pb17 has joined #asahi-dev
10:56hdbngr has joined #asahi-dev
11:04hdbngr has quit [Ping timeout: 480 seconds]
11:19chadmedjannau: will SIO help with the spi hid irq storm issue at all if we wire it up?
11:19chadmeddo we need to RE how all that works still?
11:21hdbngr has joined #asahi-dev
11:29hdbngr has quit [Ping timeout: 480 seconds]
11:35sveniirc povik wrote some SIO driver and tracer but I'm not sure if he bothered to figure out how it's connected to the SPI controller
11:36chrisl has quit [Ping timeout: 480 seconds]
11:39hdbngr has joined #asahi-dev
11:42chadmedyeah i thought janne ended up finishing it
11:42chadmedive been using my 14" again and was reminded as the machine got hot just typing a document :p
11:52nimprod3l has quit [Quit: Leaving]
11:53hdbngr has quit [Ping timeout: 480 seconds]
11:57hdbngr has joined #asahi-dev
12:05hdbngr has quit [Ping timeout: 480 seconds]
12:05floklijannau: max_hw_heartbeat_ms was right. Patch sent out, should be in your inboxes. Was a bit unsure which lists to cc, MAINTAINERS says you'd pick it into your tree and then eventually it'll be part of a request to pull for to a subsystem maintainer, yet lists are CCed even before so they can provide feedback?
12:06flokli(that's what I did, as that's what kernel contribution guidelines say)
12:19jannauI've not fully reversed it. just to the point that I could read the messages (hv/trace_keyboard.py iirc). not sure that using sio is going to change something regarding the irq storms. it would reduce the amount of work per irq though
12:21jannauI'm wondering whether the threaded irq handler isn't the problem and spi_hid should keep irqs disabled during spi transfers
12:26pb17 has quit [Ping timeout: 480 seconds]
12:37chadmedit would measurably improve battery life on machines with spi hid if we dont need them
12:39jannauflokli: patch looks good and recipients are as expected. thanks
12:40flokliIt's also running here and tested ofc, so when pulling, feel free to add a Tested-By from me
12:40flokliSystemd doesn't complain anymore about not being able to set the 10min timeout
12:40pb17 has joined #asahi-dev
12:47chrisl has joined #asahi-dev
12:47hdbngr has joined #asahi-dev
12:48jannauflokli: "Tested-by:" trailers from the patch author are implicit. I'll pick the change for the next downstream tag. for upstream it will be handled by Guenter (watchdog maintainer)
12:49jannaudid you test whether it triggers?
12:55chrisl has quit [Ping timeout: 480 seconds]
12:56hdbngr has quit [Ping timeout: 480 seconds]
12:58hdbngr has joined #asahi-dev
13:05flokliHmmh, I wrote a small piece of code, arming it for 4mins, sleeping a sec, sending a heartbeat, then just sleeping inducethe process without sending heartbeats. But it did reboot after 60 seconds already for some reason
13:06hdbngr has quit [Ping timeout: 480 seconds]
13:09flokliI guess I can retry with something like 90secs and without my patch. maybe some of the math, or reading the clk rate is already broken.
13:11jannaumaybe disable the watchdog first: `echo V > /dev/watchdog0`
13:12jannau60 seconds is the default value
13:15flokliwithout the kernel patch and setting a timeout of 90secs it does survive up to 70s (before I ctrl-c'ed it)
13:15flokliso there's something fishy with this patch
13:15hdbngr has joined #asahi-dev
13:24hdbngr has quit [Ping timeout: 480 seconds]
13:33hdbngr has joined #asahi-dev
13:36flokliyeah, looks like we need to use min(timeout_secs, max_hw_timeout_secs), which I didn't do. Will test with that patch and roll a v2.
13:41jannauin apple_wdt_set_timeout()? that looks like something watchdog-core should take care of
13:42hdbngr has quit [Ping timeout: 480 seconds]
13:45hdbngr has joined #asahi-dev
13:49chrisl has joined #asahi-dev
13:57chrisl has quit [Ping timeout: 480 seconds]
13:57hdbngr has quit [Ping timeout: 480 seconds]
13:59hdbngr has joined #asahi-dev
14:01jannaulooks like it won't work anyway (for systemd reboot) because something in userspace stops the watchdog during reboot
14:07hdbngr has quit [Ping timeout: 480 seconds]
14:09flokliI agree on watchdog-core, but watchdog-kernel-api.rst, L197 says otherwise
14:09flokliand implementing the behaviour seems to work, at least it didn't get rebooted yet
14:11flokliYup, and here is the watchdog firing at 240s. So that was the fix.
14:11jannauflokli: ack, when it's explicitly documented. I'm looking into the systemd issue
14:14hdbngr has joined #asahi-dev
14:18nimprod3l has joined #asahi-dev
14:19jannautesting with f40/systemd-255. code has clearly changed so let me at least update to f41
14:19Stary has quit [Quit: ZNC - http://znc.in]
14:22hdbngr has quit [Ping timeout: 480 seconds]
14:25Stary has joined #asahi-dev
14:27flokli257.3 here
14:29vimproved has joined #asahi-dev
14:33flokliI think it's logged twice because we use the shutdown ramfs thing
14:34floklididn't set RuntimeWatchdogSec= or any of the other ones
14:56jannauit doesn't work correctly during restart. watchdog triggered 177 seconds after the last ping. the watchdog worker thread isn't running anymore at that point.
14:57jannaurequires uart or hv to see it going down
15:00hdbngr has joined #asahi-dev
15:08hdbngr has quit [Ping timeout: 480 seconds]
15:11flokliI don't have the setup for that. The only thing I could think of is that something during handover between normal system and systemd-shutdown retriggers a ping, or resets a timeout
15:21Larwive has joined #asahi-dev
15:22hdbngr has joined #asahi-dev
15:30hdbngr has quit [Ping timeout: 480 seconds]
15:34chrisl has joined #asahi-dev
15:40hdbngr has joined #asahi-dev
15:42chrisl has quit [Ping timeout: 480 seconds]
15:48hdbngr has quit [Ping timeout: 480 seconds]
16:01hdbngr has joined #asahi-dev
16:08Larwive has quit [Ping timeout: 480 seconds]
16:09hdbngr has quit [Ping timeout: 480 seconds]
16:16Larwive has joined #asahi-dev
16:18hdbngr has joined #asahi-dev
16:25Larwive has quit [Ping timeout: 480 seconds]
16:27hdbngr has quit [Ping timeout: 480 seconds]
16:27pb17 has quit [Ping timeout: 480 seconds]
16:32Larwive has joined #asahi-dev
16:35chrisl has joined #asahi-dev
16:40Larwive has quit [Ping timeout: 480 seconds]
16:42pb17 has joined #asahi-dev
16:43chrisl has quit [Ping timeout: 480 seconds]
16:50Larwive has joined #asahi-dev
16:58Larwive has quit [Ping timeout: 480 seconds]
17:01Larwive has joined #asahi-dev
17:02hdbngr has joined #asahi-dev
17:10hdbngr has quit [Ping timeout: 480 seconds]
17:22JayBeeFOSS has quit [Ping timeout: 480 seconds]
17:23JayBeeFOSS has joined #asahi-dev
17:35chrisl has joined #asahi-dev
17:43chrisl has quit [Ping timeout: 480 seconds]
17:47okb has joined #asahi-dev
17:59nimprod3l has quit [Ping timeout: 480 seconds]
18:00nimprod3l has joined #asahi-dev
18:03hdbngr has joined #asahi-dev
18:05cyrinux9490 has quit []
18:07cyrinux9490 has joined #asahi-dev
18:11hdbngr has quit [Ping timeout: 480 seconds]
18:17pb17 has quit [Ping timeout: 480 seconds]
18:22vimproved has quit [Remote host closed the connection]
18:22vimproved has joined #asahi-dev
18:28pb17 has joined #asahi-dev
18:28chrisl has joined #asahi-dev
18:36chrisl has quit [Ping timeout: 480 seconds]
18:40wyes has quit [Remote host closed the connection]
18:52hdbngr has joined #asahi-dev
19:01hdbngr has quit [Ping timeout: 480 seconds]
19:04hdbngr has joined #asahi-dev
19:06riker77 has quit [Quit: Quitting IRC - gone for good...]
19:12hdbngr has quit [Ping timeout: 480 seconds]
19:15alberttc has joined #asahi-dev
19:21alberttc has quit [Quit: Konversation terminated!]
19:21hdbngr has joined #asahi-dev
19:27chrisl has joined #asahi-dev
19:29hdbngr has quit [Ping timeout: 480 seconds]
19:31wyes has joined #asahi-dev
19:35chrisl has quit [Ping timeout: 480 seconds]
19:40hdbngr has joined #asahi-dev
19:48hdbngr has quit [Ping timeout: 480 seconds]
19:54WindowPain has quit [Read error: Connection reset by peer]
19:56WindowPain has joined #asahi-dev
20:00ddxtanx has quit [Remote host closed the connection]
20:05hdbngr has joined #asahi-dev
20:13hdbngr has quit [Ping timeout: 480 seconds]
20:29chrisl has joined #asahi-dev
20:29ddxtanx has joined #asahi-dev
20:31ids1024 has quit [Ping timeout: 480 seconds]
20:31nimprod3l has quit [Remote host closed the connection]
20:37chrisl has quit [Ping timeout: 480 seconds]
20:48Larwive has quit [Ping timeout: 480 seconds]
21:06hdbngr has joined #asahi-dev
21:14hdbngr has quit [Ping timeout: 480 seconds]
21:26roxfan2 has joined #asahi-dev
21:29chrisl has joined #asahi-dev
21:33roxfan has quit [Ping timeout: 480 seconds]
21:37chrisl has quit [Ping timeout: 480 seconds]
21:58hdbngr has joined #asahi-dev
22:03okb has quit [Read error: Connection reset by peer]
22:03okb has joined #asahi-dev
22:07hdbngr has quit [Ping timeout: 480 seconds]
22:07hdbngr has joined #asahi-dev
22:10zumi has joined #asahi-dev
22:22hdbngr has quit [Ping timeout: 480 seconds]
23:13chrisl has joined #asahi-dev
23:21chrisl has quit [Ping timeout: 480 seconds]
23:35hdbngr has joined #asahi-dev
23:43hdbngr has quit [Ping timeout: 480 seconds]
23:56chrisl has joined #asahi-dev
…