Home
last modified time | relevance | path

Searched hist:f1cbbd6332bb85672dc72cbcc4ac7023323c6936 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/bl1/aarch32/
H A Dbl1_exceptions.Sf1cbbd6332bb85672dc72cbcc4ac7023323c6936 Wed May 11 10:05:02 UTC 2022 Harrison Mutai <harrison.mutai@arm.com> fix(bl1): invalidate SP in data cache during secure SMC

Invalidate the SP holding `smc_ctx_t` prior to enabling the data cache
when handling SMCs from the secure world. Enabling the data cache
without doing so results in dirty data either being evicted into main
memory, or being used directly from bl1. This corrupted data causes
system failure as the SMC handler attempts to use it.

Change-Id: I5b7225a6fdd1fcfe34ee054ca46dffea06b84b7d
Signed-off-by: Harrison Mutai <harrison.mutai@arm.com>