Re: [PATCH v13 2/3] PHY: add APM X-Gene SoC 15Gbps Multi-purpose PHY driver

2014-03-06 Thread Kishon Vijay Abraham I
Hi, On Thursday 06 March 2014 04:13 AM, Loc Ho wrote: This patch adds support for the APM X-Gene SoC 15Gbps Multi-purpose PHY. This is the physical layer interface for the corresponding host controller. Currently, only external clock and Gen3 SATA mode are supported. Signed-off-by: Loc Ho

Re: [PATCH 2/3] Add EVPD page 0x83 to sysfs

2014-03-06 Thread Hannes Reinecke
On 03/05/2014 08:42 PM, Christoph Hellwig wrote: On Wed, Mar 05, 2014 at 08:38:01AM +0100, Hannes Reinecke wrote: Either way I think the call to query evpd 0 should be a separate function, so even if we don't store the information it's abstracted out. Hmm. That would work if we were just

[Bug 71231] System unresponsable after a lot of LUNs have been added to the system

2014-03-06 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=71231 --- Comment #8 from Alex alexandernaum...@gmx.de --- If this patch is commited I get the error. I am still wondering because this patch does not look like it should be relevant. But before this patch everythign works and with git bisect next (this

[PATCH] virtio-scsi: Change sense buffer size to 252

2014-03-06 Thread Fam Zheng
According to SPC-4, section 4.5.2.1, 252 is the limit of sense data. So increase the value. Signed-off-by: Fam Zheng f...@redhat.com --- include/linux/virtio_scsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/virtio_scsi.h b/include/linux/virtio_scsi.h index

Re: [PATCH] virtio-scsi: Change sense buffer size to 252

2014-03-06 Thread Paolo Bonzini
Il 06/03/2014 09:47, Fam Zheng ha scritto: According to SPC-4, section 4.5.2.1, 252 is the limit of sense data. So increase the value. Signed-off-by: Fam Zheng f...@redhat.com --- include/linux/virtio_scsi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] virtio-scsi: Change sense buffer size to 252

2014-03-06 Thread Hannes Reinecke
On 03/06/2014 11:09 AM, Paolo Bonzini wrote: Il 06/03/2014 09:47, Fam Zheng ha scritto: According to SPC-4, section 4.5.2.1, 252 is the limit of sense data. So increase the value. Signed-off-by: Fam Zheng f...@redhat.com --- include/linux/virtio_scsi.h | 2 +- 1 file changed, 1

Re: [PATCH] virtio-scsi: Change sense buffer size to 252

2014-03-06 Thread Paolo Bonzini
Il 06/03/2014 12:22, Hannes Reinecke ha scritto: On 03/06/2014 11:09 AM, Paolo Bonzini wrote: Il 06/03/2014 09:47, Fam Zheng ha scritto: According to SPC-4, section 4.5.2.1, 252 is the limit of sense data. So increase the value. Signed-off-by: Fam Zheng f...@redhat.com ---

Re: [PATCH 1/3] m68k/atari - convert atari_scsi falcon_get_lock() to use wait_event()

2014-03-06 Thread Geert Uytterhoeven
On Sat, Mar 1, 2014 at 8:51 AM, Michael Schmitz schmitz...@gmail.com wrote: sleep_on is known broken and going away. The atari_scsi driver is one of two remaining users in the falcon_get_lock() function, which is a rather crazy piece of code. This does not attempt to fix the driver's locking

Re: [PATCH 0/6] iser-target: Fix active I/O shutdown related issues

2014-03-06 Thread sagi grimberg
On 3/6/2014 12:04 AM, Nicholas A. Bellinger wrote: On Wed, 2014-03-05 at 14:12 +0200, Sagi Grimberg wrote: On 3/5/2014 2:06 AM, Nicholas A. Bellinger wrote: On Tue, 2014-03-04 at 17:17 +0200, Sagi Grimberg wrote: On 3/4/2014 2:00 AM, Nicholas A. Bellinger wrote: From: Nicholas Bellinger

I2C/SGPIO on Marvell 88SE6440 (mvsas)

2014-03-06 Thread mailinglist-linux-scsi
Dear All, I have one Adaptec 1405 card with a Marvell 88SE6440 chip (mvsas). The card has one SFF-8087 connector with integrated I2C/SGPIO. On the other side my cable is SFF-8484 and connected to one simple 4x SAS/SATA backplane without RAID logic (sas/sata lines are directly routed to

[PATCH v14 1/3] Documentation: Add APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation

2014-03-06 Thread Loc Ho
This patch adds the APM X-Gene SoC 15Gbps Multi-purpose PHY driver binding documentation. Signed-off-by: Loc Ho l...@apm.com Signed-off-by: Tuan Phan tp...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com --- .../devicetree/bindings/phy/apm-xgene-phy.txt | 79

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

2014-03-06 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 2 and 3 are enabled by default. Signed-off-by: Loc Ho l...@apm.com Signed-off-by: Tuan Phan tp...@apm.com Signed-off-by: Suman Tripathi stripa...@apm.com ---

[PATCH v14 0/3] PHY: Add APM X-Gene SoC 15Gbps Multi-purpose PHY support

2014-03-06 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 PHY generic framework. v14: * Fix function xgene_phy_xlate to check valid mode and parameter count * Clean up probe function on

Re: [PATCH RESEND] SCSI: sd: don't fail if the device doesn't recognize SYNCHRONIZE CACHE

2014-03-06 Thread Alan Stern
On Wed, 5 Mar 2014, Dan Williams wrote: On Mon, Mar 3, 2014 at 1:25 PM, Daniel Mack zon...@gmail.com wrote: From: Alan Stern st...@rowland.harvard.edu Evidently some wacky USB-ATA bridges don't recognize the SYNCHRONIZE CACHE command, as shown in this email thread:

Re: Slow I/O performance on SAS1064

2014-03-06 Thread Mark Knecht
On Wed, Mar 5, 2014 at 1:40 PM, markus mar...@kola.li wrote: On Wed, Mar 05, 2014 at 10:21:07AM -0800, Mark Knecht wrote: On Wed, Mar 5, 2014 at 9:50 AM, Markus mar...@kola.li wrote: SNIP The hdparm result looks like there is somethink not right . There were no features supported but why

[PATCH 0/6] target: Save memory on unused se_dev_entrys and se_luns

2014-03-06 Thread Andy Grover
Hi nab and everyone, This patchset reduces the amount of memory for se_dev_entry and se_lun arrays by waiting to allocate array members, and includes some related simplification patches too. This is a rework of a few patches I submitted in December in a larger series, but keeping it simple by

[PATCH 1/6] target: Allocate se_dev_entrys in device list only when used

2014-03-06 Thread Andy Grover
Remove TRANSPORT_LUNFLAGS_INITIATOR_ACCESS and just look at if a non-NULL value is in the node_acl-device_list for the given lun. Since usually nowhere near all se_dev_entrys are used, this nets a sizable reduction in memory use. In core_disable_device_list_for_node, move all calls to functions

[PATCH 3/6] target: Change core_dev_del_lun to take a se_lun instead of unpacked_lun

2014-03-06 Thread Andy Grover
Remove core_tpg_pre_dellun entirely, since we don't need to get/check a pointer we already have. Nothing else can return an error, so core_dev_del_lun can return void. Signed-off-by: Andy Grover agro...@redhat.com --- drivers/target/target_core_device.c | 18 +---

[PATCH 5/6] target: Allocate se_luns only when used

2014-03-06 Thread Andy Grover
Instead of allocating the tpg_lun_list and each member of the list when the tpg is created, just create the tpg_lun_list array, and use an element being non-NULL to indicate an active LUN. This will save memory if less than all the se_luns are actually configured. Now that things are actually

[PATCH 6/6] target: Remove core_tpg_release_virtual_lun0 function

2014-03-06 Thread Andy Grover
Simple and just called from one place. Signed-off-by: Andy Grover agro...@redhat.com --- drivers/target/target_core_tpg.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/target/target_core_tpg.c b/drivers/target/target_core_tpg.c index 25e3a8e..522b325 100644

[PATCH 4/6] target: Rename core_tpg_post_dellun to remove_lun

2014-03-06 Thread Andy Grover
A clearer name, now that pre_dellun is gone. Signed-off-by: Andy Grover agro...@redhat.com --- drivers/target/target_core_device.c | 2 +- drivers/target/target_core_internal.h | 2 +- drivers/target/target_core_tpg.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 2/6] target: core_tpg_post_dellun can return void

2014-03-06 Thread Andy Grover
Nothing in it can raise an error. Signed-off-by: Andy Grover agro...@redhat.com --- drivers/target/target_core_internal.h | 2 +- drivers/target/target_core_tpg.c | 5 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/target/target_core_internal.h

Re: [PATCH 0/2] target refcounting infrastructure fixes for usb

2014-03-06 Thread Sarah Sharp
Hi James, Sorry for the extremely late ack. These patches work fine when applied against 3.14-rc5, and I can't trigger the oops anymore. Hans' UAS patches are going to be queued for 3.15. Any chance of these patches making it into 3.15 as well? Sarah Sharp On Tue, Jan 21, 2014 at 06:58:39AM

Re: [PATCH 01/16] scsi_dh_alua: Improve error handling

2014-03-06 Thread Jeremy Linton
On 1/31/2014 3:29 AM, Hannes Reinecke wrote: Improve error handling and use standard logging functions instead of hand-crafted ones. @@ -182,11 +185,13 @@ static unsigned submit_rtpg(struct scsi_device *sdev, struct alua_dh_data *h, bool rtpg_ext_hdr_req)

RE: [PATCH 1/2] megaraid_sas: fix a small problem when reading state value from hw

2014-03-06 Thread Saxena, Sumit
-Original Message- From: Minemoto, Shintaro [mailto:fj320...@aa.jp.fujitsu.com] Sent: Wednesday, March 05, 2014 12:06 PM To: linux-scsi@vger.kernel.org; the...@redhat.com Cc: Saxena, Sumit; aradf...@gmail.com; Tokunaga, Keiichirou; Ishii, Hideyuki; Minemoto, Shintaro Subject: Re: [PATCH

Re: [PATCH] virtio-scsi: Change sense buffer size to 252

2014-03-06 Thread Fam Zheng
On Thu, 03/06 11:09, Paolo Bonzini wrote: Il 06/03/2014 09:47, Fam Zheng ha scritto: According to SPC-4, section 4.5.2.1, 252 is the limit of sense data. So increase the value. Signed-off-by: Fam Zheng f...@redhat.com --- include/linux/virtio_scsi.h | 2 +- 1 file changed, 1

Re: [PATCH] virtio-scsi: Change sense buffer size to 252

2014-03-06 Thread Fam Zheng
On Thu, 03/06 12:55, Paolo Bonzini wrote: Il 06/03/2014 12:22, Hannes Reinecke ha scritto: On 03/06/2014 11:09 AM, Paolo Bonzini wrote: Il 06/03/2014 09:47, Fam Zheng ha scritto: According to SPC-4, section 4.5.2.1, 252 is the limit of sense data. So increase the value. Signed-off-by: Fam

Re: [PATCH 01/16] scsi_dh_alua: Improve error handling

2014-03-06 Thread Hannes Reinecke
On 03/07/2014 12:43 AM, Jeremy Linton wrote: On 1/31/2014 3:29 AM, Hannes Reinecke wrote: Improve error handling and use standard logging functions instead of hand-crafted ones. @@ -182,11 +185,13 @@ static unsigned submit_rtpg(struct scsi_device *sdev, struct alua_dh_data *h,