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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7B5CFC7EE43 for ; Fri, 9 Jun 2023 09:00:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc: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=8uUe6j5l7Yt8PCNn/3ZD+FXHMalLGNAWu8AKIkVshQA=; b=iwWFEL2xowTck3 Zxh+T1lO3JA3+7sd8T2X/Vo+WW7z5xmXe8RJcXsS6I0z1DYroz+RZOuPn1EkTx0uAk2jkuop43jzF rIw5mgTXhbnAgtbc0KRaPKu9CFMtLeu3FHblzU3pln1lg5cnrpCuD/DZDz6tA/vzvU6MyaZIqVFIx n0T22FsOMOzm6XNDSpSpE/GLpUfeKDffQD32tC6rM7PNmJjWSCgoQMzka57kLFnnkfrv0+bSKOAAD 9Q0eNvzH0H7UHUGlk5sioIjQ57DSlC22ngTb8kdrCC2T82mcUMhnL3VF6/dkdW6a5h/+Ny1HoaruH CKEluY9BQc1Jcuy88PZQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7Xyj-00CKwU-1q; Fri, 09 Jun 2023 09:00:17 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7Xyh-00CKvK-0x for linux-arm-kernel@lists.infradead.org; Fri, 09 Jun 2023 09:00:16 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CDED5AB6; Fri, 9 Jun 2023 02:00:56 -0700 (PDT) Received: from FVFF77S0Q05N (unknown [10.57.25.215]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id D0EC83F71E; Fri, 9 Jun 2023 02:00:09 -0700 (PDT) Date: Fri, 9 Jun 2023 10:00:07 +0100 From: Mark Rutland To: Junhao He Cc: will@kernel.org, jonathan.cameron@huawei.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linuxarm@huawei.com, yangyicong@huawei.com, shenyang39@huawei.com, prime.zeng@hisilicon.com Subject: Re: [PATCH v4 3/3] docs: perf: Add new description for HiSilicon UC PMU Message-ID: References: <20230609075608.36559-1-hejunhao3@huawei.com> <20230609075608.36559-4-hejunhao3@huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20230609075608.36559-4-hejunhao3@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230609_020015_383784_A5F89A7E X-CRM114-Status: GOOD ( 18.12 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 Fri, Jun 09, 2023 at 03:56:08PM +0800, Junhao He wrote: > A new function is added on HiSilicon uncore UC PMU. > > The UC PMU support to filter statistical information based on > the specified tx request uring channel. Make user configuration > through "uring_channel" parameter. > Document them to provide guidance on how to use them. > > Signed-off-by: Junhao He > Reviewed-by: Jonathan Cameron > Reviewed-by: Yicong Yang Acked-by: Mark Rutland Mark. > --- > Documentation/admin-guide/perf/hisi-pmu.rst | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/Documentation/admin-guide/perf/hisi-pmu.rst b/Documentation/admin-guide/perf/hisi-pmu.rst > index 546979360513..939a524fa1d6 100644 > --- a/Documentation/admin-guide/perf/hisi-pmu.rst > +++ b/Documentation/admin-guide/perf/hisi-pmu.rst > @@ -98,6 +98,14 @@ CCL/ICL-ID. For I/O die, the ICL-ID is followed by: > 5'b00011: HAC_ICL; > 5'b10000: PCIe_ICL; > > +(e) uring_channel: UC PMU events 0x47~0x59 supports filtering by tx request > +uring channel. It is 2 bits. Some important codes are as follows: > +2'b11: count the events which sent to the uring_ext (MATA) channel; > +2'b01: is the same as 2'b11; > +2'b10: count the events which sent to the uring (non-MATA) channel; > +2'b00: default value, count the events which sent to the both uring and > + uring_ext channel; > + > Users could configure IDs to count data come from specific CCL/ICL, by setting > srcid_cmd & srcid_msk, and data desitined for specific CCL/ICL by setting > tgtid_cmd & tgtid_msk. A set bit in srcid_msk/tgtid_msk means the PMU will not > -- > 2.33.0 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel