commit | 36ceead86b06a776fb13ca1f0f4d26979f658662 | [log] [tgz] |
---|---|---|
author | Linus Nielsen <linus@haxx.se> | Fri May 23 10:39:26 2025 +0200 |
committer | Linus Nielsen <linus@haxx.se> | Wed Jun 04 13:41:29 2025 +0000 |
tree | 2472166780c155f7fc1f62b396db9adf33d8eb13 | |
parent | 9526ad6058720fa6ad0369839c1aa72e60f5ce82 [diff] |
fix(fvp): avoid stack usage in check_cpupwrctrl_el1_is_available() The function is called from assembly language before the stack is set up. This fix prevents accessing unmapped memory at 0xffffffff_ffffffxx by not storing the midr_no_cpupwrctl array on the stack. Change-Id: I920e32c34bddf86a1dbf05b7115026413483b3c1 Signed-off-by: Linus Nielsen <linus@haxx.se>