Skip to content

Commit 488a98e

Browse files
committed
[ot] hw/opentitan: ot_otp_dj: add missing BH cancellation on reset
Signed-off-by: Emmanuel Blot <eblot@rivosinc.com>
1 parent b5accbb commit 488a98e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hw/opentitan/ot_otp_dj.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3853,6 +3853,11 @@ static void ot_otp_dj_reset_enter(Object *obj, ResetType type)
38533853
c->parent_phases.enter(obj, type);
38543854
}
38553855

3856+
qemu_bh_cancel(s->dai->digest_bh);
3857+
qemu_bh_cancel(s->lci->prog_bh);
3858+
qemu_bh_cancel(s->lc_broadcast.bh);
3859+
qemu_bh_cancel(s->pwr_otp_bh);
3860+
38563861
timer_del(s->dai->delay);
38573862
timer_del(s->lci->prog_delay);
38583863
qemu_bh_cancel(s->keygen->entropy_bh);

0 commit comments

Comments
 (0)