Commit Graph

555 Commits

Author SHA1 Message Date
Gleb Chesnokov
90c26fa844 scripts/run-regression-tests: Drop 2.6.x paths and simplify builds
Always include drivers/scsi/qla2xxx in subdirs and extend the local
module build loop to cover both qla2x00t and qla2x00t-32gbit.
2025-09-30 18:09:11 +03:00
Gleb Chesnokov
10740bb400 scst_targ: Fix multiple checkpatch warnings
This patch does not change any functionality.
2025-09-16 14:19:05 +03:00
Gleb Chesnokov
17eb80e049 nightly build: Add RHEL 10 kernel support
Add AlmaLinux 10.0 kernel to nightly build configs and update helper
scripts to handle AlmaLinux 10.0 package sources.
2025-06-06 12:31:21 +03:00
Gleb Chesnokov
15ebdec403 nightly build: Add UEK 8 kernel support
Add Oracle Linux UEK 8 kernel to nightly build configs and update helper
scripts to handle UEK 8 package sources.
2025-05-26 17:37:09 +03:00
Gleb Chesnokov
d09f360b93 scripts: Fix shellcheck warnings for checkpatch scripts
- Switching from 'set -e' to 'set -euo pipefail' for better error handling.
- Quoting all variable expansions to prevent word splitting and globbing.
- Replacing legacy unquoted $(...) and $@ with quoted forms.
- Using array-safe idioms where necessary (e.g., "${src_files[@]}").

This patch doesn't change any functionality.
2025-03-25 18:57:32 +03:00
Gleb Chesnokov
9082b4e82a nightly build: Update kernel versions
Another kernel versions update
2024-12-28 14:59:04 +03:00
Gleb Chesnokov
ec80741a24 iscsi-scst: Fix multiple checkpatch warnings
This patch does not change any functionality.
2024-11-16 14:33:58 +03:00
Gleb Chesnokov
31eca7eced .github/workflows: Use checkpatch scripts
Inroduce several checkpatch scripts to use in workflows.
2024-11-07 13:21:25 +03:00
Gleb Chesnokov
1925094cb0 .github/workflows, scripts: Improve checkpatch compliance
Use checkpatch --strict to detect more style issues.
2024-10-01 16:17:11 +03:00
Gleb Chesnokov
878bbad8ce nightly build: Update kernel versions
Another kernel versions update
2024-09-16 13:44:01 +03:00
Gleb Chesnokov
376838e898 scripts/run-regression-tests: Improve support for RHEL kernels
Additionally, update kernel versions.
2024-09-04 20:12:26 +03:00
Gleb Chesnokov
7c4e07414a .github/workflows: Add a GitHub action to run regression tests upon push
Introduce a new GitHub action that automatically runs the
scripts/run_regression_tests script upon each push to the master branch.
2024-05-03 17:45:14 +03:00
Gleb Chesnokov
d3a2faecff scripts/run-regression-tests: Explicitly set KBUILD_MODPOST_WARN=1
This fixes the run-regression-tests build against kernel versions >= v6.3.

See also commit 5573b4daa26a ("kbuild: do not automatically add -w option
to modpost") # v6.3.
2024-05-02 17:20:01 +03:00
Gleb Chesnokov
56bb6c0fa6 nightly build, scripts: Remove svn support
Remove deprecated svn support.
2024-05-02 17:20:01 +03:00
Gleb Chesnokov
7baf286609 scripts/specialize-patch: Improve RHEL support
Unbreak nightly build for RHEL 8.9 and 9.3
2024-01-10 19:34:49 +03:00
Gleb Chesnokov
04ea811e8d scripts: Revert "scripts: Add support for the UEK_RELEASE macro"
This reverts commit 0d025a2e.

Remove unused UEK_RELEASE macro support.
2024-01-10 19:34:49 +03:00
Gleb Chesnokov
cf94272cea scst: Remove scst_module.c file
I haven't been able to find any sign of this file being used since the
initial commit, so remove this dead code.
2023-04-28 15:22:58 +03:00
Gleb Chesnokov
31699069f3 nightly build: Include the AlmaLinux RHEL kernels
Add support for RHEL 8.6 8.7 9.0 9.1 nightly builds.
2022-12-14 10:25:38 +03:00
Gleb Chesnokov
80471ef507 scripts/kernel-functions: Improve gcc 12 support
Fix nightly build with gcc 12 for kernel versions 5.11, 5.12, 5.13,
5.14.
2022-12-14 10:25:38 +03:00
Gleb Chesnokov
3961019e74 ib_srpt: Port to Linux kernel v6.1
Support for the following IB changes in the Linux kernel v6.1:
- 91a3f14ec953 ("IB/cm: Remove the service_mask parameter from ib_cm_listen()")
2022-10-27 12:31:00 +03:00
Gleb Chesnokov
1863f8c5c8 scripts: Remove references to the ibmvstgt, mpt and mvsas_tgt drivers 2022-10-25 10:44:54 +03:00
Gleb Chesnokov
102398a61f scripts/update-version: Update the SCST_VERSION_CODE
SCST_VERSION_CODE has not been updated since SCST v3.4 because
the update-version script used the wrong file for parsing. Hence fix
the update-version script and SCST_VERSION_CODE.
2022-09-14 12:36:33 +03:00
Gleb Chesnokov
0a25757b97 nightly build: Add UEK 7 kernels 2022-07-07 13:52:01 +03:00
Chesnokov Gleb
db4a95cfaf scripts/update-version: Also update the qla2x00t-32gbit version number
Update the Q2T_VERSION_STRING for the qla2x00t-32gbit driver.

Fixes: 0b3aad05 ("scripts/update-version: Also update the qla2x00t-32gbit version number")
2022-01-11 16:37:34 +03:00
Bart Van Assche
490abadac2 scripts/list-source-files: Improve the exclusion filter
Also exclude the files generated by the kernel v5.15 build system.
Additionally, sort the output and fix shellcheck warnings.
2022-01-02 20:27:28 -08:00
Bart Van Assche
9ed4967478 scripts/run-regression-tests: Exclude LIO from the build
Additionally, use make -j to speed up compilation.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9607 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-11-25 01:04:37 +00:00
Bart Van Assche
0d025a2e1e scripts: Add support for the UEK_RELEASE macro
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9602 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-11-23 04:53:45 +00:00
Bart Van Assche
10e57d6cef scst: Port to Ubuntu kernel 5.13.x (Ubuntu 21.10)
Reported-by: Grant Albitz <GAlbitz@Albitz.biz>


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9584 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-10-21 03:50:29 +00:00
Bart Van Assche
db29b3330d qla2x00t-32gbit: Bump the minimum kernel version to v3.18
Patches that will be applied later for this driver require kernel version
v3.18.


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9512 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-09-05 03:14:00 +00:00
Bart Van Assche
ce54530cd2 scripts/kernel-functions: Revert r9445
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9469 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-25 03:13:47 +00:00
Bart Van Assche
f3c567b4ce nightly build: Improve support for CentOS 8.4
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9445 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-21 03:26:20 +00:00
Bart Van Assche
124edd624f nightly build: Add support for CentOS 8.4
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9444 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-06-21 03:25:39 +00:00
Bart Van Assche
2be2a4701a scripts/specialize-patch: Evaluate 0 && defined(...) as 0
Fixes: 7b375842e9 ("qla2x00t-32gbit: Fix two recently introduced build errors")



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9419 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-05-19 14:10:26 +00:00
Bart Van Assche
c5e515b702 Address checkpatch complaints about duplicated words
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9383 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-04-29 03:15:01 +00:00
Bart Van Assche
3a83346fba scripts/specialize-patch: Clamp sublevel to 255
See also Linux kernel commit 9b82f13e7ef3 ("kbuild: clamp SUBLEVEL to 255";
v5.12-rc1).



git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9369 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2021-03-28 14:42:20 +00:00
Bart Van Assche
4664d87d6a scripts/kernel-functions: Apply the yylloc patch also to scripts/dtc/dtc-lexer.lex.c_shipped
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@9306 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2020-12-31 16:58:27 +00:00
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