#asahi · 2021-09-21 14:09
marcanyeah but it works for me with both of those set#asahi · 2021-09-21 14:07
marcanhm#asahi · 2021-09-21 14:07
marcanah yeah, did you have CONFIG_ARM64_PTR_AUTH_KERNEL on?#asahi · 2021-09-21 14:06
marcanwhat does bt look like?#asahi · 2021-09-21 14:06
marcanj_ey: did you load_system_map()?#asahi · 2021-09-21 14:06
marcanthough actually I have that set and it works fine#asahi · 2021-09-21 14:05
marcan*pac_mask#asahi · 2021-09-21 14:05
marcanCONFIG_ARM64_PTR_AUTH=n if you don't want to set the pac_base by hand. I should really automate that...#asahi · 2021-09-21 14:04
marcanno messages before that?#asahi · 2021-09-21 14:04
marcanit has to do with kernel configs#asahi · 2021-09-21 14:03
marcanif so it's a panic I think#asahi · 2021-09-21 14:03
marcanis it a brk?#asahi · 2021-09-21 14:01
marcanor just the main OS waking up#asahi · 2021-09-21 14:01
marcanj_ey: AOP maybe#asahi · 2021-09-21 13:18
marcan:)#asahi · 2021-09-21 13:01
marcan(without something like that, SErrors are asynchronous)#asahi · 2021-09-21 13:01
marcanalyssa: also you can try hv.trace_range(irange(0x24246b000, 0x24246b004)) before start if you're still getting the same fault; that should at least make it precise (i.e. you actually get the faulting instruction in the guest)#asahi · 2021-09-21 12:56
marcanpovik: nice job on the audio :)#asahi · 2021-09-21 12:55
marcanhow are you getting it?#asahi · 2021-09-21 12:54
marcan(pushed)#asahi · 2021-09-21 12:54
marcanalyssa: still no idea *why* you got that SError, but at least now it should be handled properly#asahi · 2021-09-21 11:27
marcanalyssa: well now you have me making major changes to the entire exception handling in m1n1 :p#asahi · 2021-09-21 07:40
marcanj_ey: I did not!#asahi · 2021-09-21 07:40
marcanthese are impdefs#asahi · 2021-09-21 07:40
marcanimpdef SErrors can be either#asahi · 2021-09-21 07:40
marcanmaz: nah, only *external aborts* delivered as SErrors are specified as edge#asahi · 2021-09-21 07:12
marcanah no, it happens with a single one, I didn't realize it's level-triggered#asahi · 2021-09-21 07:01
marcanI think the guest can end up triggering multiple SErrors, and then the second one can get delivered in the middle of the HV#asahi · 2021-09-21 07:00
marcanah, I think I know how it happens#asahi · 2021-09-21 06:45
marcanthe bad guest exception after that is "expected"; an SError while in m1n1 will corrupt exception state since I don't save it properly before re-enabling SErrors#asahi · 2021-09-21 06:44
marcanI'm quite confused as to how you got an SError in a SEP address from m1n1 code; would help to know where it happened#asahi · 2021-09-21 06:38
marcan(after reproducing again after the build of course)#asahi · 2021-09-21 06:37
marcanalyssa: can you build from main and then addr2line the "rel" address in PC: 0x803b7c448 (rel: 0x10448) ?#asahi · 2021-09-21 06:19
marcanjust pushed a bunch of HV changes, though none that have anything to do with alyssa's SError afaict#asahi · 2021-09-21 02:23
marcanalso have you updated to 12.0 yet? :p#asahi · 2021-09-21 02:22
marcanI haven't done much with macos post-SMP, but at least login screen and basic desktop stuff worked fine#asahi · 2021-09-21 02:22
marcando you get it during boot?#asahi · 2021-09-21 02:22
marcanthat SError seems to be in SEP, which suggests it was shut down when it shouldn't have been?#asahi · 2021-09-21 02:21
marcanalyssa: I use "debug=0x14e serial=3 apcie=0xffffffef -enable-kprintf-spam wdt=-1"#asahi · 2021-09-20 23:50
marcanalyssa: I don't see some pmgr hooks I've recently added, are you sure this is up to date?#asahi · 2021-09-20 16:02
marcanheh, annoying...#asahi · 2021-09-20 16:00
marcan(as in systemwide sleep)#asahi · 2021-09-20 16:00
marcansleep kills it :)#asahi · 2021-09-20 16:00
marcanj_ey: yup#asahi · 2021-09-20 15:40
marcanj_ey: fixed#asahi · 2021-09-20 15:32
marcanalyssa: also 200 yen... that's barely enough for a coffee :p#asahi · 2021-09-20 15:30
marcan:D#asahi · 2021-09-20 14:56
marcanalyssa: I'm not trying to automate this any more, I intend to just do some manual merges and call it a day#asahi · 2021-09-20 09:17
marcaneverything runs proprietary firmware; people don't generally complain about the blob in their mouse because it works and doesn't get in the way#asahi · 2021-09-20 09:16
marcanproprietary firmware is only a problem when it becomes a problem