ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
<jannau>
noisycoil[mds]: no, my initial hunch did not fix anything. havenm't tried anything else yet
n3ph_ has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
pjakobsson has quit [Ping timeout: 480 seconds]
<cy8aer>
mps: is it really freezing? I have the effect on my m1pro: press suspend button, press it again, nothing happens (so like frozen). But: then close the lid and open it again: Everything is fine (min since 6.14...)
n3ph_ has quit [Ping timeout: 480 seconds]
<cy8aer>
It is somehow like the display is not switched on.
nela4 has quit [Ping timeout: 480 seconds]
nela4 has joined #asahi-alt
<mps>
cy8aer: yes, it really freeze on j314s and j293
<mps>
my suspend script have this line 'echo mem > /sys/power/state'
<mps>
this started with 6.15 kernel, before it i did not had it ever
<mps>
i thought at first it is related to dm-crypt but now i see this even when not using dm-crypt
<mps>
yesterday I've rebuilt kernel changing some config options and now testing to see will it happen again
<cy8aer>
Hm but then I need to ask: Does anyone have seen my behavior?
<jannau>
noisycoil[mds]: sigh, I did not read. the issue is in drivers/video/fbdev/simplefb.c and not in simpledrm. That explains why there are no issues on fedora. Any idea why debian doesn't use simpledrm
zumi_ has joined #asahi-alt
<noisycoil[mds]>
No I don't, I need to ask the kernel team
<noisycoil[mds]>
Any idea why it fails on asahi/M2 only?
<jannau>
the code is very similar there and I don't see an obvious issue there yet
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
<jannau>
I expect it to fail on any device with 2 or more power-domains in the framebuffer node. Only m2 devices have that
<noisycoil[mds]>
All M2s?
<jannau>
not sure about the air and 13-inch pro. the 14"/16" mbp with the DT sent upstream, downstream DT might still have a always-on and skips the second power-domain
n3ph has joined #asahi-alt
<jannau>
yes, it's only the M2* desktop devices which use 2 power domains
<noisycoil[mds]>
Would you rather I switch to simpledrm downstream?
<jannau>
no, debian should switch unless there's a reason why it can't. I'll fix the issue in any case
<jannau>
still eludes me why it's broken. looks like something corrupts par->genpd_links
<noisycoil[mds]>
Ack. I'm afk today unfortunately
<jannau>
I think I found the cause. completely unrelated to simplefb/simpledrm
<noisycoil[mds]>
Is it?
<noisycoil[mds]>
What was that?
<jannau>
see #asahi-dev, not fully sure though because I'm just fixing an oob read and not store
<jannau>
no, that's not the issue. it was just hiding it from kasan
<noisycoil[mds]>
Saw it
<jannau>
do you and/or the user care for "Reported-by:" tags
<noisycoil[mds]>
Eh, not a lot, but the user has been doing a lot of testing for us and it could be nice to acknowledge him
<jannau>
noisycoil[mds]: https://paste.centos.org/view/cd2896f0 is the fix. I'll amend Reported-by: before sending it out. I'll include the change in 6.16.4 (expected to be tagged later today)
<noisycoil[mds]>
Daniel Huhardeaux is the name
<noisycoil[mds]>
Thank you
<jannau>
no idea why this triggers consistently with 6.16.3 but hasn't before
<noisycoil[mds]>
Saw the fix, wonderful. And thanks a lot for going all the way and install Debian (or whatever you did) to fix this, it is truly appreciated