#asahi-dev · 2023-04-10 15:38
marcanI know there's a thing in the dart, but is there one for the device? or should this be in the dart?#asahi-dev · 2023-04-10 15:36
marcanjannau: how do we deal with that? is there a way to specify the DMA address range?#asahi-dev · 2023-04-10 15:35
marcanyeah ok#asahi-dev · 2023-04-10 15:35
marcanI read the dart dump wrong#asahi-dev · 2023-04-10 15:35
marcanah, I'm dumb, macOS does map it there#asahi-dev · 2023-04-10 15:22
jannau0x100_0000_0000 fits into 42-bit ias, so you have map the memory at that offset. that seems to be what happens with dcp on m2#asahi-dev · 2023-04-10 15:05
marcansomething else is going on#asahi-dev · 2023-04-10 15:05
marcanthis is interesting, with the DART ias limit patch using that high bit in MTP addresses works,but not without it, but macOS does use ias=42 for this#asahi-dev · 2023-04-10 15:02
marcanfixing#asahi-dev · 2023-04-10 15:01
marcanyes, that's from chadmed :p#asahi-dev · 2023-04-10 15:01
kettenis_(should be performance-domain)#asahi-dev · 2023-04-10 15:01
kettenis_marcan: the performance_domain in arch/arm64/boot/dts/apple/t602x-common.dtsi is a typo isn't it?#asahi-dev · 2023-04-10 14:52
jannaulaso what's up with the single page before the framebuffer mapped directly behind it#asahi-dev · 2023-04-10 14:51
jannauI wonder where iboot gets the memory for framebuffer page tables#asahi-dev · 2023-04-10 14:47
marcanack, I'll just pull them directly into my branch#asahi-dev · 2023-04-10 14:45
jannauhttps://github.com/jannau/linux/tree/t602x/bringup has more complete j474s devicetree and a compile fix and limits the ias to what the devices can use. not yet sure about the last one#asahi-dev · 2023-04-10 14:44
jannauthanks#asahi-dev · 2023-04-10 14:43
marcanhttps://mrcn.st/p/6pL2kvYH https://mrcn.st/p/FtM1BCFv#asahi-dev · 2023-04-10 14:42
jannaumarcan: can I get a experiments/dart_dump.py {dart-dcp0,dart-disp0} from the macbook, only the pte are interesting#asahi-dev · 2023-04-10 14:41
marcanI'm going to get some dinner first though#asahi-dev · 2023-04-10 14:41
marcanjust pcie left on my side I think?#asahi-dev · 2023-04-10 14:41
marcanpushed what I have so far#asahi-dev · 2023-04-10 14:40
jannausigh, dart management for dcp is annoying. every devices without iboot managed fb requires custom workarounds#asahi-dev · 2023-04-10 14:39
marcanand so does the trackpad after getting the firmware in order#asahi-dev · 2023-04-10 14:37
marcanI think the keyboard works now :)#asahi-dev · 2023-04-10 14:35
marcanit's kind of funny how I'm running into all these outright bugs that we just somehow never caught on M2#asahi-dev · 2023-04-10 14:35
marcanwait how did this ever work, I was looking at the wrong OF node?#asahi-dev · 2023-04-10 14:15
marcannow having GPIO issues...#asahi-dev · 2023-04-10 14:10
marcanI guess somehow Apple forgot to check for the nGnRnE bit on M2? heh#asahi-dev · 2023-04-10 14:09
marcanwe only check the parent bus so...#asahi-dev · 2023-04-10 14:08
marcanwait how did this even work on M2 then?#asahi-dev · 2023-04-10 14:06
marcanwhen I stopped tracing with the HV#asahi-dev · 2023-04-10 14:06
marcanlol, having nGnRnE issues with MTP, I thought we'd sorted that mess out a couple years ago...#asahi-dev · 2023-04-10 13:48
marcanfixed.#asahi-dev · 2023-04-10 13:48
marcanN: Name="Apple MTP keyboard"#asahi-dev · 2023-04-10 13:48
marcanI: Bus=0019 Vendor=05ac Product=0353 Version=0270#asahi-dev · 2023-04-10 13:48
marcanjust the tag in the report, it's some random maximum#asahi-dev · 2023-04-10 13:45
kettenis_so the mtp hid report is simply bigger than that?#asahi-dev · 2023-04-10 13:41
marcan"let's just have a random maximum for no reason"#asahi-dev · 2023-04-10 13:41
marcanlol 71f6fa90a3#asahi-dev · 2023-04-10 13:38
ChaosPrincessalso, from yesterday, still wouldnt mind someone with a m1 mbp running this in m1n1 console and seeing if colors look right https://github.com/WhatAmISupposedToPutHere/m1n1/blob/f4517bdaf72cb36ac8999903a5d85aecddd0ed28/proxyclient/experiments/touchbar_rainbow.py#asahi-dev · 2023-04-10 13:37
marcanoh no, the HID reports really are wacky#asahi-dev · 2023-04-10 13:35
ChaosPri1marcan: you told me to poke you about fpwm dts, so, if you have time, here is the poke :P#asahi-dev · 2023-04-10 13:34
marcanjannau: for MTP, macOS is using an offset but that doesn't work for me (it seems to put the full address through the DART). I think the DAPF config may be wrong in that case.#asahi-dev · 2023-04-10 13:31
jannausigh, no idea what "vm-base" is. in the m2 pro adt it looks more like ASC DRAM offset. I guess that still holds for the m2 except that it is so small that it already affects the iova in the dart#asahi-dev · 2023-04-10 13:17
marcanthe HID descriptors look fine in the Python dump so I wonder what happened here, maybe just a bug#asahi-dev · 2023-04-10 13:17
rashthedudeHi everyone#asahi-dev · 2023-04-10 12:36
jannauhttps://github.com/jannau/linux/tree/t602x/bringup has a more complete j474s device tree#asahi-dev · 2023-04-10 11:46
kettenis_is that delibreate? or just a typo?#asahi-dev · 2023-04-10 11:45
kettenis_"performance_domains" instead of "performance-domains" for the E-cores