[linux] 01/02: [x86] drm/i915: shut up gen8+ SDE irq dmesg noise (Closes: #806304)

debian-kernel at lists.debian.org debian-kernel at lists.debian.org
Fri Nov 27 16:16:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

benh pushed a commit to branch master
in repository linux.

commit fd13855f777dea69cac3ae5314bc20c73e1bc2af
Author: Ben Hutchings <ben at decadent.org.uk>
Date:   Thu Nov 26 20:47:26 2015 +0000

    [x86] drm/i915: shut up gen8+ SDE irq dmesg noise (Closes: #806304)
---
 debian/changelog                                   |  1 +
 ...drm-i915-shut-up-gen8-sde-irq-dmesg-noise.patch | 66 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 3 files changed, 68 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index f8a4c1a..8f45fb9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,7 @@ linux (4.3-1~exp2) UNRELEASED; urgency=medium
     and dwmac-sunxi to nic-modules (Closes: #805098)
   * aufs: Update support patches to aufs4.3-20151116
   * wireless: Enable WL_MEDIATEK, MT7601U as module
+  * [x86] drm/i915: shut up gen8+ SDE irq dmesg noise (Closes: #806304)
 
   [ Ian Campbell ]
   * [armel/orion5x] Enable Device Tree for orion5x. Patch from Roger Shimizu
diff --git a/debian/patches/bugfix/x86/drm-i915-shut-up-gen8-sde-irq-dmesg-noise.patch b/debian/patches/bugfix/x86/drm-i915-shut-up-gen8-sde-irq-dmesg-noise.patch
new file mode 100644
index 0000000..fa97fb3
--- /dev/null
+++ b/debian/patches/bugfix/x86/drm-i915-shut-up-gen8-sde-irq-dmesg-noise.patch
@@ -0,0 +1,66 @@
+From: Daniel Vetter <daniel.vetter at ffwll.ch>
+Date: Fri, 23 Oct 2015 10:56:12 +0200
+Subject: drm/i915: shut up gen8+ SDE irq dmesg noise
+Origin: http://cgit.freedesktop.org/drm-intel/commit?id=97e5ed1111dcc5300a0f59a55248cd243937a8ab
+
+We get tons of cases where the master interrupt handler apparently set
+a bit, with the SDEIIR disagreeing. No idea what's going on there, but
+it's consistent on gen8+, no one seems to care about it and it's
+making CI results flaky.
+
+Shut it up.
+
+No idea what's going on here, but we've had fun with PCH interrupts
+before:
+
+commit 44498aea293b37af1d463acd9658cdce1ecdf427
+Author: Paulo Zanoni <paulo.r.zanoni at intel.com>
+Date:   Fri Feb 22 17:05:28 2013 -0300
+
+    drm/i915: also disable south interrupts when handling them
+
+Note that there's a regression report in Bugzilla, and other
+regression reports on the mailing lists keep croping up. But no ill
+effects have ever been reported. But for paranoia still keep the
+message at a debug level as a breadcrumb, just in case.
+
+This message was introduced in
+
+commit 38cc46d73ed99dd7002f1406002e52d7975d16cc
+Author: Oscar Mateo <oscar.mateo at intel.com>
+Date:   Mon Jun 16 16:10:59 2014 +0100
+
+    drm/i915/bdw: Ack interrupts before handling them (GEN8)
+
+v2: Improve commit message a bit.
+
+Cc: Paulo Zanoni <paulo.r.zanoni at intel.com>
+Signed-off-by: Daniel Vetter <daniel.vetter at intel.com>
+Link: http://patchwork.freedesktop.org/patch/msgid/1445590572-23631-2-git-send-email-daniel.vetter@ffwll.ch
+Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=92084
+Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80896
+Acked-by: Mika Kuoppala <mika.kuoppala at intel.com>
+Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
+---
+ drivers/gpu/drm/i915/i915_irq.c | 10 +++++++---
+ 1 file changed, 7 insertions(+), 3 deletions(-)
+
+--- a/drivers/gpu/drm/i915/i915_irq.c
++++ b/drivers/gpu/drm/i915/i915_irq.c
+@@ -2168,9 +2168,13 @@ static irqreturn_t gen8_irq_handler(int
+ 			I915_WRITE(SDEIIR, pch_iir);
+ 			ret = IRQ_HANDLED;
+ 			cpt_irq_handler(dev, pch_iir);
+-		} else
+-			DRM_ERROR("The master control interrupt lied (SDE)!\n");
+-
++		} else {
++			/*
++			 * Like on previous PCH there seems to be something
++			 * fishy going on with forwarding PCH interrupts.
++			 */
++			DRM_DEBUG_DRIVER("The master control interrupt lied (SDE)!\n");
++		}
+ 	}
+ 
+ 	I915_WRITE_FW(GEN8_MASTER_IRQ, GEN8_MASTER_IRQ_CONTROL);
diff --git a/debian/patches/series b/debian/patches/series
index 13d3234..18281fc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -90,3 +90,4 @@ bugfix/all/rds-fix-race-condition-when-sending-a-message-on-unbound-socket.patch
 bugfix/all/media-media-vivid-osd-fix-info-leak-in-ioctl.patch
 bugfix/x86/kvm-x86-vmx-avoid-guest-host-dos-by-intercepting-ac.patch
 bugfix/x86/kvm-x86-svm-intercept-ac-to-avoid-guest-host-exploit.patch
+bugfix/x86/drm-i915-shut-up-gen8-sde-irq-dmesg-noise.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/kernel/linux.git



More information about the Kernel-svn-changes mailing list