* Gaurav Batra <gba...@linux.vnet.ibm.com> [2023-05-04 12:59:13]: > 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. > > Fixes: 387273118714 ("powerps/pseries/dma: Add support for 2M IOMMU page > size") > > Signed-off-by: Gaurav Batra <gba...@linux.vnet.ibm.com> >
Works with this patch. Tested-by: Srikar Dronamraju <sri...@linux.vnet.ibm.com> > Reviewed-by: Greg Joyce <gjo...@linux.vnet.ibm.com> > Reviewed-by: Brian King <brk...@linux.vnet.ibm.com> > --- -- Thanks and Regards Srikar Dronamraju