diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2016-04-28 12:54:13 -0400 |
---|---|---|
committer | Terje Bergstrom <tbergstrom@nvidia.com> | 2016-05-21 14:33:46 -0400 |
commit | f71ac07972c5818cca9a652ca649b61d6572dc9b (patch) | |
tree | 869c107809a41c57d468f5ca5b03a6a5c924edc3 /scripts/checkpatch.pl | |
parent | 989f7f70c3b7a77467cb216932490e48dc03c64c (diff) |
gpu: nvgpu: fix out-of-bound idx for FECS trace
Fix a case where user space could potentially see
an out of bounds write index for user facing
context switch buffer. Check if write_idx is
valid, and disable FECS tracing if corrupted.
Bug 1757714
Change-Id: I5710c40121fa6935dba3918adf5290488e31e9f6
Signed-off-by: Thomas Fleury <tfleury@nvidia.com>
Reviewed-on: http://git-master/r/1139305
(cherry picked from commit 47b65e5b59037932777be4911fe040e6acbc5651)
Reviewed-on: http://git-master/r/1150048
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions