From: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@pmcs.com>
To: JBottomley@odin.com, linux-scsi@vger.kernel.org
Cc: Mahesh.Rajashekhara@pmcs.com, Murthy.Bhat@pmcs.com,
Gana.Sridaran@pmcs.com, aacraid@pmc-sierra.com,
Scott.Benesh@pmcs.com, jthumshirn@suse.de, thenzl@redhat.com,
David.Carroll@pmcs.com, RaghavaAditya.Renukunta@pmcs.com
Subject: [PATCH V2 6/9] aacraid: Fundamental reset support for Series 7
Date: Wed, 6 Jan 2016 23:22:21 -0800 [thread overview]
Message-ID: <1452151344-417-7-git-send-email-RaghavaAditya.Renukunta@pmcs.com> (raw)
In-Reply-To: <1452151344-417-1-git-send-email-RaghavaAditya.Renukunta@pmcs.com>
From: Raghava Aditya Renukunta <raghavaaditya.renukunta@pmcs.com>
Series 7 does not support PCI hot reset used by EEH.
Enabled fundamental reset only for Series 7
Changes in V2:
None
Signed-off-by: Raghava Aditya Renukunta <raghavaaditya.renukunta@pmcs.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
---
drivers/scsi/aacraid/linit.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index 6d79181..6944560 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -1135,6 +1135,12 @@ static int aac_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
u64 dmamask;
extern int aac_sync_mode;
+ /*
+ * Only series 7 needs freset.
+ */
+ if (pdev->device == PMC_DEVICE_S7)
+ pdev->needs_freset = 1;
+
list_for_each_entry(aac, &aac_devices, entry) {
if (aac->id > unique_id)
break;
--
1.9.1
next prev parent reply other threads:[~2016-01-06 23:12 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-07 7:22 [PATCH V2 0/9] aacraid: Patchset for aacraid driver version 41052 Raghava Aditya Renukunta
2016-01-07 7:22 ` [PATCH V2 1/9] aacraid: SCSI blk tag support Raghava Aditya Renukunta
2016-01-07 7:22 ` [PATCH V2 2/9] aacraid: Fix RRQ overload Raghava Aditya Renukunta
2016-01-07 7:22 ` [PATCH V2 3/9] aacraid: Added EEH support Raghava Aditya Renukunta
2016-01-09 23:23 ` kbuild test robot
2016-01-07 7:22 ` [PATCH V2 4/9] aacraid: Fix memory leak in aac_fib_map_free Raghava Aditya Renukunta
2016-01-07 7:22 ` [PATCH V2 5/9] aacraid: Set correct msix count for EEH recovery Raghava Aditya Renukunta
2016-01-08 5:00 ` Seymour, Shane M
2016-01-07 7:22 ` Raghava Aditya Renukunta [this message]
2016-01-07 7:22 ` [PATCH V2 7/9] aacraid: Fix AIF triggered IOP_RESET Raghava Aditya Renukunta
2016-01-08 5:57 ` Seymour, Shane M
2016-01-08 23:37 ` Raghava Aditya Renukunta
2016-01-07 7:22 ` [PATCH V2 8/9] aacraid: Fix character device re-initialization Raghava Aditya Renukunta
2016-01-08 6:42 ` Seymour, Shane M
2016-01-07 7:22 ` [PATCH V2 9/9] aacraid: Update driver version Raghava Aditya Renukunta
-- strict thread matches above, loose matches on Subject: below --
2015-12-10 18:45 [PATCH V2 0/9] aacraid: Patchset for aacraid driver version 41052 Raghava Aditya Renukunta
2015-12-10 18:45 ` [PATCH v2 6/9] aacraid: Fundamental reset support for Series 7 Raghava Aditya Renukunta
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=1452151344-417-7-git-send-email-RaghavaAditya.Renukunta@pmcs.com \
--to=raghavaaditya.renukunta@pmcs.com \
--cc=David.Carroll@pmcs.com \
--cc=Gana.Sridaran@pmcs.com \
--cc=JBottomley@odin.com \
--cc=Mahesh.Rajashekhara@pmcs.com \
--cc=Murthy.Bhat@pmcs.com \
--cc=Scott.Benesh@pmcs.com \
--cc=aacraid@pmc-sierra.com \
--cc=jthumshirn@suse.de \
--cc=linux-scsi@vger.kernel.org \
--cc=thenzl@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).