This commit is contained in:
P. Jung 2021-12-01 13:32:59 +00:00
parent 2e12d2639d
commit a33b74c2f7
No known key found for this signature in database
GPG Key ID: AFC052D06215E148
2 changed files with 51 additions and 48 deletions

View File

@ -8,7 +8,7 @@
# Set these variables to ANYTHING that is not null to enable them
### Tweak kernel options prior to a build via nconfig
_makenconfig=y
_makenconfig=
### Tweak kernel options prior to a build via menuconfig
_makemenuconfig=
@ -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=y
_600_HZ_ticks=
_750_HZ_ticks=
_600_HZ_ticks=y
_500_HZ_ticks=
### Disable MQ-Deadline I/O scheduler
@ -125,13 +125,13 @@ else
pkgbase=linux-cachyos
fi
_major=5.15
_minor=5
_minor=6
pkgver=${_major}.${_minor}
_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=2
pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@ -141,11 +141,17 @@ makedepends=('kmod' 'bc' 'libelf' 'python-sphinx' 'python-sphinx_rtd_theme'
if [ -n "$_use_llvm_lto" ]; then
makedepends+=(clang llvm lld python)
fi
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
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"
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"
"config"
# "${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
"${_patchsource}/dev/0001-arch.patch"
"${_patchsource}/0001-arch-patches.patch"
"${_patchsource}/AMD/0001-amdpstate.patch"
"${_patchsource}/AMD/0001-amd64-patches.patch"
"${_patchsource}/0001-bbr2.patch"
"${_patchsource}/0001-bitmap.patch"
"${_patchsource}/0001-block-patches.patch"
@ -153,7 +159,6 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
"${_patchsource}/0001-misc.patch"
"${_patchsource}/0001-btrfs-patches.patch"
"${_patchsource}/0001-clearlinux-patches.patch"
"${_patchsource}/0001-amd-pstate-v4.patch"
"${_patchsource}/0001-ntfs3.patch"
"${_patchsource}/0001-ck-hrtimer.patch"
"${_patchsource}/0001-fixes-miscellaneous.patch"
@ -161,10 +166,11 @@ source=("https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
"${_patchsource}/0001-hwmon-patches.patch"
"${_patchsource}/0001-ksmbd-patches.patch"
"${_patchsource}/0001-damon.patch"
"${_patchsource}/0001-pf-patches.patch"
"${_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"
@ -631,32 +637,33 @@ _package-headers() {
}
sha512sums=('7b9a78c734a24e8b67f93c8de65fb57cce498f18f4ce6a5c4cff0b834407dbf66cda6834118e67cfef3101979f2df78a7cc45854d943ffecee60a990783497df'
'b4fd8b016cf022bff4193a21de6b2636def09c0c5a5d9751b8f0b36233d2b1eb16536199ec952fc8bc43c51f0a5de3af8acaeda85a3c4d61d2f6353ec1406987'
'136ca6eddc3cda39f41fa55770c53845de8267e004731df6c8b8c0023ec2073b1998d69af944ae4d0cd1ef6e201c32649a0d7b15946133a6da012d8a9cb37d94'
sha512sums=('0f69e98590e796a3ec3e04340fc41954f1cdb7a5859da8efec1ba4a6498760778744e6243d068bc91343e3e7029239ff2e9ee2572f458c6b0e31c23f3686b5f5'
'529d4b326892ac73c9c08f0ca2dbe12365b50ee7368712bb8dbe366f916985e760f995404b7061f1bbbea282ab07a811c0d9c1674182ef62fcca401aca3da8b9'
'b9ed734f6acbc1269086efd6c904a98f1a669680e65e2150366721b315cc969ec0f58eb0aff7ed253e9ad1ff64314ff9e4c25f4425c96331161489e209b7c759'
'6d091087ea65936cc546cd049dafc5a2356244b9b2c9a3562f4c9ad7368bbbd23b4cde5e5bc8995c7fef7e4a3a304975a88016bcd7f3fe446d33c55feb4b8c88'
'd800ad18b40f71a8509acca4d74d8ea9b4d24558665e40a558345403cbcb8a29096baf686158e55baf3d0a4a41a605033c09b162d00a810aa50d8d50785e4bc1'
'd549caac984a68ff95c928ffb2055b1ed09f1b0bb0beeded731c4a9f391bf0923c50c1cdefa145cc116121e4746bb35f0b9d32814bad8da142f48b1ead293ab1'
'd7b8c20c6950b86ed88aeb271466bcac282c86c8c42a2603e7d54b57b2421c74ad3530bab4a8d43fee407ddcbb2e42885acf1b357b9d87f2a1c4250816c0e788'
'cfbebdb5347e53020123fc395eb2d241a3463c8a7ebbe251c5af37dd1b91569fdb172c16daa7d9ddd8b05975dffb5ea536cb3760f7af953921156d0c37647427'
'0339084577de212c4ef02b46d8d836c0211aacae7503ace23b6098af90e9ca1e9ca9e6fa8e3132051ac0a68b032b89b60078bd5a0d7ca3ad617b91a61acbd3b5'
'd382d7facd84c9cec16cfe5e3bb924b07b26e45a85831e1acf8893b7f56c621c363c6f71e872c48eb339682c980d2517dfb162730ebd2a0027dfe5f2886ea0dc'
'5a1600c43db9493c85fd8654b857bf82c5482c52c19a12df6a34a92d16600a022e284f15e68609f9611b8443944674ee5cc6f87a9c944c6463fb313f1a68b65c'
'e7a66c81d1e920684cb597f7446a1f5c244c32db69735fcdfc7983304851f31dee11668370e2e322259fa4e9d7368fc46ac6fdff1ae1366a68642a88ca5ab311'
'f8e20fe34b058e8e554f653424ced37fefd004489689e6047def11cd463b594241432dd425b082d73a2646fe91531be9083a481b47cc784930991f78d9214529'
'9208fb03e4e2ecb7f825dc52dec96b2d669c22dc1c1339071042ce3243ea5efbffc01c79db27fe878027460cd50d5de32d5716a70b00d9984bb9974b8d194752'
'e4266d7b8b3de6be625a8df0404e94eab0305ef929f93ee7fef14bb69f690938b7c9c7ab7578b5c9c7174ae2697893f920d609cd818b649604d4bebeda48df44'
'29bb6f3b5ef1232f9c3a34dee19c592f5f87ba8b06a020e840ba9c914953092ee987380cab9a92e233df5e2e1a6a8f211d49376ca4f7ae076b7a4f92749758b6'
'a3e8796293a073f74f140a9dacb094a193ceff6db62907c4240d135daa373e09b126c33fa796192404e02843e2e5c36fe739a2395dac35f78b388fd5a96bed40'
'999b518c2ecd9a86d6eb9b11fbaca4c141f73d93831bb0e9a861763b6b3f275fc5592a2cf826f590219c97255da935f1ec54624cc75e2f5f8dc9ea7c2b745b69'
'48b6b0d070240a0f9ac4d95b679fd80e006979c0239c3f56101f626cbddd38abbd572ff8ca2106f5a331c41664b1d3ae275ca43e0cb166a3b0bf768238259b03'
'76dfd2023b314be3e5b84acc074857322d49938078b69c87efc4c3510fd5aa528781a07197d00823012a4bdccdcab10db11fc116609d1da7ca694e29010c92b6'
'dca4bbec8b13b1fe7d94217a6666caf36dba47392d70f10ddb186b08ab78537ca564245ae90ccac4265e0d097319e825aba0b902151e0da25890c1b77f8ef0fa'
'6973593192c7fd5d9c3af1014d6aedca8a1c76b8cb339cf199f6397f4c2c5e1171d84c03d4e7b6e929ebba1b9ffc84e909f6c34ee18055688f7f2c7459c49ff6'
'7a121e38ede8b11e781f09e486377b7472979cfe9780cabfff599124998e95f64eaf1462a1579cc943e924a7df2f640a2b8ea41e0807369f56c84e1a9f4b1934'
'7d953a6093de744e9dfe841cec28e9bd88dd12b5cd142d04736fe318a77709f166fe476f8c8bbb77013f715e27c1e1ba219998d3f50d29dfe1127216b64b6d60'
'4ba31d174af375b29b7ebea72ce24d5c81d3876885c35baea4d801f691c4083934422ab89470f4725c5ffb3646ea49b140ea33630cce35ee316985bc2bda7b0b'
'7adb4076e60bdf884c16e491e1dc9730baa1fadbabdc0a89773986973b42943a3b1666c5ee047373d72581e8d98686044c4bf0dca7ad03ca120ff2e9a560c9d4'
'fb2d882a1156e5f78ff4b5809f0eea6ab6df17f460ad1547c422476e942af54b064c2587d9dc1c0cffef9e906990285d12e98f2efe132c50bf27f02c52d61681'
'b501454a225cc3882c6ccc61e6029e6a20efee5179668819d3055afa059ecaa4307c1b57f9780c224e91bf2f50192a93cf7003b9dbb7296a9d604e52604eaea4'
'f8edc60ca3fcfb123d08fc2a3ba8b5dcd504e20e61500ba00268ce4486cfd9432e42192cdd35cd2d63db6fe02fcf8139886b80e0e10cb7b81f7f92ccf539483c'
'ef893edc3c4416c31f1bc011cdb9b4926dd39beb696997c31dc8416948255f93c4cf3363bb90a4cfc7d73ad2cecf6e03acf88b458d607e042644333b5d69e643'
'a1279dcb47ff3d43811c5dfca84a5b4edd6be87f012fa4e2c1a1f0c379e707bee67f23e6dd186be97f78cf1f45f781619db0382fc6aa0d5c42208ad77b95373e'
'8d2230bbae1708610ff0d93537d1a1f372f4efd25cb35e6016657c13c6032a0e8e5a3ade89ed5e6a866e3720fe998e5aceac3496a1d3c9423af4d1b40c949022'
'9be67d8ab398c1286199ed796d6ce951bf6a967e146081e54ca1b2e8ff16b7bc00ecb4668ec9de859901bc16315af4955515d26e8a2858ac49b1661a13df1031'
'a0322e98aa0406eda29975be648f33b562c894a090ccafcde6c6dad580353c2029fa5bb2d66d31faa8ff0c593ba2ffe1e76031c0a16f55bf16c6a5366b9d700f'
'a54c01ba42e7d5f9433dacaa21f656d8aefdb6a5228fbca2b8e55b26eb02b35327ae3fd98a26a708452b8559e7f4acb32b6e685e26edc64497d1b7d10c5d86e1')
pkgname=("$pkgbase" "$pkgbase-headers")

54
config
View File

@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 5.15.5 Kernel Configuration
# Linux/x86 5.15.6 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.1.0"
CONFIG_CC_IS_GCC=y
@ -107,8 +107,8 @@ CONFIG_POSIX_CPU_TIMERS_TASK_WORK=y
CONFIG_TICK_ONESHOT=y
CONFIG_NO_HZ_COMMON=y
# CONFIG_HZ_PERIODIC is not set
# CONFIG_NO_HZ_IDLE is not set
CONFIG_NO_HZ_FULL=y
CONFIG_NO_HZ_IDLE=y
# CONFIG_NO_HZ_FULL is not set
CONFIG_CONTEXT_TRACKING=y
# CONFIG_CONTEXT_TRACKING_FORCE is not set
CONFIG_NO_HZ=y
@ -134,18 +134,16 @@ CONFIG_BPF_LSM=y
# end of BPF subsystem
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
CONFIG_PREEMPT_DYNAMIC=y
CONFIG_PREEMPT_VOLUNTARY=y
# CONFIG_PREEMPT is not set
CONFIG_SCHED_CORE=y
#
# CPU/Task time and stats accounting
#
CONFIG_TICK_CPU_ACCOUNTING=y
# CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
CONFIG_VIRT_CPU_ACCOUNTING=y
# CONFIG_TICK_CPU_ACCOUNTING is not set
CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
CONFIG_IRQ_TIME_ACCOUNTING=y
CONFIG_HAVE_SCHED_AVG_IRQ=y
CONFIG_BSD_PROCESS_ACCT=y
@ -164,12 +162,10 @@ CONFIG_CPU_ISOLATION=y
# RCU Subsystem
#
CONFIG_TREE_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_RCU_EXPERT=y
CONFIG_SRCU=y
CONFIG_TREE_SRCU=y
CONFIG_TASKS_RCU_GENERIC=y
CONFIG_TASKS_RCU=y
CONFIG_TASKS_RUDE_RCU=y
CONFIG_TASKS_TRACE_RCU=y
CONFIG_RCU_STALL_COMMON=y
@ -177,8 +173,7 @@ CONFIG_RCU_NEED_SEGCBLIST=y
CONFIG_RCU_FANOUT=64
CONFIG_RCU_FANOUT_LEAF=16
CONFIG_RCU_FAST_NO_HZ=y
# CONFIG_RCU_BOOST is not set
# CONFIG_RCU_NOCB_CPU is not set
CONFIG_RCU_NOCB_CPU=y
# CONFIG_TASKS_TRACE_RCU_READ_MB is not set
# end of RCU Subsystem
@ -243,6 +238,7 @@ CONFIG_PID_NS=y
CONFIG_NET_NS=y
CONFIG_CHECKPOINT_RESTORE=y
CONFIG_SCHED_AUTOGROUP=y
CONFIG_SCHED_AUTOGROUP_DEFAULT_ENABLED=y
# CONFIG_SYSFS_DEPRECATED is not set
CONFIG_RELAY=y
CONFIG_BLK_DEV_INITRD=y
@ -534,6 +530,7 @@ CONFIG_EFI_MIXED=y
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
CONFIG_HZ_300=y
# CONFIG_HZ_500 is not set
# CONFIG_HZ_600 is not set
# CONFIG_HZ_750 is not set
# CONFIG_HZ_1000 is not set
@ -689,16 +686,16 @@ CONFIG_X86_INTEL_PSTATE=y
CONFIG_X86_PCC_CPUFREQ=m
CONFIG_X86_AMD_PSTATE=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_POWERNOW_K8=m
CONFIG_X86_AMD_FREQ_SENSITIVITY=m
# CONFIG_X86_ACPI_CPUFREQ_CPB is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_AMD_FREQ_SENSITIVITY is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
CONFIG_X86_P4_CLOCKMOD=m
CONFIG_X86_P4_CLOCKMOD=y
#
# shared options
#
CONFIG_X86_SPEEDSTEP_LIB=m
CONFIG_X86_SPEEDSTEP_LIB=y
# end of CPU Frequency scaling
#
@ -928,6 +925,7 @@ CONFIG_MODULE_COMPRESS_ZSTD=y
#
CONFIG_MODULE_COMPRESS_ZSTD_LEVEL=19
CONFIG_MODULE_COMPRESS_ZSTD_ULTRA=y
CONFIG_MODULE_COMPRESS_ZSTD_LEVEL_ULTRA=22
# end of ZSTD module compression options
CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=y
@ -1001,7 +999,11 @@ CONFIG_BFQ_GROUP_IOSCHED=y
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_PADATA=y
CONFIG_ASN1=y
CONFIG_UNINLINE_SPIN_UNLOCK=y
CONFIG_INLINE_SPIN_UNLOCK_IRQ=y
CONFIG_INLINE_READ_UNLOCK=y
CONFIG_INLINE_READ_UNLOCK_IRQ=y
CONFIG_INLINE_WRITE_UNLOCK=y
CONFIG_INLINE_WRITE_UNLOCK_IRQ=y
CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y
CONFIG_MUTEX_SPIN_ON_OWNER=y
CONFIG_RWSEM_SPIN_ON_OWNER=y
@ -1759,12 +1761,12 @@ CONFIG_NET_SCH_ETS=m
CONFIG_NET_SCH_DEFAULT=y
# CONFIG_DEFAULT_FQ is not set
# CONFIG_DEFAULT_CODEL is not set
CONFIG_DEFAULT_FQ_CODEL=y
# CONFIG_DEFAULT_FQ_CODEL is not set
# CONFIG_DEFAULT_FQ_PIE is not set
# CONFIG_DEFAULT_SFQ is not set
# CONFIG_DEFAULT_CAKE is not set
CONFIG_DEFAULT_CAKE=y
# CONFIG_DEFAULT_PFIFO_FAST is not set
CONFIG_DEFAULT_NET_SCH="fq_codel"
CONFIG_DEFAULT_NET_SCH="cake"
#
# Classification
@ -2820,7 +2822,6 @@ CONFIG_SCSI_DH_RDAC=m
CONFIG_SCSI_DH_HP_SW=m
CONFIG_SCSI_DH_EMC=m
CONFIG_SCSI_DH_ALUA=m
CONFIG_VHBA=m
# end of SCSI device support
CONFIG_ATA=y
@ -5642,13 +5643,10 @@ CONFIG_RC_XBOX_DVD=m
CONFIG_IR_TOY=m
CONFIG_CEC_CORE=y
CONFIG_CEC_NOTIFIER=y
CONFIG_CEC_PIN=y
CONFIG_MEDIA_CEC_RC=y
# CONFIG_CEC_PIN_ERROR_INJ is not set
CONFIG_MEDIA_CEC_SUPPORT=y
CONFIG_CEC_CH7322=m
CONFIG_CEC_CROS_EC=m
CONFIG_CEC_GPIO=m
CONFIG_CEC_SECO=m
CONFIG_CEC_SECO_RC=y
CONFIG_USB_PULSE8_CEC=m
@ -10595,7 +10593,6 @@ CONFIG_SCHEDSTATS=y
# end of Scheduler Debugging
# CONFIG_DEBUG_TIMEKEEPING is not set
# CONFIG_DEBUG_PREEMPT is not set
#
# Lock Debugging (spinlocks, mutexes, etc...)
@ -10680,7 +10677,6 @@ CONFIG_DYNAMIC_FTRACE_WITH_ARGS=y
CONFIG_FUNCTION_PROFILER=y
CONFIG_STACK_TRACER=y
# CONFIG_IRQSOFF_TRACER is not set
# CONFIG_PREEMPT_TRACER is not set
CONFIG_SCHED_TRACER=y
CONFIG_HWLAT_TRACER=y
CONFIG_OSNOISE_TRACER=y