On Mon, Jan 05, 2026 at 06:52:48PM +0530, Mukesh Ojha wrote: [...]
Bjorn, Would you be picking this for next merge window ? -Mukesh > > Changes in v9: > https://lore.kernel.org/lkml/[email protected]/ > - Addressed comment from Bjorn and Konrad on resource table SMC call > logic. > - Removed comment from overlay file. > - Changed flag has_iommu to use_tzmem. > - Added R-b tag on some patches. > > Changes in v8: > https://lore.kernel.org/lkml/[email protected]/ > - Addressed suggestion from Stephen which was regarding commit message(9/14), > debug log(12/14) suggestion, and return type change(4/14). > - Added R-b tag on 10/14 . > > Changes in v7: > https://lore.kernel.org/lkml/[email protected]/ > - Addressed Bryan suggestion to modify commit message on 2/14 . > - Repharsed commit message based on Krzysztof comment made on 1/14. > - Addressed Konrad suggestion > o To remove pas metadata data structure. > o Added his suggestion on adding retry in rsc_table SCM call. > o Added his rephrased version of comment made in 12/14 > > Changes in v6: > https://lore.kernel.org/lkml/[email protected]/ > - Added comments made by Bryan to save some cycles and added in 2/14 > which could change patch order. > - Renamed qcom_scm_pas_context_init to devm_qcom_scm_pas_context_init() > - Replaced devm_kzalloc with kzalloc for output_rt in scm function as > remoteproc framework does not usage devm_ api for resource table > pointer which is cause mem-abort issue start/stop test. > - Removed union usage and redundant code from > qcom_scm_pas_prep_and_init_image(). > > Changes in v5: > https://lore.kernel.org/lkml/20251007-kvm_rprocv4_next-20251007-v4-0-de841623a...@oss.qualcomm.com/ > - Replaced minitems with maxitems. > - Addressed comments made by Bryan, Mani and Konrad. > - Fixed some of highlighted issues in v4. > - Added a new patch which removes qcom_mdt_pas_init() from exported > symbol list. > - Slight change in v4's 5/12, so that it does use qcom_mdt_pas_load() > directly while it should use in the commit where it gets introduced. > Hence, reordered the patches a bit like v4 5/12 comes early before > 4/12. > > Changes in v4: > https://lore.kernel.org/lkml/[email protected]/ > - Fixed kernel robot warning/errors. > - Reworded some of the commit log, code comment as per suggestion from Bryan. > - Added support of gpdsp0 and gpdsp1 and disabled iris node. > - Add R-b tag to some of the reviewed patches. > - Rename struct qcom_scm_pas_cxt to qcom_scm_pas_context. > > Changes in v3: > https://lore.kernel.org/lkml/[email protected]/ > - Dropped video subsystem enablement for now, could add it in future > or on a separate series. > - Addressed most of the suggestion from Stephen and Bryan like some > remoteproc code checking resource table presence or right error > code propagation above the layer. > - Added leman-el2 overlay file. > - Added missed iommus binding which was missed last series. > - Separated qcom_mdt_pas_load() patch and its usage. > - Patch numbering got changed compared to last version > > Changes in v2: > https://lore.kernel.org/lkml/[email protected]/ > - A lot has changed from the V1 and a fresh look would be preferred. > - Removed approach where device tree contain devmem resources in > remoteproc node. > - SHMbridge need to created for both carveout and metadata memory > shared to TZ in a new way. > - Now, resource table would be given by SMC call which need to mapped > along with carveout before triggering _auth_and_reset_. > - IOMMU properties need to be added to firmware devices tree node when Linux > control IOMMU. > > --- > Mukesh Ojha (14): > dt-bindings: remoteproc: qcom,pas: Add iommus property > firmware: qcom_scm: Remove redundant piece of code > firmware: qcom_scm: Rename peripheral as pas_id > firmware: qcom_scm: Introduce PAS context allocator helper function > remoteproc: pas: Replace metadata context with PAS context structure > soc: qcom: mdtloader: Add PAS context aware qcom_mdt_pas_load() function > soc: qcom: mdtloader: Remove qcom_mdt_pas_init() from exported symbols > firmware: qcom_scm: Add a prep version of auth_and_reset function > firmware: qcom_scm: Refactor qcom_scm_pas_init_image() > firmware: qcom_scm: Add SHM bridge handling for PAS when running > without QHEE > firmware: qcom_scm: Add qcom_scm_pas_get_rsc_table() to get resource > table > remoteproc: pas: Extend parse_fw callback to fetch resources via SMC > call > remoteproc: qcom: pas: Enable Secure PAS support with IOMMU managed by > Linux > arm64: dts: qcom: Add EL2 overlay for Lemans > > .../bindings/remoteproc/qcom,pas-common.yaml | 3 + > arch/arm64/boot/dts/qcom/Makefile | 10 + > arch/arm64/boot/dts/qcom/lemans-el2.dtso | 35 ++ > drivers/firmware/qcom/qcom_scm.c | 380 > ++++++++++++++++++--- > drivers/firmware/qcom/qcom_scm.h | 1 + > drivers/remoteproc/qcom_q6v5_pas.c | 165 +++++++-- > drivers/soc/qcom/mdt_loader.c | 51 ++- > include/linux/firmware/qcom/qcom_scm.h | 30 +- > include/linux/soc/qcom/mdt_loader.h | 22 +- > 9 files changed, 581 insertions(+), 116 deletions(-) > --- > base-commit: f8f97927abf7c12382dddc93a144fc9df7919b77 > change-id: 20260105-kvmrprocv10-dea2a3f00210 > > Best regards, > -- > -Mukesh Ojha > -- -Mukesh Ojha

