Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4742222yba; Tue, 30 Apr 2019 03:43:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqxfWCsT2Lj3FAKvo7UZrn/zf0423H7hVG2XbNprvfScbC6nwYzxsaLD9WPnBituMcPoVjOf X-Received: by 2002:a17:902:b605:: with SMTP id b5mr29852124pls.206.1556621015134; Tue, 30 Apr 2019 03:43:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556621015; cv=none; d=google.com; s=arc-20160816; b=kgHfVfxStFVDCO1I9pLImGwZscGcwBR8HqMLN0P+OlXQlaIm7m0U8wJ7M4TdUOqLPc PTNsTAiu5uSeYx2f9QjQrMozHJcOU8pKl88ivP6YZonbhQRlijRCTUkcK5qzuElxscBY 1FgmC+RSI3OHlJk4X4amcVxbobVZO1ojh6aAzSxnWTCGPD35YN6n84XYEfcbgnBQcAod WGkWcKGIgVl5xKve+ujJ8IGhjaMup8kQqD69wOjVWS9DgU+yNAzfVsdFWD2h0lfsEzWB lxbiONJzmpNPyFFKbkiM4Jg145eOYnBO/TFtUiAVm5pA/dFyCaKknRdswPa20+BhuldH 2SiQ== 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=IZiM2+o2VGvA+DVuI0MctarcitXRLfQyhwp7WYOEROw=; b=FqmDiXSqYWNV5XVs8j6H4b4ScpaYciJYl5AH7tK16hzfJZstFptze7MO3d1nDYL2MJ k4Hele3qX2IckDi0qxXkj4SwEPqq25+bLo+J7sqS0PC6OXNP/gladf8TJ8g4NZOBL6px bMfqskm2AT1UM3ZelYW0JMn/r5wkC/1J7ruMpktRQMowfrAX37Q5WJhssNzFW5DSLcKE hUXX9X3IW0Hpw8OR29T5RPwjW+B727IL0gfS+EIBQIJL6CrriucrUrjFUyu9s0PkfQ5f YTcr7WVIXk/rMWnrVWgDBKkcl5XF4dTfCY+nNutcIeM5JWcPE5XqvK9bDLrOlKUaqgsh mAgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=GIZF5F8j; 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 v1si38390611pfv.192.2019.04.30.03.43.19; Tue, 30 Apr 2019 03:43:35 -0700 (PDT) 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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=GIZF5F8j; 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 S1727005AbfD3KlN (ORCPT + 99 others); Tue, 30 Apr 2019 06:41:13 -0400 Received: from merlin.infradead.org ([205.233.59.134]:34958 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbfD3KlN (ORCPT ); Tue, 30 Apr 2019 06:41:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=IZiM2+o2VGvA+DVuI0MctarcitXRLfQyhwp7WYOEROw=; b=GIZF5F8jcoqODBnIvbMHAj3ti B04LUwrtMM0GdJpQuH4cIkyXlCrWnR29XIyYwpbEMg7lkYdu9oGCt9rSOsFFWA9sp1bkLWxLphy40 yerH08i1+0n6avdbFU6l3zmY5Vbfrqh2d6Y3Gxf0euML+yMujdUJIBazip9paHl00uj/QhTuIQVI5 Sw8YAPVFc47hOmowJOsOov6JHCtlM1oT7GGCNBjsnP5NhlqZVBHk0bL/SK73qE8R2+8FJfccpZCA6 9rlKqZhoOL1z+9fxo+36GqXUhWHId00VM1xtOWYmVwLG84RRTtJQyMnaN/lWBDQETXpCFPv3ziUA7 uki7q1mKA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1hLQBZ-0008Ac-Hl; Tue, 30 Apr 2019 10:40:29 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 02C8A203E886A; Tue, 30 Apr 2019 12:40:26 +0200 (CEST) Date: Tue, 30 Apr 2019 12:40:26 +0200 From: Peter Zijlstra To: Linus Torvalds Cc: Sean Christopherson , Andrew Lutomirski , Steven Rostedt , Nicolai Stange , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , the arch/x86 maintainers , Josh Poimboeuf , Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , Shuah Khan , Konrad Rzeszutek Wilk , Tim Chen , Sebastian Andrzej Siewior , Mimi Zohar , Juergen Gross , Nick Desaulniers , Nayna Jain , Masahiro Yamada , Joerg Roedel , Linux List Kernel Mailing , live-patching@vger.kernel.org, "open list:KERNEL SELFTEST FRAMEWORK" Subject: Re: [PATCH 3/4] x86/ftrace: make ftrace_int3_handler() not to skip fops invocation Message-ID: <20190430104026.GQ2623@hirez.programming.kicks-ass.net> References: <20190429220814.GF31379@linux.intel.com> <20190430000846.GG31379@linux.intel.com> <20190430004504.GH31379@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Mon, Apr 29, 2019 at 07:26:02PM -0700, Linus Torvalds wrote: > On Mon, Apr 29, 2019 at 5:45 PM Sean Christopherson > wrote: > > > > On Mon, Apr 29, 2019 at 05:08:46PM -0700, Sean Christopherson wrote: > > > > > > It's 486 based, but either way I suspect the answer is "yes". IIRC, > > > Knights Corner, a.k.a. Larrabee, also had funkiness around SMM and that > > > was based on P54C, though I'm struggling to recall exactly what the > > > Larrabee weirdness was. > > > > Aha! Found an ancient comment that explicitly states P5 does not block > > NMI/SMI in the STI shadow, while P6 does block NMI/SMI. > > Ok, so the STI shadow really wouldn't be reliable on those machines. Scary. > > Of course, the good news is that hopefully nobody has them any more, > and if they do, they presumably don't use fancy NMI profiling etc, so > any actual NMI's are probably relegated purely to largely rare and > effectively fatal errors anyway (ie memory parity errors). We do have KNC perf support, if that chip has 'issues'... Outside of that, we only do perf from P6 onwards. With P4 support being in dubious shape, because it's massively weird and 'nobody' still has those machines.