aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorBaruch Siach <[email protected]>2024-08-28 12:51:24 +0300
committerChristoph Hellwig <[email protected]>2024-08-29 07:21:07 +0300
commit833bd284a45448f04ab9fcd4fdf7ef594d458eed (patch)
tree698c103719342bfcb735550b36221cc1113b02f2 /lib/crypto/mpi/mpi-sub-ui.c
parentb5c58b2fdc427e7958412ecb2de2804a1f7c1572 (diff)
arm64: mm: fix DMA zone when dma-ranges is missing
Some platforms, like Rockchip RK3568 based Odroid M1, do not provide DMA limits information in device-tree dma-ranges property. Still some device drivers set DMA limit that relies on DMA zone at low 4GB memory area. Until commit ba0fb44aed47 ("dma-mapping: replace zone_dma_bits by zone_dma_limit"), zone_sizes_init() restricted DMA zone to low 32-bit. Restore DMA zone 32-bit limit when the platform provides no DMA bus limit information. Fixes: ba0fb44aed47 ("dma-mapping: replace zone_dma_bits by zone_dma_limit") Reported-by: Marek Szyprowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Suggested-by: Robin Murphy <[email protected]> Signed-off-by: Baruch Siach <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions