From patchwork Thu Apr 25 12:29:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Murphy X-Patchwork-Id: 13643277 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 7F840C19F4F for ; Thu, 25 Apr 2024 12:30:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GKs5s/Z2QoZV9WG+HQdl3bQ1IQw0WEaAu1d9rYKsPBI=; b=ijBQ1sJGatYOox bifY6431dkPXQ64PC6BC0E+RAZJRW9+sEqduIyoIQehFmVQDu9Q7OyYlhqkGnH02Rgc1/aeTa/86o VDD1xTSnOFx2bFTGtKfbp9DxwwuTTYlZBjyb4zp+wP6C3nmZZnZ0UVYOEtXmEAQR857C/Tic4OjK9 S65NDnCQQUnpmiQzRW2Qo8Z4PdiioRcn+iDDG48Qhx+ztlEFmLDkzamh/dXn21MqOqRfrxiOptwfm XBm+ccwkzES6lWTKlolnJWiBTcnpLxIHH+q/VvLm3LVVnVeKbTDEMk3ZkWAV1ciY+YQs5OhUwm0ua WtwNLdjzDh7VcYbW3jVA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzyEq-00000008DmV-0VQ6; Thu, 25 Apr 2024 12:30:08 +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 1rzyEm-00000008DkT-3KHB for linux-arm-kernel@lists.infradead.org; Thu, 25 Apr 2024 12:30:06 +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 C83521007; Thu, 25 Apr 2024 05:30:27 -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 DB75E3F7BD; Thu, 25 Apr 2024 05:29:58 -0700 (PDT) From: Robin Murphy To: will@kernel.org, mark.rutland@arm.com Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, jialong.yang@shingroup.cn Subject: [PATCH 0/3] perf: Add Arm Network-on-Chip PMU driver Date: Thu, 25 Apr 2024 13:29:51 +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-20240425_053004_905597_EDCA7781 X-CRM114-Status: GOOD ( 11.46 ) 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 Hi all, Somewhat later than hoped (sorry!), now that it's finally had the chance for enough testing to flush out all the silly bugs, here's the NI-700 driver I've had kicking around in various forms for the last 18 months. I squashed in NI-710AE support since that appeared in the meantime and the differences are minimal, however I have not felt compelled to go back and genericise all the original NI-700 references. I don't think I'm giving too much away to say that there will be further new product support to add in future, so I will be back with more soon enough. Note that the driver patch depends on the the cpumask_any_and_but() addition queued in arm64/for-next/perf. 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 .../devicetree/bindings/perf/arm,ni.yaml | 30 + MAINTAINERS | 10 + drivers/perf/Kconfig | 7 + drivers/perf/Makefile | 1 + drivers/perf/arm-ni.c | 767 ++++++++++++++++++ 5 files changed, 815 insertions(+) create mode 100644 Documentation/devicetree/bindings/perf/arm,ni.yaml create mode 100644 drivers/perf/arm-ni.c