diff options
author | Nava kishore Manne <nava.kishore.manne@amd.com> | 2023-10-03 12:44:09 +0530 |
---|---|---|
committer | Xu Yilun <yilun.xu@linux.intel.com> | 2023-10-16 10:32:00 +0800 |
commit | d79eed22ba97c3031b2ef86f8b7ed0be2da5667d (patch) | |
tree | d64443a2c35351a35dac9247d9f443899b31ef65 /drivers/fpga/versal-fpga.c | |
parent | 3b08f52c256189b7c0d5cf1a031fa464ec20393b (diff) |
fpga: versal: Add support for 44-bit DMA operations
The existing implementation support only 32-bit DMA operation.
So, it fails to load the bitstream for the high DDR designs(Beyond 4GB).
To fix this issue update the DMA mask handling logic to support 44-bit
DMA operations.
Signed-off-by: Nava kishore Manne <nava.kishore.manne@amd.com>
Reviewed-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
Acked-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20231003071409.4165149-1-nava.kishore.manne@amd.com
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'drivers/fpga/versal-fpga.c')
-rw-r--r-- | drivers/fpga/versal-fpga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/fpga/versal-fpga.c b/drivers/fpga/versal-fpga.c index e1601b3a345b..3710e8f01be2 100644 --- a/drivers/fpga/versal-fpga.c +++ b/drivers/fpga/versal-fpga.c @@ -48,7 +48,7 @@ static int versal_fpga_probe(struct platform_device *pdev) struct fpga_manager *mgr; int ret; - ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); + ret = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(44)); if (ret < 0) { dev_err(dev, "no usable DMA configuration\n"); return ret; |