[PW_SID:1120561] tee: add MbedTEE driver#2205
Conversation
Register the "mbedtee" vendor prefix for the MbedTEE Trusted Execution Environment project (https://github.com/mbedtee). Signed-off-by: Xing Loong <xing.xl.loong@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
MbedTEE is a Trusted Execution Environment for embedded systems (https://github.com/mbedtee). It communicates with the REE via shared-memory ring buffers using a fixed RPC protocol. Two platform configurations are supported: - ARM/AArch64 (TrustZone, SMC): two reserved-memory regions (t2r-ring and t2r-shm) plus a GIC SPI edge interrupt for TEE-to-REE notifications. - RISC-V (IMSIC): three reserved-memory regions, adding r2t-ring for REE-to-TEE command submissions; no interrupts property (T2R notifications use IMSIC MSI allocated at runtime). Signed-off-by: Xing Loong <xing.xl.loong@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
This patch adds a Linux TEE driver that communicates with MbedTEE OS, a Trusted Execution Environment for embedded systems (https://github.com/mbedtee) via a fixed shared-memory RPC protocol over architecture-specific transports: - ARM/ARM64: SMCCC fast/yield calls for REE-to-TEE requests; TEE-to-REE notifications via a GIC SPI edge interrupt. - RISC-V: REE submits commands by writing to a shared-memory r2t-ring that the TEE polls; the TEE notifies the REE by writing to t2r-ring and raising a platform IMSIC MSI. No REE-to-TEE interrupt is used. The driver implements the TEE subsystem interface (tee_driver_ops) and provides GlobalPlatform TEE Client API support, dynamic shared memory registration, and tee-supplicant support. Signed-off-by: Xing Loong <xing.xl.loong@gmail.com> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 1: "[v2,1/3] dt-bindings: vendor-prefixes: add mbedtee" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 2: "[v2,2/3] dt-bindings: firmware: add mbedtee,tee binding" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
|
Patch 3: "[v2,3/3] tee: add MbedTEE driver" |
a50938c to
40ba5ca
Compare
PR for series 1120561 applied to workflow__riscv__fixes
Name: tee: add MbedTEE driver
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=1120561
Version: 2