From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.214.179 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792662096; b=c8XQ1xvFgcpEK6Qfy+0aUg3//ngWxgxE/8oYBJsSLbrkEMQHFtmW4gTZkQ55jnGwJp5z EY/8j1sAu3MVMTq9J0hipqVJqcSRTJ7cbVYIDNFj69g3PmHjfxU9vpYfQa+a6wOE1NzS4 VjFQBF5HCHX5MdfSBIL01rZxKJ2sRUP8H9TnPTr2wtlcT2OszWrQ9yNqZ1DCFAQGcFOPR g6OrZ55UvFsLyPOleIPuOVi9PqxQhXhNo6P4yvLL5Pa94o095eZENkuRZM2BCVWeGd0ZN pf4a7LD+Nnav7/oaxluf51jmrKR7YndKYJgMeT4/6j0AtgKTNv715SIzQo1xTq4lGHw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792662096; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:Subject:Date:Message-Id:MIME-Version:Content-Type: Content-Transfer-Encoding:X-B4-Tracking:X-Change-ID:To:Cc:X-Mailer; bh=ZO3QijMDlQGB6qI6turwFa39VuovzlWi+zzZq/Y2Sow=; b=QMv/vwgOg+YueaajzJQjQvesP3REn/ymgNE/h8X0wD4x8uxESfmTp/C1+Fqh7UBBoZq3 N4hxBGzFxb2UYsr7v+i4XmbowGIeA42r7hbszRM9cim0JydiRRBqNp/mO2JuxWCUIm67R RDByKYfUuDUGNJ5vCS2PqOwjYhXdkAcsaCevmN3pnaqD5gsJVYX4JtA1OwTgi25/HfRdh t2KdiPrnyPvk8xlzgXJOqgdktfYd9t3akTVoXk2qsnvvl32O0jbJlpI/h3x31vZG0f8/p YN4YY91e7Rv3ImkMf3PhNWwhp4RTHYmNlWFRtGTr28YxUNgtruHrnWhK9uAEu3aqFWg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b="qIjlwC/5"; arc=none smtp.remote-ip=209.85.214.179 Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 74A6D606A31E for ; Thu, 22 Oct 2026 09:41:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 74A6D606A31E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104 header.b=qIjlwC/5 Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-2e9995ce866so12787245ad.0 for ; Thu, 22 Oct 2026 02:41:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1792662095; x=1793266895; darn=vger.kernel.org; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=ZO3QijMDlQGB6qI6turwFa39VuovzlWi+zzZq/Y2Sow=; b=qIjlwC/53Ob/h9wveqCCxyG9bSf/7jYt0zFC+PfBzfr7JccVi1Ia9lUEeT0vP+48cg kyg3I3XtG9jdkw093xYuc6ENRd4wRprh8Iz91QwAqcLfS0rt0QchpQy5Vp1ry5C+W6fi daSJR1L0aJJpG5xYLIu43uvLNNkvR3ujJNEfW64BJRPTpaXxu/7aztMBkE8y9/cSZFRO M88B+RmUx+/hQ27zQjiPzLbT9pK9o9vSjVaJR9CI3CqiOQ2p47jmxl/ccMTbJwK3QrgS 6Vi6xSMsL1qLBnuP+pAzXjQaWQV93OzyOziSJh9tBBt2t4faan4YnvXy8xZ9ZwmaPw0P MZfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1792662095; x=1793266895; h=cc:to:content-transfer-encoding:content-type:mime-version :message-id:date:subject:from:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=ZO3QijMDlQGB6qI6turwFa39VuovzlWi+zzZq/Y2Sow=; b=eVvJQC5qXgqwu4eaT8a874lmVd/6Z0PZ3+G3YrKIWVzvb5AoT1idtP1ehyvyPN7H5q P9I8dwiumprvetmhxXj9hIrrQmMgJDXVON1KpBTGnQRqyBYLQiI2ksuvRIddczr+e2Ev Gmab+kzbkevfBCCSNLYRn7ir653W4tL6zZX83xdjToFNLNX4UZLmS2qrotbzsfRsUXQw 9p/gKVs3s262HcyFUdEP2t5BJMD83ufLmTBE7al9kmUf6eyJeY9MU1QuMfxXU0jJOAiK lfJcOC1ZugP18y7qj4ybPygr+j09W0tB4qtIXTZaY/QfrWiWaUAWr2QdmvYlArD0+W/g LWeQ== X-Forwarded-Encrypted: i=1; AKwUvBweJkpPfdyoSEVJjKm7iGuEc+2miXXKqRnYrF2DAgEy42rrVU0Lwmu1WAt+DjPR73HiJNKH25WQbeVk@vger.kernel.org X-Gm-Message-State: AFq9FYLygC3S97ENm0XXbLo8o73psNXopJpNiw9kG5OhHDDRqgtxLnGL dVpZJDD0jenyZlpsKy8rQcDXEDXBqIzde49Q0QMV95fgG94pGmeDETjl X-Gm-Gg: AYBFou3vDF1A/mCqeKj98vtcF2u1k9o9R53RaHccjz7ajKDFkMA8xXAm8SK6GeSqjH/ OUbYVhwJQ5stQW9+kwnO1k/mr7K/QD13sG0S8JO6ECT9DccKI9t0+9+cpozago972rUycgWr/cJ 6Q8zfVcfL1XDD57DPwuhwXOMDRk/2G6YUn1ns0+nmfRtEmyitY/JsiWxNZKKcuTRuzA+ixuY/yV g+UL+WoOIutgR/Jdn8aiY0V1hh6lCKCPA27iwL4jc/zAtnwgShj8Rd4GAX+ESzqgqT9HWn72YZ8 enR5Wz2I9p6QoR5y+OgMUwUS5EnFC09lWTL0lJasEAx2ZZb6zOETjyvXuV6A67JdjCyBN9Wz6i+ gFhHaPlmQyzpyCAqFsNI8mZTD8hbUNL4yGgXOCwCqWqqSVIx9qKtZ8i1zNHy59zUmDSa5u88s7a dexIfAvUNOr+9fCNKxw311vsg4BBbBe7XKN4DhRYFTjgQCLgFesqKuN/tGQoyFp2n8a09ZRZKZf 231HA3qnK7uzRzdXtCCAX6fYgejEQMeLkus75+GHlHgDdXP9g== X-Received: by 2002:a17:902:ce10:b0:2e8:5202:aa8c with SMTP id d9443c01a7336-2ea43fbc008mr40821225ad.48.1792662094813; Thu, 22 Oct 2026 02:41:34 -0700 (PDT) Received: from [127.0.0.2] ([2404:c0:701f:d27a:ab05:82e0:7670:1951]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ea3b4356c1sm21483075ad.38.2026.10.22.02.41.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Oct 2026 02:41:34 -0700 (PDT) From: Reza Kurniawan Subject: [PATCH v3 0/4] Fix PSCI on MSM8917 and MSM8937 Date: Thu, 22 Oct 2026 09:41:09 +0000 Message-Id: <20261022-psci-fix-v3-0-9ce2133c5659@gmail.com> X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/02Nyw6CMBBFf4V0bU0fUsCV/2FclHaAMfJIi42G8 O+2GCPLOznnzEI8OARPztlCHAT0OA5xyENGTKeHFijauIlgQnHGJZ28Qdrgi5ZaGGaVUKrRJOK Tg3jeUtfbd/tnfQczJz8RHfp5dO/tV+CJ+2WLfzZwyqgFq0EUcNKSX9pe4+Noxp6kbBB7sdyJI ooyb1Re5xXUld6L67p+ADr8iXrrAAAA X-Change-ID: 20261013-psci-fix-8a2c0d6266fa To: Mark Rutland , Lorenzo Pieralisi , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Ulf Hansson , "Rafael J. Wysocki" , Daniel Lezcano , Christian Loehle , Bjorn Andersson , Konrad Dybcio , Abel Vesa , Val Packett Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-msm@vger.kernel.org, Alejandro Tafalla , Reza Kurniawan , Konrad Dybcio X-Mailer: b4 0.15.2 PSCI on Qualcomm MSM8917 and MSM8937 advertises support for OS-initiated mode through PSCI_FEATURES, but rejects every PSCI_SET_SUSPEND_MODE call with NOT_SUPPORTED. The cpuidle-psci-domain driver treats this as a fatal error, so probe fails and the CPU PM domain topology is never registered: psci-cpuidle-domain psci: probe with driver psci-cpuidle-domain failed with error -95 This series adds a "skip-suspend-mode-switch" property to the PSCI node. When present, cpuidle-psci-domain does not call psci_set_osi_mode() and continues with the topology it has already built. Skipping the switch is expected to be safe on these platforms since it matches the behavior of the downstream kernel, which manages the cluster power level in addition to the CPU power level, just as Linux does when OSI is supported. Additionally, it also adds the property to the PSCI node for both platforms. For MSM8917, additional change is added to fix the system being unresponsive at idle. --- Changes in v3: - Swap ordering (patch #3 <-> patch #4) - Link to v2: https://patch.msgid.link/20261018-psci-fix-v2-0-35f65b59eb9a@gmail.com Changes in v2: - Small phrase change in the property description - Added property check in psci_1_0_init() - Link to v1: https://patch.msgid.link/20261017-psci-fix-v1-0-dedae27e4a31@gmail.com --- Alejandro Tafalla (2): dt-bindings: arm: psci: Add skip-suspend-mode-switch property cpuidle: psci: Allow skipping the suspend mode switch Reza Kurniawan (2): arm64: dts: qcom: msm8917: Use a shallower cluster state to fix unresponsive idle arm64: dts: qcom: Skip suspend mode switch on MSM8917 and MSM8937 Documentation/devicetree/bindings/arm/psci.yaml | 13 +++++++++++++ arch/arm64/boot/dts/qcom/msm8917.dtsi | 9 +++++---- arch/arm64/boot/dts/qcom/msm8937.dtsi | 1 + drivers/cpuidle/cpuidle-psci-domain.c | 16 ++++++++++------ drivers/firmware/psci/psci.c | 6 ++++-- 5 files changed, 33 insertions(+), 12 deletions(-) --- base-commit: 9a482184d910775cf648863148944945b74e2815 change-id: 20261013-psci-fix-8a2c0d6266fa Best regards, -- Reza Kurniawan