Re: [PATCH] Revert "x86/apic: Remove init_bsp_APIC()"

From: Dou Liyang
Date: Thu Nov 30 2017 - 01:28:26 EST


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ä <ville.syrjala@xxxxxxxxxxxxxxx>

This reverts commit b371ae0d4a194b178817b0edfb6a7395c7aec37a.

Causes my P3 UP machine to hang at boot with "lapic".

Cc: Dou Liyang <douly.fnst@xxxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: yinghai@xxxxxxxxxx
Cc: bhe@xxxxxxxxxx
Cc: Ingo Molnar <mingo@xxxxxxxxxx>
Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
Signed-off-by: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>
---

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