--
Guten Tag
Dies ist DIAMOMD Schweizer LOAN COMPANY Darlehen Angebot.
DIAMOMD Schweizer LOAN COMPANY bietet flexible und kostengünstige Kredite für
jeden Zweck, Ihnen beim Erreichen Ihrer Ziele zu helfen. Wir Darlehen zu
niedrigen Zinssatz von 1,5 %. Hier sind einige wichtige Merkmale des
https://bugzilla.kernel.org/show_bug.cgi?id=96921
Bug ID: 96921
Summary: NULL pointer dereference in
lpfc_bus_reset_handler+0xd4/0x240
Product: SCSI Drivers
Version: 2.5
Kernel Version: 3.11.10
Hardware: x86-64
On Sun, 19 Apr 2015 18:58:41 +0200
Christoph Hellwig wrote:
> This looks like a long standing bug in all three 3ware drivers to
> me, that the taking the host lock around the host_busy manipulation
> was hiding.
>
> Can you test the patch below?
I'm running it right now and keeping my fingers c
>-Original Message-
>From: Christoph Hellwig [mailto:h...@infradead.org]
>Sent: Tuesday, April 14, 2015 11:27 AM
>To: Martin K. Petersen
>Cc: Sumit Saxena; linux-scsi@vger.kernel.org; the...@redhat.com;
>h...@infradead.org; jbottom...@parallels.com; Kashyap Desai
>Subject: Re: [PATCH 1/5] m
This patch series for megaraid_sas driver is resent with splitting one patch in
to 5 different patches(patch #1 to patch #5) along with few extra sparse
warnings fixes (patch#10 to patch #18). These sparse warnings fixes are also
not first time submitted but resent(earlier sent by Christoph Hell
megaraid_sas driver will use block layer provided tag for indexing internal MPT
frames to get any unique MPT frame tied with tag.
Each IO request submitted from SCSI mid layer will get associated MPT frame
from MPT framepool (retrieved and return back using spinlock
inside megaraid_sas driver's s
This patch will move controller's queue depth calculation in adapter specific
functions.
Signed-off-by: Kashyap Desai
Signed-off-by: Sumit Saxena
---
drivers/scsi/megaraid/megaraid_sas_base.c | 39 ++
drivers/scsi/megaraid/megaraid_sas_fusion.c |9 ++
2 fil
This patch will update few prints.
Signed-off-by: Sumit Saxena
---
drivers/scsi/megaraid/megaraid_sas_base.c | 49 ++---
1 files changed, 24 insertions(+), 25 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
b/drivers/scsi/megaraid/megaraid_sas_ba
This patch will add separate function for refiring MFI commands in Fusion
adapters's OCR code.
Signed-off-by: Kashyap Desai
Signed-off-by: Sumit Saxena
---
drivers/scsi/megaraid/megaraid_sas_fusion.c | 80 +--
1 files changed, 39 insertions(+), 41 deletions(-)
diff
This patch will create separate functions for sysPD IOs and non Read/Write
LDIOs.
Signed-off-by: Kashyap Desai
Signed-off-by: Sumit Saxena
---
drivers/scsi/megaraid/megaraid_sas.h| 10 +-
drivers/scsi/megaraid/megaraid_sas_base.c |4 +-
drivers/scsi/megaraid/megaraid_sas_fusio
This patch will update module parameters and driver name inside SCSI host
template to reflect Avago.
Signed-off-by: Sumit Saxena
---
drivers/scsi/megaraid/megaraid_sas_base.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
This patch will create separate function for setting up IRQs and enable
interrupts after adapter's initialization.
Signed-off-by: Kashyap Desai
Signed-off-by: Sumit Saxena
---
drivers/scsi/megaraid/megaraid_sas_base.c | 201 ++---
1 files changed, 97 insertions(+), 10
Add noop conversions for all ones to make sparse happy.
Signed-off-by: Christoph Hellwig
---
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
drivers/scsi/megaraid/megaraid_sas_fp.c |7 ---
drivers/scsi/megaraid/megaraid_sas_fusion.c |9 +
3 files changed, 10 insert
Signed-off-by: Christoph Hellwig
---
drivers/scsi/megaraid/megaraid_sas_base.c | 46 +++-
1 files changed, 25 insertions(+), 21 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_base.c
b/drivers/scsi/megaraid/megaraid_sas_base.c
index 67b9de8..e863701 100644
This adds endianness annotations to all data structures, and a few
variables directly referencing them.
Signed-off-by: Christoph Hellwig
---
drivers/scsi/megaraid/megaraid_sas.h| 302 +-
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
drivers/scsi/megaraid
Signed-off-by: Christoph Hellwig
---
drivers/scsi/megaraid/megaraid_sas_fusion.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c
b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 7d34fe8..17ec153 100644
--- a/drivers/scsi/
Swap the whole 32 bits we read from the hardware instead of swapping
just the 16bits we care about in place later.
Signed-off-by: Christoph Hellwig
---
drivers/scsi/megaraid/megaraid_sas_base.c |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/megaraid/meg
drivers/scsi/megaraid/megaraid_sas_base.c:1701:6: sparse: symbol
'megasas_complete_outstanding_ioctls' was not declared. Should it be static?
Signed-off-by: Fengguang Wu
---
drivers/scsi/megaraid/megaraid_sas_base.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drive
Converting structure fields in place is always a bad idea, and in this case
by moving it into the only caller we also only have to do a single byte
swap as most fields of this structure are never used.
Signed-off-by: Christoph Hellwig
---
drivers/scsi/megaraid/megaraid_sas_base.c | 12 ++--
Correct reference counting of rport
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_disc.h| 4 +-
drivers/scsi/lpfc/lpfc_els.c | 12 +++-
drivers/scsi/lpfc/lpfc_hbadisc.c | 144 +++
3 files changed, 79 insertions(
Update driver version for upstream patch set 10.6.0.1.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_version.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_version.h b/drivers/scsi/lpfc/lpfc_version.h
index c37bb
The lpfc driver does not issue RFF_ID and RFT_ID in the correct sequence
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hba
Fix incorrect log message reported for empty FCF record.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c
ind
Add support for RDP ELS command.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 1 +
drivers/scsi/lpfc/lpfc_crtn.h | 2 +
drivers/scsi/lpfc/lpfc_els.c | 415 ++
drivers/scsi/lpfc/lpfc_hw.h | 169
Fix crash in vport_delete.
We inadvertantly took the path to recreate the vport while in a
driver teardown path
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 8 +++-
drivers/scsi/lpfc/lpfc_nportdisc.c | 8 +++-
drivers/scsi/lpfc/lpfc_v
Correct reporting of vport state on fdisc command failure.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index 455a5dd..60
Correct loss of RSCNs during array takeaway/giveback testing.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_els.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
ind
Fix ABORTs WQ selection in terminate_rport_io
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_sli.c | 32 +---
1 file changed, 21 insertions(+), 11 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli
Correct loss of target discovery after cable swap.
Fix incorrect reference counting
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/sc
Fix discovery issue when changing from Pt2Pt to Fabric.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_hbadisc.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc
This patch set updates the lpfc driver to revision 10.6.0.1
The patches were cut against scsi-misc
-- james s
James Smart (14):
The lpfc driver does not issue RFF_ID and RFT_ID in the correct
sequence
Correct loss of target discovery after cable swap.
Add support for ELS LCB.
Corr
Add support for ELS LCB.
Also has a little whitespace fixing.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc.h | 1 +
drivers/scsi/lpfc/lpfc_els.c | 239 +-
drivers/scsi/lpfc/lpfc_hw.h | 32 ++
drivers/s
Change buffer pool empty message to miscellaneous category
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_scsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/scsi/lpfc/lpfc_scsi.c b/drivers/scsi/lpfc/lpfc_scsi.c
index cb73cf9..6
Fix to remove IRQF_SHARED flag for MSI/MSI-X vectors.
Signed-off-by: Dick Kennedy
Signed-off-by: James Smart
---
drivers/scsi/lpfc/lpfc_init.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 15
Please ignore only this patch of the series, this is based on a bit old
repo(sent mistakenly old patch). I am sending patch the right
patch(rebased against latest repo) with subject line- "[PATCH RESEND v2
3/18] megaraid_sas : Add separate functions for building sysPD IOs and non
RW LDIOs". Rest of
This patch will create separate functions for sysPD IOs and non Read/Write
LDIOs.
Signed-off-by: Kashyap Desai
Signed-off-by: Sumit Saxena
---
drivers/scsi/megaraid/megaraid_sas.h| 10 +-
drivers/scsi/megaraid/megaraid_sas_base.c |4 +-
drivers/scsi/megaraid/megaraid_sas_fusio
This is a rather old kernel, thus old driver. Lots of changes since the
driver was put out in 3.11.
I recommend pulling down the source kits for RHEL7 (3.10 kernel):
http://www.emulex.com/downloads/emulex/drivers/linux/rhel-7-centos-7/drivers/
Under FC/FCoE driver and install script - Source Dr
https://bugzilla.kernel.org/show_bug.cgi?id=96921
--- Comment #1 from James Smart ---
This is a rather old kernel, thus old driver. Lots of changes since the
driver was put out in 3.11.
I recommend pulling down the source kits for RHEL7 (3.10 kernel):
http://www.emulex.com/downloads/emulex/drive
This patch will upgrade the driver version and add back the release date and
sysfs hook for the same.
Some internal applications uses sysfs parameter for release date, so they were
broken because of removal
of release date from sysfs.
Signed-off-by: Sumit Saxena
---
drivers/scsi/megaraid/mega
This patch will add support for Single Server High Availability(SSHA) cluster
support.
Here is the short decsription of changes done to add support for SSHA-
1) Host will send system's Unique ID based on DMI_PRODUCT_UUID to firmware.
2) Toggle the devhandle in LDIO path for Remote LDs.
Signed-o
Signed-off-by: Christoph Hellwig
---
drivers/scsi/megaraid/megaraid_sas.h |2 +-
drivers/scsi/megaraid/megaraid_sas_base.c |9 +
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/drivers/scsi/megaraid/megaraid_sas.h
b/drivers/scsi/megaraid/megaraid_sas.h
index 2
The fusion HBAs don't really use the instance template like the other
variants, as it branches off at a much higher level. So instead of
trying to squeeze megasas_fire_cmd_fusion into the wrong calling
convention call it locally with argument data types that match what
is passed.
Signed-off-by: C
On Mon, 2015-04-20 at 18:04 +0530, sumit.sax...@avagotech.com wrote:
> Add noop conversions for all ones to make sparse happy.
>
> Signed-off-by: Christoph Hellwig
This isn't the right way to resend someone else's patch: it needs a
From: Christoph Hellwig
At the top and a signed off by you a
https://bugzilla.kernel.org/show_bug.cgi?id=90601
--- Comment #26 from Justin Keogh ---
Created attachment 174581
--> https://bugzilla.kernel.org/attachment.cgi?id=174581&action=edit
dmesg for the commit that git bisect landed on, with IOMMU disabled
--
You are receiving this mail because:
Yo
On Fri, 2015-04-17 at 16:40 -0600, Jens Axboe wrote:
> On 04/17/2015 04:20 PM, James Bottomley wrote:
> > On Fri, 2015-04-17 at 16:07 -0600, Jens Axboe wrote:
> >> On 04/17/2015 03:57 PM, James Bottomley wrote:
> >>> On Fri, 2015-04-17 at 15:47 -0600, Jens Axboe wrote:
> On 04/17/2015 03:46 PM
Even if the device backend is initialized with protection info is
enabled, some requests don't have the protection info attached for
WRITE SAME command issued by block device helpers, WRITE command with
WRPROTECT=0 by SG_IO ioctl, etc.
So when TCM loopback fabric module is used, se_cmd->t_prot_sg
This patchset aims to fix several problems related to T10-PI support.
These patches can be applied on top of Sagi's "[v1] Simlify dif_verify
routines and fixup fileio protection information code" patchset.
Akinobu Mita (4):
target: ensure se_cmd->t_prot_sg is allocated when required
target: A
sbc_dif_generate() and sbc_dif_verify() assume that each SG element
for data transfer memory doesn't straddle the block size boundary.
However, when using SG_IO ioctl, we can choose the data transfer memory
which doesn't satisfy that alignment requirement.
This change detects such cases and makes
Now we can generate correct PI for WRITE SAME command, so it is
unnecessary to disallow WRITE SAME when protection info is enabled.
Signed-off-by: Akinobu Mita
Cc: Nicholas Bellinger
Cc: Sagi Grimberg
Cc: "Martin K. Petersen"
Cc: Christoph Hellwig
Cc: "James E.J. Bottomley"
Cc: target-de...@
For WRITE SAME, data transfer memory only contains a single block but
protection information is required for all blocks that are written by
the command.
This makes sbc_dif_generate() work for WRITE_SAME.
Signed-off-by: Akinobu Mita
Cc: Nicholas Bellinger
Cc: Sagi Grimberg
Cc: "Martin K. Peters
From: Mike Christie
This works around a issue with qnap iscsi targets not handling large IOs
very well.
The target returns:
VPD INQUIRY: Block limits page (SBC)
Maximum compare and write length: 1 blocks
Optimal transfer length granularity: 1 blocks
Maximum transfer length: 4294967295 blo
51 matches
Mail list logo