Files
linux-nvgpu/drivers/gpu/nvgpu/common
ht f46a3abfc6 gpu: nvgpu: Fix devg_nvgpu_igpu process crash.
As part of the negative test case we replace the ACR binaries with
corrupted one(by editing the binary in hex editor). The expectaion
was the process should log the error and exit properly but instead
the process crashed.

We have found the root cause and it was because we were trying to
flush a memory which was not allocated.

To mitigate this issue we added a checking condition to check if the
memory was allocated before flushing.

Bug 3670576

Change-Id: I6b510388fb913695210c791e2253c7514bb7a0a9
Signed-off-by: ht <ht@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2762276
Reviewed-by: svcacv <svcacv@nvidia.com>
Reviewed-by: Mahantesh Kumbar <mkumbar@nvidia.com>
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
2022-08-26 08:26:53 -07:00
..
2022-05-07 15:18:39 -07:00
2022-08-12 11:05:35 -07:00
2022-08-09 21:56:46 -07:00
2022-01-28 04:50:12 -08:00
2020-12-15 14:13:28 -06:00
2022-06-03 12:05:26 -07:00
2022-07-19 10:32:35 -07:00