diff options
author | Samuel Holland <samuel@sholland.org> | 2022-04-24 12:27:57 -0500 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-05-19 23:43:41 +0530 |
commit | ec31c5c594927556ae74f6617fe4969568d8dcc5 (patch) | |
tree | 9da68524181eb5f5f2c03d87aa577361a3d0a960 /lib/logic_pio.c | |
parent | 9aa48806edb8c37e82532dbc6098b03f6bd4245e (diff) |
dmaengine: sun6i: Add support for 34-bit physical addresses
Recent Allwinner SoCs support >4 GiB of DRAM, so those variants of the
DMA engine support >32 bit physical addresses. This is accomplished by
placing the high bits in the "para" word in the DMA descriptor.
DMA descriptors themselves can be located at >32 bit addresses by
putting the high bits in the LSBs of the descriptor address register,
taking advantage of the required DMA descriptor alignment. However,
support for this is not really necessary, so we can avoid the
complication by allocating them from the DMA_32 zone.
Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/20220424172759.33383-4-samuel@sholland.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'lib/logic_pio.c')
0 files changed, 0 insertions, 0 deletions