From patchwork Fri Jun 30 18:56:01 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13298680 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 99B95EB64D7 for ; Fri, 30 Jun 2023 18:56:36 +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=CBrEKekjZVA1vsg24jF0ZRIh2kwnKpPW3M9o6MQjqp4=; b=kFJ2jlkMBnHf8j rM0n7KEukx/6fsfn4JtZg5ubwhHmAjnz7GH2rVFdtlkkWmJdMitO9/gdmvY5f77o0gBui84UCs4hk uGOcVEVj1BsMHdOJVUyrgKOBpnNZA1UjOstTJn4aVzfYXvvgeEmqIpm+HNanvMK093vA0GBi2/bHl wC2RnVh3sSs7ywg8Sy9ImIRsFZqh1GEqIhKivongakEoHBX6lIOVlhla/RuTqrbBPFfocVJTrBxms bs4OQHbJIszRh8AqqkcF0Ue+7Na1rg3qgXLA5o8FJmELv5rLnQLUstJYzvfamVjzp8y1Q0aFm93Ad 9e5PkUJrMVft1WNdev3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qFJHv-004MBq-0p; Fri, 30 Jun 2023 18:56:11 +0000 Received: from mail-il1-f178.google.com ([209.85.166.178]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qFJHs-004MB8-2i for linux-arm-kernel@lists.infradead.org; Fri, 30 Jun 2023 18:56:09 +0000 Received: by mail-il1-f178.google.com with SMTP id e9e14a558f8ab-34271602c32so9471075ab.0 for ; Fri, 30 Jun 2023 11:56:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688151367; x=1690743367; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SBsvzXB7J1T8smPYnRti2Y7WQp0yg4tNQa4bMVJSe5s=; b=Cb60EZkK7DDNyY4xfJeF3AuDSxJ/muNK/wZk+T3XYjqA4vFrJusciZTLH3aQBCsBde usGvJ8dR+g7hNhKIq9a+eYp//gLuvMJcLmq3FkNs95Qrn3bDowNoKet9cxeA565ZbhaC 6PPS1rc/UzbnmV0vlwbIJcGJj43LpAUspOtE/Fk6EZxisIeiuKMHpxeIAUynExR2lG2D 1EyncgvJicvO1DutD4pFpoG6lJdrdtpgMYF1k2j6G3ufXz+wGBL/VRAedjAdNa0mPPJU M27gIWUbJyv6T/Qi81/Y4tRi0XuhsdX40lhtMClYl7TMTflpO44ArjkWAmCGlo7QcbU0 SsXQ== X-Gm-Message-State: ABy/qLYBfUZTyW2vAYOkfPFdkQypyYKlo05IA8JiFnZrPKVe+CZXAftB /fYdaGoDk/fMKx4r8X8Eng== X-Google-Smtp-Source: APBJJlFbal0TSSFUEyZJj6gaS/OIeklfv37G7dQ9yMSEemrqVGCYWLyUg5LqgSoJI8r6LFLWHesWCg== X-Received: by 2002:a92:d48e:0:b0:345:6ffa:63c5 with SMTP id p14-20020a92d48e000000b003456ffa63c5mr2738484ilg.32.1688151367484; Fri, 30 Jun 2023 11:56:07 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id b4-20020a92c844000000b0033e62b47a49sm2154252ilq.41.2023.06.30.11.56.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jun 2023 11:56:06 -0700 (PDT) Received: (nullmailer pid 2175660 invoked by uid 1000); Fri, 30 Jun 2023 18:56:04 -0000 From: Rob Herring To: Will Deacon , Mark Rutland , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: arm: pmu: Add Cortex-A520, Cortex-A715, and Cortex-A720 Date: Fri, 30 Jun 2023 12:56:01 -0600 Message-Id: <20230630185602.2175559-1-robh@kernel.org> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230630_115608_880050_A2EA9157 X-CRM114-Status: GOOD ( 10.05 ) 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 Add compatible strings for the Arm Cortex-A520, Cortex-A715, and Cortex-A720 CPU PMUs. Signed-off-by: Rob Herring Acked-by: Conor Dooley --- Documentation/devicetree/bindings/arm/pmu.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/pmu.yaml b/Documentation/devicetree/bindings/arm/pmu.yaml index e14358bf0b9c..0cc468d6c372 100644 --- a/Documentation/devicetree/bindings/arm/pmu.yaml +++ b/Documentation/devicetree/bindings/arm/pmu.yaml @@ -49,7 +49,10 @@ properties: - arm,cortex-a77-pmu - arm,cortex-a78-pmu - arm,cortex-a510-pmu + - arm,cortex-a520-pmu - arm,cortex-a710-pmu + - arm,cortex-a715-pmu + - arm,cortex-a720-pmu - arm,cortex-x1-pmu - arm,cortex-x2-pmu - arm,neoverse-e1-pmu From patchwork Fri Jun 30 18:56:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rob Herring X-Patchwork-Id: 13298681 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 3F355EB64D7 for ; Fri, 30 Jun 2023 18:56:40 +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:References:In-Reply-To: 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: List-Owner; bh=ggihEF1eAbnlzpuk/0n7fHFLFEjG1V4QhWcoR74quUM=; b=1uRDSY4cicMJn6 wEBN3Ak+j6h4KK13XWkVio4mb0rG3YHg887qc/CISh3iE6CO7pvuT7MoGonfK76OiKCVpxFdnRI+s LKW6t0M02JJjgtk+9bqcQVwjgevjfJGKd/sZV1wKwcduvGyT+zUksN4QWIs3vCp8HVESvCzwtYUoc b/HwPKjNE4MmUr2ci7orI2/tzBIwkCPJNNRf5KJIihAE8oqIa76kSRHNxIrdz0DVFcWMQC54pQuEx fEWsj5ZSRyVZuqavvxKbPXKNK4mHTW6MrZeTanUzVtE6IifrrxuEYKvWoLO5G97N9GVFRK6K6sf7B nuyZ+Dt1Sy2XhEavpRnA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qFJI2-004MDh-38; Fri, 30 Jun 2023 18:56:18 +0000 Received: from mail-io1-f54.google.com ([209.85.166.54]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qFJHw-004MBb-2q for linux-arm-kernel@lists.infradead.org; Fri, 30 Jun 2023 18:56:14 +0000 Received: by mail-io1-f54.google.com with SMTP id ca18e2360f4ac-7835c92c373so52334239f.0 for ; Fri, 30 Jun 2023 11:56:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688151369; x=1690743369; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Qg6XVnmpWeSRuQrQC40KAOfl9x3/Hr4okb3QeBv6fgE=; b=VAt/fWK/VQ1QAqryoyRe0/fQcTVfdWrBIB3Ctahz4eH1Myg7OUBgGo6mFWAeV1fdFx CUCIHKsqomLPphM5wifvB9zg1x6Rk95GahoSQSO/q+tSvSWtCsLpa+qdOVn+NG6vFo8J vOfSgtlP2AqcRB0fbk88UbwSdMLMZTssljunFzJ22iBzGBBd+hVsmzaiC9DCI5w0Pi/Z 0lecJKZp6csjDgkanoc9IARsO3IGh/GhbQS9LA9qEjTdOfKeDP88KABtVnGt9F5vO7NR RvU4SRx3XTa0zNVOtlbPyFHHdVQZzyRrwl8f/+3SDLWRCAKzbZ2c8+OuF+OmmstKtY5E Vznw== X-Gm-Message-State: ABy/qLbzX5gt9B7wa0MIR0tQP2wTVSf2MCcTJspxi99gBHj/8Um7Hj/D 1Y9BRqZZLdY+jzFzL1zNew== X-Google-Smtp-Source: APBJJlHWJaskZv3IELRdSwceCuqGTeoQp5cmpZiCU6K880XpKdNZYgYaqdOYrD23taksnR3tOp+82w== X-Received: by 2002:a05:6e02:78f:b0:345:93da:1fe with SMTP id q15-20020a056e02078f00b0034593da01femr2817222ils.10.1688151369566; Fri, 30 Jun 2023 11:56:09 -0700 (PDT) Received: from robh_at_kernel.org ([64.188.179.250]) by smtp.gmail.com with ESMTPSA id d8-20020a92d788000000b0034233fd80d3sm4876420iln.22.2023.06.30.11.56.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Jun 2023 11:56:08 -0700 (PDT) Received: (nullmailer pid 2175697 invoked by uid 1000); Fri, 30 Jun 2023 18:56:05 -0000 From: Rob Herring To: Will Deacon , Mark Rutland , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] perf: pmuv3: Add Cortex-A520, Cortex-A715, and Cortex-A720 PMUs Date: Fri, 30 Jun 2023 12:56:02 -0600 Message-Id: <20230630185602.2175559-2-robh@kernel.org> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230630185602.2175559-1-robh@kernel.org> References: <20230630185602.2175559-1-robh@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230630_115612_922679_17D15689 X-CRM114-Status: GOOD ( 10.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 Add support for the Arm Cortex-A520, Cortex-A715, and Cortex-A720 CPU PMUs. They are straight-forward additions with just new compatible strings. Signed-off-by: Rob Herring Acked-by: Mark Rutland --- drivers/perf/arm_pmuv3.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/perf/arm_pmuv3.c b/drivers/perf/arm_pmuv3.c index 08b3a1bf0ef6..0bf522b05dc3 100644 --- a/drivers/perf/arm_pmuv3.c +++ b/drivers/perf/arm_pmuv3.c @@ -1266,7 +1266,10 @@ PMUV3_INIT_SIMPLE(armv8_cortex_a76) PMUV3_INIT_SIMPLE(armv8_cortex_a77) PMUV3_INIT_SIMPLE(armv8_cortex_a78) PMUV3_INIT_SIMPLE(armv9_cortex_a510) +PMUV3_INIT_SIMPLE(armv9_cortex_a520) PMUV3_INIT_SIMPLE(armv9_cortex_a710) +PMUV3_INIT_SIMPLE(armv9_cortex_a715) +PMUV3_INIT_SIMPLE(armv9_cortex_a720) PMUV3_INIT_SIMPLE(armv8_cortex_x1) PMUV3_INIT_SIMPLE(armv9_cortex_x2) PMUV3_INIT_SIMPLE(armv8_neoverse_e1) @@ -1334,7 +1337,10 @@ static const struct of_device_id armv8_pmu_of_device_ids[] = { {.compatible = "arm,cortex-a77-pmu", .data = armv8_cortex_a77_pmu_init}, {.compatible = "arm,cortex-a78-pmu", .data = armv8_cortex_a78_pmu_init}, {.compatible = "arm,cortex-a510-pmu", .data = armv9_cortex_a510_pmu_init}, + {.compatible = "arm,cortex-a520-pmu", .data = armv9_cortex_a520_pmu_init}, {.compatible = "arm,cortex-a710-pmu", .data = armv9_cortex_a710_pmu_init}, + {.compatible = "arm,cortex-a715-pmu", .data = armv9_cortex_a715_pmu_init}, + {.compatible = "arm,cortex-a720-pmu", .data = armv9_cortex_a720_pmu_init}, {.compatible = "arm,cortex-x1-pmu", .data = armv8_cortex_x1_pmu_init}, {.compatible = "arm,cortex-x2-pmu", .data = armv9_cortex_x2_pmu_init}, {.compatible = "arm,neoverse-e1-pmu", .data = armv8_neoverse_e1_pmu_init},