#asahi · 2021-10-03 23:32
alyssaI guess that corresponds to REG_ACIOPHY_XBAR_PROTO_USB0_DP1 or REG_ACIOPHY_XBAR_PROTO_DP0_USB1 depending on the orientation#asahi · 2021-10-03 23:31
alyssaI have an adaptor that does HDMI(<->displayport) and USB on the same type-C port, that's not thunderbolt #asahi · 2021-10-03 23:31
alyssaoh, but, err, how different are those configs exactly i mean#asahi · 2021-10-03 23:27
alyssawhat's the deal with the tunables for atcphy though#asahi · 2021-10-03 23:24
alyssaI guess there are ATCPHY things regardless. but this is good to keep in mind when corellium references DP#asahi · 2021-10-03 23:22
alyssaI mean we need both but.#asahi · 2021-10-03 23:22
alyssaall the ACIOPHY XBAR complexity in the corellium atcphy code ... given ACIO is TBT, maybe that only applies to the latter..#asahi · 2021-10-03 23:22
alyssadisplayport over usb4/thunderbolt over usb type-c#asahi · 2021-10-03 23:22
alyssadisplayport over usb type-c#asahi · 2021-10-03 23:21
alyssathese two configs are distinct:#asahi · 2021-10-03 23:21
alyssasven: oh FFS#asahi · 2021-10-03 23:07
alyssaand there are a lot of tunables and I don't get the corellium code at all.#asahi · 2021-10-03 23:07
alyssaBad news is macOS does a ton of ATCPHY reg pokes and I don't know what's strictly needed here.#asahi · 2021-10-03 23:06
alyssaGood news, dcpext is 100% compatible with dcp so that's fine#asahi · 2021-10-03 23:06
alyssaright so errr#asahi · 2021-10-03 22:58
alyssathere are so many registers#asahi · 2021-10-03 22:50
alyssasven: atcphy scares me#asahi · 2021-10-03 22:50
alyssa🍿#asahi · 2021-10-03 21:51
alyssafixed locally, thanks#asahi · 2021-10-03 21:51
alyssakettenis: ack. that was copypaste fail.#asahi · 2021-10-03 13:50
alyssamaz: Not sure if it makes sense to squash https://rosenzweig.io/0001-arm64-dts-apple-j274-Expose-PCI-node-for-the-Wi-Fi-M.patch and the obvious Bluetooth change into "arm64: dts: apple: j274: Expose PCI node for the Ethernet MAC address"#asahi · 2021-10-03 12:23
alyssaj_ey: nod#asahi · 2021-10-03 03:37
alyssakdrag0n[m]: this is good stuff btw#asahi · 2021-10-03 03:17
alyssaunless the driver bug only happens with wrong firmware#asahi · 2021-10-03 03:06
alyssasince I'd sort of expect that to be broken for everyone#asahi · 2021-10-03 03:05
alyssawonder if I have something funny with my setup#asahi · 2021-10-03 03:01
alyssa(IRQ coming in during setup)#asahi · 2021-10-03 02:57
alyssa..that's racy#asahi · 2021-10-03 02:54
alyssalitters with pritnk#asahi · 2021-10-03 02:54
alyssauh#asahi · 2021-10-03 02:41
alyssaOh geez. Corellium is doing the firmware dance in userspace. That code isn't public is it?#asahi · 2021-10-03 02:38
alyssa(It does not. Though possibly I botched the firmware.)#asahi · 2021-10-03 01:39
alyssaI do hope this works after all this T_T#asahi · 2021-10-03 01:31
alyssaso the problem isn't the cluster driver itself, it's just the cluster driver starts way too late in boot#asahi · 2021-10-03 01:20
alyssawhereas with pstates.py first, the whole kernel finishes booting in 1.0s#asahi · 2021-10-03 01:20
alyssamarcan: oh, but wait! the initializing cluster messages are 0.9s and 1.0s into boot.#asahi · 2021-10-03 01:19
alyssabut the fact the initializing cluster messages go away with pstates.py means everything works as expected so it's. not that#asahi · 2021-10-03 01:17
alyssaoh that's the DT#asahi · 2021-10-03 01:16
alyssaso that would seem like it's working? unless that's just from the DT and not the regs (unlike the python..)#asahi · 2021-10-03 01:16
alyssawithout the pstates, max_freqs 2064/3204#asahi · 2021-10-03 01:15
alyssawith the pstates, max freqs 2064/3204#asahi · 2021-10-03 01:13
alyssa(40% in that case)#asahi · 2021-10-03 01:12
alyssakernel is still noticeably faster there#asahi · 2021-10-03 01:12
alyssaoh in this case userspace is actually slower with it. so maybe the diff in userspace perf is not statistically significant#asahi · 2021-10-03 01:11
alyssa0.992 + 1.567 -- this is with it#asahi · 2021-10-03 01:11
alyssa1.660 + 1.540 --- this is without running it and with the cluster lines#asahi · 2021-10-03 01:11
alyssaif I do run cpu_pstates.py at boot, I don't#asahi · 2021-10-03 01:11
alyssaok, if I don' run cpu_pstates.py at boot, I get the Initializing cluster DVMR 0/1 lines#asahi · 2021-10-03 01:10
alyssawtf I saw this earlier#asahi · 2021-10-03 01:10
alyssaI do see apple-mcc performance driver init