From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754576AbbHIOAF (ORCPT ); Sun, 9 Aug 2015 10:00:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58519 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753972AbbHIOAA (ORCPT ); Sun, 9 Aug 2015 10:00:00 -0400 Subject: Re: Boot crash with 659006b x86/x2apic: Split enable and setup function To: Thomas Gleixner References: <55C75AEB.4070703@redhat.com> Cc: Jiang Liu , Joerg Roedel , Tony Luck , Borislav Petkov , javiermon@gmail.com, x86@kernel.org, Linux Kernel Mailing List From: Laura Abbott Message-ID: <55C75CDD.5080109@redhat.com> Date: Sun, 9 Aug 2015 06:59:57 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55C75AEB.4070703@redhat.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org (missed the LKML cc apologies for the noise) On 08/09/2015 06:51 AM, Laura Abbott wrote: > Hi, > > We received a report[1] of an early boot crash. The reporter had difficulty getting a full > kernel log to view and only had a screenshot which showed a crash in native_apic_mem_read > (full screenshot available at the bugzilla along with dmesg from working kernel) > > Bisection identified the following commit: > > commit 659006bf3ae37a08706907ce1a36ddf57c9131d2 > Author: Thomas Gleixner > Date: Thu Jan 15 21:22:26 2015 +0000 > > x86/x2apic: Split enable and setup function > > enable_x2apic() is a convoluted unreadable mess because it is used for > both enablement in early boot and for setup in cpu_init(). > > Split the code into x2apic_enable() for enablement and x2apic_setup() > for setup of (secondary cpus). Make use of the new state tracking to > simplify the logic. > > Signed-off-by: Thomas Gleixner > Cc: Jiang Liu > Cc: Joerg Roedel > Cc: Tony Luck > Cc: Borislav Petkov > Link: http://lkml.kernel.org/r/20150115211703.129287153@linutronix.de > Signed-off-by: Thomas Gleixner > > The report indicates that if local x2apic is disabled in the BIOS the kernel boots. > > Any ideas? > > Thanks, > Laura > > [1]https://bugzilla.redhat.com/show_bug.cgi?id=1224764