diff options
author | Weinan Li <weinan.z.li@intel.com> | 2019-06-14 04:35:19 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2019-06-17 10:45:41 +0300 |
commit | 971afec3a5373f96684ad899579f6a4d51462410 (patch) | |
tree | 0fad1ad4ab99a80bfb0c1871864e161ebeab233c /lib/decompress_inflate.c | |
parent | 15e7f52a4596b496ce3da2fa4c1f94c6fb0023f2 (diff) | |
download | linux-971afec3a5373f96684ad899579f6a4d51462410.tar.xz |
drm/i915/gvt: ignore unexpected pvinfo write
There is pvinfo writing come from vgpu might be unexpected, like
writing to one unknown address, GVT-g should do as reserved register
to discard any invalid write. Now GVT-g lets it write to the vreg
without prompt error message, should ignore the unexpected pvinfo
write access and leave the vreg as the default value.
For possible guest query GVT-g host feature, this returned proper
value instead of wrong guest setting.
v2: ignore unexpected pvinfo write instead of return predefined value
Fixes: e39c5add3221 ("drm/i915/gvt: vGPU MMIO virtualization")
Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Weinan Li <weinan.z.li@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'lib/decompress_inflate.c')
0 files changed, 0 insertions, 0 deletions