linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: yunhua li <yunhual@gmail.com>
To: linux-usb@vger.kernel.org
Subject: Per USB device interrupt handler for xhci
Date: Fri, 5 Jul 2019 19:50:28 -0700	[thread overview]
Message-ID: <CAMqbrUg3bz=i8nh4W2-NWOsnQdqcaB3nvZnMJQ1sGXuD0ogk7Q@mail.gmail.com> (raw)

Hi  all

xhci_msi_irq is the interrupt handler for xhci, the controller it self
is a PCI device, on my system it is a Intel chip. I have multiple USB
device connect to this USB host controller,  xhci_msi_irq is interrupt
handler for the PCI device(USB Host controller).
Is it possible to have multiple IRQ, and different IRQ for different
USB device? If so how? the chip(USB Host controller) should know which
USB device’s transaction,
When the chip decide to assert an interrupt, it should be a reason for
a specified USB device, then assert a correspondence MSI interrupt.
Thanks.

sudo lspci -s 00:14.0 -v
00:14.0 USB controller: Intel Corporation Device a2af (prog-if 30 [XHCI])
        Subsystem: Dell Device 0738
        Flags: bus master, medium devsel, latency 0, IRQ 29
        Memory at 38003ff10000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [70] Power Management version 2
        Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
        Kernel driver in use: xhci_hcd



Regards

             reply	other threads:[~2019-07-06  2:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-06  2:50 yunhua li [this message]
2019-07-06  4:46 ` Per USB device interrupt handler for xhci Greg KH
2019-07-08 19:58   ` yunhua li

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='CAMqbrUg3bz=i8nh4W2-NWOsnQdqcaB3nvZnMJQ1sGXuD0ogk7Q@mail.gmail.com' \
    --to=yunhual@gmail.com \
    --cc=linux-usb@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).