linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Regression: gvt: vgpu 1: MI_LOAD_REGISTER_MEM handler error
@ 2021-04-12 16:32 Alex Williamson
  2021-04-13  1:23 ` Alex Williamson
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Williamson @ 2021-04-12 16:32 UTC (permalink / raw)
  To: zhenyuw, zhi.a.wang; +Cc: intel-gvt-dev, intel-gfx, linux-kernel


Running a Windows guest on a i915-GVTg_V4_2 from an HD 5500 IGD on
v5.12-rc6 results in host logs:

gvt: vgpu 1: lrm access to register (20c0)
gvt: vgpu 1: MI_LOAD_REGISTER_MEM handler error
gvt: vgpu 1: cmd parser error
0x0 
0x29 

gvt: vgpu 1: scan wa ctx error
gvt: vgpu 1: failed to submit desc 0
gvt: vgpu 1: fail submit workload on ring rcs0
gvt: vgpu 1: fail to emulate MMIO write 00002230 len 4

The guest goes into a boot loop triggering this error before reaching
the desktop and rebooting.  Guest using Intel driver 20.19.15.5171
dated 11/4/2020 (from driver file 15.40.5171).

This VM works well with the same guest and userspace software stack on
Fedora's kernel 5.11.11-200.fc33.x86_64.  Thanks,

Alex


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression: gvt: vgpu 1: MI_LOAD_REGISTER_MEM handler error
  2021-04-12 16:32 Regression: gvt: vgpu 1: MI_LOAD_REGISTER_MEM handler error Alex Williamson
@ 2021-04-13  1:23 ` Alex Williamson
  2021-04-13  1:43   ` Zhenyu Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Alex Williamson @ 2021-04-13  1:23 UTC (permalink / raw)
  To: zhenyuw, zhi.a.wang; +Cc: intel-gvt-dev, intel-gfx, linux-kernel, yan.y.zhao

On Mon, 12 Apr 2021 10:32:14 -0600
Alex Williamson <alex.williamson@redhat.com> wrote:

> Running a Windows guest on a i915-GVTg_V4_2 from an HD 5500 IGD on
> v5.12-rc6 results in host logs:
> 
> gvt: vgpu 1: lrm access to register (20c0)
> gvt: vgpu 1: MI_LOAD_REGISTER_MEM handler error
> gvt: vgpu 1: cmd parser error
> 0x0 
> 0x29 
> 
> gvt: vgpu 1: scan wa ctx error
> gvt: vgpu 1: failed to submit desc 0
> gvt: vgpu 1: fail submit workload on ring rcs0
> gvt: vgpu 1: fail to emulate MMIO write 00002230 len 4
> 
> The guest goes into a boot loop triggering this error before reaching
> the desktop and rebooting.  Guest using Intel driver 20.19.15.5171
> dated 11/4/2020 (from driver file 15.40.5171).
> 
> This VM works well with the same guest and userspace software stack on
> Fedora's kernel 5.11.11-200.fc33.x86_64.  Thanks,

Bisected to:

commit f18d417a57438498e0de481d3a0bc900c2b0e057
Author: Yan Zhao <yan.y.zhao@intel.com>
Date:   Wed Dec 23 11:45:08 2020 +0800

    drm/i915/gvt: filter cmds "srm" and "lrm" in cmd_handler
    
    do not allow "srm" and "lrm" except for GEN8_L3SQCREG4 and 0x21f0.
    
    Cc: Colin Xu <colin.xu@intel.com>
    Cc: Kevin Tian <kevin.tian@intel.com>
    Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
    Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
    Link: http://patchwork.freedesktop.org/patch/msgid/20201223034508.17031-1-yan.y.zhao@intel.com
    Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Regression: gvt: vgpu 1: MI_LOAD_REGISTER_MEM handler error
  2021-04-13  1:23 ` Alex Williamson
@ 2021-04-13  1:43   ` Zhenyu Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Zhenyu Wang @ 2021-04-13  1:43 UTC (permalink / raw)
  To: Alex Williamson
  Cc: zhenyuw, zhi.a.wang, intel-gvt-dev, intel-gfx, linux-kernel, yan.y.zhao

[-- Attachment #1: Type: text/plain, Size: 1818 bytes --]

On 2021.04.12 19:23:47 -0600, Alex Williamson wrote:
> On Mon, 12 Apr 2021 10:32:14 -0600
> Alex Williamson <alex.williamson@redhat.com> wrote:
> 
> > Running a Windows guest on a i915-GVTg_V4_2 from an HD 5500 IGD on
> > v5.12-rc6 results in host logs:
> > 
> > gvt: vgpu 1: lrm access to register (20c0)
> > gvt: vgpu 1: MI_LOAD_REGISTER_MEM handler error
> > gvt: vgpu 1: cmd parser error
> > 0x0 
> > 0x29 
> > 
> > gvt: vgpu 1: scan wa ctx error
> > gvt: vgpu 1: failed to submit desc 0
> > gvt: vgpu 1: fail submit workload on ring rcs0
> > gvt: vgpu 1: fail to emulate MMIO write 00002230 len 4
> > 
> > The guest goes into a boot loop triggering this error before reaching
> > the desktop and rebooting.  Guest using Intel driver 20.19.15.5171
> > dated 11/4/2020 (from driver file 15.40.5171).
> > 
> > This VM works well with the same guest and userspace software stack on
> > Fedora's kernel 5.11.11-200.fc33.x86_64.  Thanks,
> 
> Bisected to:

Looks we didn't hit this one on Broadwell with recent testing. I'll double
check, maybe Broadwell missed something after our cmd parser rework.

Thanks for reporting!

> 
> commit f18d417a57438498e0de481d3a0bc900c2b0e057
> Author: Yan Zhao <yan.y.zhao@intel.com>
> Date:   Wed Dec 23 11:45:08 2020 +0800
> 
>     drm/i915/gvt: filter cmds "srm" and "lrm" in cmd_handler
>     
>     do not allow "srm" and "lrm" except for GEN8_L3SQCREG4 and 0x21f0.
>     
>     Cc: Colin Xu <colin.xu@intel.com>
>     Cc: Kevin Tian <kevin.tian@intel.com>
>     Signed-off-by: Yan Zhao <yan.y.zhao@intel.com>
>     Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
>     Link: http://patchwork.freedesktop.org/patch/msgid/20201223034508.17031-1-yan.y.zhao@intel.com
>     Reviewed-by: Zhenyu Wang <zhenyuw@linux.intel.com>
> 

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 195 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-13  2:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-12 16:32 Regression: gvt: vgpu 1: MI_LOAD_REGISTER_MEM handler error Alex Williamson
2021-04-13  1:23 ` Alex Williamson
2021-04-13  1:43   ` Zhenyu Wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).