mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-24 10:34:43 +03:00
Currently LS UCODE data is aligned to PAGE_SIZE which is dependent on kernel config. This causes "data_size" variable to change due to padding difference which causes LS sig authentication to fail. This patch corrects alignment and align it to LSF_UCODE_DATA_ddALIGNMENT instead of PAGE_SIZE. Bug 200773365 Change-Id: I5f2fe1152053ed6135c01ae3eb94e8cf6eecde5f Signed-off-by: deepak goyal <dgoyal@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2602083 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svcacv <svcacv@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit