How to mask IRQ

eric.valette at eric.valette at
Wed Jun 1 13:03:17 UTC 2005

Quoting Sergei Organov <osv at>:

> leonp at writes:

> Sorry, but I fail to see how it supposed to work if your IRQ handler is
> invoked when another IRQ handler is running. Your change to the
> ppc_cached_irq_mask on exit from your IRQ handler will be overwritten on
> return from another IRQ handler. Am I missing something?

This is exactly why manipulating masks within one interrupt handler
leads to non working code : what mask do you intend to restore and when?.

-- eric

More information about the users mailing list