Control: tag -1 patch moreinfo Also, does this patch fix the crash? (Instructions for rebuilding the package are at <https://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official>.)
Ben. -- Ben Hutchings For every complex problem there is a solution that is simple, neat, and wrong.
From 21285bd44b2144b121eeb35abed99fa6ece2a5a4 Mon Sep 17 00:00:00 2001 From: Ben Hutchings <b...@decadent.org.uk> Date: Mon, 24 Oct 2016 03:05:42 +0100 Subject: [PATCH] Revert "arch/x86: Handle non enumerated CPU after physical hotplug" This reverts commit 4927f9e7a267883ca0741d3fefa063faf43a9344, which was commit 2a51fe083eba7f99cbda72f5ef90cdf2f4df882c upstream. --- arch/x86/kernel/smpboot.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c index 82b17373b66a..75a045424be7 100644 --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1406,21 +1406,9 @@ __init void prefill_possible_map(void) { int i, possible; - /* No boot processor was found in mptable or ACPI MADT */ - if (!num_processors) { - int apicid = boot_cpu_physical_apicid; - int cpu = hard_smp_processor_id(); - - pr_warn("Boot CPU (id %d) not listed by BIOS\n", cpu); - - /* Make sure boot cpu is enumerated */ - if (apic->cpu_present_to_apicid(0) == BAD_APICID && - apic->apic_id_valid(apicid)) - generic_processor_info(apicid, boot_cpu_apic_version); - - if (!num_processors) - num_processors = 1; - } + /* no processor from mptable or madt */ + if (!num_processors) + num_processors = 1; i = setup_max_cpus ?: 1; if (setup_possible_cpus == -1) {
signature.asc
Description: This is a digitally signed message part