summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-08-02 15:06:37 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-08-10 10:26:09 +0800
commit4b2dbbc22541e44e10e22836149050ab6dbd879e (patch)
tree1555f8dff047d95f554858bb35f89e2a77266213 /tools/perf/scripts/python/export-to-postgresql.py
parent36ed7e97e260e9b7abf30121b3f58f2c83bf35c1 (diff)
drm/i915/gvt: Add carefully checking in GTT walker paths
When debugging the gtt code, found the intel_vgpu_gma_to_gpa() can translate any given GMA though the GMA is not valid. This because the GTT ops suppress the possible errors, which may result in an invalid PT entry is retrieved by upper caller. This patch changed the prototype of pte ops to propagate status to callers. Then we make sure the GTT walker stop as early as when a error is detected to prevent undefined behavior. Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions