lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240515150719472-0700.eberman@hu-eberman-lv.qualcomm.com>
Date: Wed, 15 May 2024 15:08:26 -0700
From: Elliot Berman <quic_eberman@...cinc.com>
To: Unnathi Chalicheemala <quic_uchalich@...cinc.com>
CC: Bjorn Andersson <andersson@...nel.org>,
        Konrad Dybcio
	<konrad.dybcio@...aro.org>,
        <linux-arm-msm@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
        <kernel@...cinc.com>
Subject: Re: [PATCH] firmware: qcom-scm: Remove QCOM_SMC_WAITQ_FLAG_WAKE_ALL

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@...cinc.com>

Reviewed-by: Elliot Berman <quic_eberman@...cinc.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
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ