#
…

2022-09-10

00:26ntrung03[m]lina: I think the OS bit of the UAT PTE is SPRR bypass. That makes sense because the OS might not know the SPRR permission config of the firmware but it still have to map its entries.
00:32ntrung03[m]Im away from my m1n1 setup for a few days so cant test that yet...
01:20Emantor has joined #asahi-gpu
01:23jakebot602 has joined #asahi-gpu
01:51e1eph4nt has quit [Ping timeout: 480 seconds]
02:06e1eph4nt has joined #asahi-gpu
02:15e1eph4nt has quit [Ping timeout: 480 seconds]
02:32e1eph4nt has joined #asahi-gpu
02:33chadmed_ is now known as chadmed
03:14linantrung03[m]: It's not SPRR bypass exactly, it changes the permission interpretation to a different one
03:14linaI already have all the permissions mapped out ^^
03:14linaWith the bit off the firmware uses SPRR and the GPU has no access. With the bit on SPRR is ignored and a different set of permissions applies, for both firmware and the GPU (different ones)
03:17linaNext stream I'll probably add permissions to the allocator stuff and fix the IOMMU side interpretation!
03:24ntrung03[m]btw by SPRR bypass, I meant using ARM's interpretation instead of SPRR logic
03:29linaThose are wrong ^^
03:30linaThat was what phire wrote based on standard ARM permissions
03:30linaIt doesn't actually work like that
03:30linaI looked at this recently but haven't updated the code yet...
03:47e1eph4nt has quit [Ping timeout: 480 seconds]
03:58e1eph4nt has joined #asahi-gpu
04:12phireyeah, that was all done a while back. A lot of guess work
04:13phirehell, took me a long time to notice how close it was to arm page tables, or marcan might have had to tell be that
04:13phireI beleive I labeled it OS bcause it was always set on pages that macos mapped.
04:14linaThe rest of it is the same as ARM page tables, it's just that they used yet another permission interpretation (just like SPRR...)
04:51Graypup_ has joined #asahi-gpu
04:55Graypup_ has quit []
04:56Graypup_ has joined #asahi-gpu
05:21e1eph4nt has quit [Ping timeout: 480 seconds]
05:22SSJ_GZ has joined #asahi-gpu
05:44e1eph4nt has joined #asahi-gpu
06:11bluetail has quit [Quit: The Lounge - https://thelounge.chat]
06:12bluetail has joined #asahi-gpu
06:52e1eph4nt has quit [Ping timeout: 480 seconds]
07:01e1eph4nt has joined #asahi-gpu
07:09e1eph4nt has quit [Ping timeout: 480 seconds]
07:18e1eph4nt has joined #asahi-gpu
07:27e1eph4nt has quit [Ping timeout: 480 seconds]
07:35e1eph4nt has joined #asahi-gpu
07:44e1eph4nt has quit [Ping timeout: 480 seconds]
07:53e1eph4nt has joined #asahi-gpu
09:01e1eph4nt has quit [Ping timeout: 480 seconds]
09:25e1eph4nt has joined #asahi-gpu
10:33e1eph4nt has quit [Ping timeout: 480 seconds]
10:44e1eph4nt has joined #asahi-gpu
11:51e1eph4nt has quit [Ping timeout: 480 seconds]
12:01e1eph4nt has joined #asahi-gpu
12:09e1eph4nt has quit [Ping timeout: 480 seconds]
12:18e1eph4nt has joined #asahi-gpu
12:27e1eph4nt has quit [Ping timeout: 480 seconds]
12:37e1eph4nt has joined #asahi-gpu
13:16Race has quit [Ping timeout: 480 seconds]
14:19chipxxx has joined #asahi-gpu
14:37chipxxx has quit [Remote host closed the connection]
14:46e1eph4nt has quit [Ping timeout: 480 seconds]
14:54e1eph4nt has joined #asahi-gpu
15:03e1eph4nt has quit [Ping timeout: 480 seconds]
15:10e1eph4nt has joined #asahi-gpu
15:19e1eph4nt has quit [Ping timeout: 480 seconds]
15:27e1eph4nt has joined #asahi-gpu
16:35e1eph4nt has quit [Ping timeout: 480 seconds]
16:54e1eph4nt has joined #asahi-gpu
16:56ashutoshsao[m] has joined #asahi-gpu
17:09e1eph4nt has quit [Ping timeout: 480 seconds]
17:23e1eph4nt has joined #asahi-gpu
17:44chipxxx has joined #asahi-gpu
18:32e1eph4nt has quit [Ping timeout: 480 seconds]
18:41e1eph4nt has joined #asahi-gpu
19:49e1eph4nt has quit [Ping timeout: 480 seconds]
19:56chipxxx has quit [Read error: No route to host]
19:59e1eph4nt has joined #asahi-gpu
20:07e1eph4nt has quit [Ping timeout: 480 seconds]
20:08off^ has joined #asahi-gpu
20:11e1eph4nt has joined #asahi-gpu
20:26off^ has quit [Ping timeout: 480 seconds]
21:21e1eph4nt has quit [Ping timeout: 480 seconds]
21:44off^ has joined #asahi-gpu
22:07e1eph4nt has joined #asahi-gpu
22:16Race has joined #asahi-gpu
23:13e1eph4nt has quit [Ping timeout: 480 seconds]
23:22manuelzamoratetherbtcusa[m] has joined #asahi-gpu
23:33ntrung03[m]lina: Is there any particular reason that we don't talk to the PowerVR(?) sgx directly instead of going through the ascv2 that has its protocol changing every now and then?
23:59e1eph4nt has joined #asahi-gpu
…