#
#asahi-dev · 2026-01-11 08:35
nickchansven: how much battery does it have when closing the lid
#asahi-dev · 2026-01-11 08:33
svennot sure why it even tries to hibernate since we don't really support that
#asahi-dev · 2026-01-11 08:32
svenlast dmesg entry, has anyone seen that before?
#asahi-dev · 2026-01-11 08:32
svenJan 11 02:28:24 sven-macbookair kernel: PM: hibernation: hibernation entry
#asahi-dev · 2026-01-11 08:32
svenhrm, had my lid closed last night and couldn't get my macbook to turn on this morning anymore
#asahi-dev · 2026-01-11 06:48
nickchannot an expert in actual silicon mac stuff
#asahi-dev · 2026-01-11 06:47
nickchani think
#asahi-dev · 2026-01-11 06:47
nickchanset shutdown flag and write off0 then j314s still reboots
#asahi-dev · 2026-01-11 06:12
nickchanon j314s
#asahi-dev · 2026-01-11 06:12
nickchanokay writing off0 to MBSE without doing anything else reboots the machine
#asahi-dev · 2026-01-11 06:05
nickchannot sure if off0 would work on mac
#asahi-dev · 2026-01-11 06:04
nickchannow T2 still doesn't have mbse but that had always been a weird device
#asahi-dev · 2026-01-11 06:04
nickchanhttps://oftc.catirclogs.org/asahi-dev/2025-06-21#34380266
#asahi-dev · 2026-01-11 06:04
nickchanespecially i did post on the list saying that macsmc-reboot was getting probed without a node
#asahi-dev · 2026-01-11 06:03
nickchansven: context was trying to see if smc-reboot is really only introduced in later devices
#asahi-dev · 2026-01-10 21:32
svennickchan: do you remember the context I asked? because I don't :(
#asahi-dev · 2026-01-10 21:18
fl0_idbut stepping didn't seem to get me anywhere. maybe someone with better assembly knowledge would see sth not sure
#asahi-dev · 2026-01-10 21:17
fl0_idfl0_id sven mmh, that part I posted, it went on for a while, but when I left it a for a bit it was somewhere else. so if this is the loop it is bigger
#asahi-dev · 2026-01-10 20:39
svenhttps://f.svpe.de/cfe35f551d820fef8aba388b16a4839bc4c845dd9ae6349bd19668ab59322dca_acio.txt working on the tbt/acio device tree bindings and here's a simplified ASCII image of how this mess maybe looks
#asahi-dev · 2026-01-10 18:35
nickchanother values can't be written
#asahi-dev · 2026-01-10 18:35
nickchansusp -> restart device but this one might very well because i did not set things up properly
#asahi-dev · 2026-01-10 18:35
nickchanoff0 -> power down device
#asahi-dev · 2026-01-10 18:35
nickchanmore specifically in t8015 m1n1 MBSE reads as 0x2f, and offw, slpw, rest, panb, pane can be written without immediate effects
#asahi-dev · 2026-01-10 16:20
nickchanfor reset presumably it's watchdog
#asahi-dev · 2026-01-10 16:20
nickchanFianlly 'off0' is written to "MBSE" if it's poweroff
#asahi-dev · 2026-01-10 16:19
nickchanthen "BCSS" is written if it's a poweroff
#asahi-dev · 2026-01-10 16:19
nickchanI mean written
#asahi-dev · 2026-01-10 16:19
nickchanthat being said according to my iboot trace logs "rCTL" is accessed before reset/poewroff
#asahi-dev · 2026-01-10 16:18
nickchan(linux driver writes "off1")
#asahi-dev · 2026-01-10 16:18
nickchan2. iboot does not write to MBSE for reset
#asahi-dev · 2026-01-10 16:17
nickchan1. writing 'off0' to MBSE will cause the system to power down, no other action needed
#asahi-dev · 2026-01-10 16:17
nickchanI can now answer in more detail:
#asahi-dev · 2026-01-10 16:17
nickchansven: about t8015's MBSE key that you asked in 2025-06
#asahi-dev · 2026-01-10 16:15
fl0_id___ofc it could be a normal loop that eventually ends, but I've gone through a few...
#asahi-dev · 2026-01-10 16:14
fl0_id___have to go do some other things for a bit
#asahi-dev · 2026-01-10 16:14
fl0_id___yeah it's a loop. I have a small annotated snippet here. https://www.pastery.net/kfnwvt/ I'll try to piece together a full assembly loop output later.
#asahi-dev · 2026-01-10 15:38
fl0_id___ah i was looking for ctx i guess
#asahi-dev · 2026-01-10 15:36
fl0_id___should there be any output for step ?
#asahi-dev · 2026-01-10 15:32
fl0_id___ok
#asahi-dev · 2026-01-10 15:32
svenso instead of continue just use step
#asahi-dev · 2026-01-10 15:32
sventry single stepping after that last hvc
#asahi-dev · 2026-01-10 15:32
fl0_id___i'll try single stepping again, before it didn't work properly but maybe just the breakpoint didn't work
#asahi-dev · 2026-01-10 15:31
svenyeah, that sounds wrong. it either jumped far beyond the end of the kernel or the symbols are corrupted for some reason
#asahi-dev · 2026-01-10 15:30
fl0_id___back trace is a lot of - 0xffffb75c53edc534 (kimage_limit+0x375bd00dc534)
#asahi-dev · 2026-01-10 15:30
sventry single stepping
#asahi-dev · 2026-01-10 15:30
fl0_id___sven, it seems like a loop. after the last hvc instruct it reaches, I continue and then there's a blank line and nothing else.
#asahi-dev · 2026-01-10 15:15
svenor do you get an exception?
#asahi-dev · 2026-01-10 15:15
svendoes it just get stuck in a loop there?
#asahi-dev · 2026-01-10 15:15
svendon't think, but also don't really have any idea why it fails somewhere inside mm :/
#asahi-dev · 2026-01-10 15:14
fl0_id__could it be related to the chickens related to 24mhz/1ghz in el1/el2 that I out commented when it stopped at an earlier stage?

plus ›