riscv-non-isa / riscv-ap-tee

This repo holds the work area and revisions of the non-ISA specification created by the RISC-V AP-TEE TG. This specification defines the programming interfaces (ABI) to support the Confidential VM Extension (CoVE) confidential computing architecture for RISC-V application-processor platforms.
https://jira.riscv.org/browse/RVG-76
Creative Commons Attribution 4.0 International
49 stars 19 forks source link

[Qualcomm feedback] Chapter 5.3 Clarify recommendations for re-entrant TSM #58

Closed rsahita closed 6 months ago

rsahita commented 7 months ago

Reference: link

The TSM is stateless across TEECALL invocations, however a security routine invoked in the TSM via a TEECALL may be interrupted and must be resumed via a TEERESUME i.e. the TSM is preemptable but non-reentrant.

How can it be stateless if it's holding TVM memory mapping information?

this is not really an explanation for the previous sentence. An interrupted TEECALL needs to be resumed by a TEERESUME even when the TSM is reentrant. Overall this explanation is just confusing.

rsahita commented 6 months ago

this should say The TSM-driver is stateless...

rsahita commented 6 months ago

Closing as addressed in PR #70 cc @ozkoyuncu