Received: by 10.223.176.46 with SMTP id f43csp1242940wra; Fri, 19 Jan 2018 08:47:56 -0800 (PST) X-Google-Smtp-Source: ACJfBounj3MJpc38151cSeaBP10zozmPnq0cjOzt4e5O+vJpN0mFNxSD44WRj6wCx0fv3wZEzDCS X-Received: by 10.99.115.67 with SMTP id d3mr27161901pgn.223.1516380476416; Fri, 19 Jan 2018 08:47:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516380476; cv=none; d=google.com; s=arc-20160816; b=SlA+PiZQ8ui125NrWjxcHs0+5FDbOMIMyJ4YecR2brEMW8bphukdUhJzoe64vlOr1e H0s/DXkYSpNWoa5Jps7NN1Rvx7NskUtP9tjmrID0MikD4eEGlftS3UvjEY2witoiWo4c BFZAoENji15cZVcQ8vYLpPXZGsfug7H3UnWo8qPhGHndeOnl1QsmKnq0an/X3upHigLK x4Lb8R8tvYzaYjwJ81D7IXQ84igaaFM5S17qo9rwll40MT2TxwlW4hCm2mDXOVDkGV2B 8JYsiFMfVQd0gj7kJbXQhJ0X8c4L9xOUbQHFXRDQ/xCpus+8oOe/1+iy10jqW3k8J4Tt wDmQ== 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=GFX1/M7UvNsAujDlCG5x8sB0RuE0slcXsQrHkcz4HlM=; b=F+OWfkhP80R35W7WEQqHMyBKOYXvtViMYD2AD4PeGoMmIyWAhe8fCrazFpnzJA4MT7 jTVS5sbDeCAVeVu6WaQSYx7rzIEcRLBjXqq7x9pdVL/dBc9LoHb7DkIDonai7N8jFaVn mfe/lWfQK85hA7zpwR1ooVKP0XeIVuRAb7CkY9jIlj8ghT78gWDOeDsyHpL/A6QgJLCG 2rCGdlKK7szFeBzvoccBwqr73xtKzKuwJa9M1BEJqh8Rl33E4JvzUNweoH+SPrjH5fBl Nbs0Ra9Zy5ZszDGGPS2s1r4jm5azcCsNAeb6KGArgiTM9Ccf6vEDXJ2196P8Iet5Ga2Y FLAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=LdsyjFw5; 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 f7si8241647pgq.785.2018.01.19.08.47.42; Fri, 19 Jan 2018 08:47: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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=LdsyjFw5; 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 S1756128AbeASQqC (ORCPT + 99 others); Fri, 19 Jan 2018 11:46:02 -0500 Received: from merlin.infradead.org ([205.233.59.134]:56608 "EHLO merlin.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755983AbeASQpz (ORCPT ); Fri, 19 Jan 2018 11:45:55 -0500 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=GFX1/M7UvNsAujDlCG5x8sB0RuE0slcXsQrHkcz4HlM=; b=LdsyjFw5oph60DuFz+hmptkTp Mqn8Pq72y9hWDguO/Ylj/LoPylFt+GV2/q/ZhPsE5hZiwxiAbScKuiOHcsynuD0qdo9UQFBnt7Wf1 aqIEPWBDyyD8tDZlxLX87kntZYpHpZ9l8EyNo54GbLbhmFGKZbPuFl4nLgiDFPyG7dJRA5lFNGz7u mIh+P/NC4xmx0u39JghYhnd/DKzDJT2O8HKZirrsR+Cpu8pvSOD3PZVtFeQdD/qvjTW1C7JlHwmjW a1DGfdcuiNJkUX3Qa2XdxG6qVsS9P+gbWNKi/IJgIHFj5YzXvUzD6tF+bhdkUqa9aFqVRKSQMRN+M 7BtiNCHfg==; 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.89 #1 (Red Hat Linux)) id 1ecZnS-0006hA-24; Fri, 19 Jan 2018 16:45:42 +0000 Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id D90A32029F9F9; Fri, 19 Jan 2018 17:45:40 +0100 (CET) Date: Fri, 19 Jan 2018 17:45:40 +0100 From: Peter Zijlstra To: Tvrtko Ursulin Cc: Intel-gfx@lists.freedesktop.org, Tvrtko Ursulin , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org Subject: Re: [RFC] perf: Allow fine-grained PMU access control Message-ID: <20180119164540.GT2228@hirez.programming.kicks-ass.net> References: <20180118184007.1300-1-tvrtko.ursulin@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180118184007.1300-1-tvrtko.ursulin@linux.intel.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 18, 2018 at 06:40:07PM +0000, Tvrtko Ursulin wrote: > From: Tvrtko Ursulin > > For situations where sysadmins might want to allow different level of > of access control for different PMUs, we start creating per-PMU > perf_event_paranoid controls in sysfs. You've completely and utterly failed to explain why.