Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6596498ybi; Wed, 29 May 2019 10:02:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqzoc5zA1uctwn7mybQqPWb4ZEv+nKhbvoyPrNB/6y1QFUyrUO6gqnSPLxNLfgbbs8FEPI0e X-Received: by 2002:a63:eb56:: with SMTP id b22mr54600570pgk.81.1559149373285; Wed, 29 May 2019 10:02:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559149373; cv=none; d=google.com; s=arc-20160816; b=LjKLS18QuogltSFwaGylcwLpgCDnux61zoX9WcnP5n7WFjWj3QIxRCtziq76KHN/uo 2tO3PRKOi2OZpiOeUP112KBFqcCRgsAfytl+1eSWMbCYZer+UXn0X5HgSg50owaTv1zI IRU1CNbIannrBC6t3/vUfQgDFXEIODt4lX0u60ZgNvk8PDFB9xaB5IFYyhzq0hZ/2V0U zp7B38XP8vf8OVMeAzEeFe5TTJM9rqbGeJTQazVOA14Gxi+BrzbklQdikgIdZeyzVZ45 Zi9XcBL3tYcOrOYiv9uxPoCvN2Swt3XcTlE5OOc9i27IY8yrfunjtYn36hvKfHVxRfk5 6QNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Rql5GG/ybmT6SurmXd44Bjbh2qIVyT0VkM96NAFNiuY=; b=b57PjmaeuHCQFtvAR1FUTQlS7euaR2cqo5aD0QaVaN29m8GgDWOjOYcAabecQYAHu/ Br1vkAiJhg16poZKS46ANrkNFZsMrcZFz3WYUM02UFc5bEpALjhRkCde92c1P66Egllb 5JIN8EYyTui2+KnHLPjCZmvHh8jYcYo5m8uR5Rp6rlzabjENWkwaWQU3+hDYSupt0sD8 dfdoWOSRPuHsUw41B10Xjvj5ErPGwf4sYqoHiMg/aDMse2DIM5NcTKcQb28m3KDN3aoH 4YYimlY0m7yB8GRDZ6RUBOcXluQR7he1oiEjDCagJswb8qYYn6x3SwsDX6WhZC46nq6x Ce4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=jdAco6Qh; 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 j17si124261pfn.226.2019.05.29.10.02.35; Wed, 29 May 2019 10:02:53 -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; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=jdAco6Qh; 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 S1726189AbfE2RBA (ORCPT + 99 others); Wed, 29 May 2019 13:01:00 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:53612 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725948AbfE2RA7 (ORCPT ); Wed, 29 May 2019 13:00:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Rql5GG/ybmT6SurmXd44Bjbh2qIVyT0VkM96NAFNiuY=; b=jdAco6Qh4fkIH/71oUSSsoO7u lk/BCu4M3STYvMP8qWc8qxfDNG9NRTTOJthuMX6pFjkDv51ePcJUUZhFoyOOUBAcneWneFAPIznKI uPXl855Y50siczUlOJg0ioKM4UHriKcxQK1MM2/2yL5RKdv/zePr5OceUBlFl3fnwwDpHMa2PH9pi SQ383xI5o8py9HY8VmcxItqK50zXYQOUehWpRfyEfVZAe6bA2Nh4Y/Qy7Va8E4pnJiQ9z8pb8iCs7 62/VcszK1uGMGe11Xy1e/cqBxPwvdYlJtzbkG6piUKJX6sQ0HEuvkaADhVIhIgQu66bcKacREQJLZ X3LzfNL8Q==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hW1wX-0001KV-Ov; Wed, 29 May 2019 17:00:49 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 281D7201B8CFE; Wed, 29 May 2019 19:00:48 +0200 (CEST) Date: Wed, 29 May 2019 19:00:48 +0200 From: Peter Zijlstra To: Jiri Kosina Cc: Josh Poimboeuf , "Rafael J. Wysocki" , Pavel Machek , Thomas Gleixner , 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 Message-ID: <20190529170048.GD2623@hirez.programming.kicks-ass.net> References: <20190529161028.a6kpywzpjazgql5u@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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).