From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2DD54C433DB for ; Mon, 8 Feb 2021 17:35:41 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E0EF364DB2 for ; Mon, 8 Feb 2021 17:35:40 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E0EF364DB2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bsmSTtVG7Hx56s6qArqEpmXdaRpGqA550EkLCB/VZFk=; b=IhPwvYLAPrk22Z50sylXgpo0n TYuWP+plVVSqueG4GrCX7KgqygQ9KUZW1Mj5sUR8EmFqwDAuZE3rXZnddNzSCLCJZxB3wkULyDBCA EwIi/MB32B1xEnXluwhNKHij6flOHwW/CRJL2+GUTzms2V+uNrgjXfcClcz2PfYDCjnNiNNhHVMY8 Ns69JcZLJ+BjX2H8Pn6p6e/cn63PhJwfXTWeN1Ur+KBgrlldfeN85d97DmmL9qe0uoBy0CnXVbOGy e7dr9uRmiKfaH9X0xZR7kaRVwQz+o6m+bMHOpcZUeKC/waC9/OfUYcr3xiEi6r3IrfikZ0peqIcmu h0Vz2GpfA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9AQm-0002pQ-Hy; Mon, 08 Feb 2021 17:34:36 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l9AQj-0002nw-Ji for linux-arm-kernel@lists.infradead.org; Mon, 08 Feb 2021 17:34:34 +0000 Received: by mail-pl1-x62d.google.com with SMTP id e9so8202708plh.3 for ; Mon, 08 Feb 2021 09:34:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=QAxmqoEOSrSGuDIGX8UTYzw6McBlWP+GhOSfkix9wjk=; b=GYKgxaI9CMbwk19YePl5gkV9bFRlQlO+2w4ie9BtNOhNrbyAWWGR+Y+3iewmYreiwM AcuaTVg0YMEGW4+If05PFEmmP6byd2Bkvgc1rEpIl0waXziJKxojCrDTvk3Hfr7DekQs voaohLE/fiu8RgJr439mqQRGm+BCqa6PHfvgWCQbZmdP429FcFuKdNCn4mBJ8ODJ+l6e EKAgGIRwR1p2R6y5+ueeLFMmmpRsnQaL/S1Bdgs5YX1wL9gx7fOCDK6QPr9JkG7cxIrU SxT+REOCJhe/o6zBXD/r/iTjFvGjblVd5gt6hhApMm6ZhSpxt5obkRlAjOGkCN9LAMuW as7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=QAxmqoEOSrSGuDIGX8UTYzw6McBlWP+GhOSfkix9wjk=; b=Y6bfarzzcVrkPbskWjGgPQrWKwp6CwefCgVXfP2DVxP3QRTMQG0bFmvYGYPrINdWNP QXvwkvZTNHS9jXCfsvRzAuzrDnfJCuI0D0BfRMXCNLn/0C2NGya0oYBqJVA+1BM6lZXV 1PXsGFhlV2TUK2gdnC6+6tdBTvaM/bdk8TVzgVSbnERAw/Xow8Bl3YA6A5LW62F7BeMi 2L5nGMv6l7cPa1DMnfXJiRZUxWse9tvXK4J9RJ36s2YkWLBs1IEQf87G1/sSJHCyRCvF bUaNNCzKi3/2sspoER3qTw/Z59cz9Ng1E4+2Qh1j5HH+/C4FH4L4U4Q0asg+7Ei0eObd aTuQ== X-Gm-Message-State: AOAM533UY+lWypy8u7feF2KQu23UmMQPC2Qcvlhs6Vw7/kXPf2Ms2LxH LuKB+ts91AKDu/j7ByX0xa0QeA== X-Google-Smtp-Source: ABdhPJxAHbPUbnYUWT4fo9NEUczHKy8t+ddayCH4TfZBjZgySsIvYVhlFut7hHzwwykqsbkh6CuQoQ== X-Received: by 2002:a17:90b:4a0b:: with SMTP id kk11mr18055807pjb.95.1612805669921; Mon, 08 Feb 2021 09:34:29 -0800 (PST) Received: from xps15 (S0106889e681aac74.cg.shawcable.net. [68.147.0.187]) by smtp.gmail.com with ESMTPSA id f127sm14038890pgc.48.2021.02.08.09.34.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Feb 2021 09:34:28 -0800 (PST) Date: Mon, 8 Feb 2021 10:34:26 -0700 From: Mathieu Poirier To: Leo Yan Subject: Re: [PATCH v3 2/8] tools headers UAPI: Update tools' copy of linux/coresight-pmu.h Message-ID: <20210208173426.GA2077938@xps15> References: <20210206150833.42120-1-leo.yan@linaro.org> <20210206150833.42120-3-leo.yan@linaro.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210206150833.42120-3-leo.yan@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210208_123433_764729_D13B9991 X-CRM114-Status: GOOD ( 20.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Al Grant , Denis Nikitin , Jonathan Corbet , Peter Zijlstra , Jiri Olsa , coresight@lists.linaro.org, John Garry , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Ingo Molnar , linux-arm-kernel@lists.infradead.org, Namhyung Kim , Daniel Kiss , Will Deacon , Suzuki K Poulose , Mike Leach Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sat, Feb 06, 2021 at 11:08:27PM +0800, Leo Yan wrote: > To get the changes in the commit: > > "coresight: etm-perf: Clarify comment on perf options". > > Signed-off-by: Leo Yan > Reviewed-by: Suzuki K Poulose Reviewed-by: Mathieu Poirier > --- > tools/include/linux/coresight-pmu.h | 17 ++++++++++++----- > 1 file changed, 12 insertions(+), 5 deletions(-) > > diff --git a/tools/include/linux/coresight-pmu.h b/tools/include/linux/coresight-pmu.h > index b0e35eec6499..5dc47cfdcf07 100644 > --- a/tools/include/linux/coresight-pmu.h > +++ b/tools/include/linux/coresight-pmu.h > @@ -10,11 +10,18 @@ > #define CORESIGHT_ETM_PMU_NAME "cs_etm" > #define CORESIGHT_ETM_PMU_SEED 0x10 > > -/* ETMv3.5/PTM's ETMCR config bit */ > -#define ETM_OPT_CYCACC 12 > -#define ETM_OPT_CTXTID 14 > -#define ETM_OPT_TS 28 > -#define ETM_OPT_RETSTK 29 > +/* > + * Below are the definition of bit offsets for perf option, and works as > + * arbitrary values for all ETM versions. > + * > + * Most of them are orignally from ETMv3.5/PTM's ETMCR config, therefore, > + * ETMv3.5/PTM doesn't define ETMCR config bits with prefix "ETM3_" and > + * directly use below macros as config bits. > + */ > +#define ETM_OPT_CYCACC 12 > +#define ETM_OPT_CTXTID 14 > +#define ETM_OPT_TS 28 > +#define ETM_OPT_RETSTK 29 > > /* ETMv4 CONFIGR programming bits for the ETM OPTs */ > #define ETM4_CFG_BIT_CYCACC 4 > -- > 2.25.1 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel