Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 29 Jun 2018 16:48:38 -0000 Received: from mga18.intel.com ([134.134.136.126]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fYwZY-0002yP-E9 for speck@linutronix.de; Fri, 29 Jun 2018 18:48:37 +0200 Subject: [MODERATED] Re: [patch V4 13/13] x86/apic: Ignore secondary threads if nosmt=force References: <20180620201907.304694346@linutronix.de> <20180620201933.588840902@linutronix.de> <9a4cea33-05a7-b6d9-7f49-692603bd047f@linux.intel.com> From: Dave Hansen Message-ID: Date: Fri, 29 Jun 2018 09:48:25 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="nkiuEDS00anZjL9ikH0PZITx0tOBOCPE0"; protected-headers="v1" To: speck@linutronix.de List-ID: This is an OpenPGP/MIME encrypted message (RFC 4880 and 3156) --nkiuEDS00anZjL9ikH0PZITx0tOBOCPE0 Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 06/29/2018 01:50 AM, speck for Thomas Gleixner wrote: > On Thu, 28 Jun 2018, speck for Dave Hansen wrote: >> Some Intel folks pointed out a few problems with this. One is with >> machine checks. If one thread is booted and has CR4.MCE=3D1, but the >> other never gets booted and still has CR4.MCE=3D0, things go boom >> (everything goes to shutdown state) if a machine check happens. =2E.. > So you are saying that the boot process on _EVERY_ Intel box with HT > enabled just works by chance. Yeah, it works by praying an MCE doesn't hit in that window. Seems to be a rather screwy architecture to me. > That means if an MCE hits on physical core 0 (logical CPUs 0 and 72) > between these two points the machine is going to shutdown. Yep. It seems to be a well understood but somewhat ignored issue. --nkiuEDS00anZjL9ikH0PZITx0tOBOCPE0--