diff options
author | Amurthyreddy <amurthyreddy@nvidia.com> | 2018-09-24 03:33:12 -0400 |
---|---|---|
committer | Alex Waterman <alexw@nvidia.com> | 2018-09-26 12:09:19 -0400 |
commit | 1a3d75790db3effe6f461ca4923cac7e7d2202c4 (patch) | |
tree | d4e2e9eb83249c26710a9a77e0caab9d2d25668b /userspace/units/posix-bitops/Makefile | |
parent | 212e8ee5d0297b18c9cf7f3942984fd02123bf82 (diff) |
gpu: nvgpu: QNX devg-nvrm crash fix.
Input paran VM Will be used to get PTE size for GVA spaces and it can be
NULL if buddy_allocator initialization is not for GVA space. As part of
recent changes VM was being accessed for non GVA space case and for that
VM was NULL, causing the crash.
In this fix added a prior check and VM will be accessed only if input
flag is set to GPU_ALLOC_GVA_SPACE.
Bug 200452730
Change-Id: I9dcb1f2bd5e639c37a7152b99453bb5b46fe4087
Signed-off-by: Amurthyreddy <amurthyreddy@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1842530
Reviewed-by: svc-misra-checker <svc-misra-checker@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Tested-by: Prateek Sethi <prsethi@nvidia.com>
Reviewed-by: Vaibhav Kachore <vkachore@nvidia.com>
Reviewed-by: Vijayakumar Subbu <vsubbu@nvidia.com>
Reviewed-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Diffstat (limited to 'userspace/units/posix-bitops/Makefile')
0 files changed, 0 insertions, 0 deletions