#
✕ nick:nickchan
#asahi-dev · 2026-06-28 06:37
nickchanand not some sync exception
#asahi-dev · 2026-06-28 06:36
nickchanif you are talking about the amcc part and not cpu register part write to protected region should come up as either a SError or amcc interrupt
#asahi-dev · 2026-06-21 14:09
nickchanand what it does is touch hid registers
#asahi-dev · 2026-06-21 14:09
nickchanerm A7 to M3
#asahi-dev · 2026-06-21 14:09
nickchanit's true from A7 to M1
#asahi-dev · 2026-06-21 14:07
nickchani think chicken bits disable_dc_mva should be folded into apple_sysregs_unlocked
#asahi-dev · 2026-06-21 10:33
nickchanconfirmed at least the uboot that I have can boot the efi kernel using linux.py
#asahi-dev · 2026-06-21 10:14
nickchanthen I can use the same bootflow as on m1 and the m1n1 sent over usb can just be some generic one that chainloads off disk
#asahi-dev · 2026-06-21 10:13
nickchanof course best solution is to implement all the drivers into uboot... eventually
#asahi-dev · 2026-06-21 10:06
nickchanI will check linux.py now
#asahi-dev · 2026-06-21 10:04
nickchanif i use u-boot then I have to make linux.py's uboot bootcmd generation in C and add a new payload type that's the u-boot + kernel + initramfs blob
#asahi-dev · 2026-06-21 10:03
nickchaneither way i think i need to extend m1n1
#asahi-dev · 2026-06-21 10:03
nickchanokay I think linux.py does that
#asahi-dev · 2026-06-21 10:00
nickchansince i have no nvme or usb drivers
#asahi-dev · 2026-06-21 09:59
nickchani think u-boot can work if i can specify in memory where the kernel and initramfs is when creating the payload that is appended to m1n1
#asahi-dev · 2026-06-21 09:58
nickchanuboot has no concept of any pagesize other than 4k so it was a bit annoying but im past that
#asahi-dev · 2026-06-21 09:57
nickchanu-boot only works with 4k paging though i have modified it to make 64k paging work pre-m1
#asahi-dev · 2026-06-21 09:48
nickchanappearently some postmarketOS kernels are built like that
#asahi-dev · 2026-06-21 09:48
nickchan JamesCalligeros[m]: yes
#asahi-dev · 2026-06-21 09:46
nickchan(this does not mean EFI there's a non EFI mechanism)
#asahi-dev · 2026-06-21 09:46
nickchanif CONFIG_EFI_ZBOOT is enabled then the vmlinuz is a PE32+
#asahi-dev · 2026-06-21 09:46
nickchani might want to implement efi zboot linux kernel booting in m1n1
#asahi-dev · 2026-06-19 05:38
nickchanloginwindow today?
#asahi-dev · 2026-06-19 05:27
nickchani don't think it's a big deal
#asahi-dev · 2026-06-19 05:27
nickchancurrent m1n1 hypervisor already assume dcp will behave in a certain way I believe
#asahi-dev · 2026-06-18 14:59
nickchanextra context for your commit messages
#asahi-dev · 2026-06-18 14:58
nickchanthey still work with nGnRnE im just saying nGnRE works on previous gen
#asahi-dev · 2026-06-18 14:58
nickchanso this is fine
#asahi-dev · 2026-06-18 14:58
nickchanthere is no need to fix anything
#asahi-dev · 2026-06-18 14:57
nickchanwell you can't say that if you use 'of_machine_is_compatible("apple,arm-platform")'; not like that's an issue here
#asahi-dev · 2026-06-18 14:57
nickchanbut I previous gen still *work* with nGnRnE so i think it's fine
#asahi-dev · 2026-06-18 14:57
nickchani believe the nGnRnE requirement is new in A14/M1
#asahi-dev · 2026-06-18 08:36
nickchansee marcan's explaination: https://lore.kernel.org/asahi/3cd6bf37-f335-470b-9b3f-25628067e0f1@marcan.st/
#asahi-dev · 2026-06-18 08:35
nickchanit's not any different from the register names copied from proprietary datasheet in all places in linux
#asahi-dev · 2026-06-18 08:34
nickchanthis should be fine
#asahi-dev · 2026-06-16 16:35
nickchanjannau: have you checked sysreg state?
#asahi-dev · 2026-06-16 14:30
nickchanand let me guess; no reply on the feedback
#asahi-dev · 2026-06-15 17:14
nickchanpress power button => IRQ
#asahi-dev · 2026-06-15 17:14
nickchan...maybe the SMC mailbox irq can work for that
#asahi-dev · 2026-06-15 17:14
nickchanif i want to do this seriously then I need a good IRQ source
#asahi-dev · 2026-06-15 17:11
nickchanthere's a difference if you look at m1n1 code when stopping the cpu there's a deep_sleep switch
#asahi-dev · 2026-06-15 17:11
nickchansven: correct if the secondaries are active
#asahi-dev · 2026-06-15 17:10
nickchanall i did is set non retention wfi
#asahi-dev · 2026-06-15 17:10
nickchani did not do deep sleep in that code
#asahi-dev · 2026-06-15 17:07
nickchansince FIQ is part of the core complxes despite being handled in the "AIC" driver in linux
#asahi-dev · 2026-06-15 17:06
nickchani think it's possible with an IRQ instead of a FIQ but i think i will leave it at this today
#asahi-dev · 2026-06-15 17:02
nickchansmp_start_secondaries is required for some reason.
#asahi-dev · 2026-06-15 17:01
nickchansven: https://github.com/HoolockLinux/m1n1/blob/1ab9d328d46bca797a2d2cd451cd7553ce6b2a97/proxyclient/experiments/rvbar.py this causes primary cpu to restart, at least on t6000
#asahi-dev · 2026-06-15 16:57
nickchanokay
#asahi-dev · 2026-06-15 16:45
nickchanerm im stupid ive been setting cyc_ovrd's wfi_ret backwards

plus ›