On Wed, Aug 20, 2025 at 12:03:16PM +0100, Bryan O'Donoghue wrote: > On 19/08/2025 17:54, Mukesh Ojha wrote: > > This is a further continuation with a new approach to the topic > > discussed in [1] regarding the enablement of Secure Peripheral Image > > Loader support on Qualcomm SoCs when Linux runs at EL2. > > > > A few months ago, we also discussed the challenges at Linaro Connect > > 2025 [2] related to enabling remoteproc when Linux is running at EL2. > > > > [1] > > https://lore.kernel.org/lkml/20241004212359.2263502-1-quic_mojha@xxxxxxxxxxx/ > > > > [2] > > https://resources.linaro.org/en/resource/sF8jXifdb9V1mUefdbfafa > > > > Below, is the summary of the discussion. > > Which tree does this apply to exactly ? > > git-log-graph linux-stable/master > * c17b750b3ad9f - (tag: v6.17-rc2, linux-stable/master, linux-stable/HEAD) > Linux 6.17-rc2 (3 days ago) > * 8d561baae505b - Merge tag 'x86_urgent_for_v6.17_rc2' of > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (3 days ago) > > b4 shazam 20250812-qcom-tee-using-tee-ss-without-mem-obj-v7-7-ce7a1a774803@xxxxxxxxxxxxxxxx > > b4 shazam 20250819165447.4149674-1-mukesh.ojha@xxxxxxxxxxxxxxxx > > Grabbing thread from lore.kernel.org/all/20250819165447.4149674-1-mukesh.ojha@xxxxxxxxxxxxxxxx/t.mbox.gz > Checking for newer revisions > Grabbing search results from lore.kernel.org > Analyzing 18 messages in the thread > Analyzing 0 code-review messages > Checking attestation on all messages, may take a moment... > --- > ✓ [PATCH v2 1/11] firmware: qcom_scm: Introduce PAS context initialization > helper > ✓ [PATCH v2 2/11] soc: qcom: mdtloader: Add context aware > qcom_mdt_pas_load() helper > ✓ [PATCH v2 3/11] firmware: qcom_scm: Add a prep version of auth_and_reset > function > ✓ [PATCH v2 4/11] firmware: qcom_scm: Simplify qcom_scm_pas_init_image() > ✓ [PATCH v2 5/11] firmware: qcom_scm: Add shmbridge support to > pas_init/release function > ✓ [PATCH v2 6/11] remoteproc: Move resource table data structure to its > own header > ✓ [PATCH v2 7/11] firmware: qcom_scm: Add qcom_scm_pas_get_rsc_table() to > get resource table > ✓ [PATCH v2 8/11] soc: qcom: mdt_loader: Add helper functions to map and > unmap resources > ✓ [PATCH v2 9/11] remoteproc: pas: Extend parse_fw callback to parse > resource table > ✓ [PATCH v2 10/11] remoteproc: qcom: pas: Enable Secure PAS support with > IOMMU managed by Linux > ✓ [PATCH v2 11/11] media: iris: Enable Secure PAS support with IOMMU > managed by Linux > --- > ✓ Signed: DKIM/qualcomm.com (From: mukesh.ojha@xxxxxxxxxxxxxxxx) > --- > Total patches: 11 > --- > Applying: firmware: qcom_scm: Introduce PAS context initialization helper > Applying: soc: qcom: mdtloader: Add context aware qcom_mdt_pas_load() helper > Patch failed at 0002 soc: qcom: mdtloader: Add context aware > qcom_mdt_pas_load() helper > error: patch failed: drivers/remoteproc/qcom_q6v5_pas.c:235 > error: drivers/remoteproc/qcom_q6v5_pas.c: patch does not apply > error: patch failed: drivers/soc/qcom/mdt_loader.c:302 > error: drivers/soc/qcom/mdt_loader.c: patch does not apply > error: patch failed: include/linux/soc/qcom/mdt_loader.h:10 > error: include/linux/soc/qcom/mdt_loader.h: patch does not apply > hint: Use 'git am --show-current-patch=diff' to see the failed patch > hint: When you have resolved this problem, run "git am --continue". > hint: If you prefer to skip this patch, run "git am --skip" instead. > hint: To restore the original branch and stop patching, run "git am > --abort". > hint: Disable this message with "git config set advice.mergeConflict false" Very sorry for the error. Can you try with this next-20250814 tag ? But yes, forgive me for the minor manual edit I did https://lore.kernel.org/lkml/20250820111448.tjaz2wld2nxg52aq@xxxxxxxxxxxxxxxxxxxxxxxxx/ > > --- > bod -- -Mukesh Ojha