[PATCH 4/4 v4] scsi:stex.c Add S3/S4 support

2014-12-15 Thread Charles Chiou
From f9d84df080c16097218092630db9b5df31d487b5 Mon Sep 17 00:00:00 2001 From: Charles Chiou Date: Fri, 7 Nov 2014 10:15:18 +0800 Subject: [PATCH 4/4] scsi:stex.c Add S3/S4 support Add S3/S4 support, add .suspend and .resume function in pci_driver. Pegasus need 30~40 seconds to boot up. We don't

[PATCH 3/4 v3] scsi:stex.c Add reboot support

2014-12-15 Thread Charles Chiou
From 72f5b5cbda424a254b0e9672bd4d9d249728fcb9 Mon Sep 17 00:00:00 2001 From: Charles Chiou Date: Wed, 5 Nov 2014 19:29:46 +0800 Subject: [PATCH 3/4] scsi:stex.c Add reboot support 1. Add reboot support, Pegasus devices should be notified that the host is going to shut down/reboot. I register

[PATCH 2/4 v4] scsi:stex.c Add hotplug support

2014-12-15 Thread Charles Chiou
From 901f2c1b2d1ae2991182f0f62cedc70f87ea49bc Mon Sep 17 00:00:00 2001 From: Charles Chiou Date: Wed, 5 Nov 2014 17:18:37 +0800 Subject: [PATCH 2/4] scsi:stex.c Add hotplug support 1. Add hotplug support. Pegasus support surprise removal. To this end, I use return_abnormal_state function to

[PATCH 1/4 v4] scsi:stex.c Support to Pegasus series.

2014-12-15 Thread Charles Chiou
From 8be76ec282e4e344e88c63d5c1e72c0a8394e703 Mon Sep 17 00:00:00 2001 From: Charles Chiou Date: Wed, 5 Nov 2014 14:18:43 +0800 Subject: [PATCH 1/4] scsi:stex.c Support to Pegasus series. Pegasus is a high performace hardware RAID solution designed to unleash the raw power of Thunderbolt techno

RE: [PATCH] scsi:storvsc enable reading from VPD pages on SPC-2

2014-12-15 Thread Long Li
Thanks Martin for the explanation. I'll send out another patch. > -Original Message- > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Thursday, December 11, 2014 7:04 PM > To: Long Li > Cc: Martin K. Petersen; KY Srinivasan; Haiyang Zhang; > jbottom...@parallels.com;

Re: T10-PI: Getting failed tag info

2014-12-15 Thread Martin K. Petersen
> "Christoph" == Christoph Hellwig writes: Christoph> I really don't like adding new errno codes for all these. This was mainly done to accommodate Darrick's work on aio extensions. If these errors were forever trapped inside the kernel I would agree with you but the plan is to make this gen

[PATCH 2/2] target: Avoid dropping AllRegistrants reservation during unregister

2014-12-15 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes an issue with AllRegistrants reservations where an unregister operation by the I_T nexus reservation holder would incorrectly drop the reservation, instead of waiting until the last active I_T nexus is unregistered as per SPC-4. This includes updating __

[PATCH 0/2] target: Fixes for AllRegistrants reservation handling

2014-12-15 Thread Nicholas A. Bellinger
From: Nicholas Bellinger Hi all, This series addresses two issues raised recently by Ilias wrt AllRegistrants reservation handling in target code that does not adhere to SPC-4 specification requirements. This first is a informational change to PR-IN READ_FULL_STATUS, that when an AllRegistrants

[PATCH 1/2] target: Fix R_HOLDER bit usage for AllRegistrants

2014-12-15 Thread Nicholas A. Bellinger
From: Nicholas Bellinger This patch fixes the usage of R_HOLDER bit for an All Registrants reservation in READ_FULL_STATUS, where only the registration who issued RESERVE was being reported as having an active reservation. It changes core_scsi3_pri_read_full_status() to check ahead of the list w

Re: T10-PI: Getting failed tag info

2014-12-15 Thread Martin K. Petersen
> "Vlad" == Vladislav Bolkhovitin writes: >> One thing that needs to be done is to make returning these new errors >> to userland conditional on !BIP_BLOCK_INTEGRITY. I'll put that on my >> list. Vlad> Ever without it this patch is quite valuable. Well, the concern here is that the new magi

Re: T10-PI: Getting failed tag info

2014-12-15 Thread Martin K. Petersen
> "Nic" == Nicholas A Bellinger writes: Nic> Also, AFAICT this patch still doesn't set the failed LBA, right..? Nic> Any thoughts about the most sane way to get the failed LBA Nic> information back to a caller like IBLOCK performing submission with Nic> bio + bip..? That's correct. My origin

Re: [PATCH V5 3/3] scsi: Retry report-luns when reported LU count requres more memory

2014-12-15 Thread Christoph Hellwig
On Fri, Dec 05, 2014 at 02:37:43PM -0500, Rob Evers wrote: > Update scsi_report_lun_scan to initially always report up to 511 LUs, > as the previous default max_report_luns did. Retry in a loop if not > enough memory is available for the number of LUs reported. Parameter > max_report_luns is remo

Re: [PATCH V5 2/3] scsi: Use set/get_unaligned_be32 in report_luns

2014-12-15 Thread Christoph Hellwig
Looks good, but I still need your signoff. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH V5 1/3] scsi: Avoid unnecessary GFP_ATOMIC allocation in scsi_report_lun_scan

2014-12-15 Thread Christoph Hellwig
On Fri, Dec 05, 2014 at 02:37:41PM -0500, Rob Evers wrote: > Signed-off-by: Rob Evers Looks good, Reviewed-by: Christoph Hellwig -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.ker

[LSF/MM TOPIC] Integrated Unit Attention handling

2014-12-15 Thread Hannes Reinecke
Hi all, I'd like to discusss 'Integrated Unit Attention handling' at LSF/MM 2015. Currently we're interpreting some Unit Attention codes and send out uevents, with the hope that some userspace application will make use of this. However, some UAs are easily handled within the kernel directly, eg

Re: [PATCH 2/4] [SCSI] Blacklist RSOC for Microsoft iSCSI target devices

2014-12-15 Thread Christoph Hellwig
Thanks, applied to core-for-3.19. Any chance to get reviews for the other patches? -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH RESEND 4/5] ipr: Set scsi_level correctly for disk arrays

2014-12-15 Thread Christoph Hellwig
On Thu, Dec 04, 2014 at 10:10:49AM -0600, Brian King wrote: > On 12/04/2014 03:25 AM, Christoph Hellwig wrote: > > Do you want me to apply this patch ASAP while waiting for the kexec ACK? > > Both patches 1 and 4 can be pulled in while we wait for Eric's ack. I've applied patches 1 and 4 to drive

Re: [PATCH 0/4] scsi_debug: Unit Attention fixes/enhancements

2014-12-15 Thread Christoph Hellwig
Thanks, applied patch 1 and 2 to drivers-for-3.19, the rest will go into the 3.20 queue a soon as that opens. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.

Re: [PATCH] scsi_debug: improve driver description in Kconfig

2014-12-15 Thread Christoph Hellwig
Thanks, applied to drivers-for-3.19. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] scsi_debug: fix compare and write errors

2014-12-15 Thread Christoph Hellwig
Thanks, applied to drivers-for-3.19. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH qla2xxx] Race in handling rport deletion in Qlogic driver during recovery causes panic

2014-12-15 Thread Christoph Hellwig
Thanks, applied to drivers-for-3.19. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] scsi: fix random memory corruption with scsi-mq + T10 PI

2014-12-15 Thread Christoph Hellwig
Thanks, applied to drivers-for-3.19. -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: UFS RPMB

2014-12-15 Thread Tomas Winkler
Can you be more specific about Linux programming API Thanks On Mon, Dec 15, 2014 at 6:19 AM, Kyuho Choi wrote: > As i know, SECURITY PROTOCOL IN/OUT are support RPMB access for UFS. > > On 12/14/14, Tomas Winkler wrote: >> Hi, sorry fore a newbie question. >> What is the current interface for ac

RE: [PATCH v2] drivers: scsi: megaraid: Add "megaraid_sas_internal.h" for internal shared functions using

2014-12-15 Thread Sumit Saxena
>-Original Message- >From: Chen Gang [mailto:gang.chen.5...@gmail.com] >Sent: Sunday, December 14, 2014 9:35 PM >To: megaraidli...@lsi.com; jbottom...@parallels.com; Sumit Saxena >Cc: linux-scsi@vger.kernel.org; linux-ker...@vger.kernel.org >Subject: [PATCH v2] drivers: scsi: megaraid: Add

Re: [Update][PATCH] SCSI / PM: Replace CONFIG_PM_RUNTIME with CONFIG_PM

2014-12-15 Thread Christoph Hellwig
On Tue, Dec 09, 2014 at 10:47:47PM +0100, Rafael J. Wysocki wrote: > Note: This depends on commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if > PM_SLEEP is selected) which is only in linux-next at the moment (via the > linux-pm tree). > > Please let me know if it is OK to take this one into linux

Re: T10-PI: Getting failed tag info

2014-12-15 Thread Christoph Hellwig
On Thu, Dec 11, 2014 at 10:12:11PM -0500, Martin K. Petersen wrote: > block: Add specific data integrity errors > > Introduce a set of error codes that can be used by the block integrity > subsystem to signal which class of error was encountered by either the > I/O controller or the storage device