All of lore.kernel.org
 help / color / mirror / Atom feed
From: Raghava Aditya Renukunta <RaghavaAditya.Renukunta@pmcs.com>
To: James.Bottomley@HansenPartnership.com,
	martin.petersen@oracle.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,
	shane.seymour@hpe.com, RaghavaAditya.Renukunta@pmcs.com
Subject: [PATCH V5 06/10] aacraid: Fundamental reset support for Series 7
Date: Tue, 2 Feb 2016 16:58:04 -0800	[thread overview]
Message-ID: <1454461088-32482-7-git-send-email-RaghavaAditya.Renukunta@pmcs.com> (raw)
In-Reply-To: <1454461088-32482-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

Changes in V3:
None

Changes in V4:
None

Changes in V5:
None

Signed-off-by: Raghava Aditya Renukunta <raghavaaditya.renukunta@pmcs.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Reviewed-by: Tomas Henzl <thenzl@redhat.com>
---
 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 5117220..48e2a79 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


  parent reply	other threads:[~2016-02-03  0:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-03  0:57 [PATCH V5 00/10] aacraid: Patchset for aacraid driver version 41052 Raghava Aditya Renukunta
2016-02-03  0:57 ` [PATCH V5 01/10] aacraid: SCSI blk tag support Raghava Aditya Renukunta
2016-02-03  0:58 ` [PATCH V5 02/10] aacraid: Fix RRQ overload Raghava Aditya Renukunta
2016-02-03  0:58 ` [PATCH V5 03/10] aacraid: Added EEH support Raghava Aditya Renukunta
2016-02-03  0:58 ` [PATCH V5 04/10] aacraid: Fix memory leak in aac_fib_map_free Raghava Aditya Renukunta
2016-02-03  0:58 ` [PATCH V5 05/10] aacraid: Set correct msix count for EEH recovery Raghava Aditya Renukunta
2016-02-03  0:58 ` Raghava Aditya Renukunta [this message]
2016-02-03  0:58 ` [PATCH V5 07/10] aacraid: Created new mutex for ioctl path Raghava Aditya Renukunta
2016-02-03  7:35   ` kbuild test robot
2016-02-03 10:37   ` Tomas Henzl
2016-02-03 22:49     ` Raghava Aditya Renukunta
2016-02-03  0:58 ` [PATCH V5 08/10] aacraid: Fix AIF triggered IOP_RESET Raghava Aditya Renukunta
2016-02-03 10:54   ` Tomas Henzl
2016-02-03 22:50     ` Raghava Aditya Renukunta
2016-02-03  0:58 ` [PATCH V5 09/10] aacraid: Fix character device re-initialization Raghava Aditya Renukunta
2016-02-03  0:58 ` [PATCH V5 10/10] aacraid: Update driver version 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=1454461088-32482-7-git-send-email-RaghavaAditya.Renukunta@pmcs.com \
    --to=raghavaaditya.renukunta@pmcs.com \
    --cc=Gana.Sridaran@pmcs.com \
    --cc=James.Bottomley@HansenPartnership.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=martin.petersen@oracle.com \
    --cc=shane.seymour@hpe.com \
    --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 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.