]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc4c0eb25b3e243179c98d482301f24c89483246c
treed75c0124ae3985f0089aa583f113c1e578926634
parentf44f0719869f16d14addc466ec0b550e60bcbc67
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