<kettenis>
it basically tells you that the local-mac-address property applies to the device at bus 3, device 0, function 0, which is the built-in bge(4)
<jannau>
sven: are you sure that the missing "dma-coherent" makes no difference? casual reading of dma-iommu suggests it might.
DarkShadow44 has quit [Ping timeout: 480 seconds]
<jannau>
I'm looking into using it for the t6000 dart uncached PTE bit
<kevans91>
kettenis: ok, cool, thanks. we're having a heck of a time with pcie, and I'm afraid I really don't understand pcie well enough to be helpful yet... working on it, though
<sven>
jannau: no
<sven>
but iirc uncached mapping is just something like IOMMU_CACHE
<sven>
I vaguely remember that it didn’t make a different for dma_alloc_coherent. But I looked into this long before I even understood how half of the dma api worked so there’s a good chance I’m wrong
<jannau>
yes, I'm want to use IOMMU_CACHE to control the uncached bit. As far as I can see IOMMU_CACHE is controlled by the dev->dma_coherent which is set by the dma-coherent dt property
<sven>
ah, maybe it didn’t make a difference because the current dart driver ignores that :D
<jannau>
shouldn't it make a difference for iommu_dma_sync_*
nicolas17 has joined #asahi-dev
<sven>
I think that’s only used for streaming mappings
<sven>
(which I wrongly assumed to be almost never used back then iirc)
<sven>
either way, adding dma-coherent to the dt is probably something we should do
DarkShadow44 has joined #asahi-dev
DarkShadow44 has quit []
DarkShadow44 has joined #asahi-dev
millenialhacker has quit [Remote host closed the connection]
gpanders__ has quit [Remote host closed the connection]