Gaurav Batra <[email protected]> writes:
> 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.
>
> Signed-off-by: Gaurav Batra <[email protected]>
>
> Reviewed-by: Greg Joyce <[email protected]>
> Reviewed-by: Brian King <[email protected]>
> ---
> arch/powerpc/kernel/iommu.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
This should have a Fixes: tag.
I guess it's:
387273118714 ("powerps/pseries/dma: Add support for 2M IOMMU page size")
Can you confirm?
cheers