Message ID | 20230627-topic-more_bindings-v1-2-6b4b6cd081e5@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp8341963vqr; Tue, 27 Jun 2023 10:01:36 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6W2tf8sQpY1d5D0bpj9XtudzxcJTKPBNKOmWN/2e+u0jE3MjitGjD8rCfONvmdoKgc5Zxz X-Received: by 2002:a17:907:7208:b0:992:3ac7:a2d8 with SMTP id dr8-20020a170907720800b009923ac7a2d8mr1296718ejc.37.1687885296356; Tue, 27 Jun 2023 10:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687885296; cv=none; d=google.com; s=arc-20160816; b=u7IS+hB7Ue8bma7SBlADaFmiEZyyBYEob2vT55USXpSLQm2gsQWbayZ+7zoqkvd07g dItEUDqmAuJN43VKQnoEolXTAfF7x182EhZxEAGJ2oz1vSgwknKM7DDj9Z5JCGXhdJGv wPFCIkA15i4UqMHDXu2oeuXhnF4Oaj7KmNNAk1iUOJ2rhC1dYymeMF5A4A1/B5hs39gN 9olZJOdx7lXkHqdSLC30f4+D0MSrRolq245HSUCFpXFxXnUqvb0Nz7RvQmep2/looQUm xJt3+Q3KFiCpAJosX03KHqJcjRFfRpsRd1dDN/JvdAFkFMVpBySCV8gYjv/c5o4a0qSv 5m6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=TYGwW56BAscqG/0XM30LcNKT0W+nOLB99DFPYLoa8h4=; fh=BdXWhCLYHoLnZB3p1ID/7OfEQhg1SSFfw7f+7JR49ls=; b=ap9hTM+pfnogXPeEIeUKrlOq7lV/fxkaHhQGyITSQJ+j0RepS06r+uywByiSSVnVtC dqVsUDja1jPlNZVm9ee+H+kggNHIOXvOPqf/gX2ZwxPuaLWT8u0q5IEhEyNCDvQSppAE rHZ1ticdvkt7NffFdcPTvkyXbJuv+h0dw7kCR7tAz7hTV41w5EbGAWwZ//rtVv9EjXMH uXpwkm4xy5KwMFCZKv+nFY1p0854qUkVylO1i6NpOKELspsWUe7r9qguvsqswh5RTbBv 6fEdLcrz74LkuwMsFGZQUCTIbP0zFbJ46O3HTKIcORS3CBKoHYUdaQLec455a6WSSUiq hIuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sibabZov; 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 j6-20020a170906254600b0098831afb89bsi4237828ejb.84.2023.06.27.10.01.10; Tue, 27 Jun 2023 10:01:36 -0700 (PDT) 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=sibabZov; 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 S231187AbjF0QY5 (ORCPT <rfc822;nicolai.engesland@gmail.com> + 99 others); Tue, 27 Jun 2023 12:24:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231992AbjF0QYq (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 27 Jun 2023 12:24:46 -0400 Received: from mail-lf1-x135.google.com (mail-lf1-x135.google.com [IPv6:2a00:1450:4864:20::135]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70E722D7D for <linux-kernel@vger.kernel.org>; Tue, 27 Jun 2023 09:24:44 -0700 (PDT) Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-4f875b267d9so6780952e87.1 for <linux-kernel@vger.kernel.org>; Tue, 27 Jun 2023 09:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687883082; x=1690475082; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=TYGwW56BAscqG/0XM30LcNKT0W+nOLB99DFPYLoa8h4=; b=sibabZov11lA3Xz8hfW0CnXHL9Af+u9rZK5RCzkJFaCiw551/f9xZ8opO7gjVBdEuH 4SIMesrNMaC72EWkZteivG5Mie8GpKa4ThW5V7hjw+/vbcF9jf3VlvaT+8jm5ehZHwMH jFEqhqLxglmtYkjRwWp0OxkupmtoUhVTMcGNMHbmDKaJ5WAQ5QC2SQuX4nowPy80xWS9 8wRjmPXVOvdpRotfLb1w7oPL3+nDltxYij9cog3TMkkUlnFeOempPVVcUI4MxTNn3tLv OV3FN3H2RA/C8m4TNL1jQMauQWyhBuwzdh2hd+IV6khyZR4+hVIvIv8TC/K8oBljMk82 f1Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687883082; x=1690475082; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=TYGwW56BAscqG/0XM30LcNKT0W+nOLB99DFPYLoa8h4=; b=eheLogVcSOeRTq0/BZ9+VUBZohbD7zp+nneIsLwIzWGwdqDWpx7BglcprqxYOeen0p 5J7A8DW/busFISmL+zuzvdbMq1/+5x1vuYaAtBU6kJGXFaj0h6c9UWboHVxSQ/0HKFSU X0504nQzLd/f5jsnh+QajtuVzgleEGCYsnECbuOSRATQr0Rs/f6WnX92QO0myv39eN5T Xc99STE8+TKHsBBn+oWg5Vt3wwEaq+E86/7m7Z5Q6hIuHWzZAYiAzrc0/eJCfi/Tbb8c TYfY4eaZm1i2c5N5AV/AttCYsGmrTst0MM/AfwBAUP7xJshwwJMZ1PSfu6iExOfWAlJg 0Tsw== X-Gm-Message-State: AC+VfDwP7FqiRTYQl69HQSnkRKlvDxdNDHSnpVQB4P7BygsymXK8G32t 9PjytG/cYvJnC5I1dfwYHjuSMQ== X-Received: by 2002:a19:4f46:0:b0:4f8:767d:9b98 with SMTP id a6-20020a194f46000000b004f8767d9b98mr13266735lfk.37.1687883082651; Tue, 27 Jun 2023 09:24:42 -0700 (PDT) Received: from [192.168.1.101] (abxj103.neoplus.adsl.tpnet.pl. [83.9.3.103]) by smtp.gmail.com with ESMTPSA id g7-20020a19ac07000000b004fb259a5589sm1190508lfc.104.2023.06.27.09.24.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Jun 2023 09:24:42 -0700 (PDT) From: Konrad Dybcio <konrad.dybcio@linaro.org> Date: Tue, 27 Jun 2023 18:24:18 +0200 Subject: [PATCH 02/11] arm64: dts: qcom: msm8939: Drop "qcom,idle-state-spc" compatible MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230627-topic-more_bindings-v1-2-6b4b6cd081e5@linaro.org> References: <20230627-topic-more_bindings-v1-0-6b4b6cd081e5@linaro.org> In-Reply-To: <20230627-topic-more_bindings-v1-0-6b4b6cd081e5@linaro.org> To: cros-qcom-dts-watchers@chromium.org, Andy Gross <agross@kernel.org>, Bjorn Andersson <andersson@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org>, Benjamin Li <benl@squareup.com>, James Willcox <jwillcox@squareup.com>, Joseph Gates <jgates@squareup.com>, Stephan Gerhold <stephan@gerhold.net>, Zac Crosby <zac@squareup.com>, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, Banajit Goswami <bgoswami@quicinc.com>, Liam Girdwood <lgirdwood@gmail.com>, Mark Brown <broonie@kernel.org>, Lee Jones <lee@kernel.org>, Stephen Boyd <sboyd@kernel.org>, Joerg Roedel <joro@8bytes.org>, Will Deacon <will@kernel.org>, Robin Murphy <robin.murphy@arm.com>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Xu Yang <xu.yang_2@nxp.com>, Peng Fan <peng.fan@nxp.com>, Christian Marangi <ansuelsmth@gmail.com>, Wesley Cheng <quic_wcheng@quicinc.com>, Jun Nie <jun.nie@linaro.org>, Max Chen <mchen@squareup.com>, Shawn Guo <shawn.guo@linaro.org>, Vivek Gautam <vivek.gautam@codeaurora.org> Cc: Marijn Suijten <marijn.suijten@somainline.org>, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vincent Knecht <vincent.knecht@mailoo.org>, Bryan O'Donoghue <bryan.odonoghue@linaro.org>, Konrad Dybcio <konradybcio@kernel.org>, alsa-devel@alsa-project.org, iommu@lists.linux.dev, linux-usb@vger.kernel.org, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Leo Yan <leo.yan@linaro.org>, Rob Herring <robh@kernel.org>, Andy Gross <andy.gross@linaro.org>, Konrad Dybcio <konrad.dybcio@linaro.org> X-Mailer: b4 0.12.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1687883074; l=1417; i=konrad.dybcio@linaro.org; s=20230215; h=from:subject:message-id; bh=KPBhSzTOaGsAxteWT+99n4sapq26eBljMzOXJq+YN8U=; b=7EVfTk09owESIRFxaijnEfMskf7M1hyXNYPlsteOAdqP/jSMvA3awlLrUye0s9uVnU2WKwmNh nJELXr7ZA9QCRbfxrzR6dCs4sjLsMeuIeTO+P3N6fWRU3Zb/sUlBmU4 X-Developer-Key: i=konrad.dybcio@linaro.org; a=ed25519; pk=iclgkYvtl2w05SSXO5EjjSYlhFKsJ+5OSZBjOkQuEms= 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,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769876012440344516?= X-GMAIL-MSGID: =?utf-8?q?1769876012440344516?= |
Series |
Even more msm bindings fixes
|
|
Commit Message
Konrad Dybcio
June 27, 2023, 4:24 p.m. UTC
As of today, the only cool and legal way to get ARM64 SMP going is
via PSCI (or spin tables). Sadly, not all chip and device vendors were
considerate of this in the early days of arm64. Qualcomm, for example
reused their tried-and-true spin-up method from MSM8974 and their Krait/
arm32 Cortex designs.
MSM8916 supports SMP with its arm32 dt overlay, as probably could 8939.
But the arm64 DT should not define non-PSCI SMP or CPUidle stuff.
Drop the qcom,idle-state-spc compatible (associated with Qualcomm-specific
CPUIdle) to make the dt checker happy:
apq8039-t2.dtb: idle-states: cpu-sleep-0:compatible:
['qcom,idle-state-spc', 'arm,idle-state'] is too long
Fixes: 61550c6c156c ("arm64: dts: qcom: Add msm8939 SoC")
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
---
arch/arm64/boot/dts/qcom/msm8939.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
On 6/27/23 9:24 AM, Konrad Dybcio wrote: > As of today, the only cool and legal way to get ARM64 SMP going is > via PSCI (or spin tables). Sadly, not all chip and device vendors were > considerate of this in the early days of arm64. Qualcomm, for example > reused their tried-and-true spin-up method from MSM8974 and their Krait/ > arm32 Cortex designs. > > MSM8916 supports SMP with its arm32 dt overlay, as probably could 8939. > But the arm64 DT should not define non-PSCI SMP or CPUidle stuff. > > Drop the qcom,idle-state-spc compatible (associated with Qualcomm-specific > CPUIdle) to make the dt checker happy: > > apq8039-t2.dtb: idle-states: cpu-sleep-0:compatible: > ['qcom,idle-state-spc', 'arm,idle-state'] is too long > > Fixes: 61550c6c156c ("arm64: dts: qcom: Add msm8939 SoC") > Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Reviewed-by: Benjamin Li <benl@squareup.com>
diff --git a/arch/arm64/boot/dts/qcom/msm8939.dtsi b/arch/arm64/boot/dts/qcom/msm8939.dtsi index 05d8abbbc840..38fc22e66bda 100644 --- a/arch/arm64/boot/dts/qcom/msm8939.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8939.dtsi @@ -155,7 +155,7 @@ CPU7: cpu@3 { idle-states { CPU_SLEEP_0: cpu-sleep-0 { - compatible ="qcom,idle-state-spc", "arm,idle-state"; + compatible = "arm,idle-state"; entry-latency-us = <130>; exit-latency-us = <150>; min-residency-us = <2000>;