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 (Arm)" 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},