Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linux-cachyos-echo #238

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion linux-bore/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Generated by makepkg 6.1.0
# Fri Mar 29 18:38:07 UTC 2024
pkgbase = linux-bore
pkgdesc = Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.8.2
Expand Down Expand Up @@ -29,7 +31,7 @@ pkgbase = linux-bore
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.8/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.8/sched/0001-bore-cachy.patch
b2sums = f057c2512040600fbf0df67cf9c7200aee0c06b82b3cf749be8c5685844d2662a585ce17685c7af880c0d9dbbbd81302e5a1fa41c3dbd39869123121a0e82dc2
b2sums = 8178cdd3224ca5b7ef9e971fdb403b57d4f4e44d3b9de31cf118bc1b195cf5d376b424cd5a5013c10182116b9ed18d09b893633ccf2486454d60bcced32149a0
b2sums = e1ae120a44804983b010309b71c21dcac444319505e4c1306eba57419b3811aa29cdc793449587a82e1a4b6171a58f611a53b66860614b53887be37689debb55
b2sums = 43ef7a347878592740d9eb23b40a56083fa747f7700fa1e2c6d039d660c0b876d99bf1a3160e15d041fb13d45906cdb5defef034d4d0ae429911864239c94d8d
b2sums = 2a1405c927f5f21b0f88ffa43dd5137750929ad348d9fa5ee01e8e3d20bf98808be6cbc8a5b0c355245de4347f6db02af4d116262a3a672c790db431ee1cd243
b2sums = 986e2c306529bd7f298683bc4c505f192880a8e164a62ac202a662fd3983290f64a0b490960676196fc6f923fd56c1be490c0e22d68f48277ad5dca71692eb50
Expand Down
6 changes: 5 additions & 1 deletion linux-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ _cachy_config=${_cachy_config-y}
# 'rt' - select EEVDF, but includes a series of realtime patches
# 'rt-bore' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches
# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF
# 'echo' - select 'ECHO Scheduler'
_cpusched=${_cpusched-bore}

### Tweak kernel options prior to a build via nconfig
Expand Down Expand Up @@ -222,6 +223,8 @@ case "$_cpusched" in
source+=("${_patchsource}/sched/0001-sched-ext.patch");;
bore) ## BORE Scheduler
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
echo) ## ECHO Scheduler
source+=("${_patchsource}/sched/0001-echo-cachy.patch");;
rt) ## EEVDF with RT patches
source+=("${_patchsource}/misc/0001-rt.patch"
linux-cachyos-rt.install);;
Expand Down Expand Up @@ -287,6 +290,7 @@ prepare() {
case "$_cpusched" in
cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;
bore|hardened) scripts/config -e SCHED_BORE;;
echo) scripts/config -e ECHO_SCHED;;
eevdf) ;;
rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;
rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;
Expand Down Expand Up @@ -712,7 +716,7 @@ for _p in "${pkgname[@]}"; do
done

b2sums=('f057c2512040600fbf0df67cf9c7200aee0c06b82b3cf749be8c5685844d2662a585ce17685c7af880c0d9dbbbd81302e5a1fa41c3dbd39869123121a0e82dc2'
'8178cdd3224ca5b7ef9e971fdb403b57d4f4e44d3b9de31cf118bc1b195cf5d376b424cd5a5013c10182116b9ed18d09b893633ccf2486454d60bcced32149a0'
'e1ae120a44804983b010309b71c21dcac444319505e4c1306eba57419b3811aa29cdc793449587a82e1a4b6171a58f611a53b66860614b53887be37689debb55'
'43ef7a347878592740d9eb23b40a56083fa747f7700fa1e2c6d039d660c0b876d99bf1a3160e15d041fb13d45906cdb5defef034d4d0ae429911864239c94d8d'
'2a1405c927f5f21b0f88ffa43dd5137750929ad348d9fa5ee01e8e3d20bf98808be6cbc8a5b0c355245de4347f6db02af4d116262a3a672c790db431ee1cd243'
'986e2c306529bd7f298683bc4c505f192880a8e164a62ac202a662fd3983290f64a0b490960676196fc6f923fd56c1be490c0e22d68f48277ad5dca71692eb50')
6 changes: 4 additions & 2 deletions linux-bore/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.8.1 Kernel Configuration
# Linux/x86 6.8.2 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.2.1 20230801"
CONFIG_CC_IS_GCC=y
Expand All @@ -24,6 +24,7 @@ CONFIG_PAHOLE_VERSION=126
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y
# CONFIG_ECHO_SCHED is not set

#
# General setup
Expand Down Expand Up @@ -561,6 +562,7 @@ CONFIG_HZ_300=y
# CONFIG_HZ_500 is not set
# CONFIG_HZ_600 is not set
# CONFIG_HZ_750 is not set
# CONFIG_HZ_625 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=300
CONFIG_SCHED_HRTICK=y
Expand Down Expand Up @@ -2053,7 +2055,6 @@ CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_CMTP=m
CONFIG_BT_HIDP=m
# CONFIG_BT_HS is not set
CONFIG_BT_LE=y
CONFIG_BT_LE_L2CAP_ECRED=y
CONFIG_BT_6LOWPAN=m
Expand Down Expand Up @@ -6867,6 +6868,7 @@ CONFIG_DRM_AMD_DC=y
CONFIG_DRM_AMD_DC_FP=y
CONFIG_DRM_AMD_DC_SI=y
CONFIG_DRM_AMD_SECURE_DISPLAY=y
CONFIG_AMD_PRIVATE_COLOR=y
# end of Display Engine Configuration

CONFIG_HSA_AMD=y
Expand Down
4 changes: 3 additions & 1 deletion linux-cachyos-bore/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Generated by makepkg 6.1.0
# Fri Mar 29 18:38:40 UTC 2024
pkgbase = linux-cachyos-bore
pkgdesc = Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.8.2
Expand Down Expand Up @@ -29,7 +31,7 @@ pkgbase = linux-cachyos-bore
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.8/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.8/sched/0001-bore-cachy.patch
b2sums = f057c2512040600fbf0df67cf9c7200aee0c06b82b3cf749be8c5685844d2662a585ce17685c7af880c0d9dbbbd81302e5a1fa41c3dbd39869123121a0e82dc2
b2sums = 8178cdd3224ca5b7ef9e971fdb403b57d4f4e44d3b9de31cf118bc1b195cf5d376b424cd5a5013c10182116b9ed18d09b893633ccf2486454d60bcced32149a0
b2sums = e1ae120a44804983b010309b71c21dcac444319505e4c1306eba57419b3811aa29cdc793449587a82e1a4b6171a58f611a53b66860614b53887be37689debb55
b2sums = 43ef7a347878592740d9eb23b40a56083fa747f7700fa1e2c6d039d660c0b876d99bf1a3160e15d041fb13d45906cdb5defef034d4d0ae429911864239c94d8d
b2sums = 2a1405c927f5f21b0f88ffa43dd5137750929ad348d9fa5ee01e8e3d20bf98808be6cbc8a5b0c355245de4347f6db02af4d116262a3a672c790db431ee1cd243
b2sums = 986e2c306529bd7f298683bc4c505f192880a8e164a62ac202a662fd3983290f64a0b490960676196fc6f923fd56c1be490c0e22d68f48277ad5dca71692eb50
Expand Down
6 changes: 5 additions & 1 deletion linux-cachyos-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ _cachy_config=${_cachy_config-y}
# 'rt' - select EEVDF, but includes a series of realtime patches
# 'rt-bore' - select Burst-Oriented Response Enhancer, but includes a series of realtime patches
# 'sched-ext' - select 'sched-ext' Scheduler, based on EEVDF
# 'echo' - select 'ECHO Scheduler'
_cpusched=${_cpusched-bore}

### Tweak kernel options prior to a build via nconfig
Expand Down Expand Up @@ -222,6 +223,8 @@ case "$_cpusched" in
source+=("${_patchsource}/sched/0001-sched-ext.patch");;
bore) ## BORE Scheduler
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
echo) ## ECHO Scheduler
source+=("${_patchsource}/sched/0001-echo-cachy.patch");;
rt) ## EEVDF with RT patches
source+=("${_patchsource}/misc/0001-rt.patch"
linux-cachyos-rt.install);;
Expand Down Expand Up @@ -287,6 +290,7 @@ prepare() {
case "$_cpusched" in
cachyos|sched-ext) scripts/config -e SCHED_CLASS_EXT;;
bore|hardened) scripts/config -e SCHED_BORE;;
echo) scripts/config -e ECHO_SCHED;;
eevdf) ;;
rt) scripts/config -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;
rt-bore) scripts/config -e SCHED_BORE -e PREEMPT_COUNT -e PREEMPTION -d PREEMPT_VOLUNTARY -d PREEMPT -d PREEMPT_NONE -e PREEMPT_RT -d PREEMPT_DYNAMIC -d PREEMPT_BUILD;;
Expand Down Expand Up @@ -712,7 +716,7 @@ for _p in "${pkgname[@]}"; do
done

b2sums=('f057c2512040600fbf0df67cf9c7200aee0c06b82b3cf749be8c5685844d2662a585ce17685c7af880c0d9dbbbd81302e5a1fa41c3dbd39869123121a0e82dc2'
'8178cdd3224ca5b7ef9e971fdb403b57d4f4e44d3b9de31cf118bc1b195cf5d376b424cd5a5013c10182116b9ed18d09b893633ccf2486454d60bcced32149a0'
'e1ae120a44804983b010309b71c21dcac444319505e4c1306eba57419b3811aa29cdc793449587a82e1a4b6171a58f611a53b66860614b53887be37689debb55'
'43ef7a347878592740d9eb23b40a56083fa747f7700fa1e2c6d039d660c0b876d99bf1a3160e15d041fb13d45906cdb5defef034d4d0ae429911864239c94d8d'
'2a1405c927f5f21b0f88ffa43dd5137750929ad348d9fa5ee01e8e3d20bf98808be6cbc8a5b0c355245de4347f6db02af4d116262a3a672c790db431ee1cd243'
'986e2c306529bd7f298683bc4c505f192880a8e164a62ac202a662fd3983290f64a0b490960676196fc6f923fd56c1be490c0e22d68f48277ad5dca71692eb50')
6 changes: 4 additions & 2 deletions linux-cachyos-bore/config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 6.8.1 Kernel Configuration
# Linux/x86 6.8.2 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.2.1 20230801"
CONFIG_CC_IS_GCC=y
Expand All @@ -24,6 +24,7 @@ CONFIG_PAHOLE_VERSION=126
CONFIG_IRQ_WORK=y
CONFIG_BUILDTIME_TABLE_SORT=y
CONFIG_THREAD_INFO_IN_TASK=y
# CONFIG_ECHO_SCHED is not set

#
# General setup
Expand Down Expand Up @@ -561,6 +562,7 @@ CONFIG_HZ_300=y
# CONFIG_HZ_500 is not set
# CONFIG_HZ_600 is not set
# CONFIG_HZ_750 is not set
# CONFIG_HZ_625 is not set
# CONFIG_HZ_1000 is not set
CONFIG_HZ=300
CONFIG_SCHED_HRTICK=y
Expand Down Expand Up @@ -2053,7 +2055,6 @@ CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
CONFIG_BT_CMTP=m
CONFIG_BT_HIDP=m
# CONFIG_BT_HS is not set
CONFIG_BT_LE=y
CONFIG_BT_LE_L2CAP_ECRED=y
CONFIG_BT_6LOWPAN=m
Expand Down Expand Up @@ -6867,6 +6868,7 @@ CONFIG_DRM_AMD_DC=y
CONFIG_DRM_AMD_DC_FP=y
CONFIG_DRM_AMD_DC_SI=y
CONFIG_DRM_AMD_SECURE_DISPLAY=y
CONFIG_AMD_PRIVATE_COLOR=y
# end of Display Engine Configuration

CONFIG_HSA_AMD=y
Expand Down
56 changes: 56 additions & 0 deletions linux-cachyos-echo/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# Generated by makepkg 6.1.0
# Fri Mar 29 18:38:58 UTC 2024
pkgbase = linux-cachyos-echo
pkgdesc = Linux ECHO scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.8.2
pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
license = GPL2
makedepends = bc
makedepends = libelf
makedepends = pahole
makedepends = cpio
makedepends = perl
makedepends = tar
makedepends = xz
makedepends = zstd
makedepends = gcc
makedepends = gcc-libs
makedepends = glibc
makedepends = binutils
makedepends = make
makedepends = patch
makedepends = python
options = !strip
options = !debug
source = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.2.tar.xz
source = config
source = auto-cpu-optimization.sh
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.8/all/0001-cachyos-base-all.patch
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.8/sched/0001-echo-cachy.patch
b2sums = f057c2512040600fbf0df67cf9c7200aee0c06b82b3cf749be8c5685844d2662a585ce17685c7af880c0d9dbbbd81302e5a1fa41c3dbd39869123121a0e82dc2
b2sums = e1ae120a44804983b010309b71c21dcac444319505e4c1306eba57419b3811aa29cdc793449587a82e1a4b6171a58f611a53b66860614b53887be37689debb55
b2sums = 43ef7a347878592740d9eb23b40a56083fa747f7700fa1e2c6d039d660c0b876d99bf1a3160e15d041fb13d45906cdb5defef034d4d0ae429911864239c94d8d
b2sums = 2a1405c927f5f21b0f88ffa43dd5137750929ad348d9fa5ee01e8e3d20bf98808be6cbc8a5b0c355245de4347f6db02af4d116262a3a672c790db431ee1cd243
b2sums = 41c4844931351e7d9c8a07b7ae0d0e03f7e010413292e45043cad1c394f11b2676a42493534c4b482611b1ba8c660e017bde25be60149fe8feaf89faa49e857a

pkgname = linux-cachyos-echo
pkgdesc = The Linux ECHO scheduler Kernel by CachyOS with other patches and improvements kernel and modules
depends = coreutils
depends = kmod
depends = initramfs
optdepends = wireless-regdb: to set the correct wireless channels of your country
optdepends = linux-firmware: firmware images needed for some devices
optdepends = modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig
optdepends = uksmd: Userspace KSM helper daemon
provides = VIRTUALBOX-GUEST-MODULES
provides = WIREGUARD-MODULE
provides = KSMBD-MODULE
provides = UKSMD-BUILTIN

pkgname = linux-cachyos-echo-headers
pkgdesc = Headers and scripts for building modules for the Linux ECHO scheduler Kernel by CachyOS with other patches and improvements kernel
depends = pahole
depends = linux-cachyos-echo
Loading
Loading