I'm not an expert but optee-os comes with its own secure monitor that handles the SMC calls when compiled for ARMv7, so you don't really need to install anything extra. Both the os and the monitor run in the same privilege level. See optee_os/core/arch/arm/sm/*.

hth

On Thu, Jul 23, 2015 at 1:29 PM, Sharma Bhupesh <bhupesh.sharma@freescale.com> wrote:
Hi TEE Experts,

We are trying to setup the optee-demo on a ARMv7 based Freescale SoC.

During the same, I noticed that the SMC calls from the optee-linux-driver directly land up on the optee-os side.

I was thinking that just like the ARMv8 flow, where the SMC handling should ideally be done by a Arm Trusted Firmware
(or an equivalent secure-run-time firmware) agent running in EL3 privilege level, on ARMv7 too, if we have a resident
ATF (or secure firmware) installed the SMC calls should be handled there.

In the opteep-design documentation can the references to SECURE MONITOR LAYER (see [1]) be assumed to be equivalent to a
ATF like firmware.

Is this understanding correct or am I missing something here?

[1] https://github.com/OP-TEE/optee_os/blob/master/documentation/optee_design.md

Regards,
Bhupesh
_______________________________________________
Tee-dev mailing list
Tee-dev@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/tee-dev