From patchwork Tue Dec 7 18:20:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Murphy X-Patchwork-Id: 12695177 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 2B251C433EF for ; Tue, 7 Dec 2021 18:22:13 +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=FIgV+aMPxPH5QlNxAubFq1UjRVX2E8tyeYb9Cr/MWuA=; b=3SwQ8ScO1dqKku 6KEy5zEgEzFb5Wnv35gawB8UIe97v88W+dGqinXgv8pjIx+b+kvjZoQtddDXEEI8qnZ4SnTlS6Awd UPPQeaZCfY5pDehn1XMyYW9O1t7bkALK2iio5Ar9R04On0ooT0+3lNGm+yj280JeybSU7mh5EHVj1 bk+dAViqBqU/x1ykkksr7mWRyg2ShrOYE8YIyf3dxuoNvgF2HyOnwBk4935a0VImJla15cC2W13et BO9PrJMuyMBK6YxqmftIon1lAHv1gvfkAOq4YGUd1g8xHL4Tn+tIQO7pCtnKEekGiAgtW9ok8Xpdp p5CjiSJgzUYFAVJXganA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muf5C-009hwg-5Y; Tue, 07 Dec 2021 18:20:54 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muf59-009hvN-3G for linux-arm-kernel@lists.infradead.org; Tue, 07 Dec 2021 18:20:52 +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 70FF611FB; Tue, 7 Dec 2021 10:20:48 -0800 (PST) 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 4DBC23F73B; Tue, 7 Dec 2021 10:20:47 -0800 (PST) From: Robin Murphy To: will@kernel.org, catalin.marinas@arm.com, robh+dt@kernel.org Cc: mark.rutland@arm.com, suzuki.poulose@arm.com, thierry.reding@gmail.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Subject: [PATCH 0/5] arm64: DT binding/PMU updates Date: Tue, 7 Dec 2021 18:20:38 +0000 Message-Id: X-Mailer: git-send-email 2.28.0.dirty MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211207_102051_202272_84435B80 X-CRM114-Status: UNSURE ( 8.11 ) 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 Hi all, Here's another bunch of PMU-related updates I've been accruing lately. Patch #1 is rebased on Thierry's patch already adding the Cortex-A78 compatible so probably wants to go via Rob to avoid further conflicts. Thanks, Robin. Robin Murphy (5): dt-bindings: arm: Catch up with Cortex/Neoverse CPUs again arm64: perf: Simplify registration boilerplate arm64: perf: Support new DT compatibles dt-bindings: perf: Convert Arm DSU to schema dt-bindings: perf: Add compatible for Arm DSU-110 .../devicetree/bindings/arm/arm-dsu-pmu.txt | 27 -------- .../devicetree/bindings/arm/cpus.yaml | 6 ++ .../devicetree/bindings/arm/pmu.yaml | 6 ++ .../devicetree/bindings/perf/arm,dsu-pmu.yaml | 45 ++++++++++++ arch/arm64/kernel/perf_event.c | 68 +++++++++++++------ 5 files changed, 104 insertions(+), 48 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/arm-dsu-pmu.txt create mode 100644 Documentation/devicetree/bindings/perf/arm,dsu-pmu.yaml