linux/drivers/scsi/isci
Dan Williams ddcc7e347a isci: fix dma_unmap_sg usage
One bug and a cleanup:
1/ Fix cases where we were unmapping invalid addresses (smp requests were
   being unmapped)

[  604.662770] ------------[ cut here ]------------
[  604.668026] WARNING: at lib/dma-debug.c:800 check_unmap+0x418/0x740()
[  604.675315] Hardware name: SandyBridge Platform
[  604.680465] isci 0000:03:00.0: DMA-API: device driver tries to free an invalid DMA memory address

2/ The unmap routine is too large to be an inline function, and
   isci_request_io_request_get_next_sge is unused.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2011-07-03 04:04:51 -07:00
..
firmware isci: Added support for C0 to SCU Driver 2011-07-03 04:04:50 -07:00
Makefile isci: additional state machine cleanup 2011-07-03 04:04:50 -07:00
host.c isci: kill isci_remote_device_change_state() 2011-07-03 04:04:51 -07:00
host.h isci: kill device_sequence 2011-07-03 04:04:51 -07:00
init.c isci: Added support for C0 to SCU Driver 2011-07-03 04:04:50 -07:00
isci.h isci: cleanup/optimize queue increment macros 2011-07-03 04:04:51 -07:00
phy.c isci: Disable link layer hang detection 2011-07-03 04:04:50 -07:00
phy.h isci: additional state machine cleanup 2011-07-03 04:04:50 -07:00
port.c isci: atomic device lookup and reference counting 2011-07-03 04:04:51 -07:00
port.h isci: filter broadcast change notifications during SMP phy resets 2011-07-03 04:04:50 -07:00
port_config.c isci: state machine cleanup 2011-07-03 04:04:50 -07:00
probe_roms.c isci: Added support for C0 to SCU Driver 2011-07-03 04:04:50 -07:00
probe_roms.h isci: Retrieve the EFI variable for OEM parameter 2011-07-03 04:04:50 -07:00
registers.h isci: uplevel register hardware data structures and unsolicited frame handling 2011-07-03 04:04:47 -07:00
remote_device.c isci: kill device_sequence 2011-07-03 04:04:51 -07:00
remote_device.h isci: kill device_sequence 2011-07-03 04:04:51 -07:00
remote_node_context.c isci: Explicitly decode remote node ready and suspended states 2011-07-03 04:04:50 -07:00
remote_node_context.h isci: additional state machine cleanup 2011-07-03 04:04:50 -07:00
remote_node_table.c isci: uplevel request infrastructure 2011-07-03 04:04:47 -07:00
remote_node_table.h isci: unify constants 2011-07-03 04:04:47 -07:00
request.c isci: fix dma_unmap_sg usage 2011-07-03 04:04:51 -07:00
request.h isci: fix dma_unmap_sg usage 2011-07-03 04:04:51 -07:00
sas.h isci: removing intel_*.h headers 2011-07-03 04:04:46 -07:00
sata.c isci: atomic device lookup and reference counting 2011-07-03 04:04:51 -07:00
sata.h isci: Convert ATA defines to Linux native defines 2011-07-03 04:04:46 -07:00
scu_completion_codes.h isci: uplevel register hardware data structures and unsolicited frame handling 2011-07-03 04:04:47 -07:00
scu_event_codes.h isci: uplevel register hardware data structures and unsolicited frame handling 2011-07-03 04:04:47 -07:00
scu_remote_node_context.h isci: move remote_device handling out of the core 2011-07-03 04:00:38 -07:00
scu_task_context.h isci: uplevel register hardware data structures and unsolicited frame handling 2011-07-03 04:04:47 -07:00
scu_unsolicited_frame.h isci: uplevel register hardware data structures and unsolicited frame handling 2011-07-03 04:04:47 -07:00
task.c isci: kill isci_remote_device_change_state() 2011-07-03 04:04:51 -07:00
task.h isci: atomic device lookup and reference counting 2011-07-03 04:04:51 -07:00
unsolicited_frame_control.c isci: cleanup/optimize queue increment macros 2011-07-03 04:04:51 -07:00
unsolicited_frame_control.h isci: remove 'min memory' infrastructure 2011-07-03 04:04:50 -07:00