#asahi · 2021-10-02 21:38
alyssaI guess u-boot/grub#asahi · 2021-10-02 21:38
alyssaor in the OS itself? (if the kernel has cpufreq drivers, it'll downclock a few seconds after boot. if it doesn't, it should expect bad pmgmt anyway and at least this way it goes brrr)#asahi · 2021-10-02 21:37
alyssaidling in m1n1? (do it in the kboot path)#asahi · 2021-10-02 21:37
alyssakettenis: where are you worried about?#asahi · 2021-10-02 20:11
alyssaWhat I don't know is if that "turning it down" happens correctly.#asahi · 2021-10-02 20:10
alyssaso I sort of wonder if it makes sense to set everything to max in m1n1, and then let the cpufreq/mcc drivers turn it down once the system is booted and that infrastructure is kicking#asahi · 2021-10-02 20:09
alyssaI don't think that's a bug in your cpufreq/mcc, and I don't think linux is easy to fix here#asahi · 2021-10-02 20:08
alyssaI assume all the cpufreq scheduling only kicks in later in boot, so cranking everything up early on is a win.#asahi · 2021-10-02 20:08
alyssa(the kernel has the cpufreq patches)#asahi · 2021-10-02 20:07
alyssamarcan: FWIW, linux (kernel + userspace) boots 20% faster if I run cpu_pstates.py first#asahi · 2021-10-02 20:02
alyssadoes not work (1 sec delay): net.ifnames=0 rw root=/dev/nvme0n1p4 rootwait rootfstype=ext4#asahi · 2021-10-02 20:02
alyssaworks: net.ifnames=0 rw root=/dev/nvme0n1p4 rootwait rootfstype=ext4 console=tty0#asahi · 2021-10-02 20:02
alyssaokay, huh. fine#asahi · 2021-10-02 20:01
alyssaoh let me twiddle my kernel cmdline#asahi · 2021-10-02 20:00
alyssaat 2.28s it says "printk: console [ttySAC0] enabled"#asahi · 2021-10-02 20:00
alyssa1s#asahi · 2021-10-02 20:00
alyssaat ~s it says "serial: ttySAC0 at MMIO... is APPLE S5L"#asahi · 2021-10-02 20:00
alyssaserial2 is ok#asahi · 2021-10-02 20:00
alyssaj_ey: specifically, serial0#asahi · 2021-10-02 19:58
alyssaj_ey: ...Yeah, disabling the UARTs shaves a second off my boot time.#asahi · 2021-10-02 19:56
alyssamaz: RFC https://rosenzweig.io/0001-PCI-apple-Bring-up-ports-in-parallel.patch#asahi · 2021-10-02 19:54
alyssaso. better question. why is there a 1s stall during boot. and why does it seem to be the fault of the ... UART?#asahi · 2021-10-02 19:49
alyssaand now wow look how bug-free my kernel feels now! :-p#asahi · 2021-10-02 19:49
alyssarolled back the smc+wifi stuff#asahi · 2021-10-02 19:48
alyssa*out.#asahi · 2021-10-02 19:48
alyssais tapping our.#asahi · 2021-10-02 19:47
alyssaj_ey: thanks for volunteering to finish this mess#asahi · 2021-10-02 19:47
alyssaD:#asahi · 2021-10-02 19:37
alyssawho needs wifi anyway.#asahi · 2021-10-02 19:37
alyssaok this will involve too many hacks for me to deal with right now#asahi · 2021-10-02 19:33
alyssanod#asahi · 2021-10-02 19:24
alyssanod#asahi · 2021-10-02 19:10
alyssaoh, found it#asahi · 2021-10-02 19:09
alyssaj_ey: I hear you and Sven have an SMC?#asahi · 2021-10-02 18:59
alyssa....oh and that's another "rebuild the whole kernel" config change.#asahi · 2021-10-02 18:58
alyssaI had a cherrypick of corellium SMC but that's probably dead by now.#asahi · 2021-10-02 18:55
alyssaforgot that particular detail#asahi · 2021-10-02 18:55
alyssaoh and this needs SMC support to light up the wifi PCI port right..#asahi · 2021-10-02 18:54
alyssanod#asahi · 2021-10-02 18:51
alyssaokay. er. right. uhm. okay#asahi · 2021-10-02 18:51
alyssa....RANDOMBYTES? how.. random....#asahi · 2021-10-02 18:51
alyssafeedc0de ... uh#asahi · 2021-10-02 18:50
alyssaoh and the registers are moved around. How... lovely.#asahi · 2021-10-02 18:50
alyssakettenis: yeah, saw that 👍#asahi · 2021-10-02 18:50
alyssaallowing vif==NULL for no p2p whatever that is, need to read the context#asahi · 2021-10-02 18:49
alyssasome unexplained change to nvram length, probably MAC related#asahi · 2021-10-02 18:49
alyssaI don't see where they set that MAC address. if it was OTP, fine. but actually the MAC address should be from the ADT anyway.#asahi · 2021-10-02 18:48
alyssanext functional thing is brcmf_fw_set_macaddr .. sketchy string parsing code in kernel space but the functional change is prepending the string "macaddr=aa:bb:cc:dd:ee:ff" into NVRAM with the appropriate MAC used#asahi · 2021-10-02 18:46
alyssanext they rip apart mp_global for no clear reason. probably was a debug thing..#asahi · 2021-10-02 18:46
alyssaokay, back to the top