#asahi · 2023-04-28 05:19
marcanthe 12.3 we ship by default on M1 series is that version#asahi · 2023-04-28 05:19
marcanoh we actually have that problem#asahi · 2023-04-28 05:18
Tolik2000Yeah. I remember some macos update required DFUing machines which had had their main board replaced. What was QA doing lol#asahi · 2023-04-28 05:17
marcanlast thing I want is to destroy users' hardware#asahi · 2023-04-28 05:17
marcan:)#asahi · 2023-04-28 05:17
Tolik2000Your security and robustness principles are as good to be taught to any teamlead#asahi · 2023-04-28 05:16
marcanwill come along with some major home server revamp I have planned for the next few months#asahi · 2023-04-28 05:16
marcanI need to figure out if I'm repurposing some of the machines I have or buying dedicated CI machines :p#asahi · 2023-04-28 05:15
Tolik2000Oh cool#asahi · 2023-04-28 05:15
marcanlike have known good macOS initdata dumps, run the linux kernel on the hypervisor, dump initdata and compare#asahi · 2023-04-28 05:15
marcanactual hardware#asahi · 2023-04-28 05:15
Tolik2000Just unit test? Or integration on hardware?#asahi · 2023-04-28 05:14
marcanthen we can automatically test that kernel versions keep correct initdata across all supported firmware/device combinations#asahi · 2023-04-28 05:14
marcanshould get lina to write an initdata comparison test for it#asahi · 2023-04-28 05:14
marcanI plan to help set up a CI at some point for this#asahi · 2023-04-28 05:14
Tolik2000Okay, thanks for the great explanation of these cool machines!#asahi · 2023-04-28 05:13
Tolik2000Well, GPU driver is to be trusted for those configs, it gets 100x the robustness thanks to Rust, so should make initdata decent anyway#asahi · 2023-04-28 05:12
marcan(when I was researching this stuff)#asahi · 2023-04-28 05:12
marcanthough I've seen some of the code that shuttles IV data between the DSP firmware and the hardware in android#asahi · 2023-04-28 05:12
marcanandroid stuff is typically done in firmware anyway, at least partially#asahi · 2023-04-28 05:12
marcanyeah#asahi · 2023-04-28 05:12
Tolik2000I believe speakersafetyd is first in class thing not tied to android?#asahi · 2023-04-28 05:12
marcanbut that's just a guess#asahi · 2023-04-28 05:11
marcanand it's probably just for fancypants power estimates in the firmware#asahi · 2023-04-28 05:11
marcanso you probably can't actually overclock/overvolt it by messing with those tables either#asahi · 2023-04-28 05:11
marcantbh considering how pstates are handled for everything else by init in iBoot and locked as far as I know, I actually expect the GPU to be the same#asahi · 2023-04-28 05:11
Tolik2000*are muted#asahi · 2023-04-28 05:11
Tolik2000Glad to know that this hw is not only mighty, but also rock solid, at least while speakers an#asahi · 2023-04-28 05:11
marcanso best get it the same as macos#asahi · 2023-04-28 05:11
marcanbut some of the other stuff might, nobody knows what half of those numbers do#asahi · 2023-04-28 05:10
marcantells me that one estimate doesn't really matter :p#asahi · 2023-04-28 05:10
marcanyeah that one's a WTF#asahi · 2023-04-28 05:10
Tolik2000I've seen the broken curve on one of the Lina's streams#asahi · 2023-04-28 05:10
marcanwithin 1 LSB tolerance#asahi · 2023-04-28 05:10
marcanbut there's other tables and stuff unrelated to that max power estimate thing which is basically 1:1 identical to macOS as far as I know#asahi · 2023-04-28 05:10
Tolik2000Great job!#asahi · 2023-04-28 05:09
marcan(and the formulas macOS uses there don't seem to be very well behaved either)#asahi · 2023-04-28 05:09
marcanand the power estimates aren't 1:1 with macOS but it's close enough#asahi · 2023-04-28 05:09
marcanit's complicated#asahi · 2023-04-28 05:09
marcanyes, and leakage fuses and other stuff#asahi · 2023-04-28 05:09
Tolik2000It's runtime computed from ADT props?#asahi · 2023-04-28 05:09
marcanSMC has a watchdog, if you crash it it reboots your machine within 30 seconds#asahi · 2023-04-28 05:09
marcanbut outside of that yeah, I don't think you can break anything#asahi · 2023-04-28 05:08
marcanI'd be more worried about the GPU stuff since it's a ton of tables and we just don't know how critical it is (lina has been very careful to get the data the same as macOS or almost)#asahi · 2023-04-28 05:08
Tolik2000C* fav lol#asahi · 2023-04-28 05:08
Tolik2000Well, I know some ways of rebooting easily. ACIO is my faw#asahi · 2023-04-28 05:08
marcanworst case the thing just locks up or reboots#asahi · 2023-04-28 05:08
marcanwe've screwed things up like that in the past (also clobbering all GPIO registers) and nobody has destroyed any hardware yet#asahi · 2023-04-28 05:07
Tolik2000And common PD stuff should be safe to turn on/off since critical stuff is on direct SMC control? I mean for kernel infrastructure and driver testing / experimenting#asahi · 2023-04-28 05:06
Tolik2000Got it, thanks