linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ACPI:remove panic in case hardware has changed after S4
@ 2013-07-11 12:14 oliver
  2013-07-11 20:50 ` joeyli
  0 siblings, 1 reply; 26+ messages in thread
From: oliver @ 2013-07-11 12:14 UTC (permalink / raw)
  To: lenb, rjw, trenn, linux-acpi; +Cc: Oliver Neukum

From: Oliver Neukum <oneukum@suse.de>

Some BIOSes change hardware based on the state of
a laptop's lid. If the lid is closed, the touchpad is
disabled and the checksum changes.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
---
 drivers/acpi/sleep.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 9c1a435..14744e5 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -664,11 +664,9 @@ static void acpi_hibernation_leave(void)
 	/* Reprogram control registers */
 	acpi_leave_sleep_state_prep(ACPI_STATE_S4);
 	/* Check the hardware signature */
-	if (facs && s4_hardware_signature != facs->hardware_signature) {
-		printk(KERN_EMERG "ACPI: Hardware changed while hibernated, "
-			"cannot resume!\n");
-		panic("ACPI S4 hardware signature mismatch");
-	}
+	if (facs && s4_hardware_signature != facs->hardware_signature)
+		printk(KERN_CRIT "ACPI: Hardware changed while hibernated, "
+			"success doubtful!\n");
 	/* Restore the NVS memory area */
 	suspend_nvs_restore();
 	/* Allow EC transactions to happen. */
-- 
1.8.1.4


^ permalink raw reply related	[flat|nested] 26+ messages in thread
* [PATCH] ACPI:remove panic in case hardware has changed after S4
@ 2013-07-15 11:43 oliver
  2013-07-15 11:55 ` Thomas Renninger
  2013-07-16  7:32 ` joeyli
  0 siblings, 2 replies; 26+ messages in thread
From: oliver @ 2013-07-15 11:43 UTC (permalink / raw)
  To: lenb, rjw, trenn, linux-acpi; +Cc: Oliver Neukum

From: Oliver Neukum <oneukum@suse.de>

Some BIOSes change hardware based on the state of
a laptop's lid. If the lid is closed, the touchpad is
disabled and the checksum changes. Windows 8 no longer
aborts resume if the checksum has changed.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
---
 drivers/acpi/sleep.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 9c1a435..14744e5 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -664,11 +664,9 @@ static void acpi_hibernation_leave(void)
 	/* Reprogram control registers */
 	acpi_leave_sleep_state_prep(ACPI_STATE_S4);
 	/* Check the hardware signature */
-	if (facs && s4_hardware_signature != facs->hardware_signature) {
-		printk(KERN_EMERG "ACPI: Hardware changed while hibernated, "
-			"cannot resume!\n");
-		panic("ACPI S4 hardware signature mismatch");
-	}
+	if (facs && s4_hardware_signature != facs->hardware_signature)
+		printk(KERN_CRIT "ACPI: Hardware changed while hibernated, "
+			"success doubtful!\n");
 	/* Restore the NVS memory area */
 	suspend_nvs_restore();
 	/* Allow EC transactions to happen. */
-- 
1.8.1.4


^ permalink raw reply related	[flat|nested] 26+ messages in thread
* [PATCH] ACPI:remove panic in case hardware has changed after S4
@ 2014-01-10  9:51 oliver
  2014-01-11  1:21 ` Rafael J. Wysocki
  0 siblings, 1 reply; 26+ messages in thread
From: oliver @ 2014-01-10  9:51 UTC (permalink / raw)
  To: linux-acpi, rjw, lenb, trenn; +Cc: Oliver Neukum

From: Oliver Neukum <oneukum@suse.de>

Some BIOSes change hardware based on the state of
a laptop's lid. If the lid is closed, the touchpad is
disabled and the checksum changes. Windows 8 no longer
aborts resume if the checksum has changed.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
---
 drivers/acpi/sleep.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index 9c1a435..14744e5 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -664,11 +664,9 @@ static void acpi_hibernation_leave(void)
 	/* Reprogram control registers */
 	acpi_leave_sleep_state_prep(ACPI_STATE_S4);
 	/* Check the hardware signature */
-	if (facs && s4_hardware_signature != facs->hardware_signature) {
-		printk(KERN_EMERG "ACPI: Hardware changed while hibernated, "
-			"cannot resume!\n");
-		panic("ACPI S4 hardware signature mismatch");
-	}
+	if (facs && s4_hardware_signature != facs->hardware_signature)
+		printk(KERN_CRIT "ACPI: Hardware changed while hibernated, "
+			"success doubtful!\n");
 	/* Restore the NVS memory area */
 	suspend_nvs_restore();
 	/* Allow EC transactions to happen. */
-- 
1.8.4


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

end of thread, other threads:[~2014-01-11  1:07 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-11 12:14 [PATCH] ACPI:remove panic in case hardware has changed after S4 oliver
2013-07-11 20:50 ` joeyli
2013-07-12  7:31   ` Thomas Renninger
2013-07-12  7:37   ` Thomas Renninger
2013-07-12  8:45     ` joeyli
2013-07-15 11:29       ` Oliver Neukum
2013-07-15 11:40         ` Rafael J. Wysocki
2013-07-15 11:44           ` Oliver Neukum
2013-07-15 13:59         ` joeyli
  -- strict thread matches above, loose matches on Subject: below --
2013-07-15 11:43 oliver
2013-07-15 11:55 ` Thomas Renninger
2013-07-15 12:09   ` Rafael J. Wysocki
2013-07-15 12:31   ` Henrique de Moraes Holschuh
2013-07-15 12:44     ` Thomas Renninger
2013-07-15 15:06       ` Henrique de Moraes Holschuh
2013-07-15 15:35         ` Oliver Neukum
2013-07-15 16:34           ` Henrique de Moraes Holschuh
2013-07-15 23:56             ` Rafael J. Wysocki
2013-07-16  7:30               ` Thomas Renninger
2013-07-17 14:58           ` Thomas Renninger
2013-07-17 22:09             ` Rafael J. Wysocki
2013-07-31 23:52               ` joeyli
2013-07-16  7:32 ` joeyli
2013-07-16 12:12   ` Rafael J. Wysocki
2014-01-10  9:51 oliver
2014-01-11  1:21 ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).