From nobody Mon Feb 9 19:25:29 2026 Received: from mail-ej1-f46.google.com (mail-ej1-f46.google.com [209.85.218.46]) (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 09242314A6C for ; Sat, 27 Dec 2025 12:17:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.46 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766837876; cv=none; b=ilB+Jb6WDxtUX73lST8Z5HoO2uCAcItcNlWA49+RY899w2W1nzYW/d8j4c341WhAHJqucUcW0p1LqyXd97htQCS2f44IHaYwfCUTL/vaRcsk73u9S6KIhPrMu10uFmBUtA2kRhU8ilXFgKO8L68GhaIhqgG66QUZ/d0vGqHJAM8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766837876; c=relaxed/simple; bh=Rb1vpvnfwbnjnDowVbEvpL46lzzwqyDYexQdpgKUi/w=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rtlAvIoGzuQDNeuH00GbM+ij2wuaLlxFaJEsgDIP4KZo0Chb09vuMCM0uF6ohL7MIdXP1qAgchlQ9UPpm7eJ513RKVIn6V8DbQd2jFROBS9/Y9bZ69RWuy/vkNnW4xkiFf9WY75FWyY5Igi/aC/80soqtrmFNJKRoQOq0/4QCM8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=vq/1ecYn; arc=none smtp.client-ip=209.85.218.46 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vq/1ecYn" Received: by mail-ej1-f46.google.com with SMTP id a640c23a62f3a-b7277324204so1180818366b.0 for ; Sat, 27 Dec 2025 04:17:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1766837868; x=1767442668; darn=vger.kernel.org; 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=HlRDfavExAja0FFeQuS56y8e5AL4It8tjarFDjm4Eus=; b=vq/1ecYnaYj461UUaFAPVhF/maQRxvvHVDIxXJC0fLP5D5aC1SStJCtdx0usVOKYne sEjof0VoF7Gebbc90zpr1IWfhtxmBiNWByxH49LA/wFc+cfG2Ez67L+i72SFk2HiEOhG 1Cz3AApjDRQH/2cs+6ek2U7BMshVYragI3ISdbQns4A864LM1OLsMHxD/ZIaDLk3iWpe Vc78ZRnb6nVUdCFd00pl33cEuvdglYR0S5+I670loHC5WhoUQpX7WmpdvvtCuDMXy0Vn Uol7iFhSXNaM7sUqPs76FC+G5uoPrRBi3pXUU2mf+CRx1q6c7xrEe+obQ8j/W9dTHGyV XhWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766837868; x=1767442668; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=HlRDfavExAja0FFeQuS56y8e5AL4It8tjarFDjm4Eus=; b=e7fUeETChIum+9lIr9ve/OolTiFfBC3buzWcERE6j9+KoPfO0wz1Lejt6Wj8UeVmk6 DYQdfcaOeBZDHMo8udiQnVEsjHs6zBd49nUN71sDIWKgC/d7IYlphHKfMpHML6GChAE3 /vjil2yH13/RjuDcoR+lEm0B/6ON9p/cfi8cDnLJpJuqVrUxVvefJYUpxNNZJc3Cnng3 UyXGd5UZNwt5mWSp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a-b8037284cc2mr2538444766b.59.1766837868261; Sat, 27 Dec 2025 04:17:48 -0800 (PST) Received: from puffmais2.c.googlers.com (244.175.141.34.bc.googleusercontent.com. [34.141.175.244]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-b8037f18575sm2616274666b.54.2025.12.27.04.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 27 Dec 2025 04:17:47 -0800 (PST) From: =?utf-8?q?Andr=C3=A9_Draszik?= Date: Sat, 27 Dec 2025 12:17:45 +0000 Subject: [PATCH 1/8] regulator: core: update two debug messages Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20251227-regulators-defer-v1-1-3104b22d84cb@linaro.org> References: <20251227-regulators-defer-v1-0-3104b22d84cb@linaro.org> In-Reply-To: <20251227-regulators-defer-v1-0-3104b22d84cb@linaro.org> To: Liam Girdwood , Mark Brown , Javier Martinez Canillas , Jon Hunter , Dmitry Baryshkov , Oleksij Rempel Cc: Peter Griffin , Tudor Ambarus , Will McVicker , Juan Yescas , kernel-team@android.com, linux-kernel@vger.kernel.org, =?utf-8?q?Andr=C3=A9_Draszik?= X-Mailer: b4 0.14.2 1) In print_constraints_debug(), the power budget is printed as: lldo2: 450 <--> 1300 mV at 900 mV 2147483647 mW budge, enabled (note the missing t in budget). This is because there is a --count just below the call to scnprintf(), to make space for the comma. All similar calls to scnprintf() above add an extra space to the format string to allow for that, but this one doesn't, so the last character t is stripped instead. Update the format string to fix the message. 2) Add the name of the supply to the failure message printed when the supply can not be resolved when debug messages are enabled to help with debug. Signed-off-by: Andr=C3=A9 Draszik --- drivers/regulator/core.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index 4b6182cde859adb356d160a012e54dcf1646da38..a723bd00e1716c2c3899c63314c= 6249015698216 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -1183,7 +1183,7 @@ static void print_constraints_debug(struct regulator_= dev *rdev) count +=3D scnprintf(buf + count, len - count, "standby "); =20 if (constraints->pw_budget_mW) - count +=3D scnprintf(buf + count, len - count, "%d mW budget", + count +=3D scnprintf(buf + count, len - count, "%d mW budget ", constraints->pw_budget_mW); =20 if (!count) @@ -5697,7 +5697,8 @@ static int regulator_register_resolve_supply(struct d= evice *dev, void *data) struct regulator_dev *rdev =3D dev_to_rdev(dev); =20 if (regulator_resolve_supply(rdev)) - rdev_dbg(rdev, "unable to resolve supply\n"); + rdev_dbg(rdev, "unable to resolve supply '%s'\n", + rdev->supply_name); =20 return 0; } --=20 2.52.0.351.gbe84eed79e-goog