Re: [Linux-ia64] Replacements for local_irq_xxx()

David Mosberger
2001-05-10T14:26:38Z

>>>>> On Thu, 10 May 2001 18:55:13 +1000, Keith Owens <kaos@ocs.com.au> said:

Keith> Existing local_irq_xxx() routines clear psr.i which masks all
Keith> interrupts, including NMI. Then the only way to get the
Keith> attention of a cpu in a disabled spin loop is via INIT which
Keith> is too drastic. How about these alternatives which set
Keith> cr.tpr.mmi instead, masking all external interrupts except
Keith> NMI?

I'd rather not do that. Accessing tpr is slow and requires explicit
serialization.

--david