marcan changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
aquijoule_ has joined #asahi-dev
aquijoule__ has quit [Ping timeout: 480 seconds]
PhilippvK has joined #asahi-dev
phiologe has quit [Ping timeout: 480 seconds]
quarkyalice has quit [Ping timeout: 480 seconds]
<sven> very nice :-)
quarkyalice has joined #asahi-dev
bisko has joined #asahi-dev
amw has quit [Quit: WeeChat 2.3]
amw has joined #asahi-dev
aleasto has joined #asahi-dev
<roxfan> gdb stub is from qemu?
<roxfan> does it boot to desktop?
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aquijoule_ has quit [Ping timeout: 480 seconds]
richbridger has joined #asahi-dev
phofe2 has joined #asahi-dev
Fanfwe42 has joined #asahi-dev
Fanfwe has quit [Ping timeout: 480 seconds]
phofe has quit [Ping timeout: 480 seconds]
phofe2 is now known as phofe
bisko has joined #asahi-dev
bisko has quit []
bps has joined #asahi-dev
yuyichao has quit [Quit: Konversation terminated!]
yuyichao has joined #asahi-dev
pastly-antispam has quit [Quit: WeeChat 2.3]
opticron has quit [Ping timeout: 480 seconds]
<marcan> c1truz[m]: nice! I assume that one doesn't need GXF/SPRR? I can't imagine Linux playing nicely with that :)
<c1truz[m]> roxfan: gdbstub yes. no, just booting from ramdisk in serial mode atm. There is some paravirt gpu driver in that kernel, but I need to figure out how it works.
<roxfan> cool
<c1truz[m]> marcan: exactly. no proprietary registers and even support for GICv3 :)
<bloom> eh?
<_jannau_> so it might run directly on non-apple arm64 HW?
<marcan> that's surprising, I imagined they would at least still want AMX/Apple PAC and things like that
<marcan> the ones that don't need massive HV changes but do require Apple hardware (and the right bits flipped by the HV)
opticron has joined #asahi-dev
aleasto has quit [Quit: Konversation terminated!]
aleasto has joined #asahi-dev
aleasto has quit [Remote host closed the connection]
aleasto has joined #asahi-dev
aleasto has quit []
aleasto has joined #asahi-dev
<c1truz[m]> it does a hvc to get the default rop and jop pids, for which I currently just return 0
<c1truz[m]> marcan: what is different with apple's PAC implementation?
<marcan> they support extra kernel keys, per-boot diversification, and they also did the whole EL1/EL2/EL12 VHE thing with the entire register set (standard ones and their add-ons)
<marcan> probably more things
<bloom> marcan: nini
<marcan> "Key generation on Apple CPUs"
<marcan> apple documented this, then deleted the file in 11.2+, because of course they didn't *mean* to document it...
<c1truz[m]> hehe thx
<bloom> incredible
PhilippvK has quit [Ping timeout: 480 seconds]
<marcan> see also https://github.com/AsahiLinux/m1n1/blob/main/tools/apple_regs.json everything that mentions "pointer authentication"
<marcan> bloom: nn :p
rcombs has quit [Quit: ZNC - http://znc.in/ZNC]
rcombs has joined #asahi-dev
rcombs has quit []
rcombs has joined #asahi-dev
aleasto has quit [Remote host closed the connection]
rcombs has quit [Quit: ZNC - http://znc.in/ZNC]
rcombs has joined #asahi-dev
<sven> marcan: did you see any special flags or bits in the PTE when the DART mapped device memory?
rcombs has quit [Quit: ZNC - http://znc.in/ZNC]
erincandescent has quit [Remote host closed the connection]
erincandescent has joined #asahi-dev
<jannau> sven: complete trace_dart.py output of booting to the login screen and shutting the system down: https://gist.github.com/jannau/a9fcee3038517e985fc6c456c9da738c
<jannau> still no booting mac os kernel under HV?
<sven> i'm pretty sure it's because my mac os version is old
<sven> i never updated it since january or so
<sven> and i've been too lazy to fix that
<sven> :(
rcombs has joined #asahi-dev
<bloom> sven: ...yep, that'd do it probably :p
<bloom> start the update and go for a walk? :)
<sven> you underestimate my procrastination!
<jannau> mac os seems to make extra sure that that the i2c pins are configured correctly on each i2c transfer. it reads the config first, writes the same same config back and reads it again
quarkyalice has quit [Quit: Leaving]
quarkyalice has joined #asahi-dev
<roxfan> toctou is no joke
quarkyalice_ has joined #asahi-dev
quarkyalice__ has joined #asahi-dev
quarkyalice__ has quit []
quarkyalice__ has joined #asahi-dev
quarkyalice has quit [Ping timeout: 480 seconds]
quarkyalice_ has quit [Ping timeout: 480 seconds]
kettenis_ has joined #asahi-dev
kettenis has quit [Ping timeout: 480 seconds]