Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp1466358rwb; Fri, 5 Aug 2022 02:23:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR5shNCxK9/FSt2p83u0AnvfShKQx0o/hLkZdUyWN3Bh+2tZTx2e+YLNbH4AIABZz8d/eJw5 X-Received: by 2002:aa7:de91:0:b0:43a:d5b0:e0bb with SMTP id j17-20020aa7de91000000b0043ad5b0e0bbmr5703542edv.165.1659691429769; Fri, 05 Aug 2022 02:23:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659691429; cv=none; d=google.com; s=arc-20160816; b=oq8POB1druchFrZZFzVJ6vqmL1qVbII3KMyehLwUPuLUN+vbFG+ENHtnUTvHepEMDl xbDrghm/k/aqD0SatScYYvuNPe4oPriOcLZDPSGa/VfXa/TxaLfK5ZYccI4oDMX8Iopj Yuua88MuiDPsub/NJKRFJVRm+TbNLJYTtALxN+U1xzSeTHZIJjn41eRweozKh/odkz5b LLvyLVArBVyEMxWu2mjEyCLSIo2PtotLDaxGFwBpy+8Cp86Wa0/EYuw4WhDncwYIz3XT cUXcqp3zfiewUitFwCCPBI6hfk8h7nTc5vQkW/xEQsbM8y+2oMMO05mUMnz9nJedyI43 NBqQ== 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=xFLWHUtuF2h8zRXZSKYvU5UAPVFGXwUDeiZS6ozWVhM=; b=ZisIK20ADbnj3chnbpbyH1fLaGnpTtlvMVxPsCr0LZFNxuX+SnwE1KLRLE1DdPVFOb OI/odXerzViPVHY10n244Dm4SFK+26gcIYD6BJoC6FRge42oOKDvWJ5gKvSqTw2LkP2E jfkw+bI3nsSJAsxTZojhF7icSmAhnVz9trMCfspbXJ3YJmVb/Q108lNko7EkzcsWtZOW ylEFdPbdPOiXzaqPbmxkjWdbi9RMLTBgMV+DLPvHnm2zVzV3bUdVgYMKQQfYDG4to4eS fWeojagnvuRU1XGn/4Ukw0dFDWlOFh8dNZ35/nOOx47c0jAgH5YICC6FGz9323CJtkTz pcYw== 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 hv10-20020a17090760ca00b00730d36cd631si528949ejc.816.2022.08.05.02.23.24; Fri, 05 Aug 2022 02:23:49 -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 S235875AbiHEJHo (ORCPT + 99 others); Fri, 5 Aug 2022 05:07:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229676AbiHEJHk (ORCPT ); Fri, 5 Aug 2022 05:07:40 -0400 Received: from out30-132.freemail.mail.aliyun.com (out30-132.freemail.mail.aliyun.com [115.124.30.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CFF821E10 for ; Fri, 5 Aug 2022 02:07:33 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R761e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045168;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VLQUkIs_1659690448; Received: from 30.227.90.139(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VLQUkIs_1659690448) by smtp.aliyun-inc.com; Fri, 05 Aug 2022 17:07:29 +0800 Message-ID: Date: Fri, 5 Aug 2022 17:07:27 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.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: Will Deacon Cc: baolin.wang@linux.alibaba.com, yaohongbo@linux.alibaba.com, nengchen@linux.alibaba.com, zhuo.song@linux.alibaba.com, 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 References: <20220617111825.92911-1-xueshuai@linux.alibaba.com> <20220720065815.60772-1-xueshuai@linux.alibaba.com> From: Shuai Xue In-Reply-To: <20220720065815.60772-1-xueshuai@linux.alibaba.com> 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 Hi, Will, I was wondering that do you have any comments to this patch set? Thank you. Best Regards, Shuai 在 2022/7/20 PM2:58, Shuai Xue 写道: > 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/ > > 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 >