Hi,
AFAIK this isn't supported. @Jens Wiklander please correct if this evolved.
You'd need to implement some special logic in the optee SPD to handle the case of Group1NS interrupts (perform a synchronous entry back into OP-TEE for it to perform its housekeeping before returning to the normal world).
By secure interrupt, do you mean Group0 interrupt?

See an earlier thread on this topic:

https://lists.trustedfirmware.org/archives/list/op-tee@lists.trustedfirmware.org/message/G3MR5J7NVFPTPSIEPEEG2P6KBAX7UZUL/
As I understand it this was somewhat investigated and then abandoned.

Regards,
Olivier.


From: Brian Neely via TF-A <tf-a@lists.trustedfirmware.org>
Sent: 22 September 2023 22:43
To: tf-a@lists.trustedfirmware.org <tf-a@lists.trustedfirmware.org>
Subject: [TF-A] EHF + OP-TEE
 
Hello,

Are EHF and OP-TEE (opteed) designed to work together? I'm seeing some strange behavior when NS interrupts are routed to EL3 as FIQs (due to EHF), but before I dig into it further I wanted to confirm if EHF + OP-TEE is a valid combination.

Some background: Our system, which uses OP-TEE, has some "aggregated interrupts" that contain both secure and non-secure sources, for which we wanted to use SDEI to filter and dispatch to Linux (and SDEI requires EHF).

Thanks!

-Brian
--
TF-A mailing list -- tf-a@lists.trustedfirmware.org
To unsubscribe send an email to tf-a-leave@lists.trustedfirmware.org