[PATCH v6 4/4] arm64: Add APM X-Gene SoC SATA host controller DTS entries

2013-12-11 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 84 1 files changed, 84 insertions(+), 0 deletions(-) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dt

[PATCH v6 3/4] ata: Add APM X-Gene SoC SATA host controller driver

2013-12-11 Thread Loc Ho
This patch adds support for the APM X-Gene SoC SATA host controller driver. It requires the corresponding APM X-Gene SoC PHY driver. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/Kconfig |8 + drivers/ata/Makefile |1 + drivers/at

[PATCH v6 2/4] Documentation: Add documentation for APM X-Gene SoC SATA host controller DTS binding

2013-12-11 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene.txt | 68 1 files changed, 68 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/apm-xgene.txt diff --git

[PATCH v6 1/4] ata: Export required functions by APM X-Gene SATA driver

2013-12-11 Thread Loc Ho
This patch exports functions required by APM X-Gene SoC SATA host controller driver to avoid duplication of code. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- drivers/ata/ahci.h|9 + drivers/ata/libahci.c | 16 ++-- 2 files chan

[PATCH v6 0/4] ata: Add APM X-Gene SoC SATA host controller support

2013-12-11 Thread Loc Ho
This patch adds support for the APM X-Gene SoC SATA host controller. In order for the host controller to work, the corresponding PHY driver musts also be available. v6: * Update binding documentation * Change select PHY_XGENE_SATA to PHY_XGENE * Add ULL to constants * Change indentation and co

[PATCH v4 2/4] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2013-12-11 Thread Loc Ho
Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- .../devicetree/bindings/ata/apm-xgene-phy.txt | 89 1 files changed, 89 insertions(+), 0 deletions(-) create mode 100644 Documentation/devicetree/bindings/ata/apm-xgene-phy.txt diff --

[PATCH v4 4/4] arm64: Add APM X-Gene SoC 15Gbps Multi-purpose PHY DTS entries

2013-12-11 Thread Loc Ho
This patch adds the DTS entries for the APM X-Gene SoC 15Gbps Multi-purpose PHY driver. The PHY for SATA controller 0 and 1 are enabled by default. Signed-off-by: Loc Ho Signed-off-by: Tuan Phan Signed-off-by: Suman Tripathi --- arch/arm64/boot/dts/apm-storm.dtsi | 31 +++

[PATCH v4 1/4] PHY: Add function set_speed to generic PHY framework

2013-12-11 Thread Loc Ho
This patch adds function set_speed to the generic PHY framework operation structure. This function can be called to instruct the PHY underlying layer at specified lane to configure for specified speed in hertz. Signed-off-by: Loc Ho --- drivers/phy/phy-core.c | 21 + inclu

[no subject]

2013-12-11 Thread Loc Ho
This patch adds support for APM X-Gene SoC 15Gbps Multi-purpose PHY. This is the physical layer interface for the corresponding host controller. This driver uses the new PHY generic framework posted by Kishon Vijay Abrahm. In addition, the new PHY generic framework is patched to provide an function

Re: [PATCH] iscsi_target: race condition on shutdown

2013-12-11 Thread Hannes Reinecke
On 12/12/2013 12:44 AM, Nicholas A. Bellinger wrote: > Hi Hannes, > > Btw, apologies for the delayed response on this.. Comments are below. > > On Thu, 2013-12-05 at 14:54 +0100, Hannes Reinecke wrote: >> When shutting down a target there is a race condition between >> iscsit_del_np() and __iscs

Re: [PATCH] virtio-scsi: Fix hotcpu_notifier use-after-free with virtscsi_freeze

2013-12-11 Thread Jason Wang
On 10/28/2013 04:01 PM, Asias He wrote: > vqs are freed in virtscsi_freeze but the hotcpu_notifier is not > unregistered. We will have a use-after-free usage when the notifier > callback is called after virtscsi_freeze. > > Signed-off-by: Asias He > --- > drivers/scsi/virtio_scsi.c | 15 +

Re: qla2xxx: kernel oops with ql2xmultique_tag=1

2013-12-11 Thread Saurav Kashyap
Hi Bart, We are looking into it. Thanks, ~Saurav >Hello, > >Apparently trying to load the qla2xxx kernel module with parameter >ql2xmultique_tag=1 triggers a kernel oops. This is 100% reproducible >with at least kernel versions 3.11.8 and 3.13-rc3. Has anybody else >run into this before ? > >Tha

Re: [PATCH] qla2xxx: Fix schedule_delayed_work() timeout calculations

2013-12-11 Thread Nicholas A. Bellinger
Hi Shivaram, On Tue, 2013-12-10 at 16:06 +0530, Shivaram Upadhyayula wrote: > Hi, > > The following patch is a fix for the timeout/delay passed to > scheduled_delayed_work. > Thanks, patch applied to target-pending/master with a CC' to v3.6.y+ stable code. Also just for future reference, this

[PATCH 3/3] BNX2FC: Updated version to 2.4.2

2013-12-11 Thread Eddie Wai
Old version: 2.4.1 New version: 2.4.2 Signed-off-by: Eddie Wai --- drivers/scsi/bnx2fc/bnx2fc.h |2 +- drivers/scsi/bnx2fc/bnx2fc_fcoe.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h index 2e984e3..6

[PATCH 2/3] BNX2FC: Fixed the handling for the SCSI retry delay

2013-12-11 Thread Eddie Wai
SCSI retry delay upon SAM_STAT_BUSY/_SET_FULL was not being handled in bnx2fc. This patch adds such handling by returning TARGET_BUSY to the SCSI ML for the corresponding LUN until the retry timer expires. Signed-off-by: Eddie Wai --- drivers/scsi/bnx2fc/bnx2fc.h |1 + drivers/scsi/bnx2

Re: [PATCH] iscsi_target: race condition on shutdown

2013-12-11 Thread Nicholas A. Bellinger
Hi Hannes, Btw, apologies for the delayed response on this.. Comments are below. On Thu, 2013-12-05 at 14:54 +0100, Hannes Reinecke wrote: > When shutting down a target there is a race condition between > iscsit_del_np() and __iscsi_target_login_thread(). > The latter sets the thread pointer to

[PATCH 1/3] BNX2FC: Fixed scsi_remove_target soft lockup when rmmod bnx2x

2013-12-11 Thread Eddie Wai
The problem has been identified to be a change in the scsi_remove_device path where a call to the pm_runtime_set_memalloc_noio was added when del_gendisk is called in this path. Note that the new pm routine attempts to cycle through all parent devices from the FC target device to set the memalloc_

Re: BTRFS doesn't handle USB device disconnect

2013-12-11 Thread Sarah Sharp
On Wed, Dec 11, 2013 at 11:03:09AM -0500, Alan Stern wrote: > On Tue, 10 Dec 2013, Sarah Sharp wrote: > > On 3.13-rc1, the btrfs partion from the disconnected USB device > > continues to be listed as mounted. Yanking the cable produces some > > additional oops messages. It also produced a couple

Re: [PATCH v2 2/2] pm80xx : Fixed return value issue

2013-12-11 Thread James Bottomley
On Wed, 2013-12-11 at 17:36 +0100, Tomas Henzl wrote: > On 12/10/2013 06:01 AM, Viswas G wrote: > > pm80xx_get_gsm_dump() was returning "1" in error case > > instead of negative error value. > > > > Signed-off-by: Viswas G > > Reviewed-by: Jack Wang > > Acked-by: TomasHenzl > > Hi Viswas, > >

[PATCH 2/2] hpsa: bump driver version to 3.4.2-1

2013-12-11 Thread Mike Miller
From: Mike Miller Bump the driver version so we can tell appoximately where it lines up with our internal svn repository. Signe-off-by: Mike Miller --- drivers/scsi/hpsa.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index

[PATCH 1/2] hpsa: add 4 new PCI ID's for HP Gen9 servers

2013-12-11 Thread Mike Miller
From: Mike Miller This patch adds 4 more PCI ID's for HP Gen9 servers. These new ID's were just made known this week. Signed-off-by: Mike Miller --- drivers/scsi/hpsa.c |8 1 file changed, 8 insertions(+) diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 67112a8..4af97

Re: BTRFS doesn't handle USB device disconnect

2013-12-11 Thread Hugo Mills
On Wed, Dec 11, 2013 at 11:03:09AM -0500, Alan Stern wrote: > On Tue, 10 Dec 2013, Sarah Sharp wrote: > > > In order to stress test the uas driver (next-gen USB storage driver), I > > decided to run some tests with a USB 3.0 storage device with four 10GB > > partitions: BTRFS, ext3, ext4, and fat3

Re: [PATCH v2 2/2] pm80xx : Fixed return value issue

2013-12-11 Thread Tomas Henzl
On 12/10/2013 06:01 AM, Viswas G wrote: > pm80xx_get_gsm_dump() was returning "1" in error case > instead of negative error value. > > Signed-off-by: Viswas G > Reviewed-by: Jack Wang > Acked-by: TomasHenzl Hi Viswas, I've ack-ed a different patch before, so I don't think you should add that

[PATCH 3/3] scsi_transport_srp: Add rport state diagram

2013-12-11 Thread Bart Van Assche
Add a diagram in Documentation/scsi/scsi_transport_srp that illustrates the rport state transitions. Signed-off-by: Bart Van Assche Cc: David Dillow Cc: Vu Pham Cc: Sebastian Riemer Cc: James Bottomley --- Documentation/scsi/scsi_transport_srp/Makefile | 7 ++ .../scsi_transport_srp

[PATCH 2/3] scsi_transport_srp: Fix a race condition

2013-12-11 Thread Bart Van Assche
The rport timers must be stopped before the SRP initiator destroys the resources associated with the SCSI host. This is necessary because otherwise the callback functions invoked from the SRP transport layer could trigger a use-after-free. Stopping the rport timers before invoking scsi_remove_host(

[PATCH 1/3] scsi_transport_srp: Block rport upon TL error even with fast_io_fail_tmo = off

2013-12-11 Thread Bart Van Assche
The current behavior of the SRP transport layer when a transport layer error is encountered is to block SCSI command processing only if fast_io_fail_tmo != off. The current behavior of the FC transport layer when a transport layer error is encountered is to block SCSI command processing no matter w

[PATCH 0/3] SCSI SRP transport layer patches for kernel 3.14

2013-12-11 Thread Bart Van Assche
This series of three patches is what I came up with after several weeks of path failover testing of the 3.13-rc1 IB/SRP initiator on a large setup. The patches in this series are: * Make SRP transport layer behavior more consistent with that of the FC transport layer. * Fix a rare race condition

Re: BTRFS doesn't handle USB device disconnect

2013-12-11 Thread Alan Stern
On Tue, 10 Dec 2013, Sarah Sharp wrote: > In order to stress test the uas driver (next-gen USB storage driver), I > decided to run some tests with a USB 3.0 storage device with four 10GB > partitions: BTRFS, ext3, ext4, and fat32. > > It seems that BTRFS doesn't handle unexpected USB disconnect v

[PATCH RESEND] mvsas: Recognise device/subsystem 9485/9485 as 88SE9485

2013-12-11 Thread Ben Hutchings
Matt Taggart reported that mvsas didn't bind to the Marvell SAS controller on a Supermicro AOC-SAS2LP-MV8 board. lspci reports it as: 01:00.0 RAID bus controller [0104]: Marvell Technology Group Ltd. Device [1b4b:9485] (rev 03) Subsystem: Marvell Technology Group Ltd. Device [1b4b:9485]

qla2xxx: kernel oops with ql2xmultique_tag=1

2013-12-11 Thread Bart Van Assche
Hello, Apparently trying to load the qla2xxx kernel module with parameter ql2xmultique_tag=1 triggers a kernel oops. This is 100% reproducible with at least kernel versions 3.11.8 and 3.13-rc3. Has anybody else run into this before ? Thanks, Bart. # rmmod qla2xxx; dmesg -c >/dev/null; insmod /

[Bug 26692] Fusion MPT SPI bringup takes 80 seconds when the kernel is quiet

2013-12-11 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=26692 Alan changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

Re: pm8001 issue‏

2013-12-11 Thread Suresh Thiagarajan
Niall Drievers hotmail.com> writes: > > Jack, Suresh > > Thanks for your response! Here's what I get from lspci - 30:00.0 Serial Attached SCSI controller: > PMC-Sierra Inc. Device 8001 (rev 05)  > > cat /sys/class/scsi_host/host7/version_product  > PM8001  > > cat /sys/class/scsi_host/host7/