Great, I will send a proper patch. Thanks, Alex. >-----Original Message----- >From: Henrique de Moraes Holschuh [mailto:hmh@xxxxxxxxxx] >Sent: Friday, February 09, 2007 6:02 AM >To: Starikovskiy, Alexey Y >Cc: Alexey Starikovskiy; linux-acpi@xxxxxxxxxxxxxxx; Brown, Len >Subject: Re: Bad libata resume behaviour due to ACPICA change (in acpi- >test) > >On Thu, 08 Feb 2007, Starikovskiy, Alexey Y wrote: >> Please also try to set acpi_gbl_system_awake_and_running to true in the >> same place, if you find that disable_all_gpes() is called not once... > >Here's what happens if I "acpi_gbl_system_awake_and_running = true;" right >after the call to acpi_hw_disable_all_gpes(); > >It stops the annoying the delay all right, as it won't loop anymore: > >Feb 9 00:50:00 thorin kernel: Stopping tasks ... done. >Feb 9 00:50:00 thorin kernel: Suspending console(s) >Feb 9 00:50:00 thorin kernel: pnp: Device 00:09 disabled. >Feb 9 00:50:00 thorin kernel: ACPI: PCI interrupt for device 0000:00:1e.2 >disabled >Feb 9 00:50:00 thorin kernel: ACPI: PCI interrupt for device 0000:00:1d.7 >disabled >Feb 9 00:50:00 thorin kernel: ACPI: PCI interrupt for device 0000:00:1d.3 >disabled >Feb 9 00:50:00 thorin kernel: ACPI: PCI interrupt for device 0000:00:1d.2 >disabled >Feb 9 00:50:00 thorin kernel: ACPI: PCI interrupt for device 0000:00:1d.1 >disabled >Feb 9 00:50:00 thorin kernel: ACPI: PCI interrupt for device 0000:00:1d.0 >disabled >Feb 9 00:50:00 thorin kernel: hwsleep-0315 [03] enter_sleep_state : >Entering sleep state [S3] >Feb 9 00:50:00 thorin kernel: Intel machine check architecture supported. >Feb 9 00:50:00 thorin kernel: Intel machine check reporting enabled on >CPU#0. >Feb 9 00:50:00 thorin kernel: Back to C! >Feb 9 00:50:00 thorin kernel: ACPI-DEBUG: before >acpi_hw_disable_all_gpes() >Feb 9 00:50:00 thorin kernel: ACPI-DEBUG: after acpi_hw_disable_all_gpes() >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:01.0 at offset 7 (was 20002020, writing 2020) >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:00:01.0[A] -> GSI >16 (level, low) -> IRQ 16 >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:01.0 to 64 >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1c.0 at offset 7 (was f0, writing 200000f0) >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:00:1c.0[A] -> GSI >20 (level, low) -> IRQ 17 >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:1c.0 to 64 >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:00:1c.2[C] -> GSI >22 (level, low) -> IRQ 18 >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:1c.2 to 64 >Feb 9 00:50:00 thorin kernel: PCI: Enabling device 0000:00:1d.0 (0000 -> >0001) >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:00:1d.0[A] -> GSI >16 (level, low) -> IRQ 16 >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:1d.0 to 64 >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.0 at offset f (was 100, writing 10b) >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.0 at offset 8 (was 1, writing 1801) >Feb 9 00:50:00 thorin kernel: usb usb2: root hub lost power or was reset >Feb 9 00:50:00 thorin kernel: PCI: Enabling device 0000:00:1d.1 (0000 -> >0001) >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:00:1d.1[B] -> GSI >17 (level, low) -> IRQ 20 >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:1d.1 to 64 >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.1 at offset f (was 200, writing 20b) >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.1 at offset 8 (was 1, writing 1821) >Feb 9 00:50:00 thorin kernel: usb usb3: root hub lost power or was reset >Feb 9 00:50:00 thorin kernel: PCI: Enabling device 0000:00:1d.2 (0000 -> >0001) >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:00:1d.2[C] -> GSI >18 (level, low) -> IRQ 21 >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:1d.2 to 64 >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.2 at offset f (was 300, writing 30b) >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.2 at offset 8 (was 1, writing 1841) >Feb 9 00:50:00 thorin kernel: usb usb4: root hub lost power or was reset >Feb 9 00:50:00 thorin kernel: PCI: Enabling device 0000:00:1d.3 (0000 -> >0001) >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:00:1d.3[D] -> GSI >19 (level, low) -> IRQ 19 >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:1d.3 to 64 >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.3 at offset f (was 400, writing 40b) >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.3 at offset 8 (was 1, writing 1861) >Feb 9 00:50:00 thorin kernel: usb usb5: root hub lost power or was reset >Feb 9 00:50:00 thorin kernel: PCI: Enabling device 0000:00:1d.7 (0000 -> >0002) >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:00:1d.7[D] -> GSI >19 (level, low) -> IRQ 19 >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:1d.7 to 64 >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.7 at offset f (was 400, writing 40b) >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.7 at offset 4 (was 0, writing b0000000) >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1d.7 at offset 1 (was 2900006, writing 2900106) >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:1e.0 to 64 >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:00:1e.2[A] -> GSI >22 (level, low) -> IRQ 18 >Feb 9 00:50:00 thorin kernel: i810_audio: Primary codec has ID 0 >Feb 9 00:50:00 thorin kernel: ac97_codec: AC97 Audio codec, id: ADS116 >(Analog Devices AD1981B) >Feb 9 00:50:00 thorin kernel: PM: Writing back config space on device >0000:00:1f.2 at offset 1 (was 2b00005, writing 2b80005) >Feb 9 00:50:00 thorin kernel: PCI: Setting latency timer of device >0000:00:1f.2 to 64 >Feb 9 00:50:00 thorin kernel: ACPI: PCI Interrupt 0000:0b:00.0[A] -> GSI >16 (level, low) -> IRQ 16 >Feb 9 00:50:00 thorin kernel: pnp: Device 00:07 does not support >activation. >Feb 9 00:50:00 thorin kernel: pnp: Device 00:08 does not support >activation. >Feb 9 00:50:00 thorin kernel: pnp: Device 00:09 activated. >Feb 9 00:50:00 thorin kernel: ata1.00: configured for UDMA/100 >Feb 9 00:50:00 thorin kernel: SCSI device sda: 117210240 512-byte hdwr >sectors (60012 MB) >Feb 9 00:50:00 thorin kernel: sda: Write Protect is off >Feb 9 00:50:00 thorin kernel: sda: Mode Sense: 00 3a 00 00 >Feb 9 00:50:00 thorin kernel: SCSI device sda: write cache: enabled, read >cache: enabled, doesn't support DPO or FUA >Feb 9 00:50:00 thorin kernel: ata2.00: configured for UDMA/33 >Feb 9 00:50:00 thorin kernel: Restarting tasks ... done. >Feb 9 00:51:10 thorin kernel: Kernel logging (proc) stopped. > >-- > "One disk to rule them all, One disk to find them. One disk to bring > them all and in the darkness grind them. In the Land of Redmond > where the shadows lie." -- The Silicon Valley Tarot > Henrique Holschuh - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html