Bump PREEMPT_RT mappings

This commit is contained in:
Tk-Glitch
2023-06-17 20:29:10 +02:00
parent 2786ab2916
commit ddc5ffd463

View File

@@ -39,32 +39,34 @@ done
# PREEMPT_RT's supported kernel subversion
typeset -Ag _rt_subver_map
_rt_subver_map=(
["5.4"]="230"
["5.4"]="242"
["5.9"]="1"
["5.10"]="168"
["5.10"]="180"
["5.11"]="4"
["5.14"]="2"
["5.15"]="96"
["5.15"]="113"
["5.16"]="2"
["5.17"]="1"
["6.0"]="5"
["6.1"]="12"
["6.1"]="33"
["6.3"]="3"
)
# PREEMPT_RT's patch revision for the kernel
# We separated this to allow for forcing the application of the patch when _preempt_rt_force=1 on version mismatch
typeset -Ag _rt_rev_map
_rt_rev_map=(
["5.4"]="80"
["5.4"]="81"
["5.9"]="20"
["5.10"]="83"
["5.10"]="89"
["5.11"]="11"
["5.14"]="21"
["5.15"]="61"
["5.15"]="64"
["5.16"]="19"
["5.17"]="17"
["6.0"]="14"
["6.1"]="7"
["6.1"]="11"
["6.3"]="15"
)
_undefine() {
@@ -815,6 +817,10 @@ _tkg_srcprep() {
curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-bore.patch" > "$srcdir"/0001-bore.patch
tkgpatch="$srcdir/0001-bore.patch" && _tkg_patcher
elif [ "${_cpusched}" = "cfs" ]; then
if [ "$_eevdf" = "true" ]; then
_msg="Applying EEVDF CFS patch"
tkgpatch="$srcdir/0003-eevdf-cfs.patch" && _tkg_patcher
fi
_msg="Applying Glitched CFS additions patch"
tkgpatch="$srcdir/0003-glitched-cfs-additions.patch" && _tkg_patcher
fi