#
✕ nick:sven
#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-10 21:32
svennickchan: do you remember the context I asked? because I don't :(
#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 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: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
sventry single stepping
#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 14:08
sveni have the same issue with the current tbt code fwiw, but haven't bothered to track down why yet
#asahi-dev · 2026-01-10 13:56
svenyou should just need a memory node filled by m1n1 with the actual memory size
#asahi-dev · 2026-01-10 13:56
sven(for the soc bus at least)
#asahi-dev · 2026-01-10 13:55
sven{address,size}-cells = 2 is correct, we have 64bit addresses on these systems
#asahi-dev · 2026-01-10 13:55
sventhe adt lies, don't trust it
#asahi-dev · 2026-01-10 13:49
svennice, i'll take a look tomorrow
#asahi-dev · 2026-01-10 13:47
svenyeah, you should be able to only push the changed objects which shouldn't be much if you fork torvalds/linux.git on github first
#asahi-dev · 2026-01-10 11:42
svenyup, this varies by subsystem. most are reasonable but there are a few exceptions ;)
#asahi-dev · 2026-01-10 11:41
sveni considered fixing some of these but it's written in perl and i'm not gonna touch that :D
#asahi-dev · 2026-01-10 11:40
svenafter a while you understand which things should actually be fixed and which are just heuristics gone wrong
#asahi-dev · 2026-01-10 11:40
svencheckpatch is good to run as a sanity check to catch dumb mistakes but I even treat the errors as suggestions
#asahi-dev · 2026-01-10 10:41
svenpicked up the small dt changes, will give the type-c series a few more days on LKML since it's much larger
#asahi-dev · 2026-01-09 23:09
svenyuka: apple_dcp is appledrm now
#asahi-dev · 2026-01-09 23:09
svenor at least fixed the write to not break something
#asahi-dev · 2026-01-09 23:08
sveni think if it prints that it made sure the write won't go through
#asahi-dev · 2026-01-09 23:08
sventhat's normal on m1/m2 as well
#asahi-dev · 2026-01-09 23:05
svenoh
#asahi-dev · 2026-01-09 23:05
svenno, i mean, why can't you apply the patches at the start?
#asahi-dev · 2026-01-09 23:03
svenwhat do you need to wait for before you can apply the patches?
#asahi-dev · 2026-01-09 23:03
sven"in shell, quickly ^D and ^C, and then:" :D
#asahi-dev · 2026-01-09 22:52
sventhat.. sounds very weird
#asahi-dev · 2026-01-09 22:05
svendo you have earlycon enabled?
#asahi-dev · 2026-01-09 21:57
svenneeds to be above notice for that to show up
#asahi-dev · 2026-01-09 21:57
svendepends on which log level you enabled for the console output
#asahi-dev · 2026-01-09 21:56
svennice, i'm mostly curious what the reason was
#asahi-dev · 2026-01-09 21:54
svenhave you figured out why el1_call was broken btw?
#asahi-dev · 2026-01-09 21:40
sven:D
#asahi-dev · 2026-01-09 21:39
svenah, nvm then
#asahi-dev · 2026-01-09 21:39
svenplease keep re stuff to #asahi-re :)
#asahi-dev · 2026-01-09 21:38
svenuhhh
#asahi-dev · 2026-01-09 21:38
svenat least it had something != EL0 in that recount structure from the thread. it might still be coming from EL0
#asahi-dev · 2026-01-09 21:37
sveni assume recent macos (like 26) still works under the hv on m1?
#asahi-dev · 2026-01-09 21:36
svenosfmk/kern/recount.c
#asahi-dev · 2026-01-09 21:36
svenyeah, i'm looking at the xnu code that runs everywhere
#asahi-dev · 2026-01-09 21:35
svenyeah, and then it updates the level just after the assert in that performance accounting structure attached to the thread
#asahi-dev · 2026-01-09 21:31
svenmaybe i'm reading the code wrong, but doesn't it check if the EL in the thread context (or whatever) is equal to the expected EL (EL0 here)?
#asahi-dev · 2026-01-09 21:26
svenuh, i wonder if we're patching a symptom of some corruption already. that assert seems to be triggered on unexpected ELn->ELm transitions i think
#asahi-dev · 2026-01-09 21:24
svenit's some performance accounting for threads i think, but the code is rather confusing
#asahi-dev · 2026-01-09 21:20
svenlovely
#asahi-dev · 2026-01-09 21:20
svenblind guess though

plus ›