2021-10-08
00:03daftfrog[m] has joined #asahi-dev
00:03bngs[m] has joined #asahi-dev
00:03blazra[m] has joined #asahi-dev
00:09svenpeter[m] has joined #asahi-dev
00:09svenpeter[m] is now known as Guest2146
00:18doggkruse has joined #asahi-dev
00:21emilazy has joined #asahi-dev
00:30fluffypup[m] has joined #asahi-dev
00:32digitalfx[m] has joined #asahi-dev
00:39SocioProphet[m] has joined #asahi-dev
00:41mmlb[m] has joined #asahi-dev
00:41samfromspace[m] has joined #asahi-dev
00:42s-urabe[m] has joined #asahi-dev
00:42mofux[m] has joined #asahi-dev
00:42yuyichao_ has joined #asahi-dev
00:45IvanMaksimovic[m] has joined #asahi-dev
00:52perigoso[m] has joined #asahi-dev
00:53RowanGoemans[m] has joined #asahi-dev
01:04DanielHuisman[m] has joined #asahi-dev
01:06brentr123[m] has joined #asahi-dev
01:11lockna has joined #asahi-dev
01:23ted[m]1 has joined #asahi-dev
01:27ella-0[m] has joined #asahi-dev
01:28psydroid has joined #asahi-dev
01:29CristianMgheruan-Stanciu[m] has joined #asahi-dev
01:40dnjmis[m] has joined #asahi-dev
01:50doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
01:51AkihikoOdaki[m] has joined #asahi-dev
01:52arnidg[m] has joined #asahi-dev
01:52davay[m] has joined #asahi-dev
01:53user1tt[m] has joined #asahi-dev
01:53xerpi[m] has joined #asahi-dev
01:56nilsi[m] has joined #asahi-dev
01:59___nick___ has joined #asahi-dev
02:01simjnd[m] has joined #asahi-dev
02:05ar88kk[m] has joined #asahi-dev
02:06doggkruse has joined #asahi-dev
02:13Bastian[m] has joined #asahi-dev
02:29PhilippvK has joined #asahi-dev
02:33phiologe has quit [Ping timeout: 480 seconds]
02:56pg12_ has quit [Remote host closed the connection]
02:56pg12_ has joined #asahi-dev
03:02doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:12doggkruse has joined #asahi-dev
03:25kov has quit [Quit: Coyote finally caught me]
03:40abilash1994[m] has joined #asahi-dev
03:43ah-[m] has joined #asahi-dev
03:56psykose has quit [Read error: Connection reset by peer]
03:56psykose has joined #asahi-dev
04:04al3xtjames0 has joined #asahi-dev
04:05al3xtjames has quit [Remote host closed the connection]
04:05al3xtjames0 is now known as al3xtjames
04:14spot[m] has joined #asahi-dev
04:20alexanderwillner[m] has joined #asahi-dev
04:27chadmed has quit [Quit: Konversation terminated!]
04:32h_ro[m] has joined #asahi-dev
04:34chadmed has joined #asahi-dev
04:51chadmed has quit [Quit: Konversation terminated!]
04:55chadmed has joined #asahi-dev
05:07tophevich[m] has joined #asahi-dev
05:11Amey has joined #asahi-dev
05:20rethematrix[m] has joined #asahi-dev
05:46Eighth_Doctor has joined #asahi-dev
06:13msmith12[m] has joined #asahi-dev
06:27TellowKrinkle[m] has joined #asahi-dev
06:45chadmed has quit [Remote host closed the connection]
06:46chadmed has joined #asahi-dev
06:51aleasto has joined #asahi-dev
07:00arndalyssa: I'd try to avoid the ## concatenation. While that does involve passing both (almost identical) identifiers in the DCP_THUNK_*() call, it does become possible to grep afterwards, which helps readers understand where the calls actually go.
07:01_alice has joined #asahi-dev
07:11DarkShadow44 has quit [Quit: ZNC - https://znc.in]
07:11DarkShadow44 has joined #asahi-dev
07:12maxim[m] has joined #asahi-dev
07:25chadmed has quit [Remote host closed the connection]
07:25chadmed has joined #asahi-dev
07:59etsukata[m] has joined #asahi-dev
08:05kdrag0n[m] has joined #asahi-dev
08:13cgv[m] has joined #asahi-dev
08:20alicela1n has joined #asahi-dev
08:22doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:23HayashiEsme[m] has joined #asahi-dev
09:30gamble[m] has joined #asahi-dev
09:39peerp[m] has joined #asahi-dev
09:46joerosenberg[m] has joined #asahi-dev
11:04ryanhrob[m] has joined #asahi-dev
11:10rowang077[m] has joined #asahi-dev
11:23ghantaz[m] has joined #asahi-dev
11:24rkjnsn[m] has joined #asahi-dev
12:02jevinskie[m] has joined #asahi-dev
12:06ograff has joined #asahi-dev
12:07thebrinkoftomorrow[m] has joined #asahi-dev
12:44AnushervonTabarov[m] has joined #asahi-dev
13:00ybk[m] has joined #asahi-dev
13:02sajattack[m] has joined #asahi-dev
13:27zbotpath[m] has joined #asahi-dev
13:38izzyisles[m] has joined #asahi-dev
13:46bastilian[m] has joined #asahi-dev
13:47yuyichao_ has quit [Ping timeout: 480 seconds]
14:02King_In5 has quit [Remote host closed the connection]
14:14yuyichao_ has joined #asahi-dev
14:21landscape15[m] has joined #asahi-dev
14:23HaoYanQi[m] has joined #asahi-dev
14:28King_InuYasha has joined #asahi-dev
14:30yuyichao_ has quit [Quit: Konversation terminated!]
14:31yuyichao has joined #asahi-dev
14:41povik has joined #asahi-dev
14:46doggkruse has joined #asahi-dev
15:02shaman_br[m] has joined #asahi-dev
15:05foxlet has joined #asahi-dev
15:16facez[m] has joined #asahi-dev
15:25happy-dude[m] has joined #asahi-dev
15:51JuniorJPDJ has joined #asahi-dev
16:10YichaoYu[m] has joined #asahi-dev
16:17yuyichao_ has joined #asahi-dev
16:21yuyichao has quit [Ping timeout: 480 seconds]
16:32gladiac has quit [Quit: k thx bye]
16:33gladiac has joined #asahi-dev
17:09povik[ 8229.443188] apple-dart 235004000.iommu: translation fault: status:0x82010001 stream:2 code:0x1 (NO TTBR FOR IOVA) at 0xfff86a00
17:10sveni have some old notes but i think marcan looked into that one a bit during one of his streams
17:11sven"NO TTBR FOR IOVA" is a dead giveaway. for some reason the DART isn't able to read the base pagetable
17:13marcanwe should add that DAPF stuff, it looked pretty simple when I looked at it but I never did experiments
17:16j_eyhttps://files.svenpeter.dev/70fb5357bea78c2e50f0017f563907ebe775cd731861d37751346a1eb8ad61c9_aes.py
17:17doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:17marcanpovik: it's just the page after the DART regs, and it's a little table with from/to/size type mappings, and some magic flags, some of which seem related to whether the mapping gets used for the DART PTs themselves
17:24svenmaybe it goes through but triggers the interrupt which the poc ignores? but that would be very strange
17:43alyssapovik: do not disregard "it's faulting nonstop in m1n1 but there's no IRQ handler checking" as a possibility ;-p
17:51svenhm... dart_initialize does self.regs.ENABLED_STREAMS.val = 0 and then later self.regs.ENABLED_STREAMS.val |= self.enabled_streams which my driver doesn't do
17:53svencan you try write32(u.adt["/arm-io/dart-sio"].get_reg(0)[0] + 0xfc, 0xffff) before booting linux?
18:01svenhttps://f.svpe.de/52c10d8289feeacb904f544ede573549bb91ba8ee1b39d834266a4d00ba03d01_0001-iommu-dart-Reset-DART_STREAMS_ENABLE.patch not even compile tested :D
18:08doggkruse has joined #asahi-dev
18:18doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:26povik has quit [Remote host closed the connection]
21:24___nick___ has quit [Ping timeout: 480 seconds]
21:33yuyichao_ has quit [Ping timeout: 480 seconds]
22:35doggkruse has joined #asahi-dev
22:50marcan02:51:37 < sven> hm... dart_initialize does self.regs.ENABLED_STREAMS.val = 0 and then later self.regs.ENABLED_STREAMS.val |= self.enabled_streams which my driver doesn't do
22:52marcan(PMP is funny btw, the reg property in the adt is actually a pile of MMIO ranges you're supposed to map *for* it in the DART, then on startup you give it a table of DVAs and some other stuff from the ADT)
23:35aleasto has quit [Quit: Konversation terminated!]
23:49yuyichao_ has joined #asahi-dev