From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8A73D31354F for ; Sat, 8 Aug 2026 17:22:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.222.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786209737; cv=none; b=hnRJVwqo/OaBhYjZPfyw9iW4BKHOwjI/SID+6ecRjxgvM69u1cp3Wu3e5uLwmjJM3u8+vGb0oCpPEH3AMQck7GCi5GdnT+CUQ2ZaACXWRP961dmAXTOhsuDSVnVry5oiBLPK8L5IWYH9ovH4dNjkuzXpnFh4/T4MFSXrN14EmMc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786209737; c=relaxed/simple; bh=9+v/GpCfHKFKhArOfLO6Guy7SvGHgmzyrCi7dlabPqk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YvJ/8jjI7RCa26zNYnnBcuBVHnl0TWbzRfsF1MJUlDVsFeXQzJYCmU+dF3fuCRhBh3eRUjpFe8eTwAJL59pYgW7OR7Nwny6qeWF10mkvwC0+WdNX11yZiQhW8W9y9RErRNMMepv1fAn0eBMPzXVfXdiXFQpeYb/GPwFaXj+tp/8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=is7DN8Q5; arc=none smtp.client-ip=209.85.222.173 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) header.d=gmail.com header.i=@gmail.com header.b="is7DN8Q5" Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-92ed19f4d60so33054485a.0 for ; Sat, 08 Aug 2026 10:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786209735; x=1786814535; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=nU5U7pC0ggAhLEGRD5uoCl677Th+WwF8riKutdXhP5k=; b=is7DN8Q50xaAizOJmpE3tY5E70TPo7/GD+kHWsiLEL5VeAV5M+u8/4F4gIthnJZDBy nC+XV1IaH/PDNMXY7kbdGcqcmv75XUY50Id7S6yquaFXz6FBXKIqMfSlC4ieP/GD2mea MPwtyoDEYouUM0U/tvkq3tezcWsIYFb3yuzJhdXTIiEXDsT4E607swU97ZNxt5wjVqKi vWg+/t2eA97KW1nqeEP6Au5Q1n3MvLLLcD/VxnAY/8eKPWEndcGV0lCxtywg3tuFcils J92fjVsnmiaUEkF1SMMiqUjsSYhOfnASUNfWhS1JiC/HYosb+18MNg6Q4HKWU9d0ECsi Iopg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786209735; x=1786814535; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=nU5U7pC0ggAhLEGRD5uoCl677Th+WwF8riKutdXhP5k=; b=N38cGuheR4mZvJNDEl4hW3Tsu//L/c70dDqzCbAHsgcsVqTiHmlupvbIRCiOFLe/qC F7WWys8enQEJtSFpeR813jwyRibTexNFjZb1ASWaiz8bncrcgdpvVVElQxSFFUSsWaQt T1veZt6UXkDGjlwnQdSueD2Qff38Q4hqMZZEviWonQFVv4dKZ/lfmjrjF1O8fFcxeGor NNv2Vf+0aK5rt2hV0/8lhzfRCkogy6vUSuXJLBojs6NfoSphUf0QbZUmHv+Y55wJVgAY dGFeDHZHmaUleVGLcf0Xudxkz3CxwvGEDQ8JhVyEL/LDJoheDTQbb8KQALS+IUmo9Eim tFlw== X-Forwarded-Encrypted: i=1; AHgh+RoVgYENIVO+GsbqXLJwv9bRFzppvIWgUDcRVdMXpeI9mMqqcusr/fiGNYBHOv5GN/ZGoUJrUbcuO1Q/RfU=@vger.kernel.org X-Gm-Message-State: AOJu0Yxdu7ZTfAWjWNJnhjD3sES02TMm2ORQE3HtOefMy6q4kFfEFA0N MErHnOjiT/IWLOViVdJ0vcPn5XEtKpUsetQidnk6H0fqIu41/DzRXW3s X-Gm-Gg: AR+sD10vrheIduc2xiBGOorIjqB+trVoxM5czZag/hj2u+ChmL9td9tcaC7xKL0A86c UWb7REjR+Lmvi+kOi0NE09WGh3K+3IMryPR4vRzKe06l3vbJGMaou9i6zUP0+LG8zfXTlYbVIR/ gphRzO9jc6SpOnjP76lJQO7eSfzgNl+ZpYLQn5fIKjX0YxAqpVHT2QtPtmM0sonHq/6s4FZ5i/W cA/aSsC0XqwouporqQlYg9JcaN/ZDMmtF0DjN+rkw1Xyc0fKCLaMmUiuqWNJ5g3ANd6DKsKSa8r wTeuEpbGwbwBtpnf0XAR1W+Y/ODvYlc71BRIc46KPKNmsonyzfWHrdXU/UnT0cgZ2OlXPZs9mp0 pbSmHbvkdgvYKT2A+VS4KEF7H1VUNCT4XpF3/bxcb+dzDVGm80x2x7sg0AYTUEz5iRZEnn/mhgY XjqeJiqxqfGesQvU4bIJl6jnS6NSX6FBwALjJZz8SLDbN6l3/PeUybKb/dxZ6h26v9DnlhUuRCH aOVvDgEpjRgo+rbeIITb2Qzxx8jPUh3mZKR6OycgiWMNwP37YfK9nNmAADaVkpNImGySRAoZLcq nOaj5WLrHA== X-Received: by 2002:a05:620a:468f:b0:930:9cbc:7121 with SMTP id af79cd13be357-9367b44f92dmr691793885a.3.1786209735436; Sat, 08 Aug 2026 10:22:15 -0700 (PDT) Received: from JesseofTheNorth.internal ([2600:4041:502b:ea00::1408]) by smtp.gmail.com with ESMTPSA id af79cd13be357-9366e229787sm408462285a.22.2026.08.08.10.22.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 08 Aug 2026 10:22:14 -0700 (PDT) From: Jesse Casco To: Bjorn Andersson , Konrad Dybcio Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Sudeep Holla , Cristian Marussi , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: glymur: use polling mode for SCMI transfers Date: Sat, 8 Aug 2026 13:22:11 -0400 Message-ID: <20260808172211.137577-1-jesse.casco@gmail.com> X-Mailer: git-send-email 2.55.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On glymur the CPUCP firmware writes correct SCMI replies into the shared memory but never rings the mailbox doorbell for them. Every transfer that waits for the completion interrupt therefore times out, scmi-cpufreq fails to probe with -110, and the machine ends up with no cpufreq at all -- all CPUs pinned at their boot OPP. Measured on an ASUS Zenbook A16 (UX3607OA) through the SCMI RAW debugfs interface: a Performance protocol (0x13) PROTOCOL_ATTRIBUTES request returns status 0 and reports three performance domains when the transport polls for completion, and never completes when it waits for the doorbell. The mailbox interrupt count stays at zero throughout, so the reply is being produced but never signalled. Mark the transport arm,no-completion-irq so it polls. With this applied scmi-cpufreq probes, three performance domains appear, and cpu0/cpufreq/scaling_driver reads "scmi". The property is documented in Documentation/devicetree/bindings/firmware/arm,scmi.yaml, is consumed by drivers/firmware/arm_scmi/driver.c, and is already used in-tree by renesas/r8a78000-ironhide. Assisted-by: Anthropic:Claude-Opus-5 Signed-off-by: Jesse Casco --- arch/arm64/boot/dts/qcom/glymur.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/glymur.dtsi b/arch/arm64/boot/dts/qcom/glymur.dtsi index f04058d2e..b9db81a19 100644 --- a/arch/arm64/boot/dts/qcom/glymur.dtsi +++ b/arch/arm64/boot/dts/qcom/glymur.dtsi @@ -412,6 +412,12 @@ scmi { mbox-names = "tx", "rx"; shmem = <&cpu_scp_lpri1>, <&cpu_scp_lpri0>; + /* + * The CPUCP writes SCMI replies into the shmem but + * never rings the completion doorbell, so poll. + */ + arm,no-completion-irq; + #address-cells = <1>; #size-cells = <0>; base-commit: 6b8c8af514d739d0335f5579b585e02babe8a727 -- 2.55.0