Compare commits

...

4 Commits

Author SHA1 Message Date
Sravan Balaji
3cc28c3531 PDS Kernel Configuration 2023-10-13 09:45:53 -04:00
Piotr Górski
18f10e2989 6.5: Add new EEVDF patches for BORE 3.2.0 (#826)
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2023-10-13 15:26:14 +02:00
FintasticMan
d1caaffa2e Add some more kernel modules to diet config (#814)
Partly taken from my database, partly from @ryanmusante's.
Also update the sorting to match what modprobed-db outputs, so that it's
easier to check which modules are missing from the diet config.
2023-10-09 22:12:49 +02:00
Yifan Zhu
097c2ed1b5 Correct comments for modprobed.db option (#823)
Prompting at build time was removed in commit 1a69f04e6e

Co-authored-by: Yifan Zhu <fanzhuyifan@gmail.com>
2023-10-09 22:11:00 +02:00
3 changed files with 589 additions and 271 deletions

View File

@@ -3,7 +3,7 @@
# Linux distribution you are using, options are "Arch", "Ubuntu", "Debian", "Fedora", "Suse", "Gentoo", "Generic". # Linux distribution you are using, options are "Arch", "Ubuntu", "Debian", "Fedora", "Suse", "Gentoo", "Generic".
# It is automatically set to "Arch" when using PKGBUILD. # It is automatically set to "Arch" when using PKGBUILD.
# If left empty, the script will prompt # If left empty, the script will prompt
_distro="" _distro="Arch"
# Kernel Version - x.x format without the subversion (will always grab latest available subversion) is recommended # Kernel Version - x.x format without the subversion (will always grab latest available subversion) is recommended
# you can also set a specific kernel version, e.g. "6.0-rc4" or "5.10.51", # you can also set a specific kernel version, e.g. "6.0-rc4" or "5.10.51",
@@ -46,7 +46,7 @@ CUSTOM_GCC_PATH=""
CUSTOM_LLVM_PATH="" CUSTOM_LLVM_PATH=""
# Set to true to bypass makepkg.conf and use all available threads for compilation. False will respect your makepkg.conf options. # Set to true to bypass makepkg.conf and use all available threads for compilation. False will respect your makepkg.conf options.
_force_all_threads="true" _force_all_threads="false"
# Set to true to prevent ccache from being used and set CONFIG_GCC_PLUGINS=y (which needs to be disabled for ccache to work properly) # Set to true to prevent ccache from being used and set CONFIG_GCC_PLUGINS=y (which needs to be disabled for ccache to work properly)
_noccache="false" _noccache="false"
@@ -59,17 +59,17 @@ _kernel_on_diet="false"
# Set to true to use modprobed db to clean config from unneeded modules. Speeds up compilation considerably. Requires root - https://wiki.archlinux.org/index.php/Modprobed-db # Set to true to use modprobed db to clean config from unneeded modules. Speeds up compilation considerably. Requires root - https://wiki.archlinux.org/index.php/Modprobed-db
# Using this option can trigger user prompts if the config doesn't go smoothly. # Using this option can trigger user prompts if the config doesn't go smoothly.
# !!!! Make sure to have a well populated db !!!! - Leave empty to be asked about it at build time # !!!! Make sure to have a well populated db !!!!
_modprobeddb="false" _modprobeddb="false"
# modprobed-db database file location # modprobed-db database file location
_modprobeddb_db_path=~/.config/modprobed.db _modprobeddb_db_path=~/.config/modprobed.db
# Set to "1" to call make menuconfig, "2" to call make nconfig, "3" to call make xconfig, before building the kernel. Set to false to disable and skip the prompt. # Set to "1" to call make menuconfig, "2" to call make nconfig, "3" to call make xconfig, before building the kernel. Set to false to disable and skip the prompt.
_menunconfig="" _menunconfig="false"
# Set to true to generate a kernel config fragment from your changes in menuconfig/nconfig. Set to false to disable and skip the prompt. # Set to true to generate a kernel config fragment from your changes in menuconfig/nconfig. Set to false to disable and skip the prompt.
_diffconfig="" _diffconfig="false"
# Set to the file name where the generated config fragment should be written to. Only used if _diffconfig is active. # Set to the file name where the generated config fragment should be written to. Only used if _diffconfig is active.
_diffconfig_name="" _diffconfig_name=""
@@ -104,11 +104,11 @@ _STRIP="true"
# CPU scheduler - Options are "pds", "bmq", "cacule", "tt", "bore", "bore-eevdf", "eevdf" or "cfs" (kernel's default) # CPU scheduler - Options are "pds", "bmq", "cacule", "tt", "bore", "bore-eevdf", "eevdf" or "cfs" (kernel's default)
# "upds" (TkG's Undead PDS) and "muqss" are also available on legacy kernel revisions # "upds" (TkG's Undead PDS) and "muqss" are also available on legacy kernel revisions
_cpusched="" _cpusched="pds"
# Compiler to use - Options are "gcc" or "llvm". # Compiler to use - Options are "gcc" or "llvm".
# For advanced users. # For advanced users.
_compiler="" _compiler="gcc"
# Force the use of the LLVM Integrated Assembler whether using LLVM, LTO or not. # Force the use of the LLVM Integrated Assembler whether using LLVM, LTO or not.
# Set to "1" to enable. # Set to "1" to enable.
@@ -138,7 +138,7 @@ _preempt_rt_force=""
# For BMQ: 0: No yield. # For BMQ: 0: No yield.
# 1: Deboost and requeue task. (Default) # 1: Deboost and requeue task. (Default)
# 2: Set rq skip task. # 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 # 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. # 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.
@@ -146,7 +146,7 @@ _sched_yield_type=""
# PDS default: 4ms" # PDS default: 4ms"
# BMQ default: 2ms" # BMQ default: 2ms"
# Set to "1" for 2ms, "2" for 4ms, "3" for 6ms, "4" for 8ms, or "default" to keep the chosen scheduler defaults. # Set to "1" for 2ms, "2" for 4ms, "3" for 6ms, "4" for 8ms, or "default" to keep the chosen scheduler defaults.
_rr_interval="" _rr_interval="default"
# Set to "true" to disable FUNCTION_TRACER/GRAPH_TRACER, lowering overhead but limiting debugging and analyzing of kernel functions - Kernel default is "false" # Set to "true" to disable FUNCTION_TRACER/GRAPH_TRACER, lowering overhead but limiting debugging and analyzing of kernel functions - Kernel default is "false"
_ftracedisable="false" _ftracedisable="false"
@@ -161,10 +161,10 @@ _misc_adds="true"
# Full tickless can give higher performances in case you use isolation of CPUs for tasks # Full tickless can give higher performances in case you use isolation of CPUs for tasks
# and it works only when using the nohz_full kernel parameter, otherwise behaves like idle. # and it works only when using the nohz_full kernel parameter, otherwise behaves like idle.
# Just tickless idle perform better for most platforms. # Just tickless idle perform better for most platforms.
_tickless="" _tickless="2"
# 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" # 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="" _acs_override="false"
# 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" # 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"
# This can be buggy and isn't recommended on a production machine, also enabling this option will not allow you to enable MGLRU. # This can be buggy and isn't recommended on a production machine, also enabling this option will not allow you to enable MGLRU.
@@ -175,7 +175,7 @@ _bcachefs="false"
_winesync="false" _winesync="false"
# Set to "true" to enable Binder modules to use Waydroid Android containers # Set to "true" to enable Binder modules to use Waydroid Android containers
_waydroid="" _waydroid="false"
# Various patches and tweaks from Zen/Liquorix, Xanmod and the community - Default is "true" # Various patches and tweaks from Zen/Liquorix, Xanmod and the community - Default is "true"
_glitched_base="true" _glitched_base="true"
@@ -185,7 +185,7 @@ _glitched_base="true"
_zenify="true" _zenify="true"
# compiler optimization level - 1. Optimize for performance (-O2); 2. Optimize harder (-O3); 3. Optimize for size (-Os) - Kernel default is "1" # compiler optimization level - 1. Optimize for performance (-O2); 2. Optimize harder (-O3); 3. Optimize for size (-Os) - Kernel default is "1"
_compileroptlevel="1" _compileroptlevel="2"
# CPU compiler optimizations - Defaults to prompt at kernel config if left empty # CPU compiler optimizations - Defaults to prompt at kernel config if left empty
# AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4" (zen3 opt support depends on GCC11) (zen4 opt support depends on GCC13) # AMD CPUs : "k8" "k8sse3" "k10" "barcelona" "bobcat" "jaguar" "bulldozer" "piledriver" "steamroller" "excavator" "zen" "zen2" "zen3" "zen4" (zen3 opt support depends on GCC11) (zen4 opt support depends on GCC13)
@@ -199,7 +199,7 @@ _compileroptlevel="1"
# - "generic_v2" (depends on GCC11 - to share the package between machines with different CPU µarch supporting at least x86-64-v2 # - "generic_v2" (depends on GCC11 - to share the package between machines with different CPU µarch supporting at least x86-64-v2
# - "generic_v3" (depends on GCC11 - to share the package between machines with different CPU µarch supporting at least x86-64-v3 # - "generic_v3" (depends on GCC11 - to share the package between machines with different CPU µarch supporting at least x86-64-v3
# - "generic_v4" (depends on GCC11 - to share the package between machines with different CPU µarch supporting at least x86-64-v4 # - "generic_v4" (depends on GCC11 - to share the package between machines with different CPU µarch supporting at least x86-64-v4
_processor_opt="" _processor_opt="skylake"
# CacULE only - Enable Response Driven Balancer, an experimental load balancer for CacULE # CacULE only - Enable Response Driven Balancer, an experimental load balancer for CacULE
_cacule_rdb="false" _cacule_rdb="false"
@@ -212,13 +212,13 @@ _cacule_rdb_interval="19"
_tt_high_hz="false" _tt_high_hz="false"
# MuQSS and PDS only - SMT (Hyperthreading) aware nice priority and policy support (SMT_NICE) - Kernel default is "true" - You can disable this on non-SMT/HT CPUs for lower overhead # MuQSS and PDS only - SMT (Hyperthreading) aware nice priority and policy support (SMT_NICE) - Kernel default is "true" - You can disable this on non-SMT/HT CPUs for lower overhead
_smt_nice="" _smt_nice="true"
# Trust the CPU manufacturer to initialize Linux's CRNG (RANDOM_TRUST_CPU) - Kernel default is "false" # Trust the CPU manufacturer to initialize Linux's CRNG (RANDOM_TRUST_CPU) - Kernel default is "false"
_random_trust_cpu="true" _random_trust_cpu="true"
# Timer frequency - "100" "250" "300" "500" "750" "1000" ("2000" is available for cacule cpusched only) - More options available in kernel config prompt when left empty depending on selected cpusched with the default option pointed with a ">" (2000 for cacule, 100 for muqss and 1000 for other cpu schedulers) # Timer frequency - "100" "250" "300" "500" "750" "1000" ("2000" is available for cacule cpusched only) - More options available in kernel config prompt when left empty depending on selected cpusched with the default option pointed with a ">" (2000 for cacule, 100 for muqss and 1000 for other cpu schedulers)
_timer_freq="" _timer_freq="1000"
# Default CPU governor - "performance", "ondemand", "schedutil" or leave empty for default (schedutil) # Default CPU governor - "performance", "ondemand", "schedutil" or leave empty for default (schedutil)
_default_cpu_gov="ondemand" _default_cpu_gov="ondemand"
@@ -234,7 +234,7 @@ _aggressive_ondemand="true"
_tcp_cong_alg="" _tcp_cong_alg=""
# You can pass a default set of kernel command line options here - example: "intel_pstate=passive nowatchdog amdgpu.ppfeaturemask=0xfffd7fff mitigations=off" # You can pass a default set of kernel command line options here - example: "intel_pstate=passive nowatchdog amdgpu.ppfeaturemask=0xfffd7fff mitigations=off"
_custom_commandline="intel_pstate=passive split_lock_detect=off" _custom_commandline=""
# Selection of Clearlinux patches # Selection of Clearlinux patches
_clear_patches="true" _clear_patches="true"

View File

@@ -25,9 +25,9 @@ algif_hash
algif_skcipher algif_skcipher
alx alx
amd64_edac amd64_edac
amdgpu
amd_pmc amd_pmc
amd_pstate amd_pstate
amdgpu
amdxcp amdxcp
apple_mfi_fastcharge apple_mfi_fastcharge
appletalk appletalk
@@ -54,8 +54,8 @@ bluetooth
bnep bnep
bpf bpf
bpf_preload bpf_preload
bridge
br_netfilter br_netfilter
bridge
btbcm btbcm
btcoexist btcoexist
btintel btintel
@@ -91,10 +91,10 @@ cmdlinepart
coretemp coretemp
cpufreq_ondemand cpufreq_ondemand
crc16 crc16
crc32c_generic
crc32c_intel
crc32_generic crc32_generic
crc32_pclmul crc32_pclmul
crc32c_generic
crc32c_intel
crc64 crc64
crc64_rocksoft crc64_rocksoft
crc64_rocksoft_generic crc64_rocksoft_generic
@@ -109,13 +109,13 @@ cuse
dca dca
des_generic des_generic
dm_crypt dm_crypt
dmi_sysfs
dm_log dm_log
dm_mirror dm_mirror
dm_mod dm_mod
dm_multipath dm_multipath
dm_region_hash dm_region_hash
dm_round_robin dm_round_robin
dmi_sysfs
dns_resolver dns_resolver
drm drm
drm_buddy drm_buddy
@@ -127,10 +127,10 @@ drm_ttm_helper
dvb_core dvb_core
ebtable_filter ebtable_filter
ebtables ebtables
ec_sys
ecb ecb
ecc ecc
ecdh_generic ecdh_generic
ec_sys
edac_mce_amd edac_mce_amd
ee1004 ee1004
eeepc_wmi eeepc_wmi
@@ -178,7 +178,6 @@ hid_logitech_hidpp
hid_microsoft hid_microsoft
hid_multitouch hid_multitouch
hid_nintendo hid_nintendo
hidp
hid_playstation hid_playstation
hid_roccat hid_roccat
hid_roccat_common hid_roccat_common
@@ -187,6 +186,8 @@ hid_roccat_ryos
hid_sony hid_sony
hid_steam hid_steam
hid_wiimote hid_wiimote
hidp
hp_wmi
hv_balloon hv_balloon
hv_netvsc hv_netvsc
hv_storvsc hv_storvsc
@@ -207,6 +208,8 @@ i2c_piix4
i2c_smbus i2c_smbus
i8042 i8042
i915 i915
iTCO_vendor_support
iTCO_wdt
ib_cm ib_cm
ib_core ib_core
idma64 idma64
@@ -215,10 +218,12 @@ igc
inet_diag inet_diag
input_leds input_leds
int3400_thermal int3400_thermal
int3403_thermal
int340x_thermal_zone int340x_thermal_zone
intel_agp intel_agp
intel_cstate intel_cstate
intel_gtt intel_gtt
intel_hid
intel_lpss intel_lpss
intel_lpss_pci intel_lpss_pci
intel_pch_thermal intel_pch_thermal
@@ -227,37 +232,36 @@ intel_powerclamp
intel_rapl_common intel_rapl_common
intel_rapl_msr intel_rapl_msr
intel_soc_dts_iosf intel_soc_dts_iosf
intel_tcc_cooling
intel_uncore intel_uncore
intel_vsec intel_vsec
intel_wmi_thunderbolt intel_wmi_thunderbolt
iommufd
iommu_v2 iommu_v2
iommufd
ip6_tables
ip6_udp_tunnel
ip6t_REJECT
ip6t_rt
ip6table_filter ip6table_filter
ip6table_mangle ip6table_mangle
ip6table_nat ip6table_nat
ip6table_raw ip6table_raw
ip6_tables
ip6table_security ip6table_security
ip6t_REJECT ip_set
ip6t_rt ip_tables
ip6_udp_tunnel
ipmi_devintf ipmi_devintf
ipmi_msghandler ipmi_msghandler
ip_set ipt_REJECT
iptable_filter iptable_filter
iptable_mangle iptable_mangle
iptable_nat iptable_nat
iptable_raw iptable_raw
ip_tables
iptable_security iptable_security
ipt_REJECT
ipv6 ipv6
ir_kbd_i2c ir_kbd_i2c
irqbypass irqbypass
isofs isofs
it87 it87
iTCO_vendor_support
iTCO_wdt
iw_cm iw_cm
iwlmei iwlmei
iwlmvm iwlmvm
@@ -301,15 +305,17 @@ mbcache
mc mc
mc44s803 mc44s803
md4 md4
md_mod
mdio mdio
mdio_devres mdio_devres
md_mod
mei mei
mei_gsc
mei_hdcp mei_hdcp
mei_me mei_me
mei_pxp mei_pxp
mii mii
minix minix
mmc_core
mousedev mousedev
mptcp_diag mptcp_diag
mrp mrp
@@ -352,14 +358,14 @@ nf_nat_irc
nf_nat_pptp nf_nat_pptp
nf_nat_sip nf_nat_sip
nf_nat_tftp nf_nat_tftp
nf_reject_ipv4
nf_reject_ipv6
nf_tables
nfnetlink nfnetlink
nfnetlink_log nfnetlink_log
nfnetlink_queue nfnetlink_queue
nf_reject_ipv4
nf_reject_ipv6
nfs nfs
nfsv4 nfsv4
nf_tables
nft_chain_nat nft_chain_nat
nft_compat nft_compat
nft_ct nft_ct
@@ -383,6 +389,7 @@ nls_utf8
nouveau nouveau
ntfs ntfs
ntfs3 ntfs3
nvidia_wmi_ec_backlight
nvme nvme
nvme_common nvme_common
nvme_core nvme_core
@@ -438,12 +445,18 @@ rt2800usb
rt2x00lib rt2x00lib
rt2x00usb rt2x00usb
rtl8192ee rtl8192ee
rtl8723_common
rtl8723ae rtl8723ae
rtl8723be rtl8723be
rtl8723_common
rtl8821ae rtl8821ae
rtl_pci rtl_pci
rtlwifi rtlwifi
rtsx_pci
rtsx_pci_sdmmc
rtw88_8821c
rtw88_8821ce
rtw88_core
rtw88_pci
sch_cake sch_cake
sch_fq_codel sch_fq_codel
sch_ingress sch_ingress
@@ -460,8 +473,11 @@ ses
sg sg
sha512_ssse3 sha512_ssse3
snd snd
snd_acp3x_pdm_dma
snd_acp3x_rn
snd_acp6x_pdm_dma snd_acp6x_pdm_dma
snd_acp_config snd_acp_config
snd_acp_pci
snd_aloop snd_aloop
snd_compress snd_compress
snd_ctl_led snd_ctl_led
@@ -479,10 +495,12 @@ snd_intel_sdw_acpi
snd_pci_acp3x snd_pci_acp3x
snd_pci_acp5x snd_pci_acp5x
snd_pci_acp6x snd_pci_acp6x
snd_pci_ps
snd_pcm snd_pcm
snd_pcm_dmaengine snd_pcm_dmaengine
snd_rawmidi snd_rawmidi
snd_rn_pci_acp3x snd_rn_pci_acp3x
snd_rpl_pci_acp6x
snd_seq snd_seq
snd_seq_device snd_seq_device
snd_seq_dummy snd_seq_dummy
@@ -501,12 +519,14 @@ snd_soc_sst_dsp
snd_soc_sst_ipc snd_soc_sst_ipc
snd_sof snd_sof
snd_sof_amd_acp snd_sof_amd_acp
snd_sof_amd_rembrandt
snd_sof_amd_renoir snd_sof_amd_renoir
snd_sof_intel_hda snd_sof_intel_hda
snd_sof_intel_hda_common snd_sof_intel_hda_common
snd_sof_intel_hda_mlink snd_sof_intel_hda_mlink
snd_sof_pci snd_sof_pci
snd_sof_pci_intel_cnl snd_sof_pci_intel_cnl
snd_sof_pci_intel_tgl
snd_sof_probes snd_sof_probes
snd_sof_utils snd_sof_utils
snd_sof_xtensa_dsp snd_sof_xtensa_dsp
@@ -514,9 +534,9 @@ snd_timer
snd_ua101 snd_ua101
snd_ump snd_ump
snd_usb_audio snd_usb_audio
snd_usbmidi_lib
snd_usb_us122l snd_usb_us122l
snd_usb_usx2y snd_usb_usx2y
snd_usbmidi_lib
snd_virmidi snd_virmidi
soundcore soundcore
soundwire_bus soundwire_bus
@@ -549,6 +569,7 @@ tea5767
tee tee
tg3 tg3
thermal thermal
thunderbolt
tiny_power_button tiny_power_button
tls tls
tpm tpm
@@ -578,14 +599,14 @@ uio
uio_pdrv_genirq uio_pdrv_genirq
unix_diag unix_diag
usb_common usb_common
usb_storage
usb_wwan
usbcore usbcore
usbhid usbhid
usbip_core usbip_core
usbip_host usbip_host
usbmon usbmon
usbnet usbnet
usb_storage
usb_wwan
uvc uvc
uvcvideo uvcvideo
uvesafb uvesafb
@@ -618,9 +639,11 @@ vsock_loopback
wacom wacom
watchdog watchdog
wireguard wireguard
wireless_hotkey
wmi wmi
wmi_bmof wmi_bmof
x86_pkg_temp_thermal x86_pkg_temp_thermal
x_tables
xc2028 xc2028
xc4000 xc4000
xc5000 xc5000
@@ -632,21 +655,20 @@ xhci_pci
xhci_pci_renesas xhci_pci_renesas
xor xor
xpad xpad
x_tables xt_CHECKSUM
xt_LOG
xt_MASQUERADE
xt_NFQUEUE
xt_REDIRECT
xt_addrtype xt_addrtype
xt_cgroup xt_cgroup
xt_CHECKSUM
xt_comment xt_comment
xt_conntrack xt_conntrack
xt_hl xt_hl
xt_limit xt_limit
xt_LOG
xt_mark xt_mark
xt_MASQUERADE
xt_nat xt_nat
xt_NFQUEUE
xt_recent xt_recent
xt_REDIRECT
xt_state xt_state
xt_tcpudp xt_tcpudp
xxhash_generic xxhash_generic

File diff suppressed because it is too large Load Diff