]> git.baikalelectronics.ru Git - kernel.git/commit
mpt2sas: Rework the MSI-X grouping code
authorMartin K. Petersen <martin.petersen@oracle.com>
Sat, 4 Jan 2014 00:16:55 +0000 (19:16 -0500)
committerChristoph Hellwig <hch@lst.de>
Fri, 25 Jul 2014 21:16:58 +0000 (17:16 -0400)
commit1509a31fb4260e75da79248af5c4c5c128f40b33
tree903f4718dfa6002c05e615515d5e4321fdbe7124
parentc62bae9bf701afe4eec60939b063a0d6bbc1cab8
mpt2sas: 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/mpt2sas/mpt2sas_base.c