diff options
author | Xiong Zhang <[email protected]> | 2019-05-27 13:45:51 +0800 |
---|---|---|
committer | Zhenyu Wang <[email protected]> | 2019-07-30 14:29:48 +0800 |
commit | d18fd0576e05a4b03b588e131093b0437fccb75f (patch) | |
tree | 977a6e9940c91909cf94275334662a9a66464122 /tools/perf/util/trace-event-scripting.c | |
parent | c00f9c6b79f7e1c5caf774c38e9fd5dad2d2ef1c (diff) |
drm/i915/gvt: Warning for invalid ggtt access
Instead of silently return virtual ggtt entries that guest is allowed
to access, this patch add extra range check. If guest read out of
range, it will print a warning and return 0. If guest write out
of range, the write will be dropped without any message.
Reviewed-by: Zhenyu Wang <[email protected]>
Signed-off-by: Xiong Zhang <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions