Mask off IPL flags before storing the IPL for an interrupt.
authorjmatthew <jmatthew@openbsd.org>
Sun, 5 Mar 2023 04:30:08 +0000 (04:30 +0000)
committerjmatthew <jmatthew@openbsd.org>
Sun, 5 Mar 2023 04:30:08 +0000 (04:30 +0000)
commitdb0c9634e1642283fb7196739d306b6a76623a54
tree1058eacab97ec18560a5f23417e0aca066c20e76
parent19cc81585e6596e74df190ff9c261af40e2140a4
Mask off IPL flags before storing the IPL for an interrupt.
This fixes the IPL calculations in mpic_calc_mask() in the presence
of IPL_MPSAFE interrupts such as mvneta(4).

ok patrick@ kettenis@ dlg@
sys/arch/armv7/marvell/mvmpic.c