2026-07-23
00:08amarioguy has joined #asahi-re
00:09alessaba has joined #asahi-re
00:20nepeat has quit [Ping timeout: 480 seconds]
00:27nepeat has joined #asahi-re
01:49djit’s definitely an Apple bug in iBoot. They handle fuos path differently quite a lot I noticed in the binary
01:50djI guess we could run hypervisor properly under sptm boot path m1n1 at least for reverse engineering macOS as a guest right?
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-re
03:09foltz has quit [Quit: bye]
03:11foltz5 has joined #asahi-re
03:21debtquity has quit [Remote host closed the connection]
03:22debtquity has joined #asahi-re
04:26ave2861 has joined #asahi-re
04:42mattia013 has joined #asahi-re
05:33pb17 has quit [Ping timeout: 480 seconds]
05:38pb17 has joined #asahi-re
06:09kubed has joined #asahi-re
06:10jtingiris has quit [Ping timeout: 480 seconds]
06:10kubed is now known as jtingiris
06:31vup has quit []
07:09jtingiris has quit [Quit: ZNC 1.10.1 - https://znc.in]
07:09jtingiris has joined #asahi-re
07:13mattia013 has quit [Quit: mattia013]
07:23snooze6214[m] has joined #asahi-re
07:23snooze6214[m]Even if we run m1n1 with SPTM running beside it, if we don't control the page tables, how would we capture memory reads/writes from the hypervisor? I thought the hypervisor did this by causing a pagefault and walking the pagetable manually. Did I misunderstand how the hv works?
07:29jtingiris has quit [Quit: ZNC 1.10.1 - https://znc.in]
07:29jtingiris has joined #asahi-re
07:37vup has joined #asahi-re
07:55djI’m not familiar with how the hv works either so could be totally off, I just remember someone else saying it’s useful for hv so I wanted to follow up on that
07:56JamesCalligeros[m]Youve got it backwards i think maybe i was unclear
07:56JamesCalligeros[m]Running m1n1 under sptm is not useful
07:57JamesCalligeros[m]sptm needs to run under m1n1
07:57JamesCalligeros[m]There are two approaches: high-level emulation of sptm/txm inside m1n1 itself, or hypervising apple’s sptm blob alongside xnu and trapping and forwarding calls between them
07:58JamesCalligeros[m]Both approaches are horribly cursed, however the latter is, as we found out the hard way, slightly less so
08:02snooze6214[m]Has anyone attempted to load the sptm blob alongside xnu from m1n1?
08:02NickChan[m]no one has ever done that i think
08:06NickChan[m]dj: under sptm mmio trace should be possible for EL1/GL1 guest the same way any mmio peripheral is emulated for macOS virtual machines on linux
08:06NickChan[m]Erm, linux virtual machine on macos
08:07NickChan[m]could technically have another stub in GL1 that forward calls to the actual sptm which would make that another approach
08:12svensomeone has managed to virtualize SPTM and XNU using nested virt and some slightly cursed hacks on M2
08:13sventhey are in academia so they have to hand in their thesis before the code etc will be public though :(
08:13svennow that could be extended to m4 where it’ll get horribly cursed because that require shadow pagetable to emulate SPRR then
08:13NickChan[m]<NickChan[m]> "could technically have another..." <- Actually, I don't think that would work at all because EL1 xnu's calls would end up affect m1n1's pagetables as well as TGE=1 EL0 but xnu in this state is in EL1 and its EL0 is TGE=0
09:35yuyichao_ has joined #asahi-re
09:39yuyichao has quit [Ping timeout: 480 seconds]
10:14DD65 has quit [Remote host closed the connection]
10:15DD65 has joined #asahi-re
10:41rivendell has quit [Ping timeout: 480 seconds]
10:48rivendell has joined #asahi-re
11:21rivendell has quit [Ping timeout: 480 seconds]
11:21rivendell has joined #asahi-re
12:26pb17 has quit [Ping timeout: 480 seconds]
12:27pb17 has joined #asahi-re
14:34nicklvh has joined #asahi-re
14:56nicklvh has quit [Ping timeout: 480 seconds]
14:58nicklvh has joined #asahi-re
15:06nicklvh has quit [Ping timeout: 480 seconds]
15:08nicklvh has joined #asahi-re
15:15chadmed has quit [Read error: Connection reset by peer]
15:15chadmed has joined #asahi-re
15:18nicklvh has quit [Remote host closed the connection]
15:21nicklvh has joined #asahi-re
15:40nicklvh has quit [Ping timeout: 480 seconds]
15:49mattia013 has joined #asahi-re
15:53yuka has quit [Remote host closed the connection]
15:58yuka has joined #asahi-re
16:01mattia013 has quit [Quit: mattia013]
16:29mattia013 has joined #asahi-re
17:01chaos_princess has quit [Quit: chaos_princess]
17:01chaos_princess has joined #asahi-re
17:14nicklvh has joined #asahi-re
17:58nicklvh has quit [Remote host closed the connection]
18:38nnym_ has quit [Quit: quitting out | tjmnkrajyej@gmail.com]
19:17enverbalalic has joined #asahi-re
19:21enverbalalic has quit [Read error: Connection reset by peer]
19:21enverbalalic has joined #asahi-re
19:22enverbalalic has quit []
19:25enverbalalic has joined #asahi-re
19:25enverbalalic has quit []
19:30enverbalalic has joined #asahi-re
19:31enverbalalic has quit []
19:34enverbalalic has joined #asahi-re
19:35enverbalalic has quit []
19:37mattia013 has quit [Remote host closed the connection]
19:39djIs there part of atcphy I could contribute to with RE work and documentation? dont wanna overlap if someone else is already on it
19:40enverbalalic has joined #asahi-re
19:41enverbalalic has quit []
19:44enverbalalic has joined #asahi-re
19:51chaos_princesswhich hw
20:00nickchan has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
20:00nickchan has joined #asahi-re
20:14yurix_ has joined #asahi-re
20:18yurix has quit [Ping timeout: 480 seconds]
20:19yurix_ is now known as yurix
20:47nela has quit [Quit: Ping timeout (120 seconds)]
20:47nela has joined #asahi-re
20:58chaos_princessm5 may be useful one day
21:00djwhat’s the status on it in general? do we have thunderbolt 4 / usb c displays close to working on m1/m2?
21:01chaos_princesswe have the atcphy parts, the missing bits are in other drivers
21:03JamesCalligeros[m]dp alt-mode works on a single blessed port in the fairydust kernel branch but requires work to get it going across all ports
21:03chaos_princesswould not even be complicated on max SoCs, as we can just make every port the "blessed port"
21:04chaos_princessmore complex on vanilla/pro, as there we have to care about crossbar configuration
21:05JamesCalligeros[m]On laptops sure but there arent enough dcpexts to do that for the desktops
21:06chaos_princessi think there is?
21:07chaos_princessthe front ports on the max studio are not capable of dp output, right?
21:08JamesCalligeros[m]I havent tried
21:08JamesCalligeros[m]But pro only has two dcpexts on m1 and three on m2 right
21:08chaos_princessthere is an asmedia usb hub in front of them
21:08chaos_princesson pro there isn't enough
22:21enverbalalic has quit [Quit: enverbalalic]
22:25pb17 has quit [Ping timeout: 480 seconds]
22:27enverbalalic has joined #asahi-re
22:31pb17 has joined #asahi-re