Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/linux-pae/acpi-c3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/linux-pae/acpi-c3.patch')
-rw-r--r--extra/linux-pae/acpi-c3.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/linux-pae/acpi-c3.patch b/extra/linux-pae/acpi-c3.patch
new file mode 100644
index 00000000..a5b79972
--- /dev/null
+++ b/extra/linux-pae/acpi-c3.patch
@@ -0,0 +1,12 @@
+diff -rauN a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
+--- a/drivers/acpi/processor_idle.c 2022-05-02 21:01:51.302162225 +0200
++++ b/drivers/acpi/processor_idle.c 2022-05-02 21:04:58.169438104 +0200
+@@ -796,6 +796,8 @@
+ cx->type == ACPI_STATE_C3) {
+ state->enter_dead = acpi_idle_play_dead;
+ drv->safe_state_index = count;
++ if (cx->type != ACPI_STATE_C3)
++ drv->safe_state_index = count;
+ }
+ /*
+ * Halt-induced C1 is not good for ->enter_s2idle, because it