Received: by 10.223.176.46 with SMTP id f43csp3341wra; Fri, 19 Jan 2018 12:52:31 -0800 (PST) X-Google-Smtp-Source: AH8x226GqnNFvTYpNdYKaiZHD6SQknqDE2TJbQ/BRl/aysaY2ngBi5TxQ0ztHN/zYbgGVtuKfYma X-Received: by 10.98.112.4 with SMTP id l4mr2843648pfc.8.1516395151475; Fri, 19 Jan 2018 12:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516395151; cv=none; d=google.com; s=arc-20160816; b=FrHrf46Z33lxqP+CoJx3xCjxJZqMs96Ulf3GU+PuethOp/m8yv+h1nJ53a96JXGxrr 3VF4qaE2oPBQY3ku1owRFftl1LU5gAE+uMQuumppkr/FtYjWonJ+IUZn+hueyCeWu7DR fY2Otgw3S/fgFzAeXrBRzffXvvBj9zjsZo+ztkIuOnZL/cE30iDVrlu7u0s00eiHhZE9 Gi10E6R5nP2WV9trW6mKn3kecdzMRvDX+jHaTQAuNK0/9H51WIHDeadzev2lb//jW8Pi 08pY1cGo5mNKGgjqxXWh5zZuHnAQv/yPse9j78gGulhNXkjjZ9FlOQ1Laz7+zY9jO4vi pc9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=EelrKkVxpbN5u8MTLFNu5lUuhlXv+eFTLIiGFiOPJvo=; b=mskhX7jkFQMkfRs3/hKZ5C12KumX12n9Q6OJQVpni5ZFUesrJOSF6FMjdOjbRA1OaN 1xAthgFIgdVY5NV2+MJ4HUwHkBnVRKLh5XtiLUUXll/jyCaWbyUb4x/k2o3UosZ6N2e3 HoF8d9vHo4dZ6/hmLp1ChOGN2LLhi9ZSMrdskCB804eIT6VU0+nWQJSoUZK1LtGEunLD lwItoKw7jbIWsPW9GuL2Ix2lDLhky1SXT+apXYt+KovlmQEf+5xFZxZj87pGrynaQ3J0 0ULnRj4cUNAz1+tmr6wFqs5PQKosbtPn8tZhypg8HqGetXUAepW3yyMK0w6kjUkSQ73X akCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=rd/au5gR; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z5si9858114pfz.415.2018.01.19.12.52.17; Fri, 19 Jan 2018 12:52:31 -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=pass header.i=@google.com header.s=20161025 header.b=rd/au5gR; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756514AbeASUv1 (ORCPT + 99 others); Fri, 19 Jan 2018 15:51:27 -0500 Received: from mail-io0-f175.google.com ([209.85.223.175]:34666 "EHLO mail-io0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755643AbeASUvJ (ORCPT ); Fri, 19 Jan 2018 15:51:09 -0500 Received: by mail-io0-f175.google.com with SMTP id c17so3523461iod.1 for ; Fri, 19 Jan 2018 12:51:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=EelrKkVxpbN5u8MTLFNu5lUuhlXv+eFTLIiGFiOPJvo=; b=rd/au5gRfNKLFbkBFjaZ2u4XD/DClbrareJihvVDtv7lt2hFPRwU6mimaMf76O3CAy 1zFijr14JiKRcHscBSMxXh4RWeDzCptiE7OP49V5DxrE1VPf/BpAYJqGZhPteOwkO62S 8Yqmp9VfZ9WVtYgkFiS1/+8Ti3IkEVnsy2F2qjCAJZedx7HCQVUnT/5mwkHP688z6ATe 1b3onTeIafcCh6IKQKoIOZWdRK1VzyYW4CH9ypjemSODMNh1m/37EwxmNZelKwu0jgaI 7YQzjjkQJU9tcE8mk/cAdvXd4KLiFjRjwmt7DSHzMcC2FscxolJbHSD2ZlPwjfwhdMrV yrbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=EelrKkVxpbN5u8MTLFNu5lUuhlXv+eFTLIiGFiOPJvo=; b=h+xq4zXjV3aJEtBoSQlPHbcTq6CX96ZJyWE0dVNOvI2GWe1IsKvSNRor/QXJy8uy0/ 2kgsmBk9WniNbSUh69kfjsW9FJG1EiLA907MCRDRoRuryB1XaiHDuNa6BzDFwZLJlrNY jH+JRi6WvbAkRAoVxVY3it9Dd8fBF7y6jlIPwjCS+uUsd9WGvB/kTxB/tPP57U5ox0+t 2wpon6qTvGmQhAsBcN4h+N45jz6Unc5+dFh0WeptE0KcgvAFuvhrsf5PesoP0vr+D2pd 9Vwp6d7NoiXv+XebIHikH7dzpibPSRjwuG0x1IElQeR8woBFl87U7eRh1icdd5GuvDY1 GyLw== X-Gm-Message-State: AKwxytf+mFHL87iy2MqQ+IKt2PRXpDgT7yfyK6bUQ1p/WyQYg5/nXeBW 7FW94G0+MKC4qvCAgOrtU/TFXUdFRxGRhTWGUq2ZLA== X-Received: by 10.107.19.213 with SMTP id 82mr28198729iot.276.1516395068956; Fri, 19 Jan 2018 12:51:08 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.170.39 with HTTP; Fri, 19 Jan 2018 12:51:08 -0800 (PST) In-Reply-To: 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> <20180119202417.GK7844@tassilo.jf.intel.com> From: Stephane Eranian Date: Fri, 19 Jan 2018 12:51:08 -0800 Message-ID: Subject: Re: [PATCH V5 4/8] perf/x86/intel/uncore: add new data structures for free running counters To: Andi Kleen Cc: "Liang, Kan" , Peter Zijlstra , "tglx@linutronix.de" , "mingo@redhat.com" , "linux-kernel@vger.kernel.org" , "acme@kernel.org" Content-Type: text/plain; charset="UTF-8" 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: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 ;-) >> -Andi