From patchwork Fri Aug 30 17:19:32 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Murphy X-Patchwork-Id: 13785387 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 92B2DCA0EFD for ; Fri, 30 Aug 2024 17:21:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=t7k/mPI38iSUNnUfIaCdRxc7etyQBrxo84W91tpzlto=; b=PkKA4Y/9jlX8w4ifiv8SntHVHP 1syK3pXt7ry1OsM7ST6VpRCam7vhqD9TxKZdDV3Qy/Edf1qnQpgZI7E9YPKVXs2Zuk8LjcKQScr3M L2zmiaue73BhWDRdvGhRND9lBq2yPWBdVdDTP9aCitdzUgRMvKII2kcSxOAci0DHLDNWK/InGoRkb BDwi0fDv0aylryVocCsmryD1HgQ3OLkMKeI1pLNI/u+4WoI+Ri6efxhmUAO3sxtdfjMuR3hK5CPrr eu53BIxfzGXdzQ6X1+ORUfdt4/yy94B1TepRM4UKwNEf8YHOS93CJvg05aH4AhorusADk7RduV7rW t2sAPEnw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sk5J2-00000007Ady-2Vx8; Fri, 30 Aug 2024 17:21:04 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sk5Hm-00000007AMJ-07WB for linux-arm-kernel@lists.infradead.org; Fri, 30 Aug 2024 17:19:47 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id AAF861063; Fri, 30 Aug 2024 10:20:11 -0700 (PDT) Received: from e121345-lin.cambridge.arm.com (e121345-lin.cambridge.arm.com [10.1.196.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id A398C3F66E; Fri, 30 Aug 2024 10:19:44 -0700 (PDT) From: Robin Murphy To: will@kernel.org Cc: mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jialong.yang@shingroup.cn Subject: [PATCH v3 0/3] perf: Add Arm Network-on-Chip PMU driver Date: Fri, 30 Aug 2024 18:19:32 +0100 Message-Id: X-Mailer: git-send-email 2.39.2.101.g768bb238c484.dirty MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240830_101946_129172_4A24C7C3 X-CRM114-Status: UNSURE ( 9.38 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org v2: https://lore.kernel.org/linux-arm-kernel/cover.1720625639.git.robin.murphy@arm.com/ Hi all, Hopefully this is good for 6.12 now. I've not managed to double-check the interaction with userspace PMU aggregation behaviour yet, but I think that's something to look into separately as it's not specific to this driver. Thanks, Robin. Robin Murphy (3): dt-bindings/perf: Add Arm NI-700 PMU perf: Add driver for Arm NI-700 interconnect PMU MAINTAINERS: List Arm interconnect PMUs as supported Documentation/admin-guide/perf/arm-ni.rst | 17 + Documentation/admin-guide/perf/index.rst | 1 + .../devicetree/bindings/perf/arm,ni.yaml | 30 + MAINTAINERS | 11 + drivers/perf/Kconfig | 7 + drivers/perf/Makefile | 1 + drivers/perf/arm-ni.c | 778 ++++++++++++++++++ 7 files changed, 845 insertions(+) create mode 100644 Documentation/admin-guide/perf/arm-ni.rst create mode 100644 Documentation/devicetree/bindings/perf/arm,ni.yaml create mode 100644 drivers/perf/arm-ni.c