Re: [PATCH 2/6] hisi_sas: add hisi_sas_slot_abort()

2016-02-18 Thread John Garry
On 16/02/2016 15:41, John Garry wrote: On 16/02/2016 15:22, Hannes Reinecke wrote: On 02/16/2016 01:22 PM, John Garry wrote: Add a function to abort a slot (task) in the device (if it is in the task set) and then cleanup and complete the task. The function is called from work queue context as i

Re: [PATCH 2/6] hisi_sas: add hisi_sas_slot_abort()

2016-02-16 Thread John Garry
On 16/02/2016 15:22, Hannes Reinecke wrote: On 02/16/2016 01:22 PM, John Garry wrote: Add a function to abort a slot (task) in the device (if it is in the task set) and then cleanup and complete the task. The function is called from work queue context as it cannot be called from the context wher

Re: [PATCH 2/6] hisi_sas: add hisi_sas_slot_abort()

2016-02-16 Thread Hannes Reinecke
On 02/16/2016 01:22 PM, John Garry wrote: > Add a function to abort a slot (task) in the device > (if it is in the task set) and then cleanup and > complete the task. > The function is called from work queue context as > it cannot be called from the context where it is > triggered (interrupt). > >

[PATCH 2/6] hisi_sas: add hisi_sas_slot_abort()

2016-02-16 Thread John Garry
Add a function to abort a slot (task) in the device (if it is in the task set) and then cleanup and complete the task. The function is called from work queue context as it cannot be called from the context where it is triggered (interrupt). Signed-off-by: John Garry --- drivers/scsi/hisi_sas/his