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
roxfan has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has joined #asahi-dev
DragonStar has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
lynndotpy has quit [Quit: Ping timeout (120 seconds)]
bacarrdy has quit [Ping timeout: 480 seconds]
lynndotpy has joined #asahi-dev
bacarrdy has joined #asahi-dev
ddxtanx_ has joined #asahi-dev
ddxtanx has quit [Read error: Connection reset by peer]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
p3nj has joined #asahi-dev
p3nj has quit [Remote host closed the connection]
p3nj has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
yuyichao_ has quit [Remote host closed the connection]
yuyichao has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-dev
m42uko has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
m42uko_ has quit [Read error: Connection reset by peer]
beastd|2 has quit [Ping timeout: 480 seconds]
beastd|2 has joined #asahi-dev
chrisl has joined #asahi-dev
beastd has joined #asahi-dev
beastd|2 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
tobhe has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
hexdump01 has joined #asahi-dev
bacarrdy has joined #asahi-dev
hexdump0815 has quit [Ping timeout: 480 seconds]
tobhe_ has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
p3nj has quit [Remote host closed the connection]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
nora has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
nora_ has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
Larwive has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
bacarrdy has joined #asahi-dev
Halian_ has joined #asahi-dev
chrisl has joined #asahi-dev
Halian| has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Remote host closed the connection]
yuyichao_ has joined #asahi-dev
eluks has quit [Remote host closed the connection]
eluks has joined #asahi-dev
yuyichao has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
bacarrdy has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
bacarrdy has joined #asahi-dev
gladiac is now known as Guest16822
gladiac has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
Guest16822 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
Larwive has quit [Ping timeout: 480 seconds]
Halian_ is now known as Halian
Larwive has joined #asahi-dev
DragonStar has joined #asahi-dev
Larwive has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
Larwive has joined #asahi-dev
chrisl has joined #asahi-dev
ravikant_ has joined #asahi-dev
DragonStar has quit [Ping timeout: 480 seconds]
Larwive has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
DragonStar has joined #asahi-dev
mattia013_ has joined #asahi-dev
mattia013_ has quit [Remote host closed the connection]
DragonStar has quit [Ping timeout: 480 seconds]
DragonStar has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
DragonStar has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chadmed has joined #asahi-dev
DragonStar has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
DragonStar has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
DragonStar has joined #asahi-dev
chrisl has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
DragonStar has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
DragonStar has joined #asahi-dev
DragonStar has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
DragonStar has joined #asahi-dev
bacarrdy has joined #asahi-dev
DragonStar has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
DragonStar has joined #asahi-dev
DragonStar has quit [Ping timeout: 480 seconds]
gnuiyl__ has quit []
gnuiyl has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<kettenis> Seems I have a workable way to build m1n1 with rust code enabled using "-Z build-std=alloc,core"
<kettenis> would that be a useful feature for other OSes or distros?
<kettenis> I'd still like to verify that the binaries work before we commit to having rust in the stage 2 m1n1
<kettenis> will do so later this week
bacarrdy has quit [Remote host closed the connection]
aissen_ has quit []
aissen has joined #asahi-dev
chrisl has joined #asahi-dev
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
<chadmed> kettenis: m1n1 with softfloat rust works fine without extra flags on gentoo so im not certain
<chadmed> would it help if we taught the hv how to save/restore fp regs and got rid of the softfloat thing?
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
<jannau> I'd say using "-Z build-std" is kind of justified for our use case if we can't rely on a prebuilt softfloat toolchain. stabilization is a goal for 2025H1 to support Rust for Linux: https://github.com/rust-lang/rust-project-goals/issues/116
<jannau> I don't think we want to touch the FP/SIMD registers on HV context switches
<kettenis> chadmed: I'm not changing RUSTARCH; that's still aarch64-unknown-none-softfloat
<kettenis> the -Z build-std is purely to work around the lack of rustup support for OpenBSD
<chadmed> kettenis: yeah, my question was more assessing whether or not us just not using softfloat at all would help, but if we dont want to touch the fp regs at all on context switches then its not an option
<kettenis> it turns out that the OpenBSD rustc already supports aarch64-unknown-none-softfloat
<chadmed> this will also be a bit annoying for gentoo tbh since everyones going to need the softfloat target built/installed
<kettenis> so the only missing bit really is just std lib support
<kettenis> you don't really need the full rustup toolchain
<kettenis> but of course -Z build-std does need the rust-src component
<kettenis> but we already package that for OpenBSD
<chadmed> so do we, that might be enough then
<chadmed> if build-std is stabilised then we should be all clear
<kettenis> so sounds that this way of building is potentially useful for others too
<kettenis> I'll see if I can prepare a pull request
bacarrdy has quit [Read error: Connection timed out]
bacarrdy has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
ravikant_ has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
Halian| has joined #asahi-dev
Halian is now known as Guest16841
Halian| is now known as Halian
Guest16841 has quit [Ping timeout: 480 seconds]
Halian has quit [Quit: Going offline, see ya! (www.adiirc.com)]
ravikant_ has joined #asahi-dev
os has quit [Read error: Connection reset by peer]
os has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
Halian has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
Compassion has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
john-cabaj has joined #asahi-dev
chrisl has joined #asahi-dev
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
Larwive has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Remote host closed the connection]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
pb17 has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
cylm has joined #asahi-dev
bacarrdy has joined #asahi-dev
<nickchan> I think I will send i2c, spmi noeds and continue to resend cpu pmu support for the older socs in during the next cycle https://github.com/HoolockLinux/linux b4/apple-cpmu b4/i2c-no-t2 b4/t8015-spmi
<nickchan> downstream patch load is now 96 (111 for 6.14)
ravikant_ has quit []
<nickchan> nothing compared to the amount of patches in asahi linux though
Larwive has quit [Ping timeout: 480 seconds]
Larwive has joined #asahi-dev
chrisl has joined #asahi-dev
Larwive has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
malfunction54 has quit [Remote host closed the connection]
Larwive has joined #asahi-dev
malfunction54 has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
bacarrdy has joined #asahi-dev
opticron has quit [Read error: Connection reset by peer]
opticron has joined #asahi-dev
<sven> getting some tested-bys,etc. for the pmu support might be more helpful than trying to resend it again and again
<sven> would show that there’s interest in that series
Simonx22 has quit []
Simonx22 has joined #asahi-dev
DragonStar has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
<jannau> shall we plan for a m1n1 release? I think a release before the chickens refactoring and the agx initdata would be good idea
DragonStar has quit [Ping timeout: 480 seconds]
DragonStar has joined #asahi-dev
DragonStar has quit [Ping timeout: 480 seconds]
Calandracas has quit [Read error: Connection reset by peer]
Calandracas has joined #asahi-dev
zkrx_ has joined #asahi-dev
zkrx is now known as Guest16862
zkrx_ is now known as zkrx
DragonStar has joined #asahi-dev
Guest16862 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
DragonStar has quit [Ping timeout: 480 seconds]
DragonStar has joined #asahi-dev
bacarrdy has quit [Remote host closed the connection]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has joined #asahi-dev
DragonStar has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
DragonStar has joined #asahi-dev
DragonStar has quit [Ping timeout: 480 seconds]
DragonStar has joined #asahi-dev
DragonStar has quit [Ping timeout: 480 seconds]
<sven> yeah, good idea
<sven> there’s still https://github.com/AsahiLinux/m1n1/issues/463 that hasn’t happened for me in the last release but that one only happens when running the hv
<sven> not great but also not a blocker imho
<jannau> right, I wanted to try if that happens with clang on linux
<sven> I still have no clue how that happens. I looked for all instrs that follow a register load of 0x20.. and could write it but none made sense
chrisl has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Remote host closed the connection]
DragonStar has joined #asahi-dev
<jannau> the crash did not reproduce on t6020
<jannau> linux clang-built m1n1 crashes as well
pb17 has quit [Ping timeout: 480 seconds]
DragonStar has quit [Ping timeout: 480 seconds]
<sven> the difference between gcc and clang was that clang had that additional function call inside mmu_setup_secondary while gcc inline that function instead iirc
<sven> so we may still corrupt the stack but just not notice
DragonStar has joined #asahi-dev
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
bacarrdy has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
ddxtanx_ has quit [Remote host closed the connection]
Larwive has quit [Ping timeout: 480 seconds]
<jannau> `__asm__ volatile("ldr x11, [sp, #8]" : : : "r11");` after `msr(PAN, 0);` fixes it for me. only difference in the binary is that that meaning instruction is inserted
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
bacarrdy has quit [Ping timeout: 480 seconds]
bacarrdy has joined #asahi-dev
chrisl has joined #asahi-dev
chadmed has quit [Quit: Konversation terminated!]
bacarrdy has quit [Remote host closed the connection]
chrisl has quit [Ping timeout: 480 seconds]
ddxtanx has joined #asahi-dev
Halian| has joined #asahi-dev
Halian_ has joined #asahi-dev
Halian has quit [Ping timeout: 480 seconds]
Halian| has quit [Ping timeout: 480 seconds]
pb17 has quit [Remote host closed the connection]
pb17 has joined #asahi-dev
Halian| has joined #asahi-dev
Halian_ has quit [Ping timeout: 480 seconds]