Files
linux-nvgpu/drivers/gpu
deepak goyal 9bdb8f1a10 gpu: nvgpu: Correct LS ucode data alignment.
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
2021-09-30 01:39:13 -07:00
..