From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751487AbdK3G2X (ORCPT ); Thu, 30 Nov 2017 01:28:23 -0500 Received: from mail.cn.fujitsu.com ([183.91.158.132]:65452 "EHLO heian.cn.fujitsu.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750801AbdK3G2W (ORCPT ); Thu, 30 Nov 2017 01:28:22 -0500 X-IronPort-AV: E=Sophos;i="5.43,368,1503331200"; d="scan'208";a="30605699" Subject: Re: [PATCH] Revert "x86/apic: Remove init_bsp_APIC()" To: =?UTF-8?B?VmlsbGUgU3lyasOkbMOk?= References: <20171128145350.21560-1-ville.syrjala@linux.intel.com> <2d6301d5-5ac4-48e1-a682-f70c67a16cb8@cn.fujitsu.com> <20171129212524.GD10981@intel.com> CC: , Thomas Gleixner , , , Ingo Molnar , "H. Peter Anvin" From: Dou Liyang Message-ID: <0b26503d-b049-0b44-cb8b-c59ec1a78658@cn.fujitsu.com> Date: Thu, 30 Nov 2017 14:28:18 +0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20171129212524.GD10981@intel.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.167.226.106] X-yoursite-MailScanner-ID: 7418B48A1715.A6C33 X-yoursite-MailScanner: Found to be clean X-yoursite-MailScanner-From: douly.fnst@cn.fujitsu.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. :-) Thanks, dou