aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/x86/patches-4.19/200-pcengines-apu2-reboot.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-11-01 18:03:00 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2019-01-12 22:40:36 +0100
commit75fdf3ba01e9379f4301ccbaf3eeedf0923076f1 (patch)
treec9da11ab45a2e400101b6cbd60f1c5bfb821024b /target/linux/x86/patches-4.19/200-pcengines-apu2-reboot.patch
parentf6e0ecdcebeb0cd8c595026dd7ace896fc89b7c3 (diff)
downloadupstream-75fdf3ba01e9379f4301ccbaf3eeedf0923076f1.tar.gz
upstream-75fdf3ba01e9379f4301ccbaf3eeedf0923076f1.tar.bz2
upstream-75fdf3ba01e9379f4301ccbaf3eeedf0923076f1.zip
x86: Add support for kernel 4.19
This adds initial support for kernel 4.19 to the x86 target. The patches and the kernel configurations were copied from kernel 4.14 and then refreshed. The legacy and the genode target will not support PAE any more because they use a CPU type which does not support PAE, the generic sub target still supports PAE. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'target/linux/x86/patches-4.19/200-pcengines-apu2-reboot.patch')
-rw-r--r--target/linux/x86/patches-4.19/200-pcengines-apu2-reboot.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/target/linux/x86/patches-4.19/200-pcengines-apu2-reboot.patch b/target/linux/x86/patches-4.19/200-pcengines-apu2-reboot.patch
new file mode 100644
index 0000000000..048dfae04e
--- /dev/null
+++ b/target/linux/x86/patches-4.19/200-pcengines-apu2-reboot.patch
@@ -0,0 +1,19 @@
+--- a/arch/x86/kernel/reboot.c
++++ b/arch/x86/kernel/reboot.c
+@@ -448,6 +448,16 @@ static const struct dmi_system_id reboot
+ },
+ },
+
++ /* PC Engines */
++ { /* Handle problems with rebooting on PC Engines apu2 */
++ .callback = set_pci_reboot,
++ .ident = "PC Engines apu2",
++ .matches = {
++ DMI_MATCH(DMI_BOARD_VENDOR, "PC Engines"),
++ DMI_MATCH(DMI_BOARD_NAME, "apu2"),
++ },
++ },
++
+ /* Sony */
+ { /* Handle problems with rebooting on Sony VGN-Z540N */
+ .callback = set_bios_reboot,