Re: [PATCHv4 1/1] SCSI: hosts: update to use ida_simple for host_no management

2015-10-16 Thread Greg KH
On Fri, Oct 16, 2015 at 01:03:42PM -0700, Lee Duncan wrote: > Adding linux-usb and linux-hotplug to cc list, in case they wish to comment. > > Summary: I want to change SCSI host number so that it gets re-used, like > disk index numbers, instead of always increasing. > > Please see below. > >

Re: [PATCHv4 1/1] SCSI: hosts: update to use ida_simple for host_no management

2015-10-16 Thread Lee Duncan
Adding linux-usb and linux-hotplug to cc list, in case they wish to comment. Summary: I want to change SCSI host number so that it gets re-used, like disk index numbers, instead of always increasing. Please see below. On 10/14/2015 11:53 AM, James Bottomley wrote: > On Wed, 2015-10-14 at 11:34

Re: NULL pointer dereference: IP: [] sr_runtime_suspend+0xc/0x20 [sr_mod]

2015-10-16 Thread Paul Menzel
Package: linux-image-4.2.0-1-686-pae Version: 4.2.3-2 Severity: important Dear Linux SCSI folks, please don’t include the address sub...@bugs.debian.org in your reply. Am Freitag, den 16.10.2015, 03:05 +0200 schrieb Paul Menzel: > using Debian Sid/unstable with Linux 4.2.3-1 upgrading from

Re: NULL pointer dereference: IP: [] sr_runtime_suspend+0xc/0x20 [sr_mod]

2015-10-16 Thread Paul Menzel
Dear Linux SCSI folks, Am Freitag, den 16.10.2015, 09:54 +0200 schrieb Paul Menzel: > Package: linux-image-4.2.0-1-686-pae > Version: 4.2.3-2 > Severity: important > please don’t include the address sub...@bugs.debian.org in your reply. this issue is now also tracked in the Debian Bug Tracking

LSI driver and SSD status error in IPMI

2015-10-16 Thread Birta Levente
Hi to all I don't know if this is a right list to ask, but I take my chance: I have a supermicro server with LSI 3108 with - 2x300GB SAS spin drive in raid1 (virtual drive 0) - 2x300GB SAS spin drive in raid1 (virtual drive 1) - 2x200GB Intel SSD DC S3710 drives configured as JBOD in LSI bios

Re: [PATCH] scsi: advansys needs ISA dma api for ISA support

2015-10-16 Thread Arnd Bergmann
On Friday 16 October 2015 13:49:06 Hannes Reinecke wrote: > On 10/15/2015 05:04 PM, Arnd Bergmann wrote: > > On Thursday 15 October 2015 14:09:31 Hannes Reinecke wrote: > >> On 10/15/2015 02:06 PM, Hannes Reinecke wrote: > >>> On 10/12/2015 05:10 PM, Arnd Bergmann wrote: > diff --git

Re: [PATCH 13/25] scsi: hisi_sas: add path from phyup irq to SAS framework

2015-10-16 Thread Arnd Bergmann
On Monday 12 October 2015 23:20:25 John Garry wrote: > @@ -804,6 +818,16 @@ static irqreturn_t int_phyup_v1_hw(int irq_no, void *p) > phy->identify.target_port_protocols = > SAS_PROTOCOL_SMP; > > + wq = kmalloc(sizeof(*wq), GFP_ATOMIC); > + if

Re: [PATCH 0/3] SCSI: Fix hard lockup in scsi_remove_target()

2015-10-16 Thread Johannes Thumshirn
On Wed, 2015-10-14 at 11:18 -0700, Christoph Hellwig wrote: > On Wed, Oct 14, 2015 at 08:45:56AM -0700, James Bottomley wrote: > > OK, so I really need you to separate the problems. Fixing the bug [..] > > Johannes, can you test the patch below? I've tested your patch and it doesn't show the

Re: [PATCH 1/1] scsi subsystem : fix function __scsi_device_lookup

2015-10-16 Thread Zhengping Zhou
2015-10-15 16:22 GMT+08:00 Zhengping Zhou : > Yes > > But it's interesting ,when you continue to add this device (with the > same LUN, target, bus, and host number!) to the list,scsi_add_device > will call scsi_probe_and_add_lun,and it will call >

Re: [PATCH v2] scsi: advansys needs ISA dma api for ISA support

2015-10-16 Thread Hannes Reinecke
On 10/16/2015 02:13 PM, Arnd Bergmann wrote: > The advansys drvier uses the request_dma function that is used on ISA > machines for the internal DMA controller, which causes build errors > on platforms that have ISA slots but do not provide the ISA DMA API: > > drivers/scsi/advansys.c: In

Re: [PATCH] scsi: advansys needs ISA dma api for ISA support

2015-10-16 Thread Hannes Reinecke
On 10/15/2015 05:04 PM, Arnd Bergmann wrote: > On Thursday 15 October 2015 14:09:31 Hannes Reinecke wrote: >> On 10/15/2015 02:06 PM, Hannes Reinecke wrote: >>> On 10/12/2015 05:10 PM, Arnd Bergmann wrote: diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index

[PATCH v2] scsi: advansys needs ISA dma api for ISA support

2015-10-16 Thread Arnd Bergmann
The advansys drvier uses the request_dma function that is used on ISA machines for the internal DMA controller, which causes build errors on platforms that have ISA slots but do not provide the ISA DMA API: drivers/scsi/advansys.c: In function 'advansys_board_found':

Re: [PATCH] scsi: kconfig: When possible, compile drivers with COMPILE_TEST

2015-10-16 Thread Luis de Bethencourt
On 15/10/15 00:39, James Bottomley wrote: > On Thu, 2015-10-15 at 00:30 +0100, Luis de Bethencourt wrote: >> On 14/10/15 23:42, James Bottomley wrote: >>> On Wed, 2015-10-14 at 22:13 +0100, Luis de Bethencourt wrote: These drivers only have runtime but no build time dependencies, so they can

Re: [PATCH 13/25] scsi: hisi_sas: add path from phyup irq to SAS framework

2015-10-16 Thread John Garry
On 16/10/2015 13:55, Arnd Bergmann wrote: On Monday 12 October 2015 23:20:25 John Garry wrote: @@ -804,6 +818,16 @@ static irqreturn_t int_phyup_v1_hw(int irq_no, void *p) phy->identify.target_port_protocols = SAS_PROTOCOL_SMP; + wq =

Re: [PATCH 13/25] scsi: hisi_sas: add path from phyup irq to SAS framework

2015-10-16 Thread Arnd Bergmann
On Friday 16 October 2015 14:29:55 John Garry wrote: > > It could be considered. > > A potential issue I see is with hisi_sas_control_phy() for > PHY_FUNC_HARD_RESET: this allocates a hisi_sas_wq struct and processes > the reset in the queue work. When we re-enable the phy for the reset, >

Re: [PATCH 02/25] devicetree: bindings: scsi: HiSi SAS

2015-10-16 Thread Rob Herring
On Mon, Oct 12, 2015 at 10:20 AM, John Garry wrote: > Add devicetree bindings for HiSilicon SAS driver. In the future, please use get_maintainers.pl. > Signed-off-by: John Garry > --- > .../devicetree/bindings/scsi/hisilicon-sas.txt | 63 >

Re: [PATCH v2] scsi: advansys needs ISA dma api for ISA support

2015-10-16 Thread James Bottomley
On Fri, 2015-10-16 at 14:13 +0200, Arnd Bergmann wrote: > The advansys drvier uses the request_dma function that is used on ISA > machines for the internal DMA controller, which causes build errors > on platforms that have ISA slots but do not provide the ISA DMA API: > > drivers/scsi/advansys.c:

Re: [PATCH 0/12] megaraid_sas : Updates for scsi for-next

2015-10-16 Thread Tomas Henzl
On 15.10.2015 10:09, sumit.sax...@avagotech.com wrote: > This patch set is rebased on top of last patch set sent by me- > http://marc.info/?l=linux-scsi=144102204225400=2 > Please consider this patch set for next kernel release. > > Signed-off-by: Sumit Saxena >

Re: PATCH 03/12] megaraid_sas : Support for Intruder(12 Gbps) controller

2015-10-16 Thread Tomas Henzl
On 15.10.2015 10:09, sumit.sax...@avagotech.com wrote: > Signed-off-by: Sumit Saxena > Signed-off-by: Kashyap Desai Reviewed-by: Tomas Henzl Tomas -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 07/12] megaraid_sas : Online firmware Upgrade support for Secure JBOD feature

2015-10-16 Thread Tomas Henzl
On 15.10.2015 10:10, sumit.sax...@avagotech.com wrote: > Signed-off-by: Sumit Saxena > Signed-off-by: Kashyap Desai Reviewed-by: Tomas Henzl Tomas -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH v2] scsi: advansys needs ISA dma api for ISA support

2015-10-16 Thread Arnd Bergmann
On Friday 16 October 2015 06:53:44 James Bottomley wrote: > > > > Signed-off-by: Arnd Bergmann > > > > diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig > > index d2f480b04a52..1d8b8257773d 100644 > > --- a/drivers/scsi/Kconfig > > +++ b/drivers/scsi/Kconfig > > @@ -498,7

Re: [PATCH v2] scsi: advansys needs ISA dma api for ISA support

2015-10-16 Thread James Bottomley
On Fri, 2015-10-16 at 16:19 +0200, Arnd Bergmann wrote: > On Friday 16 October 2015 06:53:44 James Bottomley wrote: > > > > > > Signed-off-by: Arnd Bergmann > > > > > > diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig > > > index d2f480b04a52..1d8b8257773d 100644 > > >

Re: [PATCH 01/12] megaraid_sas : Expose TAPE drives unconditionally

2015-10-16 Thread Tomas Henzl
On 15.10.2015 10:09, sumit.sax...@avagotech.com wrote: > Expose non-disk(TAPE drive, CD-ROM) unconditionally. This issue is reported > in Redhat Bugzilla [Bug 1254762]. > > Cc: > Signed-off-by: Sumit Saxena > Signed-off-by: Kashyap Desai

Re: [PATCH 04/12] megaraid_sas : Support for Cutlass(12 Gbps) controller

2015-10-16 Thread Tomas Henzl
On 15.10.2015 10:09, sumit.sax...@avagotech.com wrote: > Signed-off-by: Sumit Saxena > Signed-off-by: Kashyap Desai Reviewed-by: Tomas Henzl Tomas -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 06/12] megaraid_sas : Update OCR capability on controller properties change

2015-10-16 Thread Tomas Henzl
On 15.10.2015 10:10, sumit.sax...@avagotech.com wrote: > Signed-off-by: Sumit Saxena > Signed-off-by: Kashyap Desai Reviewed-by: Tomas Henzl Tomas -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 02/12] megaraid_sas : Code optimization- remove PCI Ids based checks

2015-10-16 Thread Tomas Henzl
On 15.10.2015 10:09, sumit.sax...@avagotech.com wrote: > Code optimization: remove PCI id based checks and instead of those use > instance->ctrl_context to make call whether controller is MFI based OR fusion > adapter. > fusion adapters further are also divided in two categories- 1)THUNDERBOLT

Re: [PATCH 05/12] megaraid_sas : Donot use PAGE_SIZE macro for calculation of max_sectors per IO request

2015-10-16 Thread Tomas Henzl
On 15.10.2015 10:10, sumit.sax...@avagotech.com wrote: > Do not use PAGE_SIZE marco to calculate max_sectors per IO request. Driver > code assumes PAGE_SIZE will be always 4096 which can do lead to wrongly > calculated value if PAGE_SIZE is not 4096. This issue was reported in Ubuntu > Bugzilla