@@ -104,15 +104,15 @@ static void isci_task_refuse(struct isci_host *ihost, struct sas_task *task,
104
104
/* No notification because this request is already in the
105
105
* abort path.
106
106
*/
107
- dev_warn (& ihost -> pdev -> dev ,
107
+ dev_dbg (& ihost -> pdev -> dev ,
108
108
"%s: Aborted - task = %p, response=%d, "
109
109
"status=%d\n" ,
110
110
__func__ , task , response , status );
111
111
break ;
112
112
113
113
case isci_perform_error_io_completion :
114
114
/* Use sas_task_abort */
115
- dev_warn (& ihost -> pdev -> dev ,
115
+ dev_dbg (& ihost -> pdev -> dev ,
116
116
"%s: Error - task = %p, response=%d, "
117
117
"status=%d\n" ,
118
118
__func__ , task , response , status );
@@ -121,7 +121,7 @@ static void isci_task_refuse(struct isci_host *ihost, struct sas_task *task,
121
121
break ;
122
122
123
123
default :
124
- dev_warn (& ihost -> pdev -> dev ,
124
+ dev_dbg (& ihost -> pdev -> dev ,
125
125
"%s: isci task notification default case!" ,
126
126
__func__ );
127
127
sas_task_abort (task );
@@ -374,7 +374,7 @@ static int isci_task_execute_tmf(struct isci_host *ihost,
374
374
status = sci_controller_start_task (ihost , idev , ireq );
375
375
376
376
if (status != SCI_TASK_SUCCESS ) {
377
- dev_warn (& ihost -> pdev -> dev ,
377
+ dev_dbg (& ihost -> pdev -> dev ,
378
378
"%s: start_io failed - status = 0x%x, request = %p\n" ,
379
379
__func__ ,
380
380
status ,
@@ -604,7 +604,7 @@ static void isci_terminate_request_core(struct isci_host *ihost,
604
604
* being aborted.
605
605
*/
606
606
if (status != SCI_SUCCESS ) {
607
- dev_err (& ihost -> pdev -> dev ,
607
+ dev_dbg (& ihost -> pdev -> dev ,
608
608
"%s: sci_controller_terminate_request"
609
609
" returned = 0x%x\n" ,
610
610
__func__ , status );
@@ -662,7 +662,7 @@ static void isci_terminate_request_core(struct isci_host *ihost,
662
662
663
663
if (!termination_completed ) {
664
664
665
- dev_err (& ihost -> pdev -> dev ,
665
+ dev_dbg (& ihost -> pdev -> dev ,
666
666
"%s: *** Timeout waiting for "
667
667
"termination(%p/%p)\n" ,
668
668
__func__ , io_request_completion ,
@@ -853,7 +853,7 @@ static int isci_task_send_lu_reset_sata(struct isci_host *ihost,
853
853
ret = isci_task_execute_tmf (ihost , idev , & tmf , ISCI_SRST_TIMEOUT_MS );
854
854
855
855
if (ret != TMF_RESP_FUNC_COMPLETE ) {
856
- dev_warn (& ihost -> pdev -> dev ,
856
+ dev_dbg (& ihost -> pdev -> dev ,
857
857
"%s: Assert SRST failed (%p) = %x" ,
858
858
__func__ , idev , ret );
859
859
@@ -897,7 +897,7 @@ int isci_task_lu_reset(struct domain_device *domain_device, u8 *lun)
897
897
*/
898
898
if (!isci_device ||
899
899
isci_device_is_reset_pending (isci_host , isci_device )) {
900
- dev_warn (& isci_host -> pdev -> dev ,
900
+ dev_dbg (& isci_host -> pdev -> dev ,
901
901
"%s: No dev (%p), or "
902
902
"RESET PENDING: domain_device=%p\n" ,
903
903
__func__ , isci_device , domain_device );
@@ -970,7 +970,7 @@ static void isci_abort_task_process_cb(
970
970
*/
971
971
if ((old_request -> status != aborted )
972
972
&& (old_request -> status != completed ))
973
- dev_err (& old_request -> isci_host -> pdev -> dev ,
973
+ dev_dbg (& old_request -> isci_host -> pdev -> dev ,
974
974
"%s: Bad request status (%d): tmf=%p, old_request=%p\n" ,
975
975
__func__ , old_request -> status , tmf , old_request );
976
976
break ;
@@ -988,7 +988,7 @@ static void isci_abort_task_process_cb(
988
988
break ;
989
989
990
990
default :
991
- dev_err (& old_request -> isci_host -> pdev -> dev ,
991
+ dev_dbg (& old_request -> isci_host -> pdev -> dev ,
992
992
"%s: Bad cb_state (%d): tmf=%p, old_request=%p\n" ,
993
993
__func__ , cb_state , tmf , old_request );
994
994
break ;
@@ -1046,7 +1046,7 @@ int isci_task_abort_task(struct sas_task *task)
1046
1046
* SCSI error handler thread to escalate to LUN reset
1047
1047
*/
1048
1048
if (sas_protocol_ata (task -> task_proto )) {
1049
- dev_warn (& isci_host -> pdev -> dev ,
1049
+ dev_dbg (& isci_host -> pdev -> dev ,
1050
1050
" task %p is for a STP/SATA device;"
1051
1051
" returning TMF_RESP_FUNC_FAILED\n"
1052
1052
" to cause a LUN reset...\n" , task );
@@ -1176,7 +1176,7 @@ int isci_task_abort_task(struct sas_task *task)
1176
1176
ISCI_ABORT_TASK_TIMEOUT_MS );
1177
1177
1178
1178
if (ret != TMF_RESP_FUNC_COMPLETE )
1179
- dev_err (& isci_host -> pdev -> dev ,
1179
+ dev_dbg (& isci_host -> pdev -> dev ,
1180
1180
"%s: isci_task_send_tmf failed\n" ,
1181
1181
__func__ );
1182
1182
}
@@ -1395,7 +1395,7 @@ static int isci_smp_execute_task(struct isci_host *ihost,
1395
1395
1396
1396
if (res ) {
1397
1397
del_timer (& task -> timer );
1398
- dev_err (& ihost -> pdev -> dev ,
1398
+ dev_dbg (& ihost -> pdev -> dev ,
1399
1399
"%s: executing SMP task failed:%d\n" ,
1400
1400
__func__ , res );
1401
1401
goto ex_err ;
@@ -1404,12 +1404,12 @@ static int isci_smp_execute_task(struct isci_host *ihost,
1404
1404
wait_for_completion (& task -> completion );
1405
1405
res = - ECOMM ;
1406
1406
if ((task -> task_state_flags & SAS_TASK_STATE_ABORTED )) {
1407
- dev_err (& ihost -> pdev -> dev ,
1407
+ dev_dbg (& ihost -> pdev -> dev ,
1408
1408
"%s: smp task timed out or aborted\n" ,
1409
1409
__func__ );
1410
1410
isci_task_abort_task (task );
1411
1411
if (!(task -> task_state_flags & SAS_TASK_STATE_DONE )) {
1412
- dev_err (& ihost -> pdev -> dev ,
1412
+ dev_dbg (& ihost -> pdev -> dev ,
1413
1413
"%s: SMP task aborted and not done\n" ,
1414
1414
__func__ );
1415
1415
goto ex_err ;
@@ -1432,7 +1432,7 @@ static int isci_smp_execute_task(struct isci_host *ihost,
1432
1432
res = - EMSGSIZE ;
1433
1433
break ;
1434
1434
} else {
1435
- dev_err (& ihost -> pdev -> dev ,
1435
+ dev_dbg (& ihost -> pdev -> dev ,
1436
1436
"%s: task to dev %016llx response: 0x%x "
1437
1437
"status 0x%x\n" , __func__ ,
1438
1438
SAS_ADDR (dev -> sas_addr ),
@@ -1526,7 +1526,7 @@ static void isci_wait_for_smp_phy_reset(struct isci_remote_device *idev, int phy
1526
1526
tmo = deadline - jiffies ;
1527
1527
1528
1528
if (res ) {
1529
- dev_warn (& ihost -> pdev -> dev ,
1529
+ dev_dbg (& ihost -> pdev -> dev ,
1530
1530
"%s: iteration %d, phase %d:"
1531
1531
" SMP error=%d, time_remaining=%lu\n" ,
1532
1532
__func__ , iteration , phy_state , res , tmo );
@@ -1578,7 +1578,7 @@ static int isci_reset_device(struct isci_host *ihost,
1578
1578
if (status != SCI_SUCCESS ) {
1579
1579
spin_unlock_irqrestore (& ihost -> scic_lock , flags );
1580
1580
1581
- dev_warn (& ihost -> pdev -> dev ,
1581
+ dev_dbg (& ihost -> pdev -> dev ,
1582
1582
"%s: sci_remote_device_reset(%p) returned %d!\n" ,
1583
1583
__func__ , idev , status );
1584
1584
@@ -1619,7 +1619,7 @@ static int isci_reset_device(struct isci_host *ihost,
1619
1619
}
1620
1620
1621
1621
if (status != SCI_SUCCESS ) {
1622
- dev_warn (& ihost -> pdev -> dev ,
1622
+ dev_dbg (& ihost -> pdev -> dev ,
1623
1623
"%s: sci_remote_device_reset_complete(%p) "
1624
1624
"returned %d!\n" , __func__ , idev , status );
1625
1625
}
0 commit comments