diff options
author | Jan Kiszka <[email protected]> | 2021-08-30 10:08:10 +0200 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-09-20 15:09:14 -0500 |
commit | 0e8ae5a6ff5952253cd7cc0260df838ab4c21009 (patch) | |
tree | 551ddd9e818e7c5bfd652384603f25ef9637447f /drivers/usb/cdns3/cdns3-trace.c | |
parent | e4e737bb5c170df6135a127739a9e6148ee3da82 (diff) |
PCI/portdrv: Do not setup up IRQs if there are no users
Avoid registering service IRQs if there is no service that offers them
or no driver to register a handler against them. This saves IRQ vectors
when they are limited (e.g. on x86) and also avoids that spurious events
could hit a missing handler. Such spurious events need to be generated
by the Jailhouse hypervisor for active MSI vectors when enabling or
disabling itself.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jan Kiszka <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions