commit | eef258be693535bdc2decc2a1bb75cc7b2bf1f09 | [log] [tgz] |
---|---|---|
author | Baruch Siach <baruch@tkos.co.il> | Thu Nov 24 10:34:06 2022 +0200 |
committer | Julius Werner <jwerner@chromium.org> | Tue Nov 29 03:35:23 2022 +0100 |
tree | 435341f28f02a84fa17f3bf4469c1f8f7b1e2fd4 | |
parent | 48b21065b1916722c4dcdb4ed223a20a96db14a6 [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>