#asahi-gpu · 2022-02-06 14:18
alyssa☁️ On air - https://twitch.tv/asahigpu ☁️#asahi-gpu · 2022-02-06 14:17
matthewayers[m]Is there a link to the stream?#asahi-gpu · 2022-02-06 14:09
alyssa(...so sleepy)#asahi-gpu · 2022-02-06 14:09
alyssaokay, I think OBS is reconfigured#asahi-gpu · 2022-02-06 13:55
Tramtrist😻#asahi-gpu · 2022-02-06 13:53
alyssaA very sleepy Alyssa is about to stream M1 GPU driver dev ^^#asahi-gpu · 2022-02-06 04:42
phireWeird... the only interrupt actually in use across both /arm-io/sgx and /arm-io/gfx-asc is the asc interrupt#asahi-gpu · 2022-02-06 03:10
baddeka b o u t 9 m `il तi o n - iहr a ह`q i l o s t ` thल e i r li`ल vलes e i th e r be ca uz . o f di्r e ct ameri`can vi ्ol e`nce ` and .. . beca uz /of si ्e`ge . u दs दa ma de . a`g दa iदn s t i दrद aद q t h at pr eदveद nt ed iद r aद qi f or m es se nt ial ` l i v i n g ` ma #asahi-gpu · 2022-02-06 03:10
baddekt j u डs t l e t ` it h aड pड pड en * .. a m e ड r i c` a n s ne eसd e d someसthiसng l i k e 9.स 1 1 to j /u sस t i f y i nस v `a dस i n g .i सr /a सq ` w h i c h/ has b e e n ...alrसea dy p l a n स n e d as a p art of c rस e/ a t सi v e c hस a` o s p l a n for . m i d सd l #asahi-gpu · 2022-02-06 03:10
baddeke e a सs t#asahi-gpu · 2022-02-06 03:10
baddekif . a. l ड q. a डe d a / ` d्i ्d .. it w h y , ` t o k `गi lग l 9 . m i जl` जl i on . i r` a q i s #asahi-gpu · 2022-02-06 03:10
baddek` ्बहवDड i डd u` sड a t r डa iड n , & s uड p `pl y i डs ड` i s wi th w e. aड .p o डn s l i k e i t d i d w i t h a. l ड q. a डe d a to j. u sडt i f y c r e a डt i n g w. aड r s C. R Eड A Tड I V E C .H डAO S- d i d cड i` a d i d 9.डड11 . or, i #asahi-gpu · 2022-02-06 02:10
phirethere are also carveouts there#asahi-gpu · 2022-02-06 02:09
alyssaI meant darts being grouped with the handoff#asahi-gpu · 2022-02-06 02:09
phireI think that just comes from ADT#asahi-gpu · 2022-02-06 02:07
alyssa 0x8FC3B4000, 0x4000, 0x40004016, 'GUAT' ; sgx.gfx-handoff-base#asahi-gpu · 2022-02-06 02:07
alyssa0x267030000, 0x4000, 0x4007, 'DART' ; dart-ave#asahi-gpu · 2022-02-06 02:07
alyssa 0x239028000, 0x4000, 0x4007, 'DART' ; dart-usb#asahi-gpu · 2022-02-06 02:07
alyssathe table there is kinda interesting#asahi-gpu · 2022-02-06 02:07
phirethe cache coherrency protocol could theortically tell the gpu firmware that memory has been updated, but that's a really janky hack#asahi-gpu · 2022-02-06 02:06
phire(it's also located in physical memory)#asahi-gpu · 2022-02-06 02:05
phireseems to be memory, it holds any writes#asahi-gpu · 2022-02-06 02:05
alyssahttps://googleprojectzero.blogspot.com/2020/07/ came up in two google searches in a row#asahi-gpu · 2022-02-06 02:01
alyssasven: ^^#asahi-gpu · 2022-02-06 02:01
phireI admit, things would make much more sense if gfx-handoff was an mmio region#asahi-gpu · 2022-02-06 02:00
phirepanic(cpu 4 caller 0xfffffe0013c5d848): UAT PPL 0xfffffdf030af4160 (IOUAT): Invalid microPPL magic value found in the handoff region. Expected: 0x4b1d000000000002, Actual: 0x0#asahi-gpu · 2022-02-06 02:00
phireif you clear the value at gfx-handoff+8, the kernel does the following panic:#asahi-gpu · 2022-02-06 01:58
phirethe asc traffic itself is mostly just <ep:20 0042000000000000, >ep:21 0083000000000000#asahi-gpu · 2022-02-06 01:58
alyssaokay yes i see V_V#asahi-gpu · 2022-02-06 01:58
alyssaaaaaa#asahi-gpu · 2022-02-06 01:58
phire(unknown, offset 0x10ffffb4nnn) are gfx-handoff#asahi-gpu · 2022-02-06 01:57
alyssaer.. are gfx-handoff writes traced here?#asahi-gpu · 2022-02-06 01:57
alyssaI just mean that every time the CPU sends the FW an ASC message, that's an opportunity for the ASC to check gfx-handoff, right?#asahi-gpu · 2022-02-06 01:56
alyssasure#asahi-gpu · 2022-02-06 01:56
phiremight be because this is a debug kernel#asahi-gpu · 2022-02-06 01:56
phirebesides, I'm mostly talking about entropy wise#asahi-gpu · 2022-02-06 01:56
alyssathe 0xdead writes are ominous ;-p#asahi-gpu · 2022-02-06 01:55
phirethe stuff at the top is just re-initilization. I think it happens whenever the gpu is bought out of sleep#asahi-gpu · 2022-02-06 01:54
alyssaphire: that's a lot more ASC traffic than you made it sounds like ;)#asahi-gpu · 2022-02-06 01:51
phiremight be somewhere else?#asahi-gpu · 2022-02-06 01:50
alyssahm i thought ioreg had endpoint stuff, boo#asahi-gpu · 2022-02-06 01:50
phireand the corrosponding wrap trace: https://gist.github.com/phire/adaa5fe1410678ae7d5f46cadeb8b259#asahi-gpu · 2022-02-06 01:49
phirealso, this is the M1N1 trace acound the gpu allocation stuff: https://gist.github.com/phire/9cad6e6bbe4add5f8f9dcc55d5a03dbc#asahi-gpu · 2022-02-06 01:49
alyssaforgot how thick it is#asahi-gpu · 2022-02-06 01:48
phirehttps://gist.github.com/phire/12dde199dc0a7a36d9a563c69f016ef9#asahi-gpu · 2022-02-06 01:47
phireha, I saved a copy of that#asahi-gpu · 2022-02-06 01:47
alyssabooted into linux right now#asahi-gpu · 2022-02-06 01:47
alyssamind pastebinning the output of `ioreg -l`?#asahi-gpu · 2022-02-06 01:46
phireI don't have names for them#asahi-gpu · 2022-02-06 01:46
alyssawhat endpoints are those?