From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758871AbZBBWt0 (ORCPT ); Mon, 2 Feb 2009 17:49:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752809AbZBBWtS (ORCPT ); Mon, 2 Feb 2009 17:49:18 -0500 Received: from gate.crashing.org ([63.228.1.57]:41959 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752596AbZBBWtR (ORCPT ); Mon, 2 Feb 2009 17:49:17 -0500 Subject: Re: PCI PM: Restore standard config registers of all devices early From: Benjamin Herrenschmidt To: Linus Torvalds Cc: "Rafael J. Wysocki" , Linux Kernel Mailing List , Jesse Barnes , Andreas Schwab , Len Brown , Ingo Molnar In-Reply-To: References: <200901261904.n0QJ4Q9c016709@hera.kernel.org> <200902022239.02453.rjw@sisk.pl> Content-Type: text/plain Date: Tue, 03 Feb 2009 09:48:47 +1100 Message-Id: <1233614927.18767.121.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2009-02-02 at 14:05 -0800, Linus Torvalds wrote: > Well, I don't think anybody wants to (or necessarily has the ability) > touch ACPI internals. > Somebody has a rough idea of what underlying kernel support ACPI uses ? I know from discussions with Len that it's mostly mutexes... timers too ? It might end up being trivial to make it safe to call early with interrupts off with the trick you mentioned, since it's really just the same as boot as you mentioned.. ie, it's actually safe to take mutexes etc... since we -know- no other CPU is running and we aren't scheduling etc... Ben.