#asahi-dev · 2025-12-07 13:24
nickchanah#asahi-dev · 2025-12-07 13:24
nickchannow being startup code, there is no way around it; disassemble xnu's startup code and libT8122.os.DEVELOPMENT.a should be the best place to look#asahi-dev · 2025-12-07 13:22
nickchanespecially on the p cores#asahi-dev · 2025-12-07 13:22
nickchanintegralpilot: you will need to setup chickens for m3 otherwise errata will cause all sorts of weird behavior#asahi-dev · 2025-12-07 05:19
nickchanmake your own decision for different sysregs you encounter but do be aware of that s3_1_c15_c1_5_EL1, s3_4_c15_c14_5_EL2 and s3_4_c15_c14_6_EL12 may be VHE affected#asahi-dev · 2025-12-07 04:50
nickchanyou are on the right track all of this makes sense so far#asahi-dev · 2025-12-07 04:48
nickchanhttps://github.com/AsahiLinux/m1n1/blob/main/tools/apple_regs.json this is a useful file#asahi-dev · 2025-12-07 04:47
nickchanintegralpilot: think it's fine to pass this one through in the hv python code#asahi-dev · 2025-12-07 04:45
nickchan"SYS_IMP_APL_ACC_CFG"#asahi-dev · 2025-12-02 16:11
nickchanor handle in python depending on how noisy things are#asahi-dev · 2025-12-02 16:06
nickchanand depending whether it's a register affected by VHE usually you'd want to SYSREG_PASS or SYSREG_MAP it#asahi-dev · 2025-12-02 16:00
nickchanso yeah check which sysreg is being trapped#asahi-dev · 2025-12-02 15:59
nickchanso some sysreg trap is enabled but the trapped sysreg is not supported by m1n1 it seems#asahi-dev · 2025-12-02 15:59
nickchanhttps://github.com/AsahiLinux/m1n1/blob/64762a702b66062e545a92bf8aca04372ab2dc89/src/hv_exc.c#L476#asahi-dev · 2025-12-02 15:53
nickchanit may contain a sysreg-like ISS#asahi-dev · 2025-12-02 15:51
nickchanlike what kvm is doing#asahi-dev · 2025-12-02 15:50
nickchanintegralpilot: i think that's a guest trap ISS, how about you check AFSR1_EL2?#asahi-dev · 2025-12-02 15:41
nickchanhm okay ISS is 0x20#asahi-dev · 2025-12-02 15:39
nickchanintegralpilot: all apple ISA extension exceptions uses EC 0x3f#asahi-dev · 2025-11-27 12:11
nickchanchaos_princess, integralpilot: sptm does not run when raw binary custom boot object is used#asahi-dev · 2025-11-25 08:18
nickchanthat's talking about linux, but uboot is also the same case and m1n1 only has partial support#asahi-dev · 2025-11-25 08:16
nickchanthe m3 stuff hasn't been committed properly at all aside from AICv3 so properly committing some base device tree could help#asahi-dev · 2025-11-25 08:15
nickchanas for m3 hypervisor it is not needed to make basic linux work#asahi-dev · 2025-11-25 08:13
nickchanfl0_id: yeah im thinking about your attempt#asahi-dev · 2025-11-25 08:12
nickchancyberhead: if you are interested in new devices m3 *is* the way right now#asahi-dev · 2025-11-24 06:30
nickchanmeanwhile no fundamental dealbreakers for m3 it merely haven't received enough attention yet and xnu panics early in hypervisor#asahi-dev · 2025-11-24 06:28
nickchani mean dart driver kexts#asahi-dev · 2025-11-24 06:28
nickchanwouldn't be surprised if the dart drivers in xnu makes assumptions about the build configs#asahi-dev · 2025-11-24 06:27
nickchan(borderline impossible cause isa extensions disabled not sure if custom build xnu sources could help)#asahi-dev · 2025-11-24 06:26
nickchansingle core linux ramdisk with uart shouldn't be *too* hard#asahi-dev · 2025-11-24 06:26
nickchanbooting xnu with m1n1 on m4 is borderline impossible right now #asahi-dev · 2025-11-18 06:08
nickchani know that#asahi-dev · 2025-11-18 04:24
nickchandeadf00d: username "amarioguy" are around here sometimes#asahi-dev · 2025-10-14 15:13
nickchanI can and already have the spmi driver patch in my tree#asahi-dev · 2025-10-14 15:12
nickchanfor actual usage though? it is probably fine people are not going to run mainline for non dev purposes#asahi-dev · 2025-10-14 15:12
nickchanon paper it annoys me a bit that the t8012 and t8015 spmi dts and driver are both in mainline but it's still not going to work in mainline and I have to state that in my feature support matrix#asahi-dev · 2025-10-14 15:08
nickchanat least the ones actually used by the dts#asahi-dev · 2025-10-14 15:08
nickchanthe driver changes are probably elgible to be picked up during -rc though#asahi-dev · 2025-10-14 15:08
nickchanthe dts changes needing using the soc specific compatibles made it to v6.18-rc1 but some of the corresponding driver changes like spmi does not#asahi-dev · 2025-10-04 12:40
nickchanit's what the boot ROM version permits#asahi-dev · 2025-10-04 12:40
nickchanfor a reference exactly when Apple A7 A0 materializes is unknown but it is no later than fourth quarter 2012#asahi-dev · 2025-10-04 12:39
nickchanfair then#asahi-dev · 2025-10-04 12:39
nickchanthis is quite interesting, was it on a ASIC implementation?#asahi-dev · 2025-10-04 12:32
nickchangotta be production silicon to count#asahi-dev · 2025-10-04 05:23
nickchanit's almost like GXF but I think it's more flexible#asahi-dev · 2025-10-04 05:19
nickchanand FEAT_TEV comes with a TENTER instructions that generate exceptions with an offset if i understand correctly and there's a TEXIT instruction#asahi-dev · 2025-10-04 05:18
nickchan FEAT_S1POE2 allows additional access control within the same exception level through additional page tables#asahi-dev · 2025-10-04 05:17
nickchanneed to say it's almost like I have seen FEAT_S1POE2 and FEAT_TEV somewhere else#asahi-dev · 2025-10-04 05:16
nickchannew arm extensions https://developer.arm.com/documentation/109697/2025_09/Feature-descriptions/Future-Architecture-Technologies?lang=en#asahi-dev · 2025-09-21 17:01
nickchanjannau: openbsd's install's instructions uses uefi-only as well