#
✕ nick:sven
#asahi-dev · 2026-01-25 10:13
sveni'm just trying to understand/discuss what that thing actually is
#asahi-dev · 2026-01-25 10:12
sveni'm not sure yet :D
#asahi-dev · 2026-01-25 10:11
sveni think dockchannel is actually something a bit similar to a mailbox
#asahi-dev · 2026-01-25 10:11
svenbecause i've been looking into what dockchannel actually is (because of that new dockchannel uart) and that dockchannel as a parent node with children nodes seems rather unusual to me at this point
#asahi-dev · 2026-01-25 10:10
svendo we know if MTP does anything else that's not hid btw?
#asahi-dev · 2026-01-24 13:56
sventrue, and iirc there was some fixup of the power-domains we had to do for some chip as well where some parent-child relation was missing
#asahi-dev · 2026-01-24 13:51
svencould be that something is missing for M3 there
#asahi-dev · 2026-01-24 13:51
svenm1n1 does quite a bit of work to prepare pcie iirc, see https://github.com/AsahiLinux/m1n1/blob/main/src/pcie.c
#asahi-dev · 2026-01-24 12:11
svenwe just virtualize the serial when you're running under the hv
#asahi-dev · 2026-01-24 12:11
svenvirtual serial and physical _is the same_
#asahi-dev · 2026-01-24 12:00
svensounds like your dt is just broken then
#asahi-dev · 2026-01-24 11:59
svenwell, maybe don't ignore it
#asahi-dev · 2026-01-24 11:58
svenright, so it's trying to access the wrong MMIO region
#asahi-dev · 2026-01-24 11:57
svendidn't you have 0x391200000 earlier?
#asahi-dev · 2026-01-24 11:57
sven0x191200004 does not look like the correct serial address
#asahi-dev · 2026-01-24 11:45
svenlooks good to me
#asahi-dev · 2026-01-24 11:09
svensomehow managed to get my mac mini into recovery mode(?). now i actually have to find a mouse and keyboard and a screen to get back to m1n1
#asahi-dev · 2026-01-24 11:09
sven*sigh*
#asahi-dev · 2026-01-24 10:54
sven:D
#asahi-dev · 2026-01-24 10:54
sveni wonder if we could just use aic2 for now and only create that new bindings once we actually run into anything interesting then
#asahi-dev · 2026-01-24 10:53
sventrue
#asahi-dev · 2026-01-24 10:45
sventhe name of the file would be a bit odd but i would've just added it to aic2, yes
#asahi-dev · 2026-01-24 10:45
svensounds good to me
#asahi-dev · 2026-01-24 10:42
svenjannau: hm, can we not just add the compatible to the aicv2 binding? they look very similar to me
#asahi-dev · 2026-01-23 21:55
svenunfortunately not enough to bring out the other end of the dockchannel serial
#asahi-dev · 2026-01-23 21:55
sventhere’s also code to talk to that debugusb thing in libirecovery
#asahi-dev · 2026-01-23 21:54
svenmight be another alternative for an easy hardware serial
#asahi-dev · 2026-01-23 21:54
svenif someone is bored: there’s apparently a AppleKIS.kext in 12.3 and 12.3.1 and we know how to put the Mac’s into KIS/DebugUSB mode and could do that from m1n1
#asahi-dev · 2026-01-23 21:42
svenso if that doesn't work there's something wrong with the CS or with your USB cable
#asahi-dev · 2026-01-23 21:42
svenyeah, m1n1 will send all its output over the hardware serial even before usb is up
#asahi-dev · 2026-01-23 20:40
svencache shouldn't matter
#asahi-dev · 2026-01-23 20:25
sventhat virtual address looks wrong
#asahi-dev · 2026-01-23 20:24
svens/anymore/anyway/
#asahi-dev · 2026-01-23 20:24
svenwe're not using github's merge feature anymore, as long as the diff looks reasonable everything's good
#asahi-dev · 2026-01-23 20:23
sventhe branch is fine
#asahi-dev · 2026-01-23 20:08
svenyeah
#asahi-dev · 2026-01-23 20:03
svenand i agree with jannau, i'd also list all supported devices
#asahi-dev · 2026-01-23 20:03
svenpretty sure it'll be true for everything M4
#asahi-dev · 2026-01-23 19:57
svenbut that mode may no longer exist on m4
#asahi-dev · 2026-01-23 19:57
svenwe're not disabling irqs there, we wrote to the register to turn wfi from "regular arm64 wfi" into "apple's wfi that now drops register state"
#asahi-dev · 2026-01-23 19:57
svenkeep in mind we're doing something different in cpuidle
#asahi-dev · 2026-01-23 19:55
sveni mean.. don't paste xnu code in here obviously, but links and discussion are fine
#asahi-dev · 2026-01-23 19:55
sventhe alternative paths might be redacted from oss xnu anyway
#asahi-dev · 2026-01-23 19:53
svennice find! that confirms that register is gone then
#asahi-dev · 2026-01-23 19:52
sven*even when
#asahi-dev · 2026-01-23 19:51
svenbut that needs more investigation and some m1n1 code to stay around even linux is running and some PSCI-over-EFI or whatever to hook it all up
#asahi-dev · 2026-01-23 19:50
svenand that was using something else anyway iirc
#asahi-dev · 2026-01-23 19:50
sven"proper" cpu sleep is much more cursed anyway. it would make the core lose ~all state and have it end up at RVBAR again when coming back up
#asahi-dev · 2026-01-23 19:49
svenmaybe the cores can unconditionally enter the higher boost states now ;)
#asahi-dev · 2026-01-23 19:49
svenoh right, it was mostly about the higher cpu states and power saving was a nice bonus

plus ›