/* No notification to libsas because this request is
* already in the abort path.
*/
- dev_warn(&host->pdev->dev,
+ dev_dbg(&host->pdev->dev,
"%s: Aborted - task = %p, response=%d (%d), status=%d (%d)\n",
__func__,
task,
case isci_perform_error_io_completion:
/* Use sas_task_abort */
- dev_warn(&host->pdev->dev,
+ dev_dbg(&host->pdev->dev,
"%s: Error - task = %p, response=%d (%d), status=%d (%d)\n",
__func__,
task,
break;
default:
- dev_warn(&host->pdev->dev,
+ dev_dbg(&host->pdev->dev,
"%s: Unknown - task = %p, response=%d (%d), status=%d (%d)\n",
__func__,
task,
default:
/* Catch any otherwise unhandled error codes here. */
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: invalid completion code: 0x%x - "
"isci_request = %p\n",
__func__, completion_status, request);
status = sci_io_request_construct_smp(dev, ireq, task);
if (status != SCI_SUCCESS)
- dev_warn(&ireq->isci_host->pdev->dev,
+ dev_dbg(&ireq->isci_host->pdev->dev,
"%s: failed with status = %d\n",
__func__,
status);
status = sci_io_request_construct(ihost, idev, request);
if (status != SCI_SUCCESS) {
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: failed request construct\n",
__func__);
return SCI_FAILURE;
status = isci_request_stp_request_construct(request);
break;
default:
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: unknown protocol\n", __func__);
return SCI_FAILURE;
}
status = isci_io_request_build(ihost, ireq, idev);
if (status != SCI_SUCCESS) {
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: request_construct failed - status = 0x%x\n",
__func__,
status);
if (status != SCI_SUCCESS &&
status != SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED) {
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: failed request start (0x%x)\n",
__func__, status);
spin_unlock_irqrestore(&ihost->scic_lock, flags);
/* No notification because this request is already in the
* abort path.
*/
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: Aborted - task = %p, response=%d, "
"status=%d\n",
__func__, task, response, status);
case isci_perform_error_io_completion:
/* Use sas_task_abort */
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: Error - task = %p, response=%d, "
"status=%d\n",
__func__, task, response, status);
break;
default:
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: isci task notification default case!",
__func__);
sas_task_abort(task);
status = sci_controller_start_task(ihost, idev, ireq);
if (status != SCI_TASK_SUCCESS) {
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: start_io failed - status = 0x%x, request = %p\n",
__func__,
status,
* being aborted.
*/
if (status != SCI_SUCCESS) {
- dev_err(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: sci_controller_terminate_request"
" returned = 0x%x\n",
__func__, status);
if (!termination_completed) {
- dev_err(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: *** Timeout waiting for "
"termination(%p/%p)\n",
__func__, io_request_completion,
ret = isci_task_execute_tmf(ihost, idev, &tmf, ISCI_SRST_TIMEOUT_MS);
if (ret != TMF_RESP_FUNC_COMPLETE) {
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: Assert SRST failed (%p) = %x",
__func__, idev, ret);
*/
if (!isci_device ||
isci_device_is_reset_pending(isci_host, isci_device)) {
- dev_warn(&isci_host->pdev->dev,
+ dev_dbg(&isci_host->pdev->dev,
"%s: No dev (%p), or "
"RESET PENDING: domain_device=%p\n",
__func__, isci_device, domain_device);
*/
if ((old_request->status != aborted)
&& (old_request->status != completed))
- dev_err(&old_request->isci_host->pdev->dev,
+ dev_dbg(&old_request->isci_host->pdev->dev,
"%s: Bad request status (%d): tmf=%p, old_request=%p\n",
__func__, old_request->status, tmf, old_request);
break;
break;
default:
- dev_err(&old_request->isci_host->pdev->dev,
+ dev_dbg(&old_request->isci_host->pdev->dev,
"%s: Bad cb_state (%d): tmf=%p, old_request=%p\n",
__func__, cb_state, tmf, old_request);
break;
* SCSI error handler thread to escalate to LUN reset
*/
if (sas_protocol_ata(task->task_proto)) {
- dev_warn(&isci_host->pdev->dev,
+ dev_dbg(&isci_host->pdev->dev,
" task %p is for a STP/SATA device;"
" returning TMF_RESP_FUNC_FAILED\n"
" to cause a LUN reset...\n", task);
ISCI_ABORT_TASK_TIMEOUT_MS);
if (ret != TMF_RESP_FUNC_COMPLETE)
- dev_err(&isci_host->pdev->dev,
+ dev_dbg(&isci_host->pdev->dev,
"%s: isci_task_send_tmf failed\n",
__func__);
}
if (res) {
del_timer(&task->timer);
- dev_err(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: executing SMP task failed:%d\n",
__func__, res);
goto ex_err;
wait_for_completion(&task->completion);
res = -ECOMM;
if ((task->task_state_flags & SAS_TASK_STATE_ABORTED)) {
- dev_err(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: smp task timed out or aborted\n",
__func__);
isci_task_abort_task(task);
if (!(task->task_state_flags & SAS_TASK_STATE_DONE)) {
- dev_err(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: SMP task aborted and not done\n",
__func__);
goto ex_err;
res = -EMSGSIZE;
break;
} else {
- dev_err(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: task to dev %016llx response: 0x%x "
"status 0x%x\n", __func__,
SAS_ADDR(dev->sas_addr),
tmo = deadline - jiffies;
if (res) {
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: iteration %d, phase %d:"
" SMP error=%d, time_remaining=%lu\n",
__func__, iteration, phy_state, res, tmo);
if (status != SCI_SUCCESS) {
spin_unlock_irqrestore(&ihost->scic_lock, flags);
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: sci_remote_device_reset(%p) returned %d!\n",
__func__, idev, status);
}
if (status != SCI_SUCCESS) {
- dev_warn(&ihost->pdev->dev,
+ dev_dbg(&ihost->pdev->dev,
"%s: sci_remote_device_reset_complete(%p) "
"returned %d!\n", __func__, idev, status);
}