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
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
rrendec has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
ddxtanx has quit [Remote host closed the connection]
nukelet has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
mesa has joined #asahi-dev
nukelet has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mesa has quit [Remote host closed the connection]
mischa85 has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
tobhe has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
tobhe_ has quit [Ping timeout: 480 seconds]
dylantaylor has joined #asahi-dev
dylantaylor has quit []
mesa has joined #asahi-dev
mischa85 has joined #asahi-dev
pb17 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
ddxtanx has joined #asahi-dev
dylantaylor has joined #asahi-dev
dylantaylor has quit [Quit: Leaving]
yuyichao_ has joined #asahi-dev
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
HitokiriKincho has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
nora has joined #asahi-dev
nora_ has quit [Ping timeout: 480 seconds]
pb17 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]
HitokiriKincho has quit [Quit: Leaving...]
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
nepeat has joined #asahi-dev
___nick___ has joined #asahi-dev
nepeat_ has joined #asahi-dev
nepeat has quit [Ping timeout: 480 seconds]
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<mischa85> trying to see if i can make sense of why some register writes don't work and if it gives any clues why the hv fails. this happens on msr(VMKEYLO_EL2, 0x4E7672476F6E6147): https://gist.github.com/mischa85/21ba3a4cba6cb1fd4c3de44ea4e0dd55
mesa has quit [Remote host closed the connection]
mesa has joined #asahi-dev
<jannau> are those inaccessible system regs all apple architecture extensions?
pb17 has quit [Ping timeout: 480 seconds]
<mischa85> jannau: yes, it seems like they are
<mischa85> to be totally clear, they are okay to read, but writing fails
<sven> ugh, that sounds like apple locked those down inside iboot already
<mischa85> sven: they all return 0x0 tho
<jannau> probably defaults / everything disabled
<jannau> I wonder how apple would do that. I would assume the features/regs are not be disabled for custom darwin kernels with permissive security
<sven> yeah, they'd still need to support modified xnu kernels for people writing kexts, etc.
pb17 has joined #asahi-dev
<mischa85> chaoss_princess mentioned amx probably not being part of m4 anymore due to sme, so that's one reg accounted for
chrisl has joined #asahi-dev
nimprod3l has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mesa has quit [Ping timeout: 480 seconds]
<mischa85> i'll just try to the 110mbyte development kernel. 115200 ouch
<sven> have you already tried a simpler payload as a guest, e.g. just m1n1 again?
<mischa85> not yet, i'll try
chrisl has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
opticron has quit [Read error: Connection reset by peer]
opticron has joined #asahi-dev
<mischa85> trying to run m1n1.macho as guest crashes in the same way
<mischa85> almost right after hv_start it throws Exception: FIQ
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
kaazoo has joined #asahi-dev
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
rrendec has joined #asahi-dev
gruetzkopf has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
pb17 has quit [Ping timeout: 480 seconds]
gruetzkopf has joined #asahi-dev
chrisl has joined #asahi-dev
pb17 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
gruetzkopf has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
gruetzkopf has joined #asahi-dev
yuka has quit [Remote host closed the connection]
yuka has joined #asahi-dev
__nick__ has joined #asahi-dev
<mischa85> anybody has any clue what direction i should be looking? sprr/gxf? pmgr? vmkeylo/hi?
<mischa85> i feel so close to booting but i feel stuck
___nick___ has quit [Ping timeout: 480 seconds]
bjoto has quit [Remote host closed the connection]
<mischa85> also: PMU(u).reset_panic_counter() doesn't work: https://gist.github.com/mischa85/9ea6d1a3354508b875e6a272cbe04b11
<sven> do you know if you can even execute a single instruction while running the hv successfully?
<mischa85> regs[4] contain the address being jumped to everytime. it almost seems like it fails at the very first instruction
<alyssa> probably does
<sven> do you have access to a m1/m2 and can run your hacked m1n1 there and see what happens?
<mischa85> hmmm. not at hand but i have one i can borrow for that
<mischa85> i'll try baking a new one from the git. it's such a minimal setup right now anyway
<mischa85> i even disabled fb and display
<sven> i'd like to know if the hv works on m1/m2 with your patches. if it does it's a HW issue with M4. if it doesn't one of your commits broke it.
<mischa85> yes good one, i'll give it a go. first i'll redo the necessary changes on upstream m1n1
nimprod3l has quit [Ping timeout: 480 seconds]
nimprod3l has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
Halian has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
kaazoo1 has joined #asahi-dev
kaazoo has quit [Ping timeout: 480 seconds]
__nick__ has quit []
___nick___ has joined #asahi-dev
___nick___ has quit []
___nick___ has joined #asahi-dev
kaazoo1 is now known as kaazoo
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
___nick___ has quit [Remote host closed the connection]
nimprod3l has quit [Ping timeout: 480 seconds]
<mischa85> here is a clean commit of the minimal changes i made to m1n1 for t6041: https://github.com/mischa85/m1n1/commit/a2f3b4a2473a19db577b5c38c7e99bbf3a213823
<mischa85> i will test this on m1 somewhere this week
mesa has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
iaguis_ has joined #asahi-dev
swiftraccoon has joined #asahi-dev
iaguis has quit [Ping timeout: 480 seconds]
ddxtanx has quit [Remote host closed the connection]
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
gladiac is now known as Guest12470
gladiac has joined #asahi-dev
Guest12470 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
mesa has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
number0ne has joined #asahi-dev
pb17 has joined #asahi-dev
number0ne has quit [Read error: Connection reset by peer]
number0ne has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
ddxtanx has joined #asahi-dev