usb: hcd: Try MSI interrupts on PCI devices
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 2 Jul 2020 14:30:45 +0000 (17:30 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 21 Jul 2020 11:38:21 +0000 (13:38 +0200)
commit306c54d0edb6ba94d39877524dddebaad7770cf2
treed75c0124ae3985f0089aa583f113c1e578926634
parenteed3c957dd8cb794d6010137266cd91e0502c86d
usb: hcd: Try MSI interrupts on PCI devices

It appears that some platforms share same IRQ line between several devices,
some of which are EHCI and OHCI controllers. This is neither practical nor
performance-wise, especially in the case when they are supporting MSI.

In order to improve the situation try to allocate MSI and fallback to legacy
IRQ if no MSI available.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20200702143045.23429-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd-pci.c