Commit graph

200 commits

Author SHA1 Message Date
K900 662a2c460d linux: rewrite updater-script, make data-driven
Co-authored-by: Raito Bezarius <masterancpp@gmail.com>
2023-09-22 10:38:44 +03:00
Jade Lovelace 12650cd156 linuxKernel.kernels: patch out nvme regression on 2017ish Dell laptops
Fixes #253418
2023-09-22 07:17:49 +00:00
Fabián Heredia Montiel 90040cd36a linux/hardened/patches/6.5: init at 6.5.3-hardened1 2023-09-19 07:09:14 +00:00
Edward Tjörnhammar 9b95f21cdb nvidia,nixos/nvidia: add datacenter drivers compatible with default cudaPkgs
For NVLink topology systems we need fabricmanager. Fabricmanager itself is
dependent on the datacenter driver set and not the regular x11 ones, it is also
tightly tied to the driver version. Furhtermore the current cudaPackages
defaults to version 11.8, which corresponds to the 520 datacenter drivers.

Future improvement should be to switch the main nvidia datacenter driver version
on the `config.cudaVersion` since these are well known from:

> https://docs.nvidia.com/deploy/cuda-compatibility/index.html#use-the-right-compat-package

This adds nixos configuration options `hardware.nvidia.datacenter.enable` and
`hardware.nvidia.datacenter.settings` (the settings configure fabricmanager)

Other interesting external links related to this commit are:

* Fabricmanager download site:
    - https://developer.download.nvidia.com/compute/cuda/redist/fabricmanager/linux-x86_64/
* Data Center drivers:
    - https://www.nvidia.com/Download/driverResults.aspx/193711/en-us/

Implementation specific details:

* Fabricmanager is added as a passthru package, similar to settings and
  presistenced.
* Adds `use{Settings,Persistenced,Fabricmanager}` with defaults to preserve x11
  expressions.
* Utilizes mkMerge to split the `hardware.nvidia` module into three comment
  delimited sections:
    1. Common
    2. X11/xorg
    3. Data Center
* Uses asserts to make the configurations mutualy exclusive.

Notes:

* Data Center Drivers are `x86_64` only.
* Reuses the `nvidia_x11` attribute in nixpkgs on enable, e.g. doesn't change it
  to `nvidia_driver` and sets that to either `nvidia_x11` or `nvidia_dc`.
* Should have a helper function which is switched on `config.cudaVersion` like
  `selectHighestVersion` but rather `selectCudaCompatibleVersion`.
2023-09-12 07:17:33 +02:00
hexchen df68d342c9 linuxPackages.decklink: init at 12.0a14 2023-09-09 19:45:50 +02:00
Raito Bezarius 4e4d4ed5c7 linux_6_5: init
https://lwn.net/Articles/942879/
2023-08-28 14:07:53 +02:00
K900 552fafbb31 linuxPackages.rtw88: 2022-11-05 -> 2023-07-23 2023-08-14 12:44:21 +03:00
Jonas Heinrich c5f4a46036 nixos/opensnitch: Add support for EPBF process monitor
Co-authored-by: Slime90
2023-08-13 22:19:48 +08:00
Janik 777fcd15e2
Merge pull request #245677 from fsagbuya/linux-gpib 2023-08-08 14:52:14 +02:00
davidak 62f11e9e1d
Merge pull request #246187 from SuperSamus/hid-nintendo-remove
hid-nintendo: remove
2023-08-06 04:07:11 +02:00
Florian Agbuya 1d41078177 linux-gpib: init at 4.3.6 2023-08-03 21:19:45 +08:00
Martino Fontana d9fd4ba733 hid-nintendo: remove 2023-07-30 14:49:27 +02:00
Fabián Heredia Montiel ffba10cd9a linux_6_3: drop as EOL 2023-07-22 12:46:17 -06:00
Rishi Desai 4c251b10d4 fanout: init at unstable-2023-07-21 2023-07-21 10:48:13 -05:00
Maximilian Bosch 4a4636b544
linux_rt_5_4: remove now-applied patch
Failing Hydra build: https://hydra.nixos.org/build/226948220/
2023-07-17 18:46:53 +02:00
April John 6cee3b5893 linuxPackages.trelay: init at 22.03.5
Co-authored-by: Yaya <github@uwu.is>
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Co-authored-by: Yureka <yuka@yuka.dev>
2023-07-16 21:13:31 +02:00
Fabián Heredia Montiel ad38070be8 linux/hardened/patches/6.4: init at 6.4.3-hardened1 2023-07-11 16:53:08 -06:00
Fabián Heredia Montiel 0836b331a5 linux_5_15: drop fix-amdgpu-5_15 patch 2023-07-07 21:34:33 -06:00
Alexandre Iooss bbb80e088d rtl8723bs: remove 2023-07-03 11:01:47 +02:00
PedroHLC ☭ 871e005913 linuxKernel.kernels.linux_testing_bcachefs: 6.1.3-unstable-2023-02-01 -> 6.4.0-unstable-2023-06-28 2023-07-01 17:10:10 +02:00
Maximilian Bosch 0b4e493e58
linux_6_3_hardened: expose package 2023-06-28 21:23:00 +02:00
Maximilian Bosch f193e0b820
linux_5_15: apply patch to fix amdgpu
Closes #240017
2023-06-28 21:19:26 +02:00
Raito Bezarius f43a6d7ee7 linux_6_4: init at 6.4
Email release: https://lwn.net/Articles/936310/
Kernel Newbies: https://kernelnewbies.org/Linux_6.4

linux_latest is bumped to linux_6_4 now.
2023-06-26 20:24:44 +00:00
Alexandre Iooss 96d7a8de5f sch_cake: remove 2023-06-14 18:30:25 +02:00
Maximilian Bosch c66b67fde8
Merge pull request #235027 from Kiskae/5_4_hardened_unbreak
linuxPackages_5_4_hardened.kernel: fix broken KConfig
2023-06-13 10:40:27 +02:00
K900 54dc023f7b linux_rt_5_10: drop merged patch 2023-06-07 21:16:50 +03:00
Kiskae 89c480cdc0 linuxKernel.kernels.linux_*_hardened: move overrides to kernels
derive `packages` from `kernels`, unify definitions
2023-05-31 17:11:36 +02:00
Kiskae 7f330db6cc linuxKernel.packages.linux_(4_14,4_19}_hardened: unbreak 2023-05-31 17:10:34 +02:00
github-actions[bot] 323e9a44c2
Merge staging-next into staging 2023-05-31 12:01:43 +00:00
Ulrik Strid 2de862f146
linuxKernel.packages.lenovo-legion: init at 2023-04-02-16-53-51
linuxKernel.packages.lenovo-legion: init at 2023-04-02-16-53-51
2023-05-31 11:31:23 +02:00
Kiskae a65a9e3131 linuxPackages_5_4_hardened.kernel: unbreak 2023-05-30 18:35:58 +02:00
Alyssa Ross 191075fa83
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/os-specific/linux/kernel/patches.nix
	pkgs/top-level/linux-kernels.nix
2023-05-26 18:37:26 +00:00
Alyssa Ross 101d8b7ba8 linux_6_2: drop
EOL
2023-05-26 13:03:57 +00:00
Vladimír Čunát 2159f74076
Merge branch 'staging-next' into staging 2023-05-26 14:03:40 +02:00
Ulrik Strid 77a95ebc94 linuxKernel.packages.lenovo-legion: init at 2023-04-02-16-53-51 2023-05-26 09:23:04 +02:00
Alyssa Ross b3210448b9 kernelPatches.fix-em-ice-bonding: remove
This was fixed in 248401cb2c46 ("ice: avoid bonding causing auxiliary
plug/unplug under RTNL lock"), which was backported to all relevant kernels.
2023-05-25 13:21:03 -07:00
K900 d64a444657 linux: drop merged patch 2023-05-25 09:09:20 +03:00
Raito Bezarius 9be9b726f4 linux_testing: 6.4-rc2 -> 6.4-rc3
Dropped the Maple state patch as it is already applied now.
2023-05-22 09:26:35 +00:00
Bernardo Meurer 1071529f67
linuxKernel.kernels: remove CVE-2023-32233 patch from up-to-date kernels 2023-05-17 16:59:37 +01:00
Robert Hensing c0a88fac21
Merge pull request #231393 from hercules-ci/fix-haskell-crashes
linux: patch to fix MAP_32BIT crashes, e.g. Haskell
2023-05-15 20:24:21 +02:00
Robert Hensing 17d26e4c7f linux: patch to fix MAP_32BIT crashes, e.g. Haskell 2023-05-15 05:48:56 +02:00
Jörg Thalheim 22f3e9411e
Merge pull request #230498 from Mic92/zfs-overridable
zfs: make kernel packages overridable
2023-05-14 15:15:47 +01:00
Maximilian Bosch 99c8d675d2
linuxKernels: ensure hardened kernels remain patched against CVE-2023-32233 2023-05-13 12:51:56 +02:00
Bernardo Meurer 6e8fd50125 linux: 6.3.1 -> 6.3.2 2023-05-12 04:16:38 -04:00
Bernardo Meurer 92bc06ec47 linux: 6.2.14 -> 6.2.15 2023-05-12 04:16:38 -04:00
Bernardo Meurer 4ac78fce34 linux: 6.1.27 -> 6.1.28 2023-05-12 04:16:38 -04:00
Bernardo Meurer 731bccc64c linux: 5.15.110 -> 5.15.111 2023-05-12 04:16:38 -04:00
Raito Bezarius 99e65bb00d linux_*, except testing, 4.14: apply patch for CVE-2023-32233
This applies the patch for CVE-2023-32233 from kernel 4.19 until 6.3,
testing (6.4-rc1 at the moment) is excluded because it already have the
fix and 4.14 doesn't have this fix queued for the next stable kernel.
2023-05-09 22:50:32 +02:00
Jörg Thalheim cfe5a79639 zfs: make kernel packages overridable
We do not have callPackages (notice the s) for kernel packages. Hence
it's not override zfs dependencies as we do not have an override
function. This is fixed by splitting of the file into a generic builder
function and 2 files for zfsStable and zfsUnstable.
2023-05-07 13:17:38 +02:00
Michael Livshin e12ac41279 system76-scheduler: init at 2.0.1 2023-05-02 00:22:55 +03:00