Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754450AbbEZPn5 (ORCPT ); Tue, 26 May 2015 11:43:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46623 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754419AbbEZPnw (ORCPT ); Tue, 26 May 2015 11:43:52 -0400 Date: Tue, 26 May 2015 10:43:43 -0500 From: Clark Williams To: Steven Rostedt Cc: Sebastian Andrzej Siewior , linux-rt-users , LKML , Thomas Gleixner , John Kacur Subject: Re: [ANNOUNCE] 4.0.4-rt1 Message-ID: <20150526104343.51fad474@sluggy> In-Reply-To: <20150526111924.20836deb@gandalf.local.home> References: <20150519213923.GA26363@linutronix.de> <20150526083449.5357059b@sluggy> <20150526093832.558e2e46@gandalf.local.home> <20150526084802.2cfd055b@sluggy> <20150526111924.20836deb@gandalf.local.home> Organization: Red Hat, Inc MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1718 Lines: 53 On Tue, 26 May 2015 11:19:24 -0400 Steven Rostedt wrote: > On Tue, 26 May 2015 08:48:02 -0500 > Clark Williams wrote: > > > > Change the WARN_ON to WARN_ON_NORT > > Do we have a WARN_ON_NORT? I see a WARN_ON_NONRT, but not a > WARN_ON_NORT. Does this compile? > > -- Steve Sigh. Of course not. Reupdated patch (and yes this one compiles): From: Clark Williams Date: Thu, 21 May 2015 12:51:53 -0500 Subject: [PATCH] [rt] i915: bogus warning from i915 when running on PREEMPT_RT The i915 driver has a 'WARN_ON(!in_interrupt())' in the display handler, which whines constanly on the RT kernel (since the interrupt is actually handled in a threaded handler and not actual interrupt context). Change the WARN_ON to WARN_ON_NORT Signed-off-by: Clark Williams --- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c index f75173c20f47..30b1d16caa0d 100644 --- a/drivers/gpu/drm/i915/intel_display.c +++ b/drivers/gpu/drm/i915/intel_display.c @@ -9745,7 +9745,7 @@ void intel_check_page_flip(struct drm_device *dev, int pipe) struct drm_crtc *crtc = dev_priv->pipe_to_crtc_mapping[pipe]; struct intel_crtc *intel_crtc = to_intel_crtc(crtc); - WARN_ON(!in_interrupt()); + WARN_ON_NONRT(!in_interrupt()); if (crtc == NULL) return; -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/