devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V3 0/8] Add new driver for WCSS secure PIL loading
@ 2025-01-07 10:16 Gokul Sriram Palanisamy
  2025-01-07 10:16 ` [PATCH V3 1/8] firmware: qcom_scm: ipq5332: add support to pass metadata size Gokul Sriram Palanisamy
                   ` (8 more replies)
  0 siblings, 9 replies; 28+ messages in thread
From: Gokul Sriram Palanisamy @ 2025-01-07 10:16 UTC (permalink / raw)
  To: jassisinghbrar, robh, krzk+dt, conor+dt, andersson,
	mathieu.poirier, konradybcio, quic_mmanikan, linux-arm-msm,
	linux-kernel, devicetree, linux-remoteproc, dmitry.baryshkov
  Cc: quic_gokulsri, quic_viswanat, quic_srichara

This series depends on Sricharan's tmel-qmp mailbox driver series v2 [1].

- Secure PIL is signed, split firmware images which only TrustZone (TZ)
  can authenticate and load. Linux kernel will send a request to TZ to
  authenticate and load the PIL images.

- When secure PIL support was added to the existing wcss PIL driver
  earlier in [2], Bjorn suggested not to overload the existing WCSS
  rproc driver, instead post a new driver for PAS based IPQ WCSS driver.
  This series adds a new secure PIL driver for the same.

- Also adds changes to scm to pass metadata size as required for IPQ5332,
  reposted from [3].

[1]
https://patchwork.kernel.org/project/linux-arm-msm/cover/20241231054900.2144961-1-quic_srichara@quicinc.com/

[2]
https://patchwork.kernel.org/project/linux-arm-msm/patch/1611984013-10201-3-git-send-email-gokulsri@codeaurora.org/

[3]
https://patchwork.kernel.org/project/linux-arm-msm/patch/20240820055618.267554-6-quic_gokulsri@quicinc.com/

changes in v3:
	- fixed copyright years and markings based on Jeff's comments.
	- replaced devm_ioremap_wc() with ioremap_wc() in
	  wcss_sec_copy_segment().
	- replaced rproc_alloc() and rproc_add() with their devres
	  counterparts.
	- added mailbox call to tmelcom for secure image authentication
	  as required for IPQ5424. Added ipq5424 APCS comatible required. 
	- added changes to scm call to pass metadata size as equired for
	  IPQ5332.

changes in v2:
	- Removed dependency of this series to q6 clock removal series
	  as recommended by Krzysztof

Gokul Sriram Palanisamy (3):
  dt-bindings: mailbox: qcom: Add IPQ5424 APCS compatible
  mailbox: qcom: Add support for IPQ5424 APCS IPC
  arm64: dts: qcom: ipq5424: add nodes to bring up q6

Manikanta Mylavarapu (4):
  firmware: qcom_scm: ipq5332: add support to pass metadata size
  dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL
  arm64: dts: qcom: ipq5332: add nodes to bringup q6
  arm64: dts: qcom: ipq9574: add nodes to bring up q6

Vignesh Viswanathan (1):
  remoteproc: qcom: add hexagon based WCSS secure PIL driver

 .../mailbox/qcom,apcs-kpss-global.yaml        |   1 +
 .../remoteproc/qcom,wcss-sec-pil.yaml         | 131 ++++++
 arch/arm64/boot/dts/qcom/ipq5332.dtsi         |  64 ++-
 arch/arm64/boot/dts/qcom/ipq5424.dtsi         |  80 +++-
 arch/arm64/boot/dts/qcom/ipq9574.dtsi         |  60 ++-
 drivers/firmware/qcom/qcom_scm.c              |  13 +-
 drivers/firmware/qcom/qcom_scm.h              |   1 +
 drivers/mailbox/qcom-apcs-ipc-mailbox.c       |   1 +
 drivers/remoteproc/Kconfig                    |  22 +
 drivers/remoteproc/Makefile                   |   1 +
 drivers/remoteproc/qcom_q6v5_wcss_sec.c       | 406 ++++++++++++++++++
 11 files changed, 775 insertions(+), 5 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/remoteproc/qcom,wcss-sec-pil.yaml
 create mode 100644 drivers/remoteproc/qcom_q6v5_wcss_sec.c

-- 
2.34.1


^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2025-03-28  5:17 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-07 10:16 [PATCH V3 0/8] Add new driver for WCSS secure PIL loading Gokul Sriram Palanisamy
2025-01-07 10:16 ` [PATCH V3 1/8] firmware: qcom_scm: ipq5332: add support to pass metadata size Gokul Sriram Palanisamy
2025-01-08  4:15   ` Bjorn Andersson
2025-01-07 10:16 ` [PATCH V3 2/8] dt-bindings: remoteproc: qcom: document hexagon based WCSS secure PIL Gokul Sriram Palanisamy
2025-01-07 12:21   ` Dmitry Baryshkov
     [not found]     ` <f0eef19b-8497-4e7d-bed1-882cdb8c1ab1@quicinc.com>
2025-01-08  7:34       ` Krzysztof Kozlowski
2025-01-08 11:19         ` Gokul Sriram P (QUIC)
2025-01-08 11:51           ` Krzysztof Kozlowski
     [not found]     ` <3e64b792-bfca-4b07-a13e-6deb966f3d4f@quicinc.com>
2025-01-08 10:54       ` Dmitry Baryshkov
2025-01-08 12:44         ` Gokul Sriram P (QUIC)
2025-01-07 10:16 ` [PATCH V3 3/8] dt-bindings: mailbox: qcom: Add IPQ5424 APCS compatible Gokul Sriram Palanisamy
2025-01-08  8:32   ` Krzysztof Kozlowski
2025-01-07 10:16 ` [PATCH V3 4/8] remoteproc: qcom: add hexagon based WCSS secure PIL driver Gokul Sriram Palanisamy
2025-01-08  4:09   ` Bjorn Andersson
2025-01-08  6:29     ` Sricharan Ramabadhran
2025-01-08  6:42       ` Sricharan Ramabadhran
2025-01-09 12:18     ` Gokul Sriram Palanisamy
2025-01-11 13:46       ` Kathiravan Thirumoorthy
2025-01-07 10:16 ` [PATCH V3 5/8] mailbox: qcom: Add support for IPQ5424 APCS IPC Gokul Sriram Palanisamy
2025-01-07 10:16 ` [PATCH V3 6/8] arm64: dts: qcom: ipq5332: add nodes to bringup q6 Gokul Sriram Palanisamy
2025-01-07 12:24   ` Dmitry Baryshkov
2025-01-09 13:11   ` Konrad Dybcio
2025-01-07 10:16 ` [PATCH V3 7/8] arm64: dts: qcom: ipq9574: add nodes to bring up q6 Gokul Sriram Palanisamy
2025-01-09 13:12   ` Konrad Dybcio
2025-01-15 10:05     ` Gokul Sriram P
2025-01-07 10:16 ` [PATCH V3 8/8] arm64: dts: qcom: ipq5424: " Gokul Sriram Palanisamy
2025-01-24 18:00 ` [PATCH V3 0/8] Add new driver for WCSS secure PIL loading Jeff Johnson
2025-03-28  5:17   ` Vignesh Viswanathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).