Commit Graph

10397 Commits

Author SHA1 Message Date
K900
1ed5df1e70 linux/common-config: replace simplefb with simpledrm
Arch and Fedora have been shipping it for a while now, we should
probably join them in the happy non-fbdev future. Legacy fbdev
drivers are still enabled for now, so non-simpledrm-friendly
devices don't break.
2024-03-23 14:16:11 +03:00
K900
cb39b35304 linux/common-config: enable RC_CORE explicitly
Disabled by default in 5.10, needed by MEDIA_CEC_RC
2024-03-23 14:15:44 +03:00
K900
e75a47315c linux/common-config: reenable schedstats
Was disabled in dbdcb3fad4
for "powertop" kernel variants, which was then merged into default
kernels in 77a8ea6fbd. Not really sure why.
2024-03-23 13:47:40 +03:00
Maximilian Bosch
d7dab308bd Merge pull request #298103 from alois31/kernel-config-duplicates
kernel/common-config: throw on duplicate configuration option definitions
2024-03-23 10:36:57 +00:00
Atemu
fca7db6edb Merge pull request #296789 from zzzsyyy/update/xanmod
linux_xanmod, linux_xanmod_latest: 2024-03-15
2024-03-22 21:48:17 +00:00
Alois Wohlschlager
1bfe0f3c08 kernel/common-config: throw on duplicate configuration option definitions
Previously, when a kernel configuration option was defined multiple times (in
different sections), only the first value was honored and all subsequent ones
were silently ignored. Remove this footgun by throwing in this situation
instead.
In addition, fix all instances where an option was in fact defined multiple
times. In two cases (`RCU_TORTURE_TEST` and `CRASH_DUMP`), the value was
effectively the same both times. In the other two cases (`SCHEDSTATS` and
`DRM_SIMPLEDRM`) the value was in fact different; the one that was actually
applied was kept here to prevent a rebuild.
2024-03-22 17:14:13 +01:00
Wim de With
c41df32743 kernel/generic: fix overrides 2024-03-22 14:45:07 +01:00
Wim de With
9804a6c703 kernels.linux_lqx: fix build 2024-03-22 14:45:07 +01:00
K900
c27ef74614 Merge pull request #296867 from NixOS/why-is-there-a-bike-shed-in-the-hole
kernel/common-config: enable a whole bunch of stuff
2024-03-20 09:26:03 +03:00
K900
f6dc8ef448 kernel/common-config: enable a whole bunch of stuff
This is just useful things I've found while diffing our kernel configs
with Arch and Fedora. Some of these have a small performance overhead,
most are completely free.

Switch default performance governor to schedutil, because performance
is almost always a bad default.
2024-03-19 12:00:31 +03:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
K900
853e0c2992 linux/generic: make output of buildLinux overrideable again
Fixes #296448
2024-03-18 13:26:54 +03:00
Raito Bezarius
6fe3d788c8 linux/common-config: set idle timeout to 10s for sound cards
As per https://docs.kernel.org/sound/designs/powersave.html

We update our defaults for better power saving on laptops
which does not perform powertop --auto-tune, TLP or manual tweaking, e.g.
power-profiles-daemon.
2024-03-18 00:55:20 -07:00
zzzsyyy
8deee2c216 linux_xanmod_latest: 6.7.9 -> 6.7.10 2024-03-18 09:35:10 +08:00
zzzsyyy
ec2f29fd50 linux_xanmod: 6.6.21 -> 6.6.22 2024-03-18 09:19:16 +08:00
K900
424d609df4 linux: uncurse arguments
Currently things like `buildLinux { inherit src version; }` fail because of
`callPackage` auto-inserting `kernelPatches`, which is both a `buildLinux`
argument and a `pkgs` toplevel attribute, with completely different semantics.

Avoid that entirely by splitting the call into two - one for arguments we want
from `callPackage`, and one for everything else.
2024-03-16 18:39:32 +03:00
Maximilian Bosch
b74aaf8125 linux/hardened/patches/6.6: 6.6.18-hardened1 -> 6.6.21-hardened1 2024-03-15 21:27:22 +01:00
Maximilian Bosch
edae92c0d9 linux/hardened/patches/6.1: 6.1.79-hardened1 -> 6.1.81-hardened1 2024-03-15 21:26:50 +01:00
Maximilian Bosch
98db1347e7 linux/hardened/patches/5.4: 5.4.269-hardened1 -> 5.4.271-hardened1 2024-03-15 21:26:33 +01:00
Maximilian Bosch
0ced9d0d7d linux/hardened/patches/5.15: 5.15.149-hardened1 -> 5.15.151-hardened1 2024-03-15 21:26:14 +01:00
Maximilian Bosch
f6b74d6247 linux/hardened/patches/5.10: 5.10.210-hardened1 -> 5.10.212-hardened1 2024-03-15 21:26:01 +01:00
Maximilian Bosch
2b554a0f91 linux/hardened/patches/4.19: 4.19.307-hardened1 -> 4.19.309-hardened1 2024-03-15 21:25:33 +01:00
Maximilian Bosch
5a829f6dec linux_latest-libre: 19500 -> 19509 2024-03-15 21:16:46 +01:00
Maximilian Bosch
2340860eff linux-rt_6_6: 6.6.20-rt25 -> 6.6.21-rt26 2024-03-15 21:16:39 +01:00
Maximilian Bosch
dea5439ec4 linux-rt_5_4: 5.4.264-rt88 -> 5.4.271-rt89 2024-03-15 21:16:27 +01:00
Maximilian Bosch
5056d1fb1c linux-rt_5_10: 5.10.210-rt102 -> 5.10.211-rt103 2024-03-15 21:16:16 +01:00
Maximilian Bosch
d4867ad179 linux_4_19: 4.19.309 -> 4.19.310 2024-03-15 21:16:06 +01:00
Maximilian Bosch
feb0bc0bb1 linux_5_4: 5.4.271 -> 5.4.272 2024-03-15 21:16:00 +01:00
Maximilian Bosch
1a772cbd15 linux_5_10: 5.10.212 -> 5.10.213 2024-03-15 21:15:55 +01:00
Maximilian Bosch
0736c3158a linux_5_15: 5.15.151 -> 5.15.152 2024-03-15 21:15:49 +01:00
Maximilian Bosch
58e7a3da06 linux_6_1: 6.1.81 -> 6.1.82 2024-03-15 21:15:43 +01:00
Maximilian Bosch
1cabb377ac linux_6_6: 6.6.21 -> 6.6.22 2024-03-15 21:15:37 +01:00
Maximilian Bosch
27c6f36c3a linux_6_7: 6.7.9 -> 6.7.10 2024-03-15 21:15:30 +01:00
Maximilian Bosch
28780c3cab linux_6_8: 6.8 -> 6.8.1 2024-03-15 21:15:23 +01:00
Jordan Isaacs
f27ac4a21c kernel-doc: fix build 2024-03-14 22:14:31 -07:00
K900
882ac2ebbb Merge pull request #294916 from K900/linux-6.8
Linux 6.8
2024-03-11 17:53:19 +03:00
K900
a512cf4642 kernel/common-config: enable NVK by default when available 2024-03-11 08:57:19 +03:00
Jerry Starke
09df456c6d linuxKernel.kernels.linux_zen: 6.7.9-zen1 -> 6.8-zen1 2024-03-11 06:49:45 +01:00
K900
dd01167b67 linux_6_8: init at 6.8 2024-03-11 08:33:50 +03:00
Atemu
d40e866b1f Merge pull request #294272 from zzzsyyy/update/xanmod
linux_xanmod, linux_xanmod_latest: 2024-03-06
2024-03-10 19:04:55 +00:00
Jerry Starke
2876de8991 linuxKernel.kernels.linux_lqx: 6.7.6-lqx1 -> 6.7.9-lqx1 2024-03-08 17:12:22 +01:00
Jerry Starke
349d8e0c5c linuxKernel.kernels.linux_zen: 6.7.7-zen1 -> 6.7.9-zen1 2024-03-08 17:05:13 +01:00
zzzsyyy
0fe4a93085 linux_xanmod_latest: 6.7.7 -> 6.7.9 2024-03-08 20:38:51 +08:00
zzzsyyy
b4953044d8 linux_xanmod: 6.6.19 -> 6.6.21 2024-03-08 20:12:31 +08:00
Vladimír Čunát
335c734226 Merge #292500: staging-next 2024-03-01 2024-03-08 12:35:06 +01:00
K900
e74a4b1527 kernel/common-config: disable NFSD_V2_ACL on 6.1
Upstream disabled NFSD_V2 entirely, so disable this also.
2024-03-08 10:42:02 +03:00
github-actions[bot]
590e65a7b3 Merge master into staging-next 2024-03-07 12:01:24 +00:00
K900
c5276cf83a linux_latest-libre: 19491 -> 19500 2024-03-06 19:57:09 +03:00
K900
c4638703d9 linux-rt_6_6: 6.6.18-rt23 -> 6.6.20-rt25 2024-03-06 19:56:52 +03:00
K900
eb660207fd linux-rt_6_1: 6.1.79-rt25 -> 6.1.80-rt26 2024-03-06 19:56:30 +03:00