[Resend PATCH] SCSI: scan: fix use-after-free

2016-10-08 Thread Ming Lei
This patch fixes one use-after-free report[1] by KASAN. In __scsi_scan_target(), when a type 31 device is probed, SCSI_SCAN_TARGET_PRESENT is returned and the target will be scanned again. Inside the following scsi_report_lun_scan(), one new scsi_device instance is allocated, and

[PATCH] SCSI: scan: fix use-after-free

2016-10-08 Thread Ming Lei
From: Ming Lei This patch fixes one use-after-free report[1] by KASAN. In __scsi_scan_target(), when a type 31 device is probed, SCSI_SCAN_TARGET_PRESENT is returned and the target will be scanned again. Inside the following scsi_report_lun_scan(), one new scsi_device

Re: [PATCH v2 1/3] devicetree: bindings: scsi: hisi_sas add hip07 support

2016-10-08 Thread Rob Herring
On Tue, Oct 04, 2016 at 07:11:09PM +0800, John Garry wrote: > Add support for hip07 chipset to hisi_sas controller. > > Chipset hip07 has v2 hw. > > Signed-off-by: John Garry > Signed-off-by: Xiang Chen > --- >

Re: [PATCH] scsi: replace wrong device handler name for CLARiiON arrays

2016-10-08 Thread James Bottomley
On Sat, 2016-10-08 at 19:17 +0200, Hannes Reinecke wrote: > On 10/07/2016 06:19 PM, Xose Vazquez Perez wrote: > > At drivers/scsi/device_handler/scsi_dh_emc.c it was defined as: > > #define CLARIION_NAME "emc" > > > > Cc: Christoph Hellwig > > Cc: Hannes Reinecke

Re: [Open-FCoE] Issue with fc_exch_alloc failing initiated by fc_queuecommand on NUMA or large configurations with Intel ixgbe running FCOE

2016-10-08 Thread Laurence Oberman
- Original Message - > From: "Laurence Oberman" > To: "Hannes Reinecke" > Cc: "Linux SCSI Mailinglist" , > fcoe-de...@open-fcoe.org, "Curtis Taylor (c...@us.ibm.com)" > , "Bud Brown" >

Re: [Open-FCoE] Issue with fc_exch_alloc failing initiated by fc_queuecommand on NUMA or large configurations with Intel ixgbe running FCOE

2016-10-08 Thread Laurence Oberman
- Original Message - > From: "Hannes Reinecke" > To: "Laurence Oberman" , "Linux SCSI Mailinglist" > , > fcoe-de...@open-fcoe.org > Cc: "Curtis Taylor (c...@us.ibm.com)" , "Bud Brown" >

Re: [Open-FCoE] Issue with fc_exch_alloc failing initiated by fc_queuecommand on NUMA or large configurations with Intel ixgbe running FCOE

2016-10-08 Thread Hannes Reinecke
On 10/08/2016 02:57 PM, Laurence Oberman wrote: Hello This has been a tough problem to chase down but was finally reproduced. This issue is apparent on RHEL kernels and upstream so justified reporting here. Its out there and some may not be aware its even happening other than very slow >

Re: [PATCH] scsi: replace wrong device handler name for CLARiiON arrays

2016-10-08 Thread Hannes Reinecke
On 10/07/2016 06:19 PM, Xose Vazquez Perez wrote: At drivers/scsi/device_handler/scsi_dh_emc.c it was defined as: #define CLARIION_NAME "emc" Cc: Christoph Hellwig Cc: Hannes Reinecke Cc: Christophe Varoqui Cc:

Re: [PATCH 01/10] ufs: introduce setup_xfer_req callback

2016-10-08 Thread Subhash Jadavani
On 2016-10-07 20:21, Kiwoong Kim wrote: Some UFS host controller may need to configure some things before any transfer request is issued. Signed-off-by: Kiwoong Kim --- drivers/scsi/ufs/ufshcd.c |2 ++ drivers/scsi/ufs/ufshcd.h | 10 ++ 2 files changed, 12

Re: [PATCH v2 0/8] Support for Exynos specific UFS driver

2016-10-08 Thread Subhash Jadavani
On 2016-10-07 20:13, Kiwoong Kim wrote: This series of patches introduce support for Exynos specific UFS driver. An original version of this has been applied on mass production of commercial mobile devices. I checked compiling with Subhash's patch - [PATCH v3] scsi: ufshcd: fix possible

Re: Issue with fc_exch_alloc failing initiated by fc_queuecommand on NUMA or large configurations with Intel ixgbe running FCOE

2016-10-08 Thread Laurence Oberman
Hello This has been a tough problem to chase down but was finally reproduced. This issue is apparent on RHEL kernels and upstream so justified reporting here. Its out there and some may not be aware its even happening other than very slow performance using ixgbe and software FCOE on large