Created attachment 142851 [details] dmesg-4.12.14-lp150.12.28-default.txt Dell Latitude E7470, "Skylake GT2 [HD Graphics 520]". With kernels later than linux-4.4 (have not checked when it started), dmesg is flooded with messages like this: [drm:gen8_irq_handler [i915]] *ERROR* Fault errors on pipe A: 0x00000080 # dmesg | grep -cw 0x00000080 67621 This happens when the system is booted as Xen dom0. IMO everything is working fine, no issues to report beside the flooding of syslog. The used desktop environment makes no difference, nor makes the used version of SLE or Leap or Tumbleweed any difference. The actual things I want to see fixed are: What is bit (1 << 3)? There is no constant defined for this issue. Why do DRM_ERROR() and related helpers not use printk_ratelimited()? The use can not do anything about the issue anyway, other than reporting it, so a single message would be fine. And if you feel like it: what needs to be done to get this driver fixed for a Xen dom0?
Created attachment 142852 [details] lspci-4.12.14-lp150.12.28-default.txt
Created attachment 142853 [details] xl-dmesg-4.12.14-lp150.12.28-default.txt
It is actually gen#9, I thouhht it is gen#8: /sys/kernel/debug/dri/0/i915_capabilities gen: 9 platform: SKYLAKE pch: 4 ... It seems GEN9_PIPE_PLANE1_FLIP_DONE is set. If that is the case, what does that mean?
Reporter, Can you reproduce the issue using drm-tip (https://cgit.freedesktop.org/drm-tip). If problem exists with latest drm-tip, set kernel parameters drm.debug=0x1e log_buf_len=4M and reboot. Latest kernel is 4.20.
Created attachment 142894 [details] xl-dmesg-4.20.0-1.gba5c149-vanilla.txt
Created attachment 142895 [details] dmesg-4.20.0-1.gba5c149-vanilla.txt not drm-tip.git, but close enough. With "log_buf_len=128M drm.debug=0x1e"
Created attachment 142923 [details] dmesg-4.20.0-1.gba5c149-vanilla.txt same kernel, non-dom0
(In reply to olaf from comment #7) > Created attachment 142923 [details] > dmesg-4.20.0-1.gba5c149-vanilla.txt > > same kernel, non-dom0 Sorry for the delay, It would good to check if this error still appears on latest drmtip (https://cgit.freedesktop.org/drm-tip)..
Created attachment 143495 [details] dmesg-5.0.321-bko109099-drm-tip.txt.xz Was any work done to address the issue? drm-tip: 2019y-02m-28d-09h-34m-58s
> Was any work done to address the issue? Not that I am aware of. Anyway thanks for sending the latest dmesg, this might help in investigating the issue.
I don't see anything about vt-d in the boot log, but I'm tempted to blame it anyway. You could try something like this: diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h index 453af7438e67..5b4cd1dfd787 100644 --- a/drivers/gpu/drm/i915/i915_drv.h +++ b/drivers/gpu/drm/i915/i915_drv.h @@ -2593,6 +2593,7 @@ static inline unsigned int i915_sg_segment_size(void) static inline bool intel_vtd_active(void) { + return true; #ifdef CONFIG_INTEL_IOMMU if (intel_iommu_gfx_mapped) return true;
Yes, enforcing "intel_iommu_gfx_mapped" helps.
Created attachment 143509 [details] dmesg-5.0.321-bko109099-drm-tip.txt.xz drm-tip: 2019y-02m-28d-23h-15m-49s UTC
(In reply to Ville Syrjala from comment #11) > I don't see anything about vt-d in the boot log, but I'm tempted to blame it > anyway. > > You could try something like this: > > diff --git a/drivers/gpu/drm/i915/i915_drv.h > b/drivers/gpu/drm/i915/i915_drv.h > index 453af7438e67..5b4cd1dfd787 100644 > --- a/drivers/gpu/drm/i915/i915_drv.h > +++ b/drivers/gpu/drm/i915/i915_drv.h > @@ -2593,6 +2593,7 @@ static inline unsigned int i915_sg_segment_size(void) > > static inline bool intel_vtd_active(void) > { > + return true; > #ifdef CONFIG_INTEL_IOMMU > if (intel_iommu_gfx_mapped) > return true; (In reply to olaf from comment #12) > Yes, enforcing "intel_iommu_gfx_mapped" helps. @Ville, what are the next steps here?
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/202.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.