From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752699AbdLANS6 (ORCPT ); Fri, 1 Dec 2017 08:18:58 -0500 Received: from mga02.intel.com ([134.134.136.20]:24705 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752463AbdLANS5 (ORCPT ); Fri, 1 Dec 2017 08:18:57 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,344,1508828400"; d="scan'208";a="1250697869" Date: Fri, 1 Dec 2017 15:18:52 +0200 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= To: Dou Liyang Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , yinghai@kernel.org, bhe@redhat.com, Ingo Molnar , "H. Peter Anvin" Subject: Re: [PATCH] Revert "x86/apic: Remove init_bsp_APIC()" Message-ID: <20171201131852.GE10981@intel.com> References: <20171128145350.21560-1-ville.syrjala@linux.intel.com> <2d6301d5-5ac4-48e1-a682-f70c67a16cb8@cn.fujitsu.com> <20171129212524.GD10981@intel.com> <0b26503d-b049-0b44-cb8b-c59ec1a78658@cn.fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0b26503d-b049-0b44-cb8b-c59ec1a78658@cn.fujitsu.com> User-Agent: Mutt/1.7.2 (2016-11-26) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Nov 30, 2017 at 02:28:18PM +0800, Dou Liyang wrote: > Hi, Ville > > At 11/30/2017 05:25 AM, Ville Syrjälä wrote: > > On Wed, Nov 29, 2017 at 09:15:19AM +0800, Dou Liyang wrote: > >> Hi Ville, > >> > >> At 11/28/2017 10:53 PM, Ville Syrjala wrote: > >>> From: Ville Syrjälä > >>> > >>> This reverts commit b371ae0d4a194b178817b0edfb6a7395c7aec37a. > >>> > >>> Causes my P3 UP machine to hang at boot with "lapic". > >>> > >>> Cc: Dou Liyang > >>> Cc: Thomas Gleixner > >>> Cc: yinghai@kernel.org > >>> Cc: bhe@redhat.com > >>> Cc: Ingo Molnar > >>> Cc: "H. Peter Anvin" > >>> Signed-off-by: Ville Syrjälä > >>> --- > >> > >> Could you give me the dmesg log of your P3 UP machine? > > > > This is with the revert: > > Oops, Sorry about my ambiguous description, I knew the revert patch > could work. > > Actually, It's an interesting problem. your machine (UP system without > ACPI table and MP table) will make the interrupt mode in a rare > situation: > > Virtual Wire Mode with no configuration > > My test cases also simulate this situation, can work well. I hope to > know why you machine hang? > > So, the true thing I want to get is the log without the revert. > or could you tell me the phenomenon and reason of your machine hang > directly. :-) IIRC the last thing in the log is the "Hierarchical SRCU implementation." line, after which the CPU seems to start spinning somewhere (the fan turns on pretty quickly). Where exactly it spins, I don't know at this time. -- Ville Syrjälä Intel OTC