#
…

2026-06-11

00:21JamesCalligeros[m]as in the exclave talks to the firmware and xnu asks the exclave to do things?
00:28StanfordAppliedCyber[m]i havent looked at it exactly but yes that is my guess
00:28StanfordAppliedCyber[m]if you look at the adt there's a lot of nodes with exclave related stuff in them
00:29StanfordAppliedCyber[m]most of my work has been related to turing them off, which is definitely possible (for now)
00:31JamesCalligeros[m]if they become mandatory from xnu at some point in the future m1n1 will have to learn how to host the exclaves and monitor their MMIO
00:32JamesCalligeros[m]theoretically the copro fw blobs wont care who is talking to them, so it should all still work from linux drivers, but for tracing we will need the exclaves
00:32StanfordAppliedCyber[m]no doubt, but fwiw i'm still not super worried about them
00:32StanfordAppliedCyber[m]if i had to implement exclaves i think it would take under a week
00:33StanfordAppliedCyber[m]the biggest risk would be all the apple sysregs ofc
00:33JamesCalligeros[m]theyd just be extra guests under m1n1 right
00:34StanfordAppliedCyber[m]i'd just run secore kernel + exclave kit in el1/0 respectively as two other guests
00:36StanfordAppliedCyber[m]as an extra guest*, two guests total (xnu and secure kernel)
00:36StanfordAppliedCyber[m]btw the issue with implementing them is there's basically two ways for them to talk to each other: some custom protocol managed by sptm (tightbeam) and shared memory buffers
00:37StanfordAppliedCyber[m]the latter is easy because we own sptm, the former is annoying because now we need to RE that entire protocol to shuttle messages properly
00:52StanfordAppliedCyber[m]oh also one thing making it easier is that my current understanding is that the secureos boot don't run in parallel, first sptm loads secure kernel, makes sure it's ready, and only then does it boot xnu, so i don't think there's some detailed parallel init thing we need to deal with
01:46jsk_ has joined #asahi-dev
01:50jsk has quit [Ping timeout: 480 seconds]
01:52ho11ow has joined #asahi-dev
01:54ho11ow has quit [Remote host closed the connection]
01:54jsk_ is now known as jsk
01:54ho11ow has joined #asahi-dev
01:55ho11ow has quit [Remote host closed the connection]
01:57ho11ow has joined #asahi-dev
02:00yurix has quit [Remote host closed the connection]
02:00yurix has joined #asahi-dev
02:00ho11ow has quit [Remote host closed the connection]
02:00ho11ow has joined #asahi-dev
02:02ho11ow has quit [Remote host closed the connection]
02:40tobhe has joined #asahi-dev
02:47tobhe_ has quit [Ping timeout: 480 seconds]
03:06ansg191 has quit [Ping timeout: 480 seconds]
03:08ansg191 has joined #asahi-dev
03:09ansg191 has quit [Remote host closed the connection]
03:10ansg191 has joined #asahi-dev
03:17vimproved has quit [Remote host closed the connection]
03:18vimproved has joined #asahi-dev
03:28marvin24 has joined #asahi-dev
03:40nora_ has joined #asahi-dev
03:42nora has quit [Ping timeout: 480 seconds]
04:05amarioguy has quit [Ping timeout: 480 seconds]
04:33gargantua has joined #asahi-dev
04:48gargantu1 has joined #asahi-dev
04:54gargantua has quit [Ping timeout: 480 seconds]
04:55BlueMatt has quit []
04:55BlueMatt has joined #asahi-dev
05:28MikeM64 has quit [Remote host closed the connection]
05:29MikeM64 has joined #asahi-dev
06:06gargantua has joined #asahi-dev
06:08gargantu1 has quit [Ping timeout: 480 seconds]
06:28gargantu1 has joined #asahi-dev
06:31gargantua has quit [Ping timeout: 480 seconds]
06:33Sobek[m][Stanford Applied Cyber](https://matrix.to/#/@appliedcyber:matrix.org) are you doing this work on your free time for free, or are you getting supported by the Asahi Open Collective ?
06:35StanfordAppliedCyber[m]i'm a soon to be graduating college student who wants to work on some random fun project for a bit
06:35StanfordAppliedCyber[m]i won't be here for long
06:35StanfordAppliedCyber[m]if you want to send me money i'll be happy to send you account and routing numbers
06:36tbodt_ has quit []
06:37tbodt has joined #asahi-dev
06:37Sobek[m]That’s going to be hard from the EU, with the US not using SEPA/IBAN.
06:37Sobek[m]But I have put some money on the Asahi open collective, which they could use.
06:38StanfordAppliedCyber[m]obviously if you want to send me money i'll be happy to assist, but if you want to help asahi linux send it to the open collective
06:38StanfordAppliedCyber[m]thanks for your support!
06:38StanfordAppliedCyber[m]i would accept a m5 class mac and in return i'd promise to get linux working on it
06:38ferdzo has quit [Read error: Connection reset by peer]
06:38StanfordAppliedCyber[m]well defined as everything except gpu + dcp
06:39Sobek[m]StanfordAppliedCyber[m]: Someone will have to maintain your pile of grad student spaghetti code :p
06:39StanfordAppliedCyber[m]surprisingly not that spaghetti, i've cleaned it up a lot, most of the remaining code wouldn't be that hard to upstream
06:40ferdzo has joined #asahi-dev
06:42ansg191_ has joined #asahi-dev
06:43ansg191 has quit [Ping timeout: 480 seconds]
06:43ansg191_ is now known as ansg191
06:45ansg191_ has joined #asahi-dev
06:46ansg191_ has quit [Remote host closed the connection]
06:49svenif you need hw we can figure out how to expense it in the open collective. there’s enough funds there
06:52StanfordAppliedCyber[m]nah i'm good, i'm definitely not the person you should be spending hardware money on
06:54StanfordAppliedCyber[m]also the reason why i'm working on the neo is because it's so popular-- a very accessible way for someone to use asahi linux, not to mention whenever the 8gb ram starts showing its limitations turning it into a linux device seems like a compelling possibility
08:11gargantua has joined #asahi-dev
08:13gargantu1 has quit [Ping timeout: 480 seconds]
08:19ddxtanx_ has quit [Remote host closed the connection]
08:27sobord has joined #asahi-dev
08:31PurpleDrink[m] has left #asahi-dev [Kicked by @draupnir-fedora:rory.gay : spam]
08:47sobord has quit [Ping timeout: 480 seconds]
08:57skxlldxggy has joined #asahi-dev
09:00skxlldxggy hey folks; anyone working on T8132 (base M4) bring-up at the moment? I noticed the EARLY_UART_BASE commit for it from a while back and got curious. I've got a base M4 (J713/Mac16,12) sitting around and pulled the ADT off it. UART addres lines up exactly with what's in soc.h already. happy to share the full dump or do testing if it'd help, just not sure if m1n1 even gets a foothold
09:00skxlldxggyon these yet given the SPTM/GL2 stuff I've read about. is there a known blocker or is it more "nobody's had time"?
09:01StanfordAppliedCyber[m]note for anyone else working on exclave stuff: from the ADT you have to remove BOTH /arm-io/aop-exclave-mailbox and /arm-io/aop/iop-aop-nub, if you remove one or the other by itself xnu panics
09:02ralim8 has quit [Quit: The Lounge - https://thelounge.chat]
09:02StanfordAppliedCyber[m]skxlldxggy: i'm the only one working on the tooling for sptm enabled devices (m4, a18 pro, m5) right now with my first target being the macbook neo
09:02yukaskxlidxggy: the blocker for getting more hardware to work is the tooling / hypervisor
09:03StanfordAppliedCyber[m]skxlldxggy: it's a blocker but we have multiple workable paths forward, someone just has to do the work
09:03yukaand possibly some bugs on the apple side
09:03StanfordAppliedCyber[m]if you're very good at systems / arm stuff and/or have a lot of time i could use some help clean rooming my sptm emulator
09:03StanfordAppliedCyber[m]and yeah as yuka said, these devices have bugs that unfortunately we can't do much more than wait for apple to fix
09:04yukawe're more reliant on apple for these devices, because they no longer allow us to configure the implementation specific cpu registers
09:04yukaso we rely on apple having configured them in a way that is workable for us
09:06ralim8 has joined #asahi-dev
09:12croissant` has joined #asahi-dev
09:19croissant has quit [Ping timeout: 480 seconds]
09:19skxlldxggyre: the clean-room SPTM emulator work, I might be useful for that. I'm building my own ARM64 OS from scratch (kernel/bootloader/init/installer, the whole stack, cross-compiled), and I'm comfortable at the register/devicetree level; just cross-checked an M4 ADT dump against m1n1's T8132 UART base and it lined up exactly. haven't done hypervisor/EL2 work specifically but I pick up
09:19skxlldxggynew ISA-level stuff fast and have time to put into it. what would the clean-room split actually look like?
09:25StanfordAppliedCyber[m]let's pull this into DMs
09:26skxlldxggywould you like my discord?
09:27elisaadoStanfordAppliedCyber[m]: do note that [skxlldxggy](https://matrix.to/#/@_oftc_skxlldxggy:matrix.org) is a bridged IRC user onto matrix
09:27elisaadoDMs will probably work but they also might... not
09:27skxlldxggyah, mb thanks
09:28StanfordAppliedCyber[m]i can do discord if matrix gets too annoying, but it's sort of annoying because i'm sending this on a shared account, and this machine has all the stuff on it whereas disc sits on my personal computer
09:28StanfordAppliedCyber[m]this is a shared account and shared machine
09:30pb17 has quit [Remote host closed the connection]
09:36roxfan2 has joined #asahi-dev
09:39roxfan has quit [Ping timeout: 480 seconds]
09:43pb17 has joined #asahi-dev
11:40gargantu1 has joined #asahi-dev
11:42gargantua has quit [Ping timeout: 480 seconds]
12:02croissant has joined #asahi-dev
12:08croissant` has quit [Ping timeout: 480 seconds]
12:48DD65 has joined #asahi-dev
12:50DD65 has quit [Remote host closed the connection]
13:19samontab has joined #asahi-dev
13:23samontab has quit []
13:54gargantu1 has quit [Ping timeout: 480 seconds]
13:56gargantua has joined #asahi-dev
15:31gargantua has quit [Ping timeout: 480 seconds]
16:05jnn is now known as jn
16:35first_thunder020 has joined #asahi-dev
16:35picnoir has quit [Ping timeout: 480 seconds]
16:40ayko has joined #asahi-dev
16:41first_thunder02 has quit [Ping timeout: 480 seconds]
16:41first_thunder020 is now known as first_thunder02
16:43picnoir has joined #asahi-dev
16:49ayko has quit [Quit: ayko]
17:53john-cabaj has joined #asahi-dev
18:44hardy94 has joined #asahi-dev
18:54KamilVclavek[m] has joined #asahi-dev
19:04john-cabaj has quit [Quit: john-cabaj]
19:09pjv has joined #asahi-dev
19:31amarioguy has joined #asahi-dev
19:48rivendell has quit [Remote host closed the connection]
19:48rivendell has joined #asahi-dev
19:51step21 has joined #asahi-dev
20:14vimproved has quit [Remote host closed the connection]
20:15vimproved has joined #asahi-dev
21:12hardy94 has quit [Remote host closed the connection]
21:13hardy94 has joined #asahi-dev
21:27marvin24_ has joined #asahi-dev
21:32marvin24 has quit [Ping timeout: 480 seconds]
21:48Enver has joined #asahi-dev
21:51chaos_princessmacos 27 beta hvf appears to have vhe nv support
21:59yukaDoes that make it more realistic to run linux as a 'guest' in sptm and then still support virtualisation?
22:00StanfordAppliedCyber[m]like turning vhe off?
22:00chaos_princessopposite, they only exposed nvhe nv on 26 and lower
22:01chaos_princessyuka: nah, it is completely irrelevant, you need a full fat macos with running alongside you, as arm64 nv needs a non-insignificant amount of support code
22:02chaos_princessbut this will allow you to for example run arm windows with hyperv enabled
22:03StanfordAppliedCyber[m]macbook neo uses the MT7922 wifi chip
22:03StanfordAppliedCyber[m]it is currently very unhappy and this is blocking boot :(
22:03chaos_princessyank out the kext?
22:04StanfordAppliedCyber[m]it's a dext actually
22:04StanfordAppliedCyber[m]but i'm not trying to just make it to boot with half the functionality missing
22:06yukaWhere did you get mt7922?
22:06yukaI thought it was 7935
22:07StanfordAppliedCyber[m]158.685962 mt7922SecProtectFWDL: SEC boot semaphore get success
22:10pjv has quit [Ping timeout: 480 seconds]
22:31StanfordAppliedCyber[m]apparently mt7922 is supported upstream already
22:32chaos_princessnon-zero chance that neo has an apple-flavoured one with a custom firmware load mechanism or something. But may be just a standard one
22:33StanfordAppliedCyber[m]i mean i figured that was implied
22:44linuxgemini has quit [Quit: Ping timeout (120 seconds)]
22:44linuxgemini has joined #asahi-dev
23:18StanfordAppliedCyber[m]yuka: where did you get 7935 from
23:23gargantua has joined #asahi-dev
23:23StanfordAppliedCyber[m]yeah i have no clue where you got that number from, i can't find it anywhere
23:24yukalspci I think?
23:27StanfordAppliedCyber[m]ah, i've never booted linux on this so i can't exactly run that command
23:41ddxtanx has joined #asahi-dev
…