From: Elliot Berman <quic_eberman@quicinc.com>
To: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
Cc: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konrad.dybcio@linaro.org>,
<linux-arm-msm@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<kernel@quicinc.com>
Subject: Re: [PATCH] firmware: qcom-scm: Remove QCOM_SMC_WAITQ_FLAG_WAKE_ALL
Date: Wed, 15 May 2024 15:08:26 -0700 [thread overview]
Message-ID: <20240515150719472-0700.eberman@hu-eberman-lv.qualcomm.com> (raw)
In-Reply-To: <20240514180046.543763-1-quic_uchalich@quicinc.com>
On Tue, May 14, 2024 at 11:00:46AM -0700, Unnathi Chalicheemala wrote:
> This flag was never supported by firmware, so remove it.
>
> Signed-off-by: Unnathi Chalicheemala <quic_uchalich@quicinc.com>
Reviewed-by: Elliot Berman <quic_eberman@quicinc.com>
> ---
> drivers/firmware/qcom/qcom_scm.c | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/firmware/qcom/qcom_scm.c b/drivers/firmware/qcom/qcom_scm.c
> index 68f4df7e6c3c..d511ede6f172 100644
> --- a/drivers/firmware/qcom/qcom_scm.c
> +++ b/drivers/firmware/qcom/qcom_scm.c
> @@ -114,7 +114,6 @@ static const u8 qcom_scm_cpu_warm_bits[QCOM_SCM_BOOT_MAX_CPUS] = {
> };
>
> #define QCOM_SMC_WAITQ_FLAG_WAKE_ONE BIT(0)
> -#define QCOM_SMC_WAITQ_FLAG_WAKE_ALL BIT(1)
>
> #define QCOM_DLOAD_MASK GENMASK(5, 4)
> #define QCOM_DLOAD_NODUMP 0
> @@ -1793,9 +1792,8 @@ static irqreturn_t qcom_scm_irq_handler(int irq, void *data)
> goto out;
> }
>
> - if (flags != QCOM_SMC_WAITQ_FLAG_WAKE_ONE &&
> - flags != QCOM_SMC_WAITQ_FLAG_WAKE_ALL) {
> - dev_err(scm->dev, "Invalid flags found for wq_ctx: %u\n", flags);
> + if (flags != QCOM_SMC_WAITQ_FLAG_WAKE_ONE) {
> + dev_err(scm->dev, "Invalid flags received for wq_ctx: %u\n", flags);
> goto out;
> }
>
> --
> 2.34.1
>
next prev parent reply other threads:[~2024-05-15 22:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-14 18:00 Unnathi Chalicheemala
2024-05-15 22:08 ` Elliot Berman [this message]
2024-05-28 3:32 ` Bjorn Andersson
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=20240515150719472-0700.eberman@hu-eberman-lv.qualcomm.com \
--to=quic_eberman@quicinc.com \
--cc=andersson@kernel.org \
--cc=kernel@quicinc.com \
--cc=konrad.dybcio@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=quic_uchalich@quicinc.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®