#asahi-re · 2022-04-03 05:43
jannauit's possible to not set that bit for testing locally#asahi-re · 2022-04-03 05:41
jannauI don't think we can change it to not set that code, we would hvae to copy it and make it dart specific#asahi-re · 2022-04-03 05:40
rqou_idk if the bit actually works#asahi-re · 2022-04-03 05:40
rqou_Someone(TM) should maybe investigate/fix that?#asahi-re · 2022-04-03 05:40
rqou_ah#asahi-re · 2022-04-03 05:39
jannausearch for ARM_LPAE_PTE_TYPE_PAGE#asahi-re · 2022-04-03 05:37
rqou_uhh where? can we make it not do that?#asahi-re · 2022-04-03 05:31
jannaurqou_: the common io-pgtable-arm.c used by the dart driver sets that bit#asahi-re · 2022-04-03 05:13
rqou_according to the symbols, it flags the page as uncacheable#asahi-re · 2022-04-03 05:13
rqou_uhh the linux DART driver doesn't try to set PTE bit 1 (SP_PROT_DIS) does it? because on t6000 that bit does something completely different#asahi-re · 2022-04-03 00:41
rqou_possibly even requiring a PPL bypass#asahi-re · 2022-04-03 00:41
rqou_unless someone wants to hand me a research jailbreak on an a15#asahi-re · 2022-04-03 00:41
rqou_oh, the code is available, just the hardware behavior wouldn't be#asahi-re · 2022-04-03 00:40
nicolas17you could decompile A15 kernels if you're curious about the future hw :)#asahi-re · 2022-04-03 00:40
rqou_mix of both#asahi-re · 2022-04-03 00:40
nicolas17rqou_: did you figure it out by blackbox testing or reversing Apple's kernel?#asahi-re · 2022-04-03 00:38
rqou_note that this is hardware revision 1.0, and the actual M2 may have yet another new version of this DART interface#asahi-re · 2022-04-03 00:37
rqou_i think i have the core of the t8110 dart figured out https://github.com/rqou/m1n1/tree/dart-t8110#asahi-re · 2022-04-02 21:49
rqou_there should be DART performance counters that can be queried if we want to investigate this in depth#asahi-re · 2022-04-02 21:46
rqou_based on debug strings in the driver that mention "client partitions"#asahi-re · 2022-04-02 21:45
rqou_i suspect it might affect the way the TLB is used/divided up#asahi-re · 2022-04-02 21:45
rqou_hmm i had a sudden inspiration/guess as to what DART tunables might affect, but i'm not sure how we could test that#asahi-re · 2022-04-02 15:18
alyssaAside -- the performance counters are so much like PowerVR, it's uncanny#asahi-re · 2022-04-02 14:59
alyssaso weird#asahi-re · 2022-04-02 14:58
svendynamic kext loading can't work because of this kernel-readonly-region thing#asahi-re · 2022-04-02 14:58
svenall those kexts are merged into this kernelcache thing and loaded at once#asahi-re · 2022-04-02 14:57
svenSystem/Library/Extensions should always exist, but it's effectively unused anyway#asahi-re · 2022-04-02 14:57
alyssamacOS man#asahi-re · 2022-04-02 14:57
alyssaI also don't understand why System/Library/Extensions sometimes exist and sometimes doesn't#asahi-re · 2022-04-02 14:54
alyssaI guess that's for t6000?#asahi-re · 2022-04-02 14:54
alyssaI see AGXG13X new since when I was running 12.x#asahi-re · 2022-04-02 14:53
alyssaLooking at the list of kexts#asahi-re · 2022-04-01 21:11
rqou_does anybody have any idea what a "CTC" might be in the context of the DART?#asahi-re · 2022-03-28 17:22
marcanwe're not going to stop supporting xorg, we'll just support both and probably default to wayland at some point#asahi-re · 2022-03-28 17:17
YichaoYu[m]<marcan> "but the end goal should be..." <- Please at least keep supporting sort for a few more years…. Currently the hack it took to get input methods working in wayland is just terrible….#asahi-re · 2022-03-28 10:23
sveniirc it supports one more pagetable level now, and presumably a bigger iova space with that#asahi-re · 2022-03-28 10:23
svenI very briefly looked at that t8110 dart kext and it seems that it changed quite a bit #asahi-re · 2022-03-28 10:22
sventhe best DART docs we have is probably the Linux driver and that dart.py :D#asahi-re · 2022-03-28 10:21
svenand the registers look a bit different #asahi-re · 2022-03-28 10:21
sventhere’s an older version from the iPhones that only does 4K pages #asahi-re · 2022-03-28 10:21
sventhat’s probably for the DART from long before m1 was a thing :D#asahi-re · 2022-03-28 10:19
rqou_from back when they pwned the broadcom wifi#asahi-re · 2022-03-28 10:19
rqou_of the DART#asahi-re · 2022-03-28 10:19
rqou_lol, project zero actually has a diagram#asahi-re · 2022-03-28 10:10
marcanand yes#asahi-re · 2022-03-28 10:10
marcanPRs accepted :>#asahi-re · 2022-03-28 10:10
chadmedmight be worthwhile compiling actual docs for some of this stuff at some point, once things have stabilised a bit #asahi-re · 2022-03-28 10:10
Jamie[m]1ah right#asahi-re · 2022-03-28 10:09
rqou_well, there's mini/hw/dart.py#asahi-re · 2022-03-28 10:08
Jamie[m]1omg there are asahi dart docs?