Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp122867imm; Thu, 21 Jun 2018 15:08:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIBbX3T7YyOC8ftgLjLDwOPURrabMpEmzP7cdIdEt0lqhVQ4SQ5L1kCTwCz0xcRnhs3jCSY X-Received: by 2002:a17:902:a715:: with SMTP id w21-v6mr15020080plq.111.1529618908834; Thu, 21 Jun 2018 15:08:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529618908; cv=none; d=google.com; s=arc-20160816; b=L9R4mxjUHPmyp3rEl0H/GTeTwxW2TrOrg9wKyi+uay115aPG8NlMgb24MXLw/a2Am2 n2nInDQUw/lmmL9x771LoX3p7MzyZJ9RW1qg7OAcBCnQEpjxvNS2CqYUKtZi7iCi2+ta LcFr44GTzhDkCWdHW5ji8SlJ3qa1q6sV+9NljxZnprkc+YSA6GJDMDXCuRx5ako2dXCL dE2TuVMs1WIhaJEdWlJnrf6CMyT+BTyRf1utiUQsr5w/QgMFJPO0JVQn29NcSb1l9JGM 5FbT2UupLTov2Bf2jZEHsspuiK3+C7LwLuZEQcPGKPAGsVoIkTuFu0XBwaDlhxxCYdNc R3mA== 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:arc-authentication-results; bh=eb8oqYm9s9FpXa+k2wUJbOlD0ATgdiZu7+7Efq4uLrc=; b=tVtIvuC7It3pDspFkJ9nenF2h9nwyGjQ+yqjrbe30XD5etISNrbBa4kDW08OamuD/m Bby+Kj/1US89F95P2thd9NsevQRpF9NOgvHkdkg2E4DcEkA3AVPO8xCq3aYaaoxRG8OW d/3B8fJY+rCsFZN9Yz6WOcDrL11ZYQl/6yUTY7QDmA3pr1ygeOBQz5+JeLMtxnJJ6zcU Q8LLDRrlPNcdJ16ayHUvuzxHAgdEvJKO5NtnFBXHiT5mOcPrLaDETrbiV9JqT66s7IbA ivdvKe+VZ4Wdu6Qyt8oCnEEoW8FQ5kKnmU9i5Osskqe3e/xe/X8mDSK1BKeijJFBSanP kyTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b="gnANT/Dn"; 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 h26-v6si5843858pfd.253.2018.06.21.15.08.14; Thu, 21 Jun 2018 15:08:28 -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=bombadil.20170209 header.b="gnANT/Dn"; 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 S933862AbeFUWH2 (ORCPT + 99 others); Thu, 21 Jun 2018 18:07:28 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:58764 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933622AbeFUWH1 (ORCPT ); Thu, 21 Jun 2018 18:07:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.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=eb8oqYm9s9FpXa+k2wUJbOlD0ATgdiZu7+7Efq4uLrc=; b=gnANT/Dnhp4PtXwh0RWJNumP2 poMTaW3nosE2KeDWW71J/h/JEdNchOJM8+5n5iDtRHrNcLBEnDg7v6x/GP3DLSpB0bodGkfTFXt46 iV3YHtXrUaiD1trkVo6XTxcl98Ez1S2TlC/Of7ycl9VWExdExqTyYHFdlsQ/44c4DD4oodkmMPuyH 4mZ2F3KXxQyuWNPR0M2bhQATfX9OiS+q2AXebm5EL5TdjZ1BJ1y/af4Reo1bYkPLGR5fCGpDUrMtA GDuN3lSwZE8iJ6XQ5CgeY5TCNWMj1PVw29N7DlCdV6161OFOTVijpa6uOpJNEY2l3l5UICvHaV32c wGod9XijA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=hirez.programming.kicks-ass.net) by bombadil.infradead.org with esmtpsa (Exim 4.90_1 #2 (Red Hat Linux)) id 1fW7jf-0008TE-Dg; Thu, 21 Jun 2018 22:07:23 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 3661D2029F1D7; Fri, 22 Jun 2018 00:07:21 +0200 (CEST) Date: Fri, 22 Jun 2018 00:07:21 +0200 From: Peter Zijlstra To: Fenghua Yu Cc: Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Ashok Raj , Dave Hansen , Rafael Wysocki , Tony Luck , Alan Cox , Ravi V Shankar , Arjan van de Ven , linux-kernel , x86 Subject: Re: [RFC PATCH 00/16] x86/split_lock: Enable #AC exception for split locked accesses Message-ID: <20180621220721.GA2494@hirez.programming.kicks-ass.net> References: <1527435965-202085-1-git-send-email-fenghua.yu@intel.com> <20180621193738.GA13636@worktop.programming.kicks-ass.net> <20180621201851.GC114883@romley-ivt3.sc.intel.com> <20180621220003.GD114883@romley-ivt3.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180621220003.GD114883@romley-ivt3.sc.intel.com> User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 21, 2018 at 03:00:03PM -0700, Fenghua Yu wrote: > And perf cannot count split lock events in firmware. In real time, even > split lock in firmware (reboot, run time services, etc) may not be tolerant > and need to be detected and prevented. And yet you want to allow firmware to use them by excluding it in these here patches. Make up your mind.