From: Kar Hin Ong <kar.hin.ong@ni.com>
To: "linux-x86_64@vger.kernel.org" <linux-x86_64@vger.kernel.org>,
"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>
Cc: Keng Soon Cheah <keng.soon.cheah@ni.com>
Subject: Firing an interrupt pin induces the occurrence of another interrupt
Date: Tue, 16 Jul 2019 11:16:33 +0000 [thread overview]
Message-ID: <MN2PR04MB6255ED23FBD06326084DA2C4C3CE0@MN2PR04MB6255.namprd04.prod.outlook.com> (raw)
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
reply other threads:[~2019-07-16 11:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MN2PR04MB6255ED23FBD06326084DA2C4C3CE0@MN2PR04MB6255.namprd04.prod.outlook.com \
--to=kar.hin.ong@ni.com \
--cc=keng.soon.cheah@ni.com \
--cc=linux-pci@vger.kernel.org \
--cc=linux-x86_64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).