Shengyu Qu
6419f8e9fd
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 <ganboing@gmail.com>
Signed-off-by: Shengyu Qu <wiagn233@outlook.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
2023-08-10 10:58:12 +08:00
..
2018-05-07 09:34:12 -04:00
2023-08-10 10:58:12 +08:00
2023-08-07 13:41:44 -04:00
2023-01-20 12:27:06 -05:00
2023-02-17 10:51:28 -05:00
2023-07-17 17:12:26 +08:00
2023-04-24 21:37:45 +02:00
2023-08-09 23:31:11 +08:00
2021-07-14 16:48:00 -04:00
2023-07-17 17:12:21 +08:00
2022-08-20 18:07:32 -06:00
2023-01-27 12:51:27 -05:00
2023-03-28 09:25:51 -04:00
2023-05-31 17:23:01 -04:00
2023-03-28 09:25:51 -04:00
2020-12-04 16:10:01 -05:00
2023-03-30 15:09:59 -04:00
2023-01-20 12:27:24 -05:00
2023-08-02 16:32:31 +08:00
2020-05-18 21:19:18 -04:00
2022-11-02 08:42:03 +01:00
2018-05-07 09:34:12 -04:00
2022-09-18 10:26:33 +02:00
2023-03-22 15:22:48 -04:00
2022-01-19 18:11:34 +01:00
2023-08-05 11:39:23 -06:00
2021-02-02 15:33:42 -05:00
2023-04-28 11:30:17 -06:00
2023-06-16 11:01:15 +02:00
2022-08-04 16:18:47 -04:00
2023-07-14 15:21:07 -04:00
2022-08-20 18:12:51 -04:00
2021-04-27 08:05:30 -04:00
2021-02-02 15:33:42 -05:00
2021-08-02 13:32:14 -04:00
2023-08-07 13:41:44 -04:00
2020-05-18 21:19:23 -04:00
2022-01-18 08:31:02 -05:00
2023-07-17 17:23:15 +08:00
2021-02-02 15:33:42 -05:00
2023-07-17 17:12:07 +08:00
2023-03-14 16:08:51 -06:00
2023-08-07 13:41:44 -04:00
2022-04-11 10:00:30 -04:00
2023-06-21 16:54:25 -04:00
2023-06-23 14:38:16 -04:00
2022-03-25 12:01:15 +00:00
2023-02-06 13:04:53 -05:00
2018-05-07 09:34:12 -04:00
2021-03-13 13:14:52 -05:00
2023-07-21 13:13:43 -04:00
2023-04-24 21:37:45 +02:00
2021-04-20 07:31:12 -04:00
2023-06-20 20:56:27 -04:00
2023-01-20 12:27:06 -05:00
2023-02-07 14:33:50 -05:00
2022-09-18 10:26:33 +02:00
2023-01-12 16:19:53 +01:00
2023-08-09 23:31:11 +08:00
2023-05-13 09:52:32 -04:00
2022-09-18 10:26:33 +02:00