diff options
author | Zhenyu Wang <zhenyuw@linux.intel.com> | 2020-05-06 17:59:18 +0800 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2020-05-11 17:07:25 +0800 |
commit | 72a7a9925e2beea09b109dffb3384c9bf920d9da (patch) | |
tree | 8aeb137b018cbb7efa22c0e2c8760576b8eaffcd /mm/mincore.c | |
parent | f965b68188ab59a40a421ced1b05a2fea638465c (diff) | |
download | linux-72a7a9925e2beea09b109dffb3384c9bf920d9da.tar.bz2 |
drm/i915/gvt: Fix kernel oops for 3-level ppgtt guest
As i915 won't allocate extra PDP for current default PML4 table,
so for 3-level ppgtt guest, we would hit kernel pointer access
failure on extra PDP pointers. So this trys to bypass that now.
It won't impact real shadow PPGTT setup, so guest context still
works.
This is verified on 4.15 guest kernel with i915.enable_ppgtt=1
to force on old aliasing ppgtt behavior.
Fixes: 4f15665ccbba ("drm/i915: Add ppgtt to GVT GEM context")
Reviewed-by: Xiong Zhang <xiong.y.zhang@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20200506095918.124913-1-zhenyuw@linux.intel.com
Diffstat (limited to 'mm/mincore.c')
0 files changed, 0 insertions, 0 deletions