commit | cede543e29d7110adfd99427f35858e6a81cb596 | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Thu Nov 24 10:34:06 2022 +0200 |
committer | Varun Wadekar <vwadekar@nvidia.com> | Fri Feb 03 17:21:32 2023 +0000 |
tree | 9a7fc7f4965ef6df4b9e00586358a09492d973d0 | |
parent | 9e01aedd4359311169f4e472240314db8494d251 [diff] |
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> (cherry picked from commit 5fb6946ad70f5c6e82502a704633bba1dd82e507)