summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorArto Merilainen <amerilainen@nvidia.com>2013-05-29 13:26:03 +0300
committerThierry Reding <thierry.reding@gmail.com>2013-06-22 12:43:52 +0200
commit5060d8ec7cfc29dd399b4fe952ba96e7a88aa778 (patch)
tree8a8234fd8eb8798c72b5f3493237a9a2ec435b15 /tools/perf/scripts/python/sched-migration.py
parent64c173d3a2bb367c901f1f0a66c1d4e338d8cb2c (diff)
gpu: host1x: Check reloc table before usage
The firewall assumed that the user space always delivers a relocation table when it is accessing address registers. If userspace did not deliver a relocation table and tried to access the address registers, the code performed bad memory accesses. This patch modifies the firewall to check correctly that the firewall table is available before accessing it. In addition, check_reloc() is converted to use boolean return value (true when the reloc is valid, false when invalid). Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Acked-By: Terje Bergstrom <tbergstrom@nvidia.com> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions