Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6199293ybv; Tue, 18 Feb 2020 11:52:56 -0800 (PST) X-Google-Smtp-Source: APXvYqwK5+FUfQbCO8vugvwhPqac+ZhE5oYIrMBupC2vGruGBATbgYyMgxoudlY/zzPnYsb79SB0 X-Received: by 2002:a9d:a68:: with SMTP id 95mr16506780otg.87.1582055576754; Tue, 18 Feb 2020 11:52:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582055576; cv=none; d=google.com; s=arc-20160816; b=b5KPKxWevphZA6jvsHBBnnWO0bNVrlxQAL/iBhTu59kfB74hdH9udDhwzSDXQBFp57 uoFYXvQc6WrvFSW8Qrw10xtEqgSCszSAJp2blFLF8i5sif6H4fQvQFumVNLLfR1xQfiO YwHYcWZFxEDZz8IXXL6dFM1tSMC0LFNA8Akcx76HO++ylIcRVSas1/53YOvHKzomwG2m MMSp7KLqOWJdzLmoOyAxgTBAhx/hA0JJZda0oOzPiFeNe8JVkqJNr/PaJuotKMJmnZ4S 8Qyug/V4/sGrWPj2YkUSobl5epw3MLguYDAhJHMt6MnNnJZRuCZsMVx1ud7QlHwZkFLQ kHLQ== 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=0X4BxMmr/5PkYvo37a52u/SJVzspvMpEnBA2FEz2mig=; b=hylXBcrm1t76EqaTVf8ERXz6D54g+p5+3jF8XSHNFihqcK7ycYOyai1n+kpujuAWod +yMLQ/4GiKICGmY72KomD08ktHQ4jNOI78zP4gVpuHr5rDHY0looFNb2N2jJ4mWizifo Gc78fV5lDzdNVGTopXoopo9iqLjXIwMcAd/Eg4cDiwWFcmRekKP9i2NeC5ALITn5PMgb EEP80D2awPKaDm9vGFd/sO2DHzTYUXRreBJrg+fUnBJSOXQxXodYIHQ7QXtrWQhcoyLr zAtx41E/s+4ETLn2YJHlye8wvQdKa2AAAX1/bf2jg5gpjXbYR9FZmWlgatXgn5CQdeuG CRyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=K0lsGjlP; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d3si7768362oia.236.2020.02.18.11.52.44; Tue, 18 Feb 2020 11:52:56 -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=@alien8.de header.s=dkim header.b=K0lsGjlP; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726464AbgBRTvb (ORCPT + 99 others); Tue, 18 Feb 2020 14:51:31 -0500 Received: from mail.skyhub.de ([5.9.137.197]:52812 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726283AbgBRTvb (ORCPT ); Tue, 18 Feb 2020 14:51:31 -0500 Received: from zn.tnic (p200300EC2F0C1F00DCB96C3517B36067.dip0.t-ipconnect.de [IPv6:2003:ec:2f0c:1f00:dcb9:6c35:17b3:6067]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id BE3431EC0CE8; Tue, 18 Feb 2020 20:51:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1582055489; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=0X4BxMmr/5PkYvo37a52u/SJVzspvMpEnBA2FEz2mig=; b=K0lsGjlPw9pMCn0iJy/omwGK7TysstVjycoXMHjrsZDFCYtJtvBbifZmPU7GwRy4um0pLH vrC9IiWkn+xtL4MG23P6VqEr0tZ1cdL2uPBzVunSH+bkBO1jmNEpakFJ7J1+GS3SfqulL+ JqghHMdo2OFtOxd0tLQ0o/6XC5DOcLU= Date: Tue, 18 Feb 2020 20:51:30 +0100 From: Borislav Petkov To: "Luck, Tony" Cc: Peter Zijlstra , Steven Rostedt , Andy Lutomirski , x86-ml , lkml Subject: Re: [RFC] #MC mess Message-ID: <20200218195130.GO14449@zn.tnic> References: <20200218173150.GK14449@zn.tnic> <3908561D78D1C84285E8C5FCA982C28F7F57B937@ORSMSX115.amr.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3908561D78D1C84285E8C5FCA982C28F7F57B937@ORSMSX115.amr.corp.intel.com> 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 Tue, Feb 18, 2020 at 06:20:38PM +0000, Luck, Tony wrote: > > Anything else I'm missing? It is likely... > > + hw_breakpoint_disable(); > + static_key_disable(&__tracepoint_read_msr.key); > + tracing_off(); > + > ist_enter(regs); > > How about some code to turn all those back on for a recoverable (where > we actually recovered) #MC? The use case being? -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette