2026-07-18
00:05maettu102 has quit [Quit: brb]
00:05maettu102 has joined #asahi-re
00:14Mary has quit [Quit: .]
00:14Mary has joined #asahi-re
01:07hdbngr has joined #asahi-re
01:16hdbngr has quit [Ping timeout: 480 seconds]
01:33r0ni has quit [Ping timeout: 480 seconds]
01:49hdbngr has joined #asahi-re
01:58hdbngr has quit [Ping timeout: 480 seconds]
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-re
02:12r0ni has joined #asahi-re
02:27nela has quit [Ping timeout: 480 seconds]
02:30nela has joined #asahi-re
02:33nnym has quit [Ping timeout: 480 seconds]
02:34hdbngr has joined #asahi-re
02:42hdbngr has quit [Ping timeout: 480 seconds]
02:50hdbngr has joined #asahi-re
02:59hdbngr has quit [Ping timeout: 480 seconds]
03:07hdbngr has joined #asahi-re
03:15hdbngr has quit [Ping timeout: 480 seconds]
03:16pb17 has quit [Remote host closed the connection]
03:16pb17 has joined #asahi-re
03:58yuyichao_ has joined #asahi-re
03:59hdbngr has joined #asahi-re
04:03yuyichao has quit [Ping timeout: 480 seconds]
04:07hdbngr has quit [Ping timeout: 480 seconds]
04:20hdbngr has joined #asahi-re
04:28hdbngr has quit [Ping timeout: 480 seconds]
04:37hdbngr has joined #asahi-re
04:46hdbngr has quit [Ping timeout: 480 seconds]
04:51hdbngr has joined #asahi-re
05:00hdbngr has quit [Ping timeout: 480 seconds]
05:15rosalyntg has quit [Read error: Connection reset by peer]
05:15rosalyntg has joined #asahi-re
05:16hdbngr has joined #asahi-re
05:25hdbngr has quit [Ping timeout: 480 seconds]
05:52hdbngr has joined #asahi-re
06:01hdbngr has quit [Ping timeout: 480 seconds]
06:05hdbngr has joined #asahi-re
06:09mattia013 has quit [Remote host closed the connection]
06:11mattia013 has joined #asahi-re
06:14hdbngr has quit [Ping timeout: 480 seconds]
06:29hdbngr has joined #asahi-re
06:33rosalyntg has quit [Ping timeout: 480 seconds]
06:36pb17 has quit [Ping timeout: 480 seconds]
06:37hdbngr has quit [Ping timeout: 480 seconds]
06:42pb17 has joined #asahi-re
06:53hdbngr has joined #asahi-re
07:00weirdtreething has quit [Remote host closed the connection]
07:00weirdtreething has joined #asahi-re
07:02hdbngr has quit [Ping timeout: 480 seconds]
07:38jtingiris has quit [Quit: ZNC 1.10.1 - https://znc.in]
07:38jtingiris has joined #asahi-re
07:54hdbngr has joined #asahi-re
08:03hdbngr has quit [Ping timeout: 480 seconds]
08:39hdbngr has joined #asahi-re
09:23hdbngr_ has joined #asahi-re
09:27hdbngr has quit [Ping timeout: 480 seconds]
10:16ddxtanx has quit [Remote host closed the connection]
10:17hdbngr_ has quit [Quit: leaving]
10:51scottjg4 has quit [Read error: Connection reset by peer]
10:51scottjg4 has joined #asahi-re
12:57mini has quit [Quit: The Lounge - https://thelounge.chat]
12:59mini has joined #asahi-re
13:33chadmed has quit [Remote host closed the connection]
13:38chadmed has joined #asahi-re
17:17amarioguyyuka: erm....seems like when i try to connect to the uartproxy the shell just spams '> 0'
17:43amarioguynow why tf when i try to read from cpu-impl-reg (IORVBAR region) does it cause an serror loop...
17:44amarioguyok definitely not the iorvbar region...but seems like trying to just read other stuff outside of that can result in an serror loop
17:47amarioguy(the problem isn't necessarily the serrors themselves, more that m1n1 seems to be struggling to recover from them...)
17:59nela has quit [Quit: Ping timeout (120 seconds)]
18:00nnym has joined #asahi-re
18:04nela has joined #asahi-re
18:55amarioguyyuka: tl;dr is that serrors don't have the exception guard code that the synchronous exception path does
18:55amarioguymy "fix" in quote marks is basically just to add the logic from sync exceptions for the purposes of dumping these registers
18:56amarioguyi say "in quote marks" because i'm sure there's probably a good reason serror handling doesn't have the exception guard code
18:57amarioguyso every time it was doing the ERET, it was returning to the exact same instruction that was SError'ing
19:01amarioguysee it turns out on apple platforms (some previous experience with some m1n1 testing a few years ago gave me similar issues too) accessing some memory addresses wrong basically throws an serror that's synchronous with the instruction
19:02chaos_princesscan you figure it out from that register that has extra error info?
19:03amarioguythat's an example but most things that aren't IORVBAR or very specific addresses which are known to exist seem to throw these
19:04amarioguyfor example 0x210F80040 (from iBoot disasm) exists and returns a good value but 0x2110400D0 does not
19:05amarioguyi did try 32-bit access width on this same addr, lower nibble became 3 but otherwise not much different)
19:07amarioguynot saying that those registers do exist, more trying to figure out...is doing elr += 4 a good idea for the read8/read16/read32/read64 case specifically?
19:09chaos_princessi guess yes, those specific instructions can be marked with labels or sth, and if it is there - bump the elr
19:25amarioguytried an experiment where i disabled SErrors in DAIF, read one of the known bad addresses, it read back 0 for it (i doubt it actually read anything however it works at least for suppressing the problem here)
19:38amarioguychaos_princess, yuka: going to post the register dumps to gists along with the diff (between the two beta builds, this is related to RE'ing the mechanism for sysreg locks), should i leave sync exceptions on in DAIF or not?
19:38amarioguydid a trial run and some regs were giving sync exceptions, unsure if i should leave those on or not, whatever's more useful
19:39chaos_princessprobably have them on, we handle sync exceptions correctly, right?
20:17yukaHaving tooling in m1n1 for dumping mmio areas which partially cause SErrors would be very useful
20:49amarioguyaccesses to 0x211ea2000 seemed to hang, i skipped to 0x211f00000 as i was unsure if other regs in that region also hung m1n1 and didn't have the time to test those in between
20:51amarioguy(pastebin itself seems obvious...but unsure if it's that great ngl since iirc it started having some login walls)
20:55enverbalalic has joined #asahi-re
21:08amarioguyplease ping if anyone notices issues with the methodology or with the actual dumps themselves
21:17amarioguybtw important note, i think a bunch of them being 0 is often symptomatic of those registers normally triggering SErrors
21:47crabbedhaloablut has quit []
21:47crabbedhaloablut has joined #asahi-re
22:00chadmed has quit [Quit: Konversation terminated!]
22:29WindowPain has quit [Read error: Connection reset by peer]
22:31WindowPain has joined #asahi-re
23:27enverbalalic has quit [Quit: enverbalalic]
23:53copticcurse has joined #asahi-re
23:56nela has quit [Quit: Ping timeout (120 seconds)]