2022-04-07
00:14al3xtjames has quit [Read error: Connection reset by peer]
00:14al3xtjames has joined #asahi-re
00:49amw has joined #asahi-re
01:20chadmed has quit [Remote host closed the connection]
01:26yuyichao has quit [Ping timeout: 480 seconds]
01:28chadmed has joined #asahi-re
02:34yuyichao has joined #asahi-re
02:56PhilippvK has joined #asahi-re
03:00phiologe has quit [Ping timeout: 480 seconds]
03:26rqou_anybody have any guesses what these prores parameters might control? https://github.com/rqou/m1n1/blob/prores/proxyclient/experiments/prores.py#L621
03:29nicolas17 has quit [Quit: Konversation terminated!]
03:42rqou_in addition to the magic quality parameters, i do still have a concern of "how the heck does the hardware know what size of descriptor it should be reading?"
06:51MajorBiscuit has joined #asahi-re
06:53Major_Biscuit has joined #asahi-re
07:00MajorBiscuit has quit [Ping timeout: 480 seconds]
07:21jaalsa has joined #asahi-re
08:15svenamarioguy: finally found the slightly better sep trace i worked on a while ago. it's probably broken though https://f.svpe.de/d48b3719f56e413e94ca40a6e9cbc8636577695c66054ef44093270998999449_trace_sep.py
08:22the_lanetly_052___ has quit [Remote host closed the connection]
08:23the_lanetly_052___ has joined #asahi-re
10:34chadmed has quit [Read error: Connection reset by peer]
10:57the_lanetly_052___ has quit [Ping timeout: 480 seconds]
11:24chadmed has joined #asahi-re
12:29caef^ has quit [Remote host closed the connection]
13:19bisko has joined #asahi-re
13:42yuyichao has quit [Ping timeout: 480 seconds]
13:53atsalyuk has joined #asahi-re
14:00yuyichao has joined #asahi-re
14:30atsalyuk has quit [Ping timeout: 480 seconds]
14:42ave3 has quit [Remote host closed the connection]
14:42linuxgemini9 has quit [Remote host closed the connection]
14:42linuxgemini9 has joined #asahi-re
14:42ave3 has joined #asahi-re
14:48atsalyuk has joined #asahi-re
14:52doggkruse has joined #asahi-re
14:53linuxgemini95 has joined #asahi-re
14:55ave36 has joined #asahi-re
14:57linuxgemini9 has quit [Ping timeout: 480 seconds]
14:57ave3 has quit [Ping timeout: 480 seconds]
15:01nicolas17 has joined #asahi-re
15:41doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:58doggkruse has joined #asahi-re
16:12atsalyuk has quit [Remote host closed the connection]
16:12atsalyuk has joined #asahi-re
16:47sikkileo[m] is now known as sikkiladho[m]
17:35Major_Biscuit has quit [Ping timeout: 480 seconds]
18:09rqou_sven: re DART "uncacheable": i'm going off of the DWARF symbols in the KDK KernelSupport object files which contain a DW_TAG_typedef for "tXXXXdart_l3tte_t"
18:10rqou_which for t6000 and t8110 indeed look the same, with bits 0-3 being valid, uncacheable, wrprot, rdprot
18:10rqou_i'm not sure how i would go about testing whether device accesses are bypassing cache though
18:15rqou_also, from the symbols, t6000 doesn't have the error disable bits that t8020 has in the TCR (none of which are in m1n1)
18:16svenI figured out most of DART by poking registers and observing what happens, we didn't have the HV back then :D
18:16svenhttp://f.svpe.de/70fb5357bea78c2e50f0017f563907ebe775cd731861d37751346a1eb8ad61c9_aes.py looks like I didn't find the ready bit in that aes engine :/
18:17rqou_the typedef in the KDK for "dart_blk_sid_config_v8_t" has a bunch of disable bits, e.g. "disable_ttbr_invalid_err" "disable_ste_invalid_error" etc.
18:20svenif you e.g. enable bypass for dwc3 you can just pass the phys addrs that are above that limit to the HW
18:20rqou_but that won't work for devices like jpeg that only seem to itself be able to pass 32-bit physaddrs?
18:22svenwhat i meant was that to program a 64bit address into dwc3 you write the halves to two separate 32 bit registers
18:23rqou_fwiw t8110 doesn't seem to have any equivalent setting, so either i haven't found it or it cannot do that
18:26svenon t8103 everything above 32bit got truncated even though technically the pagetables supported more
18:26rqou_i should buy a thunderbolt widget just so i can do what you suggested (read register 0 once macos has set everything up)
18:29rqou_of the t8110 darts i've looked at, they all support 16 streams, 42-bit physaddrs, and 36-bit iova according to the parameter registers
18:29rqou_the register interface seems to be built for up to 256 streams, but the first 16 seem to still be special with more features
18:31svenoh, you could also intercept the i2c reads from that tps6598x chip under the HV and pretend that you connected a thunderbolt cable
18:33rqou_the t8110 dart in the t600x feels like a weird transitionary implementation with most of the features missing
18:36jannaunot sure about that, t8110 is used in a15 so it will probably be in m2 (if that doesn't skip a Axy generation)
18:36rqou_yes, what i mean is that the m2 might have t8110 darts with version 2 instead of version 1
18:38rqou_e.g. invalidating caches with an address range, extra page table levels, and a bunch of other acronym soup i don't understand
18:41rqou_t8110 also seems to have settings related to controlling or otherwise affecting the number of outstanding transactions, but i don't understand anything about that either
18:53rqou_btw for reference: not applying the t8110 DART tunables still seems to work (consequences not yet determined), but not applying the prores tunables seems to make the block completely stop working
18:57rqou_the tunables code has a debug error message mentioning something about "client partitions"
18:58rqou_that's why my current guess is that it might be something about caching or something about transaction queue limits
19:31doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:55atsalyuk has quit [Ping timeout: 480 seconds]
19:56atsalyuk has joined #asahi-re
20:08atsalyuk has quit [Ping timeout: 480 seconds]
21:06atsalyuk has joined #asahi-re
21:09f14h has joined #asahi-re
21:16atsalyuk has quit [Ping timeout: 480 seconds]
21:17f14h has quit [Quit: f14h]
21:20f14h has joined #asahi-re
21:27f14h has quit [Remote host closed the connection]
22:05alexsv has quit [Ping timeout: 480 seconds]
22:06f14h has joined #asahi-re
22:06f14h has quit [Remote host closed the connection]
22:06f14h has joined #asahi-re
22:12f14h has quit [Remote host closed the connection]
22:48jaalsa has quit [Remote host closed the connection]