linux59-tkg: Update linux59-rc-tkg to 5.9.0 release
This is an initial release with a couple compilation fixes for Project C schedulers (until Alfred fixes it on his end). Fsync support is missing at this point in time.
This commit is contained in:
parent
a6e07bee35
commit
2deb19f1ab
@ -53,8 +53,8 @@ license=('GPL2')
|
||||
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'libelf' 'pahole' 'patchutils' 'flex' 'python-sphinx' 'python-sphinx_rtd_theme' 'graphviz' 'imagemagick' 'git')
|
||||
optdepends=('schedtool')
|
||||
options=('!strip' 'docs')
|
||||
source=("https://git.kernel.org/torvalds/t/linux-${_basekernel}-${_sub}.tar.gz"
|
||||
#"https://www.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz"
|
||||
source=("https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-${_basekernel}.tar.xz"
|
||||
#"https://cdn.kernel.org/pub/linux/kernel/v5.x/patch-${pkgver}.xz"
|
||||
"https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.8%2B.patch"
|
||||
'config.x86_64' # stock Arch config
|
||||
#'config_hardened.x86_64' # hardened Arch config
|
||||
@ -68,35 +68,38 @@ source=("https://git.kernel.org/torvalds/t/linux-${_basekernel}-${_sub}.tar.gz"
|
||||
0003-glitched-cfs.patch
|
||||
#0004-glitched-ondemand-muqss.patch
|
||||
#0004-glitched-muqss.patch
|
||||
#0004-5.9-ck1.patch
|
||||
0005-glitched-ondemand-pds.patch
|
||||
#0004-5.8-ck1.patch
|
||||
#0005-undead-glitched-ondemand-pds.patch
|
||||
#0005-undead-glitched-pds.patch
|
||||
#0005-v5.8_undead-pds099o.patch
|
||||
0005-glitched-pds.patch
|
||||
0005-v5.9_undead-pds099o.patch
|
||||
0006-add-acs-overrides_iommu.patch
|
||||
#0007-v5.9-fsync.patch
|
||||
#0008-5.9-bcachefs.patch
|
||||
#0009-glitched-ondemand-bmq.patch
|
||||
#0009-glitched-bmq.patch
|
||||
#0009-prjc_v5.9-r0.patch
|
||||
#0007-v5.8-fsync.patch
|
||||
#0008-5.8-bcachefs.patch
|
||||
0009-glitched-ondemand-bmq.patch
|
||||
0009-glitched-bmq.patch
|
||||
0009-prjc_v5.9-r0.patch
|
||||
0011-ZFS-fix.patch
|
||||
#0012-linux-hardened.patch
|
||||
0012-misc-additions.patch
|
||||
)
|
||||
sha256sums=('fc5d8eae3949051d2d99c9425c234b580d7c20e816617f6cab928197ab55127a'
|
||||
sha256sums=('3239a4ee1250bf2048be988cc8cb46c487b2c8a0de5b1b032d38394d5c6b1a06'
|
||||
'5ab29eb64e57df83b395a29a6a4f89030d142feffbfbf73b3afc6d97a2a7fd12'
|
||||
'20da98426048a222adeaf6606c9695d7a36974f4110a5adbe77c482898b59348'
|
||||
'ca84d1966bf13570768a65015ddcbde198d866d2a5a44df21a581ed57860b887'
|
||||
'1e15fc2ef3fa770217ecc63a220e5df2ddbcf3295eb4a021171e7edd4c6cc898'
|
||||
'66a03c246037451a77b4d448565b1d7e9368270c7d02872fbd0b5d024ed0a997'
|
||||
'f6383abef027fd9a430fd33415355e0df492cdc3c90e9938bf2d98f4f63b32e6'
|
||||
'd02bf5ca08fd610394b9d3a0c3b176d74af206f897dee826e5cbaec97bb4a4aa'
|
||||
'd6cde733ad3bd8287528f69c16debfa75e7e43e8bb4c26a8ca9e1a3a7e303a02'
|
||||
'35a7cde86fb94939c0f25a62b8c47f3de0dbd3c65f876f460b263181b3e92fc0'
|
||||
'b9ebe0ae69bc2b2091d6bfcf6c7875a87ea7969fcfa4e306c48d47a60f9ef4d6'
|
||||
'7058e57fd68367b029adc77f2a82928f1433daaf02c8c279cb2d13556c8804d7'
|
||||
'62496f9ca788996181ef145f96ad26291282fcc3fb95cdc04080dcf84365be33'
|
||||
'b5b0347c18c6217e074890fd109002586fc23f4a45dec89f72e72c5845e73db2'
|
||||
'd7726495963bf23ee54958e63b7e7aa00feb3281b10f58cae6567488e7ddc19f'
|
||||
'fca63d15ca4502aebd73e76d7499b243d2c03db71ff5ab0bf5cf268b2e576320'
|
||||
'19661ec0d39f9663452b34433214c755179894528bf73a42f6ba52ccf572832a'
|
||||
'9fad4a40449e09522899955762c8928ae17f4cdaa16e01239fd12592e9d58177'
|
||||
'a557b342111849a5f920bbe1c129f3ff1fc1eff62c6bd6685e0972fc88e39911'
|
||||
'83ddfd5db3068f47b64d331d411e7c76a8f7366e51112f73d3aa0198a4c2116b'
|
||||
'49262ce4a8089fa70275aad742fc914baa28d9c384f710c9a62f64796d13e104'
|
||||
'433b919e6a0be26784fb4304c43b1811a28f12ad3de9e26c0af827f64c0c316e')
|
||||
|
||||
export KBUILD_BUILD_HOST=archlinux
|
||||
export KBUILD_BUILD_USER=$pkgbase
|
||||
export KBUILD_BUILD_TIMESTAMP="$(date -Ru${SOURCE_DATE_EPOCH:+d @$SOURCE_DATE_EPOCH})"
|
@ -1,15 +1,17 @@
|
||||
**Due to intel_pstate poor performances as of late, I have decided to set it to passive mode to make use of the acpi_cpufreq governors passthrough, keeping full support for turbo frequencies.**
|
||||
|
||||
### PDS, MuQSS and BMQ are not yet available options for this revision
|
||||
## Nvidia prop drivers need to be patched (https://github.com/Frogging-Family/nvidia-all can do that automatically for you)
|
||||
### MuQSS is not an available option for this revision yet
|
||||
|
||||
A custom Linux kernel 5.9 RC with added tweaks for a nice interactivity/performance balance, aiming for the best gaming experience.
|
||||
A custom Linux kernel 5.9.y with specific Undead PDS, Project C / PDS & BMQ CPU schedulers related patchsets selector (stock CFS is also an option) and added tweaks for a nice interactivity/performance balance, aiming for the best gaming experience.
|
||||
|
||||
- Project C / PDS & BMQ : http://cchalpha.blogspot.com/
|
||||
|
||||
Various personalization options available and userpatches support (put your own patches in the same dir as the PKGBUILD, with the ".mypatch" extension). The options built with are installed to `/usr/share/doc/$pkgbase/customization.cfg`, where `$pkgbase` is the package name.
|
||||
|
||||
Comes with a slightly modified Arch config asking for a few core personalization settings at compilation time.
|
||||
|
||||
If you want to streamline your kernel config for lower footprint and faster compilations : https://wiki.archlinux.org/index.php/Modprobed-db
|
||||
You can enable support for it at the beginning of the PKGBUILD file. Make sure to read everything you need to know about it.
|
||||
You can optionally enable support for it at the beginning of the PKGBUILD file. **Make sure to read everything you need to know about it as there are big caevats making it NOT recommended for most users.**
|
||||
|
||||
## Other stuff included:
|
||||
- Graysky's per-CPU-arch native optimizations - https://github.com/graysky2/kernel_gcc_patch
|
||||
@ -22,24 +24,20 @@ You can enable support for it at the beginning of the PKGBUILD file. Make sure t
|
||||
- using vm.max_map_count=524288 by default
|
||||
- cherry-picked clear linux patches
|
||||
- **optional** overrides for missing ACS capabilities
|
||||
- **optional** ZFS fpu symbols
|
||||
|
||||
|
||||
## Install procedure
|
||||
|
||||
## Install procedure
|
||||
|
||||
### DEB (Debian, Ubuntu and derivatives) and RPM (Fedora, SUSE and derivatives) based distributions
|
||||
```
|
||||
git clone https://github.com/Frogging-Family/linux-tkg.git
|
||||
cd linux-tkg/linux59-rc-tkg
|
||||
cd linux-tkg/linux58-tkg
|
||||
# Optional: edit customization.cfg file
|
||||
./install.sh install
|
||||
```
|
||||
Uninstalling custom kernels installed through the script has to be done
|
||||
manually, the script can can help out with some useful information:
|
||||
Uninstalling custom kernels installed through the script has to be done manually.
|
||||
The script can can help out with some useful information:
|
||||
```
|
||||
cd path/to/linux-tkg/linux59-rc-tkg
|
||||
cd path/to/linux-tkg/linux58-tkg
|
||||
./install.sh uninstall-help
|
||||
```
|
||||
|
||||
@ -51,4 +49,3 @@ The command to do for that is:
|
||||
```
|
||||
./install.sh config
|
||||
```
|
||||
|
@ -1,13 +1,13 @@
|
||||
# linux59-TkG config file
|
||||
|
||||
# Linux distribution you are using, options are "Arch", "Ubuntu", "Debian", "Fedora" or "Suse".
|
||||
# It is automatically set to "Arch" when using PKGBUILD.
|
||||
# Linux distribution you are using, options are "Arch", "Ubuntu", "Debian", "Fedora" or "Suse".
|
||||
# It is automati9ally set to "Arch" when using PKGBUILD.
|
||||
# If left empty, the script will prompt
|
||||
_distro=""
|
||||
|
||||
#### MISC OPTIONS ####
|
||||
#### MISC OPTIONS ####
|
||||
|
||||
# External config file to use - If the given file exists in path, it will override default config (customization.cfg) - Default is ~/.config/frogminer/linux52-tkg.cfg
|
||||
# External config file to use - If the given file exists in path, it will override default config (customization.cfg) - Default is ~/.config/frogminer/linux59-tkg.cfg
|
||||
_EXT_CONFIG_PATH=~/.config/frogminer/linux59-tkg.cfg
|
||||
|
||||
# [Arch specific] Set to anything else than "true" to limit cleanup operations and keep source and files generated during compilation.
|
||||
@ -45,7 +45,8 @@ _diffconfig_name=""
|
||||
|
||||
#### KERNEL OPTIONS ####
|
||||
|
||||
# [Arch specific] Name of the default config file to use from the linux???-tkg-config folder, use "distro" to use the config file of the kernel you are currently using. Arch default is "config.x86_64" and Arch hardened is "config_hardened.x86_64".
|
||||
# [Arch specific] Name of the default config file to use from the linux???-tkg-config folder.
|
||||
# Default is "config.x86_64" and hardened is "config_hardened.x86_64" (Arch-based).
|
||||
# To get a complete hardened setup, you have to use "cfs" as _cpusched
|
||||
_configfile="config.x86_64"
|
||||
|
||||
@ -54,9 +55,9 @@ _debugdisable="false"
|
||||
|
||||
# LEAVE AN EMPTY VALUE TO BE PROMPTED ABOUT FOLLOWING OPTIONS AT BUILD TIME
|
||||
|
||||
# CPU scheduler - Options are "pds" or "cfs"
|
||||
# "pds" is the recommended option for gaming
|
||||
#_cpusched=""
|
||||
# CPU scheduler - Options are "pds", "bmq" or "cfs"
|
||||
# "upds" is the recommended option for gaming
|
||||
_cpusched=""
|
||||
|
||||
# CPU sched_yield_type - Choose what sort of yield sched_yield will perform
|
||||
# For PDS and MuQSS: 0: No yield. (Recommended option for gaming on PDS and MuQSS)
|
||||
@ -65,7 +66,7 @@ _debugdisable="false"
|
||||
# For BMQ: 0: No yield.
|
||||
# 1: Deboost and requeue task. (Default)
|
||||
# 2: Set rq skip task.
|
||||
_sched_yield_type=""
|
||||
_sched_yield_type="0"
|
||||
|
||||
# Round Robin interval is the longest duration two tasks with the same nice level will be delayed for. When CPU time is requested by a task, it receives a time slice equal
|
||||
# to the rr_interval in addition to a virtual deadline. When using yield_type 2, a low value can help offset the disadvantages of rescheduling a process that has yielded.
|
||||
@ -97,15 +98,9 @@ _OFenable="false"
|
||||
# Set to "true" to use ACS override patch - https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF#Bypassing_the_IOMMU_groups_.28ACS_override_patch.29 - Kernel default is "false"
|
||||
_acs_override=""
|
||||
|
||||
# Set to "true" to add Bcache filesystem support. You'll have to install bcachefs-tools-git from AUR for utilities - https://bcachefs.org/ - If in doubt, set to "false"
|
||||
#_bcachefs=""
|
||||
|
||||
# Set to "true" to add back missing symbol for AES-NI/AVX support on ZFS - https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/kernel/export_kernel_fpu_functions.patch - Kernel default is "false"
|
||||
_zfsfix="true"
|
||||
|
||||
# Set to "true" to enable support for fsync, an experimental replacement for esync found in Valve Proton 4.11+ - https://steamcommunity.com/games/221410/announcements/detail/2957094910196249305
|
||||
#_fsync=""
|
||||
|
||||
# A selection of patches from Zen/Liquorix kernel and additional tweaks for a better gaming experience (ZENIFY) - Default is "true"
|
||||
_zenify="true"
|
||||
|
||||
@ -157,7 +152,7 @@ _custom_commandline="intel_pstate=passive"
|
||||
# !!! It will also change pkgname - If you don't explicitely need this, don't use it !!!
|
||||
_custom_pkgbase=""
|
||||
|
||||
# [non-Arch specific] Kernel localversion. Putting it to "Mario" will make for example the kernel version be 5.7.0-Mario (given by uname -r)
|
||||
# [non-Arch specific] Kernel localversion. Putting it to "Mario" will make for example the kernel version be 5.7.0-tkg-Mario (given by uname -r)
|
||||
# If left empty, it will use -tkg-"${_cpusched}" where "${_cpusched}" will be replaced by the user chosen scheduler
|
||||
_kernel_localversion=""
|
||||
|
@ -21,18 +21,16 @@ set -e
|
||||
|
||||
_where=`pwd`
|
||||
srcdir="$_where"
|
||||
# This is an RC, so subver will always be 0
|
||||
_kernel_subver=0
|
||||
|
||||
source linux*-tkg-config/prepare
|
||||
|
||||
_cpu_opt_patch_link="https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.8%2B.patch"
|
||||
_cpu_opt_patch_link="https://raw.githubusercontent.com/graysky2/kernel_gcc_patch/master/enable_additional_cpu_optimizations_for_gcc_v10.1%2B_kernel_v5.8%2B.patch"
|
||||
|
||||
source customization.cfg
|
||||
|
||||
if [ "$1" != "install" ] && [ "$1" != "config" ] && [ "$1" != "uninstall-help" ]; then
|
||||
msg2 "Argument not recognised, options are:
|
||||
- config : shallow clones the linux main git tree into the folder linux-main, then applies on it the extra patches and prepares the .config file
|
||||
- config : shallow clones the linux ${_basekernel}.x git tree into the folder linux-${_basekernel}, then applies on it the extra patches and prepares the .config file
|
||||
by copying the one from the current linux system in /boot/config-`uname -r` and updates it.
|
||||
- install : [RPM and DEB based distros only], does the config step, proceeds to compile, then prompts to install
|
||||
- uninstall-help : [RPM and DEB based distros only], lists the installed kernels in this system, then gives a hint on how to uninstall them manually."
|
||||
@ -99,29 +97,32 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
|
||||
_distro=""
|
||||
fi
|
||||
|
||||
if [ -d linux-main.orig ]; then
|
||||
rm -rf linux-main.orig
|
||||
if [ -d linux-${_basekernel}.orig ]; then
|
||||
rm -rf linux-${_basekernel}.orig
|
||||
fi
|
||||
|
||||
if [ -d linux-main ]; then
|
||||
if [ -d linux-${_basekernel} ]; then
|
||||
msg2 "Reseting files in linux-$_basekernel to their original state and getting latest updates"
|
||||
cd "$_where"/linux-main
|
||||
git reset --hard HEAD
|
||||
cd "$_where"/linux-${_basekernel}
|
||||
git checkout --force linux-$_basekernel.y
|
||||
git clean -f -d -x
|
||||
git checkout master
|
||||
git pull
|
||||
git checkout "v${_basekernel}-${_sub}"
|
||||
msg2 "Done"
|
||||
msg2 "Done"
|
||||
cd "$_where"
|
||||
else
|
||||
msg2 "Shallow git cloning linux kernel master branch"
|
||||
# Shallow clone the past 3 weeks
|
||||
_clone_start_date=$(date -d "$(date +"%Y/%m/%d") - 21 day" +"%Y/%m/%d")
|
||||
git clone --branch master --single-branch --shallow-since=$_clone_start_date https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git "$_where"/linux-main
|
||||
cd "$_where"/linux-main
|
||||
git checkout "v${_basekernel}-${_sub}"
|
||||
msg2 "Shallow git cloning linux $_basekernel"
|
||||
git clone --branch linux-$_basekernel.y --single-branch --depth=1 https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git linux-${_basekernel}
|
||||
msg2 "Done"
|
||||
fi
|
||||
cd "$_where"
|
||||
|
||||
# Define current kernel subversion
|
||||
if [ -z $_kernel_subver ]; then
|
||||
cd "$_where"/linux-${_basekernel}
|
||||
_kernelverstr=`git describe`
|
||||
_kernel_subver=${_kernelverstr:5}
|
||||
cd "$_where"
|
||||
fi
|
||||
|
||||
|
||||
# Run init script that is also run in PKGBUILD, it will define some env vars that we will use
|
||||
_tkg_initscript
|
||||
@ -133,7 +134,7 @@ if [ "$1" = "install" ] || [ "$1" = "config" ]; then
|
||||
# Follow Ubuntu install isntructions in https://wiki.ubuntu.com/KernelTeam/GitKernelBuild
|
||||
|
||||
# cd in linux folder, copy Ubuntu's current config file, update with new params
|
||||
cd "$_where"/linux-main
|
||||
cd "$_where"/linux-${_basekernel}
|
||||
|
||||
msg2 "Copying current kernel's config and running make oldconfig..."
|
||||
cp /boot/config-`uname -r` .config
|
||||
@ -203,7 +204,7 @@ if [ "$1" = "install" ]; then
|
||||
read -p "Do you want to install the new Kernel ? y/[n]: " _install
|
||||
if [[ $_install =~ [yY] ]] || [ $_install = "yes" ] || [ $_install = "Yes" ]; then
|
||||
cd "$_where"
|
||||
_kernelname=$_basekernel.$_kernel_subver-$_sub-$_kernel_flavor
|
||||
_kernelname=$_basekernel.$_kernel_subver-$_kernel_flavor
|
||||
_headers_deb="linux-headers-${_kernelname}*.deb"
|
||||
_image_deb="linux-image-${_kernelname}_*.deb"
|
||||
_kernel_devel_deb="linux-libc-dev_${_kernelname}*.deb"
|
||||
@ -219,8 +220,7 @@ if [ "$1" = "install" ]; then
|
||||
# Se we can actually refer properly to the rpm files.
|
||||
_kernel_flavor=${_kernel_flavor//-/_}
|
||||
|
||||
# Doesn't seem to include -rc(x) by default, so will have to add it to EXTRAVERSION
|
||||
if make -j ${_thread_num} rpm-pkg EXTRAVERSION="_${_sub}_${_kernel_flavor}"; then
|
||||
if make -j ${_thread_num} rpm-pkg EXTRAVERSION="_${_kernel_flavor}"; then
|
||||
msg2 "Building successfully finished!"
|
||||
|
||||
cd "$_where"
|
||||
@ -237,7 +237,7 @@ if [ "$1" = "install" ]; then
|
||||
read -p "Do you want to install the new Kernel ? y/[n]: " _install
|
||||
if [ "$_install" = "y" ] || [ "$_install" = "Y" ] || [ "$_install" = "yes" ] || [ "$_install" = "Yes" ]; then
|
||||
|
||||
_kernelname=$_basekernel.${_kernel_subver}_${_sub}_$_kernel_flavor
|
||||
_kernelname=$_basekernel.${_kernel_subver}_$_kernel_flavor
|
||||
_headers_rpm="kernel-headers-${_kernelname}*.rpm"
|
||||
_kernel_rpm="kernel-${_kernelname}*.rpm"
|
||||
_kernel_devel_rpm="kernel-devel-${_kernelname}*.rpm"
|
@ -1,10 +1,10 @@
|
||||
#
|
||||
# Automatically generated file; DO NOT EDIT.
|
||||
# Linux/x86 5.9.0-rc4 Kernel Configuration
|
||||
# Linux/x86 5.9.0 Kernel Configuration
|
||||
#
|
||||
CONFIG_CC_VERSION_TEXT="gcc (TkG-mostlyportable) 10.2.1 20200730"
|
||||
CONFIG_CC_VERSION_TEXT="gcc (GCC) 10.2.0"
|
||||
CONFIG_CC_IS_GCC=y
|
||||
CONFIG_GCC_VERSION=100201
|
||||
CONFIG_GCC_VERSION=100200
|
||||
CONFIG_LD_VERSION=235000000
|
||||
CONFIG_CLANG_VERSION=0
|
||||
CONFIG_CC_CAN_LINK=y
|
||||
@ -44,7 +44,7 @@ CONFIG_SYSVIPC=y
|
||||
CONFIG_SYSVIPC_SYSCTL=y
|
||||
CONFIG_POSIX_MQUEUE=y
|
||||
CONFIG_POSIX_MQUEUE_SYSCTL=y
|
||||
# CONFIG_WATCH_QUEUE is not set
|
||||
CONFIG_WATCH_QUEUE=y
|
||||
CONFIG_CROSS_MEMORY_ATTACH=y
|
||||
# CONFIG_USELIB is not set
|
||||
CONFIG_AUDIT=y
|
||||
@ -141,7 +141,7 @@ CONFIG_RCU_FANOUT_LEAF=16
|
||||
CONFIG_RCU_FAST_NO_HZ=y
|
||||
CONFIG_RCU_BOOST=y
|
||||
CONFIG_RCU_BOOST_DELAY=500
|
||||
CONFIG_RCU_NOCB_CPU=y
|
||||
# CONFIG_RCU_NOCB_CPU is not set
|
||||
# CONFIG_TASKS_TRACE_RCU_READ_MB is not set
|
||||
# end of RCU Subsystem
|
||||
|
||||
@ -243,6 +243,7 @@ CONFIG_SHMEM=y
|
||||
CONFIG_AIO=y
|
||||
CONFIG_IO_URING=y
|
||||
CONFIG_ADVISE_SYSCALLS=y
|
||||
CONFIG_HAVE_ARCH_USERFAULTFD_WP=y
|
||||
CONFIG_MEMBARRIER=y
|
||||
CONFIG_KALLSYMS=y
|
||||
CONFIG_KALLSYMS_ALL=y
|
||||
@ -253,7 +254,7 @@ CONFIG_BPF_SYSCALL=y
|
||||
CONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y
|
||||
CONFIG_BPF_JIT_ALWAYS_ON=y
|
||||
CONFIG_BPF_JIT_DEFAULT_ON=y
|
||||
# CONFIG_USERFAULTFD is not set
|
||||
CONFIG_USERFAULTFD=y
|
||||
CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y
|
||||
CONFIG_RSEQ=y
|
||||
# CONFIG_DEBUG_RSEQ is not set
|
||||
@ -595,6 +596,7 @@ CONFIG_PMIC_OPREGION=y
|
||||
CONFIG_BYTCRC_PMIC_OPREGION=y
|
||||
CONFIG_CHTCRC_PMIC_OPREGION=y
|
||||
CONFIG_XPOWER_PMIC_OPREGION=y
|
||||
CONFIG_BXT_WC_PMIC_OPREGION=y
|
||||
CONFIG_CHT_WC_PMIC_OPREGION=y
|
||||
CONFIG_CHT_DC_TI_PMIC_OPREGION=y
|
||||
CONFIG_ACPI_CONFIGFS=m
|
||||
@ -1032,7 +1034,7 @@ CONFIG_THP_SWAP=y
|
||||
CONFIG_CLEANCACHE=y
|
||||
CONFIG_FRONTSWAP=y
|
||||
# CONFIG_CMA is not set
|
||||
# CONFIG_MEM_SOFT_DIRTY is not set
|
||||
CONFIG_MEM_SOFT_DIRTY=y
|
||||
CONFIG_ZSWAP=y
|
||||
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_DEFLATE is not set
|
||||
# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO is not set
|
||||
@ -1699,7 +1701,7 @@ 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 is not set
|
||||
CONFIG_DEFAULT_FQ_CODEL=y
|
||||
# CONFIG_DEFAULT_FQ_PIE is not set
|
||||
# CONFIG_DEFAULT_SFQ is not set
|
||||
# CONFIG_DEFAULT_PFIFO_FAST is not set
|
||||
@ -2312,7 +2314,7 @@ CONFIG_RFD_FTL=m
|
||||
CONFIG_SSFDC=m
|
||||
CONFIG_SM_FTL=m
|
||||
CONFIG_MTD_OOPS=m
|
||||
# CONFIG_MTD_PSTORE is not set
|
||||
CONFIG_MTD_PSTORE=m
|
||||
CONFIG_MTD_SWAP=m
|
||||
CONFIG_MTD_PARTITIONED_MASTER=y
|
||||
|
||||
@ -2508,6 +2510,9 @@ CONFIG_XEN_BLKDEV_BACKEND=m
|
||||
CONFIG_VIRTIO_BLK=m
|
||||
CONFIG_BLK_DEV_RBD=m
|
||||
CONFIG_BLK_DEV_RSXX=m
|
||||
CONFIG_BLK_DEV_RNBD=y
|
||||
CONFIG_BLK_DEV_RNBD_CLIENT=m
|
||||
CONFIG_BLK_DEV_RNBD_SERVER=m
|
||||
|
||||
#
|
||||
# NVME Support
|
||||
@ -3739,9 +3744,10 @@ CONFIG_MT76x2U=m
|
||||
CONFIG_MT7603E=m
|
||||
CONFIG_MT7615_COMMON=m
|
||||
CONFIG_MT7615E=m
|
||||
# CONFIG_MT7663U is not set
|
||||
CONFIG_MT7663_USB_SDIO_COMMON=m
|
||||
CONFIG_MT7663U=m
|
||||
# CONFIG_MT7663S is not set
|
||||
# CONFIG_MT7915E is not set
|
||||
CONFIG_MT7915E=m
|
||||
CONFIG_WLAN_VENDOR_MICROCHIP=y
|
||||
CONFIG_WILC1000=m
|
||||
CONFIG_WILC1000_SDIO=m
|
||||
@ -3805,10 +3811,12 @@ CONFIG_RTW88_CORE=m
|
||||
CONFIG_RTW88_PCI=m
|
||||
CONFIG_RTW88_8822B=m
|
||||
CONFIG_RTW88_8822C=m
|
||||
CONFIG_RTW88_8723D=m
|
||||
CONFIG_RTW88_8821C=m
|
||||
CONFIG_RTW88_8822BE=m
|
||||
CONFIG_RTW88_8822CE=m
|
||||
# CONFIG_RTW88_8723DE is not set
|
||||
# CONFIG_RTW88_8821CE is not set
|
||||
CONFIG_RTW88_8723DE=m
|
||||
CONFIG_RTW88_8821CE=m
|
||||
CONFIG_RTW88_DEBUG=y
|
||||
CONFIG_RTW88_DEBUGFS=y
|
||||
CONFIG_WLAN_VENDOR_RSI=y
|
||||
@ -4294,7 +4302,6 @@ CONFIG_SERIAL_OF_PLATFORM=m
|
||||
#
|
||||
CONFIG_SERIAL_MAX3100=m
|
||||
CONFIG_SERIAL_MAX310X=m
|
||||
# CONFIG_SERIAL_IMX_EARLYCON is not set
|
||||
CONFIG_SERIAL_UARTLITE=m
|
||||
CONFIG_SERIAL_UARTLITE_NR_UARTS=1
|
||||
CONFIG_SERIAL_CORE=y
|
||||
@ -4583,6 +4590,7 @@ CONFIG_SPI_TLE62X0=m
|
||||
CONFIG_SPI_SLAVE=y
|
||||
CONFIG_SPI_SLAVE_TIME=m
|
||||
CONFIG_SPI_SLAVE_SYSTEM_CONTROL=m
|
||||
CONFIG_SPI_DYNAMIC=y
|
||||
CONFIG_SPMI=m
|
||||
CONFIG_HSI=m
|
||||
CONFIG_HSI_BOARDINFO=y
|
||||
@ -4723,8 +4731,8 @@ CONFIG_GPIO_GW_PLD=m
|
||||
CONFIG_GPIO_MAX7300=m
|
||||
CONFIG_GPIO_MAX732X=m
|
||||
CONFIG_GPIO_PCA953X=m
|
||||
# CONFIG_GPIO_PCA953X_IRQ is not set
|
||||
# CONFIG_GPIO_PCA9570 is not set
|
||||
CONFIG_GPIO_PCA953X_IRQ=y
|
||||
CONFIG_GPIO_PCA9570=m
|
||||
CONFIG_GPIO_PCF857X=m
|
||||
CONFIG_GPIO_TPIC2810=m
|
||||
# end of I2C GPIO expanders
|
||||
@ -4749,7 +4757,7 @@ CONFIG_GPIO_LP87565=m
|
||||
CONFIG_GPIO_MADERA=m
|
||||
CONFIG_GPIO_MAX77620=m
|
||||
CONFIG_GPIO_MAX77650=m
|
||||
# CONFIG_GPIO_MSIC is not set
|
||||
CONFIG_GPIO_MSIC=y
|
||||
CONFIG_GPIO_PALMAS=y
|
||||
CONFIG_GPIO_RC5T583=y
|
||||
CONFIG_GPIO_STMPE=y
|
||||
@ -4764,6 +4772,7 @@ CONFIG_GPIO_TQMX86=m
|
||||
CONFIG_GPIO_TWL4030=m
|
||||
CONFIG_GPIO_TWL6040=m
|
||||
CONFIG_GPIO_UCB1400=m
|
||||
CONFIG_GPIO_WHISKEY_COVE=m
|
||||
CONFIG_GPIO_WM831X=m
|
||||
CONFIG_GPIO_WM8350=m
|
||||
CONFIG_GPIO_WM8994=m
|
||||
@ -4909,6 +4918,7 @@ CONFIG_CHARGER_MAX77650=m
|
||||
CONFIG_CHARGER_MAX77693=m
|
||||
CONFIG_CHARGER_MAX8997=m
|
||||
CONFIG_CHARGER_MAX8998=m
|
||||
CONFIG_CHARGER_MP2629=m
|
||||
CONFIG_CHARGER_BQ2415X=m
|
||||
CONFIG_CHARGER_BQ24190=m
|
||||
CONFIG_CHARGER_BQ24257=m
|
||||
@ -4963,7 +4973,7 @@ CONFIG_SENSORS_APPLESMC=m
|
||||
CONFIG_SENSORS_ASB100=m
|
||||
CONFIG_SENSORS_ASPEED=m
|
||||
CONFIG_SENSORS_ATXP1=m
|
||||
# CONFIG_SENSORS_CORSAIR_CPRO is not set
|
||||
CONFIG_SENSORS_CORSAIR_CPRO=m
|
||||
CONFIG_SENSORS_DRIVETEMP=m
|
||||
CONFIG_SENSORS_DS620=m
|
||||
CONFIG_SENSORS_DS1621=m
|
||||
@ -4974,7 +4984,7 @@ CONFIG_SENSORS_I5K_AMB=m
|
||||
CONFIG_SENSORS_F71805F=m
|
||||
CONFIG_SENSORS_F71882FG=m
|
||||
CONFIG_SENSORS_F75375S=m
|
||||
# CONFIG_SENSORS_GSC is not set
|
||||
CONFIG_SENSORS_GSC=m
|
||||
CONFIG_SENSORS_MC13783_ADC=m
|
||||
CONFIG_SENSORS_FSCHMD=m
|
||||
CONFIG_SENSORS_FTSTEUTATES=m
|
||||
@ -5175,6 +5185,7 @@ CONFIG_INT3406_THERMAL=m
|
||||
CONFIG_PROC_THERMAL_MMIO_RAPL=y
|
||||
# end of ACPI INT340X thermal drivers
|
||||
|
||||
CONFIG_INTEL_BXT_PMIC_THERMAL=m
|
||||
CONFIG_INTEL_PCH_THERMAL=m
|
||||
# end of Intel thermal drivers
|
||||
|
||||
@ -5346,10 +5357,10 @@ CONFIG_MFD_INTEL_QUARK_I2C_GPIO=m
|
||||
CONFIG_LPC_ICH=m
|
||||
CONFIG_LPC_SCH=m
|
||||
CONFIG_INTEL_SOC_PMIC=y
|
||||
# CONFIG_INTEL_SOC_PMIC_BXTWC is not set
|
||||
CONFIG_INTEL_SOC_PMIC_BXTWC=m
|
||||
CONFIG_INTEL_SOC_PMIC_CHTWC=y
|
||||
CONFIG_INTEL_SOC_PMIC_CHTDC_TI=m
|
||||
# CONFIG_INTEL_SOC_PMIC_MRFLD is not set
|
||||
CONFIG_INTEL_SOC_PMIC_MRFLD=m
|
||||
CONFIG_MFD_INTEL_LPSS=m
|
||||
CONFIG_MFD_INTEL_LPSS_ACPI=m
|
||||
CONFIG_MFD_INTEL_LPSS_PCI=m
|
||||
@ -5483,7 +5494,7 @@ CONFIG_REGULATOR_BD71828=m
|
||||
CONFIG_REGULATOR_BD718XX=m
|
||||
CONFIG_REGULATOR_BD9571MWV=m
|
||||
CONFIG_REGULATOR_CPCAP=m
|
||||
# CONFIG_REGULATOR_CROS_EC is not set
|
||||
CONFIG_REGULATOR_CROS_EC=m
|
||||
CONFIG_REGULATOR_DA903X=m
|
||||
CONFIG_REGULATOR_DA9052=m
|
||||
CONFIG_REGULATOR_DA9055=m
|
||||
@ -5492,7 +5503,7 @@ CONFIG_REGULATOR_DA9063=m
|
||||
CONFIG_REGULATOR_DA9210=m
|
||||
CONFIG_REGULATOR_DA9211=m
|
||||
CONFIG_REGULATOR_FAN53555=m
|
||||
# CONFIG_REGULATOR_FAN53880 is not set
|
||||
CONFIG_REGULATOR_FAN53880=m
|
||||
CONFIG_REGULATOR_GPIO=m
|
||||
CONFIG_REGULATOR_HI6421=m
|
||||
CONFIG_REGULATOR_HI6421V530=m
|
||||
@ -5538,7 +5549,7 @@ CONFIG_REGULATOR_MT6323=m
|
||||
CONFIG_REGULATOR_MT6358=m
|
||||
CONFIG_REGULATOR_MT6397=m
|
||||
CONFIG_REGULATOR_PALMAS=m
|
||||
# CONFIG_REGULATOR_PCA9450 is not set
|
||||
CONFIG_REGULATOR_PCA9450=m
|
||||
CONFIG_REGULATOR_PCAP=m
|
||||
CONFIG_REGULATOR_PCF50633=m
|
||||
CONFIG_REGULATOR_PFUZE100=m
|
||||
@ -5547,7 +5558,7 @@ CONFIG_REGULATOR_PV88080=m
|
||||
CONFIG_REGULATOR_PV88090=m
|
||||
CONFIG_REGULATOR_PWM=m
|
||||
CONFIG_REGULATOR_QCOM_SPMI=m
|
||||
# CONFIG_REGULATOR_QCOM_USB_VBUS is not set
|
||||
CONFIG_REGULATOR_QCOM_USB_VBUS=m
|
||||
CONFIG_REGULATOR_RC5T583=m
|
||||
CONFIG_REGULATOR_RK808=m
|
||||
CONFIG_REGULATOR_RN5T618=m
|
||||
@ -5561,7 +5572,7 @@ CONFIG_REGULATOR_SLG51000=m
|
||||
CONFIG_REGULATOR_STPMIC1=m
|
||||
CONFIG_REGULATOR_SY8106A=m
|
||||
CONFIG_REGULATOR_SY8824X=m
|
||||
# CONFIG_REGULATOR_SY8827N is not set
|
||||
CONFIG_REGULATOR_SY8827N=m
|
||||
CONFIG_REGULATOR_TPS51632=m
|
||||
CONFIG_REGULATOR_TPS6105X=m
|
||||
CONFIG_REGULATOR_TPS62360=m
|
||||
@ -5583,7 +5594,7 @@ CONFIG_REGULATOR_WM831X=m
|
||||
CONFIG_REGULATOR_WM8350=m
|
||||
CONFIG_REGULATOR_WM8400=m
|
||||
CONFIG_REGULATOR_WM8994=m
|
||||
# CONFIG_REGULATOR_QCOM_LABIBB is not set
|
||||
CONFIG_REGULATOR_QCOM_LABIBB=m
|
||||
CONFIG_RC_CORE=m
|
||||
CONFIG_RC_MAP=m
|
||||
CONFIG_LIRC=y
|
||||
@ -5624,17 +5635,18 @@ CONFIG_IR_SERIAL=m
|
||||
CONFIG_IR_SERIAL_TRANSMITTER=y
|
||||
CONFIG_IR_SIR=m
|
||||
CONFIG_RC_XBOX_DVD=m
|
||||
# CONFIG_IR_TOY is not set
|
||||
CONFIG_IR_TOY=m
|
||||
CONFIG_CEC_CORE=m
|
||||
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 is not set
|
||||
# CONFIG_CEC_CROS_EC is not set
|
||||
CONFIG_CEC_CH7322=m
|
||||
CONFIG_CEC_CROS_EC=m
|
||||
CONFIG_CEC_GPIO=m
|
||||
# CONFIG_CEC_SECO is not set
|
||||
CONFIG_CEC_SECO=m
|
||||
CONFIG_CEC_SECO_RC=y
|
||||
CONFIG_USB_PULSE8_CEC=m
|
||||
CONFIG_USB_RAINSHADOW_CEC=m
|
||||
CONFIG_MEDIA_SUPPORT=m
|
||||
@ -6200,7 +6212,7 @@ CONFIG_VIDEO_S5C73M3=m
|
||||
CONFIG_VIDEO_AD5820=m
|
||||
CONFIG_VIDEO_AK7375=m
|
||||
CONFIG_VIDEO_DW9714=m
|
||||
# CONFIG_VIDEO_DW9768 is not set
|
||||
CONFIG_VIDEO_DW9768=m
|
||||
CONFIG_VIDEO_DW9807_VCM=m
|
||||
# end of Lens drivers
|
||||
|
||||
@ -6816,9 +6828,6 @@ CONFIG_HDMI=y
|
||||
# Console display driver support
|
||||
#
|
||||
CONFIG_VGA_CONSOLE=y
|
||||
CONFIG_VGACON_SOFT_SCROLLBACK=y
|
||||
CONFIG_VGACON_SOFT_SCROLLBACK_SIZE=64
|
||||
# CONFIG_VGACON_SOFT_SCROLLBACK_PERSISTENT_ENABLE_BY_DEFAULT is not set
|
||||
CONFIG_DUMMY_CONSOLE=y
|
||||
CONFIG_DUMMY_CONSOLE_COLUMNS=80
|
||||
CONFIG_DUMMY_CONSOLE_ROWS=25
|
||||
@ -7948,6 +7957,7 @@ CONFIG_TYPEC_TCPM=m
|
||||
CONFIG_TYPEC_TCPCI=m
|
||||
CONFIG_TYPEC_RT1711H=m
|
||||
CONFIG_TYPEC_FUSB302=m
|
||||
CONFIG_TYPEC_WCOVE=m
|
||||
CONFIG_TYPEC_UCSI=m
|
||||
CONFIG_UCSI_CCG=m
|
||||
CONFIG_UCSI_ACPI=m
|
||||
@ -7958,7 +7968,7 @@ CONFIG_TYPEC_TPS6598X=m
|
||||
# USB Type-C Multiplexer/DeMultiplexer Switch support
|
||||
#
|
||||
CONFIG_TYPEC_MUX_PI3USB30532=m
|
||||
# CONFIG_TYPEC_MUX_INTEL_PMC is not set
|
||||
CONFIG_TYPEC_MUX_INTEL_PMC=m
|
||||
# end of USB Type-C Multiplexer/DeMultiplexer Switch support
|
||||
|
||||
#
|
||||
@ -8037,7 +8047,7 @@ CONFIG_MEMSTICK_REALTEK_USB=m
|
||||
CONFIG_NEW_LEDS=y
|
||||
CONFIG_LEDS_CLASS=y
|
||||
CONFIG_LEDS_CLASS_FLASH=m
|
||||
# CONFIG_LEDS_CLASS_MULTICOLOR is not set
|
||||
CONFIG_LEDS_CLASS_MULTICOLOR=m
|
||||
CONFIG_LEDS_BRIGHTNESS_HW_CHANGED=y
|
||||
|
||||
#
|
||||
@ -8191,8 +8201,9 @@ CONFIG_INFINIBAND_SRP=m
|
||||
CONFIG_INFINIBAND_SRPT=m
|
||||
CONFIG_INFINIBAND_ISER=m
|
||||
CONFIG_INFINIBAND_ISERT=m
|
||||
# CONFIG_INFINIBAND_RTRS_CLIENT is not set
|
||||
# CONFIG_INFINIBAND_RTRS_SERVER is not set
|
||||
CONFIG_INFINIBAND_RTRS=m
|
||||
CONFIG_INFINIBAND_RTRS_CLIENT=m
|
||||
CONFIG_INFINIBAND_RTRS_SERVER=m
|
||||
CONFIG_INFINIBAND_OPA_VNIC=m
|
||||
CONFIG_EDAC_ATOMIC_SCRUB=y
|
||||
CONFIG_EDAC_SUPPORT=y
|
||||
@ -8476,7 +8487,8 @@ CONFIG_VIRTIO_MMIO_CMDLINE_DEVICES=y
|
||||
CONFIG_VDPA=m
|
||||
CONFIG_VDPA_SIM=m
|
||||
CONFIG_IFCVF=m
|
||||
# CONFIG_MLX5_VDPA is not set
|
||||
CONFIG_MLX5_VDPA=y
|
||||
CONFIG_MLX5_VDPA_NET=m
|
||||
CONFIG_VHOST_IOTLB=m
|
||||
CONFIG_VHOST_RING=m
|
||||
CONFIG_VHOST=m
|
||||
@ -8702,7 +8714,17 @@ CONFIG_AD2S1210=m
|
||||
|
||||
# CONFIG_FB_SM750 is not set
|
||||
CONFIG_STAGING_MEDIA=y
|
||||
# CONFIG_INTEL_ATOMISP is not set
|
||||
CONFIG_INTEL_ATOMISP=y
|
||||
CONFIG_VIDEO_ATOMISP=m
|
||||
CONFIG_VIDEO_ATOMISP_ISP2401=y
|
||||
CONFIG_VIDEO_ATOMISP_OV5693=m
|
||||
CONFIG_VIDEO_ATOMISP_OV2722=m
|
||||
CONFIG_VIDEO_ATOMISP_GC2235=m
|
||||
CONFIG_VIDEO_ATOMISP_MSRLIST_HELPER=m
|
||||
CONFIG_VIDEO_ATOMISP_MT9M114=m
|
||||
CONFIG_VIDEO_ATOMISP_GC0310=m
|
||||
CONFIG_VIDEO_ATOMISP_OV2680=m
|
||||
CONFIG_VIDEO_ATOMISP_LM3554=m
|
||||
CONFIG_VIDEO_IPU3_IMGU=m
|
||||
CONFIG_VIDEO_USBVISION=m
|
||||
|
||||
@ -8800,8 +8822,7 @@ CONFIG_THINKPAD_ACPI_ALSA_SUPPORT=y
|
||||
# CONFIG_THINKPAD_ACPI_UNSAFE_LEDS is not set
|
||||
CONFIG_THINKPAD_ACPI_VIDEO=y
|
||||
CONFIG_THINKPAD_ACPI_HOTKEY_POLL=y
|
||||
# CONFIG_INTEL_ATOMISP2_LED is not set
|
||||
CONFIG_INTEL_ATOMISP2_PM=m
|
||||
CONFIG_INTEL_ATOMISP2_LED=m
|
||||
CONFIG_INTEL_CHT_INT33FE=m
|
||||
CONFIG_INTEL_HID_EVENT=m
|
||||
CONFIG_INTEL_INT0002_VGPIO=m
|
||||
@ -8844,9 +8865,11 @@ CONFIG_INTEL_SPEED_SELECT_INTERFACE=m
|
||||
|
||||
CONFIG_INTEL_TURBO_MAX_3=y
|
||||
CONFIG_INTEL_UNCORE_FREQ_CONTROL=m
|
||||
CONFIG_INTEL_BXTWC_PMIC_TMU=m
|
||||
CONFIG_INTEL_CHTDC_TI_PWRBTN=m
|
||||
# CONFIG_INTEL_MFLD_THERMAL is not set
|
||||
# CONFIG_INTEL_MID_POWER_BUTTON is not set
|
||||
CONFIG_INTEL_MFLD_THERMAL=m
|
||||
CONFIG_INTEL_MID_POWER_BUTTON=m
|
||||
CONFIG_INTEL_MRFLD_PWRBTN=m
|
||||
CONFIG_INTEL_PMC_CORE=y
|
||||
CONFIG_INTEL_PUNIT_IPC=m
|
||||
CONFIG_INTEL_SCU_IPC=y
|
||||
@ -9051,6 +9074,7 @@ CONFIG_EXTCON_FSA9480=m
|
||||
CONFIG_EXTCON_GPIO=m
|
||||
CONFIG_EXTCON_INTEL_INT3496=m
|
||||
CONFIG_EXTCON_INTEL_CHT_WC=m
|
||||
CONFIG_EXTCON_INTEL_MRFLD=m
|
||||
CONFIG_EXTCON_MAX14577=m
|
||||
CONFIG_EXTCON_MAX3355=m
|
||||
CONFIG_EXTCON_MAX77693=m
|
||||
@ -9159,6 +9183,7 @@ CONFIG_ENVELOPE_DETECTOR=m
|
||||
CONFIG_HI8435=m
|
||||
CONFIG_HX711=m
|
||||
CONFIG_INA2XX_ADC=m
|
||||
CONFIG_INTEL_MRFLD_ADC=m
|
||||
CONFIG_LP8788_ADC=m
|
||||
CONFIG_LTC2471=m
|
||||
CONFIG_LTC2485=m
|
||||
@ -9174,7 +9199,7 @@ CONFIG_MCP320X=m
|
||||
CONFIG_MCP3422=m
|
||||
CONFIG_MCP3911=m
|
||||
CONFIG_MEN_Z188_ADC=m
|
||||
# CONFIG_MP2629_ADC is not set
|
||||
CONFIG_MP2629_ADC=m
|
||||
CONFIG_NAU7802=m
|
||||
CONFIG_PALMAS_GPADC=m
|
||||
CONFIG_QCOM_VADC_COMMON=m
|
||||
@ -9390,8 +9415,9 @@ CONFIG_FXOS8700=m
|
||||
CONFIG_FXOS8700_I2C=m
|
||||
CONFIG_FXOS8700_SPI=m
|
||||
CONFIG_KMX61=m
|
||||
# CONFIG_INV_ICM42600_I2C is not set
|
||||
# CONFIG_INV_ICM42600_SPI is not set
|
||||
CONFIG_INV_ICM42600=m
|
||||
CONFIG_INV_ICM42600_I2C=m
|
||||
CONFIG_INV_ICM42600_SPI=m
|
||||
CONFIG_INV_MPU6050_IIO=m
|
||||
CONFIG_INV_MPU6050_I2C=m
|
||||
CONFIG_INV_MPU6050_SPI=m
|
||||
@ -9815,10 +9841,10 @@ CONFIG_SIOX=m
|
||||
CONFIG_SIOX_BUS_GPIO=m
|
||||
CONFIG_SLIMBUS=m
|
||||
CONFIG_SLIM_QCOM_CTRL=m
|
||||
# CONFIG_INTERCONNECT is not set
|
||||
CONFIG_INTERCONNECT=y
|
||||
CONFIG_COUNTER=m
|
||||
CONFIG_FTM_QUADDEC=m
|
||||
# CONFIG_MICROCHIP_TCB_CAPTURE is not set
|
||||
CONFIG_MICROCHIP_TCB_CAPTURE=m
|
||||
CONFIG_MOST=m
|
||||
# CONFIG_MOST_USB_HDM is not set
|
||||
# end of Device Drivers
|
||||
@ -10223,6 +10249,7 @@ CONFIG_PERSISTENT_KEYRINGS=y
|
||||
CONFIG_TRUSTED_KEYS=m
|
||||
CONFIG_ENCRYPTED_KEYS=m
|
||||
CONFIG_KEY_DH_OPERATIONS=y
|
||||
CONFIG_KEY_NOTIFICATIONS=y
|
||||
# CONFIG_SECURITY_DMESG_RESTRICT is not set
|
||||
CONFIG_SECURITY=y
|
||||
CONFIG_SECURITYFS=y
|
||||
@ -10473,7 +10500,7 @@ CONFIG_CRYPTO_DEFLATE=m
|
||||
CONFIG_CRYPTO_LZO=m
|
||||
CONFIG_CRYPTO_842=m
|
||||
CONFIG_CRYPTO_LZ4=y
|
||||
CONFIG_CRYPTO_LZ4HC=y
|
||||
CONFIG_CRYPTO_LZ4HC=m
|
||||
CONFIG_CRYPTO_ZSTD=y
|
||||
|
||||
#
|
||||
@ -10613,7 +10640,7 @@ CONFIG_ZLIB_DEFLATE=y
|
||||
CONFIG_LZO_COMPRESS=y
|
||||
CONFIG_LZO_DECOMPRESS=y
|
||||
CONFIG_LZ4_COMPRESS=y
|
||||
CONFIG_LZ4HC_COMPRESS=y
|
||||
CONFIG_LZ4HC_COMPRESS=m
|
||||
CONFIG_LZ4_DECOMPRESS=y
|
||||
CONFIG_ZSTD_COMPRESS=y
|
||||
CONFIG_ZSTD_DECOMPRESS=y
|
||||
@ -10763,6 +10790,7 @@ CONFIG_HAVE_ARCH_KGDB=y
|
||||
# CONFIG_KGDB is not set
|
||||
CONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y
|
||||
# CONFIG_UBSAN is not set
|
||||
CONFIG_HAVE_ARCH_KCSAN=y
|
||||
# end of Generic Kernel Debugging Instruments
|
||||
|
||||
CONFIG_DEBUG_KERNEL=y
|
||||
@ -10954,7 +10982,6 @@ CONFIG_HIST_TRIGGERS=y
|
||||
# CONFIG_HIST_TRIGGERS_DEBUG is not set
|
||||
# CONFIG_PROVIDE_OHCI1394_DMA_INIT is not set
|
||||
# CONFIG_SAMPLES is not set
|
||||
CONFIG_HAVE_ARCH_KCSAN=y
|
||||
CONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
|
||||
CONFIG_STRICT_DEVMEM=y
|
||||
CONFIG_IO_STRICT_DEVMEM=y
|
@ -2,16 +2,8 @@
|
||||
# Generic Desktop
|
||||
|
||||
|
||||
#### MISC OPTIONS ####
|
||||
|
||||
# External config file to use - If the given file exists in path, it will override default config (customization.cfg) - Default is ~/.config/frogminer/linux50-tkg.cfg
|
||||
_EXT_CONFIG_PATH=~/.config/frogminer/linux57-tkg.cfg
|
||||
|
||||
#### KERNEL OPTIONS ####
|
||||
|
||||
# Name of the default config file to use from the linux???-tkg-config folder. Arch default is "config.x86_64".
|
||||
_configfile="config.x86_64"
|
||||
|
||||
# Disable some non-module debugging - See PKGBUILD for the list
|
||||
_debugdisable="false"
|
||||
|
||||
@ -41,15 +33,3 @@ _runqueue_sharing="mc"
|
||||
|
||||
# Timer frequency - "500", "750" or "1000" - More options available in kernel config prompt when left empty depending on selected cpusched - Kernel default is "750"
|
||||
_timer_freq="500"
|
||||
|
||||
|
||||
#### USER PATCHES ####
|
||||
|
||||
# You can use your own patches by putting them in the same folder as the PKGBUILD and giving them the .mypatch extension.
|
||||
# You can also revert patches by putting them in the same folder as the PKGBUILD and giving them the .myrevert extension.
|
||||
|
||||
# Also, userpatches variable below must be set to true for the above to work.
|
||||
_user_patches="true"
|
||||
|
||||
# Apply all user patches without confirmation - !!! NOT RECOMMENDED !!!
|
||||
_user_patches_no_confirm="false"
|
@ -2,7 +2,7 @@
|
||||
|
||||
_basever=59
|
||||
_basekernel=5.9
|
||||
_sub=rc8
|
||||
_sub=0
|
||||
|
||||
_tkg_initscript() {
|
||||
|
||||
@ -31,35 +31,37 @@ _tkg_initscript() {
|
||||
fi
|
||||
|
||||
# CPU SCHED selector
|
||||
#if [ -z "$_cpusched" ] && [ ! -e "$_where"/cpuschedset ]; then
|
||||
# plain "What CPU sched variant do you want to build/install?"
|
||||
# read -rp "`echo $' > 1.PDS\n 2.CFS\nchoice[1-2?]: '`" CONDITION;
|
||||
# if [ "$CONDITION" = "2" ]; then
|
||||
# echo "_cpusched=\"cfs\"" > "$_where"/cpuschedset
|
||||
# else
|
||||
# echo "_cpusched=\"pds\"" > "$_where"/cpuschedset
|
||||
# fi
|
||||
if [ -z "$_cpusched" ] && [ ! -e "$_where"/cpuschedset ]; then
|
||||
plain "What CPU sched variant do you want to build/install?"
|
||||
read -rp "`echo $' > 1.Project C / PDS\n 2.Project C / BMQ\n 3.CFS\nchoice[1-3?]: '`" CONDITION;
|
||||
if [ "$CONDITION" = "2" ]; then
|
||||
echo "_cpusched=\"bmq\"" > "$_where"/cpuschedset
|
||||
elif [ "$CONDITION" = "3" ]; then
|
||||
echo "_cpusched=\"cfs\"" > "$_where"/cpuschedset
|
||||
else
|
||||
echo "_cpusched=\"pds\"" > "$_where"/cpuschedset
|
||||
fi
|
||||
if [ -n "$_custom_pkgbase" ]; then
|
||||
echo "_custom_pkgbase=\"${_custom_pkgbase}\"" >> "$_where"/cpuschedset
|
||||
fi
|
||||
#elif [ "$_cpusched" = "muqss" ] || [ "$_cpusched" = "MuQSS" ]; then
|
||||
# echo "_cpusched=\"MuQSS\"" > "$_where"/cpuschedset
|
||||
#elif [ "$_cpusched" = "pds" ]; then
|
||||
# echo "_cpusched=\"pds\"" > "$_where"/cpuschedset
|
||||
#elif [ "$_cpusched" = "bmq" ]; then
|
||||
# echo "_cpusched=\"bmq\"" > "$_where"/cpuschedset
|
||||
#else
|
||||
# if [ "$_nofallback" != "true" ]; then
|
||||
# warning "Something is wrong with your cpusched selection. Do you want to fallback to CFS (default)?"
|
||||
# read -rp "`echo $' > N/y : '`" _fallback;
|
||||
# fi
|
||||
# if [[ "$_fallback" =~ [yY] ]] || [ "$_nofallback" = "true" ]; then
|
||||
elif [ "$_cpusched" = "pds" ]; then
|
||||
echo "_cpusched=\"pds\"" > "$_where"/cpuschedset
|
||||
elif [ "$_cpusched" = "cfs" ]; then
|
||||
echo "_cpusched=\"cfs\"" > "$_where"/cpuschedset
|
||||
elif [ "$_cpusched" = "bmq" ]; then
|
||||
echo "_cpusched=\"bmq\"" > "$_where"/cpuschedset
|
||||
else
|
||||
if [ "$_nofallback" != "true" ]; then
|
||||
warning "Something is wrong with your cpusched selection. Do you want to fallback to CFS (default)?"
|
||||
read -rp "`echo $' > N/y : '`" _fallback;
|
||||
fi
|
||||
if [[ "$_fallback" =~ [yY] ]] || [ "$_nofallback" = "true" ]; then
|
||||
echo "_cpusched=\"cfs\"" > "$_where"/cpuschedset
|
||||
# else
|
||||
# error "Exiting..."
|
||||
# exit 1
|
||||
# fi
|
||||
#fi
|
||||
else
|
||||
error "Exiting..."
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
source "$_where"/cpuschedset
|
||||
}
|
||||
@ -117,7 +119,7 @@ _tkg_srcprep() {
|
||||
msg2 "Setting version..."
|
||||
scripts/setlocalversion --save-scmversion
|
||||
echo "-$pkgrel-tkg-${_cpusched}" > localversion.10-pkgrel
|
||||
echo "" > localversion.20-pkgname
|
||||
echo "" > localversion.20-pkgname
|
||||
|
||||
# add upstream patch
|
||||
#msg2 "Patching from $_basekernel to $pkgver"
|
||||
@ -164,7 +166,7 @@ _tkg_srcprep() {
|
||||
# MuQSS
|
||||
msg2 "Applying MuQSS base patch"
|
||||
patch -Np1 -i "$srcdir"/0004-5.9-ck1.patch
|
||||
|
||||
|
||||
if [ "${_aggressive_ondemand}" = "true" ]; then
|
||||
msg2 "Applying MuQSS agressive ondemand governor patch"
|
||||
patch -Np1 -i "$srcdir"/0004-glitched-ondemand-muqss.patch
|
||||
@ -172,24 +174,24 @@ _tkg_srcprep() {
|
||||
|
||||
msg2 "Applying Glitched MuQSS patch"
|
||||
patch -Np1 -i "$srcdir"/0004-glitched-muqss.patch
|
||||
|
||||
|
||||
elif [ "${_cpusched}" = "pds" ]; then
|
||||
# PDS-mq
|
||||
msg2 "Applying PDS base patch"
|
||||
patch -Np1 -i "$srcdir"/0005-v5.9_undead-pds099o.patch
|
||||
patch -Np1 -i "$srcdir"/0009-prjc_v5.9-r0.patch
|
||||
|
||||
if [ "${_aggressive_ondemand}" = "true" ]; then
|
||||
msg2 "Applying PDS agressive ondemand governor patch"
|
||||
patch -Np1 -i "$srcdir"/0005-glitched-ondemand-pds.patch
|
||||
patch -Np1 -i "$srcdir"/0009-glitched-ondemand-bmq.patch
|
||||
fi
|
||||
|
||||
msg2 "Applying Glitched PDS patch"
|
||||
patch -Np1 -i "$srcdir"/0005-glitched-pds.patch
|
||||
|
||||
|
||||
elif [ "${_cpusched}" = "bmq" ]; then
|
||||
# Project C / BMQ
|
||||
msg2 "Applying Project C / BMQ base patch"
|
||||
|
||||
|
||||
patch -Np1 -i "$srcdir"/0009-prjc_v5.9-r0.patch
|
||||
|
||||
if [ "${_aggressive_ondemand}" = "true" ]; then
|
||||
@ -211,7 +213,7 @@ _tkg_srcprep() {
|
||||
fi
|
||||
|
||||
cat "${srcdir}/${_configfile}" > ./.config
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
# Set some -tkg defaults
|
||||
@ -227,12 +229,17 @@ _tkg_srcprep() {
|
||||
sed -i -e 's/CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO=y/# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZO is not set/' ./.config
|
||||
sed -i -e 's/# CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4 is not set/CONFIG_ZSWAP_COMPRESSOR_DEFAULT_LZ4=y/' ./.config
|
||||
sed -i -e 's/CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lzo"/CONFIG_ZSWAP_COMPRESSOR_DEFAULT="lz4"/' ./.config
|
||||
#sed -i -e 's/CONFIG_RCU_BOOST_DELAY=500/CONFIG_RCU_BOOST_DELAY=0/' ./.config
|
||||
sed -i -e 's/CONFIG_RCU_BOOST_DELAY=500/CONFIG_RCU_BOOST_DELAY=0/' ./.config
|
||||
sed -i -e 's/# CONFIG_CMDLINE_BOOL is not set/CONFIG_CMDLINE_BOOL=y/' ./.config
|
||||
echo "CONFIG_CMDLINE=\"${_custom_commandline}\"" >> ./.config
|
||||
echo "# CONFIG_CMDLINE_OVERRIDE is not set" >> ./.config
|
||||
echo "# CONFIG_X86_P6_NOP is not set" >> ./.config
|
||||
if [ "$_noccache" != "true" ]; then
|
||||
|
||||
# openrgb
|
||||
echo "CONFIG_I2C_NCT6775=m" >> ./.config
|
||||
|
||||
# ccache fix
|
||||
if [ "$_noccache" != "true" ]; then
|
||||
if { [ "$_distro" = "Arch" ] && pacman -Qq ccache &> /dev/null; } || { [ "$_distro" = "Ubuntu" ] && dpkg -l ccache > /dev/null; }; then
|
||||
sed -i -e 's/CONFIG_GCC_PLUGINS=y/# CONFIG_GCC_PLUGINS is not set/' ./.config
|
||||
fi
|
||||
@ -293,10 +300,14 @@ _tkg_srcprep() {
|
||||
echo "CONFIG_SCHED_MUQSS=y" >> ./.config
|
||||
elif [ "${_cpusched}" = "pds" ]; then
|
||||
# PDS default config
|
||||
echo "CONFIG_SCHED_ALT=y" >> ./.config
|
||||
echo "CONFIG_SCHED_PDS=y" >> ./.config
|
||||
echo "# CONFIG_SCHED_BMQ is not set" >> ./.config
|
||||
elif [ "${_cpusched}" = "bmq" ]; then
|
||||
# BMQ default config
|
||||
echo "CONFIG_SCHED_ALT=y" >> ./.config
|
||||
echo "CONFIG_SCHED_BMQ=y" >> ./.config
|
||||
echo "# CONFIG_SCHED_PDS is not set" >> ./.config
|
||||
fi
|
||||
|
||||
if [ "${_cpusched}" = "MuQSS" ] || [ "${_cpusched}" = "pds" ] || [ "${_cpusched}" = "bmq" ]; then
|
||||
@ -326,7 +337,7 @@ _tkg_srcprep() {
|
||||
fi
|
||||
fi
|
||||
if [ "$CONDITION0" = "0" ]; then
|
||||
if [ "${_cpusched}" = "bmq" ]; then
|
||||
if [ "${_cpusched}" = "bmq" ] || [ "${_cpusched}" = "pds" ]; then
|
||||
sed -i -e 's/int sched_yield_type __read_mostly = 1;/int sched_yield_type __read_mostly = 0;/' ./kernel/sched/alt_core.c
|
||||
else
|
||||
sed -i -e 's/int sched_yield_type __read_mostly = 1;/int sched_yield_type __read_mostly = 0;/' ./kernel/sched/"${_cpusched}".c
|
||||
@ -334,7 +345,7 @@ _tkg_srcprep() {
|
||||
elif [ "$CONDITION0" = "1" ]; then
|
||||
msg2 "Using default CPU sched yield type (1)"
|
||||
elif [ "$CONDITION0" = "2" ]; then
|
||||
if [ "${_cpusched}" = "bmq" ]; then
|
||||
if [ "${_cpusched}" = "bmq" ] || [ "${_cpusched}" = "pds" ]; then
|
||||
sed -i -e 's/int sched_yield_type __read_mostly = 1;/int sched_yield_type __read_mostly = 2;/' ./kernel/sched/alt_core.c
|
||||
else
|
||||
sed -i -e 's/int sched_yield_type __read_mostly = 1;/int sched_yield_type __read_mostly = 2;/' ./kernel/sched/"${_cpusched}".c
|
||||
@ -342,7 +353,7 @@ _tkg_srcprep() {
|
||||
else
|
||||
if [ "${_cpusched}" = "MuQSS" ]; then
|
||||
msg2 "Using default CPU sched yield type (1)"
|
||||
elif [ "${_cpusched}" = "bmq" ]; then
|
||||
elif [ "${_cpusched}" = "bmq" ] || [ "${_cpusched}" = "pds" ]; then
|
||||
sed -i -e 's/int sched_yield_type __read_mostly = 1;/int sched_yield_type __read_mostly = 0;/' ./kernel/sched/alt_core.c
|
||||
else
|
||||
sed -i -e 's/int sched_yield_type __read_mostly = 1;/int sched_yield_type __read_mostly = 0;/' ./kernel/sched/"${_cpusched}".c
|
||||
@ -385,13 +396,11 @@ _tkg_srcprep() {
|
||||
if [ "$_rrvalue" != "default" ]; then
|
||||
if [ "${_cpusched}" = "MuQSS" ]; then
|
||||
sed -i -e "s/int rr_interval __read_mostly = 6;/int rr_interval __read_mostly = ${_rrvalue};/" ./kernel/sched/"${_cpusched}".c
|
||||
elif [ "${_cpusched}" = "pds" ]; then
|
||||
sed -i -e "s/#define SCHED_DEFAULT_RR (4)/#define SCHED_DEFAULT_RR (${_rrvalue})/" ./kernel/sched/"${_cpusched}".c
|
||||
elif [ "${_cpusched}" = "bmq" ]; then
|
||||
elif [ "${_cpusched}" = "bmq" ] || [ "${_cpusched}" = "pds" ]; then
|
||||
sed -i -e "s/u64 sched_timeslice_ns __read_mostly = (4 * 1000 * 1000);/u64 sched_timeslice_ns __read_mostly = (${_rrvalue} * 1000 * 1000);/" ./kernel/sched/alt_core.c
|
||||
fi
|
||||
else
|
||||
if [ "${_cpusched}" = "bmq" ]; then
|
||||
if [ "${_cpusched}" = "bmq" ] || [ "${_cpusched}" = "pds" ]; then
|
||||
sed -i -e "s/u64 sched_timeslice_ns __read_mostly = (4 * 1000 * 1000);/u64 sched_timeslice_ns __read_mostly = (2 * 1000 * 1000);/" ./kernel/sched/alt_core.c
|
||||
fi
|
||||
fi
|
||||
@ -727,7 +736,7 @@ _tkg_srcprep() {
|
||||
#fi
|
||||
#if [[ "$CONDITION8" =~ [yY] ]] || [ "$_bcachefs" = "true" ]; then
|
||||
# msg2 "Patching Bcache filesystem support override"
|
||||
# patch -Np1 -i "$srcdir"/0008-5.9-bcachefs.patch
|
||||
# patch -Np1 -i "$srcdir"/0008-5.8-bcachefs.patch
|
||||
# echo "CONFIG_BCACHEFS_FS=m" >> ./.config
|
||||
# echo "CONFIG_BCACHEFS_QUOTA=y" >> ./.config
|
||||
# echo "CONFIG_BCACHEFS_POSIX_ACL=y" >> ./.config
|
||||
@ -745,7 +754,7 @@ _tkg_srcprep() {
|
||||
#fi
|
||||
#if [[ "$CONDITION9" =~ [yY] ]] || [ "$_fsync" = "true" ]; then
|
||||
# msg2 "Patching Fsync support"
|
||||
# patch -Np1 -i "$srcdir"/0007-v5.9-fsync.patch
|
||||
# patch -Np1 -i "$srcdir"/0007-v5.8-fsync.patch
|
||||
#fi
|
||||
|
||||
# ZFS fix
|
||||
@ -790,7 +799,7 @@ _tkg_srcprep() {
|
||||
# get kernel version
|
||||
make prepare
|
||||
fi
|
||||
|
||||
|
||||
# modprobed-db
|
||||
if [ -z "$_modprobeddb" ]; then
|
||||
plain ""
|
||||
@ -965,7 +974,7 @@ exit_cleanup() {
|
||||
rm -f "$srcdir"/linux-${_basekernel}/lib/sradix-tree.c
|
||||
rm -f "$srcdir"/linux-${_basekernel}/mm/uksm.c
|
||||
fi
|
||||
|
||||
|
||||
remove_deps
|
||||
fi
|
||||
|
@ -2,16 +2,8 @@
|
||||
# Ryzen Desktop
|
||||
|
||||
|
||||
#### MISC OPTIONS ####
|
||||
|
||||
# External config file to use - If the given file exists in path, it will override default config (customization.cfg) - Default is ~/.config/frogminer/linux52-tkg.cfg
|
||||
_EXT_CONFIG_PATH=~/.config/frogminer/linux57-tkg.cfg
|
||||
|
||||
#### KERNEL OPTIONS ####
|
||||
|
||||
# Name of the default config file to use from the linux???-tkg-config folder. Arch default is "config.x86_64".
|
||||
_configfile="config.x86_64"
|
||||
|
||||
# Disable some non-module debugging - See PKGBUILD for the list
|
||||
_debugdisable="false"
|
||||
|
||||
@ -44,15 +36,3 @@ _timer_freq="500"
|
||||
|
||||
# Default CPU governor - "performance", "ondemand" (tweaked), "schedutil" or leave empty for default (schedutil on AMD and legacy Intel, intel_pstate on modern Intel) - Enforcing an option will disable intel_pstate altogether!
|
||||
_default_cpu_gov="performance"
|
||||
|
||||
|
||||
#### USER PATCHES ####
|
||||
|
||||
# You can use your own patches by putting them in the same folder as the PKGBUILD and giving them the .mypatch extension.
|
||||
# You can also revert patches by putting them in the same folder as the PKGBUILD and giving them the .myrevert extension.
|
||||
|
||||
# Also, userpatches variable below must be set to true for the above to work.
|
||||
_user_patches="true"
|
||||
|
||||
# Apply all user patches without confirmation - !!! NOT RECOMMENDED !!!
|
||||
_user_patches_no_confirm="false"
|
@ -1,4 +1,4 @@
|
||||
From 2ac70785613ef4c6b16414986bb18bd7b60d2a13 Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Arjan van de Ven <arjan@linux.intel.com>
|
||||
Date: Mon, 14 Mar 2016 11:10:58 -0600
|
||||
Subject: [PATCH] pci pme wakeups
|
||||
@ -10,10 +10,10 @@ boards (sadly, too many of them) in laptops.
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
|
||||
index c25acace7d91..0ddebdad9f5b 100644
|
||||
index c9338f9..6974fbf 100644
|
||||
--- a/drivers/pci/pci.c
|
||||
+++ b/drivers/pci/pci.c
|
||||
@@ -61,7 +61,7 @@ struct pci_pme_device {
|
||||
@@ -62,7 +62,7 @@ struct pci_pme_device {
|
||||
struct pci_dev *dev;
|
||||
};
|
||||
|
||||
@ -23,9 +23,9 @@ index c25acace7d91..0ddebdad9f5b 100644
|
||||
static void pci_dev_d3_sleep(struct pci_dev *dev)
|
||||
{
|
||||
--
|
||||
2.20.1
|
||||
https://clearlinux.org
|
||||
|
||||
From 7e7e36c67aa71d6a1ec5676d99d37c1fea389ceb Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Arjan van de Ven <arjan@linux.intel.com>
|
||||
Date: Sat, 19 Mar 2016 21:32:19 -0400
|
||||
Subject: [PATCH] intel_idle: tweak cpuidle cstates
|
||||
@ -41,19 +41,19 @@ performance while keeping power efficiency
|
||||
1 file changed, 22 insertions(+), 22 deletions(-)
|
||||
|
||||
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
|
||||
index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
index f449584..c994d24 100644
|
||||
--- a/drivers/idle/intel_idle.c
|
||||
+++ b/drivers/idle/intel_idle.c
|
||||
@@ -466,7 +466,7 @@ static struct cpuidle_state hsw_cstates[] = {
|
||||
@@ -531,7 +531,7 @@ static struct cpuidle_state hsw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x01",
|
||||
.flags = MWAIT2flg(0x01),
|
||||
.flags = MWAIT2flg(0x01) | CPUIDLE_FLAG_ALWAYS_ENABLE,
|
||||
.exit_latency = 10,
|
||||
- .target_residency = 20,
|
||||
+ .target_residency = 120,
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -474,7 +474,7 @@ static struct cpuidle_state hsw_cstates[] = {
|
||||
@@ -539,7 +539,7 @@ static struct cpuidle_state hsw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x10",
|
||||
.flags = MWAIT2flg(0x10) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 33,
|
||||
@ -62,7 +62,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -482,7 +482,7 @@ static struct cpuidle_state hsw_cstates[] = {
|
||||
@@ -547,7 +547,7 @@ static struct cpuidle_state hsw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x20",
|
||||
.flags = MWAIT2flg(0x20) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 133,
|
||||
@ -71,7 +71,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -490,7 +490,7 @@ static struct cpuidle_state hsw_cstates[] = {
|
||||
@@ -555,7 +555,7 @@ static struct cpuidle_state hsw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x32",
|
||||
.flags = MWAIT2flg(0x32) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 166,
|
||||
@ -80,7 +80,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -498,7 +498,7 @@ static struct cpuidle_state hsw_cstates[] = {
|
||||
@@ -563,7 +563,7 @@ static struct cpuidle_state hsw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x40",
|
||||
.flags = MWAIT2flg(0x40) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 300,
|
||||
@ -89,7 +89,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -506,7 +506,7 @@ static struct cpuidle_state hsw_cstates[] = {
|
||||
@@ -571,7 +571,7 @@ static struct cpuidle_state hsw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x50",
|
||||
.flags = MWAIT2flg(0x50) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 600,
|
||||
@ -98,7 +98,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -514,7 +514,7 @@ static struct cpuidle_state hsw_cstates[] = {
|
||||
@@ -579,7 +579,7 @@ static struct cpuidle_state hsw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x60",
|
||||
.flags = MWAIT2flg(0x60) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 2600,
|
||||
@ -107,16 +107,16 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -534,7 +534,7 @@ static struct cpuidle_state bdw_cstates[] = {
|
||||
@@ -599,7 +599,7 @@ static struct cpuidle_state bdw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x01",
|
||||
.flags = MWAIT2flg(0x01),
|
||||
.flags = MWAIT2flg(0x01) | CPUIDLE_FLAG_ALWAYS_ENABLE,
|
||||
.exit_latency = 10,
|
||||
- .target_residency = 20,
|
||||
+ .target_residency = 120,
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -542,7 +542,7 @@ static struct cpuidle_state bdw_cstates[] = {
|
||||
@@ -607,7 +607,7 @@ static struct cpuidle_state bdw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x10",
|
||||
.flags = MWAIT2flg(0x10) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 40,
|
||||
@ -125,7 +125,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -550,7 +550,7 @@ static struct cpuidle_state bdw_cstates[] = {
|
||||
@@ -615,7 +615,7 @@ static struct cpuidle_state bdw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x20",
|
||||
.flags = MWAIT2flg(0x20) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 133,
|
||||
@ -134,7 +134,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -558,7 +558,7 @@ static struct cpuidle_state bdw_cstates[] = {
|
||||
@@ -623,7 +623,7 @@ static struct cpuidle_state bdw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x32",
|
||||
.flags = MWAIT2flg(0x32) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 166,
|
||||
@ -143,7 +143,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -566,7 +566,7 @@ static struct cpuidle_state bdw_cstates[] = {
|
||||
@@ -631,7 +631,7 @@ static struct cpuidle_state bdw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x40",
|
||||
.flags = MWAIT2flg(0x40) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 300,
|
||||
@ -152,7 +152,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -574,7 +574,7 @@ static struct cpuidle_state bdw_cstates[] = {
|
||||
@@ -639,7 +639,7 @@ static struct cpuidle_state bdw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x50",
|
||||
.flags = MWAIT2flg(0x50) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 600,
|
||||
@ -161,7 +161,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -582,7 +582,7 @@ static struct cpuidle_state bdw_cstates[] = {
|
||||
@@ -647,7 +647,7 @@ static struct cpuidle_state bdw_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x60",
|
||||
.flags = MWAIT2flg(0x60) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 2600,
|
||||
@ -170,16 +170,16 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -603,7 +603,7 @@ static struct cpuidle_state skl_cstates[] = {
|
||||
@@ -668,7 +668,7 @@ static struct cpuidle_state skl_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x01",
|
||||
.flags = MWAIT2flg(0x01),
|
||||
.flags = MWAIT2flg(0x01) | CPUIDLE_FLAG_ALWAYS_ENABLE,
|
||||
.exit_latency = 10,
|
||||
- .target_residency = 20,
|
||||
+ .target_residency = 120,
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -611,7 +611,7 @@ static struct cpuidle_state skl_cstates[] = {
|
||||
@@ -676,7 +676,7 @@ static struct cpuidle_state skl_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x10",
|
||||
.flags = MWAIT2flg(0x10) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 70,
|
||||
@ -188,7 +188,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -619,7 +619,7 @@ static struct cpuidle_state skl_cstates[] = {
|
||||
@@ -684,7 +684,7 @@ static struct cpuidle_state skl_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x20",
|
||||
.flags = MWAIT2flg(0x20) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 85,
|
||||
@ -197,7 +197,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -627,7 +627,7 @@ static struct cpuidle_state skl_cstates[] = {
|
||||
@@ -692,7 +692,7 @@ static struct cpuidle_state skl_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x33",
|
||||
.flags = MWAIT2flg(0x33) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 124,
|
||||
@ -206,7 +206,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -635,7 +635,7 @@ static struct cpuidle_state skl_cstates[] = {
|
||||
@@ -700,7 +700,7 @@ static struct cpuidle_state skl_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x40",
|
||||
.flags = MWAIT2flg(0x40) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 200,
|
||||
@ -215,7 +215,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -643,7 +643,7 @@ static struct cpuidle_state skl_cstates[] = {
|
||||
@@ -708,7 +708,7 @@ static struct cpuidle_state skl_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x50",
|
||||
.flags = MWAIT2flg(0x50) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 480,
|
||||
@ -224,7 +224,7 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -651,7 +651,7 @@ static struct cpuidle_state skl_cstates[] = {
|
||||
@@ -716,7 +716,7 @@ static struct cpuidle_state skl_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x60",
|
||||
.flags = MWAIT2flg(0x60) | CPUIDLE_FLAG_TLB_FLUSHED,
|
||||
.exit_latency = 890,
|
||||
@ -233,9 +233,9 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter = &intel_idle,
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
@@ -672,7 +672,7 @@ static struct cpuidle_state skx_cstates[] = {
|
||||
@@ -737,7 +737,7 @@ static struct cpuidle_state skx_cstates[] __initdata = {
|
||||
.desc = "MWAIT 0x01",
|
||||
.flags = MWAIT2flg(0x01),
|
||||
.flags = MWAIT2flg(0x01) | CPUIDLE_FLAG_ALWAYS_ENABLE,
|
||||
.exit_latency = 10,
|
||||
- .target_residency = 20,
|
||||
+ .target_residency = 300,
|
||||
@ -243,9 +243,9 @@ index 8b5d85c91e9d..5e2d813a048d 100644
|
||||
.enter_s2idle = intel_idle_s2idle, },
|
||||
{
|
||||
--
|
||||
2.20.1
|
||||
https://clearlinux.org
|
||||
|
||||
From b8211d4f79dd88dfc2d4bd52be46103ea0b70e3e Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Arjan van de Ven <arjan@linux.intel.com>
|
||||
Date: Fri, 6 Jan 2017 15:34:09 +0000
|
||||
Subject: [PATCH] ipv4/tcp: allow the memory tuning for tcp to go a little
|
||||
@ -256,10 +256,10 @@ Subject: [PATCH] ipv4/tcp: allow the memory tuning for tcp to go a little
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
|
||||
index cf3c5095c10e..b30d51837b2d 100644
|
||||
index 30c1142..4345075 100644
|
||||
--- a/net/ipv4/tcp.c
|
||||
+++ b/net/ipv4/tcp.c
|
||||
@@ -3897,8 +3897,8 @@ void __init tcp_init(void)
|
||||
@@ -4201,8 +4201,8 @@ void __init tcp_init(void)
|
||||
tcp_init_mem();
|
||||
/* Set per-socket limits to no more than 1/128 the pressure threshold */
|
||||
limit = nr_free_buffer_pages() << (PAGE_SHIFT - 7);
|
||||
@ -271,9 +271,9 @@ index cf3c5095c10e..b30d51837b2d 100644
|
||||
init_net.ipv4.sysctl_tcp_wmem[0] = SK_MEM_QUANTUM;
|
||||
init_net.ipv4.sysctl_tcp_wmem[1] = 16*1024;
|
||||
--
|
||||
2.20.1
|
||||
https://clearlinux.org
|
||||
|
||||
From 050223869257b87e22636158a80da38d877248ed Mon Sep 17 00:00:00 2001
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Arjan van de Ven <arjan@linux.intel.com>
|
||||
Date: Sun, 18 Feb 2018 23:35:41 +0000
|
||||
Subject: [PATCH] locking: rwsem: spin faster
|
||||
@ -284,10 +284,10 @@ tweak rwsem owner spinning a bit
|
||||
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kernel/locking/rwsem.c b/kernel/locking/rwsem.c
|
||||
index eef04551eae7..1ec5ab4c8ff7 100644
|
||||
index f11b9bd..1bbfcc1 100644
|
||||
--- a/kernel/locking/rwsem.c
|
||||
+++ b/kernel/locking/rwsem.c
|
||||
@@ -720,6 +720,7 @@ rwsem_spin_on_owner(struct rw_semaphore *sem, unsigned long nonspinnable)
|
||||
@@ -717,6 +717,7 @@ rwsem_spin_on_owner(struct rw_semaphore *sem, unsigned long nonspinnable)
|
||||
struct task_struct *new, *owner;
|
||||
unsigned long flags, new_flags;
|
||||
enum owner_state state;
|
||||
@ -295,7 +295,7 @@ index eef04551eae7..1ec5ab4c8ff7 100644
|
||||
|
||||
owner = rwsem_owner_flags(sem, &flags);
|
||||
state = rwsem_owner_state(owner, flags, nonspinnable);
|
||||
@@ -753,7 +754,8 @@ rwsem_spin_on_owner(struct rw_semaphore *sem, unsigned long nonspinnable)
|
||||
@@ -750,7 +751,8 @@ rwsem_spin_on_owner(struct rw_semaphore *sem, unsigned long nonspinnable)
|
||||
break;
|
||||
}
|
||||
|
||||
@ -305,10 +305,13 @@ index eef04551eae7..1ec5ab4c8ff7 100644
|
||||
}
|
||||
rcu_read_unlock();
|
||||
|
||||
From b836ea320114643d4354b43acb6ec8bb06ada487 Mon Sep 17 00:00:00 2001
|
||||
--
|
||||
https://clearlinux.org
|
||||
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Arjan van de Ven <arjan@linux.intel.com>
|
||||
Date: Thu, 2 Jun 2016 23:36:32 -0500
|
||||
Subject: [PATCH] drivers: Initialize ata before graphics
|
||||
Subject: [PATCH] initialize ata before graphics
|
||||
|
||||
ATA init is the long pole in the boot process, and its asynchronous.
|
||||
move the graphics init after it so that ata and graphics initialize
|
||||
@ -318,10 +321,10 @@ in parallel
|
||||
1 file changed, 8 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/drivers/Makefile b/drivers/Makefile
|
||||
index aaef17cc6512..d08f3a394929 100644
|
||||
index c0cd1b9..af1e2fb 100644
|
||||
--- a/drivers/Makefile
|
||||
+++ b/drivers/Makefile
|
||||
@@ -58,15 +58,8 @@ obj-y += char/
|
||||
@@ -59,15 +59,8 @@ obj-y += char/
|
||||
# iommu/ comes before gpu as gpu are using iommu controllers
|
||||
obj-y += iommu/
|
||||
|
||||
@ -337,7 +340,7 @@ index aaef17cc6512..d08f3a394929 100644
|
||||
obj-$(CONFIG_PARPORT) += parport/
|
||||
obj-$(CONFIG_NVM) += lightnvm/
|
||||
obj-y += base/ block/ misc/ mfd/ nfc/
|
||||
@@ -79,6 +72,14 @@ obj-$(CONFIG_IDE) += ide/
|
||||
@@ -80,6 +73,14 @@ obj-$(CONFIG_IDE) += ide/
|
||||
obj-y += scsi/
|
||||
obj-y += nvme/
|
||||
obj-$(CONFIG_ATA) += ata/
|
||||
@ -352,3 +355,6 @@ index aaef17cc6512..d08f3a394929 100644
|
||||
obj-$(CONFIG_TARGET_CORE) += target/
|
||||
obj-$(CONFIG_MTD) += mtd/
|
||||
obj-$(CONFIG_SPI) += spi/
|
||||
--
|
||||
https://clearlinux.org
|
||||
|
@ -1,13 +1,17 @@
|
||||
From f7f49141a5dbe9c99d78196b58c44307fb2e6be3 Mon Sep 17 00:00:00 2001
|
||||
From: Tk-Glitch <ti3nou@gmail.com>
|
||||
Date: Wed, 4 Jul 2018 04:30:08 +0200
|
||||
Subject: glitched
|
||||
Subject: [PATCH 01/17] glitched
|
||||
|
||||
---
|
||||
scripts/mkcompile_h | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/scripts/mkcompile_h b/scripts/mkcompile_h
|
||||
index 87f1fc9..b3be470 100755
|
||||
index baf3ab8d9d49..854e32e6aec7 100755
|
||||
--- a/scripts/mkcompile_h
|
||||
+++ b/scripts/mkcompile_h
|
||||
@@ -50,8 +50,8 @@ else
|
||||
@@ -41,8 +41,8 @@ else
|
||||
fi
|
||||
|
||||
UTS_VERSION="#$VERSION"
|
||||
@ -16,13 +20,28 @@ index 87f1fc9..b3be470 100755
|
||||
+CONFIG_FLAGS="TKG"
|
||||
+if [ -n "$SMP" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS SMP"; fi
|
||||
if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi
|
||||
UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP"
|
||||
if [ -n "$PREEMPT_RT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT_RT"; fi
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From c304f43d14e98d4bf1215fc10bc5012f554bdd8a Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <admfrade@gmail.com>
|
||||
Date: Mon, 29 Jan 2018 16:59:22 +0000
|
||||
Subject: [PATCH 02/17] dcache: cache_pressure = 50 decreases the rate at which
|
||||
VFS caches are reclaimed
|
||||
|
||||
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
|
||||
---
|
||||
fs/dcache.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/fs/dcache.c b/fs/dcache.c
|
||||
index 2acfc69878f5..3f1131431e06 100644
|
||||
index 361ea7ab30ea..0c5cf69b241a 100644
|
||||
--- a/fs/dcache.c
|
||||
+++ b/fs/dcache.c
|
||||
@@ -69,7 +69,7 @@
|
||||
@@ -71,7 +71,7 @@
|
||||
* If no ancestor relationship:
|
||||
* arbitrary, since it's serialized on rename_lock
|
||||
*/
|
||||
@ -31,11 +50,26 @@ index 2acfc69878f5..3f1131431e06 100644
|
||||
EXPORT_SYMBOL_GPL(sysctl_vfs_cache_pressure);
|
||||
|
||||
__cacheline_aligned_in_smp DEFINE_SEQLOCK(rename_lock);
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From 28f32f59d9d55ac7ec3a20b79bdd02d2a0a5f7e1 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <admfrade@gmail.com>
|
||||
Date: Mon, 29 Jan 2018 18:29:13 +0000
|
||||
Subject: [PATCH 03/17] sched/core: nr_migrate = 128 increases number of tasks
|
||||
to iterate in a single balance run.
|
||||
|
||||
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
|
||||
---
|
||||
kernel/sched/core.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/kernel/sched/core.c b/kernel/sched/core.c
|
||||
index 211890edf37e..37121563407d 100644
|
||||
index f788cd61df21..2bfbb4213707 100644
|
||||
--- a/kernel/sched/core.c
|
||||
+++ b/kernel/sched/core.c
|
||||
@@ -41,7 +41,7 @@ const_debug unsigned int sysctl_sched_features =
|
||||
@@ -59,7 +59,7 @@ const_debug unsigned int sysctl_sched_features =
|
||||
* Number of tasks to iterate in a single balance run.
|
||||
* Limited because this is done with IRQs disabled.
|
||||
*/
|
||||
@ -43,8 +77,8 @@ index 211890edf37e..37121563407d 100644
|
||||
+const_debug unsigned int sysctl_sched_nr_migrate = 128;
|
||||
|
||||
/*
|
||||
* period over which we average the RT time consumption, measured
|
||||
@@ -61,9 +61,9 @@ __read_mostly int scheduler_running;
|
||||
* period over which we measure -rt task CPU usage in us.
|
||||
@@ -71,9 +71,9 @@ __read_mostly int scheduler_running;
|
||||
|
||||
/*
|
||||
* part of the period that we allow rt tasks to run in us.
|
||||
@ -56,8 +90,22 @@ index 211890edf37e..37121563407d 100644
|
||||
|
||||
/*
|
||||
* __task_rq_lock - lock the rq @p resides on.
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From acc49f33a10f61dc66c423888cbb883ba46710e4 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <admfrade@gmail.com>
|
||||
Date: Mon, 29 Jan 2018 17:41:29 +0000
|
||||
Subject: [PATCH 04/17] scripts: disable the localversion "+" tag of a git repo
|
||||
|
||||
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
|
||||
---
|
||||
scripts/setlocalversion | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/scripts/setlocalversion b/scripts/setlocalversion
|
||||
index 71f39410691b..288f9679e883 100755
|
||||
index 20f2efd57b11..0552d8b9f582 100755
|
||||
--- a/scripts/setlocalversion
|
||||
+++ b/scripts/setlocalversion
|
||||
@@ -54,7 +54,7 @@ scm_version()
|
||||
@ -69,18 +117,32 @@ index 71f39410691b..288f9679e883 100755
|
||||
return
|
||||
fi
|
||||
# If we are past a tagged commit (like
|
||||
--
|
||||
2.28.0
|
||||
|
||||
From f85ed068b4d0e6c31edce8574a95757a60e58b87 Mon Sep 17 00:00:00 2001
|
||||
From: Etienne Juvigny <Ti3noU@gmail.com>
|
||||
Date: Mon, 3 Sep 2018 17:36:25 +0200
|
||||
Subject: Zenify & stuff
|
||||
|
||||
From 61fcb33fb0de8bc0f060e0a1ada38ed149217f4d Mon Sep 17 00:00:00 2001
|
||||
From: Oleksandr Natalenko <oleksandr@redhat.com>
|
||||
Date: Wed, 11 Dec 2019 11:46:19 +0100
|
||||
Subject: [PATCH 05/17] init/Kconfig: enable -O3 for all arches
|
||||
|
||||
Building a kernel with -O3 may help in hunting bugs like [1] and thus
|
||||
using this switch should not be restricted to one specific arch only.
|
||||
|
||||
With that, lets expose it for everyone.
|
||||
|
||||
[1] https://lore.kernel.org/lkml/673b885183fb64f1cbb3ed2387524077@natalenko.name/
|
||||
|
||||
Signed-off-by: Oleksandr Natalenko <oleksandr@redhat.com>
|
||||
---
|
||||
init/Kconfig | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/init/Kconfig b/init/Kconfig
|
||||
index b4daad2bac23..c1e59dc04209 100644
|
||||
index 0498af567f70..3ae8678e1145 100644
|
||||
--- a/init/Kconfig
|
||||
+++ b/init/Kconfig
|
||||
@@ -1244,7 +1244,6 @@ config CC_OPTIMIZE_FOR_PERFORMANCE
|
||||
@@ -1278,7 +1278,6 @@ config CC_OPTIMIZE_FOR_PERFORMANCE
|
||||
|
||||
config CC_OPTIMIZE_FOR_PERFORMANCE_O3
|
||||
bool "Optimize more for performance (-O3)"
|
||||
@ -88,39 +150,52 @@ index b4daad2bac23..c1e59dc04209 100644
|
||||
help
|
||||
Choosing this option will pass "-O3" to your compiler to optimize
|
||||
the kernel yet more for performance.
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From 360c6833e07cc9fdef5746f6bc45bdbc7212288d Mon Sep 17 00:00:00 2001
|
||||
From: "Jan Alexander Steffens (heftig)" <jan.steffens@gmail.com>
|
||||
Date: Fri, 26 Oct 2018 11:22:33 +0100
|
||||
Subject: [PATCH 06/17] infiniband: Fix __read_overflow2 error with -O3
|
||||
inlining
|
||||
|
||||
---
|
||||
drivers/infiniband/core/addr.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/drivers/infiniband/core/addr.c b/drivers/infiniband/core/addr.c
|
||||
index 4f32c4062fb6..c0bf039e1b40 100644
|
||||
index 3a98439bba83..6efc4f907f58 100644
|
||||
--- a/drivers/infiniband/core/addr.c
|
||||
+++ b/drivers/infiniband/core/addr.c
|
||||
@@ -721,6 +721,7 @@ int rdma_addr_find_l2_eth_by_grh(const union ib_gid *sgid,
|
||||
struct sockaddr _sockaddr;
|
||||
@@ -820,6 +820,7 @@ int rdma_addr_find_l2_eth_by_grh(const union ib_gid *sgid,
|
||||
union {
|
||||
struct sockaddr_in _sockaddr_in;
|
||||
struct sockaddr_in6 _sockaddr_in6;
|
||||
+ struct sockaddr_ib _sockaddr_ib;
|
||||
} sgid_addr, dgid_addr;
|
||||
int ret;
|
||||
|
||||
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
|
||||
index 79226ca8f80f..2a30060e7e1d 100644
|
||||
--- a/include/linux/blkdev.h
|
||||
+++ b/include/linux/blkdev.h
|
||||
@@ -47,7 +47,11 @@ struct blk_queue_stats;
|
||||
struct blk_stat_callback;
|
||||
|
||||
#define BLKDEV_MIN_RQ 4
|
||||
+#ifdef CONFIG_ZENIFY
|
||||
+#define BLKDEV_MAX_RQ 512
|
||||
+#else
|
||||
#define BLKDEV_MAX_RQ 128 /* Default maximum */
|
||||
+#endif
|
||||
|
||||
/* Must be consistent with blk_mq_poll_stats_bkt() */
|
||||
#define BLK_MQ_POLL_STATS_BKTS 16
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From f85ed068b4d0e6c31edce8574a95757a60e58b87 Mon Sep 17 00:00:00 2001
|
||||
From: Etienne Juvigny <Ti3noU@gmail.com>
|
||||
Date: Mon, 3 Sep 2018 17:36:25 +0200
|
||||
Subject: [PATCH 07/17] Zenify & stuff
|
||||
|
||||
---
|
||||
init/Kconfig | 32 ++++++++++++++++++++++++++++++++
|
||||
kernel/sched/fair.c | 25 +++++++++++++++++++++++++
|
||||
mm/page-writeback.c | 8 ++++++++
|
||||
3 files changed, 65 insertions(+)
|
||||
|
||||
diff --git a/init/Kconfig b/init/Kconfig
|
||||
index 041f3a022122..5ed70eb1ad3a 100644
|
||||
index 3ae8678e1145..da708eed0f1e 100644
|
||||
--- a/init/Kconfig
|
||||
+++ b/init/Kconfig
|
||||
@@ -45,6 +45,38 @@ config THREAD_INFO_IN_TASK
|
||||
@@ -92,6 +92,38 @@ config THREAD_INFO_IN_TASK
|
||||
|
||||
menu "General setup"
|
||||
|
||||
@ -160,7 +235,7 @@ index 041f3a022122..5ed70eb1ad3a 100644
|
||||
bool
|
||||
|
||||
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
|
||||
index 2f0a0be4d344..bada807c7e59 100644
|
||||
index 6b3b59cc51d6..2a0072192c3d 100644
|
||||
--- a/kernel/sched/fair.c
|
||||
+++ b/kernel/sched/fair.c
|
||||
@@ -37,8 +37,13 @@
|
||||
@ -216,9 +291,9 @@ index 2f0a0be4d344..bada807c7e59 100644
|
||||
const_debug unsigned int sysctl_sched_migration_cost = 500000UL;
|
||||
+#endif
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
/*
|
||||
@@ -107,8 +128,12 @@ int __weak arch_asym_cpu_priority(int cpu)
|
||||
int sched_thermal_decay_shift;
|
||||
static int __init setup_sched_thermal_decay_shift(char *str)
|
||||
@@ -128,8 +149,12 @@ int __weak arch_asym_cpu_priority(int cpu)
|
||||
*
|
||||
* (default: 5 msec, units: microseconds)
|
||||
*/
|
||||
@ -229,10 +304,10 @@ index 2f0a0be4d344..bada807c7e59 100644
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* The margin used when comparing utilization with CPU capacity:
|
||||
static inline void update_load_add(struct load_weight *lw, unsigned long inc)
|
||||
{
|
||||
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
|
||||
index 337c6afb3345..9315e358f292 100644
|
||||
index 28b3e7a67565..01a1aef2b9b1 100644
|
||||
--- a/mm/page-writeback.c
|
||||
+++ b/mm/page-writeback.c
|
||||
@@ -71,7 +71,11 @@ static long ratelimit_pages = 32;
|
||||
@ -259,11 +334,29 @@ index 337c6afb3345..9315e358f292 100644
|
||||
|
||||
/*
|
||||
* vm_dirty_bytes starts at 0 (disabled) so that it is a function of
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From e92e67143385cf285851e12aa8b7f083dd38dd24 Mon Sep 17 00:00:00 2001
|
||||
From: Steven Barrett <damentz@liquorix.net>
|
||||
Date: Sun, 16 Jan 2011 18:57:32 -0600
|
||||
Subject: [PATCH 08/17] ZEN: Allow TCP YeAH as default congestion control
|
||||
|
||||
4.4: In my tests YeAH dramatically slowed down transfers over a WLAN,
|
||||
reducing throughput from ~65Mbps (CUBIC) to ~7MBps (YeAH) over 10
|
||||
seconds (netperf TCP_STREAM) including long stalls.
|
||||
|
||||
Be careful when choosing this. ~heftig
|
||||
---
|
||||
net/ipv4/Kconfig | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/net/ipv4/Kconfig b/net/ipv4/Kconfig
|
||||
index 80dad301361d..42b7fa7d01f8 100644
|
||||
index e64e59b536d3..bfb55ef7ebbe 100644
|
||||
--- a/net/ipv4/Kconfig
|
||||
+++ b/net/ipv4/Kconfig
|
||||
@@ -702,6 +702,9 @@ choice
|
||||
@@ -691,6 +691,9 @@ choice
|
||||
config DEFAULT_VEGAS
|
||||
bool "Vegas" if TCP_CONG_VEGAS=y
|
||||
|
||||
@ -273,7 +366,7 @@ index 80dad301361d..42b7fa7d01f8 100644
|
||||
config DEFAULT_VENO
|
||||
bool "Veno" if TCP_CONG_VENO=y
|
||||
|
||||
@@ -735,6 +738,7 @@ config DEFAULT_TCP_CONG
|
||||
@@ -724,6 +727,7 @@ config DEFAULT_TCP_CONG
|
||||
default "htcp" if DEFAULT_HTCP
|
||||
default "hybla" if DEFAULT_HYBLA
|
||||
default "vegas" if DEFAULT_VEGAS
|
||||
@ -281,38 +374,15 @@ index 80dad301361d..42b7fa7d01f8 100644
|
||||
default "westwood" if DEFAULT_WESTWOOD
|
||||
default "veno" if DEFAULT_VENO
|
||||
default "reno" if DEFAULT_RENO
|
||||
--
|
||||
2.28.0
|
||||
|
||||
From: Nick Desaulniers <ndesaulniers@google.com>
|
||||
Date: Mon, 24 Dec 2018 13:37:41 +0200
|
||||
Subject: include/linux/compiler*.h: define asm_volatile_goto
|
||||
|
||||
asm_volatile_goto should also be defined for other compilers that
|
||||
support asm goto.
|
||||
|
||||
Fixes commit 815f0dd ("include/linux/compiler*.h: make compiler-*.h
|
||||
mutually exclusive").
|
||||
|
||||
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
|
||||
Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
|
||||
|
||||
diff --git a/include/linux/compiler_types.h b/include/linux/compiler_types.h
|
||||
index ba814f1..e77eeb0 100644
|
||||
--- a/include/linux/compiler_types.h
|
||||
+++ b/include/linux/compiler_types.h
|
||||
@@ -188,6 +188,10 @@ struct ftrace_likely_data {
|
||||
#define asm_volatile_goto(x...) asm goto(x)
|
||||
#endif
|
||||
|
||||
+#ifndef asm_volatile_goto
|
||||
+#define asm_volatile_goto(x...) asm goto(x)
|
||||
+#endif
|
||||
+
|
||||
/* Are two types/vars the same type (ignoring qualifiers)? */
|
||||
#define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
|
||||
|
||||
From: Andy Lavr <andy.lavr@gmail.com>
|
||||
Date: Mon, 24 Dec 2018 14:57:47 +0200
|
||||
Subject: avl: Use [defer+madvise] as default khugepaged defrag strategy
|
||||
From 76dbe7477bfde1b5e8bf29a71b5af7ab2be9b98e Mon Sep 17 00:00:00 2001
|
||||
From: Steven Barrett <steven@liquorix.net>
|
||||
Date: Wed, 28 Nov 2018 19:01:27 -0600
|
||||
Subject: [PATCH 09/17] zen: Use [defer+madvise] as default khugepaged defrag
|
||||
strategy
|
||||
|
||||
For some reason, the default strategy to respond to THP fault fallbacks
|
||||
is still just madvise, meaning stall if the program wants transparent
|
||||
@ -333,20 +403,20 @@ so defer+madvise _does_ make a ton of sense. Make it the default for
|
||||
interactive systems, especially if the kernel maintainer left
|
||||
transparent hugepages on "always".
|
||||
|
||||
Reasoning and details in the original patch:
|
||||
https://lwn.net/Articles/711248/
|
||||
|
||||
Signed-off-by: Andy Lavr <andy.lavr@gmail.com>
|
||||
Reasoning and details in the original patch: https://lwn.net/Articles/711248/
|
||||
---
|
||||
mm/huge_memory.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/mm/huge_memory.c b/mm/huge_memory.c
|
||||
index e84a10b..21d62b7 100644
|
||||
index 74300e337c3c..9277f22c10a7 100644
|
||||
--- a/mm/huge_memory.c
|
||||
+++ b/mm/huge_memory.c
|
||||
@@ -53,7 +53,11 @@ unsigned long transparent_hugepage_flags __read_mostly =
|
||||
#ifdef CONFIG_TRANSPARENT_HUGEPAGE_MADVISE
|
||||
(1<<TRANSPARENT_HUGEPAGE_REQ_MADV_FLAG)|
|
||||
#endif
|
||||
+#ifdef CONFIG_AVL_INTERACTIVE
|
||||
+#ifdef CONFIG_ZENIFY
|
||||
+ (1<<TRANSPARENT_HUGEPAGE_DEFRAG_KSWAPD_OR_MADV_FLAG)|
|
||||
+#else
|
||||
(1<<TRANSPARENT_HUGEPAGE_DEFRAG_REQ_MADV_FLAG)|
|
||||
@ -354,33 +424,62 @@ index e84a10b..21d62b7 100644
|
||||
(1<<TRANSPARENT_HUGEPAGE_DEFRAG_KHUGEPAGED_FLAG)|
|
||||
(1<<TRANSPARENT_HUGEPAGE_USE_ZERO_PAGE_FLAG);
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From 2b65a1329cb220b43c19c4d0de5833fae9e2b22d Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <admfrade@gmail.com>
|
||||
Date: Wed, 24 Oct 2018 16:58:52 -0300
|
||||
Subject: [PATCH 10/17] net/sched: allow configuring cake qdisc as default
|
||||
|
||||
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
|
||||
---
|
||||
net/sched/Kconfig | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/net/sched/Kconfig b/net/sched/Kconfig
|
||||
index 84badf00647e..6a922bca9f39 100644
|
||||
--- a/net/sched/Kconfig
|
||||
+++ b/net/sched/Kconfig
|
||||
@@ -429,6 +429,9 @@
|
||||
Select the queueing discipline that will be used by default
|
||||
for all network devices.
|
||||
@@ -471,6 +471,9 @@ choice
|
||||
config DEFAULT_SFQ
|
||||
bool "Stochastic Fair Queue" if NET_SCH_SFQ
|
||||
|
||||
+ config DEFAULT_CAKE
|
||||
+ bool "Common Applications Kept Enhanced" if NET_SCH_CAKE
|
||||
+ bool "Common Applications Kept Enhanced" if NET_SCH_CAKE
|
||||
+
|
||||
config DEFAULT_FQ
|
||||
bool "Fair Queue" if NET_SCH_FQ
|
||||
|
||||
@@ -448,6 +451,7 @@
|
||||
config DEFAULT_NET_SCH
|
||||
string
|
||||
default "pfifo_fast" if DEFAULT_PFIFO_FAST
|
||||
config DEFAULT_PFIFO_FAST
|
||||
bool "Priority FIFO Fast"
|
||||
endchoice
|
||||
@@ -481,6 +484,7 @@ config DEFAULT_NET_SCH
|
||||
default "fq" if DEFAULT_FQ
|
||||
default "fq_codel" if DEFAULT_FQ_CODEL
|
||||
default "sfq" if DEFAULT_SFQ
|
||||
+ default "cake" if DEFAULT_CAKE
|
||||
default "fq" if DEFAULT_FQ
|
||||
default "fq_codel" if DEFAULT_FQ_CODEL
|
||||
default "sfq" if DEFAULT_SFQ
|
||||
default "pfifo_fast"
|
||||
endif
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From 816ee502759e954304693813bd03d94986b28dba Mon Sep 17 00:00:00 2001
|
||||
From: Tk-Glitch <ti3nou@gmail.com>
|
||||
Date: Mon, 18 Feb 2019 17:40:57 +0100
|
||||
Subject: [PATCH 11/17] mm: Set watermark_scale_factor to 200 (from 10)
|
||||
|
||||
Multiple users have reported it's helping reducing/eliminating stuttering
|
||||
with DXVK.
|
||||
---
|
||||
mm/page_alloc.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/mm/page_alloc.c b/mm/page_alloc.c
|
||||
index a29043ea9..3fb219747 100644
|
||||
index 898ff44f2c7b..e72074034793 100644
|
||||
--- a/mm/page_alloc.c
|
||||
+++ b/mm/page_alloc.c
|
||||
@@ -263,7 +263,7 @@ compound_page_dtor * const compound_page_dtors[] = {
|
||||
@@ -330,7 +330,7 @@ int watermark_boost_factor __read_mostly;
|
||||
#else
|
||||
int watermark_boost_factor __read_mostly = 15000;
|
||||
#endif
|
||||
@ -389,25 +488,74 @@ index a29043ea9..3fb219747 100644
|
||||
|
||||
static unsigned long nr_kernel_pages __initdata;
|
||||
static unsigned long nr_all_pages __initdata;
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From 90240bcd90a568878738e66c0d45bed3e38e347b Mon Sep 17 00:00:00 2001
|
||||
From: Tk-Glitch <ti3nou@gmail.com>
|
||||
Date: Fri, 19 Apr 2019 12:33:38 +0200
|
||||
Subject: [PATCH 12/17] Set vm.max_map_count to 262144 by default
|
||||
|
||||
The value is still pretty low, and AMD64-ABI and ELF extended numbering
|
||||
supports that, so we should be fine on modern x86 systems.
|
||||
|
||||
This fixes crashes in some applications using more than 65535 vmas (also
|
||||
affects some windows games running in wine, such as Star Citizen).
|
||||
---
|
||||
include/linux/mm.h | 3 +--
|
||||
1 file changed, 1 insertion(+), 2 deletions(-)
|
||||
|
||||
diff --git a/include/linux/mm.h b/include/linux/mm.h
|
||||
index 80bb6408f..6c8b55cd1 100644
|
||||
index bc05c3588aa3..b0cefe94920d 100644
|
||||
--- a/include/linux/mm.h
|
||||
+++ b/include/linux/mm.h
|
||||
@@ -146,8 +146,7 @@ extern int mmap_rnd_compat_bits __read_mostly;
|
||||
@@ -190,8 +190,7 @@ static inline void __mm_zero_struct_page(struct page *page)
|
||||
* not a hard limit any more. Although some userspace tools can be surprised by
|
||||
* that.
|
||||
*/
|
||||
-#define MAPCOUNT_ELF_CORE_MARGIN (5)
|
||||
-#define DEFAULT_MAX_MAP_COUNT (USHRT_MAX - MAPCOUNT_ELF_CORE_MARGIN)
|
||||
+#define DEFAULT_MAX_MAP_COUNT (262144)
|
||||
|
||||
extern int sysctl_max_map_count;
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From 3a34034dba5efe91bcec491efe8c66e8087f509b Mon Sep 17 00:00:00 2001
|
||||
From: Tk-Glitch <ti3nou@gmail.com>
|
||||
Date: Mon, 27 Jul 2020 00:19:18 +0200
|
||||
Subject: [PATCH 13/17] mm: bump DEFAULT_MAX_MAP_COUNT
|
||||
|
||||
Some games such as Detroit: Become Human tend to be very crash prone with
|
||||
lower values.
|
||||
---
|
||||
include/linux/mm.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/linux/mm.h b/include/linux/mm.h
|
||||
index b0cefe94920d..890165099b07 100644
|
||||
--- a/include/linux/mm.h
|
||||
+++ b/include/linux/mm.h
|
||||
@@ -190,7 +190,7 @@ static inline void __mm_zero_struct_page(struct page *page)
|
||||
* not a hard limit any more. Although some userspace tools can be surprised by
|
||||
* that.
|
||||
*/
|
||||
-#define DEFAULT_MAX_MAP_COUNT (262144)
|
||||
+#define DEFAULT_MAX_MAP_COUNT (524288)
|
||||
|
||||
extern int sysctl_max_map_count;
|
||||
|
||||
From adb1f9df27f08e6488bcd80b1607987c6114a77a Mon Sep 17 00:00:00 2001
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From 977812938da7c7226415778c340832141d9278b7 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <admfrade@gmail.com>
|
||||
Date: Mon, 25 Nov 2019 15:13:06 -0300
|
||||
Subject: [PATCH] elevator: set default scheduler to bfq for blk-mq
|
||||
Subject: [PATCH 14/17] elevator: set default scheduler to bfq for blk-mq
|
||||
|
||||
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
|
||||
---
|
||||
@ -415,7 +563,7 @@ Signed-off-by: Alexandre Frade <admfrade@gmail.com>
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/block/elevator.c b/block/elevator.c
|
||||
index 076ba7308e65..81f89095aa77 100644
|
||||
index 4eab3d70e880..79669aa39d79 100644
|
||||
--- a/block/elevator.c
|
||||
+++ b/block/elevator.c
|
||||
@@ -623,15 +623,15 @@ static inline bool elv_support_iosched(struct request_queue *q)
|
||||
@ -437,10 +585,14 @@ index 076ba7308e65..81f89095aa77 100644
|
||||
}
|
||||
|
||||
/*
|
||||
From c3ec05777c46e19a8a26d0fc4ca0c0db8a19de97 Mon Sep 17 00:00:00 2001
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From e2111bc5989131c675659d40e0cc4f214df2f990 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <admfrade@gmail.com>
|
||||
Date: Fri, 10 May 2019 16:45:59 -0300
|
||||
Subject: [PATCH] block: set rq_affinity = 2 for full multithreading I/O
|
||||
Subject: [PATCH 15/17] block: set rq_affinity = 2 for full multithreading I/O
|
||||
requests
|
||||
|
||||
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
|
||||
@ -449,10 +601,10 @@ Signed-off-by: Alexandre Frade <admfrade@gmail.com>
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
|
||||
index f3ea78b0c91c..4dbacc6b073b 100644
|
||||
index 28efe374a2e1..d4e5d35d2ece 100644
|
||||
--- a/include/linux/blkdev.h
|
||||
+++ b/include/linux/blkdev.h
|
||||
@@ -621,7 +621,8 @@ struct request_queue {
|
||||
@@ -624,7 +624,8 @@ struct request_queue {
|
||||
#define QUEUE_FLAG_RQ_ALLOC_TIME 27 /* record rq->alloc_time_ns */
|
||||
|
||||
#define QUEUE_FLAG_MQ_DEFAULT ((1 << QUEUE_FLAG_IO_STAT) | \
|
||||
@ -462,22 +614,26 @@ index f3ea78b0c91c..4dbacc6b073b 100644
|
||||
|
||||
void blk_queue_flag_set(unsigned int flag, struct request_queue *q);
|
||||
void blk_queue_flag_clear(unsigned int flag, struct request_queue *q);
|
||||
From 8171d33d0b84a953649863538fdbe4c26c035e4f Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <admfrade@gmail.com>
|
||||
Date: Fri, 10 May 2019 14:32:50 -0300
|
||||
Subject: [PATCH] mm: set 2 megabytes for address_space-level file read-ahead
|
||||
pages size
|
||||
--
|
||||
2.28.0
|
||||
|
||||
Signed-off-by: Alexandre Frade <admfrade@gmail.com>
|
||||
|
||||
From 3c229f434aca65c4ca61772bc03c3e0370817b92 Mon Sep 17 00:00:00 2001
|
||||
From: Alexandre Frade <kernel@xanmod.org>
|
||||
Date: Mon, 3 Aug 2020 17:05:04 +0000
|
||||
Subject: [PATCH 16/17] mm: set 2 megabytes for address_space-level file
|
||||
read-ahead pages size
|
||||
|
||||
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
|
||||
---
|
||||
include/linux/pagemap.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/linux/pagemap.h b/include/linux/pagemap.h
|
||||
index a2adf95b3f9c..e804d9f7583a 100644
|
||||
index cf2468da68e9..007dea784451 100644
|
||||
--- a/include/linux/pagemap.h
|
||||
+++ b/include/linux/pagemap.h
|
||||
@@ -654,7 +654,7 @@ int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask);
|
||||
@@ -655,7 +655,7 @@ int replace_page_cache_page(struct page *old, struct page *new, gfp_t gfp_mask);
|
||||
void delete_from_page_cache_batch(struct address_space *mapping,
|
||||
struct pagevec *pvec);
|
||||
|
||||
@ -486,10 +642,14 @@ index a2adf95b3f9c..e804d9f7583a 100644
|
||||
|
||||
void page_cache_sync_readahead(struct address_space *, struct file_ra_state *,
|
||||
struct file *, pgoff_t index, unsigned long req_count);
|
||||
From de7119e3db9fdb4c704355854a02a7e9fad931d4 Mon Sep 17 00:00:00 2001
|
||||
--
|
||||
2.28.0
|
||||
|
||||
|
||||
From 716f41cf6631f3a85834dcb67b4ce99185b6387f Mon Sep 17 00:00:00 2001
|
||||
From: Steven Barrett <steven@liquorix.net>
|
||||
Date: Wed, 15 Jan 2020 20:43:56 -0600
|
||||
Subject: [PATCH] ZEN: intel-pstate: Implement "enable" parameter
|
||||
Subject: [PATCH 17/17] ZEN: intel-pstate: Implement "enable" parameter
|
||||
|
||||
If intel-pstate is compiled into the kernel, it will preempt the loading
|
||||
of acpi-cpufreq so you can take advantage of hardware p-states without
|
||||
@ -517,10 +677,10 @@ selection.
|
||||
2 files changed, 5 insertions(+)
|
||||
|
||||
diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt
|
||||
index ade4e6ec23e03..0b613370d28d8 100644
|
||||
index fb95fad81c79..3e92fee81e33 100644
|
||||
--- a/Documentation/admin-guide/kernel-parameters.txt
|
||||
+++ b/Documentation/admin-guide/kernel-parameters.txt
|
||||
@@ -1765,6 +1765,9 @@
|
||||
@@ -1857,6 +1857,9 @@
|
||||
disable
|
||||
Do not enable intel_pstate as the default
|
||||
scaling driver for the supported processors
|
||||
@ -531,10 +691,10 @@ index ade4e6ec23e03..0b613370d28d8 100644
|
||||
Use intel_pstate as a scaling driver, but configure it
|
||||
to work with generic cpufreq governors (instead of
|
||||
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
|
||||
index d2fa3e9ccd97c..bd10cb02fc0ff 100644
|
||||
index 36a469150ff9..aee891c9b78a 100644
|
||||
--- a/drivers/cpufreq/intel_pstate.c
|
||||
+++ b/drivers/cpufreq/intel_pstate.c
|
||||
@@ -2826,6 +2826,8 @@ static int __init intel_pstate_setup(char *str)
|
||||
@@ -2845,6 +2845,8 @@ static int __init intel_pstate_setup(char *str)
|
||||
pr_info("HWP disabled\n");
|
||||
no_hwp = 1;
|
||||
}
|
||||
@ -543,3 +703,6 @@ index d2fa3e9ccd97c..bd10cb02fc0ff 100644
|
||||
if (!strcmp(str, "force"))
|
||||
force_load = 1;
|
||||
if (!strcmp(str, "hwp_only"))
|
||||
--
|
||||
2.28.0
|
||||
|
@ -88,79 +88,3 @@ index 9270a4370d54..30d01e647417 100644
|
||||
|
||||
static void set_task_reclaim_state(struct task_struct *task,
|
||||
struct reclaim_state *rs)
|
||||
|
||||
diff --git a/init/Kconfig b/init/Kconfig
|
||||
index 11fd9b502d06..e9bc34d3019b 100644
|
||||
--- a/init/Kconfig
|
||||
+++ b/init/Kconfig
|
||||
@@ -715,6 +715,7 @@ menu "Scheduler features"
|
||||
config UCLAMP_TASK
|
||||
bool "Enable utilization clamping for RT/FAIR tasks"
|
||||
depends on CPU_FREQ_GOV_SCHEDUTIL
|
||||
+ depends on !SCHED_PDS
|
||||
help
|
||||
This feature enables the scheduler to track the clamped utilization
|
||||
of each CPU based on RUNNABLE tasks scheduled on that CPU.
|
||||
@@ -948,7 +948,6 @@ config CGROUP_DEVICE
|
||||
|
||||
config CGROUP_CPUACCT
|
||||
bool "Simple CPU accounting controller"
|
||||
- depends on !SCHED_PDS
|
||||
help
|
||||
Provides a simple controller for monitoring the
|
||||
total CPU consumed by the tasks in a cgroup.
|
||||
diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile
|
||||
index b23231bae996..cab4e5c5b38e 100644
|
||||
--- a/kernel/sched/Makefile
|
||||
+++ b/kernel/sched/Makefile
|
||||
@@ -24,13 +24,13 @@ obj-y += fair.o rt.o deadline.o
|
||||
obj-$(CONFIG_SMP) += cpudeadline.o topology.o stop_task.o
|
||||
obj-$(CONFIG_SCHED_AUTOGROUP) += autogroup.o
|
||||
obj-$(CONFIG_SCHED_DEBUG) += debug.o
|
||||
-obj-$(CONFIG_CGROUP_CPUACCT) += cpuacct.o
|
||||
endif
|
||||
obj-y += loadavg.o clock.o cputime.o
|
||||
obj-y += idle.o
|
||||
obj-y += wait.o wait_bit.o swait.o completion.o
|
||||
obj-$(CONFIG_SMP) += cpupri.o pelt.o
|
||||
obj-$(CONFIG_SCHEDSTATS) += stats.o
|
||||
+obj-$(CONFIG_CGROUP_CPUACCT) += cpuacct.o
|
||||
obj-$(CONFIG_CPU_FREQ) += cpufreq.o
|
||||
obj-$(CONFIG_CPU_FREQ_GOV_SCHEDUTIL) += cpufreq_schedutil.o
|
||||
obj-$(CONFIG_MEMBARRIER) += membarrier.o
|
||||
|
||||
diff --git a/kernel/sched/pds.c b/kernel/sched/pds.c
|
||||
index 9281ad164..f09a609cf 100644
|
||||
--- a/kernel/sched/pds.c
|
||||
+++ b/kernel/sched/pds.c
|
||||
@@ -81,6 +81,18 @@ enum {
|
||||
NR_CPU_AFFINITY_CHK_LEVEL
|
||||
};
|
||||
|
||||
+/*
|
||||
+ * This allows printing both to /proc/sched_debug and
|
||||
+ * to the console
|
||||
+ */
|
||||
+#define SEQ_printf(m, x...) \
|
||||
+ do { \
|
||||
+ if (m) \
|
||||
+ seq_printf(m, x); \
|
||||
+ else \
|
||||
+ pr_cont(x); \
|
||||
+ } while (0)
|
||||
+
|
||||
static inline void print_scheduler_version(void)
|
||||
{
|
||||
printk(KERN_INFO "pds: PDS-mq CPU Scheduler 0.99o by Alfred Chen.\n");
|
||||
@@ -6353,7 +6365,10 @@ void ia64_set_curr_task(int cpu, struct task_struct *p)
|
||||
#ifdef CONFIG_SCHED_DEBUG
|
||||
void proc_sched_show_task(struct task_struct *p, struct pid_namespace *ns,
|
||||
struct seq_file *m)
|
||||
-{}
|
||||
+{
|
||||
+ SEQ_printf(m, "%s (%d, #threads: %d)\n", p->comm, task_pid_nr_ns(p, ns),
|
||||
+ get_nr_threads(p));
|
||||
+}
|
||||
|
||||
void proc_sched_set_task(struct task_struct *p)
|
||||
{}
|
90
linux59-tkg/linux59-tkg-patches/0009-glitched-bmq.patch
Normal file
90
linux59-tkg/linux59-tkg-patches/0009-glitched-bmq.patch
Normal file
@ -0,0 +1,90 @@
|
||||
From f7f49141a5dbe9c99d78196b58c44307fb2e6be3 Mon Sep 17 00:00:00 2001
|
||||
From: Tk-Glitch <ti3nou@gmail.com>
|
||||
Date: Wed, 4 Jul 2018 04:30:08 +0200
|
||||
Subject: glitched - BMQ
|
||||
|
||||
diff --git a/kernel/Kconfig.hz b/kernel/Kconfig.hz
|
||||
index 2a202a846757..1d9c7ed79b11 100644
|
||||
--- a/kernel/Kconfig.hz
|
||||
+++ b/kernel/Kconfig.hz
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
choice
|
||||
prompt "Timer frequency"
|
||||
- default HZ_250
|
||||
+ default HZ_500
|
||||
help
|
||||
Allows the configuration of the timer frequency. It is customary
|
||||
to have the timer interrupt run at 1000 Hz but 100 Hz may be more
|
||||
@@ -39,6 +39,13 @@ choice
|
||||
on SMP and NUMA systems and exactly dividing by both PAL and
|
||||
NTSC frame rates for video and multimedia work.
|
||||
|
||||
+ config HZ_500
|
||||
+ bool "500 HZ"
|
||||
+ help
|
||||
+ 500 Hz is a balanced timer frequency. Provides fast interactivity
|
||||
+ on desktops with great smoothness without increasing CPU power
|
||||
+ consumption and sacrificing the battery life on laptops.
|
||||
+
|
||||
config HZ_1000
|
||||
bool "1000 HZ"
|
||||
help
|
||||
@@ -52,6 +59,7 @@ config HZ
|
||||
default 100 if HZ_100
|
||||
default 250 if HZ_250
|
||||
default 300 if HZ_300
|
||||
+ default 500 if HZ_500
|
||||
default 1000 if HZ_1000
|
||||
|
||||
config SCHED_HRTICK
|
||||
|
||||
diff --git a/kernel/Kconfig.hz b/kernel/Kconfig.hz
|
||||
index 2a202a846757..1d9c7ed79b11 100644
|
||||
--- a/kernel/Kconfig.hz
|
||||
+++ b/kernel/Kconfig.hz
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
choice
|
||||
prompt "Timer frequency"
|
||||
- default HZ_500
|
||||
+ default HZ_750
|
||||
help
|
||||
Allows the configuration of the timer frequency. It is customary
|
||||
to have the timer interrupt run at 1000 Hz but 100 Hz may be more
|
||||
@@ -46,6 +46,13 @@ choice
|
||||
on desktops with great smoothness without increasing CPU power
|
||||
consumption and sacrificing the battery life on laptops.
|
||||
|
||||
+ config HZ_750
|
||||
+ bool "750 HZ"
|
||||
+ help
|
||||
+ 750 Hz is a good timer frequency for desktops. Provides fast
|
||||
+ interactivity with great smoothness without sacrificing too
|
||||
+ much throughput.
|
||||
+
|
||||
config HZ_1000
|
||||
bool "1000 HZ"
|
||||
help
|
||||
@@ -60,6 +67,7 @@ config HZ
|
||||
default 250 if HZ_250
|
||||
default 300 if HZ_300
|
||||
default 500 if HZ_500
|
||||
+ default 750 if HZ_750
|
||||
default 1000 if HZ_1000
|
||||
|
||||
config SCHED_HRTICK
|
||||
|
||||
diff --git a/mm/vmscan.c b/mm/vmscan.c
|
||||
index 9270a4370d54..30d01e647417 100644
|
||||
--- a/mm/vmscan.c
|
||||
+++ b/mm/vmscan.c
|
||||
@@ -169,7 +169,7 @@
|
||||
/*
|
||||
* From 0 .. 200. Higher means more swappy.
|
||||
*/
|
||||
-int vm_swappiness = 60;
|
||||
+int vm_swappiness = 20;
|
||||
|
||||
static void set_task_reclaim_state(struct task_struct *task,
|
||||
struct reclaim_state *rs)
|
@ -6,7 +6,7 @@ index 6b423eebfd5d..61e3271675d6 100644
|
||||
#include "cpufreq_ondemand.h"
|
||||
|
||||
/* On-demand governor macros */
|
||||
-#define DEF_FREQUENCY_UP_THRESHOLD (63)
|
||||
-#define DEF_FREQUENCY_UP_THRESHOLD (80)
|
||||
-#define DEF_SAMPLING_DOWN_FACTOR (1)
|
||||
+#define DEF_FREQUENCY_UP_THRESHOLD (55)
|
||||
+#define DEF_SAMPLING_DOWN_FACTOR (5)
|
||||
@ -15,4 +15,4 @@ index 6b423eebfd5d..61e3271675d6 100644
|
||||
+#define MICRO_FREQUENCY_UP_THRESHOLD (63)
|
||||
#define MICRO_FREQUENCY_MIN_SAMPLE_RATE (10000)
|
||||
#define MIN_FREQUENCY_UP_THRESHOLD (1)
|
||||
#define MAX_FREQUENCY_UP_THRESHOLD (100)
|
||||
#define MAX_FREQUENCY_UP_THRESHOLD (100)
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user