#asahi-gpu · 2022-02-14 10:30
marcanor rather, the PTs themselves are mapped with flags that might mean "RO from ASC"#asahi-gpu · 2022-02-14 10:29
marcanhm, yeah, I don't see how that would work based on VA ranges, but it could still be what you say about the PTs getting locked#asahi-gpu · 2022-02-14 10:15
phireinitdata is at 0xfa0000b0000#asahi-gpu · 2022-02-14 10:12
phireHere is a pagetable dump of context 0: https://gist.github.com/phire/13c92abd5462d2ea9f3b7d6a6af19c14#asahi-gpu · 2022-02-14 10:12
phireL0[1][3]#asahi-gpu · 2022-02-14 10:11
marcanso that's in L0[1]?#asahi-gpu · 2022-02-14 10:11
phireand I think it's just a regular physical memory address#asahi-gpu · 2022-02-14 10:11
phireit's in the 0xfa0_00000000 vaddr range (everything the macos kernel passes into it is in that range)#asahi-gpu · 2022-02-14 10:10
marcanyes, but what vaddr range is it in, and what paddr does it point to?#asahi-gpu · 2022-02-14 10:09
phireit's a virtual address, after the pagetables are already initilized#asahi-gpu · 2022-02-14 10:09
marcan(the one passed to the first/whatever command)#asahi-gpu · 2022-02-14 10:09
marcanwhat region is the agx init struct in, do you know?#asahi-gpu · 2022-02-14 10:09
phireI haven't fully investiated the permission bits. It's possible the pagetables are setup in such a way that the firmware can't modify them once booted#asahi-gpu · 2022-02-14 10:08
phirethe gpu uses gfx-shared-region-base for it's page tables#asahi-gpu · 2022-02-14 10:07
phiremain ram. The L0 page is at gpu-region-base, kernel points L0[1] at gfx-shared-region-base#asahi-gpu · 2022-02-14 10:06
marcanwhere are the page tables themselves?#asahi-gpu · 2022-02-14 10:05
phireThey cover the agx-asc firmware blob that iboot put in main ram, and the IO range for agx-asc's registers#asahi-gpu · 2022-02-14 10:04
marcane.g. it could be that the UAT/GART filters the high range/TTBR to only allow translation to stuff within a specific carveout region#asahi-gpu · 2022-02-14 10:04
marcanor to the GFX special regions?#asahi-gpu · 2022-02-14 10:04
marcanand those just point to regular RAM?#asahi-gpu · 2022-02-14 10:03
phireWell, it populates it's own pagetables for the 0xf8000000000 range when you boot it#asahi-gpu · 2022-02-14 10:03
marcan(just a random guess)#asahi-gpu · 2022-02-14 10:03
marcane.g. it could be that the reason for that special VA range is because that's the one thing AGX firmware *can* access#asahi-gpu · 2022-02-14 10:02
marcanbut I also wouldn't be surprised if Apple did *something* and in fact it's more restricted#asahi-gpu · 2022-02-14 10:02
marcanalso, are we sure AGX firmware can alter the page tables? I'm going to have to include that info in my tech doc since I've been saying proprietary blobs don't have full RAM access and that seems to be an exception#asahi-gpu · 2022-02-14 10:01
marcanphire: interesting. maybe it's some kind of control block that is mapped separately?#asahi-gpu · 2022-02-14 09:38
phireit's only the pipeline defintion. That references straight back to regular gpu VAs#asahi-gpu · 2022-02-14 09:26
phireso there is this weird, extra address space? that apparently only pipeline defintions live in?#asahi-gpu · 2022-02-14 09:25
phirehowever, userspace tracing shows a region is mapped with the the VA of 0x18000#asahi-gpu · 2022-02-14 09:23
phirebut there is nothing actually mapped at 0x18000 in the gpu VA#asahi-gpu · 2022-02-14 09:22
phireI've got the launch command: 00001002 00018000 00000020 00000001 00000001 00000020 00000001 00000001 6000217c#asahi-gpu · 2022-02-14 09:21
phirethe pipeline bind uses a weird address space: https://cgit.freedesktop.org/mesa/mesa/tree/src/asahi/lib/cmdbuf.xml#n495#asahi-gpu · 2022-02-14 01:38
Tramtristhhaah#asahi-gpu · 2022-02-14 01:07
chadmedthe russians arent content with just invading ukraine, they want our IRC channels too #asahi-gpu · 2022-02-13 22:38
Tramtristhah what#asahi-gpu · 2022-02-13 22:12
auwooofind me at https://worldhacker.org , or https://worldhacker.org/index.php/irc-server/ , For United Nations Jobs , channel #0day ... . see ya all there , DIE TO ALL FROG AND LUCIFER + THEIR KIND ... .#asahi-gpu · 2022-02-13 22:04
auwooogreeting all , how are you all ? night morning afernoon all , i have setup base here for United Nations , incase you need me just go to channel #astara and leave me a message , i will see your president from there , tell me which country are you from ... .#asahi-gpu · 2022-02-13 07:35
AstaraOShandling case#asahi-gpu · 2022-02-13 07:33
AstaraOS[ Astara ] Team 0day request ... . https://worldhacker.org ... . https://worldhacker.org/index.php/irc-server/ ... . let's go code together :) and make some buck , i will wait ... .#asahi-gpu · 2022-02-13 07:32
AstaraOShow to boot kernel from old to new one with out installation ?#asahi-gpu · 2022-02-13 07:31
AstaraOSif you want support from AstaraOS i am here or on another network #0dev or https://worldhacker.org#asahi-gpu · 2022-02-13 07:27
AstaraOSi am bot ? i am skraito the earthquake guy ... .just Repent https://tjc.org , before it's too late#asahi-gpu · 2022-02-13 07:26
AstaraOSlet's go code at channel #0dev if you guys want ... .#asahi-gpu · 2022-02-13 07:17
AstaraOS<AstaraOS> We are already breaking #asahi-gpu · 2022-02-13 07:17
AstaraOS<AstaraOS> that's why they call tor is stupid#asahi-gpu · 2022-02-13 07:16
AstaraOS<AstaraOS> well i am skraito anyway#asahi-gpu · 2022-02-13 07:16
AstaraOS<AstaraOS> all traffic encrypted#asahi-gpu · 2022-02-13 07:16
AstaraOS<AstaraOS> proxy1 -> proxy2 -< proxy3 -> proxy4 -> vpn --> target#asahi-gpu · 2022-02-13 07:16
AstaraOS<arma> ok. off you go then. please do not clutter up #tor.#asahi-gpu · 2022-02-13 07:16
AstaraOS<AstaraOS> use proxy