Received: by 10.223.176.46 with SMTP id f43csp3214wra; Fri, 19 Jan 2018 12:52:22 -0800 (PST) X-Google-Smtp-Source: ACJfBot+nE2/QIobwpyvrZxbexuPjlbUM6bXUIrJxfoKPfnZKb1PjCenafR7Ino84lmTDquQDpVi X-Received: by 10.98.61.22 with SMTP id k22mr38089496pfa.133.1516395142361; Fri, 19 Jan 2018 12:52:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516395142; cv=none; d=google.com; s=arc-20160816; b=XFcYs0AjITF4wUlw9T4WkKq/0F0GJP/mCIM5ltAR+1+EoTU9HzGe9JusJG4FzkPWl1 rP3A2NIAIAfEN9zSHf1bsSmuvoHZcK4oTczA1tzcYOD++bXnUH52kGlM7G8QMSyCpmfc mOwI452AnPJNpAkg1mTaGhJtPbkLnzlWXdaAmph/EqsSA3Nxc0SoJtQaIzQNTJMzrHPD +9kEnlAs/QwynoRN8D+0W1u4iIPyUuCV9TpR8t31NPP3ZikKRILRmlRmVJujEZ065V+b bVrPdxOeKUaVW+Wm/CSjUfwDZe1qgX1SnU6+h3Sig6QH6eKIgZGphyWsfz9fmXl0JjPm EbPg== 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=dDf4kYI153ZJhE3K/I8GWd9Z2Tipf9wix0jYzClILSc=; b=kgnnO9c3WKUJSHCzaWXlN3Uh7TChkvRQDC+WJcWV20HXHFvlKM09GhE57MXVHfrwGl oedBGfdeUOhcVMZrBerHswhw6F4uOWLX6bMejECHLcawrxSlvJH17fcztgPU6hpFwqEl qsfVGV56m2PUGOHjjB41puw6mUqVNG9lUX6Gw88g5fO7pgWE83/UOPr9zq4yHMAFDQp4 HrW7Od5kwDHJXuxbBiQw+mUWWP2GIKZYT+flhEze3LQ3MfjsiNRnjmaIxKc+k+CL1kx7 FSEjZRLx48R/cx7caasZRIIy//fFHWpalQ3pbgnTinn0kaVu46F19ERyCDAgUbZdl8Gn LOEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=p1x/SzH7; 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 z125si8743466pgb.304.2018.01.19.12.52.07; Fri, 19 Jan 2018 12:52:22 -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=p1x/SzH7; 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 S1754836AbeASUuS (ORCPT + 99 others); Fri, 19 Jan 2018 15:50:18 -0500 Received: from mail-it0-f49.google.com ([209.85.214.49]:38871 "EHLO mail-it0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752100AbeASUuK (ORCPT ); Fri, 19 Jan 2018 15:50:10 -0500 Received: by mail-it0-f49.google.com with SMTP id w14so3591029itc.3 for ; Fri, 19 Jan 2018 12:50:10 -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=dDf4kYI153ZJhE3K/I8GWd9Z2Tipf9wix0jYzClILSc=; b=p1x/SzH7wlI9YPBIkgoYVk9Btb+nnEKCfRIZsifZPXNrTgVdHw1FXp1eYfEJxewMOD 8auL8sPsahPoslBOLsMMPOlcH75QgiiQM1vesdhNK/v5dEFGkvmnOKWQ0rYpCyTnlj/N WFYy/s+HWVGBnAdER4n3SjOHJGmBmi5lvlfNvR70iHWVYT0avVhHO0CqMQAOpzh5Ktbj 5HWRdciRqwc9DKHcyZn4z8hL/sDrAr2zbbESd8yLat0GmKtLArd+x1Y8Fo/hXvQtkX9C bLlsiBFO4DzNxXf1GID+baMS/NnwKaHmY7RLSBFIoB2LSusb5MIj5likCgZw3yDP61uy bARw== 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=dDf4kYI153ZJhE3K/I8GWd9Z2Tipf9wix0jYzClILSc=; b=Nz0M5ToXIZUMjza7Ow+jrC0nqfXScLf8oF14O53BYTG4c9Eq1WNGkxg84nFZQ//K3h 9GxdIEirdqCy4qxB3RU7oS2ZJS5fLqApFp0Wv86RY/KxaUxUydGuoAup2ITmFc+4KRvF 9DSFoVfsvGNmIqXAiK1EKaWHWSLBhEjFCLgJXcWxAVQapzsLGXzua3oyCH9tjgZsS/pI qyqo+ayn3vm02LfuLmrNeB3Cp3D1qz1Ui6C7uSZ2rdorcYtjew1NIrYuLbCFfK47EkMV ruqv3GPkNk8V7cwY60o98TyPETxMxs08djmq+3AbhB0b2ouXb0+JW05Pf+MoF8ScVGNC yEtA== X-Gm-Message-State: AKwxytc1Ro4DtFbmZ8hGPW9AQPFuRvCy3ZvliW01ffjrjAn4Yr+NEtF/ x0ZMh6Dr5tZjS5x4lmD/QXo8kTFCCh2HBF2w41WlPg== X-Received: by 10.36.73.102 with SMTP id z99mr292301ita.72.1516395009922; Fri, 19 Jan 2018 12:50:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.170.39 with HTTP; Fri, 19 Jan 2018 12:50:09 -0800 (PST) In-Reply-To: <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> <20180119202417.GK7844@tassilo.jf.intel.com> From: Stephane Eranian Date: Fri, 19 Jan 2018 12:50:09 -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: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? > -Andi