Received: by 10.223.176.46 with SMTP id f43csp269119wra; Fri, 19 Jan 2018 17:29:01 -0800 (PST) X-Google-Smtp-Source: AH8x226t7coge08P/lgi3dQtpPQKZs2xYQYGbaV0FNei7nIEmjmuReN6qxqAZCtJF+bgEK4oCnxJ X-Received: by 10.98.194.212 with SMTP id w81mr465386pfk.232.1516411741025; Fri, 19 Jan 2018 17:29:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516411740; cv=none; d=google.com; s=arc-20160816; b=VXeF3MbBd7nNpXdaYpgHPEN1P8eWjvi0vryFUTR+kMbwhiAelRwkFOLz59aJXG+38V wriNO1fZwMb5JKgcMM9JfCYtMF/Dj18MyQfWy78R6THhg4119wjGnX/jPF9MGvKmP5Or ijGk7+fAaP1VlWHBNuS4SPhGNaatVHVIwBTl0JMK8pr7aQp0j/abFMfPNsEVHlpLG79k Nut+BAiXeNPp3JqEQe75XyQnNUwOq+OG5TehI7K463ENGa0QCnUXsdl0/F3HnVDuWkAf EbRjUz37w967BsmP1C4VIZBugZMeW5K3SAWRZ21tupa0rmd4FE1UhIvjdnTjh+pYHvQR sz1Q== 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:arc-authentication-results; bh=f9v+eYJ6xjDxY9z5JYVGLjUE8uBPZ4cUqRGna7traBQ=; b=L2dd2lu7hJRcEpICVnH+ChJgJ0WaI7fBxa+nvvi5ylf61/ji60CAczkz+b1Z3CaTv0 FcwGqgsIv67+U69cdA1sm8zslPUtcapR/GbcofKXa6MNMGCP1HZ8IDVhseYXvoZIXU1c DuQ7/paHUbPgjPmCh3YCbeK93T/tWw8DzZNyLlvf610GsmnppUjZz1KWcZkBcHZhwpMF U+HX3/baG2uSGS+FcAV4l0yZXV9+cQvDXKiZCs5EKQrOqOjkyoyksu86Y4OoghnmV7jJ GFpe7p/c0EoMkzhQLY5aFFc1QckTPmKDkMgw+BMEcw9qYJMIBLhUshwLB1WGJy3/BvqX 9wJw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f25si4804071pge.163.2018.01.19.17.28.47; Fri, 19 Jan 2018 17:29:00 -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; 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 S1756279AbeATBZQ (ORCPT + 99 others); Fri, 19 Jan 2018 20:25:16 -0500 Received: from mga04.intel.com ([192.55.52.120]:4607 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753054AbeATBZJ (ORCPT ); Fri, 19 Jan 2018 20:25:09 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jan 2018 17:25:08 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,383,1511856000"; d="scan'208";a="21190709" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.35]) by FMSMGA003.fm.intel.com with ESMTP; 19 Jan 2018 17:25:08 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id 51CF2300338; Fri, 19 Jan 2018 17:24:59 -0800 (PST) Date: Fri, 19 Jan 2018 17:24:59 -0800 From: Andi Kleen To: Stephane Eranian Cc: "Liang, Kan" , Peter Zijlstra , "tglx@linutronix.de" , "mingo@redhat.com" , "linux-kernel@vger.kernel.org" , "acme@kernel.org" Subject: Re: [PATCH V5 4/8] perf/x86/intel/uncore: add new data structures for free running counters Message-ID: <20180120012459.GL7844@tassilo.jf.intel.com> References: <37D7C6CF3E00A74B8858931C1DB2F07753801FEF@SHSMSX103.ccr.corp.intel.com> <20180119130731.GQ2228@hirez.programming.kicks-ass.net> <37D7C6CF3E00A74B8858931C1DB2F077538025E7@SHSMSX103.ccr.corp.intel.com> <20180119171929.GZ2228@hirez.programming.kicks-ass.net> <37D7C6CF3E00A74B8858931C1DB2F077538026F3@SHSMSX103.ccr.corp.intel.com> <37D7C6CF3E00A74B8858931C1DB2F07753802712@SHSMSX103.ccr.corp.intel.com> <20180119202417.GK7844@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 19, 2018 at 12:51:08PM -0800, Stephane Eranian wrote: > On Fri, Jan 19, 2018 at 12:50 PM, Stephane Eranian wrote: > > On Fri, Jan 19, 2018 at 12:24 PM, Andi Kleen wrote: > >>> Oh, think a bit more. > >>> I think we cannot do the same thing as we did for CPU PMU's fixed counters. > >>> > >>> The counters here are free running counters. They cannot be start/stop. > >> > >> Yes free running counter have completely different semantics. They > >> need a separate event code. > >> > > Are you saying, you can be shared with no multiplexing? > > > Obviously not you, but the counters ;-) Yes free running can be always shared. -Andi