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
nesnas has quit [Ping timeout: 480 seconds]
opticron has quit [Read error: Connection reset by peer]
chrisl has joined #asahi-dev
zumi_ has joined #asahi-dev
opticron has joined #asahi-dev
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
nesnas has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
mischa85 has joined #asahi-dev
pb17 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
chrisl has joined #asahi-dev
nesnas has quit [Remote host closed the connection]
nesnas has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
<nicolas17> hm maybe the old wiki pages should be edited to link to the new docs
<nicolas17> https://asahilinux.org/docs/platform/feature-support/m1/#m1-devices should be updated to reflect touchbar is now upstream
chrisl has joined #asahi-dev
<nicolas17> but I guess it's not released yet? so would it be "linux-next"?
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
zerozerozero has joined #asahi-dev
<nickchan> nicolas17: linux-asahi (6.15)
mischa85 has quit [Ping timeout: 480 seconds]
zerozero1 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
chadmed_ has joined #asahi-dev
<chadmed_> nickchan: nicolas17: ive got a local branch with all the feature support pages cleaned up, just havent had time to do a final check and push
<nicolas17> oh cool
rrendec has quit [Ping timeout: 480 seconds]
beastd|2 has joined #asahi-dev
beastd has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
tobhe_ has joined #asahi-dev
chrisl has joined #asahi-dev
nesnas has joined #asahi-dev
tobhe has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
Extern has quit [Quit: WeeChat 4.1.1]
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
checkfoc_us9 has quit []
checkfoc_us9 has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chadmed_ has quit [Remote host closed the connection]
nesnas has quit [Ping timeout: 480 seconds]
codingkoopa3218 has quit []
hspak4405 has quit [Read error: Connection reset by peer]
hspak4405 has joined #asahi-dev
nora_ has joined #asahi-dev
ethantwa1 has joined #asahi-dev
nora has quit [Ping timeout: 480 seconds]
ethantwardy has quit [Ping timeout: 480 seconds]
codingkoopa3218 has joined #asahi-dev
nesnas has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
eluks has quit [Remote host closed the connection]
eluks has joined #asahi-dev
pb17 has joined #asahi-dev
mischa85 has joined #asahi-dev
nesnas has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
nesnas has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
chrisl has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi-dev
zumi has quit [Remote host closed the connection]
<nickchan> >This can never be upstreamed, however the hope is that this hacked together driver becomes unnecessary at some point in the near future.
<nickchan> probably not near future
<nickchan> [cpuidle situtation]
zumi_ is now known as zumi
<nickchan> or I can take that up myself given a10 and a11 only have el0 and el1
<nickchan> in any case id rather for the cursed a10 cpufreq to be fully released into mainline first
pb17 has joined #asahi-dev
rrendec has joined #asahi-dev
mischa85 has joined #asahi-dev
mischa85 has quit [Ping timeout: 480 seconds]
midou has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
rrendec has quit [Ping timeout: 480 seconds]
midou has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
rrendec has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
zerozerozero has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
rrendec_ has joined #asahi-dev
rrendec has quit [Ping timeout: 480 seconds]
rrendec has joined #asahi-dev
rrendec_ has quit [Ping timeout: 480 seconds]
rrendec has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
chrisl has joined #asahi-dev
mischa85 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
midou has quit [Remote host closed the connection]
midou has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
cyrinux9 has quit []
cyrinux9 has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
tardyp has quit [Quit: Connection closed for inactivity]
number0ne has joined #asahi-dev
chrisl has joined #asahi-dev
mischa85 has joined #asahi-dev
opticron has quit [Remote host closed the connection]
opticron has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
<chadmed> nickchan: yeah... when i wrote that we were eager to get some sort of psci thing working
<chadmed> that sorta never happened :p
cyrinux94 has joined #asahi-dev
cyrinux9 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
mischa85 has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
mischa85 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
zumi_ has joined #asahi-dev
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
chrisl has joined #asahi-dev
rrendec has joined #asahi-dev
cyrinux949 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
cyrinux94 has quit [Ping timeout: 480 seconds]
jw910731 has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
weitcis has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
jw910731 has quit [Quit: jw910731]
midou has quit [Ping timeout: 480 seconds]
number0ne has quit [Read error: Connection reset by peer]
midou has joined #asahi-dev
number0ne has joined #asahi-dev
pb17 has quit [Ping timeout: 480 seconds]
midou has quit [Ping timeout: 480 seconds]
number0ne_ has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
number0ne has quit [Read error: Connection reset by peer]
midou has joined #asahi-dev
m42uko has joined #asahi-dev
m42uko_ has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
number0ne_ has quit [Remote host closed the connection]
number0ne_ has joined #asahi-dev
zumi has quit [Remote host closed the connection]
zumi has joined #asahi-dev
zumi has quit [Remote host closed the connection]
number0ne_ has quit [Remote host closed the connection]
zumi has joined #asahi-dev
number0ne_ has joined #asahi-dev
number0ne_ has quit [Remote host closed the connection]
number0ne_ has joined #asahi-dev
number0ne_ has quit [Remote host closed the connection]
number0ne_ has joined #asahi-dev
chrisl has joined #asahi-dev
cyrinux949 has quit []
cyrinux949 has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
aissen has quit [Quit: brb]
aissen has joined #asahi-dev
malfunction54 has joined #asahi-dev
zerozerozero has joined #asahi-dev
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-dev
nesnas has joined #asahi-dev
midou has joined #asahi-dev
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
midou has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
pb17 has joined #asahi-dev
midou has quit [Read error: Connection reset by peer]
midou has joined #asahi-dev
chrisl has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
midou has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
nesnas has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
octagonalo1220 has joined #asahi-dev
octagonalo1220 has quit [Remote host closed the connection]
chrisl has joined #asahi-dev
midou has joined #asahi-dev
midou has quit [Read error: Connection reset by peer]
chrisl has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
octagonalo1220 has joined #asahi-dev
octagonalo1220 has quit [Remote host closed the connection]
midou has joined #asahi-dev
zumi_ has joined #asahi-dev
zumi has quit [Remote host closed the connection]
zumi_ is now known as zumi
pb17 has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
number0ne_ has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
number0ne_ has joined #asahi-dev
zerozero1 has joined #asahi-dev
midou has joined #asahi-dev
zerozero1 has quit []
zerozero1 has joined #asahi-dev
zerozero1 has quit []
zerozero1 has joined #asahi-dev
zerozero1 has quit []
zerozero1 has joined #asahi-dev
zerozerozero has quit [Ping timeout: 480 seconds]
zerozero1 has quit [Quit: WeeChat 4.5.2]
zerozerozero has joined #asahi-dev
number0ne has joined #asahi-dev
number0ne_ has quit [Read error: Connection reset by peer]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
zerozero1 has joined #asahi-dev
zerozero1 has quit []
zerozero1 has joined #asahi-dev
zerozero1 has quit []
zerozerozero has quit [Ping timeout: 481 seconds]
ninelegturnip has joined #asahi-dev
ninelegturnip has quit []
WindowPain has quit [Read error: Connection reset by peer]
WindowPain has joined #asahi-dev
number0ne has quit [Read error: Connection reset by peer]
pb17 has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi-dev
yuyichao_ has joined #asahi-dev
mattia013_ has joined #asahi-dev
chrisl has joined #asahi-dev
mattia013_ has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
<jannau> chaos_princess: have you seen a probe order issue between aop_audio and aop_admac? Not sure if I were just lucky to hit that in 6.14 or if it's a 6.14 driver-core/platform probe change
<chaos_princess> no, never seen that one before, does aop handle EPROBE_DEFER incorrectly?
<jannau> issue is likely that nothing enforces the order from the "dmas" for the manual platformdevice creation
<chaos_princess> should it not do that automatically?
<chaos_princess> and, like, does it matter? if platform device is created before admac comes up, should it not just probe later?
mattia013_ has joined #asahi-dev
<jannau> not sure how the error is propagated. it ended up with returning -EIO
<chaos_princess> anything else in dmesg?
mattia013 has quit [Ping timeout: 480 seconds]
mattia013_ is now known as mattia013
<jannau> the platform/of probe code uses some properties like iommus, dmas, ... for probe ordering. I've worked with https://paste.centos.org/view/8db1f78f around for now
<chaos_princess> can you still look in dmesg, and how exactly is it failing?
<jannau> fasiled to get dma channel, than aop syslog pdm errors. let me see if I can reproduce it
<chaos_princess> "Unable to get dma channel", something something?
<chaos_princess> if so, that is enough
mattia013_ has joined #asahi-dev
<jannau> yes, unable to get dma channel. failed to attach devicem and than probe failed with -5
mattia013_1 has joined #asahi-dev
<chaos_princess> ok, yep, thats a case of someone (me) not handling eprobe_defer correctly. would be annoying to fix though unfortunatelty
mattia013_ has quit [Ping timeout: 480 seconds]
mattia013_1 has quit [Ping timeout: 480 seconds]
mattia013 has quit [Ping timeout: 480 seconds]
<jannau> reproduced without pdm syslog messages: https://paste.centos.org/view/1ac5e5a1
roxfan2 is now known as roxfan
<chaos_princess> jannau: mind adding a debug print to https://github.com/AsahiLinux/linux/blob/asahi/sound/soc/apple/aop_audio.rs#L517, and telling me how many times that gets called?
<chaos_princess> (without your fixes, ofc)
<jannau> do you expect it to be called more than once? I'd be surprised if it did
<chaos_princess> i wouldn't be
<jannau> it's only called once
<chaos_princess> interesting
<chaos_princess> only once and fails?
chrisl has joined #asahi-dev
<jannau> yes
<chaos_princess> i just do not understand how you got the output above then. "Unable to get dma channel" is printed from https://github.com/AsahiLinux/linux/blob/asahi/sound/soc/apple/aop_audio.rs#L377 , which is called here https://github.com/AsahiLinux/linux/blob/asahi/sound/soc/apple/aop_audio.rs#L595 and since it got an error, it should exit both SndSocAopData::new and SndSocAopDriver::probe.
<chaos_princess> but "Unable to attach device 1885629744..." is an error from line https://github.com/AsahiLinux/linux/blob/asahi/sound/soc/apple/aop_audio.rs#L673
<chaos_princess> like, i do not see the way to get the output above w/o calling probe() twice?
chrisl has quit [Ping timeout: 480 seconds]
zerozerozero has joined #asahi-dev
<jannau> from_err_ptr(ERR_PTR(-PROBE_DEFER)).is_err() is false?
<jannau> no
<jannau> the audio device is created before SndSocAopDriver::new(). that's the last call in probe. not to confuse with SndSocAopData::new() which is called earlier
<chaos_princess> oh
<chaos_princess> aaaa
<chaos_princess> ok, how many times is probe called
<jannau> I'm still confused. probe() is only called once but `let dma_chan = data.request_dma_channel()?;` doesn't return. a print on the next line is seen in the log
<chaos_princess> i am so confused too
<chaos_princess> like, ok, i got that wrong at first and dma channels are probed after aop devices are attached
<chaos_princess> but, like, why is there a dma attach fail first, and then a aop attach fail?
cyrinux9490 has joined #asahi-dev
zerozero1 has joined #asahi-dev
zerozero1 has quit []
chrisl has joined #asahi-dev
cyrinux949 has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
zerozerozero has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
nesnas has joined #asahi-dev
chrisl has joined #asahi-dev
chrisl has quit [Ping timeout: 480 seconds]
nesnas has quit [Ping timeout: 480 seconds]
pb17 has quit [Ping timeout: 480 seconds]