diff options
author | Aparna Das <aparnad@nvidia.com> | 2018-06-22 14:35:10 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-06-26 14:17:49 -0400 |
commit | 8586414cc15ca36e92cf3c40c2cfb2f8b2691bee (patch) | |
tree | b7529eda956bdbb1193820958818273e7d433ba4 /drivers/gpu/nvgpu/gv100/hal_gv100.c | |
parent | 10c3d4447d4206302f5d51695bf1f193255dd889 (diff) |
gpu: nvgpu: fix perf output buffer size validation
Currently we check if offset + size of perf output buffer crosses
4GB boundary. This check should be fixed to offset + size - 1.
Bug 200422626
Change-Id: I87b1c0761a97903780ddde871d5ca396bf26170d
Signed-off-by: Aparna Das <aparnad@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1758338
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gv100/hal_gv100.c')
0 files changed, 0 insertions, 0 deletions