From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S964887Ab3BMRq5 (ORCPT ); Wed, 13 Feb 2013 12:46:57 -0500 Received: from mail-wi0-f182.google.com ([209.85.212.182]:58205 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934405Ab3BMRqz (ORCPT ); Wed, 13 Feb 2013 12:46:55 -0500 Date: Wed, 13 Feb 2013 18:46:50 +0100 (CET) From: John Kacur To: Thomas Gleixner cc: John Kacur , Steven Rostedt , LKML , RT , John Kacur , Clark Williams Subject: Re: [RFC][PATCH RT] acpi/rt: Convert acpi lock back to a raw_spinlock_t In-Reply-To: Message-ID: References: <1360765565.23152.5.camel@gandalf.local.home> User-Agent: Alpine 2.03 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 13 Feb 2013, Thomas Gleixner wrote: > On Wed, 13 Feb 2013, John Kacur wrote: > > > > Thanks Steven. That looks way better than the previous revert. > > I can't tell as I haven't seen the previous revert. And looks good is > not really a good review criteria. Absolutely true, and I wasn't claiming to have reviewed it, just wanted to let everyone know that testing on it was to begin. > > The patch is converting _all_ the spin_locks in acpi to raw spinlocks, > which will give you a nice bunch of "BUG: sleeping function called > from invalid context" splats depending on the ACPI functionality of > your machine. > > The lock which is related to this splat is: acpi_gbl_hardware_lock and > that's the only lock which can be safely converted to a raw spinlock. > > Untested patch below. > > Thanks, > > tglx Thank you Thomas, adding this version instead to our test queue. John -----------------SNIP