Skip to content

Not to clear all the bits of mip

Nick Hu opensbi 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2firmware: Not to clear all the MIPfirmware/fw_base.S+8 -21 reply
2/2lib: sbi_hsm: Use csr_set to restore the MIPlib/sbi/sbi_hsm.c+1 -11 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAnup Patel
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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