#asahi · 2021-09-16 07:50
marcan wifi-calibration-msf = << syscfg/WCAL >>#asahi · 2021-09-16 07:50
marcan wifi-rfem-info = << syscfg/RFEM >>#asahi · 2021-09-16 07:50
marcanother than product info and MACs, there's:#asahi · 2021-09-16 07:50
marcanat least little that is templated like this#asahi · 2021-09-16 07:50
marcanthere's actually relatively little that is per-device in here#asahi · 2021-09-16 07:48
marcanjust pushed proper support for template ADTs in m1n1.adt#asahi · 2021-09-16 07:42
marcanthe perf value is hardcoded in the master adt too, not substituted in, so I think we can safely hardcode these#asahi · 2021-09-16 07:23
marcanthat should be related to memory controller performance; the ADT describes a higher performance state and the driver apparently just uses the current state as a default, but if that is always the same I might want to just have both described#asahi · 2021-09-16 07:22
marcan0x813057f#asahi · 2021-09-16 07:22
marcan0x1800180#asahi · 2021-09-16 07:22
marcan>>> read32(0x200380dbc); read32(0x200380dc4)#asahi · 2021-09-16 07:22
marcanalso, if anyone has shell.py handy, I'd like to know if you get any different values for this:#asahi · 2021-09-16 07:17
marcanI had a look at how some other socs represent the cluster-level perf states and such#asahi · 2021-09-16 07:17
marcanwell, I'll do the tests anyway, but let me know if you want to poke at the kernel side after that :)#asahi · 2021-09-16 07:12
marcanmaz: I know you expressed some interest in the cpufreq/idle stuff, are you looking into that? otherwise I was thinking of starting to poke around that, build some m1n1 tests to measure relative perf and switching latencies#asahi · 2021-09-15 18:24
marcanyeah, and that firmware changes and gets better and presumably automates more things#asahi · 2021-09-15 18:23
marcanwill have to run some tests with benchmarks from m1n1 to confirm that it works as intended#asahi · 2021-09-15 18:22
marcanit does set the psinfo regs *once*#asahi · 2021-09-15 18:22
marcanall macos is really doing is changing the target pstate bits in the cluster control register#asahi · 2021-09-15 18:22
marcanI should check on a laptop, but I'm getting the feeling whatever they were doing is obsolete/unnecessary... (bit of a theme with them)#asahi · 2021-09-15 18:22
marcanbtw, now that this works, did a bit of digging and I don't see macOS setting the PSINFO regs like corellium, nor touching that voltage bit thing#asahi · 2021-09-15 17:56
marcanI will say this thing has pretty impressive power management even on the mini ;)#asahi · 2021-09-15 17:56
marcanPackage Power: 97 mW#asahi · 2021-09-15 17:55
marcanlooks good#asahi · 2021-09-15 17:55
marcanCPU 3 active residency: 0.72% (600 MHz: .05% 972 MHz: .58% 1332 MHz: .04% 1704 MHz: .03% 2064 MHz: .02%)#asahi · 2021-09-15 17:55
marcanCPU 3 idle residency: 99.28%#asahi · 2021-09-15 17:55
marcanCPU 3 frequency: 1023 MHz#asahi · 2021-09-15 17:55
marcanCPU 7 active residency: 0.35% (600 MHz: .35% 828 MHz: .00% 1056 MHz: 0% 1284 MHz: 0% 1500 MHz: 0% 1728 MHz: 0% 1956 MHz: 0% 2184 MHz: 0% 2388 MHz: 0% 2592 MHz: 0% 2772 MHz: 0% 2988 MHz: 0% 3096 MHz: 0% 3144 MHz: .00% 3204 MHz: .00%)#asahi · 2021-09-15 17:55
marcanCPU 7 idle residency: 99.65%#asahi · 2021-09-15 17:55
marcanCPU 7 frequency: 623 MHz#asahi · 2021-09-15 17:55
marcanI'm guessing it clocks them up initially for some reason :p#asahi · 2021-09-15 17:54
marcannevermind lol, it's that I had the interval set to 1ms#asahi · 2021-09-15 17:54
marcanwhat#asahi · 2021-09-15 17:54
marcancpu scaling works now#asahi · 2021-09-15 17:54
marcanwait hold on#asahi · 2021-09-15 17:53
marcanlinux takes a lot fewer instructions to boot ;)#asahi · 2021-09-15 17:52
marcanj_ey: multicore is useful when you're actually *doing* stuff like macos is :p#asahi · 2021-09-15 17:52
marcanwhich explains the HV slowness until now#asahi · 2021-09-15 17:51
marcanthe ecores, otoh, are very underclocked#asahi · 2021-09-15 17:51
marcanlike they're at 3GHz instead of the max 3.2#asahi · 2021-09-15 17:51
marcannot sure if that's a default or "something it does in lieu of actually making it dynamic"#asahi · 2021-09-15 17:51
marcanat least macos has the pcores at close to peak though#asahi · 2021-09-15 17:51
marcanlol#asahi · 2021-09-15 17:51
marcanback when I was doing early bringup#asahi · 2021-09-15 17:50
marcanthe watchdog is only really useful for me anyway#asahi · 2021-09-15 17:50
marcansven: yes, in bare metal it works#asahi · 2021-09-15 17:50
marcanit used to, for the watchdog, but I just made that optional#asahi · 2021-09-15 17:50
marcan*no#asahi · 2021-09-15 17:50
marcannol#asahi · 2021-09-15 17:50
marcanthat's the *gpu*