Skip to contentSkip to conversation

Stuck MSI in normal Linux driver

Xenomai Rajeshkumar 2 participants 2 messages Nov 30, 2013 12 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1299137548.2072.3.camel@cobalt

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1299156880.2072.6.camel@cobalt

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1299225060.2107.20.camel@cobalt

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1299515837.2088.47.camel@cobalt

#12 lore raw
Quoted 6 lines · Philippe Gerum <rpm <at> xenomai.org> writes:
Quoted 4 lines · Richard Cochran
Quoted 2 lines · Philippe Gerum

I'm not saying this would be impossible to enable MSIs there, I'm just saying that so far: nobody cared. Terrae incognitae.

.................
.................

Quoted 4 lines
(quoted diff) +3 -0
+#ifdef CONFIG_IPIPE
+
+static void fsl_msi_cascade(unsigned int irq, struct irq_desc *desc)

.................
.................

Quoted 15 lines
(quoted diff) +4 -0
+#else /* !CONFIG_IPIPE */
+
 static void fsl_msi_cascade(unsigned int irq, struct irq_desc *desc)
 {
 	unsigned int cascade_irq;
 <at>  <at>  -250,6 +307,8  <at>  <at>  unlock:
 	raw_spin_unlock(&desc->lock);
 }
 
+#endif /* !CONFIG_IPIPE */
+
 static int fsl_of_msi_remove(struct platform_device *ofdev)
 {
 	struct fsl_msi *msi = ofdev->dev.platform_data;
Quoted 5 lines
Quoted 4 lines

Thanks,

Richard

Hi,

I am using linux 2.6.30 & ipipe patch 2.6-70. I am also facing the same problem. Plain linux msi interrupt is coming. But in Xenomai interrupt is not coming. I checked with '__ipipe_grab_irq' in ipipe.c, the same function is invoked. But in device driver the registered isr isn't invoked.

Can I do the above patch for above mentioned kernel. Will it work?

Thanks & Regards,
Rajeshkumar

#13 lore raw
Quoted 1 line · Rajeshkumar

Hi,

Hi

Quoted 3 lines

I am using linux 2.6.30 & ipipe patch 2.6-70. I am also facing the same problem. Plain linux msi interrupt is coming.

So, it is a different issue, since the issue in the thread you posted was that MSI were not even working for plain Linux (when patched with I-pipe).

Quoted 5 lines

But in Xenomai interrupt is
not coming. I checked with '__ipipe_grab_irq' in ipipe.c, the same function is invoked. But in device driver the registered isr isn't invoked.

Can I do the above patch for above mentioned kernel. Will it work?

as stated in the discussion, the issue with MSI is very much hardware dependent, so, if you want an answer, you should precise on which architecture/processor you have problems.

Regards.

Signature · 1 line
                                                                Gilles.