5.15.11-1

This commit is contained in:
P. Jung 2021-12-22 10:58:25 +01:00
parent bb19a57f50
commit 6d2854053f
No known key found for this signature in database
GPG Key ID: AFC052D06215E148
3 changed files with 1498 additions and 890 deletions

View File

@ -1,7 +1,7 @@
pkgbase = linux-cachyos pkgbase = linux-cachyos
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.15.10 pkgver = 5.15.11
pkgrel = 2 pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos url = https://github.com/CachyOS/linux-cachyos
arch = x86_64 arch = x86_64
arch = x86_64_v3 arch = x86_64_v3
@ -19,7 +19,7 @@ pkgbase = linux-cachyos
makedepends = tar makedepends = tar
makedepends = xz makedepends = xz
options = !strip options = !strip
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.10.tar.xz source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.11.tar.xz
source = config source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-arch-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-arch-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cfi.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cfi.patch
@ -48,15 +48,17 @@ pkgbase = linux-cachyos
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-security-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-security-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-spectre-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-spectre-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-sbitmap-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-sbitmap-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-xanmod-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-net-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-zstd.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-zstd.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-xfs-backport.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-xfs-backport.patch
source = auto-cpu-optimization.sh source = auto-cpu-optimization.sh
md5sums = b661040d70e3c6da4844dc4ecbf30555 md5sums = 7fcbea316f8439d092040996295c8f9d
md5sums = d97e86d9464dd34683f67de4d4a595c0 md5sums = b1674b6cc65f404efb6a5dd6bf46ec68
md5sums = 2627c6fcd9760b0e7a3553500db0a7e1 md5sums = 2627c6fcd9760b0e7a3553500db0a7e1
md5sums = e3fa8507aed6ef3ce37e62f18fe9b7e1 md5sums = e3fa8507aed6ef3ce37e62f18fe9b7e1
md5sums = 4bfca774a71e7228f5b8bb31660521af md5sums = 4bfca774a71e7228f5b8bb31660521af
md5sums = 4b530f55cb9ce472fa539abc69299a17 md5sums = 3aaa8d1bc993d4173aa1bb79ade16fb7
md5sums = dccfe71705b24d3fb1f51aaf2016216d md5sums = dccfe71705b24d3fb1f51aaf2016216d
md5sums = 53f037488a66667220c263f92ded333d md5sums = 53f037488a66667220c263f92ded333d
md5sums = 2a8097ba46be56fbbe3967e9c34c9a0b md5sums = 2a8097ba46be56fbbe3967e9c34c9a0b
@ -64,24 +66,26 @@ pkgbase = linux-cachyos
md5sums = 56ceaed8bfb44eca93298ccc5fe11ca7 md5sums = 56ceaed8bfb44eca93298ccc5fe11ca7
md5sums = 67764a5824b567b49bcce19c01d4e1b3 md5sums = 67764a5824b567b49bcce19c01d4e1b3
md5sums = 299b176cbfc1b386d74406387e9e2d6b md5sums = 299b176cbfc1b386d74406387e9e2d6b
md5sums = 68e3ce199650ac9530ca8a30c920da99 md5sums = 70be88d96e0bc9e72759bf3902e7eb53
md5sums = 41887f2f959068e41756f4c39671ca79 md5sums = 41887f2f959068e41756f4c39671ca79
md5sums = b04c8a3f01b3dfba1410e2c26ec7d975 md5sums = b04c8a3f01b3dfba1410e2c26ec7d975
md5sums = 8cf507777e20cd4d75a0627eef10c10d md5sums = 8cf507777e20cd4d75a0627eef10c10d
md5sums = 6038177c72982533035309fcd6df208a md5sums = 6038177c72982533035309fcd6df208a
md5sums = 8bda7327ae759b1b52e3b617952bd964 md5sums = 8bda7327ae759b1b52e3b617952bd964
md5sums = 8c354c3d1962ec6785db7f0c3fbbab03 md5sums = 8c354c3d1962ec6785db7f0c3fbbab03
md5sums = 9b6369bc4c58ad0d9195b5c204ed4b8a md5sums = 349c88a39ec553aa3c9caf886b44c7ab
md5sums = 480c6bb9db4842114787f66ad5a68404 md5sums = 480c6bb9db4842114787f66ad5a68404
md5sums = 08c84362cb916b30d9c77e35b1b3bc54 md5sums = 08c84362cb916b30d9c77e35b1b3bc54
md5sums = 56fdf3562b041c0408d9751b7e447977 md5sums = 56fdf3562b041c0408d9751b7e447977
md5sums = b09b84168822521426f197610727618b md5sums = b09b84168822521426f197610727618b
md5sums = 8cb0301d159b59727b7bdd09350e2a9f md5sums = d9a892f66631615a72bdc93ee7397afa
md5sums = bc64b1d1a9c95b07c28457f7214ebf81 md5sums = bc64b1d1a9c95b07c28457f7214ebf81
md5sums = 8d390345afa36c56fa15bf4f4edad9a2 md5sums = 8d390345afa36c56fa15bf4f4edad9a2
md5sums = 7530840f2eb439f64307dd3157beb28e md5sums = 7530840f2eb439f64307dd3157beb28e
md5sums = f23b415ff37873ae7142aed31808b635 md5sums = 102fd2533e85eaecb4255df77d3e2901
md5sums = 507e61367296d14b88ac38a4aee03cdf md5sums = 0153cfcb6feab5a108c269fff9f47cb3
md5sums = 8a7c7cf90dcad3f655491b21c35f36b3
md5sums = adfbf046639eb80e94769c4f4d0bc478
md5sums = 21c98f19e883879dd3336c1fa143fd31 md5sums = 21c98f19e883879dd3336c1fa143fd31
pkgname = linux-cachyos pkgname = linux-cachyos
@ -97,5 +101,5 @@ pkgname = linux-cachyos
pkgname = linux-cachyos-headers pkgname = linux-cachyos-headers
pkgdesc = Headers and scripts for building modules for the Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements pkgdesc = Headers and scripts for building modules for the Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
depends = linux-cachyos=5.15.10 depends = linux-cachyos=5.15.11
depends = pahole depends = pahole

View File

@ -127,13 +127,13 @@ else
pkgbase=linux-cachyos pkgbase=linux-cachyos
fi fi
_major=5.15 _major=5.15
_minor=10 _minor=11
pkgver=${_major}.${_minor} pkgver=${_major}.${_minor}
_srcname=linux-${pkgver} _srcname=linux-${pkgver}
arch=(x86_64 x86_64_v3) arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements' pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements'
_srcname=linux-${pkgver} _srcname=linux-${pkgver}
pkgrel=2 pkgrel=1
arch=('x86_64' 'x86_64_v3') arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos" url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2') license=('GPL2')
@ -155,7 +155,7 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
"${_patchsource}/AMD/0001-amd64-patches.patch" "${_patchsource}/AMD/0001-amd64-patches.patch"
"${_patchsource}/0001-bbr2.patch" "${_patchsource}/0001-bbr2.patch"
"${_patchsource}/misc/0010-ELF.patch" "${_patchsource}/misc/0010-ELF.patch"
# "${_patchsource}/0001-bitmap.patch" # "${_patchsource}/0001-bitmap.patch"
"${_patchsource}/0001-block-patches.patch" "${_patchsource}/0001-block-patches.patch"
"${_patchsource}/0001-cpu-patches.patch" "${_patchsource}/0001-cpu-patches.patch"
"${_patchsource}/0001-misc.patch" "${_patchsource}/0001-misc.patch"
@ -168,7 +168,7 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
"${_patchsource}/0001-futex-wait.v-fsync-winesync.patch" "${_patchsource}/0001-futex-wait.v-fsync-winesync.patch"
"${_patchsource}/0001-hwmon-patches.patch" "${_patchsource}/0001-hwmon-patches.patch"
"${_patchsource}/0001-ksmbd-patches.patch" "${_patchsource}/0001-ksmbd-patches.patch"
# "${_patchsource}/0001-damon-patches.patch" # "${_patchsource}/0001-damon-patches.patch"
"${_patchsource}/0001-pf-patches.patch" "${_patchsource}/0001-pf-patches.patch"
"${_patchsource}/0001-lqx-patches.patch" "${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-lrng-patches.patch" "${_patchsource}/0001-lrng-patches.patch"
@ -176,6 +176,8 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
"${_patchsource}/0001-security-patches.patch" "${_patchsource}/0001-security-patches.patch"
"${_patchsource}/0001-spectre-patches.patch" "${_patchsource}/0001-spectre-patches.patch"
"${_patchsource}/0001-sbitmap-patches.patch" "${_patchsource}/0001-sbitmap-patches.patch"
"${_patchsource}/0001-xanmod-patches.patch"
"${_patchsource}/0001-net-patches.patch"
"${_patchsource}/0001-zstd.patch" "${_patchsource}/0001-zstd.patch"
"${_patchsource}/0001-xfs-backport.patch" "${_patchsource}/0001-xfs-backport.patch"
"auto-cpu-optimization.sh" "auto-cpu-optimization.sh"
@ -186,11 +188,11 @@ if [ -n "$_use_pgo" ]; then
fi fi
if [ -n "$_use_llvm_lto" ]; then if [ -n "$_use_llvm_lto" ]; then
LLVMOPTS="LLVM=1 LLVM_IAS=1"
BUILD_FLAGS=( CLANGOPTS="CC=clang LD=ld.lld"
LLVM=1 else
LLVM_IAS=1 LLVMOPTS=""
) CLANGOPTS=""
fi fi
export KBUILD_BUILD_HOST=archlinux export KBUILD_BUILD_HOST=archlinux
@ -481,7 +483,7 @@ prepare() {
if [ -n "$_localmodcfg" ]; then if [ -n "$_localmodcfg" ]; then
if [ -f $HOME/.config/modprobed.db ]; then if [ -f $HOME/.config/modprobed.db ]; then
echo "Running Steven Rostedt's make localmodconfig now" echo "Running Steven Rostedt's make localmodconfig now"
make ${BUILD_FLAGS[*]} LSMOD=$HOME/.config/modprobed.db localmodconfig make $LLVMOPTS LSMOD=$HOME/.config/modprobed.db localmodconfig
else else
echo "No modprobed.db data found" echo "No modprobed.db data found"
exit exit
@ -490,21 +492,21 @@ prepare() {
echo "Applying default config..." echo "Applying default config..."
make ${BUILD_FLAGS[*]} olddefconfig make $LLVMOPTS olddefconfig
make -s kernelrelease > version make $LLVMOPTS -s kernelrelease > version
echo "Prepared $pkgbase version $(<version)" echo "Prepared $pkgbase version $(<version)"
### Running make nconfig ### Running make nconfig
[[ -z "$_makenconfig" ]] || make ${BUILD_FLAGS[*]} nconfig [[ -z "$_makenconfig" ]] || make $LLVMOPTS nconfig
### Running make menuconfig ### Running make menuconfig
[[ -z "$_makemenuconfig" ]] || make ${BUILD_FLAGS[*]} menuconfig [[ -z "$_makemenuconfig" ]] || make $LLVMOPTS menuconfig
### Running make xconfig ### Running make xconfig
[[ -z "$_makexconfig" ]] || make ${BUILD_FLAGS[*]} xconfig [[ -z "$_makexconfig" ]] || make $LLVMOPTS xconfig
### Running make gconfig ### Running make gconfig
[[ -z "$_makegconfig" ]] || make ${BUILD_FLAGS[*]} gconfig [[ -z "$_makegconfig" ]] || make $LLVMOPTS gconfig
### Save configuration for later reuse ### Save configuration for later reuse
cp -Tf ./.config "${startdir}/config-${pkgver}-${pkgrel}${pkgbase#linux}" cp -Tf ./.config "${startdir}/config-${pkgver}-${pkgrel}${pkgbase#linux}"
@ -514,7 +516,7 @@ prepare() {
build() { build() {
cd $_srcname cd $_srcname
make ${BUILD_FLAGS[*]} -j$(nproc) all make $LLVMOPTS -j$(nproc) all
} }
_package() { _package() {
@ -533,13 +535,13 @@ _package() {
echo "Installing boot image..." echo "Installing boot image..."
# systemd expects to find the kernel here to allow hibernation # systemd expects to find the kernel here to allow hibernation
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344 # https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz" install -Dm644 "$(make $CLANGOPTS -s image_name)" "$modulesdir/vmlinuz"
# Used by mkinitcpio to name the kernel # Used by mkinitcpio to name the kernel
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase" echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
echo "Installing modules..." echo "Installing modules..."
make ${BUILD_FLAGS[*]} INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install make $CLANGOPTS INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
# remove build and source links # remove build and source links
rm "$modulesdir"/{source,build} rm "$modulesdir"/{source,build}
@ -630,7 +632,6 @@ _package-headers() {
} }
pkgname=("$pkgbase" "$pkgbase-headers") pkgname=("$pkgbase" "$pkgbase-headers")
for _p in "${pkgname[@]}"; do for _p in "${pkgname[@]}"; do
eval "package_$_p() { eval "package_$_p() {
@ -639,12 +640,13 @@ for _p in "${pkgname[@]}"; do
}" }"
done done
md5sums=('b661040d70e3c6da4844dc4ecbf30555'
'd97e86d9464dd34683f67de4d4a595c0' md5sums=('7fcbea316f8439d092040996295c8f9d'
'b1674b6cc65f404efb6a5dd6bf46ec68'
'2627c6fcd9760b0e7a3553500db0a7e1' '2627c6fcd9760b0e7a3553500db0a7e1'
'e3fa8507aed6ef3ce37e62f18fe9b7e1' 'e3fa8507aed6ef3ce37e62f18fe9b7e1'
'4bfca774a71e7228f5b8bb31660521af' '4bfca774a71e7228f5b8bb31660521af'
'4b530f55cb9ce472fa539abc69299a17' '3aaa8d1bc993d4173aa1bb79ade16fb7'
'dccfe71705b24d3fb1f51aaf2016216d' 'dccfe71705b24d3fb1f51aaf2016216d'
'53f037488a66667220c263f92ded333d' '53f037488a66667220c263f92ded333d'
'2a8097ba46be56fbbe3967e9c34c9a0b' '2a8097ba46be56fbbe3967e9c34c9a0b'
@ -652,22 +654,24 @@ md5sums=('b661040d70e3c6da4844dc4ecbf30555'
'56ceaed8bfb44eca93298ccc5fe11ca7' '56ceaed8bfb44eca93298ccc5fe11ca7'
'67764a5824b567b49bcce19c01d4e1b3' '67764a5824b567b49bcce19c01d4e1b3'
'299b176cbfc1b386d74406387e9e2d6b' '299b176cbfc1b386d74406387e9e2d6b'
'68e3ce199650ac9530ca8a30c920da99' '70be88d96e0bc9e72759bf3902e7eb53'
'41887f2f959068e41756f4c39671ca79' '41887f2f959068e41756f4c39671ca79'
'b04c8a3f01b3dfba1410e2c26ec7d975' 'b04c8a3f01b3dfba1410e2c26ec7d975'
'8cf507777e20cd4d75a0627eef10c10d' '8cf507777e20cd4d75a0627eef10c10d'
'6038177c72982533035309fcd6df208a' '6038177c72982533035309fcd6df208a'
'8bda7327ae759b1b52e3b617952bd964' '8bda7327ae759b1b52e3b617952bd964'
'8c354c3d1962ec6785db7f0c3fbbab03' '8c354c3d1962ec6785db7f0c3fbbab03'
'9b6369bc4c58ad0d9195b5c204ed4b8a' '349c88a39ec553aa3c9caf886b44c7ab'
'480c6bb9db4842114787f66ad5a68404' '480c6bb9db4842114787f66ad5a68404'
'08c84362cb916b30d9c77e35b1b3bc54' '08c84362cb916b30d9c77e35b1b3bc54'
'56fdf3562b041c0408d9751b7e447977' '56fdf3562b041c0408d9751b7e447977'
'b09b84168822521426f197610727618b' 'b09b84168822521426f197610727618b'
'8cb0301d159b59727b7bdd09350e2a9f' 'd9a892f66631615a72bdc93ee7397afa'
'bc64b1d1a9c95b07c28457f7214ebf81' 'bc64b1d1a9c95b07c28457f7214ebf81'
'8d390345afa36c56fa15bf4f4edad9a2' '8d390345afa36c56fa15bf4f4edad9a2'
'7530840f2eb439f64307dd3157beb28e' '7530840f2eb439f64307dd3157beb28e'
'f23b415ff37873ae7142aed31808b635' '102fd2533e85eaecb4255df77d3e2901'
'507e61367296d14b88ac38a4aee03cdf' '0153cfcb6feab5a108c269fff9f47cb3'
'8a7c7cf90dcad3f655491b21c35f36b3'
'adfbf046639eb80e94769c4f4d0bc478'
'21c98f19e883879dd3336c1fa143fd31') '21c98f19e883879dd3336c1fa143fd31')

2300
config

File diff suppressed because it is too large Load Diff