On Sun, Jul 06, 2025 at 05:47:08PM +0300, Dmitry Baryshkov wrote: > From: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> > > On MSM8974 / APQ8074, MSM8226 and MSM8926 the MSS requires loading raw > MBA image instead of the ELF file. Skip the ELF headers if mba.mbn was > specified as the firmware image. > > Fixes: a5a4e02d083d ("remoteproc: qcom: Add support for parsing fw dt bindings") > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx> > Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxxxxxxxx> > --- > Changes in v4: > - Expanded to cover MSM8226 and MSM8926. > - Link to v3: https://lore.kernel.org/r/20250706-msm8974-fix-mss-v3-1-8b5ae61c86a9@xxxxxxxxxxxxxxxx > > Changes in v3: > - Reverted back to the simple patch from v1 > - Added define for 0x1000 (Konrad) > - Added MBA firmware size check > - Corrected the Fixes tag to point to the commit adding firmware-name > support > - Link to v2: https://lore.kernel.org/r/20230508153524.2371795-1-dmitry.baryshkov@xxxxxxxxxx > > Changes in v2: > - Replace fixed offset 0x1000 with the value obtained from ELF headers > - Implement ELF validity checks > - Link to v1: https://lore.kernel.org/r/20230507172041.2320279-1-dmitry.baryshkov@xxxxxxxxxx > --- > drivers/remoteproc/qcom_q6v5_mss.c | 13 ++++++++++++- > 1 file changed, 12 insertions(+), 1 deletion(-) > And gracious ping... -- With best wishes Dmitry