commit | d18fd0576e05a4b03b588e131093b0437fccb75f | [log] [tgz] |
---|---|---|
author | Xiong Zhang <xiong.y.zhang@intel.com> | Mon May 27 13:45:51 2019 +0800 |
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | Tue Jul 30 14:29:48 2019 +0800 |
tree | 977a6e9940c91909cf94275334662a9a66464122 | |
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 <zhenyuw@linux.intel.com> Signed-off-by: Xiong Zhang <xiong.y.zhang@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>