Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2058243imm; Thu, 2 Aug 2018 05:40:36 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfqlRBKic5VW4DRdA95b6RTEWMpu2ITqcxFmNm7q0oz6VdZD/5moO4InznGlIkOzQ7kCU/Q X-Received: by 2002:a62:d39b:: with SMTP id z27-v6mr2890308pfk.182.1533213636429; Thu, 02 Aug 2018 05:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533213636; cv=none; d=google.com; s=arc-20160816; b=hjCEH4FfE6fl+oVbJkAr6bFz9uUn2GzQUcnwt88NHh9AtwUiE/M6jUNvnQJv0GqTYu LbGoP2dxKbPQNxymKct5UOIiMW81z85RKe04WrdgXGYvt42nE+K8NdUBYghGgGARJdCU R0xtTBYsKTwjTRaiarEouAmAA56C5ehpXp1MRkKxopwHKeJvaTh1GMJW5gTbAgg3fmc4 IoQMCJF6BtICJc+biXFbcYJAYVJbKc+cPpNF2QKfVgvqj9Cd+wqtVPUPnuc+B4DijRVK QKgvc4J9mxJhsXK9Jwi1JrqvsDtgQd9OAL2Pz//vshjR+a1VRoi7kF5qYpbLJmhOL+SP XnQQ== 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=X+gueWMU+QorZpcfp+foDLCYffln1iijYVQt60xvrTM=; b=T8f7MeHDCmn2Q9PbL3b78j+ANXWrttbIM46EQZOgz1mFu4pscp6cr8iuAQK8lEARlI wwuuruAgODrW/aoyqS/f4ogkHTiP7Nj8BGp98+2hTbtfQMH86c0wU0e8zvhkK4FoS17x lp+vJvyrJtV/1ti9GZez6g6EuELEEffwJ5i/+4xQP2Pj8ZKw8pWYA3n0tglQCB64ATnL X6O9hUckgQ22fuFjNGgTEVj7cMojS/lx0P3wJgQrcI6f7I3vaj6xVwpzvEbOn/LHPfk7 HRBZFkAE6sYTKs8F4ep5Cd2NW7qwd142WUga2ho9tSwjmRlKpElkVNO/DGawrUXcSqrd 0S8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=SvvGu54R; 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 u15-v6si1855004pfa.28.2018.08.02.05.40.21; Thu, 02 Aug 2018 05:40:36 -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=SvvGu54R; 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 S1732367AbeHBOad (ORCPT + 99 others); Thu, 2 Aug 2018 10:30:33 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:34446 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732130AbeHBOac (ORCPT ); Thu, 2 Aug 2018 10:30:32 -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=X+gueWMU+QorZpcfp+foDLCYffln1iijYVQt60xvrTM=; b=SvvGu54RxuNOdOeV5qv5EIlH6 gusSbGGLzLtZMQ+Jke+gHA5+PcQBSOS7ivH++isw3MCCv0dfjFnlUQSnFhmDs/oSAZOyBezLUH3qV 8bKc2SXuJcGsksBO9lE/Cf8PfRb5NTgBKKZhD8CGY8IrYeDpSM15xoMu0tDXWAqHgK4pSmczVf5Bp 6nKNrqq7goyDO5c1WzLsWrqPCTY5dxMlwxdt0g4cd4o83wUQKW6Z1/Sk68R76wP9o/SVMRymsxdoA n8mg6NjqelAYA1Rm16qwpx4LzwSaS1gu+uvvJs8XBOfZ5hXkQA/KngAFsC9gXEp6/WP48MibnBdWL 7NDYrqwhw==; 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 1flCt3-00076E-JU; Thu, 02 Aug 2018 12:39:25 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 14A0020268263; Thu, 2 Aug 2018 14:39:24 +0200 (CEST) Date: Thu, 2 Aug 2018 14:39:23 +0200 From: Peter Zijlstra To: Reinette Chatre Cc: tglx@linutronix.de, mingo@redhat.com, fenghua.yu@intel.com, tony.luck@intel.com, vikas.shivappa@linux.intel.com, gavin.hindman@intel.com, jithu.joseph@intel.com, dave.hansen@intel.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/2] x86/intel_rdt and perf/x86: Fix lack of coordination with perf Message-ID: <20180802123923.GJ2530@hirez.programming.kicks-ass.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 Tue, Jul 31, 2018 at 12:38:27PM -0700, Reinette Chatre wrote: > Dear Maintainers, > > The success of Cache Pseudo-Locking can be measured via the use of > performance events. Specifically, the number of cache hits and misses > reading a memory region after it has been pseudo-locked to cache. This > measurement is triggered via the resctrl debugfs interface. > > To ensure most accurate results the performance counters and their > configuration registers are accessed directly. NAK on that.