[PATCH v1 0/8][SCSI] mpt3sas: Phase2 and Phase3 mpt3sas driver patch set

2014-08-23 Thread Sreekanth Reddy
Just resending the complete Phase2 and Phase3 mpt3sas driver patch set Reviewed by the Martin K. Petersen. This will make easy for Christoph to pick up this patch set for next kernel release. Thanks Martin for reviewing this patch set and helping me for tuning this patch set. Sreekanth Reddy (8

[PATCH v1 5/8][SCSI] mpt3sas: Copyright in driver sources is updated for year the 2014.

2014-08-23 Thread Sreekanth Reddy
Copyright in driver sources is updated for year the 2014. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/Kconfig| 2 +- drivers/scsi/mpt3sas/mpi/mpi2.h | 2 +- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h| 2 +- drivers/scsi/m

[PATCH v1 4/8][SCSI] mpt3sas: MPI2.5 Rev H (2.5.3) specifications

2014-08-23 Thread Sreekanth Reddy
Below is the change set in MPI2.5 Rev H specification and 2.00.32 header files 1) Added reserved fields to IO Unit Page 7 for future use. 2) Added optional functionality to IOCInit Request so that the host may specify a separate base address for each Reply Descriptor Post Queue. IOC support f

[PATCH v1 7/8][SCSI] mpt3sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-23 Thread Sreekanth Reddy
Up to now, Driver allocates a single contiguous block of memory pool for all reply queues and passes down a single address in the ReplyDescriptorPostQueueAddress field of the IOC Init Request Message to the firmware. When firmware receives this address, it will program each of the Reply Descriptor

[PATCH v1 6/8][SCSI] mpt3sas: Added OEM branding Strings

2014-08-23 Thread Sreekanth Reddy
Added following branding Strings for Intel custom HBAs support. Driver String: Vendor ID Device ID SubSystemVendor ID SubSystemDevice ID Intel(R) Integrated RAID Module RMS3JC080 0x1000 0x0097 0x8086 0x352

[PATCH v1 8/8][SCSI] mpt3sas: Bump mpt3sas driver version to 04.100.00.00

2014-08-23 Thread Sreekanth Reddy
Bump mpt3sas driver version to 04.100.00.00. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h

[PATCH v1 3/8][SCSI] mpt3sas: Bump mpt3sas driver version to 03.100.00.00

2014-08-23 Thread Sreekanth Reddy
Bump mpt3sas driver version to 03.100.00.00. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h

[PATCH v1 2/8][SCSI] mpt3sas: Clear PFA Status on SGPIO when PFA Drive is Removed or Replaced

2014-08-23 Thread Sreekanth Reddy
Added code to send an SEP message that turns off the Predictive Failure LED when a drive is removed (if Predictive Failure LED was turned on). Added a new flag 'pfa_led_on' per device that tracks the status of Predictive Failure LED. When the drive is removed, this flag is checked and sends an SEP

[PATCH v1 1/8][SCSI] mpt3sas: MPI2.5 Rev G (2.5.2) specifications

2014-08-23 Thread Sreekanth Reddy
Below is the change set in MPI2.5 Rev G specification and 2.00.31 header files 1) Added SCSIStatusQualifier to SCSI IO Error Reply message. 2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field. 3) Added Allow Protection Information bit for IR Volume Create. Signed-off-by: Sreekanth Redd

[RESEND][PATCH v1 7/8][SCSI] mpt3sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-23 Thread Sreekanth Reddy
Resending this patch once again, since in the previous patch there was a typo mistake in function base_config_dma_addressing at line 16. i.e, it was pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(consistent_dma_mask))) instead of pci_set_consistent_dma_mask(pdev, consistent_dma_mas

Debugging scsi abort handling ?

2014-08-23 Thread Hans de Goede
Hi All, Now that the UAS driver is no longer marked as CONFIG_BROKEN, I'm getting quite a few bug reports about issues with UAS drives. One if the issues is that there might be a number of bugs in the abort handling path, as I don't think that was ever tested properly. So I'm wondering is there

Logging of all scsi commands to a certain target?

2014-08-23 Thread Hans de Goede
Hi, Now that the UAS driver is no longer marked as CONFIG_BROKEN, I'm getting quite a few bug reports about issues with UAS drives. Some of these seem to be related to the scsi core and/or the sd driver sending a command the device does not like. As such I'm wondering if there us a way to get th

Re: [RESEND][PATCH 07/10] [SCSI] mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-08-23 Thread Sreekanth Reddy
Up to now, Driver allocates a single contiguous block of memory pool for all reply queues and passes down a single address in the ReplyDescriptorPostQueueAddress field of the IOC Init Request Message to the firmware. When firmware receives this address, it will program each of the Reply Descriptor

Re: [RESEND][PATCH 08/10] [scsi] mpt2sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2014-08-23 Thread Sreekanth Reddy
Driver initialization fails if driver tries to send IOC facts request message when the IOC is in reset or in a fault state. This patch will make sure that 1.Driver to send IOC facts request message only if HBA is in operational or ready state. 2.If IOC is in fault state, a diagnostic reset wou

Re: Debugging scsi abort handling ?

2014-08-23 Thread Douglas Gilbert
On 14-08-23 10:52 AM, Hans de Goede wrote: Hi All, Now that the UAS driver is no longer marked as CONFIG_BROKEN, I'm getting quite a few bug reports about issues with UAS drives. One if the issues is that there might be a number of bugs in the abort handling path, as I don't think that was ever

Re: Logging of all scsi commands to a certain target?

2014-08-23 Thread Douglas Gilbert
On 14-08-23 10:54 AM, Hans de Goede wrote: Hi, Now that the UAS driver is no longer marked as CONFIG_BROKEN, I'm getting quite a few bug reports about issues with UAS drives. Some of these seem to be related to the scsi core and/or the sd driver sending a command the device does not like. As s

[PATCH v8 0/3] ahci_xgene: Fixes related to APM X-Gene SATA host controller driver.

2014-08-23 Thread Suman Tripathi
This patch set contains a couple of fixes related to APM X-Gene SATA controller driver. v2 Change: 1. Drop the Link down retry patch from this patch set. v4 Change: 1. Drop the patch to fix the csr-mask in dts for PHY clock node of SATA Host Controller 1. 2. Add the patch to correct

[PATCH v8 1/3] arm64: Fix the csr-mask for APM X-Gene SoC AHCI SATA PHY clock DTS node.

2014-08-23 Thread Suman Tripathi
The value of the csr-mask of the SATA PHY clock DTS node has a wrong value resulting a kernel panic as the clock/reset is not proper for the PHY of the SATA host controller 1. This patch fixes the correct csr-mask value of the SATA PHY clock DTS node for the SATA Host controller 1. As the 'ok' is

[PATCH v8 2/3] ahci_xgene: Skip the PHY and clock initialization if already configured by the firmware.

2014-08-23 Thread Suman Tripathi
This patch implements the feature to skip the PHY and clock initialization if it is already configured by the firmware. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 16 1 file changed, 16 insertions(+) diff --git a/drivers/ata/ahci_xgene.c

[PATCH v8 3/3] ahci_xgene: Fix the link down in first attempt for the APM X-Gene SoC AHCI SATA host controller driver.

2014-08-23 Thread Suman Tripathi
This patch addresses two HW erratas as described below by retrying the COMRESET: 1. During speed negotiation, controller is not able to detect ALIGN at GEN3(6Gbps) within 54.6us and results in a timeout. This issue can be recovered by issuing a COMRESET. 2. Although ALIGN detection is successful,

Re: [PATCH v8 2/3] ahci_xgene: Skip the PHY and clock initialization if already configured by the firmware.

2014-08-23 Thread Sergei Shtylyov
Hello. On 08/23/2014 10:37 PM, Suman Tripathi wrote: This patch implements the feature to skip the PHY and clock initialization if it is already configured by the firmware. Signed-off-by: Loc Ho Signed-off-by: Suman Tripathi --- drivers/ata/ahci_xgene.c | 16 1 file cha

Re: [PATCH][SCSI] scsi-mq: fix requests that use a separate CDB buffer

2014-08-23 Thread Douglas Gilbert
On 14-08-22 03:53 PM, Tony Battersby wrote: This patch fixes code such as the following with scsi-mq enabled: rq = blk_get_request(...); blk_rq_set_block_pc(rq); rq->cmd = my_cmd_buffer; /* separate CDB buffer */ blk_execute_rq_nowait(...); Code like this appears in e.g. s

[Bug 81861] Oops by mvsas v0.8.16: sas: ataX: end_device-Y:0:Z: dev error handler -> general protection fault, RIP: mvs_task_prep_ata+0x80/0x3a0

2014-08-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=81861 --- Comment #13 from linux-...@crashplan.pro --- It dies between printing the second and the third variable: [ 30.455440] sas: DONE DISCOVERY on port 0, pid:128, result:0 [ 30.455502] sas: Enter sas_scsi_recover_host busy: 0 failed: 0 [ 30.4

[Bug 81861] Oops by mvsas v0.8.16: sas: ataX: end_device-Y:0:Z: dev error handler -> general protection fault, RIP: mvs_task_prep_ata+0x80/0x3a0

2014-08-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=81861 --- Comment #14 from linux-...@crashplan.pro --- By the way: printk("%d", mvi->tx_prod]); was changed to: printk("%d", mvi->tx_prod); The square bracket after tx_prod was removed. -- You are receiving this mail because: You are watching the a

Re: Debugging scsi abort handling ?

2014-08-23 Thread James Bottomley
On Sat, 2014-08-23 at 16:52 +0200, Hans de Goede wrote: > Hi All, > > Now that the UAS driver is no longer marked as CONFIG_BROKEN, > I'm getting quite a few bug reports about issues with UAS drives. > > One if the issues is that there might be a number of bugs in the > abort handling path, as I

[Bug 81861] Oops by mvsas v0.8.16: sas: ataX: end_device-Y:0:Z: dev error handler -> general protection fault, RIP: mvs_task_prep_ata+0x80/0x3a0

2014-08-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=81861 --- Comment #15 from linux-...@crashplan.pro --- Created attachment 147881 --> https://bugzilla.kernel.org/attachment.cgi?id=147881&action=edit Ubuntu Linux/x86_64 3.13.0-35-generic Kernel Configuration This kernel configuration was used to buil