Skip to content

Commit

Permalink
6.11.0-1
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jung <[email protected]>
  • Loading branch information
ptr1337 committed Sep 15, 2024
1 parent 57b12c3 commit c987251
Show file tree
Hide file tree
Showing 22 changed files with 738 additions and 201 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,9 @@ We have provided all these CPU schedulers because each scheduler performs differ
#### CachyOS default kernel
> - **([SCHED-EXT](https://lwn.net/Articles/922405/))** **BPF extensible scheduler class** + **BORE Scheduler** - `linux-cachyos`
> The CachyOS repositories provide prebuilt kernels in three different march versions: `x86-64`, `x86-64-v3`, and `x86-64-v4`. In addition, the repositories also offer LTO-enabled kernels.
> The CachyOS repositories provide prebuilt kernels in three different march versions: `x86-64`, `x86-64-v3`,`x86-64-v4` and `znver4` . In addition, the repositories also offer LTO-enabled kernels.
## Features
Here is a list of features of Linux kernels prebuilt in the CachyOS repositories for `x86-64-v4`, `x86-64-v3`, and `x86-64`.
### :hammer_and_wrench: Advanced building & compiling
- Very customizable PKGBUILD with many features and improvements.
- `GCC/CLANG` Optimization with automatically found CPU architecture or also selectable CPU architecture.
Expand All @@ -46,17 +45,19 @@ Here is a list of features of Linux kernels prebuilt in the CachyOS repositories

### :abacus: CPU enhancements
- 3 Different scheduler are supported,`SCHED-EXT`,`BORE`,`EEVDF` and `ECHO` scheduler
- AMD P-State Preferred Core, AMD cpb boost (disable boost) and upstream amd-pstate enhancements
- AMD P-State Preferred Core / amd-pstate enhancements and fixes from -next.
- SCHED-EXT Schedulers prebuilt in the repository # https://lwn.net/Articles/922405/ - `linux-cachyos` and `linux-cachyos-sched-ext`
- Cachy Sauce (CONFIG_CACHY), enables various tweaks for the scheduler and other settings
- Cachy Sauce `CONFIG_CACHY`, enables various tweaks for the scheduler and other settings
- Scheduler patches from `linux-next` in `linux-cachyos-bore` and `linux-cachyos-eevdf`
### :bookmark_tabs: Filesystem & memory
- ZFS Filesystem support and prebuilt in the repository
- NVIDIA Module support including patches - Build the nvidia module together with the kernel
- Latest & improved ZSTD 1.5.6 patch-set
- UserKSM daemon from pf
- Improved BFQ Scheduler
- le9uo # https://github.com/firelzrd/le9uo

### &#128423; Network
### &#128423; Network
- BBRv3 tcp_congestion_control

### :arrow_heading_down: Other features
Expand All @@ -71,7 +72,7 @@ Here is a list of features of Linux kernels prebuilt in the CachyOS repositories
- HDR support enabled
- Various GCC Optimization flags applied (`-fivopts -fmodulo-sched`)
- NTSync patched and integrated into the kernel (`NTSYNC=y`)
- VRR fixes for AMD GPU's
- T2 Macbook support as default included

# [CachyOS repositories](https://mirror.cachyos.org/)
The repositories contain both Arch Linux and CachyOS packages, which have been re-built with flags optimized for performance, stability, and security.
Expand Down
16 changes: 8 additions & 8 deletions linux-cachyos-bore/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pkgbase = linux-cachyos-bore
pkgdesc = Linux BORE + Cachy Sauce scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.10.10
pkgver = 6.11.0
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
Expand All @@ -18,16 +18,16 @@ pkgbase = linux-cachyos-bore
options = !strip
options = !debug
options = !lto
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.10.10.tar.xz
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.11.tar.xz
source = config
source = auto-cpu-optimization.sh
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.10/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.10/sched/0001-bore-cachy.patch
b2sums = 8a15910089d080886046b1fd8d57ef28ce872bf428e67ccbc9d5ca92da794d6dee7ab83cc914a499b40962e2990c3b1e5b11ae7d12c1eff7bec548c9a67df03a
b2sums = 99536fd0cebe7e913ab94d4847548b8947cb33d705660e96e47ea04f1553cf28ee7e5303778c1f8a788cb4be748ee0b5e43a780ce73a6064dc9bf4af7750a7b2
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.11/sched/0001-bore-cachy.patch
b2sums = e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab
b2sums = fa3fd6750d3bdecd8030d6f29032f9041c9d713e91b5ceefce9ad02a1c6b097146ab77eb298d6fa96a04ed0ec3db0c5449e17ea48283e9bf2312d40547fe5747
b2sums = b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667
b2sums = 57a47335109bd4dad8a64f81ab0880ed5fc41ef35d6d354a3193e93dc5b89fdd28c9bd6f97b795bc53bd5bf141ea22e5099e18eb81fa8e25531a9c6db2dc2033
b2sums = bade8bcf441a868b5ac1dc18c0cccf0a7a2b663124dcf3b5d2b51e7ccbeb84458b0e49fe7bbd8e107bf84afd388308b3551297a7ebcf90d96a8149b7765eddcf
b2sums = ab6c372dbc0f4269d44d4900217cd5a784d03bfb498f673090134b86933f6d8cd3eefa12c8550dd4f135fbf4572f0f2bf17c388e7e7579d168466bdd1db467bc
b2sums = 8c3ec355ecef6aaf62758710385b607983f15498e19cbe6440ab068439ea33f40e47c3df72f2c02579a66eda976ce49430dbebf02956b951195a0721ac4a0180

pkgname = linux-cachyos-bore
pkgdesc = The Linux BORE + Cachy Sauce scheduler Kernel by CachyOS with other patches and improvements kernel and modules
Expand Down
27 changes: 16 additions & 11 deletions linux-cachyos-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; then
_pkgsuffix="cachyos-${_cpusched}"
pkgbase="linux-$_pkgsuffix"
fi
_major=6.10
_minor=10
_major=6.11
_minor=0
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
_stable=${_major}.${_minor}
#_stable=${_major}
#_stable=${_major}.${_minor}
_stable=${_major}
#_stablerc=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
Expand Down Expand Up @@ -224,7 +224,8 @@ if [ -n "$_build_nvidia_open" ]; then
source+=("nvidia-open-${_nv_ver}.tar.gz::https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${_nv_ver}.tar.gz"
"${_patchsource}/misc/nvidia/make-modeset-fbdev-default.patch"
"${_patchsource}/misc/nvidia/nvidia-open-gcc-ibt-sls.patch"
"${_patchsource}/misc/nvidia/fix-zen5.patch")
"${_patchsource}/misc/nvidia/fix-zen5.patch"
"${_patchsource}/misc/nvidia/6.11-fbdev.patch")
fi

## List of CachyOS schedulers
Expand All @@ -236,6 +237,8 @@ case "$_cpusched" in
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
echo) ## ECHO Scheduler
source+=("${_patchsource}/sched/0001-echo-cachy.patch");;
eevdf) ## 6.12 EEVDF patches
source+=("${_patchsource}/sched/0001-eevdf-next.patch");;
rt) ## EEVDF with RT patches
source+=("${_patchsource}/misc/0001-rt.patch"
linux-cachyos-rt.install);;
Expand Down Expand Up @@ -271,6 +274,7 @@ prepare() {
[[ $src = make-modeset-fbdev-default.patch ]] && continue
[[ $src = nvidia-open-gcc-ibt-sls.patch ]] && continue
[[ $src = fix-zen5.patch ]] && continue
[[ $src = 6.11-fbdev.patch ]] && continue
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
Expand Down Expand Up @@ -324,8 +328,7 @@ prepare() {
### Enable KCFI
if [ -n "$_use_kcfi" ]; then
echo "Enabling kCFI"
scripts/config -e ARCH_SUPPORTS_CFI_CLANG \
-e CFI_CLANG
scripts/config -e ARCH_SUPPORTS_CFI_CLANG -e CFI_CLANG -e CFI_AUTO_DEFAULT
fi

### Select LLVM level
Expand Down Expand Up @@ -536,6 +539,8 @@ prepare() {
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/nvidia-open-gcc-ibt-sls.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix for Zen5 error print in dmesg
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/fix-zen5.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix broken fbdev on 6.11
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/6.11-fbdev.patch" -d "${srcdir}/${_nv_open_pkg}"
fi
}

Expand Down Expand Up @@ -773,8 +778,8 @@ for _p in "${pkgname[@]}"; do
}"
done

b2sums=('8a15910089d080886046b1fd8d57ef28ce872bf428e67ccbc9d5ca92da794d6dee7ab83cc914a499b40962e2990c3b1e5b11ae7d12c1eff7bec548c9a67df03a'
'99536fd0cebe7e913ab94d4847548b8947cb33d705660e96e47ea04f1553cf28ee7e5303778c1f8a788cb4be748ee0b5e43a780ce73a6064dc9bf4af7750a7b2'
b2sums=('e7750c0878d71a56a0ce52d4c4c912199dad5bf5e2e8f872585a6494afbb37cbd852e612a6858936d2dc9b7776a3933818f540db408d57e90d18ea5249bba7ab'
'fa3fd6750d3bdecd8030d6f29032f9041c9d713e91b5ceefce9ad02a1c6b097146ab77eb298d6fa96a04ed0ec3db0c5449e17ea48283e9bf2312d40547fe5747'
'b1e964389424d43c398a76e7cee16a643ac027722b91fe59022afacb19956db5856b2808ca0dd484f6d0dfc170482982678d7a9a00779d98cd62d5105200a667'
'57a47335109bd4dad8a64f81ab0880ed5fc41ef35d6d354a3193e93dc5b89fdd28c9bd6f97b795bc53bd5bf141ea22e5099e18eb81fa8e25531a9c6db2dc2033'
'bade8bcf441a868b5ac1dc18c0cccf0a7a2b663124dcf3b5d2b51e7ccbeb84458b0e49fe7bbd8e107bf84afd388308b3551297a7ebcf90d96a8149b7765eddcf')
'ab6c372dbc0f4269d44d4900217cd5a784d03bfb498f673090134b86933f6d8cd3eefa12c8550dd4f135fbf4572f0f2bf17c388e7e7579d168466bdd1db467bc'
'8c3ec355ecef6aaf62758710385b607983f15498e19cbe6440ab068439ea33f40e47c3df72f2c02579a66eda976ce49430dbebf02956b951195a0721ac4a0180')
Loading

0 comments on commit c987251

Please sign in to comment.