[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <vpm4ee4bjuqje7zrpay3pllvcghh547yce4nbqgbeujgdbu3lk@fahrgwfjbrzy>
Date: Sat, 3 May 2025 20:21:37 +0300
From: Dmitry Baryshkov <dmitry.baryshkov@....qualcomm.com>
To: Viken Dadhaniya <quic_vdadhani@...cinc.com>
Cc: Konrad Dybcio <konrad.dybcio@....qualcomm.com>, andi.shyti@...nel.org,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
gregkh@...uxfoundation.org, jirislaby@...nel.org, broonie@...nel.or,
andersson@...nel.org, konradybcio@...nel.org, johan+linaro@...nel.org,
dianders@...omium.org, agross@...nel.org,
linux-arm-msm@...r.kernel.org, linux-i2c@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-serial@...r.kernel.org, linux-spi@...r.kernel.org,
quic_msavaliy@...cinc.com, quic_anupkulk@...cinc.com
Subject: Re: [PATCH v3 6/9] soc: qcom: geni-se: Add support to load QUP SE
Firmware via Linux subsystem
On Sat, May 03, 2025 at 04:47:52PM +0530, Viken Dadhaniya wrote:
>
>
> On 3/8/2025 11:36 PM, Konrad Dybcio wrote:
> > On 3.03.2025 1:43 PM, Viken Dadhaniya wrote:
> > > Load the firmware to QUP SE based on the 'firmware-name' property specified
> > > in devicetree. Populate Serial engine and base address details in the probe
> > > function of the protocol driver and pass to firmware load routine.
> > >
> > > Skip the firmware loading if the firmware is already loaded in Serial
> > > Engine's firmware memory area.
> > >
> > > Co-developed-by: Mukesh Kumar Savaliya <quic_msavaliy@...cinc.com>
> > > Signed-off-by: Mukesh Kumar Savaliya <quic_msavaliy@...cinc.com>
> > > Signed-off-by: Viken Dadhaniya <quic_vdadhani@...cinc.com>
> > > ---
> >
> > [...]
> >
> > > + break;
> > > +
> > > + default:
> > > + dev_err(rsc->se->dev, "invalid se mode: %d\n", rsc->mode);
> > > + return -EINVAL;
> >
> > I wouldn't expect this to ever fail..
>
> Yes, that's correct. But including a default case helps handle unexpected or
> invalid input gracefully.
>
> Please let me know if you would like me to remove it.
If you are asking for additional comments, please refrain from sending
the next iteration until you actally resolve all the open questions.
--
With best wishes
Dmitry
Powered by blists - more mailing lists