Revision tags: v3.0-rc1, v2.6.39 |
|
#
79e2b6b2 |
| 11-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: remove the completion and event state handlers
With these handlers gone the rest of the state handler infrastructure is removed.
Added some WARN_ONCEs where previously we would cause NULL poi
isci: remove the completion and event state handlers
With these handlers gone the rest of the state handler infrastructure is removed.
Added some WARN_ONCEs where previously we would cause NULL pointer dereferences or silently run handlers from a previous state.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
a7e255a3 |
| 11-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: remove request task context completion state handler
Unlike the other conversions this only updates scic_sds_io_request_tc_completion() to call the old state handlers directly (with less verbo
isci: remove request task context completion state handler
Unlike the other conversions this only updates scic_sds_io_request_tc_completion() to call the old state handlers directly (with less verbose names). This was done for future patch readability, the implementations have only minor differences for different completion codes. Without a reference to the function name it would be difficult to dicern which state is being updated. Considered changing the order to look up the completion code before the state but that was not a clean conversion either.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
d1c637c3 |
| 11-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: unify request frame handlers
Unify the implementation in scic_sds_io_request_frame_handler and kill the state handler.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams
isci: unify request frame handlers
Unify the implementation in scic_sds_io_request_frame_handler and kill the state handler.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
f4636a7b |
| 10-May-2011 |
Piotr Sawicki <piotr.sawicki@intel.com> |
isci: unify request start handlers
Unify the implementation in scic_sds_request_start and kill the state handler.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Piotr Sawicki <piotr.saw
isci: unify request start handlers
Unify the implementation in scic_sds_request_start and kill the state handler.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Piotr Sawicki <piotr.sawicki@intel.com> [remove scic_sds_request_constructed_state_start_handler] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
f00e6ba4 |
| 10-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: unify request abort handlers
Unify the implementation in scic_sds_io_request_terminate and kill the state handler.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan
isci: unify request abort handlers
Unify the implementation in scic_sds_io_request_terminate and kill the state handler.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
5dec6f4e |
| 10-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: merge stp request substates into primary state machine
Remove usage of the request substate machine for stp requests, and kill the request substate infrastructure.
Similar to the previous con
isci: merge stp request substates into primary state machine
Remove usage of the request substate machine for stp requests, and kill the request substate infrastructure.
Similar to the previous conversions this adds the substates to the primary state machine and arranges for the 'started' state to transition to the proper stp substate.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
c72086e3 |
| 10-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: merge smp request substates into primary state machine
Remove usage of the request substate machine for smp requests identified by: task->task_proto == SAS_PROTOCOL_SMP
While merging over th
isci: merge smp request substates into primary state machine
Remove usage of the request substate machine for smp requests identified by: task->task_proto == SAS_PROTOCOL_SMP
While merging over the smp_request infrastructure noticed that all the assign buffer implementations are now equal, so moved it to scic_sds_general_request_construct.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
f139303d |
| 10-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: merge ssp task management substates into primary state machine
Remove usage of the request substate machine for ssp task management requests identified by: ireq->ttype == tmf_task && dev->dev
isci: merge ssp task management substates into primary state machine
Remove usage of the request substate machine for ssp task management requests identified by: ireq->ttype == tmf_task && dev->dev_type == SAS_END_DEV;
The only routine that checks the base 'started' state is scic_sds_io_request_tc_completion which calls the substate machine handler if we are not in the 'started' state or we are 'started' and no substate machine is defined. This routine requires no conversion because we have transitioned out of 'started' and the substate routine will be called naturally as a result.
There are also no side effects of this conversion on exiting the 'started', state because it only stops the substate machine, which is no longer relevant for this transaction type.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
f1f52e75 |
| 10-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: uplevel request infrastructure
* Consolidate tiny header files * Move files out of core/ (drop core/scic_sds_ prefix) * Merge core/scic_sds_request.[ch] into request.[ch] * Cleanup request.c n
isci: uplevel request infrastructure
* Consolidate tiny header files * Move files out of core/ (drop core/scic_sds_ prefix) * Merge core/scic_sds_request.[ch] into request.[ch] * Cleanup request.c namespace (clean forward declarations and global namespace pollution)
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
Revision tags: v2.6.39-rc7 |
|
#
ce2b3261 |
| 08-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: unify constants
cross driver constants are spread out over multiple header files, consolidate them into isci.h, and push some includes out to the source files that need them.
TODO: remove SCI
isci: unify constants
cross driver constants are spread out over multiple header files, consolidate them into isci.h, and push some includes out to the source files that need them.
TODO: remove SCI_MODE_SIZE infrastructure. TODO: task.h is full of inlines that are too large
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
67ea838d |
| 08-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: unify request data structures
Make scic_sds_request a proper member of isci_request. Also let's us get rid of the dma pool object size tracking since we now know that all requests are sizeof(
isci: unify request data structures
Make scic_sds_request a proper member of isci_request. Also let's us get rid of the dma pool object size tracking since we now know that all requests are sizeof(isci_request). While cleaning up the construct routine incidentally replaced SCI_FIELD_OFFSET with offsetof.
Reported-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
0d84366f |
| 08-May-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: make sgl explicit/aligned request object member
Towards unifying request objects we need all members to be defined in the object and not carved out of anonymous buffer space.
Signed-off-by: D
isci: make sgl explicit/aligned request object member
Towards unifying request objects we need all members to be defined in the object and not carved out of anonymous buffer space.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
9286a195 |
| 05-May-2011 |
Dave Jiang <dave.jiang@intel.com> |
isci: Removing unnecessary functions in request.c
No need for wrappers, just access sas_task directly.
Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@i
isci: Removing unnecessary functions in request.c
No need for wrappers, just access sas_task directly.
Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
Revision tags: v2.6.39-rc6, v2.6.39-rc5, v2.6.39-rc4 |
|
#
6cb4d6b3 |
| 12-Apr-2011 |
Bartosz Barcinski <Bartosz.Barcinski@intel.com> |
isci: audit usage of BUG_ON macro in isci driver
Removes unnecessary usage of BUG_ON macro, excluding core directory. In some cases macro is unnecesary, check is done in caller function. In other ca
isci: audit usage of BUG_ON macro in isci driver
Removes unnecessary usage of BUG_ON macro, excluding core directory. In some cases macro is unnecesary, check is done in caller function. In other cases macro is replaced by if construction with appropriate warning.
Signed-off-by: Maciej Patelczyk <maciej.patelczyk@intel.com> [changed some survivable bug conditions to WARN_ONCE] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
Revision tags: v2.6.39-rc3, v2.6.39-rc2 |
|
#
f219f010 |
| 31-Mar-2011 |
Jeff Skirvin <jeffrey.d.skirvin@intel.com> |
isci: Properly handle requests in the "aborting" state.
When a TMF times-out, the request is set back to "aborting". Requests in the "aborting" state must be terminated when LUN and device resets oc
isci: Properly handle requests in the "aborting" state.
When a TMF times-out, the request is set back to "aborting". Requests in the "aborting" state must be terminated when LUN and device resets occur.
Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
Revision tags: v2.6.39-rc1 |
|
#
35173d57 |
| 26-Mar-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: namespacecheck cleanups
* mark needlessly global routines static * delete unused functions * move kernel-doc blocks from header files to source * reorder some functions to delete declarations
isci: namespacecheck cleanups
* mark needlessly global routines static * delete unused functions * move kernel-doc blocks from header files to source * reorder some functions to delete declarations * more default handler cleanups phy
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
Revision tags: v2.6.38, v2.6.38-rc8 |
|
#
4dc043c4 |
| 04-Mar-2011 |
Jeff Skirvin <jeffrey.d.skirvin@intel.com> |
isci: Termination handling cleanup, added termination timeouts.
Added a request "dead" state for use when a termination wait times-out.
isci_terminate_pending_requests now detaches the device's pen
isci: Termination handling cleanup, added termination timeouts.
Added a request "dead" state for use when a termination wait times-out.
isci_terminate_pending_requests now detaches the device's pending list and terminates each entry on the detached list.
Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
Revision tags: v2.6.38-rc7, v2.6.38-rc6, v2.6.38-rc5 |
|
#
82d29928 |
| 08-Feb-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: kill SCI_IO_REQUEST_DATA_DIRECTION
It's an unnecessary typedef that mirrors the kernel's enum dma_data_direction.
Also cleanup some long variable names along the way.
Signed-off-by: Dan Will
isci: kill SCI_IO_REQUEST_DATA_DIRECTION
It's an unnecessary typedef that mirrors the kernel's enum dma_data_direction.
Also cleanup some long variable names along the way.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|
#
6f231dda |
| 03-Jul-2011 |
Dan Williams <dan.j.williams@intel.com> |
isci: Intel(R) C600 Series Chipset Storage Control Unit Driver
Support for the up to 2x4-port 6Gb/s SAS controllers embedded in the chipset.
This is a snapshot of the first publicly available versi
isci: Intel(R) C600 Series Chipset Storage Control Unit Driver
Support for the up to 2x4-port 6Gb/s SAS controllers embedded in the chipset.
This is a snapshot of the first publicly available version of the driver, commit 4c1db2d0 in the 'historical' branch.
git://git.kernel.org/pub/scm/linux/kernel/git/djbw/isci.git historical
Signed-off-by: Maciej Trela <maciej.trela@intel.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Edmund Nadolski <edmund.nadolski@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
show more ...
|