fpga: versal: Add support for 44-bit DMA operations
authorNava kishore Manne <nava.kishore.manne@amd.com>
Tue, 3 Oct 2023 07:14:09 +0000 (12:44 +0530)
committerXu Yilun <yilun.xu@linux.intel.com>
Mon, 16 Oct 2023 02:32:00 +0000 (10:32 +0800)
commitd79eed22ba97c3031b2ef86f8b7ed0be2da5667d
treed64443a2c35351a35dac9247d9f443899b31ef65
parent3b08f52c256189b7c0d5cf1a031fa464ec20393b
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>
drivers/fpga/versal-fpga.c