rsxx: RSXX driver Bug fixes.
v2 cover rsxx: RSXX driver Bug fixes.
The incoming patch series contains 2 patches for the rsxx driver (drivers/block/rsxx). I sent a patch series containing 5 patches a couple weeks ago, which contained version 1 of the this series.
Version 2 changes:
o Patches 3 thru 5 were removed because of importance.
o pci_dma_mapping_error was added to check the return status of pci_map_page.
Patch 1:
The driver wasn't handling the return value of pci_map_page correctly for the PowerPC architecture. This also uncovered a double free scenario that is fixed here.
Patch 2:
In this patch, 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.
Regards,
- Philip Kelleher