ChanServ changed the topic of #asahi-gpu to: Asahi Linux: porting Linux to Apple Silicon macs | GPU / 3D graphics stack black-box RE and development (NO binary reversing) | Keep things on topic | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-gpu
<ntrung03[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.
<ntrung03[m]> Im away from my m1n1 setup for a few days so cant test that yet...
Emantor has joined #asahi-gpu
jakebot602 has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
chadmed_ is now known as chadmed
<lina> ntrung03[m]: It's not SPRR bypass exactly, it changes the permission interpretation to a different one
<lina> I already have all the permissions mapped out ^^
<lina> With 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)
<lina> Next stream I'll probably add permissions to the allocator stuff and fix the IOMMU side interpretation!
<ntrung03[m]> btw by SPRR bypass, I meant using ARM's interpretation instead of SPRR logic
<lina> Those are wrong ^^
<lina> That was what phire wrote based on standard ARM permissions
<lina> It doesn't actually work like that
<lina> I looked at this recently but haven't updated the code yet...
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
<phire> yeah, that was all done a while back. A lot of guess work
<phire> hell, took me a long time to notice how close it was to arm page tables, or marcan might have had to tell be that
<phire> I beleive I labeled it OS bcause it was always set on pages that macos mapped.
<lina> The rest of it is the same as ARM page tables, it's just that they used yet another permission interpretation (just like SPRR...)
Graypup_ has joined #asahi-gpu
Graypup_ has quit []
Graypup_ has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
SSJ_GZ has joined #asahi-gpu
e1eph4nt has joined #asahi-gpu
bluetail has quit [Quit: The Lounge - https://thelounge.chat]
bluetail has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
Race has quit [Ping timeout: 480 seconds]
chipxxx has joined #asahi-gpu
chipxxx has quit [Remote host closed the connection]
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
ashutoshsao[m] has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
chipxxx has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
chipxxx has quit [Read error: No route to host]
e1eph4nt has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
off^ has joined #asahi-gpu
e1eph4nt has joined #asahi-gpu
off^ has quit [Ping timeout: 480 seconds]
e1eph4nt has quit [Ping timeout: 480 seconds]
off^ has joined #asahi-gpu
e1eph4nt has joined #asahi-gpu
Race has joined #asahi-gpu
e1eph4nt has quit [Ping timeout: 480 seconds]
manuelzamoratetherbtcusa[m] has joined #asahi-gpu
<ntrung03[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?
e1eph4nt has joined #asahi-gpu