#asahi-dev · 2026-01-05 09:59
integralpilotit was fun to like develop it for M3 and also fix it up for upstream at the same time#asahi-dev · 2026-01-05 09:58
integralpilotafter power i'd like another upstreaming project, any recommendations?#asahi-dev · 2026-01-05 08:08
integralpilotoh thank you, i'll remove the node then! :)#asahi-dev · 2026-01-05 07:58
integralpilotthat's how i've been doing it as in theory not every SMC may support power info and we might want to add some form of config option later, like hwmon has, but in practice every SMC ofc supports power info because it's like the core task#asahi-dev · 2026-01-05 07:54
integralpilotalso, should apple,smc-power be a new node under smc even if it needs no configuration options?#asahi-dev · 2026-01-05 07:53
integralpilotokay thanks, makes sense.#asahi-dev · 2026-01-05 06:59
integralpilotyeah, thanks!#asahi-dev · 2026-01-05 06:57
integralpilotwith MAINTAINERS, do i just add the new power supply files to the big asahi block, or do i also make a seperate entry?#asahi-dev · 2026-01-05 05:38
integralpilotit's so cool how ur doing all the RE on a platform that wasn't even meant to have fuOSes in the first place#asahi-dev · 2026-01-05 05:37
integralpilotinteresting#asahi-dev · 2026-01-05 05:29
integralpilotmakes sense, good luck with that#asahi-dev · 2026-01-05 05:27
integralpilotas in running custom code there#asahi-dev · 2026-01-05 05:27
integralpilothave you played around with any of the coprocessors yet or not really?#asahi-dev · 2026-01-05 05:27
integralpilotoh interesting, that's cool! #asahi-dev · 2026-01-05 05:25
integralpilotis it even possible to get AOP ACE to run a hypervisor on it?#asahi-dev · 2026-01-05 05:13
integralpilotoh sorry that was jannau's patch, got confused#asahi-dev · 2026-01-05 05:12
integralpilotbtw, chadmed, wondering if you have plans to upstream AIC3? if not that's fine, just for now had to add support into linux-next to get it working #asahi-dev · 2026-01-05 05:10
integralpilotwait does linux-next not have MTP/DockChannel support so i cant use the keyboard that's kinda annoying i guess i'll just make a init script that tests all the power mangement sysfs stuff#asahi-dev · 2026-01-05 03:54
integralpilotmacsmc-power is ready for upstream now yay! currently cloning linux-next to rebase the changes off and then will publish a branch for ppl to try and if all goes well send upstream soon :)#asahi-dev · 2026-01-04 10:44
integralpilotoh, i guess we keep them seperate then#asahi-dev · 2026-01-04 10:42
integralpilotchadmed: since in both our patches we define internal f32 helpers (i think you do this in hwmon), after they both make linux-next do we want to make a refactor patch to move all f32 helpers to the main smc code to avoid duplication (it might be hard to coordinate this prior to linux-next as they go through different maintainer trees)?#asahi-dev · 2026-01-04 10:41
integralpilotgood luck, thanks for the work you do!#asahi-dev · 2026-01-04 08:16
integralpilotmacsmc-power refactoring and updates for new firmware going well, almost ready for upstream i think#asahi-dev · 2026-01-04 00:35
integralpilotAsahi logo with logs is EL1 m1n1, can’t be sure if it’s loaded the kernel yet unless you monitor /dev/ttyACM1 in picocom which is where EL1 m1n1 will send you its logs#asahi-dev · 2026-01-04 00:13
integralpilot(sorry pressed enter too soon)#asahi-dev · 2026-01-04 00:13
integralpilotalpine rootfs if you’d like and we can see if it works#asahi-dev · 2026-01-04 00:13
integralpilotthen I will send my#asahi-dev · 2026-01-04 00:13
integralpilotjust out of curiosity, could you try no boot args, just “”. i remember earlycon was causing some problems for me earlier. Ideally it boots to a panic on framebuffer about no rootfs#asahi-dev · 2026-01-03 23:47
integralpilot*EL1 m1n1#asahi-dev · 2026-01-03 23:47
integralpilotbtw, when the error happens, do you see an asahi logo with some logs, or a rainbow apple logo? wondering if m1n1 has loaded yet or not#asahi-dev · 2026-01-03 23:41
integralpilotwould that change anything though?#asahi-dev · 2026-01-03 23:35
integralpilotsorry, rather, that's the one iBoot loaded m1n1 on#asahi-dev · 2026-01-03 23:35
integralpilotalso, the reason it's happening on cpu4 is because that's just the one m1n1 picked to boot off (based on the ADT). linux will also probably be started on cpu4 by m1n1 as that's it's primary one. because linux only sees one CPU in it's FDT (cpu0) it will not try starting any other CPUs and just stay on cpu4. technically you could change the one CPU in the linux FDT to cpu4 but that wouldn't change anything#asahi-dev · 2026-01-03 23:33
integralpilotm1n1 doesn't use your linux FDT as the source of truth, it uses the ADT, so modifying the linux device tree won't change anything#asahi-dev · 2026-01-03 12:37
integralpilotdo you think supporting 14.x DCP firmware for M1/M2 will work for M3 as well, like how my newer SMC firmware support for M3 works on M1/M2 as well, or would have apple changed the DCP and firmware API in M3 even on the same base macOS version?#asahi-dev · 2026-01-02 23:20
integralpilotthanks!#asahi-dev · 2026-01-02 23:17
integralpilotoh thanks, I’ll give it a go. which patch was it?#asahi-dev · 2026-01-02 23:11
integralpilotchaos_princess: I’ve been using 14.7.X, but could try 14.3.X if you think it would be better for some reason?#asahi-dev · 2026-01-02 12:26
integralpilotand thanks for offering the NVMe trace, that would be helpful if you get it over the weekend#asahi-dev · 2026-01-02 12:26
integralpilotsven: yeah, makes sense does look like -power has some debug stuff. i can try and clean it up for upstream as part of the work i'm doing on it for newer SMC firmwares if it would help. #asahi-dev · 2026-01-02 08:02
integralpilotthank you for checking and telling me about this!#asahi-dev · 2026-01-02 08:00
integralpilotthat's weird. was it also empty before the patch?#asahi-dev · 2026-01-02 07:59
integralpilotis it just empty or do you get an error?#asahi-dev · 2026-01-02 07:59
integralpiloti can't reproduce the uevent issue, sorry, it works fine for me on M3#asahi-dev · 2026-01-02 04:58
integralpilotokay im bored with NVMe work but we are getting closer to working M3 NVMe, i'm going to do a bit of SEP investigation because that seems interesting#asahi-dev · 2026-01-02 03:54
integralpilothttps://github.com/AsahiLinux/linux/pull/435#asahi-dev · 2026-01-02 03:54
integralpilotbtw, charge_behaviour PR is up now, i've tested on M3 but if someone could confirm it works on M1/M2 with updated SMC fw that would be great#asahi-dev · 2026-01-02 03:53
integralpilotoh interesting find, that's weird#asahi-dev · 2026-01-02 01:27
integralpilotbtw, is there any reason macsmc-power isn't yet upstream, or has someone just not gotten around to it yet?#asahi-dev · 2026-01-02 01:25
integralpilotit works yay! packaging up for a PR now