#asahi-dev · 2022-11-25 22:25
povikon m2 does text have bit(0)?#asahi-dev · 2022-11-25 22:24
jannauthe last 4 segments for dcp have bit(1) set#asahi-dev · 2022-11-25 22:14
povikmatches the dcp segment-ranges too#asahi-dev · 2022-11-25 22:13
povikflag bit 0 could be "this is TEXT" or "don't map this with DART"#asahi-dev · 2022-11-25 22:11
jannauah, I think my problem in understanding was that there were just 5 5 ranges mapped in the dart as set up by iboot#asahi-dev · 2022-11-25 22:08
povikhm, on t8103 i see 6 entries in both names and ranges of dcp#asahi-dev · 2022-11-25 22:06
povikjannau: ah, seems to be there for SIO#asahi-dev · 2022-11-25 22:06
svenif text is mapped via dart I don’t get why they have to lock it anymore #asahi-dev · 2022-11-25 22:06
svenweird.#asahi-dev · 2022-11-25 22:06
jannauyes, dart-dcp* are still locked#asahi-dev · 2022-11-25 22:06
jannaupovik: dcp has text in segment-names but not in segment-ranges#asahi-dev · 2022-11-25 22:05
svenpovik: maybe it’s tongue-in-cheek :D#asahi-dev · 2022-11-25 22:05
svenand that dart is still locked?#asahi-dev · 2022-11-25 22:05
svenhuh, interesting. #asahi-dev · 2022-11-25 22:05
jannausven: dcp text seems to be mapped via dart on m2#asahi-dev · 2022-11-25 22:04
povik"SmartIO"#asahi-dev · 2022-11-25 22:03
sven*our#asahi-dev · 2022-11-25 22:03
svenotherwise we could’ve just written out own fake-dma firmware :D#asahi-dev · 2022-11-25 22:03
svenok, that would’ve been really surprising :)#asahi-dev · 2022-11-25 22:02
povikno, at least the SIO doesn't get that mapped#asahi-dev · 2022-11-25 22:02
poviki assume that matches the segment-ranges order#asahi-dev · 2022-11-25 22:02
svenit maps text via dart?#asahi-dev · 2022-11-25 22:02
povikseem to be. segment-names of dcp has __TEXT too#asahi-dev · 2022-11-25 22:01
jannauthere's a segment-range for text? dcp misses that on t8103/t600x#asahi-dev · 2022-11-25 21:59
povikall zero for data. flag bit 0 set for text#asahi-dev · 2022-11-25 21:58
jannauare the top 4 bytes all zero? iirc for dcp it had bits set which didn't make sense as size#asahi-dev · 2022-11-25 21:55
povikok, matches my understanding, except i was passing in the flags for top 4 bytes of size#asahi-dev · 2022-11-25 21:54
povikwait, that's a lot, what am i thinking#asahi-dev · 2022-11-25 21:54
povik4-byte size limit?#asahi-dev · 2022-11-25 21:53
jannaupovik: "32 byte per segment, 8-byte physical addr, 8 bytes unknown, 8-byte device address, 4-byte size, remeining 4 bytes look like flags"#asahi-dev · 2022-11-25 21:50
povikuh, bad window#asahi-dev · 2022-11-25 21:50
povikok, boots now#asahi-dev · 2022-11-25 21:49
povikok, boots now#asahi-dev · 2022-11-25 21:47
jannaudart-dcp has them as well but it's a little more complicated since some of the ranges have to be mapped to disp0-dart as well#asahi-dev · 2022-11-25 21:46
poviki am looking at the right hardcoded indices for now#asahi-dev · 2022-11-25 21:46
jannauI have notes how to parse segment ranges#asahi-dev · 2022-11-25 21:43
povikfine, i get to parse it myself :)#asahi-dev · 2022-11-25 21:42
svenand I think that’s all we support #asahi-dev · 2022-11-25 21:42
svenSMC has everything in its internal RAM as well#asahi-dev · 2022-11-25 21:42
svenand ANS has the data section mapped via SART#asahi-dev · 2022-11-25 21:42
povikwell, what about the other ASC clients? don't they set up the mapping?#asahi-dev · 2022-11-25 21:42
svenfor DCP the PTEs already exist #asahi-dev · 2022-11-25 21:41
svenwhy would it?#asahi-dev · 2022-11-25 21:41
poviki would think there's other code already doing this#asahi-dev · 2022-11-25 21:41
povikbut how come grep for segment-ranges/segment_ranges has no hits in proxyclient?#asahi-dev · 2022-11-25 21:41
povikyeah#asahi-dev · 2022-11-25 21:41
svenI think AOP is the exception because it probably has to work even when RAM doesn’t #asahi-dev · 2022-11-25 21:40
povikah ok. AOP had it in the dedicated SRAM of its own#asahi-dev · 2022-11-25 21:40
svenit’s only not used for DCP because that dart is locked and pre filled iirc