public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 00/22] Nobody loves the advansys driver
@ 2015-04-24  8:32 Hannes Reinecke
  2015-04-24  8:32 ` [PATCH 01/22] advansys: use host_reset Hannes Reinecke
                   ` (21 more replies)
  0 siblings, 22 replies; 27+ messages in thread
From: Hannes Reinecke @ 2015-04-24  8:32 UTC (permalink / raw)
  To: James Bottomley
  Cc: Christoph Hellwig, Ondrey Zary, Doug Gilberg, linux-scsi,
	Hannes Reinecke

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

Hannes Reinecke (22):
  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 comment around cmd_per_lun
  advansys: Check for DMA mapping errors
  advansys: use spin_lock_irqsave() in interrupt handler
  advansys: Update to version 3.5 and remove compilation warning

 MAINTAINERS             |    1 +
 drivers/scsi/Kconfig    |    2 +-
 drivers/scsi/advansys.c | 1457 ++++++++++++++++-------------------------------
 3 files changed, 508 insertions(+), 952 deletions(-)

-- 
1.8.5.2


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2015-04-24  9:47 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-24  8:32 [PATCHv2 00/22] Nobody loves the advansys driver Hannes Reinecke
2015-04-24  8:32 ` [PATCH 01/22] advansys: use host_reset Hannes Reinecke
2015-04-24  8:32 ` [PATCH 02/22] advansys: use shared host tag map for command lookup Hannes Reinecke
2015-04-24  8:32 ` [PATCH 03/22] advansys: use DMA-API for mapping sense buffer Hannes Reinecke
2015-04-24  8:32 ` [PATCH 04/22] advansys: Use DMA-API for carrier buffer Hannes Reinecke
2015-04-24  8:32 ` [PATCH 05/22] advansys: Use DMA-API for mapping request blocks Hannes Reinecke
2015-04-24  8:32 ` [PATCH 06/22] advansys: Use dma_pool for sg elements Hannes Reinecke
2015-04-24  8:32 ` [PATCH 07/22] advansys: use 'bool' instead of 'int' Hannes Reinecke
2015-04-24  8:32 ` [PATCH 08/22] advansys: use standard data types Hannes Reinecke
2015-04-24  8:32 ` [PATCH 09/22] advansys: Remove 'TRUE' and 'FALSE' definitions Hannes Reinecke
2015-04-24  8:32 ` [PATCH 10/22] advansys: remove 'ERR' definition Hannes Reinecke
2015-04-24  8:32 ` [PATCH 11/22] advansys: Make AscIsrChipHalted() a void function Hannes Reinecke
2015-04-24  8:32 ` [PATCH 12/22] advansys: cleanup function return codes Hannes Reinecke
2015-04-24  8:32 ` [PATCH 13/22] advansys: scsi_q1->data_addr is little endian Hannes Reinecke
2015-04-24  8:32 ` [PATCH 14/22] advansys: Remove ASC_SCSI_REQ_Q Hannes Reinecke
2015-04-24  8:32 ` [PATCH 15/22] advansys: Remove CC_VERY_LONG_SG_LIST Hannes Reinecke
2015-04-24  8:32 ` [PATCH 16/22] advansys: rename 'ASC_RQ_XX' to 'ADV_RQ_XX' Hannes Reinecke
2015-04-24  8:32 ` [PATCH 17/22] advansys: Remove 'a_flag' Hannes Reinecke
2015-04-24  8:32 ` [PATCH 18/22] advansys: Remove obsolete virtual memory mapping comment Hannes Reinecke
2015-04-24  8:32 ` [PATCH 19/22] advansys: Remove comment around cmd_per_lun Hannes Reinecke
2015-04-24  9:41   ` Christoph Hellwig
2015-04-24  9:47     ` Hannes Reinecke
2015-04-24  8:32 ` [PATCH 20/22] advansys: Check for DMA mapping errors Hannes Reinecke
2015-04-24  8:32 ` [PATCH 21/22] advansys: use spin_lock_irqsave() in interrupt handler Hannes Reinecke
2015-04-24  8:32 ` [PATCH 22/22] advansys: Update to version 3.5 and remove compilation warning Hannes Reinecke
2015-04-24  9:42   ` Christoph Hellwig
2015-04-24  9:47     ` Hannes Reinecke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox