From patchwork Thu Feb 16 11:08:03 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Konrad Dybcio X-Patchwork-Id: 57980 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp243010wrn; Thu, 16 Feb 2023 03:27:41 -0800 (PST) X-Google-Smtp-Source: AK7set8rhusPaiiP/rU8R+p2pMEEvw0g6kEeF66FnJQlOkzB6reXwMGqFm4qI4p3xeFuZvhQZkMz X-Received: by 2002:a17:906:4a91:b0:8ae:27d1:511a with SMTP id x17-20020a1709064a9100b008ae27d1511amr5635348eju.61.1676546860890; Thu, 16 Feb 2023 03:27:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1676546860; cv=none; d=google.com; s=arc-20160816; b=GNa8LeasFHvT4r5K646PUdioBzQ2sp8QetrKDOm3TbD9hY6NPUUx8aGtnR3i1/FW8/ IjcN81U8DwqsiR02DylshomvtPHsDbRF7NQvRX5QIF2qR7xb1So3L0u87vhqvB18AvMP 7M9sqNE5Ibsar9PxncmdnhHgjmq0SHTujn9Yldm+BOU9Teu/whm4IPZo5jgO51ozoLcu fkhDe+tAlzHprAyTyKE/trrkrG8CUmudWWITlMsoyElYfCZ4p9S2+FEMuGHQ6lD8EVIG 9dJTizDw8jiBo6gaZUxxbXrpZM7+iDPszy+ukIAEpMcb7+0OxsqjFd0wCo4nGzsEDJ1+ rmJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=fFNh/v5PyRba+b9OKuV/fo4Fg+XrIWLYeu/MIaQD8HI=; b=ySm5gzrHa7d8fDK7ic9yEbjtkimgmfBnEhCaJZObfYddNXTBpFgjtr/qmH4nxslGlw ROnIjZUHCF9tDCLoMc/ZSE+iG7m+6Me0RX1rnSC7wH5SmlWSI5p+TiBJVoL7JKgcUaxD bvTNlomS8NQ0ENrweuHZBzCxp6kPTBpvb/D4fVKvtysngR0LljLelgN6i5D9AInSS4p1 hUTWV/WNVL+GI3nRklTd37kyEs10mVXBx1ICDSZlm6yTlDX3WeGq4PKkju4ZHqRmy0c9 iKO3KLLCWGD8yXgvyhUK1chRaZSFb38Za+fOUougpH3jap8ck6WoGi6sT9KhXh5xfFHQ y2yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nRZdpd2T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ui19-20020a170907c91300b008b12cfdc649si1906605ejc.556.2023.02.16.03.27.18; Thu, 16 Feb 2023 03:27:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=nRZdpd2T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230347AbjBPLIf (ORCPT + 99 others); Thu, 16 Feb 2023 06:08:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230303AbjBPLIb (ORCPT ); Thu, 16 Feb 2023 06:08:31 -0500 Received: from mail-lj1-x22b.google.com (mail-lj1-x22b.google.com [IPv6:2a00:1450:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F111206A6 for ; Thu, 16 Feb 2023 03:08:09 -0800 (PST) Received: by mail-lj1-x22b.google.com with SMTP id a9so1511152ljr.13 for ; Thu, 16 Feb 2023 03:08:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fFNh/v5PyRba+b9OKuV/fo4Fg+XrIWLYeu/MIaQD8HI=; b=nRZdpd2TJ5NmFJKugptl9/m9MnrT7wgZMwQkXPOvJQDdKoJvd6euQdl6Z9V195G0QO o9cRNbYokee/fxzuLNr52eb1c0y5avjQPG9RsMaF1XvsNmhJcnSOTAS3jKSS93N04Uud cDurXwMwWopkyqpAGLFhzwvB8DDeS04SUi84MFLu1VPWEBcvww4EAqVJ6n8+aXKsBtOU yaD7UjkpaaXOuBfAGZZwmPO4wCYJWOPa2IQMqrNDIsiuFe9hC3R452fFXwgSf/zJmOOf QNKVeZr6YMDPtTpJWjeLXPO8oHB8cRWa1ImVq7SiKQFrcj169Fcr65cb/o48K30DkyX9 yK8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=fFNh/v5PyRba+b9OKuV/fo4Fg+XrIWLYeu/MIaQD8HI=; b=dilw5B7rTF38cFdNjPChk2mhxUKNN7WI8rMaXO3JdYApApXK90ant5xXWBiy80qgZ6 u8931weUPuKtf0ZBxuCCyrMsQwiVZXDBnQbiOT+KkICHPA+2HNYzR7XcoiUCa8lEFueY Afy//E1w6ZEpni7EPWbfZM85zqhj5nrtkaNesKP7hXILE2OKfpV+9ZtyGwiSDVopOcew TUvhiu67iyZ3sm0gmoBd7TJwAWIGm3gXBGEZMZdkY1XUY9u/t3o2o+FfVLreDZvKiijd U1yrj6EkCkR8CBKkUavzaQwRyPvIlbpfmsioP2nuRkpdQQKHm7f4ZuyYuuu2EFHlna3K D5+Q== X-Gm-Message-State: AO0yUKWkHSIS9MrtBvsFe6ZNRPwPcwPtTwJLVaPmbNvpte9MzOsBZr6L A2J//l20r5AGyhZePHilEz3+/g== X-Received: by 2002:a2e:b88b:0:b0:293:4ebc:98e0 with SMTP id r11-20020a2eb88b000000b002934ebc98e0mr1980800ljp.17.1676545688047; Thu, 16 Feb 2023 03:08:08 -0800 (PST) Received: from localhost.localdomain (abxh117.neoplus.adsl.tpnet.pl. [83.9.1.117]) by smtp.gmail.com with ESMTPSA id d19-20020ac25453000000b004db20d07decsm255993lfn.209.2023.02.16.03.08.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Feb 2023 03:08:07 -0800 (PST) From: Konrad Dybcio To: linux-arm-msm@vger.kernel.org, andersson@kernel.org, agross@kernel.org Cc: marijn.suijten@somainline.org, Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , Conor Dooley , Luca Weiss , Lorenzo Pieralisi , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: qcom: sm8550: Use correct CPU compatibles Date: Thu, 16 Feb 2023 12:08:03 +0100 Message-Id: <20230216110803.3945747-2-konrad.dybcio@linaro.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230216110803.3945747-1-konrad.dybcio@linaro.org> References: <20230216110803.3945747-1-konrad.dybcio@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1757986801034134785?= X-GMAIL-MSGID: =?utf-8?q?1757986801034134785?= Use the correct compatibles for the four kinds of CPU cores used on SM8550, based on the value of their MIDR_EL1 registers: CPU7: 0x411fd4e0 - CX3 r1p1 CPU5-6: 0x412fd470 - CA710 r?p? CPU3-4: 0x411fd4d0 - CA715 r?p? CPU0-2: 0x411fd461 - CA510 r?p? Signed-off-by: Konrad Dybcio Acked-by: Rob Herring --- arch/arm64/boot/dts/qcom/sm8550.dtsi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/sm8550.dtsi b/arch/arm64/boot/dts/qcom/sm8550.dtsi index ff4d342c0725..a65c3151baf3 100644 --- a/arch/arm64/boot/dts/qcom/sm8550.dtsi +++ b/arch/arm64/boot/dts/qcom/sm8550.dtsi @@ -66,7 +66,7 @@ cpus { CPU0: cpu@0 { device_type = "cpu"; - compatible = "qcom,kryo"; + compatible = "arm,cortex-a510"; reg = <0 0>; enable-method = "psci"; next-level-cache = <&L2_0>; @@ -89,7 +89,7 @@ L3_0: l3-cache { CPU1: cpu@100 { device_type = "cpu"; - compatible = "qcom,kryo"; + compatible = "arm,cortex-a510"; reg = <0 0x100>; enable-method = "psci"; next-level-cache = <&L2_100>; @@ -108,7 +108,7 @@ L2_100: l2-cache { CPU2: cpu@200 { device_type = "cpu"; - compatible = "qcom,kryo"; + compatible = "arm,cortex-a510"; reg = <0 0x200>; enable-method = "psci"; next-level-cache = <&L2_200>; @@ -127,7 +127,7 @@ L2_200: l2-cache { CPU3: cpu@300 { device_type = "cpu"; - compatible = "qcom,kryo"; + compatible = "arm,cortex-a715"; reg = <0 0x300>; enable-method = "psci"; next-level-cache = <&L2_300>; @@ -146,7 +146,7 @@ L2_300: l2-cache { CPU4: cpu@400 { device_type = "cpu"; - compatible = "qcom,kryo"; + compatible = "arm,cortex-a715"; reg = <0 0x400>; enable-method = "psci"; next-level-cache = <&L2_400>; @@ -165,7 +165,7 @@ L2_400: l2-cache { CPU5: cpu@500 { device_type = "cpu"; - compatible = "qcom,kryo"; + compatible = "arm,cortex-a710"; reg = <0 0x500>; enable-method = "psci"; next-level-cache = <&L2_500>; @@ -184,7 +184,7 @@ L2_500: l2-cache { CPU6: cpu@600 { device_type = "cpu"; - compatible = "qcom,kryo"; + compatible = "arm,cortex-a710"; reg = <0 0x600>; enable-method = "psci"; next-level-cache = <&L2_600>; @@ -203,7 +203,7 @@ L2_600: l2-cache { CPU7: cpu@700 { device_type = "cpu"; - compatible = "qcom,kryo"; + compatible = "arm,cortex-x3"; reg = <0 0x700>; enable-method = "psci"; next-level-cache = <&L2_700>;