[PATCH] drm/i915/gvt: Update force-to-nonpriv register whitelist

Zhenyu Wang zhenyuw at linux.intel.com
Thu May 23 03:01:04 UTC 2019


On 2019.05.22 14:20:18 +0800, Colin Xu wrote:
> Host prints below warning message when guest running some application:
> "gvt: vgpu(1) Invalid FORCE_NONPRIV write 2754 at 24f0".
> "gvt: vgpu(1) Invalid FORCE_NONPRIV write 28a0 at 24f0".
> 
> Registers 0x2754 and 0x28a0 are required by guest so add to whitelist.
> 
> Signed-off-by: Colin Xu <colin.xu at intel.com>
> ---

Acked-by: Zhenyu Wang <zhenyuw at linux.intel.com>

>  drivers/gpu/drm/i915/gvt/handlers.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/gpu/drm/i915/gvt/handlers.c b/drivers/gpu/drm/i915/gvt/handlers.c
> index e09bd6e0cc4d..b4fc7f95cbe1 100644
> --- a/drivers/gpu/drm/i915/gvt/handlers.c
> +++ b/drivers/gpu/drm/i915/gvt/handlers.c
> @@ -464,6 +464,8 @@ static i915_reg_t force_nonpriv_white_list[] = {
>  	_MMIO(0x2690),
>  	_MMIO(0x2694),
>  	_MMIO(0x2698),
> +	_MMIO(0x2754),
> +	_MMIO(0x28a0),
>  	_MMIO(0x4de0),
>  	_MMIO(0x4de4),
>  	_MMIO(0x4dfc),
> -- 
> 2.21.0
> 
> _______________________________________________
> intel-gvt-dev mailing list
> intel-gvt-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/intel-gvt-dev

-- 
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/20190523/c009740c/attachment-0001.sig>


More information about the intel-gvt-dev mailing list