Home | History | Annotate | Download | only in cortex

Lines Matching refs:ci_cpl

234 	ci->ci_cpl = ipl;
321 const int old_ipl = ci->ci_cpl;
331 * Raise ci_hwpl (and PMR) to ci_cpl and IAR will tell us if the
369 * GIC has asserted IPL for us so we can just update ci_cpl.
371 * But it's not that simple. We may have already bumped ci_cpl
378 * However, if are just raising ipl, we can just update ci_cpl.
381 /* Surely we can KASSERT(ipl < ci->ci_cpl); */
383 if (__predict_false(ipl < ci->ci_cpl)) {
385 KASSERT(ci->ci_cpl == ipl);
386 } else if (ci->ci_cpl != ipl) {
387 KASSERTMSG(ipl > ci->ci_cpl, "ipl %d cpl %d hw-ipl %#x",
388 ipl, ci->ci_cpl,
391 ci->ci_hwpl = ci->ci_cpl = ipl;
408 KASSERTMSG(ci->ci_cpl == old_ipl, "ci_cpl %d old_ipl %d", ci->ci_cpl, old_ipl);
546 KASSERTMSG(ci->ci_cpl == IPL_HIGH, "ipl %d not IPL_HIGH", ci->ci_cpl);
558 ci->ci_hwpl = ci->ci_cpl;
559 gicc_write(sc, GICC_PMR, armgic_ipl_to_priority(ci->ci_cpl)); // set PMR
684 KASSERTMSG(ci->ci_cpl == IPL_HIGH, "ipl %d not IPL_HIGH", ci->ci_cpl);
685 armgic_set_priority(&sc->sc_pic, ci->ci_cpl); // set PMR