Commit 8050081f authored by Nick Hu's avatar Nick Hu Committed by Anup Patel
Browse files

firmware: Not to clear all the MIP



In generic behavior of QEMU, if the pending bits of PLIC are still set and
we clear the SEIP, the QEMU may not set the SEIP back immediately and the
interrupt may not be handled anymore until the new interrupts arrived and
QEMU set the SEIP back which is a generic behavior in QEMU.

Signed-off-by: default avatarNick Hu <nick.hu@sifive.com>
Signed-off-by: default avatarJim Shu <jim.shu@sifive.com>
Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
parent c8ea836e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment