#asahi-re · 2021-01-06 22:08
diz3yopticron: you're right, they are optioal#asahi-re · 2021-01-06 19:15
roxfanwell, maybe they thought it would work at first#asahi-re · 2021-01-06 19:15
roxfanhm#asahi-re · 2021-01-06 19:15
opticronI don't think the ARMv8 spec requirees EL2 or EL3#asahi-re · 2021-01-06 19:15
j`eyEL3 is optional#asahi-re · 2021-01-06 19:14
roxfansure but they do have to be (sowewhat) compatible with ARM's specs#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:13
roxfanit came from ARM?#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:11
roxfanhttps://www.theiphonewiki.com/wiki/Application_Processor more chips#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
jn__ah, thx#asahi-re · 2021-01-06 19:09
davidrysk[m]performance and efficiency#asahi-re · 2021-01-06 19:09
jn__what do "P-Core" and "E-Core" mean?#asahi-re · 2021-01-06 19:08
davidrysk[m]hm you may be right. night :)#asahi-re · 2021-01-06 19:08
marcananyway, sleep :)#asahi-re · 2021-01-06 19:08
marcanI don't think XNU_MONITOR has anything to do with EL3#asahi-re · 2021-01-06 19:07
davidrysk[m]oh! hm#asahi-re · 2021-01-06 19:07
marcanMONITOR and XNU_MONITOR seem to be different things#asahi-re · 2021-01-06 19:07
marcanthose are for H11+#asahi-re · 2021-01-06 19:07
marcanbut look at xnu-7195.50.7.100.1/pexpert/pexpert/arm64/board_config.h#asahi-re · 2021-01-06 19:06
marcanhttps://github.com/AsahiLinux/docs/wiki/Codenames I collected the mappings there#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
marcananyway, off to sleep :p#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:04
marcandavidrysk[m]: did the XNU monitor ever run in EL3? those defines are only enabled in post-hurricane CPUs anyway#asahi-re · 2021-01-06 19:03
Bluerisenevermind :)#asahi-re · 2021-01-06 19:03
roxfannot sure what's that#asahi-re · 2021-01-06 19:03
Blueriseroxfan: weren't you there for iDroid times?#asahi-re · 2021-01-06 19:01
roxfanthere's PPL too#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:59
marcanso there is no xnu monitor#asahi-re · 2021-01-06 18:59
marcanxnu-7195.50.7.100.1/EXTERNAL_HEADERS/img4/runtime.h: * the kernel-proper. On architectures which do not have an xnu monitor, this#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
marcanthere is no replacement#asahi-re · 2021-01-06 18:58
marcanEL3 is a terrible idea#asahi-re · 2021-01-06 18:58
marcanno, they do not use and never want EL3#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:58
marcanpretty sure not on newer ones#asahi-re · 2021-01-06 18:58
marcanolder ones, yes#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:54
marcanxnu-6153.141.1/pexpert/pexpert/arm64/hurricane.h:#define NO_MONITOR 1 /* No EL3 for this CPU -- ever */#asahi-re · 2021-01-06 18:54
marcanXNU sourcecode says there is no EL3, and there never will be#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