summary refs log tree commit diff
path: root/pkgs/os-specific/linux/kernel/common-config.nix
Commit message (Collapse)AuthorAge
* linux-kernel: Add dell drivers on 5.12+roblabla2021-06-23
|
* linux-kernel: update config for 5.13Lengyel Balázs2021-06-14
|
* linux/common-config.nix: Configure for armv7l-linux tooSamuel Dionne-Riel2021-05-04
|
* linux/common-config.nix: Enable FB_SIMPLE on AArch64Samuel Dionne-Riel2021-05-04
|
* Merge master into staging-nextgithub-actions[bot]2021-04-19
|\
| * kernel: Remove CONFIG_BLK_DEV_RAM=y (remove /dev/ram* devices)Jens Nolte2021-04-18
| | | | | | | | | | | | | | | | | | | | | | This option allows to use portions of the system RAM as block devices. It was configured to 'y' (built-in, therefore not unloadable or reconfigurable) and configured 16 4MB RAM disks which, to my knowledge, currently have no purpose in NixOS. Removing the option restores it to it's default value of 'm', which enables it to be loaded at runtime (which is also required to be able to change it's configuration without rebuilding the kernel).
* | linux: remove remnants of grsecurityAlyssa Ross2021-04-06
| | | | | | | | | | | | | | | | | | | | Nixpkgs hasn't supported grsecurity kernels since 2017, so unless anybody is manually enabling the grsecurity feature to make these small kernel tweaks this is dead code. This means we don't actually support any "features" in the kernel common-config any more, but I've left the argument there because it's conceivable we could have some again in future.
* | linux: enable Xen everywhere it can beAlyssa Ross2021-04-04
|/ | | | | | | | | | | | | | I don't think there's any reason to have a seperate kernel variant because of this, with all the maintenance burden that imposes. Debian and Fedora both enable all these options on their normal kernels. Alias the Linux Xen attributes, so this change should be seemless for people who were using the Xen kernels up to now. All the Xen options are marked as optional anyway, so it should be fine to try to enable them on non-x86 platforms as well. Fixes: https://github.com/NixOS/nixpkgs/issues/115182
* Merge master into staging-nextgithub-actions[bot]2021-04-04
|\
| * linux: don't compress by ZSTD on 32-bitVladimír Čunát2021-04-03
| | | | | | | | | | It doesn't build on i686 and I don't consider it worth deep investigation. I tried a VM test, too (nixosTests.knot).
* | Merge staging-next into staginggithub-actions[bot]2021-04-02
|\|
| * Fix some typos in commentsAlyssa Ross2021-04-01
| |
* | Merge pull request #117645 from zhaofengli/linux-srv6Martin Weinelt2021-03-29
|\ \ | |/ |/| linux: Enable SRv6 options
| * linux: Enable SRv6 optionsZhaofeng Li2021-03-26
| |
* | linux-testing: 5.11-rc5 -> 5.12-rc4Tim Steinbach2021-03-26
|/ | | | | | | | - Sound SOC support was refactored in torvalds/linux@43df5242af4ed67e8811257ab1bfe6a07e4a5858 - GMA3600 is part of GMA500 as of torvalds/linux@26499e0518a77de29e7db2c53fb0d0e9e15be8fb
* linux: enable NVMe MultipathJonathan Teh2021-03-10
| | | | | | | | | | | | | | Enable NVME_MULTIPATH so that a single /dev/nvmeXnY device will show up for each NVMe namespaces, even if it is accessible through multiple controllers. Can be disabled at boot with `nvme_core.multipath=0`. This is default enabled in Debian [1], Ubuntu 20.04 [2] , Arch [3] and Fedora 33 [4]. [1]: https://salsa.debian.org/kernel-team/linux/-/blob/debian/5.10.19-1/debian/config/config#L4362 [2]: https://git.launchpad.net/~ubuntu-kernel/ubuntu/+source/linux/+git/focal/tree/debian.master/config/config.common.ubuntu?h=Ubuntu-5.4.0-67.75#n6722 [3]: https://git.archlinux.org/svntogit/packages.git/tree/trunk/config?h=packages/linux#n2423 [4]: https://src.fedoraproject.org/rpms/kernel/blob/f33/f/kernel-x86_64-fedora.config#_4338
* Merge pull request #90065 from wizeman/u/fix-config-mergeLinus Heckemann2021-03-08
|\ | | | | linux: make sure all config options have the same value
| * linux: fix fallout from conflicting kernel configsRicardo M. Correia2021-03-07
| | | | | | | | | | | | | | | | | | | | | | The parent commit forbids conflicting kernel config options. Fix the hardened kernels by allowing options in common-config.nix to be overridden by conflicting ones in hardened/config.nix. I'm explicitly avoiding using a higher priority (e.g. using mkForce) in hardened/config.nix so that the user can easily override the options in that file.
* | kernel: RANDOM_TRUST_CPU for >= 4.19Tim Steinbach2021-03-08
| |
* | linux: enable RANDOM_TRUST_CPURouven Czerwinski2021-03-08
| | | | | | | | | | | | | | | | | | | | Allows the RDRAND instruction to seed the kernel RNG. This should lead to faster CRNG initialization, since the kernel can use the processors capabilities directly. This is default enabled in Debian [1] and Fedora [2] as well. [1]: https://salsa.debian.org/kernel-team/linux/-/blob/debian/5.10.13-1/debian/config/config#L459 [2]: https://src.fedoraproject.org/rpms/kernel/blob/rawhide/f/kernel-x86_64-fedora.config#_4907
* | linux: Enable CONFIG_UNICODE to support casefoldVarris2021-03-01
|/ | | | Required to mount filesystems with casefold enabled. Fixes #109432
* Merge branch 'staging-next' into stagingJan Tojnar2021-02-19
|\ | | | | | | | | | | | | Resolved the following conflicts: - kernel flags between 09176d28a0ebbd8bae35f92406a48cded78ac9f7 and 2b28822d8dec38fd62ef17643ec71da3bb488619 - clojure-lsp between 3fa00685ce21fb1a4218d444d0862ebcb2b99706 and e03c068af5c9ca950214cd6c3b5cfe67f595da88
| * Revert "linux: Disable BFQ scheduler"Tim Steinbach2021-02-19
| | | | | | | | This reverts commit b2f79fe7e74647e133b786d01fbf0065f73970fd.
| * common-config: fixup compilation for linux 5.11Arthur Gautier2021-02-19
| | | | | | | | | | | | | | | | | | DRM_AMD_DC_DCN3_0 has been renamed DRM_AMD_DC_DCN in linux 5.11 see: https://github.com/torvalds/linux/commit/20f2ffe504728612d7b0c34e4f8280e34251e704 https://github.com/NixOS/nixpkgs/pull/113194#issuecomment-781766471 Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
* | Merge pull request #113236 from blitz/kcmpMichael Weiss2021-02-18
|\ \ | | | | | | linux: enable kcmp() system call
| * | linux: enable kcmp() system callJulian Stecklina2021-02-18
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Since 2020, Mesa requires the kcmp() system call to be available for some of its functionality. At the moment, this system call is enabled when CHECKPOINT_RESTORE is enabled in the Linux kernel. This option is also enabled by default in Fedora and Debian. This patch enables CHECKPOINT_RESTORE by default on all kernel versions where it is not marked as EXPERT, i.e. everything after and including 4.19. Fixes #112082.
* | Merge staging-next into staginggithub-actions[bot]2021-02-17
|\|
| * Merge master into staging-nextgithub-actions[bot]2021-02-17
| |\
| | * linux: Disable BFQ schedulerTim Steinbach2021-02-17
| | |
* | | linux: fix DRM_AMD_DC_DCN3_0 beeing defined twiceJörg Thalheim2021-02-15
| | | | | | | | | | | | | | | | | | | | | both https://github.com/NixOS/nixpkgs/pull/111177 and https://github.com/NixOS/nixpkgs/pull/109105 introduced the same option.
* | | Merge pull request #109105 from wakira/amdgpu_dcnLinus Heckemann2021-02-15
|\ \ \ | |/ / |/| | linux: enable display core support for all amd gpus
| * | linux: enable display core support for all amd gpusSheng Wang2021-01-12
| | | | | | | | | | | | newer amd gpus require display core to function normally
* | | Merge pull request #111177 from afontaine/enable-rx6000-gpusSandro2021-02-03
|\ \ \ | | | | | | | | common-config: Enable RX 6000 Series AMDGPU
| * | | common-config: Enable RX 6000 Series AMDGPUAndrew Fontaine2021-01-29
| | |/ | |/| | | | | | | | | | | | | | | | The kernel config parameter `DRM_AMD_DC_DCN3_0` is required to enable the RX 6000 series GPUs, and is supported on kernels at least `5.9.12`. Source: https://wiki.gentoo.org/wiki/AMDGPU#Installation
* | | Merge pull request #109644 from Izorkin/update-firewallJörg Thalheim2021-02-03
|\ \ \
| * | | nftables: add netdev REJECT supportIzorkin2021-01-17
| | | |
* | | | Merge pull request #110542 from Atemu/kernel-f2fs-compressionJörg Thalheim2021-01-24
|\ \ \ \ | |_|/ / |/| | | linux: enable F2FS compression
| * | | linux: enable F2FS compressionAtemu2021-01-22
| | |/ | |/| | | | | | | Fixes https://github.com/NixOS/nixpkgs/issues/110534
* | | Merge master into staging-nextgithub-actions[bot]2021-01-18
|\ \ \ | |_|/ |/| |
| * | pkgs/os-specific: stdenv.lib -> libBen Siraphob2021-01-17
| |/
* | Merge master into staging-nextgithub-actions[bot]2021-01-11
|\|
| * linux: Optional SECURITY_LOCKDOWN_LSMTim Steinbach2021-01-11
| | | | | | | | The option has been removed in the most recent dot releases
* | linux: build with multipath tcp supportMilan Pässler2021-01-07
|/ | | | | | | | | | Starting from Linx 5.6, there is partial upstream support for the Multipath TCP protocol. There are no downsides to enabling it afaict, since applications need to opt-in when creating a socket. From https://github.com/multipath-tcp/mptcp_net-next/wiki: "[...] users of regular TCP continue to get the same type of connection and performance unless MPTCP is requested."
* Merge staging-next into staginggithub-actions[bot]2020-12-31
|\
| * linux: configure aarch64 contiguous memory allocator via kernel configSamuel Dionne-Riel2020-12-31
| | | | | | | | | | | | | | | | | | | | | | | | | | As per the in-line comment, this is where distros should configure it. Not via kernel command line parameters. As found by looking at the implementation, while exploring the cause of a bug on the Raspberry Pi 4, it was found that `cma=` on the command line parameters will overwrite the values a device tree will have configured for a given platform. With this, the more recent 5.4 vendor kernel boots just fine on the Raspberry Pi 4 using our common configuration.
* | Merge pull request #107625 from Atemu/r13y/kernel-disable-module-signingMichael Raskin2020-12-30
|\ \ | | | | | | kernel: disable module signing
| * | linux: disable module signingAtemu2020-12-26
| |/ | | | | | | | | | | | | | | Without this, the kernel would generate a random one for us which obviously isn't reproducible. `nix-build -A linux --check` succeeds now! (Tested at different times with different kernel)
* / kernel: use zstd compression on 5.9+.Blaž Hrastnik2020-12-28
|/
* linux: explicitly enable RASGaute Ravndal2020-11-26
| | | | This is needed for EDAC support.
* kernel config: explicitly enable CONFIG_IPV6Florian Klink2020-11-16
| | | | | | | | | | | | | | | | | | | | We currently build CONFIG_IPV6=m. This seems to be not really well-supported in mainline kernels - see https://lore.kernel.org/netdev/20201115224509.2020651-1-flokli@flokli.de/T/#u Compiling it as a module doesn't give too much benefit - even for people who did explicitly set `enableIPv6` to false, the `ipv6` module was still loaded, as soon as another module was loaded that requires it (bridge,br_netfilter,wireguard,ip6table_mangle,sctp,…). By compiling it in, we only loose the possibility to not add it to `boot.kernelModules` anymore (as it's part of the kernel directly). The space savings are negligible. People wanting to disable IPv6 still get the appropriate sysctls and options set (while having the kernel code loaded), nothing is really changing here.