Print firmware event in readable format. This will help user to track any
critical firmware event without any application support.
sample syslogd output -
megaraid_sas :02:00.0: 8619 (491648347s/0x0020/WARN) - Controller
temperature threshold exceeded. This may indicate inadequate system
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas.h
Some of the code changes was proposed by David Binderman
Removed redudant check of requestorId. Redundant condition:
instance.requestorId.
Check for plasma firmware 1.11 or new restructured to support only for specific
device id
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Syncro firmware supports round robin IO switch on dual path. For this driver
use validHandles as a check for dual path. This check suppose to be 1 (not
2)
Without this patch, earlier driver code does not use dual path functionality.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Implemented JBOD map which will provide quick access for JBOD path and also
provide sequence number.
This will help hardware to fail command to the FW in case of any sequence
mismatch.
Fast Path IO for JBOD will refer JBOD map (which has sequence number per JBOD
devices)
instead of Raid map.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Reviewed-by: Martin Petersen martin.peter...@oracle.com
---
drivers/scsi/megaraid/megaraid_sas_base.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git
Patch which fix the issue reported as below.
http://marc.info/?l=linux-scsim=143694494104544w=2
This patch will try to do chip reset from driver load time.
Driver load time, if firmware is not comming to ready state, driver try chip
reset calling
adp_reset() callback. For fusion adapter, that
Driver will expose max sge = 256 (earlier it was 64), if firmware support
extended IO size upto 1M.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Reviewed-by: Martin Petersen martin.peter...@oracle.com
---
MegaRaid driver changes. This patch set is resent based on feedback received by
Martin Petersen.
Please consider this patch set for next kernel release.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
[PATCH v2 00/10]
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Reviewed-by: Martin Petersen martin.peter...@oracle.com
---
drivers/scsi/megaraid/megaraid_sas.h| 18 ++
drivers/scsi/megaraid/megaraid_sas_fusion.h |3 ++-
Implemented JBOD map which will provide quick access for JBOD path and also
provide sequence number.
This will help hardware to fail command to the FW in case of any sequence
mismatch.
Fast Path IO for JBOD will refer JBOD map (which has sequence number per JBOD
devices)
instead of Raid map.
Print firmware event in readable format. This will help user to track any
critical firmware event without any application support.
sample syslogd output -
megaraid_sas :02:00.0: 8619 (491648347s/0x0020/WARN) - Controller
temperature threshold exceeded. This may indicate inadequate system
MegaRaid driver changes.
Please consider this patch set for next kernel release.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
[PATCH 00/07] megaraid_sas : Updates for scsi for-next
[PATCH 01/07] megaraid_sas : Jbod sequence
Syncro firmware support round robin IO switch on dual path. For this driver
use validHandles as a check for dual path. This check suppose to be 1 (not
2)
Without this patch, earlier driver code does not use dual path functionality.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Patch which fix the issue reported as below.
http://marc.info/?l=linux-scsim=143694494104544w=2
This patch will try to do chip reset from driver load time.
Driver load time, if firmware is not comming to ready state, driver try chip
reset calling
adp_reset() callback. For fusion adapter, that
Some of the code changes was proposed by David Binderman
Removed redudant check of requestorId. Redundant condition:
instance.requestorId.
Check for plasma firmware 1.11 or new restructured to support only for specific
device id
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
diff --git a/megaraid_sas.h b/megaraid_sas.h
index ccda60d..b1c605f 100644
--- a/megaraid_sas.h
+++ b/megaraid_sas.h
@@ -35,8 +35,8 @@
/*
* MegaRAID SAS Driver meta data
*/
Driver will expose max sge = 256 (earlier it was 64), if firmware support
extended IO size upto 1M.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
diff --git a/megaraid_sas.h b/megaraid_sas.h
index 45500ba..5db31c6 100644
---
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas.h| 10 +++---
drivers/scsi/megaraid/megaraid_sas_base.c | 18 ++
drivers/scsi/megaraid/megaraid_sas_fusion.c |7 +++
3 files changed, 32 insertions(+), 3
From:Tomas Henzlthe...@redhat.com
This fixes a regression caused by commit
d3557fc8be11d25f316884581f487684f8e7dad3
megaraid_sas : Add separate function for setting up IRQs This makes boot end
with 'root does not exist' message on certain adapters.
The bug is that the driver does not setup ints
This patch will update module parameters and driver name inside SCSI host
template to reflect Avago.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
Reviewed-by: Tomas Henzl the...@redhat.com
---
drivers/scsi/megaraid/megaraid_sas_base.c |6
This patch will create separate functions for sysPD IOs and non Read/Write
LDIOs.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Tomas Henzl the...@redhat.com
Reviewed-by: Christoph Hellwig h...@lst.de
---
This patch will move internal commands and SCSI commands reservation in
adapter's sepcific functions.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
---
Add noop conversions for all ones to make sparse happy.
From: Christoph Hellwig h...@lst.de
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
Reviewed-by: Tomas Henzl the...@redhat.com
---
This adds endianness annotations to all data structures, and a few
variables directly referencing them.
From: Christoph Hellwig h...@lst.de
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
Reviewed-by:
Converting structure fields in place is always a bad idea, and in this case
by moving it into the only caller we also only have to do a single byte
swap as most fields of this structure are never used.
From: Christoph Hellwig h...@lst.de
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by:
drivers/scsi/megaraid/megaraid_sas_base.c:1701:6: sparse: symbol
'megasas_complete_outstanding_ioctls' was not declared. Should it be static?
From: Christoph Hellwig h...@lst.de
Signed-off-by: Fengguang Wu fengguang...@intel.com
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Sumit
From: Christoph Hellwig h...@lst.de
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
Reviewed-by: Tomas Henzl the...@redhat.com
---
drivers/scsi/megaraid/megaraid_sas.h |2 +-
From: Christoph Hellwig h...@lst.de
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
Reviewed-by: Tomas Henzl the...@redhat.com
---
drivers/scsi/megaraid/megaraid_sas_fusion.c |4 +++-
1 files
Swap the whole 32 bits we read from the hardware instead of swapping
just the 16bits we care about in place later.
From: Christoph Hellwig h...@lst.de
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
The fusion HBAs don't really use the instance template like the other
variants, as it branches off at a much higher level. So instead of
trying to squeeze megasas_fire_cmd_fusion into the wrong calling
convention call it locally with argument data types that match what
is passed.
From: Christoph
From: Christoph Hellwig h...@lst.de
Signed-off-by: Christoph Hellwig h...@lst.de
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
Reviewed-by: Tomas Henzl the...@redhat.com
---
drivers/scsi/megaraid/megaraid_sas_base.c | 46
This patch will create separate functions for- 1) setting up IRQs for MSI-x
interrupts 2) setting up IRQs for legacy interrupts 3) freeing up IRQs.
and enable interrupts after adapter's initialization. The reason behind
initialising adapter earlier is: by that time firmware is operational
and
These patches have accomodated comments/feedback received on last sent patch
series.
Please consider this patch series for next release.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
[PATCH v3 0/18] megaraid_sas : Description Patch.
[PATCH v3 1/18] megaraid_sas : Add separate
This patch will update few prints.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
---
drivers/scsi/megaraid/megaraid_sas_base.c | 49 ++---
1 files changed, 24 insertions(+), 25 deletions(-)
diff --git
megaraid_sas driver will use block layer provided tag for indexing internal MPT
frames to get any unique MPT frame tied with tag.
Each IO request submitted from SCSI mid layer will get associated MPT frame
from MPT framepool (retrieved and return back using spinlock
inside megaraid_sas driver's
This patch will add separate function for refiring MFI commands in Fusion
adapters's OCR code.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Reviewed-by: Hannes Reinecke h...@suse.de
Reviewed-by: Christoph Hellwig h...@lst.de
---
This patch will upgrade the driver version and add back the release date and
sysfs hook for the same.
Some internal applications uses sysfs parameter for release date, so they were
broken because of removal
of release date from sysfs.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
This patch will add support for Single Server High Availability(SSHA) cluster
support.
Here is the short decsription of changes done to add support for SSHA-
1) Host will send system's Unique ID based on DMI_PRODUCT_UUID to firmware.
2) Toggle the devhandle in LDIO path for Remote LDs.
This patch series for megaraid_sas driver is resent with splitting one patch in
to 5 different patches(patch #1 to patch #5) along with few extra sparse
warnings fixes (patch#10 to patch #18). These sparse warnings fixes are also
not first time submitted but resent(earlier sent by Christoph
Add noop conversions for all ones to make sparse happy.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
drivers/scsi/megaraid/megaraid_sas_fp.c |7 ---
drivers/scsi/megaraid/megaraid_sas_fusion.c |9 +
3 files
This adds endianness annotations to all data structures, and a few
variables directly referencing them.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas.h| 302 +-
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
This patch will update few prints.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c | 49 ++---
1 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
This patch will add separate function for refiring MFI commands in Fusion
adapters's OCR code.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_fusion.c | 80 +--
1
This patch will create separate functions for sysPD IOs and non Read/Write
LDIOs.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas.h| 10 +-
drivers/scsi/megaraid/megaraid_sas_base.c
This patch will update module parameters and driver name inside SCSI host
template to reflect Avago.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git
This patch will create separate function for setting up IRQs and enable
interrupts after adapter's initialization.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c | 201
megaraid_sas driver will use block layer provided tag for indexing internal MPT
frames to get any unique MPT frame tied with tag.
Each IO request submitted from SCSI mid layer will get associated MPT frame
from MPT framepool (retrieved and return back using spinlock
inside megaraid_sas driver's
This patch will move controller's queue depth calculation in adapter specific
functions.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c | 39 ++
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_base.c | 46 +++-
1 files changed, 25 insertions(+), 21 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
b/drivers/scsi/megaraid/megaraid_sas_base.c
index
Swap the whole 32 bits we read from the hardware instead of swapping
just the 16bits we care about in place later.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_base.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git
drivers/scsi/megaraid/megaraid_sas_base.c:1701:6: sparse: symbol
'megasas_complete_outstanding_ioctls' was not declared. Should it be static?
Signed-off-by: Fengguang Wu fengguang...@intel.com
---
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
1 files changed, 1 insertions(+), 1
This patch will create separate functions for sysPD IOs and non Read/Write
LDIOs.
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas.h| 10 +-
drivers/scsi/megaraid/megaraid_sas_base.c
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_fusion.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c
b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 7d34fe8..17ec153 100644
---
Converting structure fields in place is always a bad idea, and in this case
by moving it into the only caller we also only have to do a single byte
swap as most fields of this structure are never used.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas_base.c |
This patch will upgrade the driver version and add back the release date and
sysfs hook for the same.
Some internal applications uses sysfs parameter for release date, so they were
broken because of removal
of release date from sysfs.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
This patch will add support for Single Server High Availability(SSHA) cluster
support.
Here is the short decsription of changes done to add support for SSHA-
1) Host will send system's Unique ID based on DMI_PRODUCT_UUID to firmware.
2) Toggle the devhandle in LDIO path for Remote LDs.
Signed-off-by: Christoph Hellwig h...@lst.de
---
drivers/scsi/megaraid/megaraid_sas.h |2 +-
drivers/scsi/megaraid/megaraid_sas_base.c |9 +
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas.h
The fusion HBAs don't really use the instance template like the other
variants, as it branches off at a much higher level. So instead of
trying to squeeze megasas_fire_cmd_fusion into the wrong calling
convention call it locally with argument data types that match what
is passed.
Signed-off-by:
This patch has code optimization and refactoring in below areas-
1) Created separate functions for sysPD IOs and non Read Write LDIOs.
2) Added function for refiring MFI commands in controller reset path.
3) Enabling interrupt immediately after adapter's initialization.
4) Added function for
megaraid_sas driver changes.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
[PATCH 0/5] megaraid_sas : Description Patch.
[PATCH 1/5] megaraid_sas : Code optimization and refactoring.
[PATCH 2/5] megaraid_sas : Use Block layer tag support for internal command
indexing.
[PATCH 3/5]
This patch will add support for Single Server High Availability(SSHA) cluster
support.
Here is the short decsription of changes done to add support for SSHA-
1) Host will send system's Unique ID based on DMI_PRODUCT_UUID to firmware.
2) Toggle the devhandle in LDIO path for Remote LDs.
This patch will update module parameters and driver name inside SCSI host
template to reflect Avago.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git
This patch will upgrade the driver version and add back the release date and
sysfs hook for the same.
Some Avago's internal applications uses sysfs parameter of release date, so
they were broken because of removal
of release date from sysfs.
Signed-off-by: Sumit Saxena
megaraid_sas driver will use block layer provided tag for indexing internal MPT
frames to get any unique MPT frame tied with tag.
Each IO request submitted from SCSI mid layer will get associated MPT frame
from MPT framepool (retrieved and return back using spinlock
inside megaraid_sas driver's
1)For fusion adapters, limited reserved frames for non SCSI commands to 8(3 for
parallel IOCTLs + 5 for driver's internal DCMDs).
Earlier reserved commands for non SCSI IO frames was set to 32, so with this
implementation, increased per controller
can_queue. Behavior of MFI controllers will
This patch addresses below issues-
1) Few endianness bug fixes.
2) Break the iteration after (MAX_LOGICAL_DRIVES_EXT - 1)), instead of
MAX_LOGICAL_DRIVES_EXT.
3) Optimization in MFI INIT frame before firing.
4) MFI IO frame should be 256bytes aligned. Code is optimized to reduce the
size of
This patch will address the issue of SCSI device created at OS level for non
existing VD. ldTgtIdtoLd[] array has size 256
for Extended VD firmware and 128 for legacy firmware. Accessing indices beyond
array size(OS will send TUR, INQUIRY.. commands
upto device index 255), may return valid LD
Update driver mask_interrupts before enable/disable hardware interrupt in
order to avoid missing interrupts because of mask_interrupts still set to 1
and hardware interrupts are
enabled.
Cc: sta...@vger.kernel.org
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Chaitra
Driver calls megasas_complete_cmd() to call wake_up() for each MFI frame that
was issued through the ioctl() interface prior to the kill adapter.
This ensures userspace ioctl() system calls issued just before a kill adapter
don't get stuck in wait state and IOCTLs are returned to application.
This patch will add support for Secure Encrypting Drives(SED) in JBOD mode.
below are the key points-
1) If Firmware supports SED JBOD, all non Read Write commands to JBODs will be
sent via Firmware path and Read write commands to JBOD will be sent via
fastpath.
2) If firmware does not
Update megaraid_sas driver version.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas.h |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas.h
b/drivers/scsi/megaraid/megaraid_sas.h
index
megaraid_sas driver changes.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
[PATCH 0/8] megaraid_sas : Description Patch.
[PATCH 1/8] megaraid_sas : Endianness related bug fixes and code optimization.
[PATCH 2/8] megaraid_sas : Support for secure JBOD.
[PATCH 3/8] megaraid_sas : Fix
Do not process any SCSI and IOCTL command further(return them with appropriate
return values to callers),
while driver removal is in progress/PCI shutdown is invoked.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
Update MAINTAINERS list and copyright information for megaraid_sas driver.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
MAINTAINERS |9 ++---
drivers/scsi/megaraid/megaraid_sas.h| 16 +---
In OCR(Online Controller Reset) path, driver sets adapter state to
MEGASAS_HBA_OPERATIONAL before getting new RAID map.
There will be a small window where IO will come from OS with old RAID map.
This patch will update adapter state to MEGASAS_HBA_OPERATIONAL, only after
driver has new RAID map
megaraid_sas driver changes.
This resent patch series has some additional changes in few patches on top of
last patch series.
[PATCH RESNED 1/7] additionally rmeoves some meta data of megaraid_sas driver.
[PATCH RESEND 2/7] has additional copyright changes as well.
Please consider this patch set
In OCR(Online Controller Reset) path, driver sets adapter state to
MEGASAS_HBA_OPERATIONAL before getting new RAID map.
There will be a small window where IO will come from OS with old RAID map.
This patch will update adapter state to MEGASAS_HBA_OPERATIONAL, only after
driver has new RAID map
Corrected wait_event() call which was waiting for wrong completion status(0xFF).
Cc: sta...@vger.kernel.org
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
1 files changed, 1
This patch addresses few endianness related bug fixes.
Cc: sta...@vger.kernel.org
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_fp.c | 17 +
megaraid_sas driver version upgrade
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas.h | 2 +-
drivers/scsi/megaraid/megaraid_sas_base.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas.h
Update MAINTAINERS list for megaraid_sas driver
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
---
MAINTAINERS | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index aefa948..94c393f 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@
This patch provides driver compatibility for updating firmware online to
upgrade legacy(64 VD) firmware to Extended VD firmware
and viceversa. Currently, at driver load time only, driver will check whether
Firmware is legacy or 240 VD. If legacy Firmware is
upgraded to Extended VD firmware
Corrected wait_event() call which was waiting for wrong completion status(0xFF).
Cc: sta...@vger.kernel.org
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
1 files changed, 1
In OCR(Online Controller Reset) path, driver sets adapter state to
MEGASAS_HBA_OPERATIONAL before getting new RAID map.
There will be a small window where IO will come from OS with old RAID map.
This patch will update adapter state to MEGASAS_HBA_OPERATIONAL, only after
driver has new RAID map
This patch addresses few endianness related bug fixes.
Cc: sta...@vger.kernel.org
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
drivers/scsi/megaraid/megaraid_sas_fp.c | 17 +
megaraid_sas driver changes.
Please consider this patch set for next kernel release.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
[PATCH 0/7] megaraid_sas : Description Patch
[PATCH 1/7] megaraid_sas : Driver version upgrade
Do not process any SCSI and IOCTL command further(return them with appropriate
return values to callers),
while driver removal is in progress/PCI shutdown is invoked.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
---
MegaRaid driver changes.
Please consider this patch set for next kernel release.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Reviewed-by: Tomas Henzl the...@redhat.com
---
[PATCH RESEND 00/11] megaraid_sas : Description Patch
Resending the patch. Addressed the review comments from Tomas Henzl.
Current driver does fast path read load balancing between arm and mirror disk
for two Drive Raid-1 configuration only.
Now, Driver support fast path read load balancing for all (any number of disk)
Raid-1 configuration.
Resending the patch. Addressed the review comments from Tomas Henzl.
Current driver allow device scan for all the devices on channel 0 and 1.
E.a If we have two single drive raid volumes, we may see prints like below.
First two prints are for physical device which are used to form VD.
Prints
Resending the patch. Addressed the review comments from Tomas Henzl.
For certain deployment, we may need to disable irq cpu affinity hint.
This module parameter provides option for use to disable irq cpu affinity hint
and allow irqbalancer to handle the rest.
Signed-off-by: Sumit Saxena
Resending the patch. Addressed the review comments from Tomas Henzl.
Reduce the assingment for u64 req_data variable.
Use writeq() for 64bit PCI write instead of writel() to avoid additional lock
overhead.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai
Resending the patch. Addressed the review comments from Tomas Henzl.
Current driver updates reply post host index to let firmware know that replies
are processed,
while returning from ISR function, only if there is no oustanding replies in
reply queue.
Driver will free the request frame
Resending the patch. Addressed the review comments from Tomas Henzl.
Move buff_offset inside spinlock, corrected loop at crash dump buffer free,
reset_devices check is added to disable fw crash dump feature in kdump kernel.
This feature will provide similar interface as kernel crash dump
Resending the patch. Addressed the review comments from Tomas Henzl.
Megaraid_sas driver can now work in host lock less mode.
Remove host lock less as megaraid_sas driver will have safer access to raid map
as described in earlier patch.
We now keep Driver Raid map copy, which will make sure
Resending the patch. Addressed the review comments by Tomas Henzl.
Driver version upgrade patch.
Signed-off-by: Sumit Saxena sumit.sax...@avagotech.com
Signed-off-by: Kashyap Desai kashyap.de...@avagotech.com
Reviewed-by: Tomas Henzl the...@redhat.com
---
drivers/scsi/megaraid/megaraid_sas.h
Resending the patch. Addressed the review comments from Tomas Henzl.
Added comment for to-do work.
Problem statement:
MFI link list in megaraid_sas driver is used from mfi-mpt pass-through
commands.
This list can be corrupted due to many possible race conditions in driver and
eventually we may
Resending the patch. Addressed the review comments from Tomas Henzl.
Round down the max sge to power of two.
Earlier max sge limit is 70 SGE, which will allow block layer to send 280K IO
frame.
It is optimal to provide max IO size aligned to the smallest possible stripe
size.
E.a
Consider
Resending the patch. Addressed the review comments from Tomas Henzl.
reserved1 field(part of union) of Raid map struct was not required so it is
removed.
Current MegaRAID firmware and hence the driver only supported 64VDs.
E.g: If the user wants to create more than 64VD on a controller,
it
1 - 100 of 130 matches
Mail list logo