mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
b71f3757c1
* modules/linux: add support for building with kernel 5.4.69 Add support to module, port patches from 4.19.139. Needed for newer platforms not supported by 4.19 kernel. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm> * CircleCI: add rysnc dependency for building kernel 5.x Signed-off-by: Matt DeVillier <matt.devillier@puri.sm> * Migrate all Librem boards to kernel 5.x, common config Update linux-librem_common.config from 4.x to 5.x, and add CONFIG items needed to support the librem_l1um (AST DRM drivers, serial port output). Tested on Librem 13v4, Librem Mini, and Librem Server L1UM. Signed-off-by: Matt DeVillier <matt.devillier@puri.sm>
33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
diff --recursive -u ./clean/linux-4.9.80/drivers/acpi/acpica/evxfevnt.c linux-4.9.80/drivers/acpi/acpica/evxfevnt.c
|
|
--- ./clean/linux-4.9.80/drivers/acpi/acpica/evxfevnt.c 2018-02-03 11:05:43.000000000 -0500
|
|
+++ linux-4.9.80/drivers/acpi/acpica/evxfevnt.c 2018-02-07 15:51:28.786502597 -0500
|
|
@@ -111,6 +111,8 @@
|
|
}
|
|
|
|
ACPI_ERROR((AE_INFO, "Hardware did not enter ACPI mode"));
|
|
+printk("%s:%d faking ACPI mode\n", __func__, __LINE__);
|
|
+ return_ACPI_STATUS(AE_OK);
|
|
return_ACPI_STATUS(AE_NO_HARDWARE_RESPONSE);
|
|
}
|
|
|
|
diff --recursive -u ./clean/linux-4.9.80/drivers/acpi/acpica/hwacpi.c linux-4.9.80/drivers/acpi/acpica/hwacpi.c
|
|
--- ./clean/linux-4.9.80/drivers/acpi/acpica/hwacpi.c 2018-02-03 11:05:43.000000000 -0500
|
|
+++ linux-4.9.80/drivers/acpi/acpica/hwacpi.c 2018-02-07 15:51:35.126557868 -0500
|
|
@@ -168,12 +168,16 @@
|
|
|
|
status = acpi_read_bit_register(ACPI_BITREG_SCI_ENABLE, &value);
|
|
if (ACPI_FAILURE(status)) {
|
|
+printk("%s:%d faking ACPI mode\n", __func__, __LINE__);
|
|
+ return_UINT32(ACPI_SYS_MODE_ACPI);
|
|
return_UINT32(ACPI_SYS_MODE_LEGACY);
|
|
}
|
|
|
|
if (value) {
|
|
return_UINT32(ACPI_SYS_MODE_ACPI);
|
|
} else {
|
|
+//printk("%s:%d faking ACPI mode\n", __func__, __LINE__);
|
|
+// return_UINT32(ACPI_SYS_MODE_ACPI);
|
|
return_UINT32(ACPI_SYS_MODE_LEGACY);
|
|
}
|
|
}
|