]> git.karo-electronics.de Git - linux-beck.git/commit
mpt3sas: Rework the MSI-X grouping code
authorMartin K. Petersen <martin.petersen@oracle.com>
Sat, 4 Jan 2014 00:16:56 +0000 (19:16 -0500)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:16:58 +0000 (17:16 -0400)
commit91b265bf0b5733a6c4865e809c93a2a812de46e8
tree79499e2dd01542f89f6db0a6f87213a2e4f95989
parentcbbb7b31ad842e17b690254a546ddcedc79a4f05
mpt3sas: Rework the MSI-X grouping code

On systems with a non power-of-two CPU count the existing MSI-X grouping
code failed to distribute interrupts correctly. Rework the code to
handle arbitrary processor counts.

Also remove the hardcoded upper limit on the number of processors so we
can boot on large systems.

Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Acked-by: Sreekanth Reddy <Sreekanth.reddy@avagotech.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/mpt3sas/mpt3sas_base.c