Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp294055rwb; Sat, 17 Sep 2022 05:31:06 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7uJWZCNSG2LAgm5+n0IxVZycCy1voGHzDnd+FAoQF50RN2i5g5muzm/PX4o2ezGlDR2i8W X-Received: by 2002:a05:6402:2905:b0:452:2604:ae96 with SMTP id ee5-20020a056402290500b004522604ae96mr7620607edb.31.1663417866215; Sat, 17 Sep 2022 05:31:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663417866; cv=none; d=google.com; s=arc-20160816; b=jSGccRNROvuIvN4YlkDlr9PPnclU9PwAeOb87esxyzTPrkm6nEXQSZxvufYGZypxRo 0SBS4r12ltVcQrYOZy8gGpJ7H2PoYn7elOMpYsmT4t+8hNnJ+akiR+VbZo+1bUCjH7L7 Qn0cdhhAUzE5a4NkT+tFDJde7K10HSa4CFrfk9XnKJiNT6b4DbLa8t8SF+Ksfze+ui/P LkEKzMYlGV4kjzwrCJlTJo4jug9rCXxswF87i7qP+9+lu11946jVPONDNKeBkuIGOgy5 zN1t00hVGfPOans1NrQTMCdk1g7sfH8kIFvyj09E71q9WvsTXldflt5DJU/WrkUvVvAN B3IQ== 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 :message-id:date:subject:cc:to:from; bh=cyKT6YG8a28UcXHAp5EmlsM0JEH63n8ckoBgSRFHPB4=; b=dP1N0MSx9pMbhHeP9r1oBE0XFHj/5tD7SU8LPy0wg72WS8k1VvCfOJJJe9WK4MIKUb DJ9jY+QEipQPNaI6LXUrFDDCHDO5LdZDnLhdjrLzrwu3xeNqNGkJ5poChG2WCQyTovWc LmfFmtkoTClhgwPFvGE8u56yWRXMgwx5jzjnzRGJR5v75cNiYU4OAIGyw1UrutpFX+vR Mdo+p7MTgz6kBoterSQNVYiE5jg8pc1tKvLKGkVAxPSen1Gy2GM62bIag6qKgCGyK4BA lv01pUluEoI8Rdlm27OacVGvgUTHp36yo4hhaeHI7ZtOBKO0Z7wrviGqdFMH4vmMA/M7 Xi+w== 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 r10-20020a170906704a00b0072f38ecf74asi17687564ejj.794.2022.09.17.05.30.40; Sat, 17 Sep 2022 05:31:06 -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 S229587AbiIQMKt (ORCPT + 99 others); Sat, 17 Sep 2022 08:10:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229511AbiIQMKp (ORCPT ); Sat, 17 Sep 2022 08:10:45 -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 1AFE82B1B7 for ; Sat, 17 Sep 2022 05:10:42 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R601e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046050;MF=xueshuai@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VQ-l70j_1663416638; Received: from localhost.localdomain(mailfrom:xueshuai@linux.alibaba.com fp:SMTPD_---0VQ-l70j_1663416638) by smtp.aliyun-inc.com; Sat, 17 Sep 2022 20:10:40 +0800 From: Shuai Xue 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, xueshuai@linux.alibaba.com Subject: [PATCH v1 0/3] drivers/perf: add Synopsys DesignWare PCIe PMU driver support Date: Sat, 17 Sep 2022 20:10:33 +0800 Message-Id: <20220917121036.14864-1-xueshuai@linux.alibaba.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, 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 This patchset adds the PCIe Performance Monitoring Unit (PMU) driver support for T-Head Yitian 710 SoC chip. Yitian 710 is based on the Synopsys PCI Express Core controller IP which provides statistics feature. Shuai Xue (3): docs: perf: Add description for Synopsys DesignWare PCIe PMU driver drivers/perf: add DesignWare PCIe PMU driver MAINTAINERS: add maintainers for DesignWare PCIe PMU driver .../admin-guide/perf/dwc_pcie_pmu.rst | 61 ++ Documentation/admin-guide/perf/index.rst | 1 + MAINTAINERS | 6 + drivers/perf/Kconfig | 7 + drivers/perf/Makefile | 1 + drivers/perf/dwc_pcie_pmu.c | 976 ++++++++++++++++++ 6 files changed, 1052 insertions(+) create mode 100644 Documentation/admin-guide/perf/dwc_pcie_pmu.rst create mode 100644 drivers/perf/dwc_pcie_pmu.c -- 2.20.1.12.g72788fdb