#asahi · 2021-09-18 16:52
marcanrun set64(0x211e20020, 0x200f00f) in shell.py before booting and be amazed#asahi · 2021-09-18 16:51
marcanalyssa: you're booting via linux.py?#asahi · 2021-09-18 16:50
marcan2GHz ecores, 600MHz pcores#asahi · 2021-09-18 16:48
marcanalyssa: fast ecores, slow af pcores#asahi · 2021-09-18 16:47
marcannanoseconds#asahi · 2021-09-18 16:47
marcan(note: bottom right corner isn't really reliable due to rounding errors and the actual frequency actually undershooting the target on those)#asahi · 2021-09-18 16:46
marcanthose are pretty good numbers AIUI#asahi · 2021-09-18 16:46
marcanshaved the CPU pstate latency yak: https://mrcn.st/p/Zyok1j0g#asahi · 2021-09-18 12:41
marcanbut how does that even happen#asahi · 2021-09-18 12:41
marcanyeah that just sounds like an explosion#asahi · 2021-09-18 12:41
marcanthis is japan, yes#asahi · 2021-09-18 12:38
marcanwhat bugs me is this just stinks of weird bug... but if so this workaround apple is doing can't be reliable?#asahi · 2021-09-18 12:38
marcankettenis: ideally the linux DTs should be up to date with whatever we use in m1n1, though of course there will be divergence#asahi · 2021-09-18 12:37
marcanI really want to know wtf is going on with those USB pins#asahi · 2021-09-18 12:37
marcanbtw, Mini arrives tomorrow, so expect a teardown stream I guess? :>#asahi · 2021-09-18 12:33
marcanlike maybe iBoot just programs the operating point tables including whatever commands need to be sent to change voltages into registers, and then after that it's all state machines?#asahi · 2021-09-18 12:33
marcanI guess it is possible it's all state machines though#asahi · 2021-09-18 12:29
marcanit's not PMP though#asahi · 2021-09-18 12:29
marcanI still don't know *what* does this too. there has to be firmware involved.#asahi · 2021-09-18 12:29
marcanthis thing really is high level like all heck, it also does the boost modes automatically#asahi · 2021-09-18 12:29
marcanand yeah, if anyone missed it... cpufreq is one register per cluster. Plus 8*2 (repeated) if you want to bump the memory controller perf mode in lockstep with the pcore state.#asahi · 2021-09-18 12:27
marcanbut given it seems to be magic for the cpu, maybe it's magic for everything#asahi · 2021-09-18 12:27
marcanif it's handled by macos then we need to figure out how#asahi · 2021-09-18 12:27
marcanI'm still not sure if the soc voltage stuff is handled by macos or by magic#asahi · 2021-09-18 12:26
marcanI'm going to shave the cpufreq yak first because it's easy, but also because looking into how that memory controller thing is represented will probably give me ideas for the more general power management stuff#asahi · 2021-09-18 12:26
marcanj_ey: you're always too nice :>#asahi · 2021-09-18 12:26
marcanlol :D#asahi · 2021-09-18 12:26
marcanbecause it's a dep of *everything*#asahi · 2021-09-18 12:26
marcanwell I want to figure out... yeah that#asahi · 2021-09-18 12:25
marcanlol#asahi · 2021-09-18 12:25
marcanyou all keep giving me things to do instead of getting kernel trees in order :p#asahi · 2021-09-17 12:52
marcanor call it -1#asahi · 2021-09-17 12:49
marcanit means you don't care if you get preempted in the middle of this driver#asahi · 2021-09-17 12:49
marcanyeah, probably why they did this#asahi · 2021-09-17 12:48
marcancool#asahi · 2021-09-17 12:48
marcan128 byte fifo#asahi · 2021-09-17 12:48
marcanoh yes it does#asahi · 2021-09-17 12:47
marcanmaybe this does more#asahi · 2021-09-17 12:47
marcanpasemi says 16 bytes#asahi · 2021-09-17 12:47
marcanwonder how big the fifo is#asahi · 2021-09-17 12:47
marcanas long as the whole txn fits in the fifo#asahi · 2021-09-17 12:46
marcanso this allows you to fill it then burst everything out#asahi · 2021-09-17 12:46
marcanthe transmitter can time out on you if you don't fill the fifo fast enough#asahi · 2021-09-17 12:46
marcanit makes sense though#asahi · 2021-09-17 12:46
marcanso it sounds like another halt bit#asahi · 2021-09-17 12:46
marcanwell yes, once I clear it it works again#asahi · 2021-09-17 12:46
marcanI just tried setting that in m1n1 and it broke everything :)#asahi · 2021-09-17 12:45
marcansounds like you have it backwards#asahi · 2021-09-17 12:45
marcansetting that bit also stops everything#asahi · 2021-09-17 12:44
marcan(nothing >24 is)