mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
Passing branch of nvgpu_timeout_peek_expired was not covered due to jump over it in nvgpu_falcon_mem_scrub_wait. Remove that jump to cover the branch. Add unit test for covering the error handling in case of read from DMEM control register returns invalid data using fault injection. JIRA NVGPU-4814 Change-Id: I9f99186bd2b1c5f39ead130d3161d3e7fa622ac4 Signed-off-by: Sagar Kamble <skamble@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2272937 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>