Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752940AbcKRLTn (ORCPT ); Fri, 18 Nov 2016 06:19:43 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:51630 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751750AbcKRLTl (ORCPT ); Fri, 18 Nov 2016 06:19:41 -0500 Date: Fri, 18 Nov 2016 12:16:55 +0100 (CET) From: Thomas Gleixner To: Boris Ostrovsky cc: "M. Vefa Bicakci" , "Charles (Chas) Williams" , Sebastian Andrzej Siewior , "x86@kernel.org" , LKML , Peter Zijlstra , Borislav Petkov , David Vrabel , Juergen Gross , xen-devel Subject: Re: [PATCH] x86/cpuid: Deal with broken firmware once more In-Reply-To: <96419776-022d-63f9-84c4-7426101f4657@oracle.com> Message-ID: References: <20161102122557.qs4rl6mb7n7l7j7p@linutronix.de> <24e69019-60d0-29e7-e31f-c6f00f9ed98a@brocade.com> <58e229e2-91f4-a97f-1b9f-089f48ef994a@brocade.com> <86609338-2b45-ed7e-fb07-99421e43a2f1@brocade.com> <49fe8cc5-0f0f-6cac-7a5c-803e81f5667d@runbox.com> <68840c0b-44c9-ddd8-bfab-f4fd8bacbaf0@oracle.com> <41978b7b-2880-4ea5-14c3-7185422261e7@runbox.com> <96419776-022d-63f9-84c4-7426101f4657@oracle.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 924 Lines: 23 On Mon, 14 Nov 2016, Boris Ostrovsky wrote: > On 11/13/2016 06:42 PM, M. Vefa Bicakci wrote: > > > I found out that my domU kernels invoke the 'apic_disable' function > > because CONFIG_X86_MPPARSE was not enabled in my kernel configuration, > > which would cause the 'smp_found_config' bit to be unset at boot-up. > > smp_found_config is not the problem, it is usually zero for Xen PV guests. > > What is the problem is that because of your particular config selection > acpi_mps_check() fails (with the error message that you mention below) and > that leads to X86_FEATURE_APIC being cleared. And then we indeed switch to > APIC noop and things go south after that. Indeed. And what really puzzles me is that Xen manages to bring up a secondary CPU despite APIC being disabled. There are quite some assumptions about no APIC == no SMP in all of x86. Can we please make Xen behave like anything else? Thanks, tglx