Messages in this thread |  | | | Subject | RE: [ACPI] [PATCH][RFC] fix ACPI IRQ routing after S3 suspend | | Date | Fri, 20 Aug 2004 12:00:18 -0700 | | From | "Pallipadi, Venkatesh" <> |
| |
>-----Original Message----- >From: acpi-devel-admin@lists.sourceforge.net >[mailto:acpi-devel-admin@lists.sourceforge.net] On Behalf Of >Stefan Dösinger >Sent: Friday, August 20, 2004 9:36 AM >To: Nathan Bryant >Cc: acpi-devel@lists.sourceforge.net; Brown, Len; Linux Kernel >list; Li, Shaohua >Subject: Re: [ACPI] [PATCH][RFC] fix ACPI IRQ routing after S3 suspend > >Am Freitag, 20. August 2004 14:18 schrieb Nathan Bryant: >> Stefan - >> >> Also - did suspend/resume for the ipw2100 ever work under any kernel >> version? >Yes, it works with acpi=noirq at least up to 2.6.7(not tested >with later >versions, but I'm sure it does) >It works with 2.6.8-rc2 and 2.6.8-rc4 and 2.6.8.1 with acpi IRQs and a >modified dsdt which forces LNKE to IRQ 10. I attached a dmesg >output of a >successful resume. > >Cheers, >Stefan
This seems to be the same resume order issue, that Shaohua is hitting.
On my system the resume order looks like this: Resuming System Devices Resuming type 'cpu': cpu0 aux driver resume 0xc010e410 (mtrr_restore) aux driver resume 0xc03365f0 (cpufreq_resume) Resuming type 'i8259': i82590 Resuming type 'timer': timer0 Resuming type 'pit': pit0 Resuming type 'lapic': lapic0 Resuming type 'irqrouter': irqrouter0 Resuming type 'i8042': i80420
The current theory I have for this issue is we resume pci_link driver A bit too late, which is causing this problem.
Say a particular device doesn't do anything for suspend and resume. So, as soon as we resume this particular device can start generating interrupts. Once we have PIC enabled, it starts sending interrupts and no one handles that original IRQ. As pci_link that resumes later is reprogramming the device to different IRQ, where the driver is handling the device.
That's probably the reason why it works with acpi=noirq or modified DSDT. Does it make sense?
I think we have to resume pci_link device before PIC. We should be able to achieve this my changing the makefile orders.
Thanks, Venki
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |