#asahi-dev · 2025-09-08 16:43
sventhe 5s delay looks more and more like an xhci quirk to me #asahi-dev · 2025-09-06 15:46
svenhttps://lore.kernel.org/all/20250906-atcphy-6-17-v2-0-52c348623ef6@kernel.org/#asahi-dev · 2025-09-06 13:49
svenplanning to submit this later as v2: https://git.kernel.org/pub/scm/linux/kernel/git/sven/linux.git/log/?h=wip/atcphy#asahi-dev · 2025-09-06 13:24
svenjust to confirm: if i run make dt_binding_check DT_SCHEMA_FILES=apple,dwc3.yaml and nothing shows up the schema is valid, isn't it?#asahi-dev · 2025-09-06 12:29
svenI guess I’ll ignore that for now #asahi-dev · 2025-09-06 12:29
sven*hacked #asahi-dev · 2025-09-06 12:29
svenxnu seems to bring up dwc3 earlier and I Hacker that into Linux and still have the 5s delay :/#asahi-dev · 2025-09-06 12:05
svenyeah, that's what i think as well#asahi-dev · 2025-09-06 11:20
sveni also see the 5s delay on that experiements branch i think#asahi-dev · 2025-09-06 10:51
svendoesn't fix the 5s delay though#asahi-dev · 2025-09-06 10:51
sven+ reg = <0x3 0x82280000 0x0 0xcd00>, <0x3 0x8228cd00 0x0 0x3200>;#asahi-dev · 2025-09-06 10:51
sven- reg = <0x3 0x82280000 0x0 0xce00>, <0x3 0x8228ce00 0x0 0x3200>;#asahi-dev · 2025-09-06 10:47
svenack#asahi-dev · 2025-09-06 10:23
svenyeah, same :)#asahi-dev · 2025-09-06 10:20
svenokay, i'll try that one after lunch#asahi-dev · 2025-09-06 10:17
svenah nvm, i already added it#asahi-dev · 2025-09-06 10:17
svenalso, should i directly add the t6020 compatible?#asahi-dev · 2025-09-06 10:14
svenor alternatively, do you still have a trace_atc.py from a linux tree where we didn't have that 5s delay?#asahi-dev · 2025-09-06 10:09
svenhttps://git.kernel.org/pub/scm/linux/kernel/git/sven/linux.git/commit/?h=wip/atcphy&id=1cf8afff18c8224b150fa458cb5722b079da9b56 i prefer the tunables like this#asahi-dev · 2025-09-06 10:07
svenjannau: do you remember which tree didn't have the 5s delay?#asahi-dev · 2025-09-06 10:04
svenbut i guess there's some state setup by iboot that needs to survive#asahi-dev · 2025-09-06 10:04
svenweird#asahi-dev · 2025-09-06 10:01
svenoh, duh, i messed up the tunables and forgot to set -?sz#asahi-dev · 2025-09-06 09:59
svenugh.. why is that happening again now?!#asahi-dev · 2025-09-06 09:59
sven[ 37.126452] phy-apple-atc 503000000.phy: Pipehandler lock not acked.#asahi-dev · 2025-09-06 09:48
svenor there's some additional init that we're still missing#asahi-dev · 2025-09-06 09:47
svenhuh, could be#asahi-dev · 2025-09-06 09:29
sveni updated the commit description#asahi-dev · 2025-09-06 09:14
svenyeah, i'm gonna give it a try#asahi-dev · 2025-09-06 08:53
svenyeah, that's what i'm thinking about right now. and then just drop the devm_apple_tunable_free thing entirely#asahi-dev · 2025-09-06 08:49
svenhm, 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#asahi-dev · 2025-09-06 08:46
sveni guess i'll remove RFC as well and send this as v2#asahi-dev · 2025-09-06 08:44
svenyeah#asahi-dev · 2025-09-06 08:44
sventrue#asahi-dev · 2025-09-06 08:14
svenhappy with that otherwise though#asahi-dev · 2025-09-06 08:14
svenhttps://git.kernel.org/pub/scm/linux/kernel/git/sven/linux.git/log/?h=wip/atcphy still has the 5 seconds issue :(#asahi-dev · 2025-09-05 16:20
svenyeah, this has been supported since dart was upstream specifically because usb needs this as well #asahi-dev · 2025-09-04 21:45
svenI always have to go through it step by step to not mess up #asahi-dev · 2025-09-04 21:39
svenwe should be dma coherent so kmalloc_safe should be true so !true && whatever should always be false #asahi-dev · 2025-09-04 21:32
sventhat kmalloc thing should always be false for us, shouldn’t it?#asahi-dev · 2025-09-04 21:30
svenNot sure I see how #asahi-dev · 2025-09-04 21:26
svenessentially their external-facing equivalent #asahi-dev · 2025-09-04 21:25
svenyeah, that’s from acpi I think #asahi-dev · 2025-09-04 21:20
svenand that can only happen with external-facing afaict#asahi-dev · 2025-09-04 21:20
svenbut i don't understand how it can ever reach that path unless untrusted is true#asahi-dev · 2025-09-04 21:19
svenit's aligning the size to full page in swiotlb i think#asahi-dev · 2025-09-04 21:19
svenhm... not sure that's true looking at the code. #asahi-dev · 2025-09-04 21:15
svenweird