I also observed psa_connect() call time is now ~6000 cycles (previously ~3400 cycles in TF-M v1.1).

 

Regards,
Brian

 

From: Quach, Brian via TF-M <tf-m@lists.trustedfirmware.org>
Sent: Wednesday, April 26, 2023 12:56 PM
To: tf-m@lists.trustedfirmware.org
Subject: [EXTERNAL] [TF-M] psa_call performance

 

Hi,

 

Using isolation level 1 and IPC secure partition, I noticed psa_call() overhead for TFM v1.7 is significantly worse for than v1.1.   Is this expected?

 

Assuming 1 invec and 0 outvec for the PSA call….

 

TF-M version

Psa_call() round trip cycles

v1.1

4038

v1.7

6051

 

 

Regards,

 

Brian Quach

SimpleLink MCU

Texas Instruments Inc.