From: Julius Bairaktaris <julius@bairaktaris.de>
To: varadarajan.narayanan@oss.qualcomm.com
Cc: andersson@kernel.org, konradybcio@kernel.org,
mathieu.poirier@linaro.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, manikanta.mylavarapu@oss.qualcomm.com,
linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org,
vignesh.viswanathan@oss.qualcomm.com,
gokul.sriram.p@oss.qualcomm.com, george.moussalem@outlook.com,
dmitry.baryshkov@oss.qualcomm.com
Subject: Re: [PATCH v14 3/9] remoteproc: qcom: add hexagon based WCSS secure PIL driver
Date: Sun, 29 Nov 2026 18:59:33 +0100 [thread overview]
Message-ID: <20261129175933.2554643-1-julius@bairaktaris.de> (raw)
In-Reply-To: <20260803-rproc-v14-3-a1f87b0b0ad2@oss.qualcomm.com>
On Mon, Aug 03, 2026 at 04:16:09PM +0530, Varadarajan Narayanan wrote:
> +#define Q6_WAIT_TIMEOUT (5 * HZ)
[ ... ]
> + ret = qcom_q6v5_wait_for_start(&wcss->q6, msecs_to_jiffies(Q6_WAIT_TIMEOUT));
Q6_WAIT_TIMEOUT is already in jiffies, and qcom_q6v5_wait_for_start()
hands its argument to wait_for_completion_timeout() as jiffies. Through
msecs_to_jiffies() the wait becomes 5 * HZ milliseconds: 5 s only with
HZ=1000, 0.5 s with HZ=100. qcom_q6v5_wcss.c passes 5 * HZ directly:
ret = qcom_q6v5_wait_for_start(&wcss->q6v5, 5 * HZ);
so this one can drop the conversion:
ret = qcom_q6v5_wait_for_start(&wcss->q6, Q6_WAIT_TIMEOUT);
Julius
next prev parent reply other threads:[~2026-11-29 17:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-03 10:46 [PATCH v14 0/9] Add new driver for WCSS secure PIL loading Varadarajan Narayanan
2026-08-03 10:46 ` [PATCH v14 1/9] firmware: qcom_scm: ipq5332: add support to pass metadata size Varadarajan Narayanan
2026-08-03 12:35 ` Mukesh Ojha
2026-08-04 11:23 ` Varadarajan Narayanan
2026-08-04 13:17 ` Mukesh Ojha
2026-08-04 17:38 ` Jeff Johnson
2026-08-03 10:46 ` [PATCH v14 2/9] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL Varadarajan Narayanan
2026-08-03 10:46 ` [PATCH v14 3/9] remoteproc: qcom: add hexagon based WCSS secure PIL driver Varadarajan Narayanan
2026-08-03 12:44 ` Mukesh Ojha
2026-08-04 11:19 ` Vignesh Viswanathan
2026-08-04 13:10 ` Mukesh Ojha
2026-11-29 17:59 ` Julius Bairaktaris [this message]
2026-08-03 10:46 ` [PATCH v14 4/9] arm64: dts: qcom: ipq5018: add nodes to bring up q6 Varadarajan Narayanan
2026-08-03 10:46 ` [PATCH v14 5/9] arm64: dts: qcom: ipq5332: " Varadarajan Narayanan
2026-08-03 10:46 ` [PATCH v14 6/9] arm64: dts: qcom: ipq9574: " Varadarajan Narayanan
2026-08-03 10:46 ` [PATCH v14 7/9] arm64: dts: qcom: ipq5018: Enable q6v5_wcss Varadarajan Narayanan
2026-08-03 10:46 ` [PATCH v14 8/9] arm64: dts: qcom: ipq5332: " Varadarajan Narayanan
2026-08-03 10:46 ` [PATCH v14 9/9] arm64: dts: qcom: ipq9574: " Varadarajan Narayanan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261129175933.2554643-1-julius@bairaktaris.de \
--to=julius@bairaktaris.de \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=george.moussalem@outlook.com \
--cc=gokul.sriram.p@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-remoteproc@vger.kernel.org \
--cc=manikanta.mylavarapu@oss.qualcomm.com \
--cc=mathieu.poirier@linaro.org \
--cc=robh@kernel.org \
--cc=varadarajan.narayanan@oss.qualcomm.com \
--cc=vignesh.viswanathan@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®