From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4D752659.3070701@domain.hid> Date: Mon, 07 Mar 2011 19:39:21 +0100 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <20110302151603.GA14557@domain.hid> <4D6E61B6.906@domain.hid> <4D6E8A06.9060508@domain.hid> <20110303072147.GA4353@domain.hid> <1299137548.2072.3.camel@domain.hid> <4D6F88D6.4010105@domain.hid> <4D6F89C8.9060005@domain.hid> <1299156880.2072.6.camel@domain.hid> <4D702802.5080001@domain.hid> <1299225060.2107.20.camel@domain.hid> <20110307092604.GA21619@domain.hid> <1299515837.2088.47.camel@domain.hid> In-Reply-To: <1299515837.2088.47.camel@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Stuck MSI in normal Linux driver List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe Gerum Cc: "xenomai@xenomai.org" , Jan Kiszka 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? -- Gilles.