scripts: Add qla2xxx upstream maintenance tooling

Track upstream imports, compare driver snapshots, audit remaining
source differences and export patches mapped to the SCST tree. Keep
review artifacts outside Git and expose unresolved changes for review.

Move the newer QLogic kernel patch helpers into scripts/kernel with
their callers and tests. Add the update skill and guide, preserving
separate commits for upstream imports and SCST adaptations.
This commit is contained in:
Gleb Chesnokov
2026-10-19 17:36:43 +03:00
parent 29aeef4aca
commit cb1bcedc2a
12 changed files with 1860 additions and 26 deletions
+3 -1
View File
@@ -28,6 +28,8 @@ set -o pipefail
# shellcheck source=./kernel-functions
source "$(dirname "$0")/kernel-functions"
kernel_scripts=$(cd -- "$(dirname -- "$0")" && pwd) || exit $?
function usage {
echo "Usage: $0 [-d] [-h] [-n] [-p <dir>] [-s] [-u] <kernel version>"
echo "where: "
@@ -539,7 +541,7 @@ if [ "${qla2x00t}" = "true" ]; then
elif [ "${qla2x00t_32gbit}" = "true" ]; then
( cd qla2x00t-32gbit && "$PWD/generate-in-tree-patches" "${full_kver}" ) || exit $?
( cd qla2x00t-32gbit && "$kernel_scripts/generate-qla2xxx-in-tree-patches" "${full_kver}" ) || exit $?
for f in qla2x00t-32gbit/in-tree-patches/"${krel}"/*.patch; do
[ -e "$f" ] || continue