DHDAXCW-Rockchip-OpenWrt/target/linux/x86/patches-4.9/200-pcengines-apu2-reboot.patch
CN_SZTL 0625c87abb
kernel: bump 4.9 to 4.9.212 (#2964)
* kernel: bump 4.9 to 4.9.212

Refreshed all patches.

Fixes:
- CVE-2019-14896
- CVE-2019-14897

Compile-tested on: x86_64
Runtime-tested on: none

Signed-off-by: CN_SZTL <cnsztl@gmail.com>

* kernel4.9: remove patches for layerscape
2020-02-13 18:00:21 +08:00

20 lines
497 B
Diff

--- a/arch/x86/kernel/reboot.c
+++ b/arch/x86/kernel/reboot.c
@@ -470,6 +470,16 @@ static struct dmi_system_id __initdata r
},
},
+ /* 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,