diff options
| author | Anup Patel <[email protected]> | 2020-01-03 10:20:12 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2020-01-07 12:11:25 +0530 |
| commit | 2aa43a13cdd32f11c2dac30265272c9af8c6e42b (patch) | |
| tree | 921368ae232f75540edfb621afa950effd24fc1a /scripts/create-binary-archive.sh | |
| parent | 1993182f032b71a4d16e39bff12c142dd25dd67e (diff) | |
lib: save/restore MIE CSR in sbi_hart_wait_for_coldboot()
Currently, sbi_hart_wait_for_coldboot() leaves MIE.MSIP bit
set when it returns which is not correct because MIE.MSIP
should be left enabled only by sbi_ipi_init().
This patch does save/restore of MIE CSR to ensure that MIE
CSR is in original state after sbi_hart_wait_for_coldboot()
returns.
Signed-off-by: Anup Patel <[email protected]>
Reviewed-by: Atish Patra <[email protected]>
Diffstat (limited to 'scripts/create-binary-archive.sh')
0 files changed, 0 insertions, 0 deletions
