diff options
author | Hang Yuan <[email protected]> | 2017-12-22 18:06:31 +0800 |
---|---|---|
committer | Rodrigo Vivi <[email protected]> | 2018-02-01 07:30:45 -0800 |
commit | cc753fbe1ac47560e1517e3e11fb0c8a3c95eef5 (patch) | |
tree | 16a417dffdcd22fbe146285fda3a152b88957ac6 /net/unix/sysctl_net_unix.c | |
parent | 03fa9350c30b5db827e9b155715df09660ba28b1 (diff) |
drm/i915/gvt: validate gfn before set shadow page entry
GVT may receive partial write on one guest PTE update. Validate gfn
not to translate incomplete gfn. This avoids some unnecessary error
messages incurred by the incomplete gfn translating. Also fix the
bug that the whole PPGTT shadow page update is aborted on any invalid
gfn entry.
gfn validation relys on hypervisor's help. Add one MPT module function
to provide the function.
Signed-off-by: Hang Yuan <[email protected]>
Reviewed-by: Zhi Wang <[email protected]>
Signed-off-by: Zhenyu Wang <[email protected]>
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions