From patchwork Mon Jul 22 20:36:40 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Egbert Eich X-Patchwork-Id: 2831569 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id E5991C0319 for ; Mon, 22 Jul 2013 20:37:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0E831202F8 for ; Mon, 22 Jul 2013 20:37:00 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1D430202F7 for ; Mon, 22 Jul 2013 20:36:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E28E5E60D5 for ; Mon, 22 Jul 2013 13:36:58 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by gabe.freedesktop.org (Postfix) with ESMTP id 49BEAE5CCE for ; Mon, 22 Jul 2013 13:36:46 -0700 (PDT) Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 661C5A398F; Mon, 22 Jul 2013 22:36:44 +0200 (CEST) MIME-Version: 1.0 Message-ID: <20973.38872.684689.270371@linux-qknr.site> Date: Mon, 22 Jul 2013 22:36:40 +0200 From: Egbert Eich To: Jan Niggemann In-Reply-To: jn@hz6.de wrote on Monday, 22 July 2013 at 21:28:33 +0200 References: <2b828191fde71b2243f883e2dbb28d6d@hz6.de> <20130708200316.GG18285@phenom.ffwll.local> <20972.59257.635588.597578@linux-qknr.site> X-Mailer: VM 7.19 under Emacs 23.3.1 Cc: Egbert Eich , intel-gfx Subject: Re: [Intel-gfx] i915 irq storm mitigation in 3.10 X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+patchwork-intel-gfx=patchwork.kernel.org@lists.freedesktop.org X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Jan Niggemann writes: > Egbert, Daniel, others, > It's a Lenovo ThinkPad T400, the model is 7434-AG2. > root@muretop:~# lspci -n > 00:00.0 0600: 8086:2a40 (rev 07) > 00:02.0 0300: 8086:2a42 (rev 07) Ok, this is a gm45. > > As to the log: I messed up the kernel parameters this morning... was > out of coffee this morning and my 1,5y daughter played around me :-) > > Here's my kernel log with drm.debug and printk.time enabled: > Uncompressed (22M): http://files.hz6.de/kern_20130722.log These logs show that interrupts are still coming thru although they should be disabled. Could you try if the patch below makes any difference? Cheers, Egbert. From 70dae32e99799d15ddcedd5853514215624a8289 Mon Sep 17 00:00:00 2001 From: Egbert Eich Date: Mon, 22 Jul 2013 22:33:36 +0200 Subject: [PATCH] drm/i915: Make sure PORT_HOTPLUG_EN is written Add posting read to make sure PORT_HOTPLUG_EN is written in i915_hpd_irq_setup(). Signed-off-by: Egbert Eich --- drivers/gpu/drm/i915/i915_irq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/i915/i915_irq.c b/drivers/gpu/drm/i915/i915_irq.c index f708e4e..e43d809 100644 --- a/drivers/gpu/drm/i915/i915_irq.c +++ b/drivers/gpu/drm/i915/i915_irq.c @@ -2802,6 +2802,7 @@ static void i915_hpd_irq_setup(struct drm_device *dev) /* Ignore TV since it's buggy */ I915_WRITE(PORT_HOTPLUG_EN, hotplug_en); + POSTING_READ(PORT_HOTPLUG_EN); } }