Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6613747ybi; Wed, 29 May 2019 10:17:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrgal/fQ669PMNaRwCnDDBs1nPzP5HuIxeDXb7Wosu0g622+DqO5zWCa36GiXFx2yNHbb2 X-Received: by 2002:a17:902:8209:: with SMTP id x9mr15544117pln.327.1559150230256; Wed, 29 May 2019 10:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559150230; cv=none; d=google.com; s=arc-20160816; b=ZW7xp6XLAJMJx3WQBS/ru/jY45F+OkCjumlcMsCBjiYDHCWTnFaauKfuG3C4YyNWL5 bXZHHHzkAA5X2FleK6+DfIuLOx/BJr5RrueOUI7GwV3XwiPCMbxUDgsfhffwD5uMOEyx V3M54UgDNlXwz8hvEOR2O5fJorP/QGdzoMKH3hmKfW0iqiG5lCuqHtABfxAbL1op6AOo nBSGZcWd/zjKCOkVqxl8iOZROKBWsShIq6rzjnctV4l1AHaixWM6O1cv8aqSEsWe6SYZ cq8Yyby2f6TqUYV7JTgn1yuXVH9tQtdWIaJKqJ2P/G6u0GPedbxpDHbMJNxMVlDuwuHG Aqpw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=Lgzr9f3eWFZDVib0KwQNAVxrUJkzrD2XN0NuyvEUqmw=; b=vGkfKjuBtCfVQnoKPlRpLy5Z5lrR/e2h5Tgmdv29Y1UQWJgtaXjTrsdMUBNnMBckhu gPuBPZS1EZdaDz3PNlcVpNsqkHRVtBxtRvfa8FWbWBrckpQ9dPKjx2k8FQJFMli+URgF gaxqd1KEZknHVb++kEzJNEFF+BziWm7REVtB2x+14HNAdWxcNA91vpdsv96b9Tgzexs7 XnF4wcfCQf47C361rpphqPnFn11V4HmzJhxcR193HKiRpi/4J4ccnRjq/ragN02VH/33 75hCzkm8WERo/mpomA6w81Bl+87AONbZFK+GqGo2cTgGrvexg64uPDcYlGtyF9W06k7I q2FA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d36si209199pla.113.2019.05.29.10.16.54; Wed, 29 May 2019 10:17:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726106AbfE2RPk (ORCPT + 99 others); Wed, 29 May 2019 13:15:40 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:55272 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbfE2RPk (ORCPT ); Wed, 29 May 2019 13:15:40 -0400 Received: from [207.225.69.115] (helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hW2Aa-0001c2-BS; Wed, 29 May 2019 19:15:20 +0200 Date: Wed, 29 May 2019 10:15:14 -0700 (PDT) From: Thomas Gleixner To: Peter Zijlstra cc: Jiri Kosina , Josh Poimboeuf , "Rafael J. Wysocki" , Pavel Machek , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] x86/power: Fix 'nosmt' vs. hibernation triple fault during resume In-Reply-To: <20190529170048.GD2623@hirez.programming.kicks-ass.net> Message-ID: References: <20190529161028.a6kpywzpjazgql5u@treble> <20190529170048.GD2623@hirez.programming.kicks-ass.net> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 29 May 2019, Peter Zijlstra wrote: > On Wed, May 29, 2019 at 06:26:59PM +0200, Jiri Kosina wrote: > > On Wed, 29 May 2019, Josh Poimboeuf wrote: > > > > Is there are reason why maxcpus= doesn't do the CR4.MCE booted_once > > > dance? > > > > I am not sure whether it's really needed. My understanding is that the MCE > > issue happens only after primary sibling has been brought up; if that > > never happened, MCE wouldn't be broadcasted to that core at all in the > > first place. > > > > But this needs to be confirmed by Intel. > > (I'm not confirming anything, as I've no clue), but that code stems from > long before we found out about that brilliant MCE stuff (which was > fairly recent). Actually we knew about the brilliant MCE wreckage for a long time and maxcpus was always considered to be a debug/testing bandaid and not to be used for anything serious used in production. Of course 'nosmt' changed that because that is aimed at production scenarios so we were forced to deal with that 'feature'. We could do the same thing with 'maxcpus' now that we have all the mechanisms there at our fingertips already, but I'd rather not do it. Thanks, tglx