Commit Graph

6487 Commits

Author SHA1 Message Date
Bart Van Assche
9d8b4ee467 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8657 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-09 17:26:30 +00:00
Bart Van Assche
1012e86f12 qla2x00t-32gbit: Revert r8645 because it breaks point-to-point mode
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8656 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-09 04:11:10 +00:00
Bart Van Assche
ac145e1cb6 ib_srpt: Detect ib_sg_dma_len() presence at compile time
This patch makes it possible to build the ib_srpt driver against a kernel
before v5.1 + latest MOFED.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8655 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-08 21:28:37 +00:00
Bart Van Assche
e634e03a78 scripts/specialize-patch: Add support for HAVE_SRP_DATA_DESC_IMM
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8654 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-08 21:17:29 +00:00
Bart Van Assche
30c6cdfbe7 ib_srpt: Detect SRP_DATA_DESC_IMM constant support at compile time
This patch makes it possible to build the ib_srpt driver against a kernel
before v4.21 + latest MOFED.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8653 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-08 20:40:51 +00:00
Bart Van Assche
2f37a91d77 Remove more references to the ibmvstgt, mpt and mvsas_tgt drivers
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8652 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 21:29:36 +00:00
Bart Van Assche
65b404ccbb qla2x00t-32gbit: stop timer in shutdown path
In shutdown/reboot paths, the timer is not stopped:

  qla2x00_shutdown
  pci_device_shutdown
  device_shutdown
  kernel_restart_prepare
  kernel_restart
  sys_reboot

This causes lockups (on powerpc) when firmware config space access calls
are interrupted by smp_send_stop later in reboot.

Fixes: e30d1756480dc ("[SCSI] qla2xxx: Addition of shutdown callback handler.")
Link: https://lore.kernel.org/r/20191024063804.14538-1-npiggin@gmail.com
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit d3566abb1a1e7772116e4d50fb6a58d19c9802e5 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8651 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:27:58 +00:00
Bart Van Assche
60f0c2ebe9 qla2x00t-32gbit: Fix partial flash write of MBI
For new adapters with multiple flash regions to write to, current code
allows FW & Boot regions to be written, while other regions are blocked via
sysfs. The fix is to block all flash read/write through sysfs interface.

Fixes: e81d1bcbde06 ("scsi: qla2xxx: Further limit FLASH region write access from SysFS")
Cc: stable@vger.kernel.org # 5.2
Link: https://lore.kernel.org/r/20191022193643.7076-3-hmadhani@marvell.com
Signed-off-by: Quinn Tran <qutran@marvell.com>
ed-off-by: Girish Basrur <gbasrur@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 8d8b83f5be2a3bdac3695a94e6cb5e50bd114869 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8650 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:27:19 +00:00
Bart Van Assche
6dd22217c6 qla2x00t-32gbit: Initialize mailbox to prevent driver load failure
This patch fixes issue with Gen7 adapter in a blade environment where one
of the ports will not be detected by driver. Firmware expects mailbox 11 to
be set or cleared by driver for newer ISP.

Following message is seen in the log file:

[   18.810892] qla2xxx [0000:d8:00.0]-1820:1: **** Failed=102 mb[0]=4005 mb[1]=37 mb[2]=20 mb[3]=8
[   18.819596]  cmd=2 ****

[mkp: typos]

Link: https://lore.kernel.org/r/20191022193643.7076-2-hmadhani@marvell.com
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit c2ff2a36eff60efb5e123c940115216d6bf65684 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8649 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:26:51 +00:00
Bart Van Assche
c24ad5d601 qla2x00t-32gbit: fixup incorrect usage of host_byte
DRIVER_ERROR is a a driver byte setting, not a host byte.  The qla2xxx
driver should rather return DID_ERROR here to be in line with the other
drivers.

Link: https://lore.kernel.org/r/20191018140458.108278-1-hare@suse.de
Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 66cf50e65b183c863825f5c28a818e3f47a72e40 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8648 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:26:23 +00:00
Bart Van Assche
cecdb41bb9 qla2x00t-32gbit: Fix a potential NULL pointer dereference
alloc_workqueue is not checked for errors and as a result a potential
NULL dereference could occur.

Link: https://lore.kernel.org/r/1568824618-4366-1-git-send-email-allen.pais@oracle.com
Signed-off-by: Allen Pais <allen.pais@oracle.com>
Reviewed-by: Martin Wilck <mwilck@suse.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 35a79a63517981a8aea395497c548776347deda8 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8647 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:25:41 +00:00
Bart Van Assche
56f22a2bbf qla2x00t-32gbit: Remove WARN_ON_ONCE in qla2x00_status_cont_entry()
Commit 88263208dd23 ("scsi: qla2xxx: Complain if sp->done() is not called
from the completion path") introduced the WARN_ON_ONCE in
qla2x00_status_cont_entry(). The assumption was that there is only one
status continuations element. According to the firmware documentation it is
possible that multiple status continuations are emitted by the firmware.

Fixes: 88263208dd23 ("scsi: qla2xxx: Complain if sp->done() is not called from the completion path")
Link: https://lore.kernel.org/r/20190927073031.62296-1-dwagner@suse.de
Cc: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Daniel Wagner <dwagner@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 9bc6157f5fd0e898c94f3018d088a3419bde0d8f upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8646 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:25:09 +00:00
Bart Van Assche
db1be8cf77 qla2x00t-32gbit: Fix Nport ID display value
For N2N, the NPort ID is assigned by driver in the PLOGI ELS.  According to
FW Spec the byte order for SID is not the same as DID.

Link: https://lore.kernel.org/r/20190912180918.6436-8-hmadhani@marvell.com
Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com>
Tested-by: Roman Bolshakov <r.bolshakov@yadro.com>
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 0aabb6b699f72dca96988d3f428e222f932dc889 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8645 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:24:35 +00:00
Bart Van Assche
d0b4561393 qla2x00t-32gbit: Fix N2N link up fail
During link up/bounce, qla driver would do command flush as part of
cleanup.  In this case, the flush can intefere with FW state.  This patch
allows FW to be in control of link up.

Link: https://lore.kernel.org/r/20190912180918.6436-7-hmadhani@marvell.com
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit f3f1938bb673b1b5ad182c4608f5f8a24921eea3 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8644 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:24:12 +00:00
Bart Van Assche
2341a90093 qla2x00t-32gbit: Fix N2N link reset
Fix stalled link recovery for N2N with FC-NVMe connection.

Link: https://lore.kernel.org/r/20190912180918.6436-6-hmadhani@marvell.com
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 7f2a398d59d658818f3d219645164676fbbc88e8 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8643 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:23:45 +00:00
Bart Van Assche
316c574221 qla2x00t-32gbit: Optimize NPIV tear down process
In the case of NPIV port is being torn down, this patch will set a flag to
indicate VPORT_DELETE. This would prevent relogin to be triggered.

Link: https://lore.kernel.org/r/20190912180918.6436-5-hmadhani@marvell.com
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit f5187b7d1ac66b61676f896751d3af9fcf8dd592 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8642 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:23:15 +00:00
Bart Van Assche
5d16562069 qla2x00t-32gbit: Fix stale mem access on driver unload
On driver unload, 'remove_one' thread was allowed to advance, while session
cleanup still lag behind.  This patch ensures session deletion will finish
before remove_one can advance.

Link: https://lore.kernel.org/r/20190912180918.6436-4-hmadhani@marvell.com
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit fd5564ba54e0d8a9e3e823d311b764232e09eb5f upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8641 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:22:41 +00:00
Bart Van Assche
bbd83a6ad1 qla2x00t-32gbit: Fix unbound sleep in fcport delete path.
There are instances, though rare, where a LOGO request cannot be sent out
and the thread in free session done can wait indefinitely. Fix this by
putting an upper bound to sleep.

Link: https://lore.kernel.org/r/20190912180918.6436-3-hmadhani@marvell.com
Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit c3b6a1d397420a0fdd97af2f06abfb78adc370df upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8640 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:22:14 +00:00
Bart Van Assche
be26597a48 qla2x00t-32gbit: Silence fwdump template message
Print if fwdt template is present or not, only when
ql2xextended_error_logging is enabled.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8639 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:21:49 +00:00
Bart Van Assche
a09b7f4edd qla2x00t-32gbit: Update driver version to 10.01.00.19-k
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Link: https://lore.kernel.org/r/20190830222402.23688-7-hmadhani@marvell.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit fd807dc4719cbc081f647300a76af49a35c7b28e upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8638 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:21:25 +00:00
Bart Van Assche
77fa14773b qla2xxx: Fix stale session
On fast cable pull, where driver is unable to detect device has disappeared
and came back based on switch info, qla2xxx would not re-login while remote
port has already invalidated the session.  This causes IO timeout.  This
patch would relogin to remote device for RSCN affected port.

Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Link: https://lore.kernel.org/r/20190830222402.23688-6-hmadhani@marvell.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 2037ce49d30a0d07348df406ef78f6664f4bc899 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8637 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:20:56 +00:00
Bart Van Assche
47365ea306 qla2x00t-32gbit: Fix stuck login session
Login session was stucked on cable pull. When FW is in the middle PRLI
PENDING + driver is in Initiator mode, driver fails to check back with FW to
see if the PRLI has completed. This patch would re-check with FW again to
make sure PRLI would complete before pushing forward with relogin.

Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Link: https://lore.kernel.org/r/20190830222402.23688-5-hmadhani@marvell.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit ce0ba496dccfc15d3a8866b845864585b5d316ff upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8636 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:20:42 +00:00
Bart Van Assche
11e54acfa4 qla2xxx: Fix driver reload for ISP82xx
HINT_MBX_INT_PENDING is not guaranteed to be cleared by firmware. Remove
check that prevent driver load with ISP82XX.

Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Link: https://lore.kernel.org/r/20190830222402.23688-4-hmadhani@marvell.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 32a13df21668b92f70f0673387f29251e0f285ec upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8635 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:20:18 +00:00
Bart Van Assche
8f1de180e6 qla2x00t-32gbit: Fix flash read for Qlogic ISPs
Use adapter specific callback to read flash instead of ISP adapter
specific.

Signed-off-by: Quinn Tran <qutran@marvell.com>
Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Link: https://lore.kernel.org/r/20190830222402.23688-3-hmadhani@marvell.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit cb92cb1657c438efe7c88c9759f40c0a9d46c353 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8634 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:20:02 +00:00
Bart Van Assche
05a3148022 qla2x00t-32gbit: Fix message indicating vectors used by driver
This patch updates log message which indicates number of vectors used by
the driver instead of displaying failure to get maximum requested
vectors. Driver will always request maximum vectors during
initialization. In the event driver is not able to get maximum requested
vectors, it will adjust the allocated vectors. This is normal and does not
imply failure in driver.

Signed-off-by: Himanshu Madhani <hmadhani@marvell.com>
Reviewed-by: Ewan D. Milne <emilne@redhat.com>
Reviewed-by: Lee Duncan <lduncan@suse.com>
Link: https://lore.kernel.org/r/20190830222402.23688-2-hmadhani@marvell.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit da48b82425b8bf999fb9f7c220e967c4d661b5f8 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8633 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:19:45 +00:00
Bart Van Assche
88de0c2872 qla2x00t-32gbit: fix spelling mistake "initializatin" -> "initialization"
There is a spelling mistake in a ql_log message. Fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 401fe8e99c71a51b61d24f237cb7c54842b9c662 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8632 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:19:18 +00:00
Bart Van Assche
1e29e6cd3e qla2x00t-32gbit: Remove SGI SN2 support
The SGI SN2 support is about to be removed, so drop the bits specific to
it from this driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lkml.kernel.org/r/20190813072514.23299-13-hch@lst.de
Signed-off-by: Tony Luck <tony.luck@intel.com>

[ commit 42ab658fccb6e13748ff4cb8bf33d1a2fe3f934a upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8631 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:18:56 +00:00
Bart Van Assche
e5da6b86d0 qla2x00t-32gbit: Fix gnl.l memory leak on adapter init failure
If HBA initialization fails unexpectedly (exiting via probe_failed:), we
may fail to free vha->gnl.l. So that we don't attempt to double free, set
this pointer to NULL after a free and check for NULL at probe_failed: so we
know whether or not to call dma_free_coherent.

Signed-off-by: Bill Kuzeja <william.kuzeja@stratus.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit 26fa656e9a0cbccddf7db132ea020d2169dbe46e upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8630 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:18:19 +00:00
Bart Van Assche
ee1c55ba6c qla2x00t-32gbit: Fix possible fcport null-pointer dereferences
In qla2x00_alloc_fcport(), fcport is assigned to NULL in the error
handling code on line 4880:
    fcport = NULL;

Then fcport is used on lines 4883-4886:
    INIT_WORK(&fcport->del_work, qla24xx_delete_sess_fn);
	INIT_WORK(&fcport->reg_work, qla_register_fcport_fn);
	INIT_LIST_HEAD(&fcport->gnl_entry);
	INIT_LIST_HEAD(&fcport->list);

Thus, possible null-pointer dereferences may occur.

To fix these bugs, qla2x00_alloc_fcport() directly returns NULL
in the error handling code.

These bugs are found by a static analysis tool STCheck written by us.

Signed-off-by: Jia-Ju Bai <baijiaju1990@gmail.com>
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>

[ commit e82f04ec6ba91065fd33a6201ffd7cab840e1475 upstream ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8629 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:17:56 +00:00
Bart Van Assche
abc8e3cfa1 qla2x00t-32gbit/Makefile: Add SPDX License Identifier
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8628 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:17:17 +00:00
Bart Van Assche
6448d4a1b3 qla2x00t-32gbit, qla_isr.c: Minimize diffs with the upstream code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8627 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:16:45 +00:00
Bart Van Assche
fed017ba44 qla2x00t-32gbit, qla_gs.c: Minimize diffs with the upstream code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8626 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:16:28 +00:00
Bart Van Assche
18879e695f qla2x00t-32gbit, qla_bsg.c: Minimize diffs with the upstream code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8625 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:16:12 +00:00
Bart Van Assche
81c207d37d qla2x00t-32gbit, qla_isr.c: Minimize diffs with the upstream code
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8624 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-03 00:15:34 +00:00
Bart Van Assche
a50b32ca42 isert-scst: Change unlikely(IS_ERR(...)) into IS_ERR(...)
Surrounding IS_ERR(...) with unlikely() is redundant. Remove the redundant
unlikely() annotations.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8623 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-02 23:03:18 +00:00
Bart Van Assche
6dcb32a5ca ibmvstgt, mpt and mvsas_tgt: Remove these drivers
These drivers have not been updated in a significant way since 2010.
Additionally, these drivers fail to build against recent kernel versions.
I think this means that nobody is using these drivers. Hence remove these
drivers from the trunk.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8622 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-11-02 22:59:21 +00:00
Bart Van Assche
c02e4209a4 nightly build: Update kernel versions
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8621 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-15 04:45:43 +00:00
Bart Van Assche
5de1135f8e scst: Remove all references to the QLogic git tree
Since the driver in the qla2x00t-32gbit directory supersedes the driver from
the QLogic git tree, remove all references to the latter.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8620 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-15 04:15:49 +00:00
Bart Van Assche
c027b9de7e scst: Port to UEK 4
Reported-by: Gilbert Standen <gilstanden@hotmail.com>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8619 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-13 21:28:19 +00:00
Bart Van Assche
0c2a242249 .gitignore: Update
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8618 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-13 21:21:58 +00:00
Bart Van Assche
a444b28dfa scripts/sign-modules: Do not try to sign modules CONFIG_MODULE_SIG=n
This fixes the build on e.g. Debian 9. See also
https://sourceforge.net/p/scst/tickets/30/.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8617 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-11 02:08:09 +00:00
Bart Van Assche
8dbffe9b25 scst-dkms.spec.in: Sync with scst.spec.in
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8616 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-09 02:57:22 +00:00
Bart Van Assche
5d3e3e9590 scripts/specialize-patch: Port to RHEL 8
Signed-off-by: Ivan Orlov <orlov@soligran.ru>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8615 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-09 02:41:48 +00:00
Bart Van Assche
4c32934243 iscsi-scst/Makefile_user_space_only: Synchronize this file with iscsi-scst/Makefile
Signed-off-by: Ivan Orlov <orlov@soligran.ru>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8614 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-09 02:40:14 +00:00
Bart Van Assche
36e4ee26bb scst/include/backport.h: Include <linux/blk-mq.h> on RHEL 8
This patch is a build fix for RHEL 8.

Signed-off-by: Ivan Orlov <orlov@soligran.ru>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8613 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-09 02:39:44 +00:00
Bart Van Assche
1e79f561bc scst.spec.in: Make this spec file compatible with rpm v4.14
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8612 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-09 02:17:11 +00:00
Bart Van Assche
a504222723 scst/src/Makefile: Specify the installation directory for device handlers explicitly
This patch unbreaks 'make rpm' against Linux kernel v5.3.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8611 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-09 02:16:28 +00:00
Bart Van Assche
87d64c162d scst: Unbreak the build for RHEL 6 / CentOS 6
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8610 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-09 01:33:25 +00:00
Bart Van Assche
7b8c92e151 scst: Fix latency measurements if multiple commands are processed simultaneously by a single thread
Signed-off-by: Lev Vainblat <lev@zadarastorage.com>
[ bvanassche: reordered scst_cmd members ]


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8608 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-06 23:52:51 +00:00
Bart Van Assche
8df56e2ea3 scripts/sign-modules: Fix module signing for Debian
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8607 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-10-06 23:24:06 +00:00