From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: Anand <anandkumar_santhanam@pmc-sierra.com>
Cc: linux-scsi@vger.kernel.org, sakthivel.sk@hcl.com,
Sangeetha.Gnanasekaran@pmcs.com, xjtuwjp@gmail.com,
Harry.Yang@pmcs.com, Rich.Bono@pmcs.com,
Vishwanath.Maram@pmcs.com
Subject: Re: [PATCH V5 11/12] pm80xx: NCQ error handling changes
Date: Mon, 06 May 2013 23:06:43 -0700 [thread overview]
Message-ID: <1367906803.1868.73.camel@dabdike> (raw)
In-Reply-To: <5187DBC6.40307@pmc-sierra.com>
On Mon, 2013-05-06 at 09:35 -0700, Anand wrote:
> >From 2738e0b59fe103a363b0ea600b3eccc687a7fa3c Mon Sep 17 00:00:00 2001
> From: Sakthivel K <Sakthivel.SaravananKamalRaju@pmcs.com>
> Date: Tue, 19 Mar 2013 18:08:08 +0530
> Subject: [PATCH V5 11/12] pm80xx: NCQ error handling changes
>
> Handled NCQ errors in the low level driver as the FW
> is not providing the faulty tag for NCQ errors for libsas
> to recover.
>
> Signed-off-by: Anand Kumar S <AnandKumar.Santhanam@pmcs.com>
> Acked-by: Jack Wang <jack_wang@usish.com>
> Reviewed-by: Hannes Reinecke <hare@suse.de>
> ---
> drivers/scsi/pm8001/pm8001_hwi.c | 270 ++++++++++++++++++++++++++++++++++++--
> drivers/scsi/pm8001/pm8001_sas.c | 22 +++-
> drivers/scsi/pm8001/pm8001_sas.h | 15 ++-
> drivers/scsi/pm8001/pm80xx_hwi.c | 262 +++++++++++++++++++++++++++++++++++--
> drivers/scsi/pm8001/pm80xx_hwi.h | 1 +
> 5 files changed, 543 insertions(+), 27 deletions(-)
>
> diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi/pm8001/pm8001_hwi.c
> index 265dbf4..a90c002 100644
> --- a/drivers/scsi/pm8001/pm8001_hwi.c
> +++ b/drivers/scsi/pm8001/pm8001_hwi.c
> @@ -1707,6 +1707,123 @@ int pm8001_handle_event(struct pm8001_hba_info *pm8001_ha, void *data,
> return ret;
> }
>
> +static void pm8001_send_abort_all(struct pm8001_hba_info *pm8001_ha,
> + struct pm8001_device *pm8001_ha_dev)
> +{
> + int res;
> + u32 ccb_tag;
> + struct pm8001_ccb_info *ccb;
> + struct sas_task *task = NULL;
> + struct task_abort_req task_abort;
> + struct inbound_queue_table *circularQ;
> + u32 opc = OPC_INB_SATA_ABORT;
> + int ret;
> +
> + if (!pm8001_ha_dev) {
> + PM8001_FAIL_DBG(pm8001_ha, pm8001_printk("dev is null \n"));
This space before a \n is quite a pattern with you. Please don't do it
because it can lead to odd problems with logging. I fixed it up this
time.
Thanks,
James
next prev parent reply other threads:[~2013-05-07 6:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-06 16:35 [PATCH V5 11/12] pm80xx: NCQ error handling changes Anand
2013-05-07 6:06 ` James Bottomley [this message]
2013-05-07 11:14 ` Anand Kumar Santhanam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1367906803.1868.73.camel@dabdike \
--to=james.bottomley@hansenpartnership.com \
--cc=Harry.Yang@pmcs.com \
--cc=Rich.Bono@pmcs.com \
--cc=Sangeetha.Gnanasekaran@pmcs.com \
--cc=Vishwanath.Maram@pmcs.com \
--cc=anandkumar_santhanam@pmc-sierra.com \
--cc=linux-scsi@vger.kernel.org \
--cc=sakthivel.sk@hcl.com \
--cc=xjtuwjp@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.