#asahi-dev · 2025-05-06 13:05
flokliHmmh, 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#asahi-dev · 2025-05-06 12:40
flokliSystemd doesn't complain anymore about not being able to set the 10min timeout#asahi-dev · 2025-05-06 12:40
flokliIt's also running here and tested ofc, so when pulling, feel free to add a Tested-By from me#asahi-dev · 2025-05-06 12:06
flokli(that's what I did, as that's what kernel contribution guidelines say)#asahi-dev · 2025-05-06 12:05
floklijannau: 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?#asahi-dev · 2025-05-05 20:58
flokliThis is all a bit convoluted#asahi-dev · 2025-05-05 20:57
flokliYou're right, this is a kernel-side software watchdog then ;-)#asahi-dev · 2025-05-05 19:44
floklisystemd of course could handle this a bit more graceful, and try to subsequently set smaller timeout if this happens, up to a certain minimum, but whether it should or not is really not an asahi question anymore.#asahi-dev · 2025-05-05 19:43
floklirejecting it early on is probably more correct than hoping userspace (has time to and does) react on receiving a super short value as response.#asahi-dev · 2025-05-05 19:43
floklisven: jannau: Regarding the watchdog max timeout, I did look a bit around in other drivers, and how it's used commonly. Even though the docs are a bit vague about this, common practice seems to be to return EINVAL if you're > max_timeout. And apple_wdt just uses code from watchdog_core.c to take care of that. It kinda makes sense, if userspace does set a super large value,#asahi-dev · 2025-05-02 10:41
floklisven: yeah, this sounds more reasonable.#asahi-dev · 2025-05-02 10:18
flokliugh, after reading the kernel driver, there's no way for userspace to know limitations for the watchdog, like max timeout you can configure?#asahi-dev · 2025-05-02 09:56
flokliso systemd setting 10min here is a stupid default?#asahi-dev · 2025-05-02 09:55
flokliand this boot is happily spamming about power_supply macsmc-ac: driver failed to report `voltage_now' property: -132 (and `input_current_limit`)#asahi-dev · 2025-05-02 09:54
flokliI see a "Failed to set watchdog hardware timeout to 10min: Invalid argument" (using 'Apple SoC Watchdog'), but everything else is obviously not logged anymore#asahi-dev · 2025-04-04 23:23
floklichadmed: I'm happy to update the PR to drop the blackbox functionality, or rebase on top of such a change if you want to do it.#asahi-dev · 2025-04-04 23:22
flokliHeh#asahi-dev · 2025-04-04 23:21
flokliMmmh#asahi-dev · 2025-04-04 23:20
flokliAh, now reading "visense stuff is stable, we can rip it out"#asahi-dev · 2025-04-04 23:19
flokliCan we improve logging sufficiently, pipe everything needed to the journal during the crash handler?#asahi-dev · 2025-04-04 23:18
floklichadmed: what's in the black box #asahi-dev · 2025-02-04 08:50
floklity!#asahi-dev · 2025-02-03 21:22
floklichadmed: some custom branch to have them exposed?#asahi-dev · 2025-02-03 21:01
floklichadmed: is there an easy way to get some recordings of some scenarios from all three microphones? I might know someone who'd be up to tinker with the algorithm.#asahi-dev · 2024-11-07 23:06
flokliIs there a ml thread or something to link to?#asahi-dev · 2024-11-07 23:05
floklijannau: the articles suggest not doing any scheduling on fast nvme is better than using CPU cycles trying to schedule.#asahi-dev · 2024-11-07 19:55
flokli(or maybe it's some udev foo that distros ship which doesn't cover asahi yet, I was just surprised it doesn't bypass the scheduler as other ssds do)#asahi-dev · 2024-11-07 19:54
floklihmmh, I'm surprised /sys/block/nvme0n1/queue/scheduler shows mq-deadline selected for the m2air SSD. My thinkpad automatically sets this this to none, according to https://stackoverflow.com/q/27664334 this is to be expected for SSDs. Are the drivers missing some bits selecting that scheduler?#asahi-dev · 2024-10-06 22:00
flokliok ty#asahi-dev · 2024-10-06 20:09
floklichadmed: jannau: that tag includes the simple msleep commit only, not the later rework, right?#asahi-dev · 2024-05-26 18:55
floklichadmed: https://github.com/exelban/stats/commit/135eacec905a8d1d43259660f1c4a85a1838d376#diff-5b0d81805b21438e7281098949aaca0f4bedac21fdfdace30eb6f87ae950bfaaR202 and below looks like it has some more names for these sensors…#asahi-dev · 2024-05-17 19:52
flokliThanks ❤️#asahi-dev · 2024-05-07 18:28
flokliI'm getting flashbacks to eink world#asahi-dev · 2024-05-07 18:28
flokliMhhh, it's probably still per-display, right?#asahi-dev · 2024-05-07 18:18
floklimmmh#asahi-dev · 2024-05-07 18:08
floklicurious if this is just marketing blabla or there's actually some significant change#asahi-dev · 2024-05-07 18:07
flokli> It also features an entirely new display engine to drive the stunning precision, color, and brightness of the breakthrough Ultra Retina XDR display on iPad Pro.