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 17:08:59 -0000 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1fYwtG-0003NO-Hk for speck@linutronix.de; Fri, 29 Jun 2018 19:08:58 +0200 Received: by mail-pf0-x231.google.com with SMTP id h20-v6so2574357pfn.4 for ; Fri, 29 Jun 2018 10:08:58 -0700 (PDT) Received: from i7.lan (c-73-11-52-149.hsd1.or.comcast.net. [73.11.52.149]) by smtp.gmail.com with ESMTPSA id g14-v6sm13826487pgo.76.2018.06.29.10.08.51 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 29 Jun 2018 10:08:51 -0700 (PDT) Sender: Linus Torvalds Date: Fri, 29 Jun 2018 10:08:49 -0700 (PDT) From: Linus Torvalds Subject: [MODERATED] Re: Re: [patch V4 13/13] x86/apic: Ignore secondary threads if nosmt=force In-Reply-To: <20180629170137.GA18334@agluck-desk> Message-ID: References: <20180620201907.304694346@linutronix.de> <20180620201933.588840902@linutronix.de> <9a4cea33-05a7-b6d9-7f49-692603bd047f@linux.intel.com> <20180629082617.GA3752@zn.tnic> <20180629170137.GA18334@agluck-desk> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Fri, 29 Jun 2018, speck for Luck, Tony wrote: > > MCi_CTL may or may not save you. Banks are shared across cores or the > whole package. So if you bring any CPU online that shares the bank that > reports the error, then the offline CPUs that share that bank will have > the machine check enabled. > > For the hyper-thread disabled case you are guaranteed to be screwed. Can we ask people inside intel to (a) get a babysitter for the people who designed MCE? They need a pacifier and/or a banana. It's not like this is the first time we hit a "christ, this is so stupid that clearly no adult ever checked it" issue with the garbage that Intel calls machine checks. (b) Get an adult to supervise and fix MCE once and for all for future CPU's. Honestly, MCE's are broken garbage. The whole "let's broadcast this shit to random CPU's" was incredibly broken from the very beginning. Adding this "let's initialize CPU's in a mode that is guaranteed to be broken" is just icing on the shit-cake that is MCE. Seriously. We've complained about MCE before. There must be people inside intel who are just twiddling their thumbs waiting for the process people get their shit together some day next decade, could some of them perhaps be made to look at MCE? Linus