From 73b0d342170f9cb6624ccdc112cd4fce2f69684e Mon Sep 17 00:00:00 2001 From: "P. Jung" Date: Mon, 1 Nov 2021 18:10:32 +0100 Subject: [PATCH] updated patches --- .SRCINFO | 64 ++++++++++++++++++++++++++++++++--------------------- PKGBUILD | 67 ++++++++++++++++++++++++++++++++++---------------------- config | 10 ++++++--- 3 files changed, 87 insertions(+), 54 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9ccd913..734e1cb 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -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 - pkgrel = 2 + pkgrel = 3 url = https://github.com/CachyOS/linux-cachyos arch = x86_64 arch = x86_64_v3 @@ -21,39 +21,53 @@ pkgbase = linux-cachyos options = !strip source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.tar.xz source = config + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-add-600hz-cfs-fixes.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-amd64-patches.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-amdpstate.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.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-zstd.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-mm.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-fixes.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-clearlinux-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpu-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpufreq-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-block-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-btrfs-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-fixes-miscellaneous.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-futex.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-cpu.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-sitemap.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-bitops.patch - source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-var.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-hwmon-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-sched.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-mm.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lqx-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-lrng-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-security-patches.patch source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-v4l2loopback.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-zen-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-zstd-patches.patch + source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-zstd-upstream-patches.patch source = auto-cpu-optimization.sh md5sums = 071d49ff4e020d58c04f9f3f76d3b594 - md5sums = a7454015d410fb782998978af9fb4898 + md5sums = ca311453b9de38a45bd65beaef256f44 + md5sums = cf26387aadf2a90428350ac246b070c9 md5sums = 146bf117e5aef77478aca8e2422d2554 - md5sums = 174b5da1d1e4f17ccdabe62d7af8ffed - md5sums = a5cedf5e8027082246f9a485baf859c1 + md5sums = a2f2715c541983f81fbcd22d8c4f2919 + md5sums = 53f037488a66667220c263f92ded333d md5sums = 2a8097ba46be56fbbe3967e9c34c9a0b - md5sums = e6c5e75b6e71f7a3d81f5dbad64188a8 - md5sums = e422617aff583cec11129e0f185e9549 - md5sums = 7d5cf45bcce33f1ed82f660efb089d3c - md5sums = acbaad682b7660e691d756680a8a3274 + md5sums = 0b6d09bdd920f4c31c05fdeaa0740548 + md5sums = d7f5fefd8ae018999e2b55073aaca706 + md5sums = 846859fbcd82df462449d763b41cc641 + md5sums = d6452799e92e21e8f8bea1fddeec60e2 + md5sums = 2b793d08fe0033546a7264a565af51f3 + md5sums = afe09c5a3e67eb678dac3ce92312e602 md5sums = 7fa046fd98013a89ed5f57b18c612068 - md5sums = ba2b51078c24de01aa604d24673326d6 - md5sums = 9788f0fb9ae2b72bd8bdab660c8cbddc - md5sums = 41f2c3ccfdef3ed7ceb43a345841933c - md5sums = 02ce3ecc02498f26a18a02717f808432 - md5sums = bf01cd68a9f188bd9baa891f1c07ad30 - md5sums = 95eb4457f95f3f8dd153983612ee65c0 + md5sums = a1c6a106ddbbff6be6711f6a72706cb0 + md5sums = a0aac29317844c7c4b03639c76d1219c + md5sums = 500f49b7f8ebe52f10ce473e50522b08 + md5sums = 39c65dd4eeec0dfedbf79ca5e43276d5 + md5sums = bac586853f924588e24869d8aa62f5be + md5sums = bc64b1d1a9c95b07c28457f7214ebf81 + md5sums = 8cb0301d159b59727b7bdd09350e2a9f + md5sums = de6db1147385c058b2e94df3c1739fdf + md5sums = bf58290793d3a095ef95fb1fac2de89a + md5sums = a86ed27c2ef70973502660ca6804d6fe md5sums = 21c98f19e883879dd3336c1fa143fd31 pkgname = linux-cachyos diff --git a/PKGBUILD b/PKGBUILD index e78894b..3fa3ac6 100755 --- a/PKGBUILD +++ b/PKGBUILD @@ -113,7 +113,7 @@ else pkgbase=linux-cachyos fi pkgver=5.15 -pkgrel=2 +pkgrel=3 arch=(x86_64 x86_64_v3) pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements' _gittag=v${pkgver%.*}-${pkgver##*.} @@ -129,22 +129,30 @@ fi _patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15" source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.xz" "config" + "${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch" "${_patchsource}/0001-add-600hz-cfs-fixes.patch" - "${_patchsource}/0001-amd64-patches.patch" -# "${_patchsource}/0001-btrfs.patch" - "${_patchsource}/0001-amdpstate.patch" + "${_patchsource}/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch" + "${_patchsource}/AMD/0001-amd64-patches.patch" "${_patchsource}/0001-bbr2.patch" - "${_patchsource}/0001-zstd.patch" - "${_patchsource}/0001-mm.patch" - "${_patchsource}/0001-lrng.patch" - "${_patchsource}/0001-fixes.patch" + "${_patchsource}/0001-clearlinux-patches.patch" + "${_patchsource}/0001-cpu-patches.patch" + "${_patchsource}/0001-cpufreq-patches.patch" + "${_patchsource}/0001-block-patches.patch" + "${_patchsource}/0001-btrfs-patches.patch" + "${_patchsource}/0001-fixes-miscellaneous.patch" "${_patchsource}/0001-futex.patch" - "${_patchsource}/0001-cpu.patch" - "${_patchsource}/0001-hwmon.patch" - "${_patchsource}/0001-sitemap.patch" - "${_patchsource}/0001-bitops.patch" - "${_patchsource}/0001-var.patch" + "${_patchsource}/0001-hwmon-patches.patch" + # "${_patchsource}/0001-ksm-patches.patch" + "${_patchsource}/0001-sched.patch" + "${_patchsource}/0001-mm.patch" + "${_patchsource}/0001-lqx-patches.patch" + "${_patchsource}/0001-lrng-patches.patch" + "${_patchsource}/0001-security-patches.patch" "${_patchsource}/0001-v4l2loopback.patch" + # "${_patchsource}/0001-xanmod-patches.patch" + "${_patchsource}/0001-zen-patches.patch" + "${_patchsource}/0001-zstd-patches.patch" + "${_patchsource}/0001-zstd-upstream-patches.patch" "auto-cpu-optimization.sh" ) if [ -n "$_use_cfi" ]; then @@ -610,22 +618,29 @@ _package-headers() { } md5sums=('071d49ff4e020d58c04f9f3f76d3b594' - 'a7454015d410fb782998978af9fb4898' + 'ca311453b9de38a45bd65beaef256f44' + 'cf26387aadf2a90428350ac246b070c9' '146bf117e5aef77478aca8e2422d2554' - '174b5da1d1e4f17ccdabe62d7af8ffed' - 'a5cedf5e8027082246f9a485baf859c1' + 'a2f2715c541983f81fbcd22d8c4f2919' + '53f037488a66667220c263f92ded333d' '2a8097ba46be56fbbe3967e9c34c9a0b' - 'e6c5e75b6e71f7a3d81f5dbad64188a8' - 'e422617aff583cec11129e0f185e9549' - '7d5cf45bcce33f1ed82f660efb089d3c' - 'acbaad682b7660e691d756680a8a3274' + '0b6d09bdd920f4c31c05fdeaa0740548' + 'd7f5fefd8ae018999e2b55073aaca706' + '846859fbcd82df462449d763b41cc641' + 'd6452799e92e21e8f8bea1fddeec60e2' + '2b793d08fe0033546a7264a565af51f3' + 'afe09c5a3e67eb678dac3ce92312e602' '7fa046fd98013a89ed5f57b18c612068' - 'ba2b51078c24de01aa604d24673326d6' - '9788f0fb9ae2b72bd8bdab660c8cbddc' - '41f2c3ccfdef3ed7ceb43a345841933c' - '02ce3ecc02498f26a18a02717f808432' - 'bf01cd68a9f188bd9baa891f1c07ad30' - '95eb4457f95f3f8dd153983612ee65c0' + 'a1c6a106ddbbff6be6711f6a72706cb0' + 'a0aac29317844c7c4b03639c76d1219c' + '500f49b7f8ebe52f10ce473e50522b08' + '39c65dd4eeec0dfedbf79ca5e43276d5' + 'bac586853f924588e24869d8aa62f5be' + 'bc64b1d1a9c95b07c28457f7214ebf81' + '8cb0301d159b59727b7bdd09350e2a9f' + 'de6db1147385c058b2e94df3c1739fdf' + 'bf58290793d3a095ef95fb1fac2de89a' + 'a86ed27c2ef70973502660ca6804d6fe' '21c98f19e883879dd3336c1fa143fd31') diff --git a/config b/config index bc1a6ca..d740393 100755 --- a/config +++ b/config @@ -124,9 +124,13 @@ CONFIG_BPF_PRELOAD_UMD=m CONFIG_BPF_LSM=y # end of BPF subsystem -# CONFIG_PREEMPT_NONE is not set -CONFIG_PREEMPT_VOLUNTARY=y -# CONFIG_PREEMPT is not set +# CONFIG_PREEMPT_NONE_BEHAVIOUR is not set +CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR=y +# CONFIG_PREEMPT_BEHAVIOUR is not set +CONFIG_PREEMPT=y +CONFIG_PREEMPT_COUNT=y +CONFIG_PREEMPTION=y +CONFIG_PREEMPT_DYNAMIC=y CONFIG_SCHED_CORE=y #