aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/logicvc/logicvc_interface.h
diff options
context:
space:
mode:
authorGaurav Batra <[email protected]>2023-05-04 12:59:13 -0500
committerMichael Ellerman <[email protected]>2023-05-17 00:53:06 +1000
commit096339ab84f36beae0b1db25e0ce63fb3873e8b2 (patch)
treed5e69697bc080af578672e6d07b2491828c3b87f /drivers/gpu/drm/logicvc/logicvc_interface.h
parentad593827db9b73f15eb65416ec975ec0311f773a (diff)
powerpc/iommu: DMA address offset is incorrectly calculated with 2MB TCEs
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") Cc: [email protected] # v5.16+ Signed-off-by: Gaurav Batra <[email protected]> Reviewed-by: Greg Joyce <[email protected]> Reviewed-by: Brian King <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://msgid.link/[email protected]
Diffstat (limited to 'drivers/gpu/drm/logicvc/logicvc_interface.h')
0 files changed, 0 insertions, 0 deletions