On Tue, Oct 07, 2025 at 02:29:20PM -0700, Manivannan Sadhasivam wrote: > On Tue, Oct 07, 2025 at 10:18:49PM +0530, Mukesh Ojha wrote: > > Add a PAS context-aware qcom_mdt_pas_load() function for remote > > processor drivers, which can use the context pointer returned from > > qcom_scm_pas_ctx_init() to perform metadata verification and memory > > setup via SMC calls. > > > > The qcom_mdt_pas_load() and qcom_mdt_load() functions are almost > > similar. Clients using the PAS context-based data structure can adopt > > qcom_mdt_pas_load(), and in the future, all users of qcom_mdt_load() > > could be migrated to use qcom_mdt_pas_load() instead. > > > > Signed-off-by: Mukesh Ojha <[email protected]> > > --- > > drivers/soc/qcom/mdt_loader.c | 29 +++++++++++++++++++++++++++++ > > include/linux/soc/qcom/mdt_loader.h | 11 +++++++++++ > > 2 files changed, 40 insertions(+) > > > > diff --git a/drivers/soc/qcom/mdt_loader.c b/drivers/soc/qcom/mdt_loader.c > > index a5c80d4fcc36..31855836b251 100644 > > --- a/drivers/soc/qcom/mdt_loader.c > > +++ b/drivers/soc/qcom/mdt_loader.c > > @@ -486,5 +486,34 @@ int qcom_mdt_load_no_init(struct device *dev, const > > struct firmware *fw, > > } > > EXPORT_SYMBOL_GPL(qcom_mdt_load_no_init); > > > > +/** > > + * qcom_mdt_pas_load() - load the firmware which header is loaded as fw > > + * > > Could you please reword it to make it clear?
Sure. > > - Mani > > -- > மணிவண்ணன் சதாசிவம் -- -Mukesh Ojha

