#asahi-dev · 2021-11-22 07:06
marcan port_reg_cnt = 5;#asahi-dev · 2021-11-22 07:06
marcan } else if (adt_is_compatible(adt, adt_offset, "apcie,t6000")) {#asahi-dev · 2021-11-22 07:06
marcanyou know what, I bet I know what happened#asahi-dev · 2021-11-22 07:03
marcanoh sure :p#asahi-dev · 2021-11-22 07:03
marcannot exactly a mess#asahi-dev · 2021-11-22 07:03
marcanwell, I mean, it's just moving the nodes and like 5 lines of code#asahi-dev · 2021-11-22 07:03
marcanthat kind of fits with the hardware model#asahi-dev · 2021-11-22 07:03
marcanthen ATC can choose to probe them whenever it wants#asahi-dev · 2021-11-22 07:03
marcanthat means they won't be autoprobed#asahi-dev · 2021-11-22 07:02
marcanfor example, we can make the DARTs child nodes of the ATC stuff#asahi-dev · 2021-11-22 07:02
marcanwell, it's not *that* bad, there are ways#asahi-dev · 2021-11-22 07:02
marcanotherwise we make ATC-CIO another power domain provider :D#asahi-dev · 2021-11-22 07:02
marcanyeah, it might work#asahi-dev · 2021-11-22 07:01
marcanalso have you updated m1n1 recently? the old PCIe code was all kinds of broken#asahi-dev · 2021-11-22 07:01
marcanjannau: can you look for the log on that part?#asahi-dev · 2021-11-22 07:01
marcannow I'm wondering if the m1n1 pcie init is failing somehow#asahi-dev · 2021-11-22 07:01
marcanbut not port1#asahi-dev · 2021-11-22 07:01
marcanbut the weird thing is port0 initialized for jannau #asahi-dev · 2021-11-22 07:01
marcansven: pcie ones too anyway#asahi-dev · 2021-11-22 06:54
marcanI'm guessing m1n1's PCIe init needs to do some extra stuff#asahi-dev · 2021-11-22 06:45
marcanlet me update to 12.0.1 and see if something changed...#asahi-dev · 2021-11-22 06:43
marcanwhich it should before booting the kernel#asahi-dev · 2021-11-22 06:43
marcanso as long as you call pcie_init() from m1n1 it does work#asahi-dev · 2021-11-22 06:43
marcanwait no, they don't, I'm stupid#asahi-dev · 2021-11-22 06:42
marcanbut indeed they SError from m1n1 without doing anything, so there's something. but what...#asahi-dev · 2021-11-22 06:35
marcanI'm not seeing that though? I just disabled apcie and the DARTs initialized fine#asahi-dev · 2021-11-22 06:34
marcanso the DARTs need apcie to init first? that's... annoying#asahi-dev · 2021-11-22 06:34
marcanjannau: that looks like an initialization order problem unrelated to pmgr#asahi-dev · 2021-11-21 22:42
marcanyeah... this cold has also screwed up my sleep schedule#asahi-dev · 2021-11-21 22:42
marcanso I really don'tknow#asahi-dev · 2021-11-21 22:42
marcanthough I think you aren't even at the point where it starts turning things off#asahi-dev · 2021-11-21 22:41
marcanyou could try removing pmgr nodes and seeing if it works at some point#asahi-dev · 2021-11-21 22:41
marcannot seeing anything obvious in the pmgr dump :/#asahi-dev · 2021-11-21 22:41
marcanI need to get some sleep, but I'll try updating to 12.0.1 tomorrow#asahi-dev · 2021-11-21 22:41
marcanI did test without display#asahi-dev · 2021-11-21 22:35
marcanonly thing I can think of is we're using different iBoot versions and there's some difference#asahi-dev · 2021-11-21 22:34
marcan(this is a bit of a limbo state inside the HV but not on the host side, but it should work)#asahi-dev · 2021-11-21 22:34
marcan^\ out of the hypervisor (without rebooting) and run tools/dump_pmgr.py#asahi-dev · 2021-11-21 22:33
marcanI assume read32(0x682008060) SErrors?#asahi-dev · 2021-11-21 22:31
marcanread32(0x23b7001b8)#asahi-dev · 2021-11-21 22:27
marcanjannau: read32(0x23b7003e8)#asahi-dev · 2021-11-21 22:22
marcanjannau: can you run it with `-m hv/trace_pmgr.py` (which I just pushed) and paste the HV side log including the SError dump?#asahi-dev · 2021-11-21 22:19
marcanjannau: pushed a fixup, though I don't know if it'll help your pcie problem#asahi-dev · 2021-11-21 22:14
marcan... because I'm an idiot#asahi-dev · 2021-11-21 22:14
marcanwhy is it shutting it down again#asahi-dev · 2021-11-21 22:14
marcan.... that doesn't make any sense#asahi-dev · 2021-11-21 22:14
marcan[cpu1][0xffffc0001049cf50] PMGR: W.4 0x23b7003a8 (DISPDFR_FE.pstate + 0x00) = 0x3ff -> 0x10000300#asahi-dev · 2021-11-21 22:14
marcan[cpu1][0xffffc0001049d034] PMGR: R.4 0x23b7003a8 (DISPDFR_FE.pstate + 0x00) = 0x3ff#asahi-dev · 2021-11-21 22:14
marcan[cpu1][0xffffc0001049cf50] PMGR: W.4 0x23b7003a8 (DISPDFR_FE.pstate + 0x00) = 0x300 -> 0xf#asahi-dev · 2021-11-21 22:14
marcanhold on, what