From: Steven Rostedt Subject: Re: [Intel-gfx] BUG: sleeping function called from invalid context on 3.10.10-rt7 Date: Fri, 11 Oct 2013 08:37:57 -0400 Message-ID: <20131011083757.7d3db58c@gandalf.local.home> References: <5230895B.5070400@hurleysoftware.com> <20130911113845.6d56a556@gandalf.local.home> <5230C52E.3050801@hurleysoftware.com> <5238B288.3000704@hurleysoftware.com> <523CC728.4040302@tuebingen.mpg.de> <20130923083841.GT4531@intel.com> <5242674A.8020100@tuebingen.mpg.de> <20130925101301.6cbe5d0f@gandalf.local.home> <52445DEF.1060007@gmail.com> <20131011101800.GE6983@linutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20131011101800.GE6983@linutronix.de> Sender: linux-rt-users-owner@vger.kernel.org To: Sebastian Andrzej Siewior Cc: Mario Kleiner , Mario Kleiner , Peter Hurley , Clark Williams , Daniel Vetter , LKML , "dri-devel@lists.freedesktop.org" , Dave Airlie , Thomas Gleixner , "Luis Claudio R. Goncalves" , intel-gfx , linux-rt-users , Ville =?UTF-8?B?U3lyasOkbMOk?= List-Id: dri-devel@lists.freedesktop.org On Fri, 11 Oct 2013 12:18:00 +0200 Sebastian Andrzej Siewior wrote: > * Mario Kleiner | 2013-09-26 18:16:47 [+0200]: > > >Good! I will do that. Thanks for clarifying the irq and constraints > >on raw locks in the other thread. > > Are there any suggestions for "now"? preempt_disable_nort() like Luis > suggesed? > The preempt_disable_nort() is rather pointless, because the preempt_disable() was added specifically for -rt. When PREEMPT_RT is not enabled, preemption is disabled there already by the previous calls to spin_lock(). -- Steve