Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp3897398rwb; Mon, 5 Sep 2022 22:02:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR5hKbvNr+PnXwTuGnWouCT4QZXeV/JUgDAtjgt6Y7aY0+rTjmN7hM7Z/3GpTEhKev+OvJbr X-Received: by 2002:a65:590b:0:b0:434:2b0a:c30 with SMTP id f11-20020a65590b000000b004342b0a0c30mr10257733pgu.588.1662440564620; Mon, 05 Sep 2022 22:02:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662440564; cv=none; d=google.com; s=arc-20160816; b=qqbsFZPsfO5xDx0PuBHNzXBKxFop4snuUuwUakmotFaO+CIzsEbMxG5ycUoLS/N358 1DnZNF9e0dXkeAm4EeZqd8nEZTnCbGxiRKPelfwzWI1aWfej2RIeLELfgyuSw4h/NcXG WwX1wMyNTmpnjsLy4u0YE3cBIndXjiBjIhsXfJeA9DnUc/Xpf08640fzQwpsMp5LLDC8 5vrTVRCLQ1lRUBEN21pVmHNwsXp3Zvh8qwBK6RSwLkQtnb7Bb1/orPbhUaZvn73PKA0c GxOBGhd6nFf5HxLw/j1KlhuzJkCSBRUNGG5IBgppTSTZs7RwzT9gKhzOSAZp5V5wr0d+ R/0g== 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=prvqLqPLP/dMMiM0H45xFjyLtwEHWA3KJaquNCzxHK4=; b=KHVrOB5GecbWlly4iiK8sL50Vcs0rJTYzf6iFJzo0vE6PcEfP/AqxSSpyRtcnpRUxq SNtHp53cXRcgzGFQCQ1QRmIVJynzDXi6EmmF58qMLCTicUxRNp4b0SlApNxIZERCcwwO 2mQblnsVMbjnMVnLikSCIrowg51CuqSiY6JhZw4zylui5rnpiuPIfdKMLWdik4dbG9gd mnY5v34zydfJVO4B0GMxPeRYyQPuY+coEhiY/JogcTSHlT5j9eTjdBd7XGnKCCRse/Cr RHRqUCjuneBYcILaYrr8vTOklb2zx4TEi+KHH/7xQ0SAY405Nwoaqw27RaivfhLkCAbb Fgew== 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 q4-20020a170903204400b001769b63ec65si6596851pla.483.2022.09.05.22.02.30; Mon, 05 Sep 2022 22:02:44 -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 S229818AbiIFE6X (ORCPT + 99 others); Tue, 6 Sep 2022 00:58:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229499AbiIFE6U (ORCPT ); Tue, 6 Sep 2022 00:58:20 -0400 Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1138769F58 for ; Mon, 5 Sep 2022 21:58:18 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R671e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0VObAuyh_1662440294; Received: from 30.240.120.121(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VObAuyh_1662440294) by smtp.aliyun-inc.com; Tue, 06 Sep 2022 12:58:16 +0800 Message-ID: <8b35da5c-3a1b-0edb-d35c-026081864092@linux.alibaba.com> Date: Tue, 6 Sep 2022 12:58:08 +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 v4 0/3] drivers/perf: add DDR Sub-System Driveway PMU driver for Yitian 710 SoC Content-Language: en-US To: will@kernel.org, Jonathan.Cameron@Huawei.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: rdunlap@infradead.org, robin.murphy@arm.com, mark.rutland@arm.com, baolin.wang@linux.alibaba.com, zhuo.song@linux.alibaba.com References: <20220617111825.92911-1-xueshuai@linux.alibaba.com> <20220818031822.38415-1-xueshuai@linux.alibaba.com> From: Shuai Xue In-Reply-To: <20220818031822.38415-1-xueshuai@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-11.6 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/18 AM11:18, Shuai Xue 写道: > Hi, Will, > > I am wondering that do you have any comments to this patch set? If/when you're > happy with them, cloud you please queue them up? > > Thank you :) > > Cheers, > Shuai. Gentle ping. Any comment or suggestion is appreciated. Best Regards, Shuai > > Changes since v3: > - add Reviewed-by of Baolin > - Rebase on Linux v6.0 rc1 > > 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/ > > 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. > > 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 | 6 + > drivers/perf/Kconfig | 7 + > drivers/perf/Makefile | 1 + > drivers/perf/alibaba_uncore_drw_pmu.c | 810 ++++++++++++++++++ > 6 files changed, 925 insertions(+) > create mode 100644 Documentation/admin-guide/perf/alibaba_pmu.rst > create mode 100644 drivers/perf/alibaba_uncore_drw_pmu.c >