From 5f6029e358039f822badd1bb7738ed5b16cda587 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Sat, 25 Jun 2022 16:57:16 +0200 Subject: [PATCH] 5.18.7-1 --- .SRCINFO | 22 ++++++++++++---------- PKGBUILD | 32 +++++++++++++++----------------- config | 20 ++++++++++++++------ 3 files changed, 41 insertions(+), 33 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 0c4bd3c..cc6c1b5 100755 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = linux-cachyos pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements - pkgver = 5.18.6 - pkgrel = 2 + pkgver = 5.18.7 + pkgrel = 1 url = https://github.com/CachyOS/linux-cachyos arch = x86_64 arch = x86_64_v3 @@ -24,7 +24,7 @@ pkgbase = linux-cachyos makedepends = make makedepends = patch options = !strip - source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.6.tar.xz + source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.18.7.tar.xz source = config source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-cachy.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/sched/0001-bore-sched.patch @@ -38,23 +38,25 @@ pkgbase = linux-cachyos source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-lrng.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-lru-le9-spf.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-kbuild.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-misc.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.18/0001-rcu.patch source = auto-cpu-optimization.sh - sha256sums = 4e1c2a9e79847850029571a1dd04761e5f657b52c558070a085365641f133478 - sha256sums = 49ddff0aac1493c3049450f8dacb9de5217c5d9254bc736cd012b3e7bda6baf2 - sha256sums = 0437704f362dbcd917af531824841683e16ea1a49d750a6ffc0b060b17b97057 + sha256sums = a1a2d064bf5a1f02021f66931237ec3d2920994d49910d27d3fe581e2e21525b + sha256sums = 58a21aaa4dda3d7cd3c617fd655782b35b27ef52c9e55157d5b2092dba61c5ab + sha256sums = c20867bdfff8d30013fc6d39b38ff62b349d19fa2b662dae6b129dd7ad444c66 sha256sums = 7a36fe0a53a644ade0ce85f08f9ca2ebaddd47876966b7cc9d4cae8844649271 sha256sums = 326d129f9435145add756dc967accd56ffe1d8ff1b6650f84d2578c41bd6dfd6 sha256sums = dc2898751118804bc3f36b5a6928a2927d04919ce41c0ce013009f5564d6d232 sha256sums = 71c33bf75dbf84673ad26a35c20b0f9ae0fa9944d91cd93a0b128752ca2eab0e - sha256sums = 39551bf08e6b965db7b125c81a17f60f695a686b13ddc6499463222fd6cec9b4 - sha256sums = efa0cd8f02f1289d8775ce64dc4a2a061b225612e8f1513591c147a3925dc7bd + sha256sums = 4955b9243d354ba8d0ce9206da9e73e510f28d1f2af4bcbd3e86b1ee5c50baed + sha256sums = 0e89fc0e60c95e3fd6b43502a36df2eb6e05be9c21f30020c4fa0576ee9f7d6e sha256sums = 1d9c83de97d541f5a7ae4612a96c05aea8ce38de5471cc21fd2197dbd6644d00 sha256sums = 16085e0bba8e1843180f82df00d6040b97531cebb2c0c4c7fe23860322d06beb sha256sums = f5b02a27a6324fc5aaabbca03e76d483da9ff51c389e4fabda51fd85f77217fc sha256sums = 292240ee42f4e34b97528c9b2b2afcef7bc892501a3750b8825ac6ef9c87072e - sha256sums = f534b60c0d90ef59312ac874f0fbbcd60434ceac673148e76c503752e837126b - sha256sums = e3bb6ca80b9156c409fdd0ca55916f028213f7b4fc7dcf7cea7702e08822ea5f + sha256sums = b0796e67e91254b9aeef1fdf5167121e7e58712077a2d58aa3d98cd59ba924b7 + sha256sums = a5744336734938379628760addd6df123b3e7b0f808dd7308f7acd2ba27e74cd + sha256sums = 270babf4c5e1b7fda61d17e4cb0c7411f5ab67de5e5085bdd9a6c10ae98a5074 sha256sums = ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1f pkgname = linux-cachyos diff --git a/PKGBUILD b/PKGBUILD index d17a953..597af89 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -44,9 +44,6 @@ _localmodcfg= # a new kernel is released, but again, convenient for package bumps. _use_current= -### Enable KBUILD_CFLAGS -O3 -_cc_harder=y - ### Set performance governor as default _per_gov=y @@ -56,12 +53,12 @@ _tcp_bbr2=y ### Running with a 1000HZ, 750Hz, 600 Hz or 500Hz tick rate _HZ_ticks=750 -## Choose between perodic, tickless idle or full tickless +## Choose between perodic, idle or full ### Full tickless can give higher performances in various cases but, depending on hardware, lower consistency. -_tickrate=full +_tickrate=idle ## Choose between full(low-latency), voluntary or server -_preempt=voluntary +_preempt=full ### Disable MQ-Deadline I/O scheduler _mq_deadline_disable=y @@ -132,7 +129,7 @@ else pkgbase=linux-$pkgsuffix fi _major=5.18 -_minor=6 +_minor=7 #_minorc=$((_minor+1)) #_rcver=rc8 pkgver=${_major}.${_minor} @@ -143,7 +140,7 @@ _srcname=linux-${_stable} #_srcname=linux-${_major} arch=(x86_64 x86_64_v3) pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements' -pkgrel=2 +pkgrel=1 _kernver=$pkgver-$pkgrel arch=('x86_64' 'x86_64_v3') url="https://github.com/CachyOS/linux-cachyos" @@ -189,8 +186,7 @@ fi if [ "$_cpusched" = "hardened" ]; then source+=( "${_patchsource}/sched/0001-bore-sched.patch" - "${_patchsource}/0001-hardening.patch" - "${_patchsource}/0001-hardened.patch") + "${_patchsource}/0001-hardening.patch") fi source+=( "${_patchsource}/0001-amd-perf.patch" @@ -203,6 +199,7 @@ source+=( "${_patchsource}/0001-lrng.patch" "${_patchsource}/0001-lru-le9-spf.patch" "${_patchsource}/0001-kbuild.patch" + "${_patchsource}/0001-misc.patch" "${_patchsource}/0001-rcu.patch" "auto-cpu-optimization.sh" ) @@ -808,19 +805,20 @@ for _p in "${pkgname[@]}"; do }" done -sha256sums=('4e1c2a9e79847850029571a1dd04761e5f657b52c558070a085365641f133478' - '49ddff0aac1493c3049450f8dacb9de5217c5d9254bc736cd012b3e7bda6baf2' - '0437704f362dbcd917af531824841683e16ea1a49d750a6ffc0b060b17b97057' +sha256sums=('a1a2d064bf5a1f02021f66931237ec3d2920994d49910d27d3fe581e2e21525b' + '58a21aaa4dda3d7cd3c617fd655782b35b27ef52c9e55157d5b2092dba61c5ab' + 'c20867bdfff8d30013fc6d39b38ff62b349d19fa2b662dae6b129dd7ad444c66' '7a36fe0a53a644ade0ce85f08f9ca2ebaddd47876966b7cc9d4cae8844649271' '326d129f9435145add756dc967accd56ffe1d8ff1b6650f84d2578c41bd6dfd6' 'dc2898751118804bc3f36b5a6928a2927d04919ce41c0ce013009f5564d6d232' '71c33bf75dbf84673ad26a35c20b0f9ae0fa9944d91cd93a0b128752ca2eab0e' - '39551bf08e6b965db7b125c81a17f60f695a686b13ddc6499463222fd6cec9b4' - 'efa0cd8f02f1289d8775ce64dc4a2a061b225612e8f1513591c147a3925dc7bd' + '4955b9243d354ba8d0ce9206da9e73e510f28d1f2af4bcbd3e86b1ee5c50baed' + '0e89fc0e60c95e3fd6b43502a36df2eb6e05be9c21f30020c4fa0576ee9f7d6e' '1d9c83de97d541f5a7ae4612a96c05aea8ce38de5471cc21fd2197dbd6644d00' '16085e0bba8e1843180f82df00d6040b97531cebb2c0c4c7fe23860322d06beb' 'f5b02a27a6324fc5aaabbca03e76d483da9ff51c389e4fabda51fd85f77217fc' '292240ee42f4e34b97528c9b2b2afcef7bc892501a3750b8825ac6ef9c87072e' - 'f534b60c0d90ef59312ac874f0fbbcd60434ceac673148e76c503752e837126b' - 'e3bb6ca80b9156c409fdd0ca55916f028213f7b4fc7dcf7cea7702e08822ea5f' + 'b0796e67e91254b9aeef1fdf5167121e7e58712077a2d58aa3d98cd59ba924b7' + 'a5744336734938379628760addd6df123b3e7b0f808dd7308f7acd2ba27e74cd' + '270babf4c5e1b7fda61d17e4cb0c7411f5ab67de5e5085bdd9a6c10ae98a5074' 'ce8bf7807b45a27eed05a5e1de5a0bf6293a3bbc2085bacae70cd1368f368d1f') diff --git a/config b/config index 670c222..5ff7071 100644 --- a/config +++ b/config @@ -1,6 +1,6 @@ # # Automatically generated file; DO NOT EDIT. -# Linux/x86 5.18.5 Kernel Configuration +# Linux/x86 5.18.7 Kernel Configuration # CONFIG_CC_VERSION_TEXT="gcc (GCC) 12.1.0" CONFIG_CC_IS_GCC=y @@ -159,18 +159,23 @@ 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 CONFIG_RCU_NEED_SEGCBLIST=y CONFIG_RCU_FANOUT=64 CONFIG_RCU_FANOUT_LEAF=16 +CONFIG_RCU_BOOST=y +CONFIG_RCU_BOOST_DELAY=500 CONFIG_RCU_NOCB_CPU=y CONFIG_RCU_NOCB_CPU_DEFAULT_ALL=y +# CONFIG_RCU_NOCB_CPU_CB_BOOST is not set # CONFIG_TASKS_TRACE_RCU_READ_MB is not set # end of RCU Subsystem @@ -200,6 +205,8 @@ CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y CONFIG_CC_HAS_INT128=y CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5" +CONFIG_GCC12_NO_ARRAY_BOUNDS=y +CONFIG_CC_NO_ARRAY_BOUNDS=y CONFIG_ARCH_SUPPORTS_INT128=y CONFIG_NUMA_BALANCING=y CONFIG_NUMA_BALANCING_DEFAULT_ENABLED=y @@ -252,8 +259,7 @@ CONFIG_RD_LZ4=y CONFIG_RD_ZSTD=y CONFIG_BOOT_CONFIG=y # CONFIG_CC_OPTIMIZE_BASAL is not set -# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set -CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3=y +CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_LD_ORPHAN_WARN=y CONFIG_SYSCTL=y @@ -436,6 +442,7 @@ CONFIG_GENERIC_CPU=y # CONFIG_MNATIVE_AMD is not set CONFIG_X86_INTERNODE_CACHE_SHIFT=6 CONFIG_X86_L1_CACHE_SHIFT=6 +CONFIG_X86_USE_PPRO_CHECKSUM=y CONFIG_X86_TSC=y CONFIG_X86_CMPXCHG64=y CONFIG_X86_CMOV=y @@ -852,7 +859,6 @@ CONFIG_HAS_LTO_CLANG=y CONFIG_LTO_NONE=y # CONFIG_LTO_CLANG_FULL is not set # CONFIG_LTO_CLANG_THIN is not set -CONFIG_LTO_CLANG_THIN_CACHEDIR="" CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y CONFIG_HAVE_CONTEXT_TRACKING=y CONFIG_HAVE_CONTEXT_TRACKING_OFFSTACK=y @@ -2390,7 +2396,6 @@ CONFIG_EFI_VARS_PSTORE=y CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE=y CONFIG_EFI_RUNTIME_MAP=y # CONFIG_EFI_FAKE_MEMMAP is not set -CONFIG_EFI_SOFT_RESERVE=y CONFIG_EFI_RUNTIME_WRAPPERS=y CONFIG_EFI_GENERIC_STUB_INITRD_CMDLINE_LOADER=y CONFIG_EFI_BOOTLOADER_CONTROL=m @@ -4606,7 +4611,6 @@ CONFIG_I2C_ISCH=m CONFIG_I2C_ISMT=m CONFIG_I2C_PIIX4=m CONFIG_I2C_CHT_WC=m -CONFIG_I2C_NCT6775=m CONFIG_I2C_NFORCE2=m CONFIG_I2C_NFORCE2_S4985=m CONFIG_I2C_NVIDIA_GPU=m @@ -5708,14 +5712,17 @@ CONFIG_RC_LOOPBACK=m CONFIG_RC_XBOX_DVD=m CONFIG_CEC_CORE=y CONFIG_CEC_NOTIFIER=y +CONFIG_CEC_PIN=y # # CEC support # 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 @@ -10628,6 +10635,7 @@ CONFIG_CRYPTO_LIB_SM3=m CONFIG_CRYPTO_LIB_SM4=m # end of Crypto library routines +CONFIG_LIB_MEMNEQ=y CONFIG_CRC_CCITT=y CONFIG_CRC16=m CONFIG_CRC_T10DIF=y