Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6351359ybv; Tue, 18 Feb 2020 15:14:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwd5boD+08AI8nhvgfqmsBUgap6ep7U0a6ddG/qD0GbWuDFHDyA4SwLGECCs4R6fCJTThIt X-Received: by 2002:a05:6830:128e:: with SMTP id z14mr12412119otp.184.1582067648624; Tue, 18 Feb 2020 15:14:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582067648; cv=none; d=google.com; s=arc-20160816; b=Hwav1Zv0+HwUGZVkPhU82gXdbEA/Vvm2ufLD9BhixIwqsvnnIq6a3IW9kRYSXp+l1D e+r3U+brwdVH8DIunqx6N4sAJ8FVL3NSGW4Jz7xeB3Azkx8lAw5Nil9ijBchhnMzqwAb ArZ8I9isl0YRZgPWWaR4s6olPsiUO1thZKxSjAzvuCXJxO3qy6W6fbuU7BYRzfXrNj3s nppV2acbHLXD3WVaIocNYBNWePu3DjgODVOrZsgLoFOs5w66LZYDF8VVmt2ChNpR7nOs sOsSRjlMwtdSO7VUaA3yBtRHOQdaMxckfnohTM7JroVEuKkLnLbCn43o9dTM+q6e4ue+ +ZqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=DXk+4RCbn43nqyIHGgTQFY5EAVuHQEITLuF0Eerk39Q=; b=WZ2diVZBsKYAOTAodz6LQdx6EjiF8Ev4CZS2r7TSBKdLBpTj6SyP2QONBUanYxVxTN J7V+WrK74YYkmJgDbNOXWL2zH713gJnwacwZHipxdj/20EC23FLF4bepCFeIbeVBnkie W/erynEHV6qyvohzFX0cYZKZt7GIAEuZ49m7WvugZMtYXK6iGW43315dF9bOyj1eRhzK HSWwbc9Pt84XyAgI7SKQF1ccUFYdCulQca2s6QoJU6eRvGHeg8kDVUuo5lGNlqWI9gFv LJIRF0QYQVtC4EAfWdjSJD+Zo6ZJ9n2lLzRwoFFp0KEa38oL9vqCb2SAKm+ttY92PD1C gUBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=XZenJzgM; 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 f23si122158oto.205.2020.02.18.15.13.56; Tue, 18 Feb 2020 15:14:08 -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=@amacapital-net.20150623.gappssmtp.com header.s=20150623 header.b=XZenJzgM; 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 S1727815AbgBRXL4 (ORCPT + 99 others); Tue, 18 Feb 2020 18:11:56 -0500 Received: from mail-pg1-f182.google.com ([209.85.215.182]:37214 "EHLO mail-pg1-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727553AbgBRXLz (ORCPT ); Tue, 18 Feb 2020 18:11:55 -0500 Received: by mail-pg1-f182.google.com with SMTP id z12so11720818pgl.4 for ; Tue, 18 Feb 2020 15:11:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amacapital-net.20150623.gappssmtp.com; s=20150623; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=DXk+4RCbn43nqyIHGgTQFY5EAVuHQEITLuF0Eerk39Q=; b=XZenJzgMpinXndb3Ft4G15TfderKPHgDYRxpubwasNQLkZB+Ej7R/UFEF15vdnY9y4 knD7v9XCGz7RiZzDop4DPV2KOyHwLl2olZtj5k4OEp1FCOpvdxk+9um/fK5aCrlgg4I3 PG+3JJr57m6oGVFFXkqnu4GTFYrTXok91wMb4hIhi09OIE0d9E/anDmZJbts186Pr0BI QIcVz41u97YuL94xKs5o8oQv22Ne16wb56FisvA82LkFUCqlZha+3goWyrX9J/hCRZ/z v0vLEiTg3Lnd7R67bGrnQ7TeA7ONNqzDUmWutK39lOikG9jz2SwbcC6tvZeIduhnNlZq B8uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=DXk+4RCbn43nqyIHGgTQFY5EAVuHQEITLuF0Eerk39Q=; b=hCf9y0qv/yho/r1P/Mg0dTjy/7BGTEjWndT9s3pNbBjfc3MydBk6nNYaHuRgjqgkJv qPN41kILmYL8PpgWnnPs+uBIi5igE7K3AnlRrG567QhXyVGrCvfdWdWD9bt5Wjvsa7Gz +vxoILYCQ0x0fEh/9Zb8juf/SZCp7lnoiyDW5ymvw8jaP5xk46m6D4FHlyXFT3ChA1hw Q4vGZdzHarBaVBsYo7snR4GprPAOxEZqaEZX8mANGItaebqsRn25O8efl0Pw9c8PG05l XISCsertXxrfdeRpPPUsuCXjGLWru4qhWAl8RqglGbJYbMsqOjaGZE4R4Jx4M8h6s7WP le3w== X-Gm-Message-State: APjAAAWIRAKZfg1Wy11hliZbVnWFPrROcZqxT0FN2FmqE75sugXRKpXG rs3WQleiGpBRfBXBBXs7/61+0w== X-Received: by 2002:aa7:968c:: with SMTP id f12mr23710431pfk.235.1582067515244; Tue, 18 Feb 2020 15:11:55 -0800 (PST) Received: from [10.234.160.59] (58.sub-97-41-129.myvzw.com. [97.41.129.58]) by smtp.gmail.com with ESMTPSA id p17sm76321pfn.31.2020.02.18.15.11.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 18 Feb 2020 15:11:54 -0800 (PST) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Andy Lutomirski Mime-Version: 1.0 (1.0) Subject: Re: [RFC] #MC mess Date: Tue, 18 Feb 2020 15:10:17 -0800 Message-Id: <3CF4895A-5BCF-4E5C-B8D9-F9019DD02A12@amacapital.net> References: <3908561D78D1C84285E8C5FCA982C28F7F57B937@ORSMSX115.amr.corp.intel.com> Cc: Borislav Petkov , Peter Zijlstra , Steven Rostedt , Andy Lutomirski , x86-ml , lkml In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F7F57B937@ORSMSX115.amr.corp.intel.com> To: "Luck, Tony" X-Mailer: iPhone Mail (17D50) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Feb 18, 2020, at 10:20 AM, Luck, Tony wrote: >=20 > =EF=BB=BF >>=20 >> Anything else I'm missing? It is likely... >=20 > + hw_breakpoint_disable(); > + static_key_disable(&__tracepoint_read_msr.key); > + tracing_off(); > + > ist_enter(regs); >=20 > How about some code to turn all those back on for a recoverable (where we a= ctually recovered) #MC? >=20 >=20 At the very least, in the user_mode(regs) case, tracing is fine.=