Re: PCI PM: Restore standard config registers of all devices early

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ingo Molnar
Date: Monday, February 2, 2009 - 10:06 pm

* Linus Torvalds <torvalds@linux-foundation.org> wrote:


Mutexes should work just fine in irqs-off sections - they'll safely 
save/restore interrupts, even the debug variants.

We used to have code in the mutex code that unconditionally enabled 
interrupts (a spin_unlock_irq() iirc) - but we fixed that pretty
early on because it surprised some early boot code. Maybe this is
the case you remember?

	Ingo
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 2:54 am)
Re: PCI PM: Restore standard config registers of all devic ..., Rafael J. Wysocki, (Mon Feb 2, 10:20 am)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 1:29 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 1:33 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 2:00 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 2:07 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 2:19 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 3:28 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 3:48 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 3:57 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 5:11 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 5:23 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 5:58 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 6:03 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 6:12 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 6:32 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 6:46 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 8:30 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 8:51 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 8:55 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 9:03 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 9:21 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Ingo Molnar, (Mon Feb 2, 10:06 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Mon Feb 2, 11:07 pm)
Reworking suspend-resume sequence (was: Re: PCI PM: Restor ..., Rafael J. Wysocki, (Tue Feb 3, 10:04 am)
Re: Reworking suspend-resume sequence (was: Re: PCI PM: Re ..., Benjamin Herrenschmidt, (Tue Feb 3, 2:02 pm)
Re: Reworking suspend-resume sequence (was: Re: PCI PM: Re ..., Benjamin Herrenschmidt, (Tue Feb 3, 2:11 pm)
Re: Reworking suspend-resume sequence (was: Re: PCI PM: Re ..., Benjamin Herrenschmidt, (Tue Feb 3, 3:33 pm)
Re: PCI PM: Restore standard config registers of all devic ..., Benjamin Herrenschmidt, (Tue Feb 3, 3:59 pm)
Re: Reworking suspend-resume sequence (was: Re: PCI PM: Re ..., Benjamin Herrenschmidt, (Tue Feb 3, 4:05 pm)
Re: Reworking suspend-resume sequence (was: Re: PCI PM: Re ..., Benjamin Herrenschmidt, (Tue Feb 3, 5:27 pm)
Re: Reworking suspend-resume sequence (was: Re: PCI PM: Re ..., Benjamin Herrenschmidt, (Wed Mar 4, 4:25 pm)
Re: Reworking suspend-resume sequence (was: Re: PCI PM: Re ..., Rafael J. Wysocki, (Thu Mar 5, 12:09 pm)