Skip to content
Commit d6062a6d authored by Marc Zyngier's avatar Marc Zyngier
Browse files

irqchip/gic-v3: Reset APgRn registers at boot time



Booting a crash kernel while in an interrupt handler is likely
to leave the Active Priority Registers with some state that
is not relevant to the new kernel, and is likely to lead
to erratic behaviours such as interrupts not firing as their
priority is already active.

As a sanity measure, wipe the APRs clean on startup. We make
sure to wipe both group 0 and 1 registers in order to avoid
any surprise.

Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent c5e1035c
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