rsxx: RSXX driver Bug fixes.
v3 cover rsxx: RSXX driver Bug fixes.
The incoming patch series contains 2 patches for the rsxx driver (drivers/block/rsxx).
Version 1:
A patch series containing 5 patches was sent out a few weeks ago.
Version 2:
o This version decreased the number of patches for the patch series based on importance.
o Started using the function pci_dma_mapping_error to check the return status of pci_map_page.
Version 3:
o Fixes a compile error in patch 1.
o Changed the error handling for pci_map_page
to cancel all dmas instead of just returning
out.
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