Not to clear all the bits of mip
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | firmware: Not to clear all the MIPfirmware/ | +8 | 1 reply | |
| 2/2 | lib: sbi_hsm: Use csr_set to restore the MIPlib/ | +1 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Anup Patel |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/2] Not to clear all the bits of mip
In generic behavior of QEMU, if we clear the mip.SEIP and the pendings of PLIC still exist, the QEMU may not set the mip.SEIP back immediately. So interrupts won't be handled anymore until the next new device interrupt arrived. We should only clear the SSIP and STIP which set by SW. The rest of the bits should be decided by HW.
Nick Hu (2):
firmware: Not to clear all the MIP
lib: sbi_hsm: Use csr_set to restore the MIP
firmware/fw_base.S | 10 ++++++++-- lib/sbi/sbi_hsm.c | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-)
Signature · 1 line
2.34.1