Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp694901rwd; Thu, 8 Jun 2023 06:37:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7yx0t5ypFTNCQ4p9MKH/5fuBK+zGi56zDAv8t2XOag1GFXNzNXr3E3vW1AsdPhtUhGAjhg X-Received: by 2002:a05:6a21:78a7:b0:10b:764b:a942 with SMTP id bf39-20020a056a2178a700b0010b764ba942mr2617965pzc.11.1686231467158; Thu, 08 Jun 2023 06:37:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686231467; cv=none; d=google.com; s=arc-20160816; b=lBTXMtpX+5BViimQuMFZADoFIt8a5EVWUhxX8QDb3+dRTMIHAdLfMA+m280o5dTr4I 1E6LHyRUf1p/hdvJwjndeQyTtMeBrnHL1ByuFLUm3KHcjnrULyzUxFlaeJCdshlLR5og eCByXXJUD6CspSp0LnKt350SRKvR8Qlt74pLJquja9lJwTcfpbwXHd4MMAL2PGVVGz9+ sp5QUCM84Q6SgY0SG9D5HWxNQswxtF5g0PggTikJgt+aOnVJq7E9DMdUrxgF+eQoJ9xu /xT18xrlLHAIQuGGlYffIZqvSw8Y6y07VWb+EWUk/Wzqog5aFvSLEFlEjKA/2HXxNJCx E83w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=4B/ofiJDzr33Dl3Jt55M5PAZPnzN8z1an36dt2HmJDA=; b=pOwh6IV5/+3PQtwCRVQ+Jo2kMJ+PxGehVyseDPFATKADlRe+ykYXb2/kLKQUuniszE nucKP/pV4TIn2YPvRbbew+xZjVZyxoFcYhdNjDU75dAWVnxsb3OVqiFlw89o0q1AyQB5 UcOVcbqIRpfm9LSbU0IRGY5o3QZU2kW580RohSfx/cuz4NCwar2AKG98sGYIC3yq/WFP UBTvqZPWxfgSPu45vO833XqnSOKdc7p7h9F4hQSVnyL4M/t2kv3PRr5BjdAdGvy5viFf UiE7rOAxbqs5UGKlSks7voP0G2s2Ef7OjZb8BJm6+kX668Ln9RVwRjkZogo3Ex//TT88 P5gQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b73-20020a63344c000000b0051b47fe799fsi989783pga.557.2023.06.08.06.37.33; Thu, 08 Jun 2023 06:37:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236724AbjFHNWs (ORCPT + 99 others); Thu, 8 Jun 2023 09:22:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235659AbjFHNWk (ORCPT ); Thu, 8 Jun 2023 09:22:40 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C70CC2717; Thu, 8 Jun 2023 06:22:13 -0700 (PDT) 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 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit 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-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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