RE: [PATCH v6 1/9] rpmb: add Replay Protected Memory Block (RPMB) subsystem

2016-09-23 Thread Avri Altman
> > Signed-off-by: Tomas Winkler > Signed-off-by: Alexander Usyskin Tested-by: Avri Altman - mmc - full functionality. One issue found that was fixed on V6: patch V6 2/9. - ufs - read & read counter only. Testing is still wip. > +static int rpmb_request_verify(struct rpmb_dev *rdev, struc

Re: [patch v2] arcmsr: buffer overflow in arcmsr_iop_message_xfer()

2016-09-23 Thread Borislav Petkov
On Thu, Sep 15, 2016 at 09:59:01AM -0400, Martin K. Petersen wrote: > > "Dan" == Dan Carpenter writes: > > Dan> We need to put an upper bound on "user_len" so the memcpy() doesn't > Dan> overflow. > > Applied to 4.9/scsi-queue. Yap, Tomas said the kfree was missing on the error path but can

[PATCH] scsi: ufs: Kconfig fix

2016-09-23 Thread Joao Pinto
Currently if we have PCI and UFSHCD configured in the kernel, both SCSI_UFS_DWC_TC_PCI and SCSI_UFSHCD_PCI show up, which is not correct. This patch changes the UFS Kconfig to assure hierarchy between the 2 options. Signed-off-by: Joao Pinto --- drivers/scsi/ufs/Kconfig | 2 +- 1 file changed, 1

[PATCH] [SCSI] bfa: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/scsi/bfa/bfad.c:1502:1: warning: no previous prototype for 'restart_bfa' [-Wmissing-prototypes] drivers/scsi/bfa/bfad_attr.c:447:1: warning: no previous prototype for 'bfad_im_issue_fc_host_lip' [-Wmissing-prototypes] drivers/scsi/bfa/b

[PATCH] pm8001: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/scsi/pm8001/pm8001_sas.c:530:23: warning: no previous prototype for 'pm8001_alloc_dev' [-Wmissing-prototypes] drivers/scsi/pm8001/pm8001_hwi.c:4495:5: warning: no previous prototype for 'pm8001_chip_phy_stop_req' [-Wmissing-prototypes] In

[PATCH] pm80xx: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/scsi/pm8001/pm80xx_hwi.c:69:6: warning: no previous prototype for 'pm80xx_pci_mem_copy' [-Wmissing-prototypes] drivers/scsi/pm8001/pm80xx_hwi.c:4540:6: warning: no previous prototype for 'mpi_set_phy_profile_req' [-Wmissing-prototypes] In

[PATCH] cxgb4i: set completion bit in work request

2016-09-23 Thread Varun Prakash
If SKCBF_TX_FLAG_COMPL flag is set and unacknowledged credits are >= max credits / 2, set completion bit in work request to reclaim credits. Signed-off-by: Varun Prakash --- drivers/scsi/cxgbi/cxgb4i/cxgb4i.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/scsi/cxgbi/cxgb4i/cxgb

RE: [PATCH 02/28] be2iscsi: Replace _bh with _irqsave/irqrestore

2016-09-23 Thread Jitendra Bhivare
Hi Mike, I could reproduce hard lockup using for-next kernel only in iscsi_eh_cmd_timeout path due to spin_lock_irqsave taken in blk_timeout_work Please refer stack trace below. The _bh version used for frwd_lock and back_lock does not seem to be causing any issue similar to seen with be2iscsi af

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

2016-09-23 Thread Rob Herring
On Tue, Sep 20, 2016 at 06:48:58PM +0800, John Garry wrote: > Add support for hip07 chipset to bindings. > > Chipset hip07 has v2 hw. > > The sas-v2 quirk amt is expanded to cover hip07. > > Signed-off-by: John Garry > Signed-off-by: Xiang Chen > --- > Documentation/devicetree/bindings/scsi/h

[Bug 172831] New: Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172831 Bug ID: 172831 Summary: Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID Product: SCSI Drivers Version: 2.5 Kernel Version: 4.7.4-1.el7.elrepo.x8

[Bug 172831] Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172831 --- Comment #1 from Badalyan Vyacheslav --- Created attachment 239521 --> https://bugzilla.kernel.org/attachment.cgi?id=239521&action=edit AACRAID get config 1 -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 172831] Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172831 --- Comment #4 from Badalyan Vyacheslav --- Created attachment 239551 --> https://bugzilla.kernel.org/attachment.cgi?id=239551&action=edit dmidecode -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsub

[Bug 172831] Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172831 --- Comment #2 from Badalyan Vyacheslav --- Created attachment 239531 --> https://bugzilla.kernel.org/attachment.cgi?id=239531&action=edit AACRAID get config 2 -- You are receiving this mail because: You are watching the assignee of the bug.

[Bug 172831] Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172831 --- Comment #3 from Badalyan Vyacheslav --- Created attachment 239541 --> https://bugzilla.kernel.org/attachment.cgi?id=239541&action=edit dmesg -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscri

[Bug 172831] Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172831 --- Comment #5 from Badalyan Vyacheslav --- Created attachment 239561 --> https://bugzilla.kernel.org/attachment.cgi?id=239561&action=edit journalctl -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsu

[Bug 172831] Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172831 --- Comment #7 from Badalyan Vyacheslav --- Created attachment 239581 --> https://bugzilla.kernel.org/attachment.cgi?id=239581&action=edit mdstat -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscr

[Bug 172831] Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172831 --- Comment #8 from Badalyan Vyacheslav --- Created attachment 239591 --> https://bugzilla.kernel.org/attachment.cgi?id=239591&action=edit rpm -qa -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubsc

[Bug 172831] Adaptec ASR7805 in RAID (Expose RAW) mode recreate block devices and broke MDRAID

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172831 --- Comment #6 from Badalyan Vyacheslav --- Created attachment 239571 --> https://bugzilla.kernel.org/attachment.cgi?id=239571&action=edit lsscsi -- You are receiving this mail because: You are watching the assignee of the bug. -- To unsubscr

[Bug 172841] New: aacraid does not support TRIM in Raw (Pass Through) devices

2016-09-23 Thread bugzilla-daemon
https://bugzilla.kernel.org/show_bug.cgi?id=172841 Bug ID: 172841 Summary: aacraid does not support TRIM in Raw (Pass Through) devices Product: SCSI Drivers Version: 2.5 Kernel Version: 4.7.4-1.el7.elrepo.x86_64 Hardwar