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 A794FC7EE29 for ; Thu, 8 Jun 2023 13:22:36 +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:MIME-Version:References:In-Reply-To: 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=H8+BnjAcbWIr8K9yf2fFKLtpcaWnz9Avu8Ib5pv7yZI=; b=p4wdOODpcAZG/6 /cv+2yFNL3KmlkJ5UVz/Rowi0VmQuFT3WScE5cZ+Zh0sq4rQAB+pqTEXr2J4gwxgzWvAm6J7dk8Hn 7N/GZp7nTqRhDbqSm5ZEdhU7QbR5MAF++bDKTXTewmNWH0VlKPlpGzR8gsmfKt7QPcPS2pdoUFBXU bVEyFQCVZjVDIMqNGn/WlMRflDoHu6y6/oaDUJGeObN8YeX7ms5F6H8BnrtgypCPsLjrMtxh4nR6I /Stp9Lo5Zo3O9ugE/TGKduutCCuol6HXgEZdlix5MMK4r7bzrx85+mkrqKvIt08CYDkyAaAXI8fhu mc+05O1/mDvs+mhhpZPw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q7Fac-009SMe-1a; Thu, 08 Jun 2023 13:22:10 +0000 Received: from frasgout.his.huawei.com ([185.176.79.56]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q7FaZ-009SKB-2E for linux-arm-kernel@lists.infradead.org; Thu, 08 Jun 2023 13:22:09 +0000 Received: from lhrpeml500005.china.huawei.com (unknown [172.18.147.206]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4QcPxY3cpGz6J7rT; Thu, 8 Jun 2023 21:21:37 +0800 (CST) Received: from localhost (10.202.227.76) by lhrpeml500005.china.huawei.com (7.191.163.240) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 8 Jun 2023 14:22:01 +0100 Date: Thu, 8 Jun 2023 14:22:00 +0100 From: Jonathan Cameron To: Junhao He CC: , , , , , , , , Subject: Re: [PATCH v3 2/3] drivers/perf: hisi: Add support for HiSilicon UC PMU driver Message-ID: <20230608142200.0000753c@Huawei.com> In-Reply-To: <20230608113719.27433-3-hejunhao3@huawei.com> References: <20230608113719.27433-1-hejunhao3@huawei.com> <20230608113719.27433-3-hejunhao3@huawei.com> Organization: Huawei Technologies Research and Development (UK) Ltd. X-Mailer: Claws Mail 4.1.0 (GTK 3.24.33; x86_64-w64-mingw32) MIME-Version: 1.0 X-Originating-IP: [10.202.227.76] X-ClientProxiedBy: lhrpeml500006.china.huawei.com (7.191.161.198) To lhrpeml500005.china.huawei.com (7.191.163.240) X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230608_062207_872195_494AC231 X-CRM114-Status: GOOD ( 10.91 ) 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 Thu, 8 Jun 2023 19:37:18 +0800 Junhao He wrote: > On HiSilicon Hip09 platform, there is 4 UC (unified cache) module are 4 UC (unified cache) modules > on each chip CCL (CPU Cluster). UC is a cache that provides > coherence between NUMA and UMA domains. It is located between L2 > and Memory System. And many PMU events are supported. Let's support Many PMU events are supported. > the UC PMU driver using the HiSilicon uncore PMU framework. > > * rd_req_en : rd_req_en is the abbreviation of read request tracetag > enable and allows user to count only read operations. Details are listed > in the hisi-pmu document at Documentation/admin-guide/perf/hisi-pmu.rst > > * srcid_en & srcid: Allows users to filter statistical information based > on specific CPU/ICL by srcid. > srcid_en depending on rd_req_en enabled. srcid_en depends on rd_req_en being enabled. > > * uring_channel: Allows users to filter statistical information based on > the specified tx request uring channel. > uring_channel only supported events: [0x47 ~ 0x59]. > > Signed-off-by: Junhao He > Reviewed-by: Yicong Yang The editorial stuff above is trivial and original text can be easily understood. So maintainers may not care. If you happen to be re rolling the patch then nice to clean it up. Reviewed-by: Jonathan Cameron _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel