diff options
author | Sami Kiminki <skiminki@nvidia.com> | 2014-10-23 13:23:46 -0400 |
---|---|---|
committer | Dan Willemsen <dwillemsen@nvidia.com> | 2015-03-18 15:11:51 -0400 |
commit | be48f4a4519cc285885f8cf886d73ef7675daca8 (patch) | |
tree | 6bc0959d922f6cd4e6f038b179c73bd2b8a55f10 /drivers/gpu/nvgpu/gk20a/pmu_gk20a.c | |
parent | 13ca1676ef9c43b137b0ca55e8143da9fa4b5032 (diff) |
gpu: nvgpu: Sanitize gk20a_gr_handle_notify_pending
Sanitize cyclestats portion of gk20a_gr_handle_notify_pending() a bit
and fix infinite loop and buffer overrun bugs in case of malformed
cyclestate element headers. Also, convert WARN_ON:s to gk20a_err:s for
malformed headers since they are userspace problems and not worth
kernel stack traces.
Bug 1566834
Change-Id: I69fbd85efdb042c5f0e745fac55eeff3aee0faa8
Signed-off-by: Sami Kiminki <skiminki@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/pmu_gk20a.c')
0 files changed, 0 insertions, 0 deletions