From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linutronix.de (146.0.238.70:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 14 Jan 2019 04:55:27 -0000 Received: from mx1.redhat.com ([209.132.183.28]) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1giuHV-00038O-Tz for speck@linutronix.de; Mon, 14 Jan 2019 05:55:26 +0100 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4B7C2A0361 for ; Mon, 14 Jan 2019 04:55:19 +0000 (UTC) Received: from treble (ovpn-120-232.rdu2.redhat.com [10.10.120.232]) by smtp.corp.redhat.com (Postfix) with ESMTPS id F0B4261B60 for ; Mon, 14 Jan 2019 04:55:18 +0000 (UTC) Date: Sun, 13 Jan 2019 22:55:17 -0600 From: Josh Poimboeuf Subject: [MODERATED] Re: [PATCH v4 07/28] MDSv4 0 Message-ID: <20190114045517.6e3bit3x6vvsglsj@treble> References: <12f1a5725f437f45abfe455cd344e1c037a7de2c.1547256470.git.ak@linux.intel.com> <20190114040302.vv5oywwdpm3mwq5p@treble> <20190114043808.GC6118@tassilo.jf.intel.com> MIME-Version: 1.0 In-Reply-To: <20190114043808.GC6118@tassilo.jf.intel.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: On Sun, Jan 13, 2019 at 08:38:08PM -0800, speck for Andi Kleen wrote: > On Sun, Jan 13, 2019 at 10:03:02PM -0600, speck for Josh Poimboeuf wrote: > > On Fri, Jan 11, 2019 at 05:29:20PM -0800, speck for Andi Kleen wrote: > > > From: Andi Kleen > > > Subject: x86/speculation/mds: Support mds=full for NMIs > > > > > > NMIs don't go through C code when exiting to user space > > > > What about do_nmi()? > > NMIs = any NMI like exception, like machine check. > > Yes they could be all handled in C, but it seems simpler > to just do it once in assembler. But this patch is NMI-only and has nothing to do with machine checks. Machine checks and all the other non-NMI exceptions are handled by the idtentry macro. -- Josh