HomeFreeBSD

plic, aplic: handle all pending interrupts for hart

Description

plic, aplic: handle all pending interrupts for hart

Otherwise, we are going to take another interrupt-induced exception
immediately upon execution of the sret instruction -- overall wasting
cycles.

Reviewed by: br
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D47134

Details

Provenance
mhorneAuthored on Oct 30 2024, 6:16 PM
Reviewer
br
Differential Revision
D47134: plic, aplic: handle all pending interrupts for hart
Parents
rG5050fdb6b60e: plic: tweak macro argument names
Branches
Unknown
Tags
Unknown