Home
last modified time | relevance | path

Searched hist:"15 dd6f19da8ee4b20ba525e0a742d0df9e46e071" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/services/std_svc/spm/spm_mm/
H A Dspm_mm_main.c15dd6f19da8ee4b20ba525e0a742d0df9e46e071 Tue Apr 19 09:16:48 UTC 2022 Nishant Sharma <nishant.sharma@arm.com> feat(spm_mm): add support to save and restore fp regs

Add the support to save Nwd's floating point registers before switching
to SEL0 and then restore it after coming out of it. Emit a warning
message if SPM_MM is built with CTX_INCLUDE_FPREGS == 0

There is no need to save FP registers of SEL0 because secure partitions
run to completion.

This change is used to prevent context corruption if secure partition
enabled and Nwd decide to use floating point registers.

Signed-off-by: Nishant Sharma <nishant.sharma@arm.com>
Change-Id: I1eea16ea2311a4f00a806ea72c118752821b9abb
H A Dspm_mm.mk15dd6f19da8ee4b20ba525e0a742d0df9e46e071 Tue Apr 19 09:16:48 UTC 2022 Nishant Sharma <nishant.sharma@arm.com> feat(spm_mm): add support to save and restore fp regs

Add the support to save Nwd's floating point registers before switching
to SEL0 and then restore it after coming out of it. Emit a warning
message if SPM_MM is built with CTX_INCLUDE_FPREGS == 0

There is no need to save FP registers of SEL0 because secure partitions
run to completion.

This change is used to prevent context corruption if secure partition
enabled and Nwd decide to use floating point registers.

Signed-off-by: Nishant Sharma <nishant.sharma@arm.com>
Change-Id: I1eea16ea2311a4f00a806ea72c118752821b9abb