Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/linux-zen
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-05-02 21:14:24 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-05-02 21:14:24 +0200
commitfc25ed0e5ef3202458be8079a61e918e383af9d8 (patch)
treefa94a47bc118a3c4a0712b1d8d340a1edcc5d7ab /extra/linux-zen
parent39fda4d8e8292e5c4eafb2e92a260bf03827fe83 (diff)
forgot to add some patches
Diffstat (limited to 'extra/linux-zen')
-rw-r--r--extra/linux-zen/acpi-c3.patch12
-rw-r--r--extra/linux-zen/no-ultra-zstd.patch15
2 files changed, 27 insertions, 0 deletions
diff --git a/extra/linux-zen/acpi-c3.patch b/extra/linux-zen/acpi-c3.patch
new file mode 100644
index 00000000..a5b79972
--- /dev/null
+++ b/extra/linux-zen/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
diff --git a/extra/linux-zen/no-ultra-zstd.patch b/extra/linux-zen/no-ultra-zstd.patch
new file mode 100644
index 00000000..8bab0c2c
--- /dev/null
+++ b/extra/linux-zen/no-ultra-zstd.patch
@@ -0,0 +1,15 @@
+diff -rauN a/scripts/Makefile.lib b/scripts/Makefile.lib
+--- a/scripts/Makefile.lib 2020-11-11 06:45:51.375133819 +0100
++++ b/scripts/Makefile.lib 2020-11-11 06:46:12.058448322 +0100
+@@ -499,9 +499,9 @@
+ cmd_zstd = cat $(real-prereqs) | $(ZSTD) -19 > $@
+
+ quiet_cmd_zstd22 = ZSTD22 $@
+- cmd_zstd22 = cat $(real-prereqs) | $(ZSTD) -22 --ultra > $@
++ cmd_zstd22 = cat $(real-prereqs) | $(ZSTD) -19 > $@
+
+ quiet_cmd_zstd22_with_size = ZSTD22 $@
+- cmd_zstd22_with_size = { cat $(real-prereqs) | $(ZSTD) -22 --ultra; $(size_append); } > $@
++ cmd_zstd22_with_size = { cat $(real-prereqs) | $(ZSTD) -19; $(size_append); } > $@
+
+ # ASM offsets