]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rsxx: Moving pci_map_page to prevent overflow.
authorPhilip J Kelleher <pjk1939@linux.vnet.ibm.com>
Wed, 4 Sep 2013 18:59:35 +0000 (13:59 -0500)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Sep 2013 19:18:05 +0000 (13:18 -0600)
commit8d26750143341831bc312f61c5ed141eeb75b8d0
treef4bee8a4a7842baecac365d6290492805bb1ebca
parent4c6645bdf4a6c7d7340e1c5f4e9d6ae93073ffab
rsxx: Moving pci_map_page to prevent overflow.

The pci_map_page function has been moved into our
issued workqueue to prevent an us running out of
mappable addresses on non-HWWD PCIe x8 slots. The
maximum amount that can possible be mapped at one
time now is: 255 dmas X 4 dma channels X 4096 Bytes.

Signed-off-by: Philip J Kelleher <pjk1939@linux.vnet.ibm.com>
-------------------------------------------------------------------------------
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/rsxx/core.c
drivers/block/rsxx/dma.c