diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-05-24 04:19:21 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-05-24 04:24:43 +0200 |
commit | e9d3becf4bc982a613f25e0ede0dc4a4c7864c07 (patch) | |
tree | a2fed3d7c9b0bae4534a81faaf49b231ddf1b5fc /kernels/linux-libre-x86_64/0006-ACPI-PM-s2idle-Rework-ACPI-events-synchronization.patch | |
parent | 4c932f5681f154e2b9cd329a9b982d76642318fb (diff) | |
download | abslibre-e9d3becf4bc982a613f25e0ede0dc4a4c7864c07.tar.gz abslibre-e9d3becf4bc982a613f25e0ede0dc4a4c7864c07.tar.bz2 abslibre-e9d3becf4bc982a613f25e0ede0dc4a4c7864c07.zip |
kernels: remove linux-libre-x86_64
This kernel has been replaced by linux-libre-64 in libre in an
attempt to unify all 64bit kernels made for 32bit rootfs.
This has been tested on a Lenovo Thinkpad X200 running a fully
free version of Coreboot 4.9 (no microcode or other nonfree
binaries).
The only regresion that I noticed is that beside having the
following line in /etc/mkinitcpio.conf:
MODULES=(i915 netconsole)
The i915 driver seem to be loaded late in the boot process
as I can only see notice a resolution change about when the
rootfs is mounted and that init is started.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'kernels/linux-libre-x86_64/0006-ACPI-PM-s2idle-Rework-ACPI-events-synchronization.patch')
-rw-r--r-- | kernels/linux-libre-x86_64/0006-ACPI-PM-s2idle-Rework-ACPI-events-synchronization.patch | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/kernels/linux-libre-x86_64/0006-ACPI-PM-s2idle-Rework-ACPI-events-synchronization.patch b/kernels/linux-libre-x86_64/0006-ACPI-PM-s2idle-Rework-ACPI-events-synchronization.patch deleted file mode 100644 index 7b749ce70..000000000 --- a/kernels/linux-libre-x86_64/0006-ACPI-PM-s2idle-Rework-ACPI-events-synchronization.patch +++ /dev/null @@ -1,78 +0,0 @@ -From f74b67cce5f0c5c37b0c5cb0020a818f0594a743 Mon Sep 17 00:00:00 2001 -From: "Rafael J. Wysocki" <rafael.j.wysocki@intel.com> -Date: Thu, 28 Nov 2019 23:50:40 +0100 -Subject: [PATCH 06/13] ACPI: PM: s2idle: Rework ACPI events synchronization - -Note that the EC GPE processing need not be synchronized in -acpi_s2idle_wake() after invoking acpi_ec_dispatch_gpe(), because -that function checks the GPE status and dispatches its handler if -need be and the SCI action handler is not going to run anyway at -that point. - -Moreover, it is better to drain all of the pending ACPI events -before restoring the working-state configuration of GPEs in -acpi_s2idle_restore(), because those events are likely to be related -to system wakeup, in which case they will not be relevant going -forward. - -Rework the code to take these observations into account. - -Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> ---- - drivers/acpi/sleep.c | 26 +++++++++++++++++++------- - 1 file changed, 19 insertions(+), 7 deletions(-) - -diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c -index 2af937a8b1c5..6747a279621b 100644 ---- a/drivers/acpi/sleep.c -+++ b/drivers/acpi/sleep.c -@@ -977,6 +977,16 @@ static int acpi_s2idle_prepare_late(void) - return 0; - } - -+static void acpi_s2idle_sync(void) -+{ -+ /* -+ * The EC driver uses the system workqueue and an additional special -+ * one, so those need to be flushed too. -+ */ -+ acpi_ec_flush_work(); -+ acpi_os_wait_events_complete(); /* synchronize Notify handling */ -+} -+ - static void acpi_s2idle_wake(void) - { - /* -@@ -1001,13 +1011,8 @@ static void acpi_s2idle_wake(void) - * should be missed by canceling the wakeup here. - */ - pm_system_cancel_wakeup(); -- /* -- * The EC driver uses the system workqueue and an additional -- * special one, so those need to be flushed too. -- */ -- acpi_os_wait_events_complete(); /* synchronize EC GPE processing */ -- acpi_ec_flush_work(); -- acpi_os_wait_events_complete(); /* synchronize Notify handling */ -+ -+ acpi_s2idle_sync(); - - rearm_wake_irq(acpi_sci_irq); - } -@@ -1024,6 +1029,13 @@ static void acpi_s2idle_restore_early(void) - - static void acpi_s2idle_restore(void) - { -+ /* -+ * Drain pending events before restoring the working-state configuration -+ * of GPEs. -+ */ -+ acpi_os_wait_events_complete(); /* synchronize GPE processing */ -+ acpi_s2idle_sync(); -+ - s2idle_wakeup = false; - - acpi_enable_all_runtime_gpes(); --- -2.24.1 - |