#
#asahi-dev · 2026-07-10 18:25
j`eyso does this mean you think the m1n1 pr was AI/llm, i thought they claimed to write that themselves but i wasnt following super close
#asahi-dev · 2026-07-10 18:11
jannauThank you for your understanding.
#asahi-dev · 2026-07-10 18:11
jannauIf you have concerns about enforcement actions, please contact the board at board@asahilinux.org and refrain from public speculation. For more information, see https://asahilinux.org/copyright/ https://asahilinux.org/code-of-conduct/ https://asahilinux.org/docs/project/policies/slop/
#asahi-dev · 2026-07-10 18:11
jannauWe'd like to remind everyone that Asahi Linux is committed to ensuring that all source code and documentation is free of copyright violations and other legal problems. Contributors are expected to abide by our copyright, reverse-engineering and generative AI policies. These policies are designed to ensure the Asahi Linux project remains sustainable for years to come.
#asahi-dev · 2026-07-10 18:11
jannauPosting on behalf of the Asahi Linux board:
#asahi-dev · 2026-07-10 16:00
svenalright, that linux psci code also works for "fake core powerdown", i.e. just disable mmu and jump to the entry_point immediately
#asahi-dev · 2026-07-10 13:48
nickchannow ofc el0 usage of private isa is disabled in that hypervisor implementation but like, you don't need custom kernel to document things accessible from el0, and people have been doing it since m1
#asahi-dev · 2026-07-10 13:46
nickchanso it's slightly funny
#asahi-dev · 2026-07-10 13:46
nickchani have a feeling that by essentially forcing people to soft model private isa there would be more documentation on it, not less
#asahi-dev · 2026-07-10 10:39
StanfordAppliedCyber[m]that'll be a followup PR after we merge this one
#asahi-dev · 2026-07-10 10:39
StanfordAppliedCyber[m]i think i'm done with dev tooling for a bit, other than trying to usptream this thing i'm going to take a break and write some drivers. may add exclave support when my m5 air comes, but that's it
#asahi-dev · 2026-07-10 10:34
StanfordAppliedCyber[m]i'm assuming it'll need a lot of work given this is my first time doing anything like this
#asahi-dev · 2026-07-10 10:33
StanfordAppliedCyber[m]hypervisor PR made, i'm off at a slightly less unreasonable hour for once today
#asahi-dev · 2026-07-10 10:33
StanfordAppliedCyber[m]https://github.com/AsahiLinux/m1n1/pull/622
#asahi-dev · 2026-07-10 10:27
svenit'll still need halt=nop, but yeah, that's the plan
#asahi-dev · 2026-07-10 10:25
StanfordAppliedCyber[m]it seems like the obviously right option
#asahi-dev · 2026-07-10 10:25
StanfordAppliedCyber[m]i assume on m4+ we're just gonna default to psci by default?
#asahi-dev · 2026-07-10 10:20
sveni'm more interested if the linux side works correctly
#asahi-dev · 2026-07-10 10:20
svenmeh, guess i can just fake it for now by having the psci code shut down the mmu and just jump to RVBAR itself for now
#asahi-dev · 2026-07-10 10:19
svenand i wonder if that's just the hv not implementing that part
#asahi-dev · 2026-07-10 10:19
svenbut it should come up again then and never does
#asahi-dev · 2026-07-10 10:19
svenTTY> HV: Exiting from CPU 1
#asahi-dev · 2026-07-10 10:19
svenTTY> HV: Requesting exit of CPU#1 from the guest
#asahi-dev · 2026-07-10 10:19
sven[cpu1] Guest is shutting down CPU
#asahi-dev · 2026-07-10 10:19
chaos_princessthe message i get is sth like "all cpus exited"
#asahi-dev · 2026-07-10 10:19
svenyeah, i see the catch
#asahi-dev · 2026-07-10 10:19
chaos_princessdon't we now catch it, at least python-side
#asahi-dev · 2026-07-10 10:18
sventrying to test psci with that mode where the core ends up at RVBAR and uhh.. the exit works but i think the cpu then never comes up again and i think that's because we just don't implement that correctly in the hv
#asahi-dev · 2026-07-10 10:18
svenalso, did anyone ever test what happens when a cpu is shut down in the hv? does macos ever do that and we survive?
#asahi-dev · 2026-07-10 10:17
svenyeah, finding that offset is rather simple
#asahi-dev · 2026-07-10 10:12
nickchanplus, could jsut brute force the offset
#asahi-dev · 2026-07-10 10:11
nickchanthe api is the same in every 64 bit soc but the cpu start offset differ
#asahi-dev · 2026-07-10 09:54
StanfordAppliedCyber[m]well, assuming the new cores aren't just different for some reason, but the super cores don't start either
#asahi-dev · 2026-07-10 09:54
StanfordAppliedCyber[m]right
#asahi-dev · 2026-07-10 09:53
yukaM4 was in a similar situation for a while I think
#asahi-dev · 2026-07-10 09:53
yukaI do see the pmgr regs change, so I'm confident the offset is correct
#asahi-dev · 2026-07-10 09:52
yukaIf the offset was wrong, I wounldn't see the cpus pmgr regs change
#asahi-dev · 2026-07-10 09:23
StanfordAppliedCyber[m]but them just changing the offsets, especially when introducing a new core, seems pretty normal?
#asahi-dev · 2026-07-10 09:22
StanfordAppliedCyber[m]see: ALL OF MY MACBOOK NEO TROUBLES
#asahi-dev · 2026-07-10 09:22
StanfordAppliedCyber[m]like i'm FULLY willing to believe that apple fucked up smp
#asahi-dev · 2026-07-10 09:20
chaos_princessah, no, the offsets differ
#asahi-dev · 2026-07-10 09:20
chaos_princesshasn't the api been the same for every m-series chip
#asahi-dev · 2026-07-10 09:19
StanfordAppliedCyber[m]--> that needs a hypervisor that yall don't have?
#asahi-dev · 2026-07-10 09:19
StanfordAppliedCyber[m]like, wouldn't we need to trace macos to get to that point to know what the offsets are
#asahi-dev · 2026-07-10 09:19
StanfordAppliedCyber[m]dumb question, how do we know how to start secondaries on t6050 enough to say that macos is the problem?
#asahi-dev · 2026-07-10 07:47
yukaI would still like to support at least 2 channels over dockchannel uart inside of m1n1, so that one of them can be used as vuart on the Neo
#asahi-dev · 2026-07-10 07:37
jannauyes. it also enables https://github.com/AsahiLinux/m1n1/commit/093f59ea0777e14948ee49b25dfe3ab8d5ae6b64 which is helpful to sync kernel log with tracing output
#asahi-dev · 2026-07-10 07:32
yukaso that we can redirect it to cdc-acm?
#asahi-dev · 2026-07-10 07:30
jannauI think we want to virtualize dockchannel-uart in the same way as the uart
#asahi-dev · 2026-07-10 06:58
yukaor maybe there is some way to enable irqs for the other channels (but I just don't know how to find it)

plus ›