mbox series

[0/5] Add secure domains support

Message ID 1637849744-24844-1-git-send-email-jeyr@codeaurora.org (mailing list archive)
Headers show
Series Add secure domains support | expand

Message

Jeya R Nov. 25, 2021, 2:15 p.m. UTC
This patch series adds secure domains support. If the non-secure DT property
is not added to the domain fastrpc DT node, the domain is set as secure. If
any process is getting initialized using non-secure device and the dsp channel
is secure, then the session gets rejected.

Jeya R (5):
  dt-bindings: misc: convert fastrpc bindings to yaml and add property
  misc: fastrpc: Add secure device node support
  misc: fastrpc: Set channel as secure
  misc: fastrpc: reject non-secure node for secure domain
  arm64: dts: qcom: add non-secure domain property to fastrpc nodes

 .../devicetree/bindings/misc/qcom,fastrpc.txt      | 78 -----------------
 .../devicetree/bindings/misc/qcom,fastrpc.yaml     | 97 ++++++++++++++++++++++
 arch/arm64/boot/dts/qcom/msm8916.dtsi              |  1 +
 arch/arm64/boot/dts/qcom/sdm845.dtsi               |  2 +
 arch/arm64/boot/dts/qcom/sm8150.dtsi               |  3 +
 arch/arm64/boot/dts/qcom/sm8250.dtsi               |  3 +
 arch/arm64/boot/dts/qcom/sm8350.dtsi               |  3 +
 drivers/misc/fastrpc.c                             | 51 +++++++++++-
 8 files changed, 158 insertions(+), 80 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.txt
 create mode 100644 Documentation/devicetree/bindings/misc/qcom,fastrpc.yaml