index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2022-05-02 21:14:24 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2022-05-02 21:14:24 +0200 |
commit | fc25ed0e5ef3202458be8079a61e918e383af9d8 (patch) | |
tree | fa94a47bc118a3c4a0712b1d8d340a1edcc5d7ab /extra/linux-zen | |
parent | 39fda4d8e8292e5c4eafb2e92a260bf03827fe83 (diff) |
-rw-r--r-- | extra/linux-zen/acpi-c3.patch | 12 | ||||
-rw-r--r-- | extra/linux-zen/no-ultra-zstd.patch | 15 |
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 |