Received: by 10.223.176.46 with SMTP id f43csp1499647wra; Fri, 19 Jan 2018 12:25:27 -0800 (PST) X-Google-Smtp-Source: ACJfBouJcqyohJJAiTpZkdNo3aVRFDsP9MNn8tnEO6mPIMQot4okGdHMonTjspSBDhVYevdUYpbg X-Received: by 10.99.152.26 with SMTP id q26mr40496500pgd.74.1516393527450; Fri, 19 Jan 2018 12:25:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516393527; cv=none; d=google.com; s=arc-20160816; b=kwJphTsXSl3wxJ+n2Yv1TJB3DHs/3+QPyKvrs619mJ+CqB+EtKidvWwMzmVnoRwk6e DHbCeFhAFjvm/td3qbQtS98E7iril1K81h2qxTyyr0pdnCF/IUFNGMgmM5siGbBGomRC 0YUShBCjH5XZJBoybjflZgE8HO4LJLurFOzkDb/wAGEP2UEXQksgk8KSgnCe8jZ3QddD tnMAluDmI8jSEzv4yWY676ejGIn2Xm9vvf5LdeuMw2TVqQuSWf93hTuOlo4O67i3GCc1 PSFmGuLlEmDM7TNsRbRUZVbwk45RbKcr0pKESh8WEflU6abbPmHdRXa7oyylku5CLhFN 9VVw== 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=9dMJ/k5RgluCwXVioCyouurpNbozoNZDuWDz+yeogjw=; b=BNJMO+WBAjcafJdpwzqgWB9CuU+3MlXtuzW0W892T+SB+j5W8rqn5DwAlK38clVwin 9DYOFM9/ax9RclZOjDAXSZ/2D+TUcmCP6BFIuX8soQA6m84N+ZR2jOAt8a1pzjiaOxeQ Azw+A71DfN75ANomzaGW0uCqBGwV2UP6UbFH0uVMOg0JtLqHaDoNZ+Lyj56VSdEiFsNk /HjOIYjAw7wN398LRSRHohPdbTJA3UKC1lDAQPPoPCwrDI4gu0ph+95ec3/k2iEyIATq BqigicAKLr9pEkPNwijJKx8v3hYGcTWfSYWkTsOrd3Eo92QIa7AGwQJrlTrLnOFOuhtD hj+w== 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 r2si8931169pge.772.2018.01.19.12.25.06; Fri, 19 Jan 2018 12:25:27 -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 S1756394AbeASUYd (ORCPT + 99 others); Fri, 19 Jan 2018 15:24:33 -0500 Received: from mga04.intel.com ([192.55.52.120]:54494 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756345AbeASUY1 (ORCPT ); Fri, 19 Jan 2018 15:24:27 -0500 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Jan 2018 12:24:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,382,1511856000"; d="scan'208";a="167574532" Received: from tassilo.jf.intel.com (HELO tassilo.localdomain) ([10.7.201.35]) by orsmga004.jf.intel.com with ESMTP; 19 Jan 2018 12:24:26 -0800 Received: by tassilo.localdomain (Postfix, from userid 1000) id DD25B300338; Fri, 19 Jan 2018 12:24:17 -0800 (PST) Date: Fri, 19 Jan 2018 12:24:17 -0800 From: Andi Kleen To: "Liang, Kan" Cc: Stephane Eranian , 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: <20180119202417.GK7844@tassilo.jf.intel.com> References: <1516042629-387021-1-git-send-email-kan.liang@intel.com> <1516042629-387021-4-git-send-email-kan.liang@intel.com> <20180118133248.GC2249@hirez.programming.kicks-ass.net> <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37D7C6CF3E00A74B8858931C1DB2F07753802712@SHSMSX103.ccr.corp.intel.com> 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 > 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. -Andi