Sorry there is typo mistake in kernel version 3.2.24 instead of 3.2.34
Please find the attached boot log and interrupts(/proc/interuupts) log
Added a debug message in _ipipe_grab_irq function to verify the spurious
interrupt occurrence after IACK read
test code pasted below :
count variable is global variable and initialised to zero
*****************************************************************
count++;
irq = ppc_md.get_irq();
if (unlikely(irq == NO_IRQ)) {
__get_cpu_var(irq_stat).spurious_irqs++;
printk("S. %d",count);
return __ipipe_exit_irq(regs);
}
******************************************************************
Continuous odd numbers is printed for spurious interrupt
S. 1
S. 3
S. 5
On Wed, Apr 24, 2013 at 2:29 PM, Philippe Gerum <[email protected]> wrote:
> On 04/24/2013 08:57 AM, Srikanth C wrote:
>
>> Arch is PPC and interrupt is PCI, level sensitive interrupt.
>>
>> ipipe 3.2.21 patch is applied to kernel 3.2.24 and even I tried with
>> ipipe-core-3.5.7-powerpc-3.**patch with 3.5.7 kernel
>> same result is observed.
>>
>
> Which powerpc platform? What is the test case? How do you notice the
> spurious interrupt? Is there any kernel log info you may share that reports
> it?
>
> Please, help us to help you.
>
>
>>
>>
>> On Wed, Apr 24, 2013 at 12:19 PM, Gilles Chanteperdrix <
>> gilles.chanteperdrix@xenomai.**org <[email protected]>>
>> wrote:
>>
>> On 04/24/2013 08:29 AM, Srikanth C wrote:
>>>
>>> Hi,
>>>>
>>>> Spurious interrupts are raised on 2.6.1 Xenomai patch
>>>> with Linux Kernel version 3.2.34
>>>>
>>>> for every pci interrupt raise there is one spurious interrupt also
>>>>
>>> getting
>>>
>>>> raised.
>>>>
>>>> Without Xenomai patch pci interrupts are working fine (Spurious
>>>>
>>> interrupts
>>>
>>>> are not raised).
>>>>
>>>
>>>
>>> What architecture? What kind of interrupt? Do you know the latest
>>> version of Xenomai is 2.6.2.1, not 2.6.1? Where did you get an I-pipe
>>> patch for 3.2.34 as the one we provide is for 3.2.21?
>>>
>>> --
>>> Gilles.
>>>
>>> ______________________________**_________________
>> Xenomai mailing list
>> [email protected]
>> http://www.xenomai.org/**mailman/listinfo/xenomai<http://www.xenomai.org/mailman/listinfo/xenomai>
>>
>>
>
> --
> Philippe.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dmesg_log
Type: application/octet-stream
Size: 38565 bytes
Desc: not available
URL:
<http://www.xenomai.org/pipermail/xenomai/attachments/20130424/29f2a97b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: proc_log
Type: application/octet-stream
Size: 414 bytes
Desc: not available
URL:
<http://www.xenomai.org/pipermail/xenomai/attachments/20130424/29f2a97b/attachment-0001.obj>
_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai