Hi Amit,

The pdf you referred to is from one of the tech forums when we were discussing about our implementation approach.
I would recommend you to refer https://trustedfirmware-a.readthedocs.io/en/latest/components/ras.html and to understand the build options refer to section 4.11.4 in above page.

thanks
Manish Pandey


From: Nagal, Amit via TF-A <tf-a@lists.trustedfirmware.org>
Sent: 27 March 2024 14:51
To: tf-a@lists.trustedfirmware.org <tf-a@lists.trustedfirmware.org>
Subject: [TF-A] RAS exceptions TRAP at EL3
 
Hi ,

I am using TF-A tests tests-single-fault.mk to inject RAS errors on AMD Xilinx platform which is cortex a-78 armv8.2 based.

With this test , I can see RAS exceptions are getting triggered at EL2 .

I want to trap this exception at EL3 and handle RAS errors further using FFH approach.

From code , I could see fvp platform using FAULT_INJECTION_SUPPORT=1 , but from documentation it is meant from ARMv8.4 .

I am following https://www.trustedfirmware.org/docs/RAS_Tech_Forum.pdf .
Another option is RAS_ALLOW_ERR_REC_ACCESS_NS , but in the pdf , for FFH it is mentioned RAS_ALLOW_ERR_REC_ACCESS_NS should be 0.

Can I be advised what should be done to trap the RAS exception at EL3 on armv8.2 cortex a78 platform ?

Regards
Amit



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