#asahi-re · 2021-01-06 23:01
davidrysk[m]roxfan: the first Apple ARMv8 chips had A32, the newer ones don't#asahi-re · 2021-01-06 19:13
davidrysk[m]roxfan: all of Apple's 64-bit ARM processor designs are in-house#asahi-re · 2021-01-06 19:12
davidrysk[m]why would they have even spent the effort on implementing EL3 in the first place though#asahi-re · 2021-01-06 19:10
davidrysk[m]if MONITOR is defined, it does some call to initialize the EL3 "monitor". There's a comment that "WFI power gating may not operate correctly" if this is not done#asahi-re · 2021-01-06 19:09
davidrysk[m]okay that's fun#asahi-re · 2021-01-06 19:09
davidrysk[m]performance and efficiency#asahi-re · 2021-01-06 19:08
davidrysk[m]hm you may be right. night :)#asahi-re · 2021-01-06 19:07
davidrysk[m]oh! hm#asahi-re · 2021-01-06 19:06
davidrysk[m]H7 is typhoon, H8 is twister, H9 is hurricane#asahi-re · 2021-01-06 19:05
davidrysk[m]and then H9 says "none, ever"#asahi-re · 2021-01-06 19:05
davidrysk[m]the H7 and H8 includes have `#define MONITOR 1 /* Use EL3 monitor */`#asahi-re · 2021-01-06 19:05
davidrysk[m]I mean, it seems like the best way to tell if EL3 exists is by querying the ID_AA64DFR0_EL1 register#asahi-re · 2021-01-06 19:00
davidrysk[m]I probably need to re-read https://siguza.github.io/APRR/#asahi-re · 2021-01-06 19:00
davidrysk[m]yet the xnu monitor defines in xnu-7195.50.7.100.1/pexpert/pexpert/arm64/board_config.h are enabled for the newer chips#asahi-re · 2021-01-06 18:59
davidrysk[m]ah, they're using APRR for it instead#asahi-re · 2021-01-06 18:58
davidrysk[m]what context does the XNU monitor run in on the newer ones?#asahi-re · 2021-01-06 18:58
davidrysk[m]ah, so they replaced it with their own thing, perhaps#asahi-re · 2021-01-06 18:57
davidrysk[m]in the Hurricane chip, while there seemingly is in others.#asahi-re · 2021-01-06 18:52
davidrysk[m]but yeah, none of that other junk#asahi-re · 2021-01-06 18:50
davidrysk[m]marcan: there is no EL3? XNU sourcecode says otherwise#asahi-re · 2021-01-06 17:39
davidrysk[m]pmap_remove_options_internal seems to be implemented in osfmk/arm/pmap.c though#asahi-re · 2021-01-06 17:37
davidrysk[m]and there are includes to <arm64/ppl/*>, the directory which is missing#asahi-re · 2021-01-06 17:36
davidrysk[m]https://googleprojectzero.blogspot.com/2020/07/the-core-of-apple-is-ppl-breaking-xnu.html#asahi-re · 2021-01-06 17:36
davidrysk[m]it seems the monitor is used to implement the kernel page protection layer#asahi-re · 2021-01-06 17:36
davidrysk[m]there's an APRR_EL1_PPL register...#asahi-re · 2021-01-06 17:33
davidrysk[m]now, how is the XNU monitor implemented and how does one interact with it#asahi-re · 2021-01-06 17:33
davidrysk[m]that seems to be T8020 (A12), so probably T8101 (M1) as well#asahi-re · 2021-01-06 17:32
davidrysk[m](looking at xnu-src)#asahi-re · 2021-01-06 17:32
davidrysk[m]diz3y: there it appears that systems with a XNU_MONITOR have EL3#asahi-re · 2021-01-06 16:32
davidrysk[m]I expect that to be the case#asahi-re · 2021-01-06 16:32
davidrysk[m]right, okay#asahi-re · 2021-01-06 16:32
davidrysk[m]marcan: meaning, outside of the touch bar, right? :)#asahi-re · 2021-01-06 16:27
davidrysk[m]pro can sustain higher CPU speeds indefinitely; air throttles after 10 minutes or so#asahi-re · 2021-01-06 16:26
davidrysk[m]it has a fan#asahi-re · 2021-01-05 21:29
davidrysk[m]artemist: it might be difficult to find another source... hm#asahi-re · 2021-01-05 20:42
davidrysk[m]I see most of the others that are managed by kexts present in the Preboot volume#asahi-re · 2021-01-05 20:42
davidrysk[m]okay I think it's highly likely that the only firmware blob that will be needed is the bcm one.#asahi-re · 2021-01-05 20:29
davidrysk[m]From the bits and pieces that we know about that chip, it's built of hacks upon hacks#asahi-re · 2021-01-05 20:29
davidrysk[m]Tangential to this, one of the main annoyances I've run into is lackluster Linux support for bcm4360, which is widely used in routers and older Macs#asahi-re · 2021-01-05 20:26
davidrysk[m]Where do we stand regarding the BCM4375, which I would expect it to be derived from?#asahi-re · 2021-01-05 20:14
davidrysk[m]Looking at the kexts in general I see a handful of firmware related ones, but I can't tell how many are actually loading firmware. A bunch are loaded though.#asahi-re · 2021-01-05 20:09
davidrysk[m]yeah I think it's likely that brcm firmware will be needed#asahi-re · 2021-01-05 20:00
davidrysk[m]the wifi device appears to be a BCM4378, which does have firmware, as there is a kext called com.apple.driver.BCMWLANFirmware4378.Hashstore.#asahi-re · 2021-01-05 19:56
davidrysk[m]err, /usr/share/firmware#asahi-re · 2021-01-05 19:56
davidrysk[m]and also in /usr/share/firmware/wifi#asahi-re · 2021-01-05 19:52
davidrysk[m]I'm not sure if that is merely a staging repository, though#asahi-re · 2021-01-05 19:52
davidrysk[m]Apple places firmware in /usr/standalone/firmware on macOS