]> git.baikalelectronics.ru Git - kernel.git/commit
ahci: always fall back to single-MSI mode
authorChristoph Hellwig <hch@lst.de>
Fri, 18 Nov 2016 13:09:06 +0000 (14:09 +0100)
committerTejun Heo <tj@kernel.org>
Mon, 21 Nov 2016 16:06:57 +0000 (11:06 -0500)
commit6a3859f31838b594ec53223b794800ccf8cb52f8
tree84f6b678d92409233aefde692da6db665d547d1b
parentd7c1d9094f4d15134814be27c1ba52dd5ed48473
ahci: always fall back to single-MSI mode

Don't try to guess what the errors from pci_irq_alloc_vectors mean, as
that's too fragile.  Instead always try allocating a single vector
when multi-MSI mode fails.  This makes various intel Desktop and
Laptop CPUs use MSI again.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Michael Marley <michael@michaelmarley.com>
Tested-by: Michael Marley <michael@michaelmarley.com>
Fixes: b8172b9230ea ("ahci: use pci_alloc_irq_vectors")
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.c