[PATCH v8 1/3] drm/i915/gvt: Change the return type during command scan

Zhenyu Wang zhenyuw at linux.intel.com
Tue Sep 19 21:43:38 UTC 2017


On 2017.09.20 05:41:34 +0800, Zhenyu Wang wrote:
> From: fred gao <fred.gao at intel.com>
> 
> Generally, there are 3 types of errors during command scan: a) some
> commands might be unknown with EBADRQC;  b) some cmd access invalid
> address with EFAULT; c) some unexpected force nonpriv cmd with EPERM.
> later the healthy state can be judged through the return error.
> 
> v2:
> - remove some internal i915 errors rating.  (Zhenyu)
> 
> v3:
> - the healthy state is judged through the internal defined return
>   error. (Zhenyu)
> - force non priv cmd error can be ignored. (Kevin)
> 
> v4:
> - reuse standard defined errno instead of recreate, e.g EBADRQC for
>   unknown cmd, EFAULT for invalid address, EPERM for nonpriv. (Zhenyu)
> 
> v5:
> - remove some irrelevant code for the patch.
> - fix typo of vgpu_is_vm_unhealthy. (Zhenyu)
> 
> v6:
> - move the healthy check and failsafe code into another patch. (Zhenyu)
> 
> v7:
> - polish title and commit message. (Zhenyu)
> 

Send on behave of Fred, and pushed to gvt-next, thanks!

-- 
Open Source Technology Center, Intel ltd.

$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170920/afdc6bf7/attachment.sig>


More information about the intel-gvt-dev mailing list