ChanServ changed the topic of #armlinux to: ARM kernel talk [Upstream kernel, find your vendor forums for questions about their kernels] | https://libera.irclog.whitequark.org/armlinux
mraynal has quit [Remote host closed the connection]
mraynal has joined #armlinux
m5zs7k has quit [Ping timeout: 248 seconds]
m5zs7k has joined #armlinux
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
haritz has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
sudeepholla_ has joined #armlinux
monstr has joined #armlinux
monstr has quit [Ping timeout: 252 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
<mwalle> robmur01: with your "iommu: Get DT/ACPI parsing into the proper probe path" I'm getting the following warning https://pastebin.com/raw/p3rPepQ9 do you have some idea what could be wrong there?
<mwalle> robmur01: https://oftc.catirclogs.org/etnaviv/2025-07-01 might be relevant
sszy has joined #armlinux
cbeznea has joined #armlinux
mripard has quit [Ping timeout: 260 seconds]
mripard has joined #armlinux
prabhakalad has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
monstr has joined #armlinux
headless has joined #armlinux
headless has quit [Quit: Konversation terminated!]
cbeznea_ has joined #armlinux
<robmur01> mwalle: what's wrong is that that is exactly the kind of sketchy thing that drivers should not be doing.
<robmur01> if the DT doesn't describe the DMA paths correctly, fix the DT. If the DT is correct, fix... whatever the heck the driver thinks it's trying to achieve there
<robmur01> For background: IOMMU configuration cannot depend on client drivers being present - the warning is a precursor to that late "replay" path going away entirely
<arnd> That "Black Sesame" SoC sounds fun: according to the discussion on the sdhci driver patch, RAM starts at address 0x800000000 (32GB) but the DMA master they use can only access the first 4GB.
<ukleinek> fsdo "fun"
System_Error has quit [Remote host closed the connection]
System_Error has joined #armlinux
<robmur01> Well, at least arm64 supports that since Marvell already did similar :)
<arnd> robmur01: how does arm64 support that? Do you mean just booting from an address above 4GB, or is there some trick that also makes DMA masters work without an IOMMU?
<robmur01> assuming a hard-wired DMA offset, we shift ZONE_DMA{32} to be relative to the start of RAM rather than the absolute physical address, if that's above 4GB
<robmur01> however I see neither iommus nor dma-ranges in that DT, so I guess it just can't do DMA?
<arnd> I don't think they have an offset, since they route the DMA through an SRAM in the low 4GB physical address space
<arnd> I suspect the 'dma-coherent' flag is also wrong or misleading, as the device is only coherent with the (uncached) sram but not with the RAM it cannot access.
<arnd> it's probably needed to skip the cache flushes on the SRAM, but I feel that makes the hack even worse
<robmur01> Either the device can snoop CPU caches or it can't, that's my notion of dma-coherent correctness
<robmur01> And indeed DMA-addressable SRAM could be used as a restricted-dma-pool to force SWIOTLB to map through it, but it would then be mapped cacheable by the CPUs
<robmur01> (we don't do non-cacheable SWIOTLB even for non-coherent devices - it's been tried and the performance is hideous compared to explicit cache maintenance)
<robmur01> ...urgh, now I see. I forgot the MMC layer still had its own bounce_buffer mechanism :(
frieder has joined #armlinux
frieder has quit [Ping timeout: 260 seconds]
<arnd> robmur01: yes, that confused me as well. AFAICT the MMC bounce buffer mechanism is only used on devices that lack scatter-gather transfers, and that is a reasonable optimization because writing noncontigous pages is common in many file systems but splitting up each transfer into single pages would destroy cheap SD cards very quickly through wear leveling
<arnd> using the bouce buffer to get around broken DMA support in the SDHCI is a completely different thing
atorgue1 has quit [Read error: Connection reset by peer]
atorgue__ has joined #armlinux
frieder has joined #armlinux
atorgue1 has joined #armlinux
Poltawer has joined #armlinux
atorgue__ has quit [Read error: Connection reset by peer]
rvalue- has joined #armlinux
rvalue has quit [Ping timeout: 252 seconds]
rvalue- is now known as rvalue
Poltawer has quit [Quit: WeeChat 4.6.3]
Poltawer has joined #armlinux
frieder has quit [Ping timeout: 260 seconds]
headless has joined #armlinux
bjoto`` has quit [Remote host closed the connection]
bjoto has joined #armlinux
sudeepholla_ has quit [Ping timeout: 272 seconds]
frieder has joined #armlinux
prabhakalad has quit [Ping timeout: 252 seconds]
frieder has quit [Ping timeout: 252 seconds]
nsaenz_ has joined #armlinux
prabhakalad has joined #armlinux
nsaenz has quit [Ping timeout: 244 seconds]
HerbY_NL has joined #armlinux
nsaenz_ has quit [Remote host closed the connection]
nsaenz has joined #armlinux
frieder has joined #armlinux
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
frieder has quit [Ping timeout: 260 seconds]
HerbY_NL has joined #armlinux
sally has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
sally has joined #armlinux
headless has quit [Quit: Konversation terminated!]
nsaenz_ has joined #armlinux
headless has joined #armlinux
nsaenz has quit [Ping timeout: 260 seconds]
sally has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
sally has joined #armlinux
nsaenz_ has quit [Remote host closed the connection]
nsaenz has joined #armlinux
HerbY_NL has quit [Ping timeout: 252 seconds]
nsaenz has quit [Ping timeout: 244 seconds]
HerbY_NL has joined #armlinux
HerbY_NL has quit [Ping timeout: 252 seconds]
nsaenz has joined #armlinux
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
sudeepholla_ has joined #armlinux
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
sally has quit [Quit: ZNC 1.9.1+deb2+b3 - https://znc.in]
sally has joined #armlinux
HerbY_NL has joined #armlinux
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nsaenz has quit [Remote host closed the connection]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 245 seconds]
monstr has quit [Remote host closed the connection]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 276 seconds]
nsaenz has joined #armlinux
HerbY_NL has joined #armlinux
nsaenz has quit [Ping timeout: 248 seconds]
HerbY_NL has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
_whitelogger has joined #armlinux
jfsimon has joined #armlinux
cbeznea_ has quit [Ping timeout: 276 seconds]
cbeznea has quit [Ping timeout: 276 seconds]
cbeznea_ has joined #armlinux
cbeznea has joined #armlinux
nsaenz_ has joined #armlinux
nsaenz_ has quit [Remote host closed the connection]
cbeznea_ has quit [Ping timeout: 248 seconds]
cbeznea has quit [Ping timeout: 248 seconds]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 265 seconds]
headless has quit [Quit: Konversation terminated!]
m5zs7k has quit [Ping timeout: 268 seconds]
m5zs7k has joined #armlinux
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 265 seconds]
nsaenz has joined #armlinux
nsaenz has quit [Ping timeout: 272 seconds]
Poltawer has quit [Quit: WeeChat 4.6.3]