linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Firing an interrupt pin induces the occurrence of another interrupt
@ 2019-07-16 11:16 Kar Hin Ong
  0 siblings, 0 replies; only message in thread
From: Kar Hin Ong @ 2019-07-16 11:16 UTC (permalink / raw)
  To: linux-x86_64, linux-pci; +Cc: Keng Soon Cheah

Hi, 

I have a x86 system with Xeon CPU running Linux with preempt_rt patch (kernel version 4.14). 

When a PCI device firing interrupt to GSI 44 (ioapic2, pin20), I noticed that GSI 19 (ioapic1, pin19) will get fired as well, and then it went unhandled.
I can reproduce this issue by using another PCI card or swapping the PCI card to other slot, as long as the device is driving GSI 44.

By putting traces on do_IRQ, I can see it's being called once for GSI 44, then being called another once for GSI 19.

I tried to reproduce it on RHEL 8, it is not reproducible initially. However, after I added "threadirqs" kernel parameter, this behaviour appears on RHEL 8 as well.

I would like to get your advice on whether this could be a kernel issue or hardware issue.
Inputs on how to further narrow down the issue are most welcomed.

Thanks very much in advance,
Kar Hin Ong

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-16 11:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-16 11:16 Firing an interrupt pin induces the occurrence of another interrupt Kar Hin Ong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).