This commit is contained in:
P. Jung 2021-12-03 20:08:45 +00:00
parent 006096768b
commit 2e04b3f54d
No known key found for this signature in database
GPG key ID: AFC052D06215E148
3 changed files with 23 additions and 18 deletions

View file

@ -1,7 +1,7 @@
pkgbase = linux-cachyos
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 5.15.6
pkgrel = 1
pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@ -22,7 +22,7 @@ pkgbase = linux-cachyos
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.6.tar.xz
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/AMD/0001-amdpstate.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd-pstate-dev-v5-fixes.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/AMD/0001-amd64-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bbr2.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bitmap.patch
@ -48,9 +48,9 @@ pkgbase = linux-cachyos
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-xfs-backport.patch
source = auto-cpu-optimization.sh
sha512sums = 0f69e98590e796a3ec3e04340fc41954f1cdb7a5859da8efec1ba4a6498760778744e6243d068bc91343e3e7029239ff2e9ee2572f458c6b0e31c23f3686b5f5
sha512sums = 529d4b326892ac73c9c08f0ca2dbe12365b50ee7368712bb8dbe366f916985e760f995404b7061f1bbbea282ab07a811c0d9c1674182ef62fcca401aca3da8b9
sha512sums = b9ed734f6acbc1269086efd6c904a98f1a669680e65e2150366721b315cc969ec0f58eb0aff7ed253e9ad1ff64314ff9e4c25f4425c96331161489e209b7c759
sha512sums = 6d091087ea65936cc546cd049dafc5a2356244b9b2c9a3562f4c9ad7368bbbd23b4cde5e5bc8995c7fef7e4a3a304975a88016bcd7f3fe446d33c55feb4b8c88
sha512sums = a258bde3c81f8a7eb0c93f0ec0490488096ea26b16744730de301855c5bcc38aa04b2755be8d3cd992b34bc2568647350b68dc73755e1f5e6a894ea9a57e5e5a
sha512sums = 35e36b6824c83f2bfb0314882be8b373243fa4cd45bcda6291171206ca5b718e73abb91c0edc3f0ad6b06f099746c954aedb5f05fe42797fe408a8176898de65
sha512sums = d6544f652ef9767e20d8acd1bf09738e7dcd4bc430a39a75b591aa38631942c952f70a29d1febfdfea20e7bc64813991fc1428a1dcaf176b3a024cb17be8cb3c
sha512sums = d800ad18b40f71a8509acca4d74d8ea9b4d24558665e40a558345403cbcb8a29096baf686158e55baf3d0a4a41a605033c09b162d00a810aa50d8d50785e4bc1
sha512sums = d549caac984a68ff95c928ffb2055b1ed09f1b0bb0beeded731c4a9f391bf0923c50c1cdefa145cc116121e4746bb35f0b9d32814bad8da142f48b1ead293ab1
sha512sums = d7b8c20c6950b86ed88aeb271466bcac282c86c8c42a2603e7d54b57b2421c74ad3530bab4a8d43fee407ddcbb2e42885acf1b357b9d87f2a1c4250816c0e788
@ -64,7 +64,7 @@ pkgbase = linux-cachyos
sha512sums = 999b518c2ecd9a86d6eb9b11fbaca4c141f73d93831bb0e9a861763b6b3f275fc5592a2cf826f590219c97255da935f1ec54624cc75e2f5f8dc9ea7c2b745b69
sha512sums = 48b6b0d070240a0f9ac4d95b679fd80e006979c0239c3f56101f626cbddd38abbd572ff8ca2106f5a331c41664b1d3ae275ca43e0cb166a3b0bf768238259b03
sha512sums = 76dfd2023b314be3e5b84acc074857322d49938078b69c87efc4c3510fd5aa528781a07197d00823012a4bdccdcab10db11fc116609d1da7ca694e29010c92b6
sha512sums = 7a121e38ede8b11e781f09e486377b7472979cfe9780cabfff599124998e95f64eaf1462a1579cc943e924a7df2f640a2b8ea41e0807369f56c84e1a9f4b1934
sha512sums = 51ccbf184aeb98b05bb72f6d2ded8158a16bb2350ff192ce301c2e405bf514af5fe4888098d5a804cf1b2c6558a36ecc9cbdaaeeaf4f43150495579b4c2f7c00
sha512sums = 7d953a6093de744e9dfe841cec28e9bd88dd12b5cd142d04736fe318a77709f166fe476f8c8bbb77013f715e27c1e1ba219998d3f50d29dfe1127216b64b6d60
sha512sums = 4ba31d174af375b29b7ebea72ce24d5c81d3876885c35baea4d801f691c4083934422ab89470f4725c5ffb3646ea49b140ea33630cce35ee316985bc2bda7b0b
sha512sums = 7adb4076e60bdf884c16e491e1dc9730baa1fadbabdc0a89773986973b42943a3b1666c5ee047373d72581e8d98686044c4bf0dca7ad03ca120ff2e9a560c9d4

View file

@ -54,8 +54,8 @@ _winesync=y
### Running with a 2000 HZ, 1000HZ, 750Hz or 500HZ tick rate
_2k_HZ_ticks=
_1k_HZ_ticks=
_750_HZ_ticks=
_600_HZ_ticks=y
_750_HZ_ticks=y
_600_HZ_ticks=
_500_HZ_ticks=
### Disable MQ-Deadline I/O scheduler
@ -131,7 +131,7 @@ _srcname=linux-${pkgver}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements'
_srcname=linux-${pkgver}
pkgrel=1
pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@ -146,11 +146,11 @@ if [ -n "$_use_llvm_lto" ]; then
fi
_patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15"
source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
"config"
# "${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
"${_patchsource}/0001-arch-patches.patch"
"${_patchsource}/AMD/0001-amdpstate.patch"
"${_patchsource}/AMD/0001-amd-pstate-dev-v5-fixes.patch"
"${_patchsource}/AMD/0001-amd64-patches.patch"
"${_patchsource}/0001-bbr2.patch"
"${_patchsource}/0001-bitmap.patch"
@ -170,7 +170,7 @@ source=(#"https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
"${_patchsource}/0001-mm-lru.patch"
"${_patchsource}/0001-lqx-patches.patch"
"${_patchsource}/0001-lrng-patches.patch"
# "${_patchsource}/0001-security-patches.patch"
# "${_patchsource}/0001-security-patches.patch"
"${_patchsource}/0001-sbitmap-patches.patch"
"${_patchsource}/0001-v4l2loopback.patch"
"${_patchsource}/0001-zstd.patch"
@ -467,7 +467,7 @@ prepare() {
scripts/config --enable CONFIG_CPU_FREQ_GOV_CONSERVATIVE
scripts/config --enable CONFIG_CPU_FREQ_GOV_USERSPACE
scripts/config --enable CONFIG_CPU_FREQ_GOV_SCHEDUTIL
echo "Enable AMD PSTATE v2 driver"
echo "Enable AMD PSTATE driver"
scripts/config --enable CONFIG_X86_AMD_PSTATE
scripts/config --enable CONFIG_AMD_PTDMA
echo "Enable Anbox"
@ -638,9 +638,9 @@ _package-headers() {
}
sha512sums=('0f69e98590e796a3ec3e04340fc41954f1cdb7a5859da8efec1ba4a6498760778744e6243d068bc91343e3e7029239ff2e9ee2572f458c6b0e31c23f3686b5f5'
'529d4b326892ac73c9c08f0ca2dbe12365b50ee7368712bb8dbe366f916985e760f995404b7061f1bbbea282ab07a811c0d9c1674182ef62fcca401aca3da8b9'
'b9ed734f6acbc1269086efd6c904a98f1a669680e65e2150366721b315cc969ec0f58eb0aff7ed253e9ad1ff64314ff9e4c25f4425c96331161489e209b7c759'
'6d091087ea65936cc546cd049dafc5a2356244b9b2c9a3562f4c9ad7368bbbd23b4cde5e5bc8995c7fef7e4a3a304975a88016bcd7f3fe446d33c55feb4b8c88'
'a258bde3c81f8a7eb0c93f0ec0490488096ea26b16744730de301855c5bcc38aa04b2755be8d3cd992b34bc2568647350b68dc73755e1f5e6a894ea9a57e5e5a'
'35e36b6824c83f2bfb0314882be8b373243fa4cd45bcda6291171206ca5b718e73abb91c0edc3f0ad6b06f099746c954aedb5f05fe42797fe408a8176898de65'
'd6544f652ef9767e20d8acd1bf09738e7dcd4bc430a39a75b591aa38631942c952f70a29d1febfdfea20e7bc64813991fc1428a1dcaf176b3a024cb17be8cb3c'
'd800ad18b40f71a8509acca4d74d8ea9b4d24558665e40a558345403cbcb8a29096baf686158e55baf3d0a4a41a605033c09b162d00a810aa50d8d50785e4bc1'
'd549caac984a68ff95c928ffb2055b1ed09f1b0bb0beeded731c4a9f391bf0923c50c1cdefa145cc116121e4746bb35f0b9d32814bad8da142f48b1ead293ab1'
'd7b8c20c6950b86ed88aeb271466bcac282c86c8c42a2603e7d54b57b2421c74ad3530bab4a8d43fee407ddcbb2e42885acf1b357b9d87f2a1c4250816c0e788'
@ -654,7 +654,7 @@ sha512sums=('0f69e98590e796a3ec3e04340fc41954f1cdb7a5859da8efec1ba4a649876077874
'999b518c2ecd9a86d6eb9b11fbaca4c141f73d93831bb0e9a861763b6b3f275fc5592a2cf826f590219c97255da935f1ec54624cc75e2f5f8dc9ea7c2b745b69'
'48b6b0d070240a0f9ac4d95b679fd80e006979c0239c3f56101f626cbddd38abbd572ff8ca2106f5a331c41664b1d3ae275ca43e0cb166a3b0bf768238259b03'
'76dfd2023b314be3e5b84acc074857322d49938078b69c87efc4c3510fd5aa528781a07197d00823012a4bdccdcab10db11fc116609d1da7ca694e29010c92b6'
'7a121e38ede8b11e781f09e486377b7472979cfe9780cabfff599124998e95f64eaf1462a1579cc943e924a7df2f640a2b8ea41e0807369f56c84e1a9f4b1934'
'51ccbf184aeb98b05bb72f6d2ded8158a16bb2350ff192ce301c2e405bf514af5fe4888098d5a804cf1b2c6558a36ecc9cbdaaeeaf4f43150495579b4c2f7c00'
'7d953a6093de744e9dfe841cec28e9bd88dd12b5cd142d04736fe318a77709f166fe476f8c8bbb77013f715e27c1e1ba219998d3f50d29dfe1127216b64b6d60'
'4ba31d174af375b29b7ebea72ce24d5c81d3876885c35baea4d801f691c4083934422ab89470f4725c5ffb3646ea49b140ea33630cce35ee316985bc2bda7b0b'
'7adb4076e60bdf884c16e491e1dc9730baa1fadbabdc0a89773986973b42943a3b1666c5ee047373d72581e8d98686044c4bf0dca7ad03ca120ff2e9a560c9d4'

7
config
View file

@ -2407,6 +2407,7 @@ CONFIG_MTD_BLOCK=m
# CONFIG_SSFDC is not set
# CONFIG_SM_FTL is not set
# CONFIG_MTD_OOPS is not set
CONFIG_MTD_PSTORE=m
# CONFIG_MTD_SWAP is not set
# CONFIG_MTD_PARTITIONED_MASTER is not set
@ -9806,7 +9807,11 @@ CONFIG_PSTORE_COMPRESS_DEFAULT="zstd"
# CONFIG_PSTORE_PMSG is not set
# CONFIG_PSTORE_FTRACE is not set
CONFIG_PSTORE_RAM=m
# CONFIG_PSTORE_BLK is not set
CONFIG_PSTORE_ZONE=m
CONFIG_PSTORE_BLK=m
CONFIG_PSTORE_BLK_BLKDEV=""
CONFIG_PSTORE_BLK_KMSG_SIZE=64
CONFIG_PSTORE_BLK_MAX_REASON=2
# CONFIG_SYSV_FS is not set
CONFIG_UFS_FS=m
# CONFIG_UFS_FS_WRITE is not set