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
zumi_ has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
pb17 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
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]
hexdump01 has joined #asahi-dev
hexdump02 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
tobhe_ has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
tobhe has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
skipwich has quit [Remote host closed the connection]
skipwich 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
ipatch has quit [Read error: Connection reset by peer]
ipatch has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
nora has joined #asahi-dev
nora_ has quit [Ping timeout: 480 seconds]
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
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
cylm has joined #asahi-dev
HitokiriKincho has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
HitokiriKincho has quit [Quit: Leaving...]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
HitokiriKincho 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]
zumi_ has joined #asahi-dev
hdbngr has joined #asahi-dev
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hightower3 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hightower2 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
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
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
roxfan has quit [Remote host closed the connection]
HitokiriKincho has quit [Remote host closed the connection]
pb17 has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
pb17 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
HitokiriKincho has joined #asahi-dev
hdbngr has joined #asahi-dev
<jannau>
sven: in the cover letter "Removed most quirks added to dwc3" isn't true if you don't count skip_core_init_mode as quirk but extending the glue layer
HitokiriKincho has quit [Ping timeout: 480 seconds]
<sven>
true
<jannau>
extending the glue layer should be mentioned in the changelog
<sven>
yeah
sefidel has quit [Remote host closed the connection]
<sven>
i guess i'll remove RFC as well and send this as v2
<jannau>
the devm_kcalloc in the hardware tunable trips me up but it can understand why did it like this
sefidel has joined #asahi-dev
<jannau>
otherwise looks good to and dropping the RFC seems fine
<sven>
hm, let me take a look at the tunables.c again. it's been so long ago that i don't even remember writing that code
<jannau>
it looks weird. I think more in line with kernel code would be to use a flexible array memeber for values and allocate the whole struct apple_tunable with devm_*alloc
<sven>
yeah, that's what i'm thinking about right now. and then just drop the devm_apple_tunable_free thing entirely
hdbngr has quit [Ping timeout: 480 seconds]
<jannau>
not sure that that would be a better solution but it would be more aligned with kernel style
<jannau>
if you want to change it I can reply to the patch
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
<sven>
yeah, i'm gonna give it a try
hdbngr has quit [Ping timeout: 480 seconds]
<nickchan>
so... I guess the SARTv1 commit is staying as-is?
<nickchan>
I mean SARTv0
hdbngr has joined #asahi-dev
<sven>
i updated the commit description
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
<jannau>
on t602x we need ps_atcN_usb_aon. without it we end up with "dwc3 b02280000.usb: this is not a DesignWare USB3 DRD Core"
<jannau>
maybe related to the omitted fuses on t602x
<sven>
huh, could be
<sven>
or there's some additional init that we're still missing
hdbngr has quit [Ping timeout: 480 seconds]
<sven>
[ 37.126452] phy-apple-atc 503000000.phy: Pipehandler lock not acked.
<sven>
ugh.. why is that happening again now?!
<sven>
oh, duh, i messed up the tunables and forgot to set -?sz
hdbngr has joined #asahi-dev
<jannau>
we need ps_atcN_usb_aon for dwc3 to survive suspend
<sven>
or alternatively, do you still have a trace_atc.py from a linux tree where we didn't have that 5s delay?
<sven>
also, should i directly add the t6020 compatible?
<sven>
ah nvm, i already added it
<jannau>
sven: no idea about a linux trace without delay. I think the atcphy/2025-experiments* branches don't have the delay. atcphy/2025-experiments_v6.14 would be the most recent
<sven>
okay, i'll try that one after lunch
<jannau>
tunables don't trip "this looks a little weird" anymore
<jannau>
downstream kernel has the same behavior btw. device connected to an usb3 dp-altmode switch are detected without delay
hdbngr has quit [Ping timeout: 480 seconds]
<sven>
i also see the 5s delay on that experiements branch i think
<jannau>
hmm, I might misremember state then
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
<jannau>
I just saw uas errors on shutdown with the downstream kernel so those aren't new / a regression
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
<jannau>
I've tagged asahi-6.16.5-1 and pushed to github. rebase and bits/000-devicetree cleanup, another 50+ commits dropped (mostly by squasing but some duplicates or no longer needed changes)
hdbngr has quit [Ping timeout: 480 seconds]
halloy4868 has joined #asahi-dev
halloy4868 has quit [Remote host closed the connection]
hdbngr has joined #asahi-dev
zumi_ has joined #asahi-dev
<jannau>
sven: I certainly used dp-altmode usb3 hub for testing back as well. we probably just didn't realize the 5 second delay is device dependent
<sven>
yeah, that's what i think as well
hdbngr has quit [Ping timeout: 480 seconds]
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
ruvam has quit [Read error: Connection reset by peer]
ruvam has joined #asahi-dev
tamiir has joined #asahi-dev
<sven>
xnu seems to bring up dwc3 earlier and I Hacker that into Linux and still have the 5s delay :/
rhysmdnz1 has quit [Quit: Bridge terminating on SIGTERM]
Guest24617 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has joined #asahi-dev
Jamie has joined #asahi-dev
hdbngr has joined #asahi-dev
Jamie is now known as Guest25976
mini_ has quit [Quit: ZNC closing...]
mini_ has joined #asahi-dev
HitokiriKincho has joined #asahi-dev
hdbngr has quit [Remote host closed the connection]
hdbngr has joined #asahi-dev
HitokiriKincho has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
HitokiriKincho has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
HitokiriKincho has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi-dev
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
WindowPain3 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
HitokiriKincho has joined #asahi-dev
WindowPain has quit [Ping timeout: 480 seconds]
WindowPain3 is now known as WindowPain
HitokiriKincho has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
mbjr23 has joined #asahi-dev
mbjr23 has quit [Remote host closed the connection]
mjr23 has joined #asahi-dev
hdbngr has joined #asahi-dev
HitokiriKincho has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
HitokiriKincho has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
mjr23 has quit [Read error: Connection reset by peer]
cylm has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
bgb has quit [Remote host closed the connection]
bgb has joined #asahi-dev
hdbngr has joined #asahi-dev
HitokiriKincho has joined #asahi-dev
mjr23 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
<mjr23>
Hello, I’m learning by writing my own stage-1 loader. Quick question about the boot chain: do I need to worry about RVBAR for stage-1, or is my entry point entirely defined by what I enroll with kmutil? From looking at m1n1:start.S, it seems only the Boot ROM deals with RVBAR.
HitokiriKincho has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
chadmed has quit [Read error: Connection reset by peer]