#
…

2025-05-02

00:03chrisl has quit [Ping timeout: 480 seconds]
00:07Luke_ has quit [Quit: Igloo: https://igloo.app]
00:07lukeleppan has joined #asahi-dev
00:14chrisl has joined #asahi-dev
00:16lukeleppan has quit [Ping timeout: 480 seconds]
00:22chrisl has quit [Ping timeout: 480 seconds]
00:24chrisl has joined #asahi-dev
00:32chrisl has quit [Ping timeout: 480 seconds]
01:25chrisl has joined #asahi-dev
01:33chrisl has quit [Ping timeout: 480 seconds]
02:20hexdump0815 has joined #asahi-dev
02:22hexdump01 has quit [Ping timeout: 480 seconds]
02:27chrisl has joined #asahi-dev
02:35chrisl has quit [Ping timeout: 480 seconds]
02:41hdbngr has joined #asahi-dev
02:49hdbngr has quit [Ping timeout: 480 seconds]
02:53tobhe_ has joined #asahi-dev
03:00tobhe has quit [Ping timeout: 480 seconds]
03:26nora_ has joined #asahi-dev
03:28nora has quit [Ping timeout: 480 seconds]
03:32pb17 has quit [Ping timeout: 480 seconds]
03:35nickchanans2 booted to ready on t8015, but there's some differences in the actual nvme layer (?) that m1n1 does not like
03:36nickchanand also need to support protocol version 10 and older to support older OS versions
03:36nickchanfortunately new ANS2 fw also has the old protocol so it can sitll be tested on new fw
03:37catred2 has joined #asahi-dev
03:40nickchanalso got sep_get_random to work :) the thing that trips BPR
03:40nickchancoprocoessor other than ANS2 and SEP is 32-bit i think and that change things so those are for later
03:40Leandro[mds] has quit []
03:41nickchanas well as coprocessor on any older SoCs
03:41catred has quit [Ping timeout: 480 seconds]
03:42nickchangoing to make 8015 work first
03:43nickchani have a full iboot mmiotrace to look at but i need to study how nvme works in general first
03:59pb17 has joined #asahi-dev
04:22ceuasyyyl^ has quit [Ping timeout: 480 seconds]
04:22ceuasyyyl^ has joined #asahi-dev
04:27chrisl has joined #asahi-dev
04:33hdbngr has joined #asahi-dev
04:35chrisl has quit [Ping timeout: 480 seconds]
04:41hdbngr has quit [Ping timeout: 480 seconds]
04:42hdbngr has joined #asahi-dev
04:50hdbngr has quit [Ping timeout: 480 seconds]
05:00hdbngr has joined #asahi-dev
05:08hdbngr has quit [Ping timeout: 480 seconds]
05:19nickchani think nvmmu just... doesn't exist or is different on a11?
05:19nickchannone of that range is accessed by iboot and attempting to access is SError
05:32chrisl has joined #asahi-dev
05:40chrisl has quit [Ping timeout: 480 seconds]
05:43hdbngr has joined #asahi-dev
05:51pb17 has quit [Ping timeout: 480 seconds]
05:51hdbngr has quit [Ping timeout: 480 seconds]
05:59lukeleppan has joined #asahi-dev
06:07lukeleppan has quit [Ping timeout: 480 seconds]
06:14CME has quit [Ping timeout: 480 seconds]
06:19pb17 has joined #asahi-dev
06:21greguu_ has quit [Ping timeout: 480 seconds]
06:29yuyichao_ has quit [Ping timeout: 480 seconds]
06:33greguu has joined #asahi-dev
06:38chrisl has joined #asahi-dev
06:44hdbngr has joined #asahi-dev
06:46chrisl has quit [Ping timeout: 480 seconds]
06:48chadmed has quit [Quit: Konversation terminated!]
06:48chadmed has joined #asahi-dev
06:52hdbngr has quit [Ping timeout: 480 seconds]
07:20lukeleppan has joined #asahi-dev
07:27hdbngr has joined #asahi-dev
07:35hdbngr has quit [Ping timeout: 480 seconds]
07:45hdbngr has joined #asahi-dev
07:47chrisl has joined #asahi-dev
07:54mattia013 has joined #asahi-dev
07:55hdbngr has quit [Ping timeout: 480 seconds]
07:55chrisl has quit [Ping timeout: 480 seconds]
08:03CME has joined #asahi-dev
08:10hdbngr has joined #asahi-dev
08:18hdbngr has quit [Ping timeout: 480 seconds]
08:25yuyichao_ has joined #asahi-dev
08:39chrisl has joined #asahi-dev
08:41lukeleppan has quit [Remote host closed the connection]
08:41lukeleppan has joined #asahi-dev
08:43lukeleppan has quit [Remote host closed the connection]
08:43lukeleppan has joined #asahi-dev
08:47chrisl has quit [Ping timeout: 480 seconds]
08:51mattia013 has quit [Ping timeout: 480 seconds]
08:56greguu has quit [Quit: WeeChat 4.4.2]
08:56al3xtjames has quit [Read error: Connection reset by peer]
08:57al3xtjames2 has joined #asahi-dev
09:01pb17 has quit [Ping timeout: 480 seconds]
09:07riker77 has quit [Quit: Quitting IRC - gone for good...]
09:13riker77 has joined #asahi-dev
09:16pb17 has joined #asahi-dev
09:43svendoes anyone else see "[ 13.012798] macsmc-reboot macsmc-reboot: Failed to issue MBSE = offw (0x6f666677) (reboot_prepare)" when running shutdown? (probably needs to be running under hv since this is one of the very last messages before power off)
09:43chrisl has joined #asahi-dev
09:43svenseems like i can't even write that key from m1n1 here
09:44jannaudoes that result in shutdown not working? I can't remember seeing this or broken shutdown under HV
09:45svenno, shutdown works just fine even without that
09:45sven" * 'offw' - shutdown warning"
09:46hdbngr has joined #asahi-dev
09:47svenlet me update the firmware on this m1n1, it's still running whatever was current when i bought this one a few years ago, lol
09:47svener, *on this mac mini
09:50jannauI see "macsmc-reboot macsmc-reboot: Preparing for reboot (offw (0x6f666677))" and "macsmc-reboot macsmc-reboot: Issuing power off (off1)" but no failures
09:51chrisl has quit [Ping timeout: 480 seconds]
09:51jannauso probably on 12.3 (assuming you ever did a an install with asahi-installer)
09:52svennope, all manual
09:53jannauso probably older than 12.3
09:54hdbngr has quit [Ping timeout: 480 seconds]
09:54flokliI see a "Failed to set watchdog hardware timeout to 10min: Invalid argument" (using 'Apple SoC Watchdog'), but everything else is obviously not logged anymore
09:55flokliand this boot is happily spamming about power_supply macsmc-ac: driver failed to report `voltage_now' property: -132 (and `input_current_limit`)
09:56jannauthe maximal watchdog period is slightly below 3 minutes
09:56flokliso systemd setting 10min here is a stupid default?
09:58chaos_princessdid they remove the voltage key since macos wasn't using it?
10:01sven[cpu7] [SMCTracer@/arm-io/smc] [smceptracer] [2] >W: <MBSE> = (0) <-- well, that looks wrong :D
10:01hdbngr has joined #asahi-dev
10:09hdbngr has quit [Ping timeout: 480 seconds]
10:10svenlol, okay, dumb bug because the smc protocol is a bit dumb
10:10svenworks now
10:11svenno idea why it failed from m1n1 as well though, I probably just messed up there
10:16svenhttps://github.com/AsahiLinux/linux/tree/sven/smc-v4 need to fix that one commit description/etc. and write a cover letter but this should be mostly ready for submission otherwise
10:17svenoh, and add the reboot nodes for t600x and t8112
10:18flokliugh, after reading the kernel driver, there's no way for userspace to know limitations for the watchdog, like max timeout you can configure?
10:23pb17 has quit [Ping timeout: 480 seconds]
10:28sveni don't see any get max timeout function in the uapi either
10:28sventhough maybe we return the wrong errno and we're supposed to just set the timeout to the max value and userspace can directly query it again afterwards?
10:33svenjannau: can you run the current smc driver with trace_smc.py (just a regular boot is fine) and paste the results? i wanna compare if everything looks the same
10:34sven(current == the one we ship)
10:40jannausven: boot and shutdown?
10:40svenyes, that would be great
10:41floklisven: yeah, this sounds more reasonable.
10:44sventhanks
10:44svenokay, looks similar with smc-v4
10:47hdbngr has joined #asahi-dev
10:49pb17 has joined #asahi-dev
10:55hdbngr has quit [Ping timeout: 480 seconds]
11:12nickchansven: have you documented m1 nvme somewhere?
11:12sventhere are some comments in the linux driver iirc
11:28chrisl has joined #asahi-dev
11:36chrisl has quit [Ping timeout: 480 seconds]
11:48hdbngr has joined #asahi-dev
11:50nickchanand about how the actual storage will be handled on a11 probably linux-apfs-rw on a fixed size volume with a single file on it that is used as loopback
11:50nickchancause repartitioning the disk doesn't seem viable and using linux-apfs-rw full tilt seems too dangerous
11:51nickchanresize container needs data volume unlocked
11:56hdbngr has quit [Ping timeout: 480 seconds]
12:03hdbngr has joined #asahi-dev
12:11hdbngr has quit [Ping timeout: 480 seconds]
12:29chrisl has joined #asahi-dev
12:36pb17 has quit [Ping timeout: 480 seconds]
12:37hdbngr has joined #asahi-dev
12:37chrisl has quit [Ping timeout: 480 seconds]
12:45hdbngr has quit [Ping timeout: 480 seconds]
12:46ceuasyyyl^ has quit [Ping timeout: 480 seconds]
12:46hdbngr has joined #asahi-dev
12:46ceuasyyyl^ has joined #asahi-dev
12:57hdbngr has quit [Ping timeout: 480 seconds]
12:57pb17 has joined #asahi-dev
13:07m42uko_ has joined #asahi-dev
13:09m42uko has quit [Ping timeout: 480 seconds]
13:21kcxt has left #asahi-dev [>,<]
13:30chrisl has joined #asahi-dev
13:35svenhttps://github.com/AsahiLinux/linux/tree/sven/smc-v4 okay, happy with this now I think. will send this out on sunday probably
13:35sven(minus that one commit description ofc)
13:38chrisl has quit [Ping timeout: 480 seconds]
13:45nickchansven: so only reboot and gpio for now
13:45svenyes, the rest can be added later
13:46svenif gpio wasn't already reviewed, etc. i would've only sent reboot even
13:50hdbngr has joined #asahi-dev
13:58hdbngr has quit [Ping timeout: 480 seconds]
14:00hdbngr has joined #asahi-dev
14:08hdbngr has quit [Ping timeout: 480 seconds]
14:14chrisl has joined #asahi-dev
14:22chrisl has quit [Ping timeout: 480 seconds]
14:24tobhe has joined #asahi-dev
14:29tobhe_ has quit [Ping timeout: 480 seconds]
14:46pb17 has quit [Ping timeout: 480 seconds]
14:51hdbngr has joined #asahi-dev
14:59hdbngr has quit [Ping timeout: 480 seconds]
15:13pb17 has joined #asahi-dev
15:15chrisl has joined #asahi-dev
15:23chrisl has quit [Ping timeout: 480 seconds]
15:27hdbngr has joined #asahi-dev
15:36lukeleppan has quit [Ping timeout: 480 seconds]
15:40hdbngr has quit [Ping timeout: 480 seconds]
15:52hdbngr has joined #asahi-dev
16:00hdbngr has quit [Ping timeout: 480 seconds]
16:00opticron has quit [Remote host closed the connection]
16:01opticron has joined #asahi-dev
16:12psykose has quit [Remote host closed the connection]
16:13lukeleppan has joined #asahi-dev
16:13psykose has joined #asahi-dev
16:16chrisl has joined #asahi-dev
16:22lukeleppan has quit [Ping timeout: 480 seconds]
16:23pb17 has quit [Ping timeout: 480 seconds]
16:24chrisl has quit [Ping timeout: 480 seconds]
16:30hdbngr has joined #asahi-dev
16:41hdbngr has quit [Ping timeout: 480 seconds]
16:47pb17 has joined #asahi-dev
16:53hdbngr has joined #asahi-dev
17:01hdbngr has quit [Ping timeout: 480 seconds]
17:05chrisl has joined #asahi-dev
17:13chrisl has quit [Ping timeout: 480 seconds]
17:17chrisl has joined #asahi-dev
17:25chrisl has quit [Ping timeout: 480 seconds]
17:38___nick___ has joined #asahi-dev
17:40___nick___ has quit []
17:42___nick___ has joined #asahi-dev
17:54hdbngr has joined #asahi-dev
18:09hdbngr has quit [Remote host closed the connection]
18:09hdbngr has joined #asahi-dev
18:17hdbngr has quit [Ping timeout: 480 seconds]
18:18chrisl has joined #asahi-dev
18:26chrisl has quit [Ping timeout: 480 seconds]
18:46__nick__ has joined #asahi-dev
18:49___nick___ has quit [Ping timeout: 480 seconds]
18:55hdbngr has joined #asahi-dev
18:56lukeleppan has joined #asahi-dev
19:04lukeleppan has quit [Ping timeout: 480 seconds]
19:05chrisl has joined #asahi-dev
19:08hdbngr has quit [Ping timeout: 480 seconds]
19:13chrisl has quit [Ping timeout: 480 seconds]
19:52hdbngr has joined #asahi-dev
19:52chrisl has joined #asahi-dev
19:56iaguis has quit [Remote host closed the connection]
20:00lukeleppan has joined #asahi-dev
20:00chrisl has quit [Ping timeout: 480 seconds]
20:02iaguis has joined #asahi-dev
20:02__nick__ has quit [Remote host closed the connection]
20:04hdbngr has quit [Ping timeout: 480 seconds]
20:08lukeleppan has quit [Ping timeout: 480 seconds]
20:14lukeleppan has joined #asahi-dev
20:22lukeleppan has quit [Ping timeout: 480 seconds]
20:57hdbngr has joined #asahi-dev
21:07hdbngr has quit [Ping timeout: 480 seconds]
21:22pb17 has quit [Ping timeout: 480 seconds]
21:25lukeleppan has joined #asahi-dev
21:26pb17 has joined #asahi-dev
21:39chrisl has joined #asahi-dev
21:41lukeleppan has quit [Ping timeout: 480 seconds]
21:47chrisl has quit [Ping timeout: 480 seconds]
21:58hdbngr has joined #asahi-dev
22:06hdbngr has quit [Ping timeout: 480 seconds]
22:39chrisl has joined #asahi-dev
22:47chrisl has quit [Ping timeout: 480 seconds]
23:05pb17 has quit [Ping timeout: 480 seconds]
23:15pb17 has joined #asahi-dev
23:39chrisl has joined #asahi-dev
23:47chrisl has quit [Ping timeout: 480 seconds]
23:52hdbngr has joined #asahi-dev
…