[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220214161002.6831-1-srinivas.kandagatla@linaro.org>
Date: Mon, 14 Feb 2022 16:09:50 +0000
From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
To: robh+dt@...nel.org, gregkh@...uxfoundation.org
Cc: devicetree@...r.kernel.org, ekangupt@....qualcomm.com,
bkumar@....qualcomm.com, linux-kernel@...r.kernel.org,
srini@...nel.org, bjorn.andersson@...aro.org,
linux-arm-msm@...r.kernel.org,
Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
Subject: [PATCH v4 00/12] misc: fastrpc: Add more DSP FastRPC features
This patchset adds below DSP FastRPC features that have been missing in
upstream fastrpc driver and also cleans up channel context structure with kref.
- Add ablity to reflect if the DSP domain is secure/unsecure by creating
seperate device nodes for secured domain, this would used by SE policy
to restrict applications loading process on the DSP.
- Add new IOCTL to get DSP capabilites
- Add IOCTL to support mapping memory on the DSP.
- Add support for allocating secure memory for DSP
- Handle fdlist in put args
- Handle dma fds in invoke request.
Tested this series on DragonBoard 845c with TensoFlowLite.
Changes since v3:
- remove redundant free in error path of fastrpc_device_register()
- fixed various type cast warnings reported by kernel test robot
- added QCOM_SCM select in Kconfig for secure memory allocations.
- dynamically allocate temp attribute buffer, rather than using it from stack
- added ack for dt-bindings
- removed redundant checks in fastrpc_req_mem_map()
Jeya R (5):
misc: fastrpc: add support for FASTRPC_IOCTL_MEM_MAP/UNMAP
misc: fastrpc: Add support to get DSP capabilities
dt-bindings: misc: add property to support non-secure DSP
misc: fastrpc: check before loading process to the DSP
arm64: dts: qcom: add non-secure domain property to fastrpc nodes
Srinivas Kandagatla (2):
misc: fastrpc: separate fastrpc device from channel context
misc: fastrpc: add secure domain support
Vamsi Krishna Gattupalli (5):
dt-bindings: misc: add fastrpc domain vmid property
misc: fastrpc: Add support to secure memory map
misc: fastrpc: Add helper function to get list and page
misc: fastrpc: Add fdlist implementation
misc: fastrpc: Add dma handle implementation
.../devicetree/bindings/misc/qcom,fastrpc.txt | 10 +
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/Kconfig | 1 +
drivers/misc/fastrpc.c | 556 ++++++++++++++++--
include/uapi/misc/fastrpc.h | 81 ++-
9 files changed, 612 insertions(+), 48 deletions(-)
--
2.21.0
Powered by blists - more mailing lists