Commit Graph

505 Commits

Author SHA1 Message Date
hubofeverything
99ccaa3d74 linux-kernel: Add HP drivers on 6.1+ 2023-09-18 02:13:42 -07:00
Kiskae
813e000742 linux_testing: 6.5-rc7 -> 6.6-rc1
rc1: https://lwn.net/Articles/944122/
2023-09-12 07:45:33 +00:00
github-actions[bot]
9f3079a7c3
Merge master into staging-next 2023-08-12 12:01:01 +00:00
Sergei Trofimovich
b93d18275c linux: disable KUNIT only at 5.5 and later
`KUNIT` knob was added around 5.5 release:
    914cc63eea
2023-08-12 08:13:57 +01:00
github-actions[bot]
37cdcaae78
Merge staging-next into staging 2023-08-09 12:01:51 +00:00
Yureka
80be2b22b0
linux: disable KUnit (#247826) 2023-08-09 09:54:07 +02:00
github-actions[bot]
8181d9443b
Merge staging-next into staging 2023-07-30 18:01:39 +00:00
Ryan Lahfa
a2a9595033
Merge pull request #244345 from RaitoBezarius/update/kernel-testing 2023-07-30 18:58:17 +02:00
github-actions[bot]
85536e3a09
Merge staging-next into staging 2023-07-29 00:02:36 +00:00
Ryan Lahfa
020ff5ccb5
Merge pull request #239780 from RaitoBezarius/nixos-for-aps 2023-07-28 23:12:36 +02:00
Adam Joseph
3aff655361 Revert "linuxManualConfig: install GDB scripts"
This reverts commit d57568fcad.
2023-07-28 12:32:03 -07:00
Florian Klink
45e44dd407 linuxPackages: set IP_ROUTE_MULTIPATH to yes
This already gets set to yes by the x86 defconfig, but is not set to
true on aarch64, which means you can't program IPv4 routes with multiple
nexthops there. Set this to y unconditionally, so we don't have this odd
mismatch between x86_64 and aarch64.
2023-07-20 11:00:20 +03:00
Raito Bezarius
e881a9cb1a linux_testing: 6.4-rc7 -> 6.5-rc2
`VIDEO_STK1160_COMMON` was removed in
 7f7ac101236bd020681f122089b611eca8e507ac ("media: stk1160: Simplify the build config definition").

This is now guarded for newer kernels.
2023-07-19 15:07:09 +02:00
Raito Bezarius
3b07356d2d linux/kernel/common-config: support DFS radiations for ath(9|10)k drivers
This enables shady options because upstream and Atheros probably didn't fix the issue
and their idea of "certification" is quite extreme.

We follow OpenWRT here and apply those changes to reduce "WTFs/min" for users
wondering what is the difference between OpenWRT and NixOS for their APs.

This was tested on Qualcomm Atheros QCA986x/988x 802.11ac Wireless Network Adapter on a x86 machine
in the French regulatory domain on frequency 5600MHz, DFS was used successfully by hostapd
instead of a mind-boggling "device or resource busy" error which is what happens without those options.
2023-06-25 18:18:04 +02:00
github-actions[bot]
bc9cc8ad2f
Merge master into staging-next 2023-06-23 12:01:26 +00:00
K900
42e2cee85f kernel/common-config: fix DAMON version checks 2023-06-23 10:35:13 +03:00
K900
d4786b2a7c kernel/common-config: enable TPS68470 driver explicitly for old kernels 2023-06-23 10:32:17 +03:00
Alyssa Ross
0a81cf8e7a linux: set ZPOOL=y
ZBUD depends on ZPOOL.  If we get asked about ZPOOL first, by default
it would be set to m, and it would then not be possible to set ZBUD=y.

This fixes, for example, building Linux 5.15 for microblazeel-linux.
2023-06-22 12:26:50 +00:00
K900
23f23b5603 kernel/common-config: enable DAMON 2023-06-20 15:24:42 +03:00
K900
b79dc4496b kernel/common-config: enable CONFIG_PMIC_OPREGION and friends for Bay Trail
If you have one of these, know that at least nixpkgs still cares about you.
2023-06-20 15:24:42 +03:00
K900
9b6474dd6c kernel/common-config: enable AMD Zen BRS 2023-06-20 15:24:42 +03:00
K900
26db9b9527 linux/common-config: fix i686 2023-05-18 16:30:49 +03:00
Bernardo Meurer
26e7d76c49
Merge pull request #232262 from K900/dont-say-lazy 2023-05-17 11:34:58 -04:00
Alois Wohlschlager
b7ac30197b
linux: enable zram writeback
Zram needs CONFIG_ZRAM_WRITEBACK in order for writeback configuration
to work. Since there is even a NixOS option (zramSwap.writebackDevice)
for configuring writeback, it should be enabled.
2023-05-16 19:05:33 +02:00
K900
d6db303160 linux: enable RCU_LAZY where supported
Supposed to save some power at idle.
2023-05-16 19:18:58 +03:00
David McFarland
a4aa2c0476 linux: enable DRM_AMD_DC_FP on 6.4
In 6.4, DRM_AMD_DC_DCN is renamed to DRM_AMD_DC_FP.

Fixes: f5252cb7e0
2023-05-14 10:13:17 -03:00
github-actions[bot]
71874015ba
Merge master into staging-next 2023-05-10 12:01:10 +00:00
Alexandre Acebedo
f5252cb7e0 linux: fix 6.4-rc1 build 2023-05-09 13:22:29 +02:00
Jared Baur
8d4f643c66 linux: enable CR50 TPM found on chromebooks
Along with other ChromeOS related configs, this change
enables TPM support for Chromebook/Chromebox devices.
2023-05-08 20:29:43 +00:00
Atemu
8939c1042d
Merge pull request #223459 from lorenz/fix-ir-kernel-error
linux: fix error with IR remotes
2023-04-13 08:25:08 +02:00
Ionut Nechita
d645bba8c8 android: with new kernel versions this option is no longer necessary
Description:
 - ANDROID = { optional = true; tristate = whenBetween "5.0" "5.19" "y";};
 - starting from 5.20 and 6.0, this parameter no longer exists.

Change-Id: I34d6638e01eb539de34afe2152ff5927a317b68a
Signed-off-by: Ionut Nechita <ionut_n2001@yahoo.com>
2023-03-29 08:25:16 +03:00
Lorenz Brun
5a6490040c linux: fix error with IR remotes
Support for IR remotes was originally introduced in NixOS in 2013 with
[1]. This worked fine until 2018 with the release of Linux 4.16 which
contained [2], which removed the default-enable on the IR decoders.
This means that kernels since then build with RC_DEVICES enabled, but
RC_DECODERS disabled:
```
CONFIG_RC_DEVICES=y
```

This breaks IR remote support and also leads to the following error on
every bootup when such a device is present as devices have a default
keymap which uses a protocols decoder, but these decoders are not
available:
```
rc_core: Loaded IR protocol module ir-rc6-decoder, but protocol rc-6 still not available
```

Fix this by also enabling RC_DECODERS in the kernel configuration.

[1] b7ccfc258a
[2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=22756ae7319b0afc2a80fbdec365a6976a1ad350
2023-03-28 01:58:19 +02:00
Maximilian Bosch
e999433b3a
Merge pull request #221707 from NixOS/linuxManualConfig-unpack
linuxManualConfig: install GDB scripts
2023-03-20 20:42:10 +01:00
Alyssa Ross
d57568fcad
linuxManualConfig: install GDB scripts
These are required to debug kernel modules.  Since we're now able to
do that, there's another reason besides BTF to enable DEBUG_INFO, so
I've done that for pre-BTF kernel modules as well here.

For GDB to get configured correctly, vmlinux-gdb.py has to be two
directories up from scripts/gdb, and vmlinux has to be next to
vmlinux-gdb.py.  The least invasive way to satisfy these constraints
is to make vmlinux a symlink, which GDB will resolve before looking
for vmlinux-gdb.py.

Tested both ways of getting the scripts into GDB that I know of:

gdb /nix/store/7n77ijlxkxr6d613h02lr707kvjx6j1k-linux-6.1.19-dev/vmlinux \
    -iex 'add-auto-load-safe-path /nix/store/7n77ijlxkxr6d613h02lr707kvjx6j1k-linux-6.1.19-dev/lib/modules/6.1.19/build/vmlinux-gdb.py' \
    -ex 'lx-version' \
    -ex 'q'
gdb /nix/store/7n77ijlxkxr6d613h02lr707kvjx6j1k-linux-6.1.19-dev/vmlinux \
    -ex 'source /nix/store/7n77ijlxkxr6d613h02lr707kvjx6j1k-linux-6.1.19-dev/lib/modules/6.1.19/build/vmlinux-gdb.py' \
    -ex 'lx-version' \
    -ex 'q'

Also tested that the strip changes don't result in meaningful output
size changes (there's some small variation due to BTF data not always
coming out the same size, which is unrelated), and built every kernel
I can on x86_64 to make sure I'm not relying on build system behaviour
specific to newer kernels.
2023-03-20 00:09:52 +00:00
Ryan Lahfa
618ba94934
Merge pull request #210205 from 9ary/kernel-fonts
Build the large Terminus font into the kernel
2023-03-19 20:13:25 +01:00
Alexandre Acebedo
28065039e6 linux_testing: 6.2-rc6 -> 6.3-rc1 2023-03-12 13:42:10 +00:00
Astro
8f7e647c30 linux: enable VIRTIO_MMIO_CMDLINE_DEVICES 2023-02-27 22:39:23 +01:00
QuantMint
743bd1f29f linux: fix-build on i686 2023-02-19 21:04:50 +01:00
Sergei Trofimovich
6c5bf4e060
Merge pull request #209667 from QuantMint/linux
linux: enable ACPI_FPDT, ACPI_HMAT, ACPI_APEI, ACPI_APEI_GHES, ACPI_DPTF
2023-02-18 20:54:24 +00:00
Tyler Slabinski
f8f7820433 linuxPackages_testing: remove unused options for 6.2 2023-02-02 23:29:18 +00:00
novenary
7ffa701d74 kernel: enable Terminus 16x32 font
This font was added into the kernel for high-resolution displays.
It has been available since 5.0.
2023-01-24 11:01:57 +02:00
QuantMint
fb49d81b25 linux: enable ACPI_FPDT, ACPI_HMAT, ACPI_APEI, ACPI_APEI_GHES, ACPI_DPTF 2023-01-08 11:18:48 +01:00
Dominik Xaver Hörl
95c27f5975 linux: enable Multi-Gen LRU by default 2022-12-19 15:18:05 +01:00
Dominik Xaver Hörl
6486611984 linux: build with support for Multi-Gen LRU 2022-12-19 15:18:05 +01:00
Vladimír Čunát
9c497bb8d6
Merge branch 'staging-next' into staging 2022-12-09 10:27:46 +01:00
Fabián Heredia Montiel
13f89aee64 linux: further cleanup config after drop of 4.9 2022-12-03 10:22:06 -06:00
Martin Weinelt
ca98db29b3 Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-03 13:56:22 +01:00
Vladimír Čunát
3dc3a628fd
Merge #204169: Linux Kernel updates for 2022-12-02 2022-12-03 09:13:56 +01:00
Martin Weinelt
e3da5a807b Merge remote-tracking branch 'origin/staging-next' into staging 2022-12-03 01:28:01 +01:00
K900
b9a4991020 linux: set X86_AMD_PSTATE=y instead of =m 2022-12-02 23:37:00 +03:00