summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/platform-quirks.c
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2017-11-27 11:11:44 +0300
committerThomas Gleixner <tglx@linutronix.de>2018-01-14 23:11:53 +0300
commite348caef8b4a161cc27bec8f7500b7e100370ef1 (patch)
tree7984f414a27c8c1a5206476ba08bbb6197134108 /arch/x86/kernel/platform-quirks.c
parent32c9c801a853f181448ed4e8730168c556f9e05a (diff)
downloadlinux-e348caef8b4a161cc27bec8f7500b7e100370ef1.tar.xz
x86/platform: Control warm reset setup via legacy feature flag
Allow to turn off the setup of BIOS-managed warm reset via a new flag in x86_legacy_features. Besides the UV1, the upcoming jailhose guest support needs this switched off. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: jailhouse-dev@googlegroups.com Link: https://lkml.kernel.org/r/44376558129d70a2c1527959811371ef4b82e829.1511770314.git.jan.kiszka@siemens.com
Diffstat (limited to 'arch/x86/kernel/platform-quirks.c')
-rw-r--r--arch/x86/kernel/platform-quirks.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/kernel/platform-quirks.c b/arch/x86/kernel/platform-quirks.c
index 39a59299bfa0..235fe6008ac8 100644
--- a/arch/x86/kernel/platform-quirks.c
+++ b/arch/x86/kernel/platform-quirks.c
@@ -9,6 +9,7 @@ void __init x86_early_init_platform_quirks(void)
{
x86_platform.legacy.i8042 = X86_LEGACY_I8042_EXPECTED_PRESENT;
x86_platform.legacy.rtc = 1;
+ x86_platform.legacy.warm_reset = 1;
x86_platform.legacy.reserve_bios_regions = 0;
x86_platform.legacy.devices.pnpbios = 1;