Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6326666ybv; Tue, 18 Feb 2020 14:42:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzvJqaW4hFh6i7ffqiplXcs1AjZLD/utY3ylTrubtTIC713Nx+qEmtBlSFaXp5SFr6gJsrE X-Received: by 2002:a9d:ec7:: with SMTP id 65mr17860345otj.309.1582065759674; Tue, 18 Feb 2020 14:42:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582065759; cv=none; d=google.com; s=arc-20160816; b=JelYaPel1tCoGbzYdzW8xE7I8d+pVdt208+dsgMlAHBlUVEJygUvpn0OBbe1tQ/7HY x1Jjc1rlgT8Sq9IwwQz5L6ceuIWRw43YdN8r+W5cpnR2bwInuCJWqv41QbI/zWKshNj3 7v+Paiwvy0JGTmDYhpj1CHEVGlv41Jusow7smAgAnqtydx8tdlJiuKiffpfNIoAst3Cb rt1T0/cozN2qXajtjuKT9hqrdKnl0JJ729RePQXN8LX4vj0UfY/wQUUgFFGaRO+zROw3 y14ipbpwJ44XxS575UtycSFlxFWsfibrL1OzlN1sucNdWtX/wBeMzl4cqGUSzQWFh4G8 CxBw== 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=fFgrcw636FS2HRC7xdi4q81apYdmtrhTqfVcV5s6V7s=; b=qGz46pClPVvyozlMM+/mitG62l/AZWlCInuWnJW9cMJtPKPPGcx52woIEitg6O/lqX r/MTIv250IxyuWn4yGfZzRd55AbwV7nb1xkoKEyQroDCStxktK/57LIcVcN6rYp+kitR 6hB8N3p7/HUjm0SvfEtoQbOh1Pr58D8JseyauMeBWvwEPr0lBWRsxHMvZZsGw1hucVIt Jb1Bj4XbS+0OfITuBwerzaIiHlcZXu7BzNcG5JB3SZ5N6J9EwE6El/tGQpXIiFp7HaD1 ahsO1kDkOhBxZFvCZ5Gic7uoNKTFKd5LsBBwgTk5Q1hOsfn6wQPQqWbfF4dqn+jPn0Dp TOXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=wAB6hjeE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h128si8436980oif.258.2020.02.18.14.42.26; Tue, 18 Feb 2020 14:42:39 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b=wAB6hjeE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726478AbgBRWl0 (ORCPT + 99 others); Tue, 18 Feb 2020 17:41:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:60010 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726391AbgBRWl0 (ORCPT ); Tue, 18 Feb 2020 17:41:26 -0500 Received: from localhost (lfbn-ncy-1-985-231.w90-101.abo.wanadoo.fr [90.101.63.231]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9FAE12173E; Tue, 18 Feb 2020 22:41:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582065686; bh=fr+Sb3VDOv2X+vL7GEwYooziLBNmezLRth4YeApzMp8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wAB6hjeEGnf2RV7nt4qfw/cO9gc8ZhyADYkt6MyKR4jok+XraDYagNgrTvEPylDje OzaVf16wNKG8gUWGbi1gp9ly0qlZo1gpI66ULB9zb7znCi0qUMAYMcLPcZI3RORk5V whHknD9md+U6DAiOGg438050JJpzt5e0mxjuQGEc= Date: Tue, 18 Feb 2020 23:41:23 +0100 From: Frederic Weisbecker To: Peter Zijlstra Cc: "Luck, Tony" , Borislav Petkov , Steven Rostedt , Andy Lutomirski , x86-ml , lkml , paulmck@kernel.org Subject: Re: [RFC] #MC mess Message-ID: <20200218224123.GB13978@lenoir> References: <20200218173150.GK14449@zn.tnic> <3908561D78D1C84285E8C5FCA982C28F7F57B937@ORSMSX115.amr.corp.intel.com> <20200218200200.GE11457@worktop.programming.kicks-ass.net> <3908561D78D1C84285E8C5FCA982C28F7F57BDFB@ORSMSX115.amr.corp.intel.com> <20200218203404.GI11457@worktop.programming.kicks-ass.net> <20200218214904.GD11802@worktop.programming.kicks-ass.net> <20200218215325.GE11802@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200218215325.GE11802@worktop.programming.kicks-ass.net> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 18, 2020 at 10:53:25PM +0100, Peter Zijlstra wrote: > On Tue, Feb 18, 2020 at 10:49:04PM +0100, Peter Zijlstra wrote: > > diff --git a/include/linux/hardirq.h b/include/linux/hardirq.h > > index da0af631ded5..146332764673 100644 > > --- a/include/linux/hardirq.h > > +++ b/include/linux/hardirq.h > > @@ -71,7 +71,7 @@ extern void irq_exit(void); > > printk_nmi_enter(); \ > > lockdep_off(); \ > > ftrace_nmi_enter(); \ > > - BUG_ON(in_nmi()); \ > > + BUG_ON(in_nmi() == 0xf); \ > > That wants to be: > > BUG_ON(in_nmi() == NMI_MASK); \ Ah that's the email I didn't read... Sorry for the noise.