ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
tobhe_ is now known as tobhe
hdbngr has quit [Ping timeout: 480 seconds]
pbsds is now known as Guest13560
pbsds has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
Guest13560 has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
mischa85 has joined #asahi-dev
snuck has quit [Ping timeout: 480 seconds]
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
pb17 has joined #asahi-dev
sneak has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
mischa85 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
betoissues has quit []
mischa85 has quit [Ping timeout: 480 seconds]
betoissues has joined #asahi-dev
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
tobhe_ has joined #asahi-dev
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
tobhe has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
Stary has quit [Quit: ZNC - http://znc.in]
mischa85 has joined #asahi-dev
Stary has joined #asahi-dev
nora has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
nora_ has quit [Ping timeout: 480 seconds]
Extern has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
dextaa6 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
Extern has quit [Quit: WeeChat 4.6.1]
pb17 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
ddxtanx has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
dextaa6 has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
Larwive has joined #asahi-dev
Larwive has quit []
Larwive has joined #asahi-dev
Larwive has quit []
Larwive has joined #asahi-dev
<nickchan> had some success hacking iboot's data abort handler hopefully i could do it for xnu soon
pb17 has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
incon has quit [Remote host closed the connection]
mischa85 has quit [Ping timeout: 480 seconds]
gio1 has joined #asahi-dev
mischa85 has joined #asahi-dev
ddxtanx has joined #asahi-dev
pb17 has joined #asahi-dev
hdbngr has joined #asahi-dev
incon has joined #asahi-dev
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
incon has quit [Remote host closed the connection]
hdbngr has quit [Ping timeout: 480 seconds]
incon has joined #asahi-dev
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
incon has quit [Remote host closed the connection]
hdbngr has joined #asahi-dev
incon has joined #asahi-dev
incon has quit [Remote host closed the connection]
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
gio1 has left #asahi-dev [#asahi-dev]
incon has joined #asahi-dev
okb has joined #asahi-dev
pb17 has joined #asahi-dev
linuxgemini has quit [Quit: Ping timeout (120 seconds)]
linuxgemini has joined #asahi-dev
<maz> alyssa: the PCIe series is 6.16 material, I expect. I'll ping Bjorn around -rc4 to make sure it hasn't got off his radar.
gabuscus has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
<sven> nickchan: got a link to that series that i haven't picked up yet? can't seem to find it :/
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
<chadmed> aaa ive written myself into a corner with the adt rust stuff. i need a mutable reference to a property to implement setprop but everything is immutable :p
<chadmed> .as_mut() on the Result doesnt work because it contains a reference which is immutable
gabuscus has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
<nickchan> there's also https://lore.kernel.org/asahi/20250407-apple-cpmu-v6-0-ae8c2f225c1f@gmail.com/T which comes with some dts patches but nothing from the arm64 side so it continues to sit there
<sven> alright, applied the first one
<sven> the second one has to be merged through the arm64 (or whatever the correct subsystem is) tree first before i can pick up the dts changes
pb17 has joined #asahi-dev
hdbngr has joined #asahi-dev
<nickchan> i2c hwrev (0x28) is 6 since a12 and 3 on a11... not like the a12 part has any practical sigificance anyways
<nickchan> t2 is unknown because accessing both the i2c and related pmgr pwrstate regs in whatever state iboot puts the kernel in results in serror
hdbngr has quit [Ping timeout: 480 seconds]
<nickchan> can probably try mapping physical memory to el0 from bridgeOS on t2 too to find out but i think it's better to hack on xnu vbar first
Calandracas_ has joined #asahi-dev
Calandracas has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
kraem has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
<sven> https://github.com/AsahiLinux/linux/commits/b4/pasemi-fixes/ v2 of the pasemi fixes i'll send out tomorrow
<sven> let's see if i can also get smc in shape now
mischa85 has joined #asahi-dev
<sven> huh, is the current m1n1 main hv on m1 broken for anyone else? https://gist.github.com/svenpeter42/f290098342f96c6c9d9ca35eaa6b6f02
mischa85 has quit [Ping timeout: 480 seconds]
leah2 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
<jannau> sven: no issues on linux but I have seen proxy communication issues during exception handling
<jannau> I'm using raw m1n1 payloads though
mattia013_ has joined #asahi-dev
leah2 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
mischa85 has joined #asahi-dev
<sven> raw payload also triggers a similar exception
<sven> weird
mattia013_ has quit [Remote host closed the connection]
mattia013_ has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
<sven> bisect isn't very helpful either it seems. that resulted in two different commits that made no sense and where reverting also didn't fix anything
hdbngr has joined #asahi-dev
leah2 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
leah2 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
mattia013_ has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
mischa85 has joined #asahi-dev
hdbngr has joined #asahi-dev
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
mischa85 has joined #asahi-dev
<sven> okay, wtf, adding more prints and iodev_console_flush to hv_enter_secondary seems to fix it
mischa85 has quit [Ping timeout: 480 seconds]
<sven> *hv_start_secondary actually
okb has quit [Ping timeout: 480 seconds]
<sven> ah, no, i just messed up and forgot to chainload
Deewiant has quit [Remote host closed the connection]
Deewiant has joined #asahi-dev
okb has joined #asahi-dev
mischa85 has joined #asahi-dev
ethantwardy has quit [Quit: WeeChat 4.4.2]
ethantwardy has joined #asahi-dev
ethantwardy has quit [Quit: WeeChat 4.4.2]
ethantwardy has joined #asahi-dev
ethantwardy has quit [Quit: WeeChat 4.4.2]
ethantwardy has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
ethantwardy has quit [Quit: WeeChat 4.4.2]
hdbngr has joined #asahi-dev
ethantwardy has joined #asahi-dev
Extern has joined #asahi-dev
<sven> still no idea what causes that exception above except that it's something in the host m1n1, but smc finally works again
<sven> [ 0.354555] mfd-macsmc 23e400000.smc: RTKit: Initializing (protocol version 12)
<sven> [ 0.356430] mfd-macsmc 23e400000.smc: Initialized (922 keys #KEY (0x234b4559) .. zETM (0x7a45544d))
<sven> [ 0.358617] macsmc-gpio macsmc-gpio: First GPIO key: gP01 (0x67503031)
<sven> ugh, wait, did i break the binary search for the first gpio key? shouldn't that be gP00?
hdbngr has quit [Ping timeout: 480 seconds]
<sven> nope, looks like gP01 is correct
hdbngr has joined #asahi-dev
<LarstiQ> 1-based indexing? What is this, matlab? ;)
okb has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
ipatch has quit [Read error: Connection reset by peer]
ipatch has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
ipatch has quit [Read error: Connection reset by peer]
ipatch has joined #asahi-dev
hdbngr has joined #asahi-dev
Larwive has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
Larwive has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
ece314378925355451680698427415 has joined #asahi-dev
hdbngr has joined #asahi-dev
pb17 has joined #asahi-dev
Stary has quit [Quit: ZNC - http://znc.in]
okb has joined #asahi-dev
Stary has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
kraem is now known as Guest13592
kraem has joined #asahi-dev
Guest13592 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
ipatch_ has joined #asahi-dev
ipatch has quit [Read error: Connection reset by peer]
okb has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi-dev
kraem has quit [Ping timeout: 480 seconds]
kraem has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
pb17 has joined #asahi-dev
incon has quit [Remote host closed the connection]
incon has joined #asahi-dev
<sven> tried to track down that weird exception some more, it seems to somehow jump to a weird PC sometime after reaching smp_secondary_entry
<sven> this smells like weird memory corruption or something like that to me but i can't figure out what causes it
<sven> the last few times it does the weird jump somewhere in mmu_secondary_setup but before reaching smp_secondary_entry again
hdbngr has quit [Ping timeout: 480 seconds]
<jannau> can you upload the m1n1+payload?
___nick___ has quit []
mischa85 has quit [Ping timeout: 480 seconds]
___nick___ has joined #asahi-dev
<sven> see /msg
hdbngr has joined #asahi-dev
<sven> the m1n1 has one patch that might annoying for you, i've hardcoded the serial_str to dummy_serial_str because my m1n1 bootobject still has that old code
<jannau> the binary fails for on macho parsing: https://paste.debian.net/1369328/
<sven> it's a raw binary, i switched to that to rule out macho issues
___nick___ has quit [Remote host closed the connection]
hdbngr has quit [Ping timeout: 480 seconds]
<jannau> does the execption happens before trying to mount the rootfs? it boots until that here
<sven> oh, duh, this won't crash for you: the issue is somewhere in the host m1n1
<sven> https://f.svpe.dev/m1n1.bin that's the host one that almost always crashes when running run_guest.py for me
hdbngr has joined #asahi-dev
mischa85 has joined #asahi-dev
<jannau> that reproduces
Larwive has quit [Ping timeout: 480 seconds]
<sven> it seems to break when returning from mmu_secondary_setup to smp_secondary_entry
<sven> so something somehow seems to corrupt lr there
okb has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
<jannau> looks that way. does always break at starting cpu 2?
<sven> i think so, but i didn't pay close attention
<sven> let me try a few time
Larwive has joined #asahi-dev
<sven> nope, just crashed when trying to start cpu 1
kraem has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
hdbngr has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
hdbngr has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
okb has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
mischa85 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
pb17 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
tobhe_ is now known as tobhe
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
Extern has quit [Quit: WeeChat 4.6.1]
mischa85 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
SquareWinter68 has joined #asahi-dev
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]