Message ID | 20240123062814.2555649-1-amit.pundir@linaro.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-34769-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2553:b0:103:945f:af90 with SMTP id p19csp151008dyi; Mon, 22 Jan 2024 22:28:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOpvw0KJmSqzgwt1RFevKPyf8fenEQkUMxswNigZvk+O/m54KEPU6uZRggFx1oWkPL/ai3 X-Received: by 2002:ac8:57d6:0:b0:42a:21ef:444a with SMTP id w22-20020ac857d6000000b0042a21ef444amr434277qta.134.1705991320602; Mon, 22 Jan 2024 22:28:40 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705991320; cv=pass; d=google.com; s=arc-20160816; b=H+bWqLsBrOPVts0S+a7oZh5MNgOBTKtDKzeYSlwiptqVuyBqE655GeWo6b2vTLcndR LO/4rSVV3uKnHTwCnSoVIOXTxql0BnM1j2G9mA9Epk296Gd78OT9v4ORd74BONGv9Ty9 uNrzSUf0Bgac5my2ciIntngQbh31qja+f0oM59RdpOl/lB6IEP1QWYOeFS+FzHL89Ep6 D6sh8cKy1COPWFvRIi/zELdJN7S9VMXP/B0Q1FGXS6eIzEK4nRwfwdJeh82yd6ktczPI NQtEIq3Yshw6cceD0se4K/QoJkpCaFCAzaXHFeCzosQlTHSBEwB9xKZhyRbY7RaFG89k bdZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=li3BvdPJaGd7zO4rcHjt0R+2G0nMHzQJfJYUns+g7hE=; fh=8e/K+Dr9ULe2IVI+C8CRxi5XJwKpZA5YmHtVgFvBSA8=; b=fN6hbDoIEB/k5dGYMftLoC3Q0xw4CJhIXD0QTR0tbMc4D8+qwlYFRtH9CIaI/CJ5K9 XopNKWbOgwIlHraZ5v8gJTa0BCTXYrxz0xRveLdG4S1Xbt9Rf2VQPRn6oRlDNFyb3cUF t03RsS83zmsOlhPv82kJ/jWO1RQ4c4R89RMFLOYxgNAiYLqxquzS0Mt2iLYJZ/5pIU01 RM6Qe/GPDncKmsPWpZtLoNEybAvxSDmcgIk7o2Jc1a1MVevFnXfoXVNxj5hr9D68m33w tWBWq00DRhxrwWy2hijA7J9wBsI5t3E9RjTtCEBPjZYY3ACiqnShm/TqOefAMKYfOytm 95wg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WoG35ga/"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-34769-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34769-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id e1-20020ac84e41000000b0042a50c05562si395916qtw.324.2024.01.22.22.28.40 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 22:28:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-34769-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="WoG35ga/"; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-34769-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-34769-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 67B381C229AE for <ouuuleilei@gmail.com>; Tue, 23 Jan 2024 06:28:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id ED13B51C2E; Tue, 23 Jan 2024 06:28:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="WoG35ga/" Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (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 0502C50255 for <linux-kernel@vger.kernel.org>; Tue, 23 Jan 2024 06:28:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705991302; cv=none; b=mw3Kv9u1hzk61zHn2fgfzyEHsrrfO74+K2rRzoRN87rS0RcJvlptKg+EejQ2wevBuXMN/tEqqtWh3GcpQN+0r3Yl68ZSET2vNeDhEtfL1DAIS6nv66r2ApHGepYFMRlJvdKiDQ8nbm9RoDvIyZ9/fsmYdsxFdd+HyIkY0wpbgU4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705991302; c=relaxed/simple; bh=mvGSN5uOQdpLSxdblzS+Kyroku8p1YkV6i+4w8z9/8c=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=MvV1Ngu3p/PiUDX2yl8nnAeF/oifz6b2/ih3nFFhgEha5Oio6Mlf3KIMyU2BOgqnbXlG01jJgMjRu+FgVmTUG7Iuu9dL0T+kCoTokt1welCAoDY6aQBureSjOx+AGhBKO1wxlqSnriCMiAkboIorEXBLfB9+fTlaZi1KpLNIbas= 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=WoG35ga/; arc=none smtp.client-ip=209.85.167.171 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 Received: by mail-oi1-f171.google.com with SMTP id 5614622812f47-3bb53e20a43so2955264b6e.1 for <linux-kernel@vger.kernel.org>; Mon, 22 Jan 2024 22:28:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705991300; x=1706596100; 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; bh=li3BvdPJaGd7zO4rcHjt0R+2G0nMHzQJfJYUns+g7hE=; b=WoG35ga/qdIatirgqbBOIATBCGYRcdPYgWjbBoY3L7bsJxcYGCs8Mm11hX2zfumBQD 1atZoeaqwEGMoQWa7CHdjSLEFJKE0Z+jrF8Gc2CqFGUx8YUW9U6w5nZYl/Gbb55Pqv89 YFbocq5Hm3tp4jVYrrhrweB3M3m7b5AAwamro5IyISh9qF9TcGAOwqUZCsCpePtZDn/N 62vv9zcl8/E0Bp+d7n1aySeMHsl3+PS/Z0gfRfmpL4FoRkicm3DakbzA6nAFPLt+MxCr GrrH7KTJEkJnzIuGP2FRz8WCfpwM/kuiJbBSwGO7PcaaMgXdBZCF9AAEZtXZtw+bmi1g 16Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705991300; x=1706596100; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=li3BvdPJaGd7zO4rcHjt0R+2G0nMHzQJfJYUns+g7hE=; b=iPlpNAEohxvZdVAJmbwN61GTfmrnZxEIWpnDGvsSMzU3V3DaU3x2wMM8UAJ+B4K2bE //ymwRG8D5OtJ5gJnwogOFL2aIL/1OCoWGYF/dSLPx7cCEiQnE7hoePBBcSNQFg7kiwd JZbhvnTsZ2siMPUoLO3WgAvp+vDCshOawk0egvIEkFDvlCypWjT4EZwpOkTlNOXERn/m cHds1IpBKSoxEs9DFStfRC2Nuj1JlxglYnqmsReKy9J4HHGc07J0qjaI+IEWnHFavdY+ BNDCyGq7jHlEzTU0FEYmC7zH433IrRB+9bh18ghBT/LtHIzrl0q5RJmpKPyI6sWiaZEM 7h5A== X-Gm-Message-State: AOJu0Yzjbo3iXdtSESl1uPS2DVWDvpThnXPI1rs7UKYHmeQcx5xqU/nn LYMjWP35ybFgcJhzTAHt9u0LTrHNA1T/9Z8b+AatvDfw0896mqJCyfqd0FeeFCg= X-Received: by 2002:a05:6808:1991:b0:3bd:bcd2:9e2d with SMTP id bj17-20020a056808199100b003bdbcd29e2dmr2252929oib.33.1705991300075; Mon, 22 Jan 2024 22:28:20 -0800 (PST) Received: from x-wing.lan ([106.51.165.154]) by smtp.gmail.com with ESMTPSA id r3-20020aa79883000000b006da5e1638b6sm11062657pfl.19.2024.01.22.22.28.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 22:28:19 -0800 (PST) From: Amit Pundir <amit.pundir@linaro.org> To: Bjorn Andersson <andersson@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Michael Turquette <mturquette@baylibre.com>, Stephen Boyd <sboyd@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>, Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Cc: linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH] clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd Date: Tue, 23 Jan 2024 11:58:14 +0530 Message-Id: <20240123062814.2555649-1-amit.pundir@linaro.org> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788861555076876460 X-GMAIL-MSGID: 1788861555076876460 |
Series |
clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd
|
|
Commit Message
Amit Pundir
Jan. 23, 2024, 6:28 a.m. UTC
With the addition of RPMh power domain to the GCC node in
device tree, we noticed a significant delay in getting the
UFS driver probed on AOSP which futher led to mount failures
because Android do not support rootwait. So adding a soft
dependency on RPMh power domain which informs modprobe to
load rpmhpd module before gcc-sdm845.
Cc: <stable@vger.kernel.org> # v5.4+
Fixes: 4b6ea15c0a11 ("arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC")
Suggested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
---
drivers/clk/qcom/gcc-sdm845.c | 1 +
1 file changed, 1 insertion(+)
Comments
On Tue, Jan 23, 2024 at 11:58:14AM +0530, Amit Pundir wrote: > With the addition of RPMh power domain to the GCC node in > device tree, we noticed a significant delay in getting the > UFS driver probed on AOSP which futher led to mount failures > because Android do not support rootwait. So adding a soft > dependency on RPMh power domain which informs modprobe to > load rpmhpd module before gcc-sdm845. > > Cc: <stable@vger.kernel.org> # v5.4+ > Fixes: 4b6ea15c0a11 ("arm64: dts: qcom: sdm845: Add missing RPMh power domain to GCC") > Suggested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> > Signed-off-by: Amit Pundir <amit.pundir@linaro.org> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> - Mani > --- > drivers/clk/qcom/gcc-sdm845.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/clk/qcom/gcc-sdm845.c b/drivers/clk/qcom/gcc-sdm845.c > index 725cd52d2398..ea4c3bf4fb9b 100644 > --- a/drivers/clk/qcom/gcc-sdm845.c > +++ b/drivers/clk/qcom/gcc-sdm845.c > @@ -4037,3 +4037,4 @@ module_exit(gcc_sdm845_exit); > MODULE_DESCRIPTION("QTI GCC SDM845 Driver"); > MODULE_LICENSE("GPL v2"); > MODULE_ALIAS("platform:gcc-sdm845"); > +MODULE_SOFTDEP("pre: rpmhpd"); > -- > 2.25.1 >
On Tue, 23 Jan 2024 11:58:14 +0530, Amit Pundir wrote: > With the addition of RPMh power domain to the GCC node in > device tree, we noticed a significant delay in getting the > UFS driver probed on AOSP which futher led to mount failures > because Android do not support rootwait. So adding a soft > dependency on RPMh power domain which informs modprobe to > load rpmhpd module before gcc-sdm845. > > [...] Applied, thanks! [1/1] clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd commit: 1d9054e3a4fd36e2949e616f7360bdb81bcc1921 Best regards,
diff --git a/drivers/clk/qcom/gcc-sdm845.c b/drivers/clk/qcom/gcc-sdm845.c index 725cd52d2398..ea4c3bf4fb9b 100644 --- a/drivers/clk/qcom/gcc-sdm845.c +++ b/drivers/clk/qcom/gcc-sdm845.c @@ -4037,3 +4037,4 @@ module_exit(gcc_sdm845_exit); MODULE_DESCRIPTION("QTI GCC SDM845 Driver"); MODULE_LICENSE("GPL v2"); MODULE_ALIAS("platform:gcc-sdm845"); +MODULE_SOFTDEP("pre: rpmhpd");