diff options
author | Xiaoguang Chen <xiaoguang.chen@intel.com> | 2017-03-21 10:54:21 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2017-03-21 11:15:40 +0800 |
commit | 359b69310014511901bd61cc5f7680cb5de1faef (patch) | |
tree | f5af204f7d665391560240b340d61a7b95fdc453 /mm/swap_state.c | |
parent | 14f5ba26aa7060b4cad9c4c288b9a785bd0cd1a8 (diff) | |
download | op-kernel-dev-359b69310014511901bd61cc5f7680cb5de1faef.zip op-kernel-dev-359b69310014511901bd61cc5f7680cb5de1faef.tar.gz |
drm/i915/gvt: set shadow entry to scratch page while p2m failed
Sometimes guest driver will only update partial of the GGTT entry then
access it. In this situation a failure will happen while translating
the gpa to hpa.
Now in this situation we let the corresponding shadow entry pointing
to a scratch page.
Signed-off-by: Zhi Wang <zhi.a.wang@intel.com>
Signed-off-by: Xiaoguang Chen <xiaoguang.chen@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'mm/swap_state.c')
0 files changed, 0 insertions, 0 deletions