Skip to content
Commit 951cf8ee authored by Omkar Kulkarni's avatar Omkar Kulkarni
Browse files

Platform/ARM: Add CPU RAS error handling driver



Support added for handling 1-bit CE and DE that occur on CPU's L1 & L2
caches, TLB and MMU. MMI handler is implemented that collects all the
error information and notifies OS.

The driver implements the HEST error source descriptor protocol in order
to publish the GHESv2 type error source descriptor for single-bit DRAM
errors. The GHESv2 error source descriptor that is published is of type
'ARM Processor Error'.

The driver registers a MMI handler for handling 1-bit CE and DE errors. On
error event, the TF-a collates all the error information including the
error record registers, the context registers and invokes the MMI handler.
Depending on the security state of the error, the handler populates ARM
Processor Error Section information structure and returns.

Defines flag EDK2_ENABLE_CPU_MM to selectively enable CPU MM driver.

Signed-off-by: Omkar Kulkarni's avatarOmkar Anand Kulkarni <omkar.kulkarni@arm.com>
Change-Id: I946d13fb8b4972db56260957cb2b2b1d0f702cdb
parent 32c793cc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment