Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1644330rwd; Thu, 8 Jun 2023 23:21:54 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5MbX3jyf3YW09oj5AEB9it+qBOaaKR3Gx9EaS3CRuj7w55jFPRtbj3KiVI9lNkT0l0kBIA X-Received: by 2002:a17:902:e848:b0:1ae:4553:edfa with SMTP id t8-20020a170902e84800b001ae4553edfamr369018plg.29.1686291713876; Thu, 08 Jun 2023 23:21:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686291713; cv=none; d=google.com; s=arc-20160816; b=Q6hyNavCxwucA9JKox8nLLl189JNdTkMhIsnzj3jFQ2IfQfJH9diyD58aGkhYYYias 7Ibxv3kyF4eefSGrY6RfNVfvqJKmTs1eG1F066W6QNaExYKhHe+EVXgCgGWSc4mUqPjp LL0TTdcl58TCl3CxNYNT76mKIVam73P0/fPW0goI4hHmJCu8/QR2wewOmySavO1Azb+F 5eFcgV7NXKlAzVLfG9T9TfrS7srX6xMf80USGRvEH1npR5X3pnZm834WLyUcA2qRIQwU V2kg7iDpkCYrwLOTtq2FDmeUZEnkyYDR0MDo2g9VVr2+PlX0FIm61zoStgP4SAr4AW71 A6Sw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject; bh=2czUtIIdIbSFapS+Nh4Vvd45raiC+vQaLHtJIid3T3A=; b=JR9UVUdpCiuDE8WmWO+0K6g0vthjNYgUEXjBqKN+M5tKcJMMpXwfXYMZVGcCOoRVP/ e6cSOMmpHeF4IMGIRMClmLiYUyCtd/vAN5Nr3MnHpIVaARLvc6GXcfSHUrAr6hf7hQ+z BSI+qXy/hR4w0dwxMftDf1FtZxdnNM0seS6+lbLccBLiS1rEtTH0nLlqFIBpyXcHlpOk aqc5hbRd5eYSsbmSG5WY0tj132L8ojweEhsiv+wTnRWEbuP9nemtFPS+uUcAmytOXesZ qFRUOcT5swnUj7WckrCvdnuKAJ6ARQV7Nw0WxUj5luHeGtfa/NjNpuSiCd/oL0tVlsQB 1INg== 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 y16-20020a17090322d000b001ae3e5b31b5si2288032plg.193.2023.06.08.23.21.38; Thu, 08 Jun 2023 23:21:53 -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 S237582AbjFIGSC (ORCPT + 99 others); Fri, 9 Jun 2023 02:18:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237178AbjFIGRx (ORCPT ); Fri, 9 Jun 2023 02:17:53 -0400 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5866E1FE6; Thu, 8 Jun 2023 23:17:51 -0700 (PDT) Received: from dggpeml500002.china.huawei.com (unknown [172.30.72.57]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4QcrNV1sZkz18M2t; Fri, 9 Jun 2023 14:12:58 +0800 (CST) Received: from [10.67.103.44] (10.67.103.44) by dggpeml500002.china.huawei.com (7.185.36.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Fri, 9 Jun 2023 14:17:48 +0800 Subject: Re: [PATCH v3 2/3] drivers/perf: hisi: Add support for HiSilicon UC PMU driver To: Jonathan Cameron References: <20230608113719.27433-1-hejunhao3@huawei.com> <20230608113719.27433-3-hejunhao3@huawei.com> <20230608142200.0000753c@Huawei.com> CC: , , , , , , , , From: hejunhao Message-ID: <7148da77-056a-06aa-89bf-25f775535685@huawei.com> Date: Fri, 9 Jun 2023 14:17:47 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20230608142200.0000753c@Huawei.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.103.44] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To dggpeml500002.china.huawei.com (7.185.36.158) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 Hi, Jonathan On 2023/6/8 21:22, Jonathan Cameron wrote: > 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 Ok, will fix it. Thanks. >> 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. Ok, will fix it. Thanks. >> 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. Ok, will fix it. Thanks. >> * 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 > . Sure, Will fix in next version. Thanks.