From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.175 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796006649; b=ETtp3HP3Yt1MXq6tF6fL2ChNmzV7N0iZewMz4+mF0ruB/gzkgDfGBYdj59iuikjImDGg /GGdey1cVOqDBM3UF304ycS8ehz86zR2s1CmS/6vXhzTc+eaSXKbGWKuU8z4jk9TDquQd 4BPX0Pg3eMLF/7Y/pihgmPGQ5bBTA+UME4EK+rEYvyCOhb5I/n/+rLvR1vP/AF2fkDuzU 3cBpUK4QP28vPy7lxNN8WqSYbQKzU7BlJVFK6mE75wEytWTI+BuzyP0pRe3rFEQodDp4y K/Z/K4vlfZ9Fem++BBS7Ke45r28jUbUMX21eMDOvz4oFIcNynWZO7QCNWibOzoyd/YQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796006649; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:In-Reply-To:References: MIME-Version:Content-Transfer-Encoding; bh=GhnGbtNPCt2aSFqIPPVa+LuCV1CQQ75akMXiTPHLpOE=; b=HJUqG/UiyKBds+/GPYDMF3GRDj+iwKA9Iih8fZgYwUxUszwsCb56Z6PLoMHEz5R+cXbQ sewxvi4XmZx0B4ftZeJlv3JAakVq68Z+X2OEgzy8ki1JegyFHO6W+t2nNSK5C4ZQ9XK9l 8BQ3vzJ+R3z2TH3VntsgvBgaSGFfIcLf6BPdR7yZ4L8YMRRhuctHqIvWvH1vVE8nmxVRJ QEPEPfbxm16q85iaLg4tM2L9dC2+YzuK9ShjktIQZhRnC6QWByFX3oyFZ4TxnRR7BpYfI 8HHe4rm++xLhCXFTwPaehAiOK2Dgb1+bvhI6h5FLqa1Oub7WyB3351wL1On2sjl4gDA== 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=20260707 header.b=EKmrKy14; arc=none smtp.remote-ip=209.85.222.175 Received: from mail-qk1-f175.google.com (mail-qk1-f175.google.com [209.85.222.175]) (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 6E709606A325 for ; Mon, 30 Nov 2026 02:44:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 6E709606A325 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.a=rsa-sha256 header.s=20260707 header.b=EKmrKy14 Received: by mail-qk1-f175.google.com with SMTP id af79cd13be357-93f20c3aaa5so831897085a.2 for ; Sun, 29 Nov 2026 18:44:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796006648; x=1796611448; darn=vger.kernel.org; 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:content-type; bh=GhnGbtNPCt2aSFqIPPVa+LuCV1CQQ75akMXiTPHLpOE=; b=EKmrKy14/36fOSfpsO4CrE+/1rZLf5PiB2rGdyL1oBgnbZQn12cudzw503BzWYEGwX ld9WVwSMSkoI6Y+1+qcMjO78PmU6KlYDwi81XacMda0ieEMl7RNdvk3oRv5xhpq4ZWg6 ZsFuTDxDc2VsC7yAqJ8aA6gkHiSpE2t/ZUIgw5wpAIwWTwzh9AitPqeprl4hGDlUWCv3 osCxbk3yXGR4tz58HAPEadbnRnLkzZ0autJlnMakjYF61td0nzswDwZdO0F6r9UEgPQw S+bO5XGUifikhZbcj/fRWbjF9J/fL5bKJaV8SNA+FW8y7k9xmQ7QDqqicOfoQWf8ZCuJ TM/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796006648; x=1796611448; h=content-transfer-encoding:mime-version:references:in-reply-to :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=GhnGbtNPCt2aSFqIPPVa+LuCV1CQQ75akMXiTPHLpOE=; b=X93Yuzxz3yH+6Fkkp17kikBFLcrPcfuM+G4dBghKHe0fgRA7+NCbLJL9mmc6iIXs8p y39YttXWIn/Csu7s9DASTBQcLOnqB3ylfuz5Tkjj/ya0gZnvxKiWf4hRDdrbb1ZD3rUc WXUjMhwnQEC+LBeizIt2RNgi1bU6VYJrqjH0jYT1vQNJe9uOrxZ/MRi0ftw8P/0fv0m6 MU87flCd1IWK1e2iIffBGSX5y36SMGt2xwXV0tr0qiswXoorUCeRYFIMQBo2L62NExbP 0+5zwNcDoC8l/k1SaZNcAZcv/tOq9hHHYgNKEzgFU/q8xGKdZikuFK58F+6Daw63RM3b PBTw== X-Forwarded-Encrypted: i=1; AL+hErGnHZ6/GupTIw97myQXvXAwC428I6fdofhEzOGGGgJ79RPTK7jiiHoaftZH7QVxuZmRohIPtIF7dapEcaA=@vger.kernel.org X-Gm-Message-State: APuU4Z+mJjnjJbH6Tge+urO/tk2PqN/UW8tDr9ZIcyVgnc5oiu3UA1Gz iCdVJW9g+QhdqZe7c082IvUfaAI6NRJJC+GZTVzVgGMOeYDCWl714lpV X-Gm-Gg: AZFdTZdq3x+BQR++h2kPbAaImYVb4koW5+N2AOyEIpvKrGq7rhoJb7KCpSLHHseg2l9 gYY7RKTV2oNMJGQqIzJZmZnrBPmDbt/SI9djc+g9s1NDalAy6YdYK5DGbfRqEzyhkKYjfBqESaK JzXCRDqfgL3+jE71qf1KT383J1XP8O4S4P2fqh+Ge5hVufnm7CCIWhrESu8JRKN0HMFdByea/wm eJg9FNPhPdFJ3r1NswMItY3aYonBnEmYSCZaTbG60yBAGiGbIlYeEn9Jh756+peszg0bhMHVWYZ 4uXB30y8ZOBkNMUobg0eg6KZism5klhAdNnkh2yWwjacYajh7hDqhfFWil3PpFDH8FA7Md4U2w6 7HvvWyog/qAF/VJlD0SFAX6Ly9X5czkeDTtTLbTC+eD/VfmJfAtCxOCt+bgJXd1/FJnxZJ45rtS np3sFlEKTYWunjQJnBNsXQm6F902tyjjhHgqIDLI3ZnsR/4+lgK3EwVJOf8PJPWqCtrJgMXE7tL z5mzdu3AG6BkmMBkEKVMx1iKjyMB1WKTQN2t++lIqtsJ4RT0wu1JKpSs24gb5LX6i6xUgbeez4m CMDhcRTIEq2fafvAWSxxclUkrl0G0w== X-Received: by 2002:a05:620a:468e:b0:949:6ece:8ae8 with SMTP id af79cd13be357-949bab7df0bmr6202524985a.71.1796006648457; Sun, 29 Nov 2026 18:44:08 -0800 (PST) Received: from itsalwaysthefirewall ([2603:6010:6500:1713::1718]) by smtp.gmail.com with ESMTPSA id af79cd13be357-949bb40ea12sm2445039385a.35.2026.11.29.18.44.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 18:44:08 -0800 (PST) From: Jarod Anders To: Maulik Shah Cc: Bjorn Andersson , Konrad Dybcio , Konrad Dybcio , Kamal Wadhwa , Dmitry Baryshkov , Mark Brown , linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, Jarod Anders Subject: Re: [PATCH v2 2/2] soc: qcom: rpmh-rsc: Skip read requests on unsupported platforms Date: Sun, 29 Nov 2026 21:43:45 -0500 Message-ID: <20261130024345.492037-1-janders7762@gmail.com> X-Mailer: git-send-email 2.56.1 In-Reply-To: <20260911-rsc_read-v2-2-98675c248278@oss.qualcomm.com> References: <20260911-rsc_read-v2-2-98675c248278@oss.qualcomm.com> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On Fri, Sep 11, 2026 at 02:38:14PM +0530, Maulik Shah wrote: > Skip issuing read commands on sm8150 and sc8180x platforms. For such > platforms return success to the caller with the resource level at zero > to avoid the caller taking any action on error code. Another SM8150 data point: the Microsoft Surface Duo (1st gen) hangs the same way on v7.3.6. The display never comes up, and the log (recovered through ramoops) ends with: qcom-rpmh-regulator 18200000.rsc:regulators-1: failed to read VOLTAGE ret = -110 ldo1: Setting 1800000-1800000uV WARNING: drivers/soc/qcom/rpmh.c:425 at rpmh_write_batch+0x17c/0x298 Error sending AMC RPMH requests (-110) That's the PM8150L (pmic-id "c") regulators, then ldo1, which fits Dmitry's finding that the ldoc1 read is the one that times out. With this patch applied on top of v7.3.6, the Duo boots normally again. Both DSI panels, GPU, DSPs, Wi-Fi, Bluetooth, audio and sensors work as they did on v6.19, and no RPMh timeouts are logged. (The kernel also carries out-of-tree board patches for the Duo, none of which touch RPMh.) Tested-by: Jarod Anders # Microsoft Surface Duo (SM8150) Thanks, Jarod Anders