linux/drivers/scsi/isci
Dan Williams d9c37390c4 isci: preallocate remote devices
Until we synchronize against device removal this limits the damage of
use after free bugs to the driver's own objects.  Unless we implement
reference counting we need to ensure at least a subset of a remote
device is valid at all times.  We follow the lead of other libsas
drivers that also preallocate devices.

This also enforces maximum remote device accounting at the lldd layer,
but the core may still run out of RNC's before we hit this limit.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2011-07-03 03:55:29 -07:00
..
core isci: pad stp and smp request sizes 2011-07-03 03:55:29 -07:00
firmware isci: Intel(R) C600 Series Chipset Storage Control Unit Driver 2011-07-02 22:56:22 -07:00
events.c isci: replace isci_remote_device completion with event queue 2011-07-03 03:55:29 -07:00
events.h isci: rework timer api 2011-07-03 03:55:28 -07:00
host.c isci: preallocate remote devices 2011-07-03 03:55:29 -07:00
host.h isci: preallocate remote devices 2011-07-03 03:55:29 -07:00
init.c isci: preallocate remote devices 2011-07-03 03:55:29 -07:00
isci.h isci: preallocate remote devices 2011-07-03 03:55:29 -07:00
Makefile isci: Removing deprecated functions 2011-07-03 03:55:28 -07:00
phy.c isci: Adding support for phy enable and disable 2011-07-03 03:55:29 -07:00
phy.h isci: Intel(R) C600 Series Chipset Storage Control Unit Driver 2011-07-02 22:56:22 -07:00
port.c isci: fix sas address reporting 2011-07-03 03:55:28 -07:00
port.h isci: kill "host quiesce" mechanism 2011-07-03 03:55:29 -07:00
remote_device.c isci: preallocate remote devices 2011-07-03 03:55:29 -07:00
remote_device.h isci: preallocate remote devices 2011-07-03 03:55:29 -07:00
request.c isci: remove sci_device_handle 2011-07-03 03:55:29 -07:00
request.h isci: kill SCI_IO_REQUEST_DATA_DIRECTION 2011-07-03 00:36:31 -07:00
sata.c isci: remove sci_device_handle 2011-07-03 03:55:29 -07:00
sata.h isci: Intel(R) C600 Series Chipset Storage Control Unit Driver 2011-07-02 22:56:22 -07:00
sci_environment.h isci: clean up remaining silicon revision ifdefs in phy init 2011-07-03 03:55:28 -07:00
task.c isci: kill "host quiesce" mechanism 2011-07-03 03:55:29 -07:00
task.h isci: Intel(R) C600 Series Chipset Storage Control Unit Driver 2011-07-02 22:56:22 -07:00
timers.c isci: rework timer api 2011-07-03 03:55:28 -07:00
timers.h isci: rework timer api 2011-07-03 03:55:28 -07:00