Bart Van Assche
0895adbb92
scripts/kernel-functions: Unbreak the build against kernel versions 2.6.34[2..7]
...
Fixes: e3d187f6af ("scripts/kernel-functions: Apply kernel patches more selectively")
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9305 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-31 16:57:10 +00:00
Bart Van Assche
0b3aad05f5
scripts/update-version: Also update the qla2x00t-32gbit version number
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9233 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-22 23:45:42 +00:00
Bart Van Assche
e3d187f6af
scripts/kernel-functions: Apply kernel patches more selectively
...
Only try to apply kernel patches that should apply such that 'patch' does
not report any error messages that some patches fail to apply.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9228 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-21 20:56:58 +00:00
Bart Van Assche
8ddd93ee2a
scripts/kernel-functions: Remove an UEK R4 patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9225 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 22:16:51 +00:00
Bart Van Assche
21c519918d
regression tests: Disable branch profiling in the kernel configuration
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9223 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 21:41:19 +00:00
Bart Van Assche
ab65209f50
scripts/run-regression-tests: Improve support for UEK kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9220 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 02:40:29 +00:00
Bart Van Assche
81ecb3bd6a
scripts: Remove all references to the mpt driver
...
Additionally, make scripts/run-regression-tests build the qla2x00t-32gbit
driver.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9219 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 02:39:11 +00:00
Bart Van Assche
5e2e7bca82
scripts/run-regression-tests: More Linux kernel v5.10 fixes
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9218 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 02:22:47 +00:00
Bart Van Assche
6c37ea9023
scripts/run-regression-tests: Fix the build against Linux kernel v5.10
...
From the Linux kernel help text:
modules_prepare - Set up for building external modules
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9217 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 02:16:20 +00:00
Bart Van Assche
7657f17bf5
scripts/kernel-functions: Source code cleanup
...
Fix a few shellcheck warnings, swap two if-statements and add a few comments.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9215 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-20 00:59:42 +00:00
Bart Van Assche
5a1f212ce6
nightly build: Include the Oracle UEK kernel
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9214 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-19 17:51:00 +00:00
Bart Van Assche
af0b6a2895
scripts/specialize-patch: Handle _COMPAT_LINUX_MM_H correctly
...
Fixes: 5930b4db71 ("scst: Fix the MOFED build")
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9183 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-11-19 03:46:04 +00:00
Bart Van Assche
570a36ffd2
scripts/checkpatch: Only analyze kernel source code
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9165 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-09-16 14:27:44 +00:00
Bart Van Assche
0aed574e88
scripts/generate-kernel-patch: Make this script appropriate for the trunk and 3.4.x branches
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9098 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-08-03 02:56:37 +00:00
Bart Van Assche
8a22ef6289
ib_srpt, iscsi-scst: Port to Linux kernel v5.8
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9060 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-07-25 14:09:23 +00:00
Bart Van Assche
d6fd03107f
Split Makefiles: move kernel build rules into Kbuild files
...
This patch makes the Makefiles easier to read.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9039 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-07-05 02:13:40 +00:00
Bart Van Assche
ffabb52e9b
scripts/specialize-patch: Strip trailing whitespace
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9034 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-29 15:15:55 +00:00
Bart Van Assche
bfbc3ac6e7
scripts/specialize-patch: Improve RHEL / CentOS support
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9029 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-21 16:08:48 +00:00
Bart Van Assche
09d4e1e443
scripts/kernel-functions: Improve gcc 10 support
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9028 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-21 16:08:22 +00:00
Bart Van Assche
8174bad3da
scripts/kernel-functions: Make it possible to build older kernels with gcc 10
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9027 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-21 16:07:16 +00:00
Bart Van Assche
3b4ba67d8b
scripts: Rework the approach for building older kernels with a recent gcc
...
Instead of setting KCFLAGS, modify include/linux/compiler-gcc.h.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9003 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-06-06 17:09:44 +00:00
Bart Van Assche
630573ed19
scripts/generate-kernel-patch: Parse the kernel version properly
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8986 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-26 20:14:20 +00:00
Bart Van Assche
f4eaed79d1
scripts/generate-kernel-patch: Fix the kernel version passed to specialize-patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8977 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-23 23:46:03 +00:00
Bart Van Assche
b07dea49d4
scripts/run-regression-tests: Do not create a -.o file
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8922 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-16 15:55:46 +00:00
Bart Van Assche
0736635b62
scripts/list-source-files: exclude build artifacts when not in vcs tree
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8921 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-16 15:54:19 +00:00
Bart Van Assche
d12b0a0d91
Fix spelling in documentation and source code
...
See also https://github.com/bvanassche/scst/pull/20 .
[ bvanassche: left out qla2x00t-32gbit changes and changed patch description ]
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8920 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-15 18:53:48 +00:00
Bart Van Assche
b440f2b84f
scripts/list-source-files: Use /bin/sh as interpreter instead of bash
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8919 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-15 18:53:18 +00:00
Bart Van Assche
041ef55247
scripts/kernel-functions: Fix the RHEL 6.x build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8909 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-13 21:27:11 +00:00
Bart Van Assche
115ec5be90
scripts/kernel-functions: Only apply RHEL patches on RHEL kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8906 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-13 20:37:30 +00:00
Bart Van Assche
58a1ea5bd7
scripts/generate-kernel-patch: Use read instead of readarray and fix shellcheck warnings
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8901 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-11 20:38:25 +00:00
Bart Van Assche
056f426165
scripts/kernel-functions: Make this script compatible with bash versions that do not support readarray
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8900 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-11 20:37:43 +00:00
Bart Van Assche
9429a9930f
scripts/rhel-rpm-functions: Use ${...//...} instead of setting the IFS variable
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8899 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-11 20:36:04 +00:00
Bart Van Assche
04b4ee34fe
scripts/run-regression-tests: Fix the CentOS 6.x build
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8894 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-10 20:47:33 +00:00
Bart Van Assche
f40d96c8a0
scripts/run-regression-tests: Make the CentOS build less noisy
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8893 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-10 19:00:39 +00:00
Bart Van Assche
ab4f2f5077
scripts/generate-kernel-patch: Use the generic drivers Makefile for CentOS 6.x
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8892 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-10 18:59:38 +00:00
Bart Van Assche
8485b98f05
scripts/kernel-functions: Suppress RHEL warnings about module_init() / module_exit()
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8890 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-10 18:38:58 +00:00
Bart Van Assche
676b1717fb
scripts/specialize-patch: More bug fixes for RHEL / CentOS kernels
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8889 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-10 18:37:03 +00:00
Bart Van Assche
1195daa855
scripts/specialize-patch: Fix RHEL kernel version checks
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8887 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-09 22:56:56 +00:00
Bart Van Assche
6773f8e9a5
scripts/run-regression-tests: Add support for distro kernels
...
A few examples of how to run the regression tests against a distro kernel:
scripts/run-regression-tests -l 4.18.0-147.5.1.el8_1^CentOS^8.1.1911-nc
scripts/run-regression-tests -l 4.18.0-80.11.2.el8_0^CentOS^8.0.1905-nc
scripts/run-regression-tests -l 3.10.0-1127.el7^CentOS^7.8.2003-nc
scripts/run-regression-tests -l 3.10.0-1062.18.1.el7^CentOS^7.7.1908-nc
scripts/run-regression-tests -l 3.10.0-957.27.2.el7^CentOS^7.6.1810-nc
scripts/run-regression-tests -l 3.10.0-862.14.4.el7^CentOS^7.5.1804-nc
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8885 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-09 22:54:47 +00:00
Bart Van Assche
b3b658bd09
scripts/generate-kernel-patch: Make several paths absolute
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8884 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-09 22:48:23 +00:00
Bart Van Assche
24caf06381
scripts/rhel-rpm-functions: Add more URLs
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8883 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-09 22:47:45 +00:00
Bart Van Assche
5400331606
scripts/rhel-rpm-functions: Restore this file by reverting r8111
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8880 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-09 19:38:33 +00:00
Bart Van Assche
9ece5279ad
Add the qla2x00t-32gbit/trace/events/qla.h file to the output of scripts/generate-kernel-patch
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8876 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-05-08 15:23:43 +00:00
Bart Van Assche
33ae08da62
scripts/kernel-functions: Apply the -fno-PIE to more kernel versions
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8841 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-03-20 17:25:16 +00:00
Bart Van Assche
40b4dfd289
scst: Split the scst_targ.c source file
...
Since the scst_targ.c source file is large, move the functions for processing
SCSI commands into a new source file, scst_local_cmd.c.
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8768 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-02-23 17:16:12 +00:00
Bart Van Assche
2a757086d4
scripts/checkpatch: Ignore the iscsi-scst/usr directory
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8702 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-12-26 00:15:35 +00:00
Bart Van Assche
5ca9d97b65
scst: Remove the code that depends on the SCSI_EXEC_REQ_FIFO_DEFINED macro
...
The exec_req_fifo patches have been removed some time ago. Hence also remove
the code that depends on these patches having been applied. See also commit
78d6da4517 ("scst: Remove obsolete exec_req_fifo kernel patches"; r8022).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8698 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-12-23 18:55:58 +00:00
Bart Van Assche
2ec09741db
scripts/checkpatch: Suppress more checkpatch complaints about long lines
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8695 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-12-23 18:52:57 +00:00
Bart Van Assche
ffb1b505cc
scripts/specialize-patch: Fix expansion of HAVE_IB_SG_DMA_LEN
...
This patch fixes commit ac145e1cb6 ("ib_srpt: Detect ib_sg_dma_len()
presence at compile time"; r8655).
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8691 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-12-23 15:37:37 +00:00
Bart Van Assche
fa156aa40d
scripts/update-version: Fix the code for updating the scstadmin version number
...
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8681 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2019-12-04 05:00:49 +00:00