public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jeya R <jeyr@codeaurora.org>
To: linux-arm-msm@vger.kernel.org, srinivas.kandagatla@linaro.org
Cc: Jeya R <jeyr@codeaurora.org>,
	gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org,
	fastrpc.upstream@qti.qualcomm.com
Subject: [PATCH 0/5] Add secure domains support
Date: Thu, 25 Nov 2021 19:45:39 +0530	[thread overview]
Message-ID: <1637849744-24844-1-git-send-email-jeyr@codeaurora.org> (raw)

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

-- 
2.7.4


             reply	other threads:[~2021-11-25 14:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-25 14:15 Jeya R [this message]
2021-11-25 14:15 ` [PATCH 1/5] dt-bindings: misc: convert fastrpc bindings to yaml and add property Jeya R
2021-11-25 14:41   ` Srinivas Kandagatla
2021-11-26  4:54     ` jeyr
2021-11-25 14:15 ` [PATCH 2/5] misc: fastrpc: Add secure device node support Jeya R
2021-11-25 14:55   ` Srinivas Kandagatla
2021-11-25 15:45   ` Greg KH
2021-11-25 14:15 ` [PATCH 3/5] misc: fastrpc: Set channel as secure Jeya R
2021-11-25 14:15 ` [PATCH 4/5] misc: fastrpc: reject non-secure node for secure domain Jeya R
2021-11-25 14:15 ` [PATCH 5/5] arm64: dts: qcom: add non-secure domain property to fastrpc nodes Jeya R

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1637849744-24844-1-git-send-email-jeyr@codeaurora.org \
    --to=jeyr@codeaurora.org \
    --cc=fastrpc.upstream@qti.qualcomm.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=srinivas.kandagatla@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox