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

2014-12-08 Thread Aaron Lu
On 12/04/2014 09:22 AM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > After commit b2b49ccbdd54 (PM: Kconfig: Set PM_RUNTIME if PM_SLEEP is > selected) PM_RUNTIME is always set if PM is set, so #ifdef blocks > depending on CONFIG_PM_RUNTIME may now be changed to depend on > CONFIG_PM. >

Re: [PATCH 1/3] libata: Whitelist SSDs that are known to properly return zeroes after TRIM

2014-12-08 Thread One Thousand Gnomes
On Mon, 8 Dec 2014 10:15:59 -0500 "Theodore Ts'o" wrote: > On Fri, Dec 05, 2014 at 10:58:09PM +, Elliott, Robert (Server Storage) > wrote: > > > I have a Crucial_CT256MX1 (i.e. MX100) and it does reliably zero. > > > > make me concerned about this whitelist approach. > > > > I think you ne

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

2014-12-08 Thread Tony Battersby
This fixes random memory corruption triggered when all three of the following are true: * scsi-mq enabled * T10 Protection Information (DIF) enabled * SCSI host with sg_tablesize > SCSI_MAX_SG_SEGMENTS (128) The symptoms of this bug are unpredictable memory corruption, BUG()s, oopses, lockups, et

Re: [PATCH RESEND 2/5] kexec: Export kexec_in_progress

2014-12-08 Thread Eric W. Biederman
Brian King writes: > On 12/02/2014 12:49 PM, Brian King wrote: >> On 12/02/2014 12:47 PM, Brian King wrote: >>> A kexec boot for some ipr SAS adapters was seen to take ~20 seconds >>> just doing ipr adapter initialization. This is due to the fact that >>> a kexec invokes the driver's shutdown han

[Bug 88591] SCSI_IOCTL_GET_IDLUN only returns 8 bits for the SCSI Target value

2014-12-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88591 Alan changed: What|Removed |Added CC||a...@lxorguk.ukuu.org.uk --- Comment #3 from Alan

Re: [PATCH RESEND 2/5] kexec: Export kexec_in_progress

2014-12-08 Thread Brian King
On 12/02/2014 12:49 PM, Brian King wrote: > On 12/02/2014 12:47 PM, Brian King wrote: >> A kexec boot for some ipr SAS adapters was seen to take ~20 seconds >> just doing ipr adapter initialization. This is due to the fact that >> a kexec invokes the driver's shutdown handler which places the adapt

[GIT PULL] First round of SCSI updates for the 3.18+ merge window

2014-12-08 Thread James Bottomley
This patch is the usual mix of driver updates (srp, ipr, scsi_debug, NCR5380, fnic, 53c974, ses, wd719x, hpsa, megaraid_sas). Of those, wd7a9x is new and 53c974 is a rewrite of the old tmscsim driver and the extensive work by Finn Thain rewrites all the NCR5380 based drivers. There's also extensiv

Re: [BUG] kzalloc overflow in lpfc driver on 6k core system

2014-12-08 Thread Alex Thorlton
On Sat, Dec 06, 2014 at 03:14:45PM -0500, James Smart wrote: > Myself and several others here at Emulex maintain the code. The > recommendations look fine. Feel free to post something if you beat > us to the work. Great! Thanks for letting me know, James. I will probaby have some time to look

[Bug 88771] No API to synchronize against SCSI bus scanning

2014-12-08 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=88771 Alan changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: [PATCH] scsi_scan: Send TEST UNIT READY to LUN0 before LUN scanning

2014-12-08 Thread Matthias Roessler
> > On 12/05/2014 12:43 AM, Sebastian Herbszt wrote: > > Hannes Reinecke wrote: > >> diff --git a/drivers/scsi/scsi_devinfo.c b/drivers/scsi/scsi_devinfo.c > >> index 49014a1..4f446e3 100644 > >> --- a/drivers/scsi/scsi_devinfo.c > >> +++ b/drivers/scsi/scsi_devinfo.c > >> @@ -166,6 +166,7 @@ stat

Re: [PATCH 1/3] libata: Whitelist SSDs that are known to properly return zeroes after TRIM

2014-12-08 Thread James Bottomley
On Mon, 2014-12-08 at 10:15 -0500, Theodore Ts'o wrote: > On Fri, Dec 05, 2014 at 10:58:09PM +, Elliott, Robert (Server Storage) > wrote: > > > I have a Crucial_CT256MX1 (i.e. MX100) and it does reliably zero. > > > > make me concerned about this whitelist approach. > > > > I think you need

Re: [PATCH 1/3] libata: Whitelist SSDs that are known to properly return zeroes after TRIM

2014-12-08 Thread Theodore Ts'o
On Fri, Dec 05, 2014 at 10:58:09PM +, Elliott, Robert (Server Storage) wrote: > > I have a Crucial_CT256MX1 (i.e. MX100) and it does reliably zero. > > make me concerned about this whitelist approach. > > I think you need a manufacturer assertion that this is indeed > the design intent; you

Re: [PATCH V5 0/3] scsi: Configure number of LUs reported by 'report-luns'

2014-12-08 Thread Rob Evers
On 12/05/2014 02:37 PM, Rob Evers wrote: This patch set retrieves the number of LUs available on a target using the report-luns command by re-sizing the returned data buffer and retrying report luns. A minor bug fix is included. scsi_mod parameter max_report_luns is no longer used and is remove

Re: [PATCH net v2 3/5] cxgb4i: handle non-pdu-aligned rx and additional types of negative advice

2014-12-08 Thread Sergei Shtylyov
Hello. On 12/8/2014 12:58 PM, k...@chelsio.com wrote: [PATCH net v2 3/5] cxgb4i: handle non-pdu-aligned rx data and additional types of negative advice The patch summary shouldn't be duplicated in the change log, at least not like this... From: Karen Xie - abort the connection upo

[PATCH net v2 0/5] cxgb4/cxgbi: misc. fixes for cxgb4i

2014-12-08 Thread kxie
[PATCH net v2 0/5] cxgb4/cxgbi: misc. fixes for cxgb4i This patch set fixes cxgb4i's tx credit calculation and adds handling of additional rx messages and types of negative advice. It also removes the duplicate code in cxgb4i to set the outgoing queues of a packet. Karen Xie (5): cxgb4i: check

[PATCH net v2 1/5] cxgb4i: fix tx credit calculation

2014-12-08 Thread kxie
[PATCH net v2 1/5] cxgb4i: fix tx credit calculation From: Karen Xie - Only data skbs need the wr header added while control skbs do not. Make sure they are treated differently. - Any credit related checking should be done before adding the wr header. - Fixed compiler warning resulted from adde

[PATCH net v2 2/5] cxgb4/cxgb4i: set the max. pdu length in firmware

2014-12-08 Thread kxie
[PATCH net v2 2/5] cxgb4/cxgb4i: set the max. pdu length in firmware. From: Karen Xie Programs the firmware of the maximum outgoing iscsi pdu length per connection. Signed-off-by: Karen Xie --- drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h |1 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c

[PATCH net v2 4/5] cxgb4i: use cxgb4's set_wr_txq() for setting tx queues

2014-12-08 Thread kxie
[PATCH net v2 4/5] cxgb4i: use cxgb4's set_wr_txq() for setting tx queues From: Karen Xie use cxgb4's set_wr_txq() to set the tx queue for a outgoing packet. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions

[PATCH net v2 5/5] libcxgbi: free skb after debug prints

2014-12-08 Thread kxie
[PATCH net v2 5/5] libcxgbi: free skb after debug prints From: Karen Xie The debug print was accessing the skb after it was freed. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/libcxgbi.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/cxgbi/libcxgbi

[PATCH net v2 3/5] cxgb4i: handle non-pdu-aligned rx and additional types of negative advice

2014-12-08 Thread kxie
[PATCH net v2 3/5] cxgb4i: handle non-pdu-aligned rx data and additional types of negative advice From: Karen Xie - abort the connection upon receiving of cpl_rx_data, which means the pdu cannot be recovered from the tcp stream. This could be due to pdu header corruption. - handle additional

[PATCH] uas: Add US_FL_NO_REPORT_OPCODES for JMicron JMS566 with usb-id 0bc2:a013

2014-12-08 Thread Hans de Goede
Like the JMicron JMS567 enclosures with the JMS566 choke on report-opcodes, so avoid it. Tested-and-reported-by: Takeo Nakayama Cc: sta...@vger.kernel.org # 3.16 Signed-off-by: Hans de Goede --- drivers/usb/storage/unusual_uas.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers

[PATCH net 2/5] cxgb4/cxgb4i: set the max. pdu length in firmware

2014-12-08 Thread kxie
[PATCH net 2/5] cxgb4/cxgb4i: set the max. pdu length in firmware. From: Karen Xie Programs the firmware of the maximum outgoing iscsi pdu length per connection. Signed-off-by: Karen Xie --- drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h |1 drivers/scsi/cxgbi/cxgb4i/cxgb4i.c|

[PATCH net 3/5] cxgb4i: handle non-pdu-aligned rx and additional types of negative advice

2014-12-08 Thread kxie
[PATCH net 3/5] cxgb4i: handle non-pdu-aligned rx data and additional types of negative advice From: Karen Xie - abort the connection upon receiving of cpl_rx_data, which means the pdu cannot be recovered from the tcp stream. This could be due to pdu header corruption. - handle additional typ

[PATCH net 4/5] cxgb4i: use cxgb4's set_wr_txq() for setting tx queues

2014-12-08 Thread kxie
[PATCH net 4/5] cxgb4i: use cxgb4's set_wr_txq() for setting tx queues From: Karen Xie use cxgb4's set_wr_txq() to set the tx queue for a outgoing packet. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 16 +--- 1 files changed, 5 insertions(+), 11 deletions(-)

[PATCH net 5/5] libcxgbi: free skb after debug prints

2014-12-08 Thread kxie
[PATCH net 5/5] libcxgbi: free skb after debug prints From: Karen Xie The debug print was accessing the skb after it was freed. Signed-off-by: Karen Xie --- drivers/scsi/cxgbi/libcxgbi.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/scsi/cxgbi/libcxgbi.c

[PATCH net 0/5] cxgb4/cxgbi: misc. fixes for cxgb4i

2014-12-08 Thread kxie
[PATCH net 0/5] cxgb4/cxgbi: misc. fixes for cxgb4i This patch set fixes cxgb4i's tx credit calculation and adds handling of additional rx messages and types of negative advice. It also removes the duplicate code in cxgb4i to set the outgoing queues of a packet. Karen Xie (5): cxgb4i: check if

[PATCH net 1/5] cxgb4i: fix tx credit calculation

2014-12-08 Thread kxie
[PATCH net 1/5] cxgb4i: fix tx credit calculation From: Karen Xie - Only data skbs need the wr header added while control skbs do not. Make sure they are treated differently. - Any credit related checking should be done before adding the wr header. - Fixed compiler warning resulted from added c