Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4536917rwb; Wed, 17 Aug 2022 01:30:05 -0700 (PDT) X-Google-Smtp-Source: AA6agR4HUs91D+8r6UZeDuPzFP/1rgsBZky5c+YQO7DQT385gdEKQJmL9W3bUb0CcE5vwljq3RpE X-Received: by 2002:a17:907:28c8:b0:730:9ccc:331f with SMTP id en8-20020a17090728c800b007309ccc331fmr15582668ejc.608.1660725005311; Wed, 17 Aug 2022 01:30:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660725005; cv=none; d=google.com; s=arc-20160816; b=nTnalkaGn0aiKuVG9EsSUdRSX+76htS/hFJvudTbh758ZNSo3oxXSFCnHXRccFUs02 QwXHKlBo/iLidn26ryms5h6YwSdKE56dnsI25z9H4yLUI7jjkeOCTNmNA+iRXhNLtj7c 0iU8fCsrwa/DtDt6vM7adaKlX6Ax/Z1ku1Q/BsJHQxhrwZJIegeWdmYRA1R87D5R7n1F Pmx1YELu9+lUKQNt51Tw1002wmcNA/GCgt31Yq7gklG81OrMCfBy7QP1Zl14blVlg+aq FeOgij2RH+o3DlONSjUCmzLjVDF8OKeTwpjRadokghqs27PTy388sf4J8mgEavvtUNdk G+Ig== 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:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=ac7gk5lUKviW+wa805KUYPVkCi26Ebgbgq2v43jXFkE=; b=nzrj8RPOrl4ALu3mnSekFvkaGCAYpNRxqs2I7kMNsHtzgeXCCN1Gf8Sw/bGAWEcXcG 4FvO09nXq5/3gCaIZ5vIpBicoQqH8oxgadx7A/qbv0oEFP8J2D5kF58wOGodRh/qCMoT e6/gx8imAGxvdnyyez1dWEjXbcf27IGenRpBc0W94e264A9vISUt44/QMofgPaGb7noy UGjFWS9EYTlzTFJQlCO2HpUpkpyQ4R39+bOgBuROO5kxQ8Z9aO+uGaNhteU4X8vlqZd+ J5T6aVb+yyDRkLaVP7ibUoUh5DgNlgZmGSh2ER/zPsxFpZLj9qo/SdCMoBwvlwetFMpK b9rw== 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=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nc30-20020a1709071c1e00b00730aa3e3843si14170974ejc.131.2022.08.17.01.29.39; Wed, 17 Aug 2022 01:30:05 -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=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234924AbiHQITK (ORCPT + 99 others); Wed, 17 Aug 2022 04:19:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232582AbiHQITJ (ORCPT ); Wed, 17 Aug 2022 04:19:09 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1023C491E8 for ; Wed, 17 Aug 2022 01:19:07 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R121e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VMUoHai_1660724343; Received: from 30.240.121.111(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VMUoHai_1660724343) by smtp.aliyun-inc.com; Wed, 17 Aug 2022 16:19:05 +0800 Message-ID: Date: Wed, 17 Aug 2022 16:19:02 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: [PATCH v3 0/3] drivers/perf: add DDR Sub-System Driveway PMU driver for Yitian 710 SoC Content-Language: en-US To: Baolin Wang , Jonathan.Cameron@Huawei.com, rdunlap@infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, will@kernel.org, mark.rutland@arm.com Cc: yaohongbo@linux.alibaba.com, nengchen@linux.alibaba.com, zhuo.song@linux.alibaba.com References: <20220617111825.92911-1-xueshuai@linux.alibaba.com> <20220720065815.60772-1-xueshuai@linux.alibaba.com> From: Shuai Xue In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 在 2022/8/17 PM4:15, Baolin Wang 写道: > > > On 7/20/2022 2:58 PM, Shuai Xue wrote: >> This patchset adds support for Yitian 710 DDR Sub-System Driveway PMU driver, >> which custom-built by Alibaba Group's chip development business, T-Head. >> >> Changes since v2: >> - relaxe build constraints and add COMPILE_TEST >> - explicitly include dependent headers >> - add Reviewed-by, thanks Jonathan Cameron and Randy Dunlap for their valuable review and comments >> - Link: https://lore.kernel.org/linux-arm-kernel/20220715151310.90091-4-xueshuai@linux.alibaba.com/T/#m1116abc4b0bda1943ab436a45d95359f9bbe0858 >> >> Changes since v1: >> - add high level workflow about DDRC so that user cloud better understand the >>    PMU hardware mechanism >> - rewrite patch description and add interrupt sharing constraints >> - delete event perf prefix >> - add a condition to fix bug in ali_drw_pmu_isr >> - perfer CPU in the same Node when migrating irq >> - use FIELD_PREP and FIELD_GET to make code more readable >> - add T-Head HID and leave ARMHD700 as CID for compatibility >> - Link: https://lore.kernel.org/linux-arm-kernel/eb50310d-d4a0-c7ff-7f1c-b4ffd919b10c@linux.alibaba.com/T/ >> > > As I've reviewed the patch set internally before, please feel free to add: > Reviewed-by: Baolin Wang Thank you. :) I will add your Reviewed-by in next version. Best Regards, Shuai > >> Shuai Xue (3): >>    docs: perf: Add description for Alibaba's T-Head PMU driver >>    drivers/perf: add DDR Sub-System Driveway PMU driver for Yitian 710 >>      SoC >>    MAINTAINERS: add maintainers for Alibaba' T-Head PMU driver >> >>   .../admin-guide/perf/alibaba_pmu.rst          | 100 +++ >>   Documentation/admin-guide/perf/index.rst      |   1 + >>   MAINTAINERS                                   |   7 + >>   drivers/perf/Kconfig                          |   7 + >>   drivers/perf/Makefile                         |   1 + >>   drivers/perf/alibaba_uncore_drw_pmu.c         | 810 ++++++++++++++++++ >>   6 files changed, 926 insertions(+) >>   create mode 100644 Documentation/admin-guide/perf/alibaba_pmu.rst >>   create mode 100644 drivers/perf/alibaba_uncore_drw_pmu.c >>