]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
I/OAT: fail initialization on zero channels detection
authorMaciej Sosnowski <maciej.sosnowski@intel.com>
Thu, 26 Feb 2009 10:04:54 +0000 (11:04 +0100)
committerDan Williams <dan.j.williams@intel.com>
Wed, 4 Mar 2009 23:04:39 +0000 (16:04 -0700)
commit8b794b141c633083408d0bfb2229b3406d0ebf99
tree767cad4cafccce7c606003088ead281b70477fe3
parentea9c717d0148d4194f9bd04ecfa6b59b20fc0a08
I/OAT: fail initialization on zero channels detection

On some systems with I/OAT ver.2 when DCA is disabled in BIOS
situations have been observed
that zero DMA channels are detected instead of four.
To avoid kernel panic driver should fail gracefully with appropriate message.

Signed-off-by: Maciej Sosnowski <maciej.sosnowski@intel.com>
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Acked-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/ioat_dma.c