Nobody loves the advansys driver
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest23 patches 6 repliesIn review
- v222 patches 4 repliesSuperseded
- v112 patches 17 repliesSuperseded
Changes to v2 from the cover letter
- Remove calls to dma_cache_sync()
- Allow compilation on ARM, too
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/23 | advansys: use host_resetdrivers/ | +11 | 0 replies | |
| 2/23 | advansys: use shared host tag map for command lookupdrivers/ | +79 | 0 replies | |
| 3/23 | advansys: use DMA-API for mapping sense bufferdrivers/ | +16 | 0 replies | |
| 4/23 | advansys: Use DMA-API for carrier bufferdrivers/ | +103 | 0 replies | |
| 5/23 | advansys: Use DMA-API for mapping request blocksdrivers/ | +54 | 0 replies | |
| 6/23 | advansys: Use dma_pool for sg elementsdrivers/ | +45 | 0 replies | |
| 7/23 | advansys: use 'bool' instead of 'int'drivers/ | +16 | 0 replies | |
| 8/23 | advansys: use standard data typesdrivers/ | +66 | 0 replies | |
| 9/23 | advansys: Remove 'TRUE' and 'FALSE' definitionsdrivers/ | +38 | 0 replies | |
| 10/23 | advansys: remove 'ERR' definitiondrivers/ | +5 | 0 replies | |
| 11/23 | advansys: Make AscIsrChipHalted() a void functiondrivers/ | +13 | 0 replies | |
| 12/23 | advansys: cleanup function return codesdrivers/ | +13 | 0 replies | |
| 13/23 | advansys: scsi_q1->data_addr is little endiandrivers/ | +4 | 0 replies | |
| 14/23 | advansys: Remove ASC_SCSI_REQ_Qdrivers/ | +10 | 0 replies | |
| 15/23 | advansys: Remove CC_VERY_LONG_SG_LISTdrivers/ | +5 | 0 replies | |
| 16/23 | advansys: rename 'ASC_RQ_XX' to 'ADV_RQ_XX'drivers/ | +9 | 0 replies | |
| 17/23 | advansys: Remove 'a_flag'drivers/ | +7 | 0 replies | |
| 18/23 | advansys: Remove obsolete virtual memory mapping commentdrivers/ | +0 | 0 replies | |
| 19/23 | advansys: Remove cmd_per_lun settingdrivers/ | +0 | 6 replies | |
| 20/23 | advansys: Check for DMA mapping errorsdrivers/ | +22 | 0 replies | |
| 21/23 | advansys: use spin_lock_irqsave() in interrupt handlerdrivers/ | +3 | 0 replies | |
| 22/23 | advansys: Remove call to dma_cache_sync()drivers/ drivers/ | +6 | 0 replies | |
| 23/23 | advansys: Update to version 3.5 and remove compilation warningMAINTAINERS drivers/ drivers/ | +9 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCHv3 00/23] Nobody loves the advansys driver
Hi all,
it has been bugged me for ages that the advansys driver always reported a compilation warning about not having been converted to the DMA-API.
And even aggressive waiting hasn't made this warning go away.
So here's a patchset to update the advansys driver to current standards and use the DMA-API.
Tested on ABP940-U2W and ABP-960-U (Thanks, Doug!)
As usual, reviews and comments are welcome.
Changes to the original version:
- Fixed issue noted by Ondrey Zary
- Tested narrow-scsi support
- Fixed sg list corruption on wide boards
- Even more cleanup
Changes to v2:
- Remove calls to dma_cache_sync()
- Allow compilation on ARM, too
Hannes Reinecke (23):
advansys: use host_reset
advansys: use shared host tag map for command lookup
advansys: use DMA-API for mapping sense buffer
advansys: Use DMA-API for carrier buffer
advansys: Use DMA-API for mapping request blocks
advansys: Use dma_pool for sg elements
advansys: use 'bool' instead of 'int'
advansys: use standard data types
advansys: Remove 'TRUE' and 'FALSE' definitions
advansys: remove 'ERR' definition
advansys: Make AscIsrChipHalted() a void function
advansys: cleanup function return codes
advansys: scsi_q1->data_addr is little endian
advansys: Remove ASC_SCSI_REQ_Q
advansys: Remove CC_VERY_LONG_SG_LIST
advansys: rename 'ASC_RQ_XX' to 'ADV_RQ_XX'
advansys: Remove 'a_flag'
advansys: Remove obsolete virtual memory mapping comment
advansys: Remove cmd_per_lun setting
advansys: Check for DMA mapping errors
advansys: use spin_lock_irqsave() in interrupt handler
advansys: Remove call to dma_cache_sync()
advansys: Update to version 3.5 and remove compilation warning
MAINTAINERS | 1 + drivers/scsi/Kconfig | 2 +- drivers/scsi/advansys.c | 1469 ++++++++++++++++------------------------------- 3 files changed, 509 insertions(+), 963 deletions(-)
Signature · 1 line
1.8.5.2