summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorShengyu Qu <[email protected]>2023-08-09 21:11:32 +0800
committerLeo Yu-Chi Liang <[email protected]>2023-08-10 10:58:12 +0800
commit6419f8e9fdc63ee411e1f012d412f8ae17283432 (patch)
tree5738ae924d5181bb1865c9ad13501138fe8f7316 /include/linux
parentd365f6646aa4ecaabc58c07ecc432a3177f13138 (diff)
riscv: Add SPL_ZERO_MEM_BEFORE_USE implementation
Add the actual support code for SPL_ZERO_MEM_BEFORE_USE and remove existing Starfive JH7110's L2 LIM clean code, since existing code has following issues: 1. Each hart (in the middle of a function call) overwriting its own stack and other harts' stacks. (data-race and data-corruption) 2. Lottery winner hart can be doing "board_init_f_init_reserve", while other harts are in the middle of zeroing L2 LIM. (data-race) Signed-off-by: Bo Gan <[email protected]> Signed-off-by: Shengyu Qu <[email protected]> Reviewed-by: Leo Yu-Chi Liang <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions