mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
ff7d0cc87cd3da5bdeb6acc49a0098f9e773cef9
For dma mappings done with dma_map_sg() calls, dma_sync_sg* calls are required in order to make sure that caches for all the scattered addresses are synced. Using dma_sync_single* call for syncing caches can access address which is not mapped by dma_sync_sg() and cause kernel exceptions. Fix this by using correct cache sync calls for appropriate dma mapping APIs. Bug 3879036 Change-Id: I30afcf17806c505d94ff4eb7faefab5fbbf9e7b9 Signed-off-by: Ashish Mhetre <amhetre@nvidia.com> Signed-off-by: Matti Ryttylainen <mryttylainen@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2839838 Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: Pekka Pessi <ppessi@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
Description
No description provided