Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6326396ybv; Tue, 18 Feb 2020 14:42:14 -0800 (PST) X-Google-Smtp-Source: APXvYqzH3jr/Vp34+EFqwtaMCkLSTNjJSUJKpc7Pcc0FJz+qdUxOwwqz44aJrbk8DyHmmpC1ucwa X-Received: by 2002:a05:6830:1042:: with SMTP id b2mr17203277otp.306.1582065734773; Tue, 18 Feb 2020 14:42:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582065734; cv=none; d=google.com; s=arc-20160816; b=0jSG/PA7RXWj04eV8jwgJ3AhCPElR/8lHoy7jGYXc2WSXoQszaF9Tj9SZTJWUlQ5dV 795qiGkf68nN1FFxCsXqDJ5/n+bD5pVpe73wG4v8RQybMWbT2Qcrhu5Rl6GkGeKFeWDz ILQoiSloffcSSb7pGnVZnbSyC5mH3boHPU4WxmHZjwUVOKy5F91itkgkoXxzlcY39067 0KdwML8ipmD289XCV7sqWr7/A8o81qMEkHNlh+MevaO+K9DNRSIDTPVbrDUO7uX1syW+ P7IGg1oPE2BErz5Fi9B1Z9eNTqL9GtsEwRbvcWtwCsUrEwyCyCYcJxEubzAHh3RhfZTm SJJQ== 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=qLbpKsoFV55KvGUtxyASsOc/nd1Vn1BJC30H40jnWgQ=; b=hZugURII9jr9HKfLyLWDWTeeu3ux8DsmRJUry+LOS71fo4uMxJ24S7WNOh3smTJtLt AmXadhW+sS0dVPRzJqc6l8spV5IFcIfvXEoqSO+AG+X7/pAdhqaTY4jmhzn2oNiGIJYd TjR2NoOPgCNG69lLOFlgcx9PK7V3Tg2QfVrYYASRYh5X0WQyzetXM6fGF/xxluppbz+2 corVc9pVqbTviTpNg+MdgkycwSTUA2ItJYRkohkbKqp0N3cj8AROJ1cTqO97t1UZhFEc doL+Pn3NufhTtYXSYIIy7aZMA1Nmd6etbOKE6HbCZMd9pOq9vEqIw7Rk7n8ayO4ZppBZ T8xw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="UBx/zh3f"; 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 d12si80152otc.307.2020.02.18.14.42.02; Tue, 18 Feb 2020 14:42:14 -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="UBx/zh3f"; 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 S1726595AbgBRWkX (ORCPT + 99 others); Tue, 18 Feb 2020 17:40:23 -0500 Received: from mail.kernel.org ([198.145.29.99]:59888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726415AbgBRWkX (ORCPT ); Tue, 18 Feb 2020 17:40:23 -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 A90B12173E; Tue, 18 Feb 2020 22:40:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582065623; bh=p7rSRm9UPH0+2uZT8yWNgKBnY+oWwj14kDnc9nBF6zQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UBx/zh3fmezbuYuPWdANnkExjb3/eMfo2G7n40lFWiWAlH9WG3zJiD3S3HESWB4+d ruyyxzHLgEvINJw31KdZMLWsIHOHL+YkuhtmSa4dVADKmbGONYvIpW/5wl9C/mWQ5Q JZBnGUhQCJ/KGlCEQkb6DJq/grRb7DGd8mP3nteg= Date: Tue, 18 Feb 2020 23:40:20 +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: <20200218224019.GA13978@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200218214904.GD11802@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:49:04PM +0100, Peter Zijlstra wrote: > On Tue, Feb 18, 2020 at 09:34: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); \ I guess you meant: BUG_ON(in_nmi() == NMI_MASK); Thanks.