On Mon, 2011-03-07 at 19:39 +0100, Gilles Chanteperdrix wrote:
> Philippe Gerum wrote:
> > +static void fsl_msi_cascade(unsigned int irq, struct irq_desc *desc)
> > +{
> > (...)
> > + if ((msi_data->feature & FSL_PIC_IP_MASK) == FSL_PIC_IP_IPIC) {
> > + if (desc->chip->mask_ack)
> > + desc->chip->mask_ack(irq);
> > + else {
> > + desc->chip->mask(irq);
> > + desc->chip->ack(irq);
> > + }
> > + } else
> > + desc->chip->eoi(irq);
> > +
> > (...)
> > +
> > + desc->chip->unmask(irq);
>
> Do we have to unmask here if we just eoi'ed on entry?
>
eoi is actually mask+eoi in the mpic case.
--
Philippe.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help