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
hdbngr has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi-dev
OriginalEnthusiast has quit [Remote host closed the connection]
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
hdbngr has joined #asahi-dev
psykose_ has quit [Remote host closed the connection]
psykose has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
nst has quit [Ping timeout: 480 seconds]
nst has joined #asahi-dev
Halian has quit [Quit: I'll be back.]
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
hexdump02 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]
tobhe_ has joined #asahi-dev
tobhe has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
skipwich_ has quit [Remote host closed the connection]
skipwich has joined #asahi-dev
hdbngr has joined #asahi-dev
creddy has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
creddy has quit [Remote host closed the connection]
hdbngr 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]
kevans91_ has quit [Read error: Connection reset by peer]
kevans91 has joined #asahi-dev
hdbngr has joined #asahi-dev
john-cabaj has quit [Ping timeout: 480 seconds]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
eluks has quit [Remote host closed the connection]
eluks has joined #asahi-dev
cylm has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
kevans91 has quit [Remote host closed the connection]
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
kevans91 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
kaazoo has quit [Quit: Leaving.]
hdbngr has joined #asahi-dev
kaazoo has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
kaazoo has quit [Quit: Leaving.]
hdbngr has joined #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
lockheed_marten has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
hightower3 has joined #asahi-dev
hdbngr has joined #asahi-dev
hightower2 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
chadmed_ has joined #asahi-dev
chadmed has quit [Read error: Connection reset by peer]
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]
hdbngr has joined #asahi-dev
<chaos_princess> axi2af bridge tunables should survive a power gate, right?
hdbngr has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
Gnappo85 has joined #asahi-dev
bgb has quit [Ping timeout: 480 seconds]
roxfan has quit [Ping timeout: 480 seconds]
Gnappo85 has quit [Quit: Textual IRC Client: www.textualapp.com]
bgb has joined #asahi-dev
<jannau> shaved off at least 56 commits of bits/000-devicetree (189 -> 133, latter number includes a couple of queued t2 and iphone changes)
<jannau> mostly squashing (the speaker enablement history isn't useful) but we also had a few redundant commits
cylm has quit [Ping timeout: 480 seconds]
<jannau> do we want to leave ps_atc*_usb_aon always-on? shouldn't be necessary anymore with atcphy
<sven> chaos_princess: never checked, I only know that neither fuses nor the core atcphy tunable survive that (or even a atcphy reset)
<sven> jannau: I don’t think that necessary anymore, should be easy to test
<chaos_princess> we set gpu axi2af in m1n1, and i do not think gpu never gets power gated, right?
<sven> maybe it also just happens to work :D
<jannau> isn't your for-upstream dwc3/atc-phy branch evidence enough that it's not strictly needed?
<sven> but I’ll check this weekend for the atcphy axi2af, we could drop the entire axi2af mmio range then. I only know that macos always applies them
<sven> jannau: oh, yes, I didn’t realize that commit isn’t even upstream
<jannau> we might have upstreamed it accidentally for t8112 (and my current t602x DT contains it as well)
<jannau> even upstream t600x has it
<sven> 🙃
<sven> we can probably drop that once atcphy is in then
<jannau> any opinions what to do with the generic compatibles after https://lore.kernel.org/asahi/20250902194528.GA1014943-robh@kernel.org/
<jannau> I'm splitted with just moving on and using the generic compatibles at least for t602x
<sven> I don’t care anymore at this point
roxfan has joined #asahi-dev
<jannau> chaos_princess: no runtime PM in the gpu driver. firmware does internal power management but that not full power-gating
<jannau> I guess I'll keep the sent dt-bindings + driver changes to avoid confusion due to the back and forth
<chaos_princess> ty
nela4 has quit [Ping timeout: 480 seconds]
zumi_ has joined #asahi-dev
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
john-cabaj has joined #asahi-dev
cylm has joined #asahi-dev
cylm_ has joined #asahi-dev
cylm has quit [Read error: Connection reset by peer]
malfunction54 has joined #asahi-dev
<nickchan-> at this point keeping the dt binding changes are less confusing
nickchan- has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
nickchan has joined #asahi-dev
flom84 has joined #asahi-dev
flom84 has quit [Remote host closed the connection]
cylm_ has quit [Quit: WeeChat 4.7.0]
nela4 has joined #asahi-dev
nela4 has quit [Quit: bye!]
zumi_ has joined #asahi-dev
zumi has quit [Ping timeout: 480 seconds]
zumi_ is now known as zumi
chadmed_ has quit [Quit: Konversation terminated!]
chadmed_ has joined #asahi-dev
ddxtanx has quit [Remote host closed the connection]
WindowPain6 has joined #asahi-dev
WindowPain has quit [Ping timeout: 480 seconds]
WindowPain6 is now known as WindowPain
ohtwoone has quit [Quit: Ping timeout (120 seconds)]
ohtwoone has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
bgb has quit [Remote host closed the connection]
bgb has joined #asahi-dev
john-cabaj has quit [Ping timeout: 480 seconds]
hdbngr has joined #asahi-dev
<jannau> huh, why is brcmfmac using swiotbl? https://paste.debian.net/1394943/
ddxtanx has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
<jannau> the iommu group with wifi/bt is type DMA
<sven> uh.. is the bus marked as untrusted?
<sven> i don't remember if that forces swiotlb
<jannau> doesn't external/untrusted just disable bypass?
<sven> i thought it also forces anything that's not paged alined through swiotlb
<sven> *aligned
<sven> e.g. anything that uses dma_map_sg to directly map buffers instead of using the coherent api to allocate buffers
<sven> but i don't think we marked the internal pci bus as unsafe
<jannau> not sure how we would do that. there is the obvious "external-facing" which we don't use
<sven> i think that's it
<sven> no idea why it would try to use swiotlb then :/
<jannau> the size is 16384 so it's page aligned
<sven> weird
<sven> hm... not sure that's true looking at the code.
<sven> it's aligning the size to full page in swiotlb i think
<sven> but i don't understand how it can ever reach that path unless untrusted is true
<sven> and that can only happen with external-facing afaict
<jannau> pci code has external_facing and untrusted
<jannau> I haven't looked where/how untrusted is set
bgb has quit [Remote host closed the connection]
<jannau> based on arch_pci_dev_is_removable()
bgb has joined #asahi-dev
<jannau> which is x86 only
<sven> yeah, that’s from acpi I think
<sven> essentially their external-facing equivalent
<jannau> it uses swiotlb if the size is not page alligned: https://elixir.bootlin.com/linux/v6.16.3/source/drivers/iommu/dma-iommu.c#L595
<sven> Not sure I see how
<sven> that kmalloc thing should always be false for us, shouldn’t it?
<jannau> it is not or? "return !dma_kmalloc_safe(dev, dir) && !dma_kmalloc_size_aligned(size);"
<jannau> i.e. if the size is smaller than 128 or the cache line size
<sven> we should be dma coherent so kmalloc_safe should be true so !true && whatever should always be false
nela4 has joined #asahi-dev
<jannau> I'm not sure I just noticed that I added 'dma-coherent;' only to the t60xx device trees. But I was never sure if that's needed at all
<jannau> as usual I was tripped up by negation and &&
<sven> :D
<sven> I always have to go through it step by step to not mess up
nela4 has quit []
nela4 has joined #asahi-dev
nela4 has quit [Quit: bye!]
hdbngr has joined #asahi-dev
nela4 has joined #asahi-dev
hdbngr has quit [Ping timeout: 480 seconds]
nela4 has quit [Ping timeout: 480 seconds]
DarkShadow4444 has quit [Read error: Connection reset by peer]
DarkShadow44 has joined #asahi-dev
riker77 has quit [Read error: Connection reset by peer]
riker77 has joined #asahi-dev
hdbngr has joined #asahi-dev
riker77 has quit [Read error: Connection reset by peer]
hdbngr has quit [Ping timeout: 480 seconds]
riker77 has joined #asahi-dev