diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-11-30 14:34:25 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-11-30 14:34:25 -0500 |
commit | 1ec63573b2db363848abb313cc75eb29e9abc1b3 (patch) | |
tree | 3efb06fe490831e48f8708c4ac21f14f486bab58 /arch/x86/kernel/setup.c | |
parent | a1b3cf6d943800059adc262c4d839524c529db2d (diff) | |
parent | 60c8144afc287ef09ce8c1230c6aa972659ba1bb (diff) |
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar:
"Misc fixes:
- MCE related boot crash fix on certain AMD systems
- FPU exception handling fix
- FPU handling race fix
- revert+rewrite of the RSDP boot protocol extension, use boot_params
instead
- documentation fix"
* 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/MCE/AMD: Fix the thresholding machinery initialization order
x86/fpu: Use the correct exception table macro in the XSTATE_OP wrapper
x86/fpu: Disable bottom halves while loading FPU registers
x86/acpi, x86/boot: Take RSDP address from boot params if available
x86/boot: Mostly revert commit ae7e1238e68f2a ("Add ACPI RSDP address to setup_header")
x86/ptrace: Fix documentation for tracehook_report_syscall_entry()
Diffstat (limited to 'arch/x86/kernel/setup.c')
-rw-r--r-- | arch/x86/kernel/setup.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/arch/x86/kernel/setup.c b/arch/x86/kernel/setup.c index b74e7bfed6ab..d494b9bfe618 100644 --- a/arch/x86/kernel/setup.c +++ b/arch/x86/kernel/setup.c | |||
@@ -1280,23 +1280,6 @@ void __init setup_arch(char **cmdline_p) | |||
1280 | unwind_init(); | 1280 | unwind_init(); |
1281 | } | 1281 | } |
1282 | 1282 | ||
1283 | /* | ||
1284 | * From boot protocol 2.14 onwards we expect the bootloader to set the | ||
1285 | * version to "0x8000 | <used version>". In case we find a version >= 2.14 | ||
1286 | * without the 0x8000 we assume the boot loader supports 2.13 only and | ||
1287 | * reset the version accordingly. The 0x8000 flag is removed in any case. | ||
1288 | */ | ||
1289 | void __init x86_verify_bootdata_version(void) | ||
1290 | { | ||
1291 | if (boot_params.hdr.version & VERSION_WRITTEN) | ||
1292 | boot_params.hdr.version &= ~VERSION_WRITTEN; | ||
1293 | else if (boot_params.hdr.version >= 0x020e) | ||
1294 | boot_params.hdr.version = 0x020d; | ||
1295 | |||
1296 | if (boot_params.hdr.version < 0x020e) | ||
1297 | boot_params.hdr.acpi_rsdp_addr = 0; | ||
1298 | } | ||
1299 | |||
1300 | #ifdef CONFIG_X86_32 | 1283 | #ifdef CONFIG_X86_32 |
1301 | 1284 | ||
1302 | static struct resource video_ram_resource = { | 1285 | static struct resource video_ram_resource = { |