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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linus Torvalds
Date: Monday, February 2, 2009 - 3:15 pm

On Mon, 2 Feb 2009, Rafael J. Wysocki wrote:

Well, I'd agree, except I have this strong memory of us having known bugs 
with ACPI turning hard-interrupts on again. Similarly, it uses mutexes etc 
that simply don't work with interrupts off and/or may turn them on again 
thanks to scheduling.

"Fixing" that seems not very easy. ACPI has a bad habit of being _really_ 
hard to fix in this area.

I do agree that _if_ we can just fix ACPI, we wouldn't have these issues, 
and we should  just call it with interrupts disabled with our existing 
code. But my previous email was a "maybe we can do it like this" kind of 
thing, which might allow us to use ACPI with none of the irq-off issues.

		Linus
--
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 ..., Linus Torvalds, (Mon Feb 2, 3:15 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 ..., 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)