#asahi-dev · 2025-05-02 13:45
svenyes, the rest can be added later#asahi-dev · 2025-05-02 13:45
nickchansven: so only reboot and gpio for now#asahi-dev · 2025-05-02 13:35
sven(minus that one commit description ofc)#asahi-dev · 2025-05-02 13:35
svenhttps://github.com/AsahiLinux/linux/tree/sven/smc-v4 okay, happy with this now I think. will send this out on sunday probably#asahi-dev · 2025-05-02 11:51
nickchanresize container needs data volume unlocked#asahi-dev · 2025-05-02 11:50
nickchancause repartitioning the disk doesn't seem viable and using linux-apfs-rw full tilt seems too dangerous#asahi-dev · 2025-05-02 11:50
nickchanand 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#asahi-dev · 2025-05-02 11:22
jannauhttps://github.com/AsahiLinux/docs/blob/main/docs/hw/soc/smc.md looks better#asahi-dev · 2025-05-02 11:20
nickchanhttps://asahilinux.org/docs/hw/soc/smc/#smc-keys this format is unreadable#asahi-dev · 2025-05-02 11:12
sventhere are some comments in the linux driver iirc#asahi-dev · 2025-05-02 11:12
nickchansven: have you documented m1 nvme somewhere?#asahi-dev · 2025-05-02 10:44
svenokay, looks similar with smc-v4#asahi-dev · 2025-05-02 10:44
sventhanks#asahi-dev · 2025-05-02 10:42
jannausven: https://gist.github.com/jannau/bd3de8dd51df4d7e8d16fd4c3a1f1a44#asahi-dev · 2025-05-02 10:41
floklisven: yeah, this sounds more reasonable.#asahi-dev · 2025-05-02 10:40
svenyes, that would be great#asahi-dev · 2025-05-02 10:40
jannausven: boot and shutdown?#asahi-dev · 2025-05-02 10:34
sven(current == the one we ship)#asahi-dev · 2025-05-02 10:33
svenjannau: 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#asahi-dev · 2025-05-02 10:28
sventhough 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?#asahi-dev · 2025-05-02 10:28
sveni don't see any get max timeout function in the uapi either#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 10:17
svenoh, and add the reboot nodes for t600x and t8112#asahi-dev · 2025-05-02 10:16
svenhttps://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#asahi-dev · 2025-05-02 10:11
svenno idea why it failed from m1n1 as well though, I probably just messed up there#asahi-dev · 2025-05-02 10:10
svenworks now#asahi-dev · 2025-05-02 10:10
svenlol, okay, dumb bug because the smc protocol is a bit dumb#asahi-dev · 2025-05-02 10:01
sven[cpu7] [SMCTracer@/arm-io/smc] [smceptracer] [2] >W: <MBSE> = (0) <-- well, that looks wrong :D#asahi-dev · 2025-05-02 09:58
chaos_princessdid they remove the voltage key since macos wasn't using it?#asahi-dev · 2025-05-02 09:56
flokliso systemd setting 10min here is a stupid default?#asahi-dev · 2025-05-02 09:56
jannauthe maximal watchdog period is slightly below 3 minutes#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-05-02 09:53
jannauso probably older than 12.3#asahi-dev · 2025-05-02 09:52
svennope, all manual#asahi-dev · 2025-05-02 09:51
jannauso probably on 12.3 (assuming you ever did a an install with asahi-installer)#asahi-dev · 2025-05-02 09:50
jannauI see "macsmc-reboot macsmc-reboot: Preparing for reboot (offw (0x6f666677))" and "macsmc-reboot macsmc-reboot: Issuing power off (off1)" but no failures#asahi-dev · 2025-05-02 09:47
svener, *on this mac mini#asahi-dev · 2025-05-02 09:47
svenlet me update the firmware on this m1n1, it's still running whatever was current when i bought this one a few years ago, lol#asahi-dev · 2025-05-02 09:45
sven" * 'offw' - shutdown warning"#asahi-dev · 2025-05-02 09:45
svenno, shutdown works just fine even without that#asahi-dev · 2025-05-02 09:44
jannaudoes that result in shutdown not working? I can't remember seeing this or broken shutdown under HV#asahi-dev · 2025-05-02 09:43
svenseems like i can't even write that key from m1n1 here#asahi-dev · 2025-05-02 09:43
svendoes 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)#asahi-dev · 2025-05-02 05:19
nickchannone of that range is accessed by iboot and attempting to access is SError#asahi-dev · 2025-05-02 05:19
nickchani think nvmmu just... doesn't exist or is different on a11?#asahi-dev · 2025-05-02 03:43
nickchani have a full iboot mmiotrace to look at but i need to study how nvme works in general first#asahi-dev · 2025-05-02 03:42
nickchangoing to make 8015 work first#asahi-dev · 2025-05-02 03:41
nickchanas well as coprocessor on any older SoCs#asahi-dev · 2025-05-02 03:40
nickchancoprocoessor other than ANS2 and SEP is 32-bit i think and that change things so those are for later