mirror of
https://github.com/archlinux/aur.git
synced 2026-02-16 06:09:01 +01:00
nvidia-fix
This commit is contained in:
parent
d67630259d
commit
937fd194eb
3 changed files with 319 additions and 205 deletions
76
.SRCINFO
76
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = linux-cachyos-bmq
|
||||
pkgdesc = Linux-bmq Kernel by CachyOS and with some other patches and other improvements
|
||||
pkgver = 5.15
|
||||
pkgrel = 6
|
||||
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
|
||||
pkgver = 5.15.1
|
||||
pkgrel = 3
|
||||
url = https://github.com/CachyOS/linux-cachyos
|
||||
arch = x86_64
|
||||
arch = x86_64_v3
|
||||
|
|
@ -19,10 +19,11 @@ pkgbase = linux-cachyos-bmq
|
|||
makedepends = tar
|
||||
makedepends = xz
|
||||
options = !strip
|
||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.tar.xz
|
||||
source = https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.15.1.tar.xz
|
||||
source = config
|
||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-prjc-patches.patch
|
||||
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-stable-fix.patch
|
||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-prjc-patches.patch
|
||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.15/0001-misc.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
|
||||
|
|
@ -30,6 +31,7 @@ pkgbase = linux-cachyos-bmq
|
|||
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
|
||||
|
|
@ -40,40 +42,46 @@ pkgbase = linux-cachyos-bmq
|
|||
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-xfs-backport.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 = 1e1dc995c4f531c9c29f9868e8adc835
|
||||
md5sums = 3458cd35e4b13db668de0b711d8f529b
|
||||
md5sums = cf26387aadf2a90428350ac246b070c9
|
||||
md5sums = 9b69c2bb5bd14add123fdf1164b2225d
|
||||
md5sums = a2f2715c541983f81fbcd22d8c4f2919
|
||||
md5sums = 53f037488a66667220c263f92ded333d
|
||||
md5sums = 2a8097ba46be56fbbe3967e9c34c9a0b
|
||||
md5sums = 0b6d09bdd920f4c31c05fdeaa0740548
|
||||
md5sums = d7f5fefd8ae018999e2b55073aaca706
|
||||
md5sums = 4792a194feb0e9267f8660f38746f4fb
|
||||
md5sums = 2b793d08fe0033546a7264a565af51f3
|
||||
md5sums = 00decf9061d63b59d6a2857f4bc681df
|
||||
md5sums = 5bd0ac7a56ecc0be1a71a321d100f5e8
|
||||
md5sums = a1c6a106ddbbff6be6711f6a72706cb0
|
||||
md5sums = 0dbf246a4e501c5dc276985d34faa5df
|
||||
md5sums = f845dc3bca8d4e0020ed8f37e4e8d9ea
|
||||
md5sums = 07fb571e48d0772a30c9777ecf13031e
|
||||
md5sums = 39c65dd4eeec0dfedbf79ca5e43276d5
|
||||
md5sums = bac586853f924588e24869d8aa62f5be
|
||||
md5sums = bc64b1d1a9c95b07c28457f7214ebf81
|
||||
md5sums = 8cb0301d159b59727b7bdd09350e2a9f
|
||||
md5sums = de6db1147385c058b2e94df3c1739fdf
|
||||
md5sums = bf58290793d3a095ef95fb1fac2de89a
|
||||
md5sums = a86ed27c2ef70973502660ca6804d6fe
|
||||
md5sums = 21c98f19e883879dd3336c1fa143fd31
|
||||
sha512sums = c636e16efdff88320b5354b16d2a6eb1
|
||||
sha512sums = b638c0de217b3208dcb2b4ceb5bdd66d
|
||||
sha512sums = cf26387aadf2a90428350ac246b070c9
|
||||
sha512sums = 9b69c2bb5bd14add123fdf1164b2225d
|
||||
sha512sums = a2f2715c541983f81fbcd22d8c4f2919
|
||||
sha512sums = 53f037488a66667220c263f92ded333d
|
||||
sha512sums = 2a8097ba46be56fbbe3967e9c34c9a0b
|
||||
sha512sums = 0b6d09bdd920f4c31c05fdeaa0740548
|
||||
sha512sums = d7f5fefd8ae018999e2b55073aaca706
|
||||
sha512sums = 4792a194feb0e9267f8660f38746f4fb
|
||||
sha512sums = d6452799e92e21e8f8bea1fddeec60e2
|
||||
sha512sums = fb3f67bb491a4f8ed3ef3121383deb25
|
||||
sha512sums = 6038177c72982533035309fcd6df208a
|
||||
sha512sums = e11e39e9ded08ca69f3bf978edd66fb5
|
||||
sha512sums = 00decf9061d63b59d6a2857f4bc681df
|
||||
sha512sums = 5bd0ac7a56ecc0be1a71a321d100f5e8
|
||||
sha512sums = a1c6a106ddbbff6be6711f6a72706cb0
|
||||
sha512sums = 0dbf246a4e501c5dc276985d34faa5df
|
||||
sha512sums = f845dc3bca8d4e0020ed8f37e4e8d9ea
|
||||
sha512sums = bf3787026e2faa485dce9e45cc721ec5
|
||||
sha512sums = 07fb571e48d0772a30c9777ecf13031e
|
||||
sha512sums = 39c65dd4eeec0dfedbf79ca5e43276d5
|
||||
sha512sums = bac586853f924588e24869d8aa62f5be
|
||||
sha512sums = da85931866f501403448290f52dfe729
|
||||
sha512sums = bc64b1d1a9c95b07c28457f7214ebf81
|
||||
sha512sums = 4e4d84a2759740ec1856392f5b98de12
|
||||
sha512sums = 8cb0301d159b59727b7bdd09350e2a9f
|
||||
sha512sums = de6db1147385c058b2e94df3c1739fdf
|
||||
sha512sums = bf58290793d3a095ef95fb1fac2de89a
|
||||
sha512sums = a86ed27c2ef70973502660ca6804d6fe
|
||||
sha512sums = 21c98f19e883879dd3336c1fa143fd31
|
||||
|
||||
pkgname = linux-cachyos-bmq
|
||||
pkgdesc = The Linux-bmq Kernel by CachyOS and with some other patches and other improvements kernel and modules
|
||||
pkgdesc = The Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements kernel and modules
|
||||
depends = coreutils
|
||||
depends = kmod
|
||||
depends = initramfs
|
||||
|
|
@ -84,6 +92,6 @@ pkgname = linux-cachyos-bmq
|
|||
provides = WIREGUARD-MODULE
|
||||
|
||||
pkgname = linux-cachyos-bmq-headers
|
||||
pkgdesc = Headers and scripts for building modules for the Linux-bmq Kernel by CachyOS and with some other patches and other improvements
|
||||
depends = linux-cachyos-bmq=5.15
|
||||
pkgdesc = Headers and scripts for building modules for the Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements
|
||||
depends = linux-cachyos-bmq=5.15.1
|
||||
depends = pahole
|
||||
|
|
|
|||
371
PKGBUILD
371
PKGBUILD
|
|
@ -1,13 +1,47 @@
|
|||
# Maintainer: Peter Jung ptr1337 <admin@ptr1337.dev>
|
||||
# Maintainer: Piotr Gorski <lucjan.lucjanov@gmail.com>
|
||||
# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
||||
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
|
||||
# Contributor: Thomas Baechler <thomas@archlinux.org>
|
||||
|
||||
### BUILD OPTIONS
|
||||
# Set the next two variables to ANYTHING that is not null to enable them
|
||||
# Set these variables to ANYTHING that is not null to enable them
|
||||
|
||||
### Tweak kernel options prior to a build via nconfig
|
||||
_makenconfig=
|
||||
|
||||
### Tweak kernel options prior to a build via menuconfig
|
||||
_makemenuconfig=
|
||||
|
||||
### Tweak kernel options prior to a build via xconfig
|
||||
_makexconfig=
|
||||
|
||||
### Tweak kernel options prior to a build via gconfig
|
||||
_makegconfig=
|
||||
|
||||
# NUMA is optimized for multi-socket motherboards.
|
||||
# A single multi-core CPU actually runs slower with NUMA enabled.
|
||||
# See, https://bugs.archlinux.org/task/31187
|
||||
_NUMAdisable=y
|
||||
|
||||
# Compile ONLY used modules to VASTLYreduce the number of modules built
|
||||
# and the build time.
|
||||
#
|
||||
# To keep track of which modules are needed for your specific system/hardware,
|
||||
# give module_db script a try: https://aur.archlinux.org/packages/modprobed-db
|
||||
# This PKGBUILD read the database kept if it exists
|
||||
#
|
||||
# More at this wiki page ---> https://wiki.archlinux.org/index.php/Modprobed-db
|
||||
_localmodcfg=
|
||||
|
||||
# Use the current kernel's .config file
|
||||
# Enabling this option will use the .config of the RUNNING kernel rather than
|
||||
# the ARCH defaults. Useful when the package gets updated and you already went
|
||||
# through the trouble of customizing your config options. NOT recommended when
|
||||
# a new kernel is released, but again, convenient for package bumps.
|
||||
_use_current=
|
||||
|
||||
|
||||
# Enable fsync
|
||||
_fsync=y
|
||||
|
||||
|
|
@ -39,10 +73,6 @@ _lru_enable=y
|
|||
### Enable Linux Random Number Generator
|
||||
_lrng_enable=y
|
||||
|
||||
## Samba3 Server
|
||||
_ksmbd_enable=
|
||||
|
||||
|
||||
## Apply Kernel automatic Optimization
|
||||
_use_auto_optimization=y
|
||||
|
||||
|
|
@ -76,6 +106,13 @@ _zstd_module_level='normal'
|
|||
# Leave it unselected.
|
||||
_fork_brute=
|
||||
|
||||
### Enable SPECULATIVE_PAGE
|
||||
# ATTENTION - one of three predefined values should be selected!
|
||||
# 'full' - enable full SPECULATIVE_PAGE
|
||||
# 'basic' - enable basic SPECULATIVE_PAGE
|
||||
# 'none' - disable SPECULATIVE_PAGE
|
||||
_speculative_page='none'
|
||||
|
||||
## Enable it for compiling with LLVM and THINLTO
|
||||
_use_llvm_lto=
|
||||
|
||||
|
|
@ -85,37 +122,20 @@ _use_cfi=
|
|||
## Enable PGO (patch is failing when cfi is also used)
|
||||
_use_pgo=
|
||||
|
||||
# Only compile active modules to VASTLY reduce the number of modules built and
|
||||
# the build time.
|
||||
#
|
||||
# To keep track of which modules are needed for your specific system/hardware,
|
||||
# give module_db a try: https://aur.archlinux.org/packages/modprobed-db
|
||||
# This PKGBUILD reads the database kept if it exists
|
||||
#
|
||||
# More at this wiki page ---> https://wiki.archlinux.org/index.php/Modprobed-db
|
||||
_localmodcfg=
|
||||
|
||||
# Use the current kernel's .config file
|
||||
# Enabling this option will use the .config of the RUNNING kernel rather than
|
||||
# the ARCH defaults. Useful when the package gets updated and you already went
|
||||
# through the trouble of customizing your config options. NOT recommended when
|
||||
# a new kernel is released, but again, convenient for package bumps.
|
||||
_use_current=
|
||||
|
||||
# Tweak kernel options prior to a build via nconfig
|
||||
_makenconfig=
|
||||
|
||||
|
||||
if [ -n "$_use_llvm_lto" ]; then
|
||||
pkgbase=linux-cachyos-bmq-lto
|
||||
else
|
||||
pkgbase=linux-cachyos-bmq
|
||||
fi
|
||||
pkgver=5.15.1
|
||||
pkgrel=1
|
||||
_major=5.15
|
||||
_minor=1
|
||||
pkgver=${_major}.${_minor}
|
||||
_srcname=linux-${pkgver}
|
||||
arch=(x86_64 x86_64_v3)
|
||||
pkgdesc='Linux-bmq Kernel by CachyOS and with some other patches and other improvements'
|
||||
_gittag=v${pkgver%.*}-${pkgver##*.}
|
||||
pkgdesc='Linux CFS scheduler Kernel by CachyOS and with some other patches and other improvements'
|
||||
_srcname=linux-${pkgver}
|
||||
pkgrel=3
|
||||
arch=('x86_64' 'x86_64_v3')
|
||||
url="https://github.com/CachyOS/linux-cachyos"
|
||||
license=('GPL2')
|
||||
|
|
@ -126,10 +146,11 @@ if [ -n "$_use_llvm_lto" ]; then
|
|||
makedepends+=(clang llvm lld python)
|
||||
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"
|
||||
source=("https://www.kernel.org/pub/linux/kernel/v5.x/${_srcname}.tar.xz"
|
||||
"config"
|
||||
"${_patchsource}/0001-prjc-patches.patch"
|
||||
"${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
|
||||
"${_patchsource}/0001-stable-fix.patch"
|
||||
"${_patchsource}/0001-prjc-patches.patch"
|
||||
"${_patchsource}/0001-misc.patch"
|
||||
"${_patchsource}/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch"
|
||||
"${_patchsource}/AMD/0001-amd64-patches.patch"
|
||||
|
|
@ -137,26 +158,30 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver
|
|||
"${_patchsource}/0001-clearlinux-patches.patch"
|
||||
"${_patchsource}/0001-cpu-patches.patch"
|
||||
"${_patchsource}/0001-cpufreq-patches.patch"
|
||||
# "${_patchsource}/0001-block-backport.patch"
|
||||
"${_patchsource}/0001-block-patches.patch"
|
||||
"${_patchsource}/0001-btrfs-patches.patch"
|
||||
# "${_patchsource}/0001-ck-hrtimer.patch"
|
||||
"${_patchsource}/0001-fixes-miscellaneous.patch"
|
||||
"${_patchsource}/0001-futex.patch"
|
||||
"${_patchsource}/0001-hwmon-patches.patch"
|
||||
"${_patchsource}/0001-acpi.patch"
|
||||
"${_patchsource}/0001-ksmbd-patches.patch"
|
||||
# "${_patchsource}/0001-sched.patch"
|
||||
# "${_patchsource}/0001-sched.patch"
|
||||
"${_patchsource}/0001-lru-patches.patch"
|
||||
"${_patchsource}/0001-lqx-patches.patch"
|
||||
"${_patchsource}/0001-lrng-patches.patch"
|
||||
# "${_patchsource}/0001-speculative-patches.patch"
|
||||
"${_patchsource}/0001-security-patches.patch"
|
||||
"${_patchsource}/0001-xfs-backport.patch"
|
||||
"${_patchsource}/0001-v4l2loopback.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
|
||||
source+=("${_patchsource}/0002-clang-cfi.patch")
|
||||
source+=("${_patchsource}/0001-cfi.patch")
|
||||
fi
|
||||
|
||||
if [ -n "$_use_pgo" ]; then
|
||||
|
|
@ -175,12 +200,9 @@ export KBUILD_BUILD_HOST=archlinux
|
|||
export KBUILD_BUILD_USER=$pkgbase
|
||||
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
|
||||
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir:?}/linux-${pkgver}" || (
|
||||
echo -e "\E[1;31mCan't cd to ${srcdir:?}/linux-${pkgver} directory! Prepare failed! \E[0m"
|
||||
exit 1
|
||||
)
|
||||
|
||||
cd $_srcname
|
||||
|
||||
### Setting version
|
||||
echo "Setting version..."
|
||||
|
|
@ -188,7 +210,7 @@ prepare() {
|
|||
echo "-$pkgrel" > localversion.10-pkgrel
|
||||
echo "${pkgbase#linux}" > localversion.20-pkgname
|
||||
|
||||
|
||||
### Patching sources
|
||||
local src
|
||||
for src in "${source[@]}"; do
|
||||
src="${src%%::*}"
|
||||
|
|
@ -198,9 +220,26 @@ prepare() {
|
|||
patch -Np1 < "../$src"
|
||||
done
|
||||
|
||||
### Setting config
|
||||
echo "Setting config..."
|
||||
cp ../config .config
|
||||
|
||||
|
||||
### Optionally use running kernel's config
|
||||
# code originally by nous; http://aur.archlinux.org/packages.php?ID=40191
|
||||
if [ -n "$_use_current" ]; then
|
||||
if [[ -s /proc/config.gz ]]; then
|
||||
echo "Extracting config from /proc/config.gz..."
|
||||
# modprobe configs
|
||||
zcat /proc/config.gz > ./.config
|
||||
else
|
||||
warning "Your kernel was not compiled with IKCONFIG_PROC!"
|
||||
warning "You cannot read the current config!"
|
||||
warning "Aborting!"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -n "$_use_cfi" ]; then
|
||||
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
|
||||
scripts/config --enable CONFIG_CFI_CLANG
|
||||
|
|
@ -216,10 +255,14 @@ prepare() {
|
|||
if [ -n "$_use_auto_optimization" ]; then
|
||||
"${srcdir}"/auto-cpu-optimization.sh
|
||||
fi
|
||||
|
||||
|
||||
if [ -n "$_use_optimization_select" ]; then
|
||||
source "${startdir}"/configure
|
||||
cpu_arch
|
||||
fi
|
||||
|
||||
|
||||
### Optionally set tickrate to 2000HZ
|
||||
if [ -n "$_2k_HZ_ticks" ]; then
|
||||
echo "Setting tick rate to 2k..."
|
||||
|
|
@ -243,6 +286,7 @@ prepare() {
|
|||
scripts/config --enable CONFIG_HZ_750
|
||||
scripts/config --set-val CONFIG_HZ 750
|
||||
fi
|
||||
|
||||
### Optionally set tickrate to 600HZ
|
||||
if [ -n "$_600_HZ_ticks" ]; then
|
||||
echo "Setting tick rate to 600HZ..."
|
||||
|
|
@ -250,6 +294,7 @@ prepare() {
|
|||
scripts/config --enable CONFIG_HZ_600
|
||||
scripts/config --set-val CONFIG_HZ 600
|
||||
fi
|
||||
|
||||
### Optionally set tickrate to 500HZ
|
||||
if [ -n "$_500_HZ_ticks" ]; then
|
||||
echo "Setting tick rate to 500HZ..."
|
||||
|
|
@ -293,12 +338,13 @@ prepare() {
|
|||
scripts/config --disable CONFIG_MQ_IOSCHED_KYBER
|
||||
fi
|
||||
|
||||
### Enable protect file mappings under memory pressure
|
||||
### Enable protect mappings under memory pressure
|
||||
if [ -n "$_mm_protect" ]; then
|
||||
echo "Enabling protect file mappings under memory pressure..."
|
||||
scripts/config --enable CONFIG_UNEVICTABLE_FILE
|
||||
scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_LOW 262144
|
||||
scripts/config --set-val CONFIG_UNEVICTABLE_FILE_KBYTES_MIN 131072
|
||||
echo "Enabling protect anonymous mappings under memory pressure..."
|
||||
scripts/config --enable CONFIG_UNEVICTABLE_ANON
|
||||
scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_LOW 65536
|
||||
scripts/config --set-val CONFIG_UNEVICTABLE_ANON_KBYTES_MIN 32768
|
||||
|
|
@ -315,6 +361,30 @@ prepare() {
|
|||
scripts/config --disable CONFIG_LRU_GEN_STATS
|
||||
fi
|
||||
|
||||
### Enable SPECULATIVE_PAGE
|
||||
if [ "$_speculative_page" = "full" ]; then
|
||||
echo "Enabling full SPECULATIVE_PAGE..."
|
||||
scripts/config --enable CONFIG_ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT
|
||||
scripts/config --enable CONFIG_SPECULATIVE_PAGE_FAULT
|
||||
scripts/config --enable CONFIG_SPECULATIVE_PAGE_FAULT_STATS
|
||||
elif [ "$_speculative_page" = "basic" ]; then
|
||||
echo "Enabling basic SPECULATIVE_PAGE..."
|
||||
scripts/config --enable CONFIG_ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT
|
||||
scripts/config --enable CONFIG_SPECULATIVE_PAGE_FAULT
|
||||
scripts/config --disable CONFIG_SPECULATIVE_PAGE_FAULT_STATS
|
||||
elif [ "$_speculative_page" = "none" ]; then
|
||||
echo "Disabling SPECULATIVE_PAGE..."
|
||||
scripts/config --disable CONFIG_SPECULATIVE_PAGE_FAULT
|
||||
else
|
||||
if [ -n "$_speculative_page" ]; then
|
||||
error "The value $_speculative_page is invalid. Choose the correct one again."
|
||||
else
|
||||
error "The value is empty. Choose the correct one again."
|
||||
fi
|
||||
error "Selecting SPECULATIVE_PAGE failed!"
|
||||
exit
|
||||
fi
|
||||
|
||||
### Enable Linux Random Number Generator
|
||||
if [ -n "$_lrng_enable" ]; then
|
||||
echo "Enabling Linux Random Number Generator ..."
|
||||
|
|
@ -322,6 +392,7 @@ prepare() {
|
|||
scripts/config --enable CONFIG_LRNG_OVERSAMPLE_ENTROPY_SOURCES
|
||||
scripts/config --set-val CONFIG_CONFIG_LRNG_OVERSAMPLE_ES_BITS 64
|
||||
scripts/config --set-val CONFIG_LRNG_SEED_BUFFER_INIT_ADD_BITS 128
|
||||
scripts/config --enable CONFIG_LRNG_IRQ
|
||||
scripts/config --enable CONFIG_LRNG_CONTINUOUS_COMPRESSION_ENABLED
|
||||
scripts/config --disable CONFIG_LRNG_CONTINUOUS_COMPRESSION_DISABLED
|
||||
scripts/config --enable CONFIG_LRNG_ENABLE_CONTINUOUS_COMPRESSION
|
||||
|
|
@ -338,6 +409,7 @@ prepare() {
|
|||
scripts/config --set-val CONFIG_LRNG_IRQ_ENTROPY_RATE 256
|
||||
scripts/config --enable CONFIG_LRNG_JENT
|
||||
scripts/config --set-val CONFIG_LRNG_JENT_ENTROPY_RATE 16
|
||||
scripts/config --enable CONFIG_LRNG_CPU
|
||||
scripts/config --set-val CONFIG_LRNG_CPU_ENTROPY_RATE 8
|
||||
scripts/config --enable CONFIG_LRNG_DRNG_SWITCH
|
||||
scripts/config --enable CONFIG_LRNG_KCAPI_HASH
|
||||
|
|
@ -355,23 +427,16 @@ prepare() {
|
|||
scripts/config --disable CONFIG_LRNG_ACVT_HASH
|
||||
scripts/config --enable CONFIG_LRNG_RUNTIME_ES_CONFIG
|
||||
scripts/config --disable CONFIG_LRNG_RUNTIME_MAX_WO_RESEED_CONFIG
|
||||
scripts/config --disable CONFIG_LRNG_TEST_CPU_ES_COMPRESSION
|
||||
scripts/config --enable CONFIG_LRNG_SELFTEST
|
||||
scripts/config --disable CONFIG_LRNG_SELFTEST_PANIC
|
||||
fi
|
||||
|
||||
echo "Enable LLVM LTO"
|
||||
if [ -n "$_use_llvm_lto" ]; then
|
||||
scripts/config --disable CONFIG_LTO_NONE
|
||||
fi
|
||||
|
||||
### Enable SMB3 Kernel Server
|
||||
if [ -n "$_ksmbd_enable" ]; then
|
||||
echo "Enabling SMB3 Kernel Server..."
|
||||
scripts/config --module CONFIG_SMB_SERVER
|
||||
scripts/config --enable CONFIG_SMB_SERVER_SMBDIRECT
|
||||
scripts/config --enable CONFIG_SMB_SERVER_CHECK_CAP_NET_ADMIN
|
||||
scripts/config --enable CONFIG_SMB_SERVER_KERBEROS5
|
||||
fi
|
||||
|
||||
### Selecting the ZSTD compression level
|
||||
if [ "$_zstd_level" = "ultra" ]; then
|
||||
echo "Enabling highest ZSTD compression ratio..."
|
||||
|
|
@ -418,9 +483,6 @@ prepare() {
|
|||
scripts/config --enable CONFIG_TCP_CONG_BBR2
|
||||
scripts/config --enable CONFIG_DEFAULT_BBR2
|
||||
scripts/config --set-str CONFIG_DEFAULT_TCP_CONG bbr2
|
||||
echo "Enabling FULLCONENAT..."
|
||||
scripts/config --module CONFIG_IP_NF_TARGET_FULLCONENAT
|
||||
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
|
||||
echo "Enable BMQ CPU scheduler..."
|
||||
scripts/config --enable CONFIG_SCHED_ALT
|
||||
scripts/config --enable CONFIG_SCHED_BMQ
|
||||
|
|
@ -429,6 +491,7 @@ prepare() {
|
|||
scripts/config --disable CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
|
||||
scripts/config --enable CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
|
||||
scripts/config --enable CONFIG_CPU_FREQ_GOV_ONDEMAND
|
||||
scripts/config --enable CONFIG_CPU_FREQ_GOV_PERFORMANCE
|
||||
scripts/config --enable CONFIG_CPU_FREQ_GOV_CONSERVATIVE
|
||||
scripts/config --enable CONFIG_CPU_FREQ_GOV_USERSPACE
|
||||
scripts/config --enable CONFIG_CPU_FREQ_GOV_SCHEDUTIL
|
||||
|
|
@ -441,57 +504,52 @@ prepare() {
|
|||
scripts/config --enable CONFIG_ANDROID_BINDER_IPC
|
||||
scripts/config --enable CONFIG_ANDROID_BINDERFS
|
||||
scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
|
||||
echo "Enable NTFS"
|
||||
scripts/config --enable CONFIG_NTFS3_FS_POSIX_ACL
|
||||
scripts/config --enable CONFIG_NTFS3_FS
|
||||
scripts/config --enable CONFIG_NTFS3_64BIT_CLUSTER
|
||||
scripts/config --enable CONFIG_NTFS3_LZX_XPRESS
|
||||
scripts/config --enable CONFIG_NLS_DEFAULT
|
||||
|
||||
### Optionally disable NUMA for 64-bit kernels only
|
||||
# (x86 kernels do not support NUMA)
|
||||
if [ -n "$_NUMAdisable" ]; then
|
||||
echo "Disabling NUMA from kernel config..."
|
||||
scripts/config --disable CONFIG_NUMA
|
||||
fi
|
||||
|
||||
### Optionally use running kernel's config
|
||||
# code originally by nous; http://aur.archlinux.org/packages.php?ID=40191
|
||||
if [ -n "$_use_current" ]; then
|
||||
if [[ -s /proc/config.gz ]]; then
|
||||
echo "Extracting config from /proc/config.gz..."
|
||||
# modprobe configs
|
||||
zcat /proc/config.gz > ./.config
|
||||
else
|
||||
warning "Your kernel was not compiled with IKCONFIG_PROC!"
|
||||
warning "You cannot read the current config!"
|
||||
warning "Aborting!"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
### Optionally load needed modules for the make localmodconfig
|
||||
# See https://aur.archlinux.org/packages/modprobed-db
|
||||
if [ -n "$_localmodcfg" ]; then
|
||||
if [ -e "$HOME"/.config/modprobed.db ]; then
|
||||
if [ -f $HOME/.config/modprobed.db ]; then
|
||||
echo "Running Steven Rostedt's make localmodconfig now"
|
||||
make ${BUILD_FLAGS[*]} LSMOD="$HOME"/.config/modprobed.db localmodconfig
|
||||
make ${BUILD_FLAGS[*]} LSMOD=$HOME/.config/modprobed.db localmodconfig
|
||||
else
|
||||
echo "No modprobed.db data found"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
echo "Applying default config..."
|
||||
make ${BUILD_FLAGS[*]} olddefconfig
|
||||
make ${BUILD_FLAGS[*]} -s kernelrelease > version
|
||||
echo "Prepared $pkgbase version $(<version)"
|
||||
|
||||
[[ -z "$_makenconfig" ]] || make ${BUILD_FLAGS[*]} nconfig
|
||||
### Running make nconfig
|
||||
[[ -z "$_makenconfig" ]] || make ${BUILD_FLAGS[*]} nconfig
|
||||
|
||||
### Running make menuconfig
|
||||
[[ -z "$_makemenuconfig" ]] || make ${BUILD_FLAGS[*]} menuconfig
|
||||
|
||||
### Running make xconfig
|
||||
[[ -z "$_makexconfig" ]] || make ${BUILD_FLAGS[*]} xconfig
|
||||
|
||||
### Running make gconfig
|
||||
[[ -z "$_makegconfig" ]] || make ${BUILD_FLAGS[*]} gconfig
|
||||
|
||||
### Save configuration for later reuse
|
||||
cp -Tf ./.config "${startdir}/config-${pkgver}-${pkgrel}${pkgbase#linux}"
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "${srcdir:?}/linux-${pkgver}" || (
|
||||
echo -e "\E[1;31mCan't cd to ${srcdir:?}/linux-${pkgver} directory! Build failed! \E[0m"
|
||||
exit 1
|
||||
)
|
||||
cd $_srcname
|
||||
|
||||
make ${BUILD_FLAGS[*]} -j$(nproc) all
|
||||
}
|
||||
|
||||
|
|
@ -503,27 +561,24 @@ _package() {
|
|||
'modprobed-db: Keeps track of EVERY kernel module that has ever been probed - useful for those of us who make localmodconfig')
|
||||
provides=(VIRTUALBOX-GUEST-MODULES WIREGUARD-MODULE)
|
||||
|
||||
cd "${srcdir:?}/linux-${pkgver}" || (
|
||||
echo -e "\E[1;31mCan't cd to ${srcdir:?}/linux-${pkgver} directory! Package linux kernel failed! \E[0m"
|
||||
exit 1
|
||||
)
|
||||
cd $_srcname
|
||||
|
||||
local kernver="$(<version)"
|
||||
local modulesdir="${pkgdir:?}/usr/lib/modules/$kernver"
|
||||
local modulesdir="$pkgdir/usr/lib/modules/$kernver"
|
||||
|
||||
echo "Installing boot image..."
|
||||
# systemd expects to find the kernel here to allow hibernation
|
||||
# https://github.com/systemd/systemd/commit/edda44605f06a41fb86b7ab8128dcf99161d2344
|
||||
install -Dm644 "$(make -s image_name)" "${modulesdir}/vmlinuz"
|
||||
install -Dm644 "$(make -s image_name)" "$modulesdir/vmlinuz"
|
||||
|
||||
# Used by mkinitcpio to name the kernel
|
||||
echo "${pkgbase}" | install -Dm644 /dev/stdin "${modulesdir}/pkgbase"
|
||||
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
|
||||
|
||||
echo "Installing modules..."
|
||||
make ${BUILD_FLAGS[*]} INSTALL_MOD_PATH="${pkgdir:?}/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
|
||||
|
||||
# remove build and source links
|
||||
rm "${modulesdir}/"{source,build}
|
||||
rm "$modulesdir"/{source,build}
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -531,119 +586,121 @@ _package-headers() {
|
|||
pkgdesc="Headers and scripts for building modules for the ${pkgdesc}"
|
||||
depends=("${pkgbase}=${pkgver}" "pahole")
|
||||
|
||||
cd "${srcdir:?}/linux-${pkgver}" || (
|
||||
echo -e "\E[1;31mCan't cd to ${srcdir:?}/linux-${pkgver} directory! Package linux headers failed! \E[0m"
|
||||
exit 1
|
||||
)
|
||||
|
||||
local builddir="${pkgdir:?}/usr/lib/modules/$(<version)/build"
|
||||
cd $_srcname
|
||||
local builddir="$pkgdir/usr/lib/modules/$(<version)/build"
|
||||
|
||||
echo "Installing build files..."
|
||||
install -Dt "${builddir}" -m644 .config Makefile Module.symvers System.map \
|
||||
install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \
|
||||
localversion.* version vmlinux
|
||||
install -Dt "${builddir}/kernel" -m644 kernel/Makefile
|
||||
install -Dt "${builddir}/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "${builddir}" -a scripts
|
||||
install -Dt "$builddir/kernel" -m644 kernel/Makefile
|
||||
install -Dt "$builddir/arch/x86" -m644 arch/x86/Makefile
|
||||
cp -t "$builddir" -a scripts
|
||||
|
||||
# add objtool for external module building and enabled VALIDATION_STACK option
|
||||
install -Dt "${builddir}/tools/objtool" tools/objtool/objtool
|
||||
install -Dt "$builddir/tools/objtool" tools/objtool/objtool
|
||||
|
||||
# add xfs and shmem for aufs building
|
||||
mkdir -p "${builddir}"/{fs/xfs,mm}
|
||||
mkdir -p "$builddir"/{fs/xfs,mm}
|
||||
|
||||
echo "Installing headers..."
|
||||
cp -t "${builddir}" -a include
|
||||
cp -t "${builddir}/arch/x86" -a arch/x86/include
|
||||
install -Dt "${builddir}/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
cp -t "$builddir" -a include
|
||||
cp -t "$builddir/arch/x86" -a arch/x86/include
|
||||
install -Dt "$builddir/arch/x86/kernel" -m644 arch/x86/kernel/asm-offsets.s
|
||||
|
||||
install -Dt "${builddir}/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "${builddir}/net/mac80211" -m644 net/mac80211/*.h
|
||||
install -Dt "$builddir/drivers/md" -m644 drivers/md/*.h
|
||||
install -Dt "$builddir/net/mac80211" -m644 net/mac80211/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/13146
|
||||
install -Dt "${builddir}/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
install -Dt "$builddir/drivers/media/i2c" -m644 drivers/media/i2c/msp3400-driver.h
|
||||
|
||||
# https://bugs.archlinux.org/task/20402
|
||||
install -Dt "${builddir}/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "${builddir}/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "${builddir}/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
install -Dt "$builddir/drivers/media/usb/dvb-usb" -m644 drivers/media/usb/dvb-usb/*.h
|
||||
install -Dt "$builddir/drivers/media/dvb-frontends" -m644 drivers/media/dvb-frontends/*.h
|
||||
install -Dt "$builddir/drivers/media/tuners" -m644 drivers/media/tuners/*.h
|
||||
|
||||
# https://bugs.archlinux.org/task/71392
|
||||
install -Dt "${builddir}/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
install -Dt "$builddir/drivers/iio/common/hid-sensors" -m644 drivers/iio/common/hid-sensors/*.h
|
||||
|
||||
echo "Installing KConfig files..."
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "${builddir}/{}" \;
|
||||
find . -name 'Kconfig*' -exec install -Dm644 {} "$builddir/{}" \;
|
||||
|
||||
echo "Removing unneeded architectures..."
|
||||
local arch
|
||||
for arch in "${builddir}"/arch/*/; do
|
||||
for arch in "$builddir"/arch/*/; do
|
||||
[[ $arch = */x86/ ]] && continue
|
||||
echo "Removing $(basename "$arch")"
|
||||
rm -r "$arch"
|
||||
done
|
||||
|
||||
echo "Removing documentation..."
|
||||
rm -r "${builddir}/Documentation"
|
||||
rm -r "$builddir/Documentation"
|
||||
|
||||
echo "Removing broken symlinks..."
|
||||
find -L "${builddir}" -type l -printf 'Removing %P\n' -delete
|
||||
find -L "$builddir" -type l -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Removing loose objects..."
|
||||
find "${builddir}" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
find "$builddir" -type f -name '*.o' -printf 'Removing %P\n' -delete
|
||||
|
||||
echo "Stripping build tools..."
|
||||
local file
|
||||
while read -rd '' file; do
|
||||
case "$(file -bi "$file")" in
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v "${STRIP_SHARED}" "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v "${STRIP_STATIC}" "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v "${STRIP_BINARIES}" "$file" ;;
|
||||
application/x-sharedlib\;*) # Libraries (.so)
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
application/x-archive\;*) # Libraries (.a)
|
||||
strip -v $STRIP_STATIC "$file" ;;
|
||||
application/x-executable\;*) # Binaries
|
||||
strip -v $STRIP_BINARIES "$file" ;;
|
||||
application/x-pie-executable\;*) # Relocatable binaries
|
||||
strip -v "${STRIP_SHARED}" "$file" ;;
|
||||
strip -v $STRIP_SHARED "$file" ;;
|
||||
esac
|
||||
done < <(find "${builddir}" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
done < <(find "$builddir" -type f -perm -u+x ! -name vmlinux -print0)
|
||||
|
||||
echo "Stripping vmlinux..."
|
||||
strip -v "${STRIP_STATIC}" "${builddir}/vmlinux"
|
||||
strip -v $STRIP_STATIC "$builddir/vmlinux"
|
||||
|
||||
echo "Adding symlink..."
|
||||
mkdir -p "${pkgdir:?}/usr/src"
|
||||
ln -sr "${builddir}" "${pkgdir:?}/usr/src/${pkgbase}"
|
||||
mkdir -p "$pkgdir/usr/src"
|
||||
ln -sr "$builddir" "$pkgdir/usr/src/$pkgbase"
|
||||
|
||||
}
|
||||
|
||||
md5sums=('071d49ff4e020d58c04f9f3f76d3b594'
|
||||
'1e1dc995c4f531c9c29f9868e8adc835'
|
||||
'3458cd35e4b13db668de0b711d8f529b'
|
||||
'cf26387aadf2a90428350ac246b070c9'
|
||||
'9b69c2bb5bd14add123fdf1164b2225d'
|
||||
'a2f2715c541983f81fbcd22d8c4f2919'
|
||||
'53f037488a66667220c263f92ded333d'
|
||||
'2a8097ba46be56fbbe3967e9c34c9a0b'
|
||||
'0b6d09bdd920f4c31c05fdeaa0740548'
|
||||
'd7f5fefd8ae018999e2b55073aaca706'
|
||||
'4792a194feb0e9267f8660f38746f4fb'
|
||||
'2b793d08fe0033546a7264a565af51f3'
|
||||
'00decf9061d63b59d6a2857f4bc681df'
|
||||
'5bd0ac7a56ecc0be1a71a321d100f5e8'
|
||||
'a1c6a106ddbbff6be6711f6a72706cb0'
|
||||
'0dbf246a4e501c5dc276985d34faa5df'
|
||||
'f845dc3bca8d4e0020ed8f37e4e8d9ea'
|
||||
'07fb571e48d0772a30c9777ecf13031e'
|
||||
'39c65dd4eeec0dfedbf79ca5e43276d5'
|
||||
'bac586853f924588e24869d8aa62f5be'
|
||||
'bc64b1d1a9c95b07c28457f7214ebf81'
|
||||
'8cb0301d159b59727b7bdd09350e2a9f'
|
||||
'de6db1147385c058b2e94df3c1739fdf'
|
||||
'bf58290793d3a095ef95fb1fac2de89a'
|
||||
'a86ed27c2ef70973502660ca6804d6fe'
|
||||
'21c98f19e883879dd3336c1fa143fd31')
|
||||
pkgname=("$pkgbase" "$pkgbase-headers" )
|
||||
sha512sums=('c636e16efdff88320b5354b16d2a6eb1'
|
||||
'b638c0de217b3208dcb2b4ceb5bdd66d'
|
||||
'cf26387aadf2a90428350ac246b070c9'
|
||||
'9b69c2bb5bd14add123fdf1164b2225d'
|
||||
'a2f2715c541983f81fbcd22d8c4f2919'
|
||||
'53f037488a66667220c263f92ded333d'
|
||||
'2a8097ba46be56fbbe3967e9c34c9a0b'
|
||||
'0b6d09bdd920f4c31c05fdeaa0740548'
|
||||
'd7f5fefd8ae018999e2b55073aaca706'
|
||||
'4792a194feb0e9267f8660f38746f4fb'
|
||||
'd6452799e92e21e8f8bea1fddeec60e2'
|
||||
'fb3f67bb491a4f8ed3ef3121383deb25'
|
||||
'6038177c72982533035309fcd6df208a'
|
||||
'e11e39e9ded08ca69f3bf978edd66fb5'
|
||||
'00decf9061d63b59d6a2857f4bc681df'
|
||||
'5bd0ac7a56ecc0be1a71a321d100f5e8'
|
||||
'a1c6a106ddbbff6be6711f6a72706cb0'
|
||||
'0dbf246a4e501c5dc276985d34faa5df'
|
||||
'f845dc3bca8d4e0020ed8f37e4e8d9ea'
|
||||
'bf3787026e2faa485dce9e45cc721ec5'
|
||||
'07fb571e48d0772a30c9777ecf13031e'
|
||||
'39c65dd4eeec0dfedbf79ca5e43276d5'
|
||||
'bac586853f924588e24869d8aa62f5be'
|
||||
'da85931866f501403448290f52dfe729'
|
||||
'bc64b1d1a9c95b07c28457f7214ebf81'
|
||||
'4e4d84a2759740ec1856392f5b98de12'
|
||||
'8cb0301d159b59727b7bdd09350e2a9f'
|
||||
'de6db1147385c058b2e94df3c1739fdf'
|
||||
'bf58290793d3a095ef95fb1fac2de89a'
|
||||
'a86ed27c2ef70973502660ca6804d6fe'
|
||||
'21c98f19e883879dd3336c1fa143fd31')
|
||||
|
||||
pkgname=("$pkgbase" "$pkgbase-headers")
|
||||
for _p in "${pkgname[@]}"; do
|
||||
eval "package_$_p() {
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
$(declare -f "_package${_p#$pkgbase}")
|
||||
_package${_p#$pkgbase}
|
||||
}"
|
||||
done
|
||||
|
|
|
|||
77
config
77
config
|
|
@ -1,6 +1,6 @@
|
|||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/x86 5.15.0-cachyos Kernel Configuration
|
||||
# Linux/x86 5.15.1 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="gcc (GCC) 11.1.0"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
|
|
@ -28,7 +28,7 @@ CONFIG_INIT_ENV_ARG_LIMIT=32
|
|||
# CONFIG_COMPILE_TEST is not set
|
||||
# CONFIG_WERROR is not set
|
||||
CONFIG_LOCALVERSION=""
|
||||
CONFIG_LOCALVERSION_AUTO=y
|
||||
# CONFIG_LOCALVERSION_AUTO is not set
|
||||
CONFIG_BUILD_SALT=""
|
||||
CONFIG_HAVE_KERNEL_GZIP=y
|
||||
CONFIG_HAVE_KERNEL_BZIP2=y
|
||||
|
|
@ -44,6 +44,14 @@ CONFIG_HAVE_KERNEL_ZSTD=y
|
|||
# CONFIG_KERNEL_LZO is not set
|
||||
# CONFIG_KERNEL_LZ4 is not set
|
||||
CONFIG_KERNEL_ZSTD=y
|
||||
|
||||
#
|
||||
# ZSTD compression options
|
||||
#
|
||||
CONFIG_KERNEL_ZSTD_LEVEL=19
|
||||
CONFIG_KERNEL_ZSTD_LEVEL_ULTRA=y
|
||||
# end of ZSTD compression options
|
||||
|
||||
CONFIG_DEFAULT_INIT=""
|
||||
CONFIG_DEFAULT_HOSTNAME="cachyos"
|
||||
CONFIG_SWAP=y
|
||||
|
|
@ -124,8 +132,8 @@ CONFIG_BPF_LSM=y
|
|||
# end of BPF subsystem
|
||||
|
||||
# CONFIG_PREEMPT_NONE_BEHAVIOUR is not set
|
||||
CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR=y
|
||||
# CONFIG_PREEMPT_BEHAVIOUR is not set
|
||||
# CONFIG_PREEMPT_VOLUNTARY_BEHAVIOUR is not set
|
||||
CONFIG_PREEMPT_BEHAVIOUR=y
|
||||
CONFIG_PREEMPT=y
|
||||
CONFIG_PREEMPT_COUNT=y
|
||||
CONFIG_PREEMPTION=y
|
||||
|
|
@ -187,10 +195,15 @@ CONFIG_HAVE_UNSTABLE_SCHED_CLOCK=y
|
|||
#
|
||||
# Scheduler features
|
||||
#
|
||||
# CONFIG_SCHED_ALT is not set
|
||||
# CONFIG_SCHED_BMQ is not set
|
||||
# CONFIG_SCHED_PDS is not set
|
||||
CONFIG_UCLAMP_TASK=y
|
||||
CONFIG_UCLAMP_BUCKETS_COUNT=5
|
||||
# end of Scheduler features
|
||||
|
||||
# CONFIG_CACULE_SCHED is not set
|
||||
# CONFIG_CACULE_RDB is not set
|
||||
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y
|
||||
CONFIG_ARCH_WANT_BATCHED_UNMAP_TLB_FLUSH=y
|
||||
CONFIG_CC_HAS_INT128=y
|
||||
|
|
@ -232,6 +245,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
|
||||
|
|
@ -244,7 +258,9 @@ CONFIG_RD_LZO=y
|
|||
CONFIG_RD_LZ4=y
|
||||
CONFIG_RD_ZSTD=y
|
||||
CONFIG_BOOT_CONFIG=y
|
||||
# CONFIG_CC_OPTIMIZE_BASAL is not set
|
||||
CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
|
||||
# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE_O3 is not set
|
||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
||||
CONFIG_LD_ORPHAN_WARN=y
|
||||
CONFIG_SYSCTL=y
|
||||
|
|
@ -400,8 +416,8 @@ CONFIG_ACRN_GUEST=y
|
|||
# CONFIG_MZEN2 is not set
|
||||
# CONFIG_MZEN3 is not set
|
||||
# CONFIG_MPSC is not set
|
||||
# CONFIG_MCORE2 is not set
|
||||
# CONFIG_MATOM is not set
|
||||
# CONFIG_MCORE2 is not set
|
||||
# CONFIG_MNEHALEM is not set
|
||||
# CONFIG_MWESTMERE is not set
|
||||
# CONFIG_MSILVERMONT is not set
|
||||
|
|
@ -449,7 +465,7 @@ CONFIG_DMI=y
|
|||
CONFIG_NR_CPUS_RANGE_BEGIN=2
|
||||
CONFIG_NR_CPUS_RANGE_END=512
|
||||
CONFIG_NR_CPUS_DEFAULT=64
|
||||
CONFIG_NR_CPUS=320
|
||||
# CONFIG_SCHED_CLUSTER is not set
|
||||
CONFIG_SCHED_SMT=y
|
||||
CONFIG_SCHED_MC=y
|
||||
CONFIG_SCHED_MC_PRIO=y
|
||||
|
|
@ -527,6 +543,7 @@ CONFIG_HZ_300=y
|
|||
# CONFIG_HZ_600 is not set
|
||||
# CONFIG_HZ_750 is not set
|
||||
# CONFIG_HZ_1000 is not set
|
||||
# CONFIG_HZ_2000 is not set
|
||||
CONFIG_HZ=300
|
||||
CONFIG_SCHED_HRTICK=y
|
||||
CONFIG_KEXEC=y
|
||||
|
|
@ -680,6 +697,7 @@ CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
|
|||
#
|
||||
CONFIG_X86_INTEL_PSTATE=y
|
||||
CONFIG_X86_PCC_CPUFREQ=m
|
||||
# CONFIG_X86_AMD_PSTATE is not set
|
||||
CONFIG_X86_ACPI_CPUFREQ=m
|
||||
CONFIG_X86_ACPI_CPUFREQ_CPB=y
|
||||
CONFIG_X86_POWERNOW_K8=m
|
||||
|
|
@ -828,7 +846,7 @@ CONFIG_LTO_CLANG=y
|
|||
CONFIG_ARCH_SUPPORTS_LTO_CLANG=y
|
||||
CONFIG_ARCH_SUPPORTS_LTO_CLANG_THIN=y
|
||||
CONFIG_HAS_LTO_CLANG=y
|
||||
# CONFIG_LTO_NONE is not set
|
||||
CONFIG_LTO_NONE=y
|
||||
# CONFIG_LTO_CLANG_FULL is not set
|
||||
CONFIG_LTO_CLANG_THIN=y
|
||||
CONFIG_HAVE_ARCH_WITHIN_STACK_FRAMES=y
|
||||
|
|
@ -840,6 +858,7 @@ CONFIG_HAVE_MOVE_PUD=y
|
|||
CONFIG_HAVE_MOVE_PMD=y
|
||||
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y
|
||||
CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE_PUD=y
|
||||
# CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG is not set
|
||||
CONFIG_HAVE_ARCH_HUGE_VMAP=y
|
||||
CONFIG_ARCH_WANT_HUGE_PMD_SHARE=y
|
||||
CONFIG_HAVE_ARCH_SOFT_DIRTY=y
|
||||
|
|
@ -915,6 +934,14 @@ CONFIG_MODULE_SIG_HASH="sha512"
|
|||
# CONFIG_MODULE_COMPRESS_GZIP is not set
|
||||
# CONFIG_MODULE_COMPRESS_XZ is not set
|
||||
CONFIG_MODULE_COMPRESS_ZSTD=y
|
||||
|
||||
#
|
||||
# ZSTD module compression options
|
||||
#
|
||||
CONFIG_MODULE_COMPRESS_ZSTD_LEVEL=19
|
||||
# CONFIG_MODULE_COMPRESS_ZSTD_ULTRA is not set
|
||||
# end of ZSTD module compression options
|
||||
|
||||
CONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=y
|
||||
CONFIG_MODPROBE_PATH="/sbin/modprobe"
|
||||
CONFIG_MODULES_TREE_LOOKUP=y
|
||||
|
|
@ -1017,6 +1044,8 @@ CONFIG_COREDUMP=y
|
|||
#
|
||||
CONFIG_SELECT_MEMORY_MODEL=y
|
||||
CONFIG_SPARSEMEM_MANUAL=y
|
||||
# CONFIG_UNEVICTABLE_FILE is not set
|
||||
# CONFIG_UNEVICTABLE_ANON is not set
|
||||
CONFIG_SPARSEMEM=y
|
||||
CONFIG_SPARSEMEM_EXTREME=y
|
||||
CONFIG_SPARSEMEM_VMEMMAP_ENABLE=y
|
||||
|
|
@ -1046,6 +1075,8 @@ CONFIG_PHYS_ADDR_T_64BIT=y
|
|||
CONFIG_VIRT_TO_BUS=y
|
||||
CONFIG_MMU_NOTIFIER=y
|
||||
CONFIG_KSM=y
|
||||
CONFIG_UKSM=y
|
||||
# CONFIG_KSM_LEGACY is not set
|
||||
CONFIG_DEFAULT_MMAP_MIN_ADDR=65536
|
||||
CONFIG_ARCH_SUPPORTS_MEMORY_FAILURE=y
|
||||
CONFIG_MEMORY_FAILURE=y
|
||||
|
|
@ -1099,6 +1130,9 @@ CONFIG_ARCH_HAS_PKEYS=y
|
|||
# CONFIG_PERCPU_STATS is not set
|
||||
# CONFIG_GUP_TEST is not set
|
||||
CONFIG_READ_ONLY_THP_FOR_FS=y
|
||||
# CONFIG_ARCH_SUPPORTS_SPECULATIVE_PAGE_FAULT is not set
|
||||
# CONFIG_SPECULATIVE_PAGE_FAULT is not set
|
||||
# CONFIG_LRU_GEN is not set
|
||||
CONFIG_ARCH_HAS_PTE_SPECIAL=y
|
||||
CONFIG_MAPPING_DIRTY_HELPERS=y
|
||||
CONFIG_SECRETMEM=y
|
||||
|
|
@ -1201,6 +1235,7 @@ CONFIG_TCP_CONG_ILLINOIS=m
|
|||
CONFIG_TCP_CONG_DCTCP=m
|
||||
CONFIG_TCP_CONG_CDG=m
|
||||
CONFIG_TCP_CONG_BBR=m
|
||||
CONFIG_TCP_CONG_BBR2=m
|
||||
CONFIG_DEFAULT_CUBIC=y
|
||||
# CONFIG_DEFAULT_RENO is not set
|
||||
CONFIG_DEFAULT_TCP_CONG="cubic"
|
||||
|
|
@ -1361,6 +1396,7 @@ CONFIG_NETFILTER_XT_TARGET_LOG=m
|
|||
CONFIG_NETFILTER_XT_TARGET_MARK=m
|
||||
CONFIG_NETFILTER_XT_NAT=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NETMAP=m
|
||||
# CONFIG_NETFILTER_XT_TARGET_FULLCONENAT is not set
|
||||
CONFIG_NETFILTER_XT_TARGET_NFLOG=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
|
||||
CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
|
||||
|
|
@ -1523,6 +1559,7 @@ CONFIG_IP_NF_TARGET_SYNPROXY=m
|
|||
CONFIG_IP_NF_NAT=m
|
||||
CONFIG_IP_NF_TARGET_MASQUERADE=m
|
||||
CONFIG_IP_NF_TARGET_NETMAP=m
|
||||
# CONFIG_IP_NF_TARGET_FULLCONENAT is not set
|
||||
CONFIG_IP_NF_TARGET_REDIRECT=m
|
||||
CONFIG_IP_NF_MANGLE=m
|
||||
CONFIG_IP_NF_TARGET_CLUSTERIP=m
|
||||
|
|
@ -1734,6 +1771,7 @@ CONFIG_NET_SCH_DEFAULT=y
|
|||
CONFIG_DEFAULT_FQ_CODEL=y
|
||||
# CONFIG_DEFAULT_FQ_PIE is not set
|
||||
# CONFIG_DEFAULT_SFQ is not set
|
||||
# CONFIG_DEFAULT_CAKE is not set
|
||||
# CONFIG_DEFAULT_PFIFO_FAST is not set
|
||||
CONFIG_DEFAULT_NET_SCH="fq_codel"
|
||||
|
||||
|
|
@ -2302,7 +2340,7 @@ CONFIG_ISCSI_IBFT=m
|
|||
CONFIG_FW_CFG_SYSFS=m
|
||||
# CONFIG_FW_CFG_SYSFS_CMDLINE is not set
|
||||
CONFIG_SYSFB=y
|
||||
CONFIG_SYSFB_SIMPLEFB=y
|
||||
# CONFIG_SYSFB_SIMPLE is not set
|
||||
CONFIG_GOOGLE_FIRMWARE=y
|
||||
# CONFIG_GOOGLE_SMI is not set
|
||||
CONFIG_GOOGLE_COREBOOT_TABLE=m
|
||||
|
|
@ -2659,6 +2697,7 @@ CONFIG_SCSI_ENCLOSURE=m
|
|||
CONFIG_SCSI_CONSTANTS=y
|
||||
CONFIG_SCSI_LOGGING=y
|
||||
CONFIG_SCSI_SCAN_ASYNC=y
|
||||
# CONFIG_VHBA is not set
|
||||
|
||||
#
|
||||
# SCSI Transports
|
||||
|
|
@ -2905,7 +2944,6 @@ CONFIG_MD_FAULTY=m
|
|||
CONFIG_MD_CLUSTER=m
|
||||
CONFIG_BCACHE=m
|
||||
# CONFIG_BCACHE_DEBUG is not set
|
||||
# CONFIG_BCACHE_CLOSURES_DEBUG is not set
|
||||
CONFIG_BCACHE_ASYNC_REGISTRATION=y
|
||||
CONFIG_BLK_DEV_DM_BUILTIN=y
|
||||
CONFIG_BLK_DEV_DM=m
|
||||
|
|
@ -4285,6 +4323,7 @@ CONFIG_VT=y
|
|||
CONFIG_CONSOLE_TRANSLATIONS=y
|
||||
CONFIG_VT_CONSOLE=y
|
||||
CONFIG_VT_CONSOLE_SLEEP=y
|
||||
CONFIG_NR_TTY_DEVICES=63
|
||||
CONFIG_HW_CONSOLE=y
|
||||
CONFIG_VT_HW_CONSOLE_BINDING=y
|
||||
CONFIG_UNIX98_PTYS=y
|
||||
|
|
@ -4430,6 +4469,7 @@ CONFIG_XILLYBUS_CLASS=m
|
|||
CONFIG_XILLYBUS=m
|
||||
CONFIG_XILLYBUS_PCIE=m
|
||||
CONFIG_XILLYUSB=m
|
||||
# CONFIG_LRNG is not set
|
||||
# CONFIG_RANDOM_TRUST_CPU is not set
|
||||
# CONFIG_RANDOM_TRUST_BOOTLOADER is not set
|
||||
# end of Character devices
|
||||
|
|
@ -4477,6 +4517,7 @@ CONFIG_I2C_AMD_MP2=m
|
|||
CONFIG_I2C_I801=m
|
||||
CONFIG_I2C_ISCH=m
|
||||
CONFIG_I2C_ISMT=m
|
||||
CONFIG_I2C_NCT6775=m
|
||||
CONFIG_I2C_PIIX4=m
|
||||
CONFIG_I2C_CHT_WC=m
|
||||
CONFIG_I2C_NFORCE2=m
|
||||
|
|
@ -5123,6 +5164,8 @@ CONFIG_SENSORS_INTEL_M10_BMC_HWMON=m
|
|||
#
|
||||
CONFIG_SENSORS_ACPI_POWER=m
|
||||
CONFIG_SENSORS_ATK0110=m
|
||||
# CONFIG_SENSORS_ASUS_WMI is not set
|
||||
# CONFIG_SENSORS_ASUS_WMI_EC is not set
|
||||
CONFIG_THERMAL=y
|
||||
CONFIG_THERMAL_NETLINK=y
|
||||
# CONFIG_THERMAL_STATISTICS is not set
|
||||
|
|
@ -5583,6 +5626,7 @@ CONFIG_VIDEO_V4L2_I2C=y
|
|||
CONFIG_VIDEO_V4L2_SUBDEV_API=y
|
||||
# CONFIG_VIDEO_ADV_DEBUG is not set
|
||||
# CONFIG_VIDEO_FIXED_MINOR_RANGES is not set
|
||||
# CONFIG_V4L2_LOOPBACK is not set
|
||||
CONFIG_VIDEO_TUNER=m
|
||||
CONFIG_V4L2_MEM2MEM_DEV=m
|
||||
CONFIG_V4L2_FLASH_LED_CLASS=m
|
||||
|
|
@ -6427,8 +6471,8 @@ CONFIG_FB_SYS_IMAGEBLIT=y
|
|||
# CONFIG_FB_FOREIGN_ENDIAN is not set
|
||||
CONFIG_FB_SYS_FOPS=y
|
||||
CONFIG_FB_DEFERRED_IO=y
|
||||
# CONFIG_FB_MODE_HELPERS is not set
|
||||
# CONFIG_FB_TILEBLITTING is not set
|
||||
CONFIG_FB_MODE_HELPERS=y
|
||||
CONFIG_FB_TILEBLITTING=y
|
||||
|
||||
#
|
||||
# Frame buffer hardware drivers
|
||||
|
|
@ -6440,9 +6484,9 @@ CONFIG_FB_DEFERRED_IO=y
|
|||
# CONFIG_FB_ASILIANT is not set
|
||||
# CONFIG_FB_IMSTT is not set
|
||||
# CONFIG_FB_VGA16 is not set
|
||||
# CONFIG_FB_UVESA is not set
|
||||
# CONFIG_FB_VESA is not set
|
||||
# CONFIG_FB_EFI is not set
|
||||
CONFIG_FB_UVESA=m
|
||||
CONFIG_FB_VESA=y
|
||||
CONFIG_FB_EFI=y
|
||||
# CONFIG_FB_N411 is not set
|
||||
# CONFIG_FB_HGA is not set
|
||||
# CONFIG_FB_OPENCORES is not set
|
||||
|
|
@ -9520,6 +9564,8 @@ CONFIG_F2FS_FS_LZ4HC=y
|
|||
CONFIG_F2FS_FS_ZSTD=y
|
||||
CONFIG_F2FS_IOSTAT=y
|
||||
CONFIG_ZONEFS_FS=m
|
||||
# CONFIG_BCACHEFS_FS is not set
|
||||
# CONFIG_SPADFS_FS is not set
|
||||
CONFIG_FS_DAX=y
|
||||
CONFIG_FS_DAX_PMD=y
|
||||
CONFIG_FS_POSIX_ACL=y
|
||||
|
|
@ -9709,6 +9755,7 @@ CONFIG_PSTORE_RAM=m
|
|||
CONFIG_UFS_FS=m
|
||||
# CONFIG_UFS_FS_WRITE is not set
|
||||
# CONFIG_UFS_DEBUG is not set
|
||||
# CONFIG_AUFS_FS is not set
|
||||
CONFIG_EROFS_FS=m
|
||||
# CONFIG_EROFS_FS_DEBUG is not set
|
||||
CONFIG_EROFS_FS_XATTR=y
|
||||
|
|
@ -9910,6 +9957,7 @@ CONFIG_LOCK_DOWN_KERNEL_FORCE_NONE=y
|
|||
# CONFIG_LOCK_DOWN_KERNEL_FORCE_CONFIDENTIALITY is not set
|
||||
CONFIG_SECURITY_LANDLOCK=y
|
||||
# CONFIG_INTEGRITY is not set
|
||||
# CONFIG_SECURITY_FORK_BRUTE is not set
|
||||
# CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT is not set
|
||||
# CONFIG_DEFAULT_SECURITY_SELINUX is not set
|
||||
# CONFIG_DEFAULT_SECURITY_SMACK is not set
|
||||
|
|
@ -10536,6 +10584,7 @@ CONFIG_DEBUG_LIST=y
|
|||
# end of Debug kernel data structures
|
||||
|
||||
# CONFIG_DEBUG_CREDENTIALS is not set
|
||||
# CONFIG_DEBUG_CLOSURES is not set
|
||||
|
||||
#
|
||||
# RCU Debugging
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue