On Thu, 04 May 2023 12:59:13 -0500, Gaurav Batra wrote: > When DMA window is backed by 2MB TCEs, the DMA address for the mapped > page should be the offset of the page relative to the 2MB TCE. The code > was incorrectly setting the DMA address to the beginning of the TCE > range. > > Mellanox driver is reporting timeout trying to ENABLE_HCA for an SR-IOV > ethernet port, when DMA window is backed by 2MB TCEs. > > [...]
Applied to powerpc/fixes. [1/1] powerpc/iommu: DMA address offset is incorrectly calculated with 2MB TCEs https://git.kernel.org/powerpc/c/096339ab84f36beae0b1db25e0ce63fb3873e8b2 cheers