• Philippe Gerum's avatar
    arm/ipipe: gpc: fix two stage unlocking in mask/unmask · 3630835f
    Philippe Gerum authored
    (raw_)spin_lock_irqsave() on hard I-pipe locks encodes the virtual IRQ
    state in the flags returned, using bit #8 (PSR_A) to reflect the
    current STALL bit state. Therefore such flags may not be passed to the
    hard_local_irq*() interface directly.
    Use the __ipipe_spin_unlock_irqbegin/complete() API for this.
gpc.c 12.4 KB