Re: BUG: unable to handle kernel NULL pointer deref, bisected to 746650160

2015-04-22 Thread Torsten Luettgert
On Mon, 20 Apr 2015 13:24:24 +0200 Torsten Luettgert wrote: > > Can you test the patch below? > > I'm running it right now and keeping my fingers crossed. Just under two days uptime now, and no crashes. I'm pretty sure you nailed it. I'll keep this running, and if - when - it has been going fo

[PATCH v5 3/9] snic:Add meta request, handling of meta requests.

2015-04-22 Thread Narsimhulu Musini
snic_io.h contains meta request structure definition meta request contains high level information about firmware requests. such as request information, size, SGLs. snic_io.c contains interfaces to handle meta request, firmware acknowledgment, and high level generic queueing interface. Signed-off-

[PATCH v5 1/9] snic: snic module infrastructure

2015-04-22 Thread Narsimhulu Musini
snic_main.c contains module load and unload, global driver context, PCI Registration, PCI probe and remove, SCSI ML registration functionality. snic.h contains snic structure definition, snic global context, and prototypes. snic_attrs.c contains device attributes to list snic state, link state, a

[PATCH v5 2/9] snic:Add interrupt, resource firmware interfaces

2015-04-22 Thread Narsimhulu Musini
snic_fwint.h contains firmware interface structures. snic_res.h contains firmware request initialization snic_res.c contains retrieval of resource configuration, and allocation, and initialization of HW Queues. snic_isr.c contains interrupt request, release, and handling Signed-off-by: Narsimhu

[PATCH v5 7/9] snic:Add sysfs entries to list stats and trace data

2015-04-22 Thread Narsimhulu Musini
snic_stats.h contains stats structre definitions for various events in snic driver. snic_debugfs.c contains setup and cleanup of sysfs entries for listing stats, resetting stats, enabling/disabling trace, and listing trace data. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela -

[PATCH v5 4/9] snic:Add snic target discovery

2015-04-22 Thread Narsimhulu Musini
snic_disc.h contains snic target structure definition. snic_disc.c contains target discovery, setup, lookup, and cleanup snic_ctl.c contains retrieval of snic capabilities includes max ios, size, SGs per request, and max concurrent requests. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesid

[PATCH v5 6/9] snic:Add low level queuing interfaces

2015-04-22 Thread Narsimhulu Musini
These files contain low level queueing interfaces includes hardware queues, and management of hardware features. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v5 - removed macro definitions that rename function names. * v3 - Cleaned up unused functions. * v2 - driver s

[PATCH v5 8/9] snic:Add event tracing to capture IO events.

2015-04-22 Thread Narsimhulu Musini
snic_trc.h contains global trace structure definitions for snic driver snic_trc.c adds tracing functionality to capture various IO events. It maintains global trace buffer to maintain recent history of IO events. It helps to understand the sequence of events prior to particular IO event, or hung,

[PATCH v5 9/9] snic:Add Makefile, patch Kconfig, MAINTAINERS

2015-04-22 Thread Narsimhulu Musini
Kconfig for kbuild Makefile to build snic module Updated MAINTAINERS file Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v3 - Added additional config section (CONFIG_SNIC_DEBUG_FS) for enabling debugging functionality. * v2 - Added compile time flags for debugfs depen

[PATCH v5 5/9] snic:add SCSI handling, AEN, and fwreset handling

2015-04-22 Thread Narsimhulu Musini
snic_scsi.c contains scsi handling, includes queuing io, abort, lun reset, and host reset. Also it handles asynchronous event notifications from FW. Signed-off-by: Narsimhulu Musini Signed-off-by: Sesidhar Baddela --- * v5 - Fixed host byte codes for the failed IOs. * v2 - Changed queuecommand

[PATCH v5 0/9] snic:initial submission of snic driver for Cisco SCSI HBA

2015-04-22 Thread Narsimhulu Musini
The following patch series adds snic driver for Cisco SCSI HBA Cisco has developed a new PCI HBA interface called sNIC, which stands for SCSI NIC. This is a new storage feature supported on specialized network adapter. The new PCI function provides a uniform host interface and abstracts backend s

RE: [PATCH RESEND 6/18] megaraid_sas : Use Block layer tag support for internal command indexing

2015-04-22 Thread Sumit Saxena
>-Original Message- >From: Sumit Saxena [mailto:sumit.sax...@avagotech.com] >Sent: Tuesday, April 21, 2015 6:03 PM >To: 'Christoph Hellwig' >Cc: 'linux-scsi@vger.kernel.org'; 'the...@redhat.com'; >'martin.peter...@oracle.com'; 'jbottom...@parallels.com'; Kashyap Desai >Subject: RE: [PATCH R

Re: [PATCH RESEND 6/18] megaraid_sas : Use Block layer tag support for internal command indexing

2015-04-22 Thread Christoph Hellwig
On Wed, Apr 22, 2015 at 05:02:03PM +0530, Sumit Saxena wrote: > Christoph, > I have started rework for the patches. I will remove debug printks. Can > you please let me know should I go for separate patch for change in > calling convention return_cmd? If it makes a huge difference for you feel fre

RE: [PATCH RESEND 6/18] megaraid_sas : Use Block layer tag support for internal command indexing

2015-04-22 Thread Sumit Saxena
>-Original Message- >From: Christoph Hellwig [mailto:h...@infradead.org] >Sent: Wednesday, April 22, 2015 5:10 PM >To: Sumit Saxena >Cc: Christoph Hellwig; linux-scsi@vger.kernel.org; the...@redhat.com; >martin.peter...@oracle.com; jbottom...@parallels.com; Kashyap Desai >Subject: Re: [PATC

RE: [PATCH v4 19/43] hpsa: add ioaccel sg chaining for the ioaccel2 path

2015-04-22 Thread brace
The last I read about mempools was from: Linux Device Drivers By Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman https://lwn.net/images/pdf/LDD3/ch08.pdf If you are considering using a mempool in your driver, please keep one thing in mind: mempools allocate a chunk of memo

[PATCH] lpfc: fix model description

2015-04-22 Thread Sebastian Herbszt
Remove trailing space from model description. Signed-off-by: Sebastian Herbszt diff -up 4.0/drivers/scsi/lpfc.orig/lpfc_init.c 4.0/drivers/scsi/lpfc/lpfc_init.c --- 4.0/drivers/scsi/lpfc.orig/lpfc_init.c 2015-04-15 06:18:24.673045138 +0200 +++ 4.0/drivers/scsi/lpfc/lpfc_init.c 2015-04-2

Re: [PATCH v4 19/43] hpsa: add ioaccel sg chaining for the ioaccel2 path

2015-04-22 Thread Hannes Reinecke
On 04/22/2015 09:12 PM, brace wrote: > The last I read about mempools was from: > Linux Device Drivers > By Jonathan Corbet, Alessandro Rubini, Greg Kroah-Hartman > > https://lwn.net/images/pdf/LDD3/ch08.pdf > > > If you are considering using a mempool in your driver, please keep >