public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* ACPI vs. hibernate on MacBook5,1
@ 2009-04-15 13:34 Johannes Berg
  2009-04-15 13:56 ` Mattia Dongili
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2009-04-15 13:34 UTC (permalink / raw)
  To: linux-acpi; +Cc: Len Brown, Rafael J. Wysocki

[-- Attachment #1: Type: text/plain, Size: 2505 bytes --]

Recently, since I upgraded to -rc1, I've been seeing this at hibernate:

[13875.384603] ACPI: Preparing to enter system sleep state S4
[13875.385232] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320]
[13875.385745] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320]
[13875.386244] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS
[13875.386896] ACPI Error (psparse-0537): Method parse/execution failed [\_PTS] (Node ffff88007e44edd0), AE_AML_ILLEGAL_ADDRESS
[13875.387584] PM: Saving platform NVS memory

[13875.960748] ACPI: Waking up from system sleep state S4
[13875.969861] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320]
[13875.979217] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320]
[13875.988885] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS
[13875.998930] ACPI Error (psparse-0537): Method parse/execution failed [\_WAK] (Node ffff88007e44ee38), AE_AML_ILLEGAL_ADDRESS
[13876.008648] ACPI Exception (hwsleep-0589): AE_AML_ILLEGAL_ADDRESS, During Method _WAK [20090320]

Sometimes it also delays hibernate and/or resume a long time. Or maybe
that's unrelated:

[55143.680741] ACPI: Waking up from system sleep state S4
[55143.689834] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320]
[55143.699183] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320]
[55143.708843] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS
[55143.718881] ACPI Error (psparse-0537): Method parse/execution failed [\_WAK] (Node ffff88007e44ee38), AE_AML_ILLEGAL_ADDRESS
[55143.728585] ACPI Exception (hwsleep-0589): AE_AML_ILLEGAL_ADDRESS, During Method _WAK [20090320]
[55143.738613] HDA Intel 0000:00:08.0: restoring config space at offset 0x1 (was 0xb00006, writing 0xb00002)
[55143.748157] forcedeth 0000:00:0a.0: restoring config space at offset 0x1 (was 0xb00003, writing 0xb00007)
[55143.757701] ahci 0000:00:0b.0: restoring config space at offset 0x1 (was 0xb00403, writing 0xb00407)
[55164.200732] pci 0000:00:03.2: PME# disabled

(look at the timing)

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI vs. hibernate on MacBook5,1
  2009-04-15 13:34 ACPI vs. hibernate on MacBook5,1 Johannes Berg
@ 2009-04-15 13:56 ` Mattia Dongili
  2009-04-15 15:48   ` Johannes Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Mattia Dongili @ 2009-04-15 13:56 UTC (permalink / raw)
  To: Johannes Berg; +Cc: linux-acpi, Len Brown, Rafael J. Wysocki

On Wed, Apr 15, 2009 at 03:34:39PM +0200, Johannes Berg wrote:
> Recently, since I upgraded to -rc1, I've been seeing this at hibernate:
> 
> [13875.384603] ACPI: Preparing to enter system sleep state S4
> [13875.385232] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320]
> [13875.385745] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320]
> [13875.386244] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS
> [13875.386896] ACPI Error (psparse-0537): Method parse/execution failed [\_PTS] (Node ffff88007e44edd0), AE_AML_ILLEGAL_ADDRESS
> [13875.387584] PM: Saving platform NVS memory

there are patches for this here:
http://bugzilla.kernel.org/show_bug.cgi?id=13036
This should be the final one:
http://bugzilla.kernel.org/attachment.cgi?id=20913
Does it help?
-- 
mattia
:wq!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI vs. hibernate on MacBook5,1
  2009-04-15 13:56 ` Mattia Dongili
@ 2009-04-15 15:48   ` Johannes Berg
  2009-04-15 16:13     ` Len Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Johannes Berg @ 2009-04-15 15:48 UTC (permalink / raw)
  To: Mattia Dongili; +Cc: linux-acpi, Len Brown, Rafael J. Wysocki

[-- Attachment #1: Type: text/plain, Size: 1208 bytes --]

On Wed, 2009-04-15 at 22:56 +0900, Mattia Dongili wrote:
> On Wed, Apr 15, 2009 at 03:34:39PM +0200, Johannes Berg wrote:
> > Recently, since I upgraded to -rc1, I've been seeing this at hibernate:
> > 
> > [13875.384603] ACPI: Preparing to enter system sleep state S4
> > [13875.385232] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320]
> > [13875.385745] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320]
> > [13875.386244] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS
> > [13875.386896] ACPI Error (psparse-0537): Method parse/execution failed [\_PTS] (Node ffff88007e44edd0), AE_AML_ILLEGAL_ADDRESS
> > [13875.387584] PM: Saving platform NVS memory
> 
> there are patches for this here:
> http://bugzilla.kernel.org/show_bug.cgi?id=13036
> This should be the final one:
> http://bugzilla.kernel.org/attachment.cgi?id=20913
> Does it help?

Thanks, I'll give it a try later, but it seems like it would help to get
rid of the warnings, and the random delays I'm seeing are probably
something else.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: ACPI vs. hibernate on MacBook5,1
  2009-04-15 15:48   ` Johannes Berg
@ 2009-04-15 16:13     ` Len Brown
  0 siblings, 0 replies; 4+ messages in thread
From: Len Brown @ 2009-04-15 16:13 UTC (permalink / raw)
  To: Johannes Berg; +Cc: Mattia Dongili, linux-acpi, Rafael J. Wysocki

On Wed, 15 Apr 2009, Johannes Berg wrote:

> On Wed, 2009-04-15 at 22:56 +0900, Mattia Dongili wrote:
> > On Wed, Apr 15, 2009 at 03:34:39PM +0200, Johannes Berg wrote:
> > > Recently, since I upgraded to -rc1, I've been seeing this at hibernate:
> > > 
> > > [13875.384603] ACPI: Preparing to enter system sleep state S4
> > > [13875.385232] ACPI Error (hwvalid-0186): Denied AML access to port 0x0000000000000080/2 (DMA1 0x0081-0x0083) [20090320]
> > > [13875.385745] ACPI Exception (evregion-0422): AE_AML_ILLEGAL_ADDRESS, Returned by Handler for [SystemIO] [20090320]
> > > [13875.386244] ACPI Error (psparse-0537): Method parse/execution failed [\P8XH] (Node ffff88007e44ef70), AE_AML_ILLEGAL_ADDRESS
> > > [13875.386896] ACPI Error (psparse-0537): Method parse/execution failed [\_PTS] (Node ffff88007e44edd0), AE_AML_ILLEGAL_ADDRESS
> > > [13875.387584] PM: Saving platform NVS memory
> > 
> > there are patches for this here:
> > http://bugzilla.kernel.org/show_bug.cgi?id=13036
> > This should be the final one:
> > http://bugzilla.kernel.org/attachment.cgi?id=20913
> > Does it help?
> 
> Thanks, I'll give it a try later, but it seems like it would help to get
> rid of the warnings, and the random delays I'm seeing are probably
> something else.

Agreed.
The AML is doing a 2-byte write to port 80.
Linux complains b/c we told it that port 81 is protected,
and we throw away the write.

However, port 80 is just the debug port, so I think that
this blocking and this warning will have no effect on
the function of your system.

BTW.
this message should be gone in 2.6.30-rc2, as we deleted the block
for port 81 until we could figure out the path that we took in
the bugzilla above.

commit fdbdc7fc79c02ae4ede869d514179a2c65633d28
Author: Len Brown <len.brown@intel.com>
Date:   Tue Apr 7 17:33:58 2009 -0400

    ACPICA: delete check for AML access to port 0x81-83


thanks,
Len Brown, Intel Open Source Technology Center


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-15 16:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-15 13:34 ACPI vs. hibernate on MacBook5,1 Johannes Berg
2009-04-15 13:56 ` Mattia Dongili
2009-04-15 15:48   ` Johannes Berg
2009-04-15 16:13     ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox