Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3530607imm; Sun, 30 Sep 2018 23:25:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV61CUaJPYrdKMoOKIXRB/p+b0gaNsDJGN1TzgAIDSObw8TRKxI3QTKmuEh+Ca0zW0ZcGB4hk X-Received: by 2002:a63:64c2:: with SMTP id y185-v6mr8896781pgb.411.1538375158285; Sun, 30 Sep 2018 23:25:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538375158; cv=none; d=google.com; s=arc-20160816; b=aIuaysqBvC1PryeQ0VqyHDxjNqXMW2jWG1WUlLfKuY01f+Rauplye8eqmcck709Ol3 TtftTE/UiJYwHH8ouFtk8UdlqvnCOUUUFCfkUYooW97h3RZopQWvEdYnrTWzEkY7mSse MNoc6K5FnptctpZ80XxABOoZ5O5OqrmijJYBur5+XRfmLpc3OIbFOrgVlgAG6x2c6xgB uCHVdisbMTl1TNCfvtUQvokGmgLs9n4WKjAlkN5ETZj6V+y2P+FyIBU+Ib3nLMkLRoIa bE4yP2jzELbj5ty/JMRVAPCLBuB7VVaqPTMz3ZjwrIW/Dl4DGJ3yX76h7+LE/NNgv0uO t86g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:references:cc:to:subject:from; bh=XZBzibEm4qF3CXMVUfXAuPTCCTF54bMEGm/86lQywIk=; b=heCy2rffejNOGwfE9F7MxB3b8808Q4nDA3uKDYmYvn5KPRNTsC5QbFzNko9TqLS1UA 1wP+LHOy/E5bBHiiLNWtFF8KZbO6VooMmRfOtqehH12D8eeOd+4i23jIpHJdWxyjaDyT bsUGaBzWwMMIlVgkletZcygHsHHGicdXKW/uvK7dwLOAmDyg2fFvMIHc7IyjWkJzZIB0 1ybVAX2WlqGnLzOwjTT76RP1WoXY4ZyFfBz8kMG3ZMUVRWmaMpct7B0OFENdGto5WcX3 6LqpCirqMRNUcTZpUSynhbjsicYRBvyWKXyDTKCfkaTRWb34huFF59nwB2FqDmoFOG9k 9Pgg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d5-v6si13204809pln.471.2018.09.30.23.25.43; Sun, 30 Sep 2018 23:25:58 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728785AbeJANB1 (ORCPT + 99 others); Mon, 1 Oct 2018 09:01:27 -0400 Received: from mga04.intel.com ([192.55.52.120]:2123 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727693AbeJANB0 (ORCPT ); Mon, 1 Oct 2018 09:01:26 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Sep 2018 23:25:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,326,1534834800"; d="scan'208";a="261813821" Received: from linux.intel.com ([10.54.29.200]) by orsmga005.jf.intel.com with ESMTP; 30 Sep 2018 23:25:18 -0700 Received: from [10.125.252.7] (abudanko-mobl.ccr.corp.intel.com [10.125.252.7]) by linux.intel.com (Postfix) with ESMTP id C8857580141; Sun, 30 Sep 2018 23:25:14 -0700 (PDT) From: Alexey Budankov Subject: Re: [RFC 0/5] perf: Per PMU access controls (paranoid setting) To: Thomas Gleixner , Tvrtko Ursulin Cc: Kees Cook , Jann Horn , Tvrtko Ursulin , LKML , Peter Zijlstra , x86@kernel.org, "H. Peter Anvin" , Arnaldo Carvalho de Melo , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Madhavan Srinivasan , Andi Kleen References: <20180919122751.12439-1-tvrtko.ursulin@linux.intel.com> <0feb9867-0040-0306-a95b-4b6df1818312@linux.intel.com> Organization: Intel Corp. Message-ID: <044ce172-f0fb-4a78-e624-797b5bfe002c@linux.intel.com> Date: Mon, 1 Oct 2018 09:25:10 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On 28.09.2018 21:20, Thomas Gleixner wrote: > Start with something like Documentation/admin-guide/perf-security.rst or > whatever name fits better and add a proper documentation for the existing > knob. With the infrastructure for fine grained access control add the > general explanation for fine grained access control. With each PMU which > opt's in for the knob, add a section with guidance about scope and risk for > this particular one. Sounds like a plan. Thanks! BR, Alexey > > Thanks, > > tglx > > >