Home
last modified time | relevance | path

Searched hist:"5 fb6946ad70f5c6e82502a704633bba1dd82e507" (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/common/aarch64/
H A Dcrash_console_helpers.S5fb6946ad70f5c6e82502a704633bba1dd82e507 Thu Nov 24 08:34:06 UTC 2022 Baruch Siach <baruch@tkos.co.il> fix(console): fix crash on spin_unlock with cache disabled

Current code skips load of spinlock address when cache is disabled. The
following call to spin_unlock stores into the random location that x0
points to.

Move spinlock address load earlier so that x0 is always valid on
spin_unlock call.

Change-Id: Iac640289725dce2518f2fed483d7d36ca748ffe8
Signed-off-by: Baruch Siach <baruch@tkos.co.il>