Lines Matching refs:irq_happened
74 WARN_ON(!(local_paca->irq_happened & PACA_IRQ_HARD_DIS)); in next_interrupt()
90 if (local_paca->irq_happened & irq) { in irq_happened_test_and_clear()
91 local_paca->irq_happened &= ~irq; in irq_happened_test_and_clear()
108 WARN_ON(!(local_paca->irq_happened & PACA_IRQ_HARD_DIS)); in __replay_soft_interrupts()
109 WARN_ON(local_paca->irq_happened & PACA_IRQ_REPLAYING); in __replay_soft_interrupts()
117 local_paca->irq_happened |= PACA_IRQ_REPLAYING; in __replay_soft_interrupts()
171 local_paca->irq_happened &= ~PACA_IRQ_REPLAYING; in __replay_soft_interrupts()
208 unsigned char irq_happened; in arch_local_irq_restore() local
219 WARN_ON_ONCE(local_paca->irq_happened & PACA_IRQ_REPLAYING); in arch_local_irq_restore()
241 : : "i" (offsetof(struct paca_struct, irq_happened)), in arch_local_irq_restore()
258 irq_happened = READ_ONCE(local_paca->irq_happened); in arch_local_irq_restore()
260 WARN_ON_ONCE(!irq_happened); in arch_local_irq_restore()
262 if (irq_happened == PACA_IRQ_HARD_DIS) { in arch_local_irq_restore()
266 local_paca->irq_happened = 0; in arch_local_irq_restore()
273 if (!(irq_happened & PACA_IRQ_HARD_DIS)) { in arch_local_irq_restore()
282 irq_happened = READ_ONCE(local_paca->irq_happened); in arch_local_irq_restore()
283 WARN_ON_ONCE(!(irq_happened & PACA_IRQ_HARD_DIS)); in arch_local_irq_restore()
287 local_paca->irq_happened |= PACA_IRQ_HARD_DIS; in arch_local_irq_restore()
323 if (unlikely(local_paca->irq_happened != PACA_IRQ_HARD_DIS)) { in arch_local_irq_restore()
336 local_paca->irq_happened = 0; in arch_local_irq_restore()
363 local_paca->irq_happened |= PACA_IRQ_HARD_DIS; in prep_irq_for_idle()
378 local_paca->irq_happened &= ~PACA_IRQ_HARD_DIS; in prep_irq_for_idle()
401 local_paca->irq_happened |= PACA_IRQ_HARD_DIS; in prep_irq_for_idle_irqsoff()
489 local_paca->irq_happened |= reason; in irq_set_pending_from_srr1()
510 local_paca->irq_happened |= PACA_IRQ_HARD_DIS; in force_external_irq_replay()
513 local_paca->irq_happened |= PACA_IRQ_EE; in force_external_irq_replay()