Hi,
For completenes:
What is a "monitor”?
Secure monitor
SMCs aren't different on ARMv8 compared to ARMv7, at least from a normal world point of view. Once example where SMCs already are used on ARMv8 is the usage of PSCI.
As Valentin mentioned, we need a standardized way for the specific driver to identify itself (type and version) and probably the same for the Trusted OS too. This can be part of the interface provided by the "common" driver if we require the "specific" driver to supply this information when registering.
I guess Javier was talking about the infamous scm_call() that QC uses http://lxr.free-electrons.com/source/arch/arm/mach-qcom/scm.c#L224 to enter the QSEE. They don't follow ARM calling convention but they invented their own. This was for v7 though, I have no idea about v8.
Precisely. QCOM, TI, Brcm and newer 64 bit chips do not follow SMC calling convention. If we want to support them we need to abstract the specific driver from the SMC call in it self. This can be future work, but it is worth considering.
As Valentin mentioned, we need a standardized way for the specific driver to identify itself (type and version) and probably the same for the Trusted OS too. This can be part of the interface provided by the "common" driver if we require the "specific" driver to supply this information when registering.
Agreed.
Best, Javier
On 5 Mar 2015, at 23:47, Valentin Manea valentin.manea@huawei.com wrote:
Hi Jens,
On 06.03.2015 09:43, Jens Wiklander wrote:
What is a "monitor"?
SMCs aren't different on ARMv8 compared to ARMv7, at least from a normal world point of view. Once example where SMCs already are used on ARMv8 is the usage of PSCI.
As Valentin mentioned, we need a standardized way for the specific driver to identify itself (type and version) and probably the same for the Trusted OS too. This can be part of the interface provided by the "common" driver if we require the "specific" driver to supply this information when registering.
I guess Javier was talking about the infamous scm_call() that QC uses http://lxr.free-electrons.com/source/arch/arm/mach-qcom/scm.c#L224 to enter the QSEE. They don't follow ARM calling convention but they invented their own. This was for v7 though, I have no idea about v8.
Valentin
Tee-dev mailing list Tee-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/tee-dev