Commit Graph

248 Commits

Author SHA1 Message Date
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
K900
15fdac8845 linux_6_3: init 2023-04-24 11:25:05 +03:00
Sebastian Walz
14604986ad linux-kernels: linux_mptcp_95 was deprecated in aliases.nix and does not exist in packages anymore. While attribute-missing-errors are aborting, throw can be caught with tryEval. 2023-04-06 01:01:47 +02:00
Bernardo Meurer
c7a3a7070e
Merge pull request #222578 from goertzenator/linuxconfig_patches 2023-03-28 09:24:50 -03:00
Adrian Pistol
487f0f9283
linux-rt_6_1: init at 6.1.19-rt8 (#222174)
Also sets the linux_rt_latest to 6.1.

Closes #222094
2023-03-26 01:58:52 +00:00
Daniel Goertzen
1d31b69cdd linux-kernels/linuxConfig: add kernelPatches
Kernel patches may contain new Kconfig elements
so they should be applied to src before generating
a config.
2023-03-22 12:43:07 -05:00
Alyssa Ross
8c719d58e1 linux_4_14_hardened: mark broken 2023-03-20 12:28:48 +00:00
Alyssa Ross
6ba2ffa05c linux_4_19_hardened: mark broken on x86_64
According to Hydra, this hasn't built for almost a year.
2023-03-20 12:28:48 +00:00
牧瀬紅莉栖
924887fec4 ch9344: init at 1.9 2023-03-18 14:20:28 +08:00
K900
5c0d228b6f Revert "linux: fix brcmfmac driver"
This reverts commit 141317dff9.
2023-03-13 14:38:06 +03:00
Martin Weinelt
237e2f744b
Merge pull request #212799 from mweinelt/ipu6
ipu6  webcam support
2023-03-12 15:57:47 +00:00
Maximilian Bosch
141317dff9
linux: fix brcmfmac driver
Reverts a patch that broke WPA auth in offload mode for brcmfmac
(broadcom driver). See
https://lore.kernel.org/linux-wireless/ZAx0TWRBlGfv7pNl@kroah.com/T/#m0bbd179b92fbbcae0498fd642c31c1ecab1968c0
for context.

Had to hack around a bit to make sure this doesn't get applied to
hardened which uses an older patch-level without the problematic patch.
2023-03-12 10:32:15 +01:00
Maximilian Bosch
647d316d4b
Merge pull request #215313 from GaetanLepage/bump-default-linux
linuxPackages: bump default 5.15 -> 6.1
2023-03-03 21:11:15 +01:00
Alyssa Ross
7560f8eea5 linuxPackages.exfat-nofuse: set to null when unsupported
This is the same thing every other obsolete kernel module does, and
it's better than an assertion because an assertion prevents testing
evaluation of all the modules for a particular kernel.
2023-02-22 21:34:27 +00:00
Alyssa Ross
807ac7dcbe linuxKernel: respect config.allowAliases
In Nixpkgs, we generally gate throws for package removals behind
config.allowAliases (as seen elsewhere in this very file already!),
which has nice properties like making it possible to test evaluation
of all the packages in an attrset that are expected to evaluate by
disabling aliases.
2023-02-22 21:34:27 +00:00
Alyssa Ross
bfef542b67 linux_5_4_hardened: use meta.broken, not assert
Respects NIXPKGS_ALLOW_BROKEN and allows attributes to be accessed.
2023-02-22 21:34:27 +00:00
K900
522512e7b4 linux: init 6.2 2023-02-20 13:40:41 +03:00
Cole Helbling
4e2079b96d linux_{5_15,6_1}: revert patch to fix Equinix Metal bonded networking with ice driver
Some Equinix Metal instances, such as a3.large.x86, m3.large.x86
(specific hardware revisions), and n3.large.x86, use the `ice` kernel
driver for their network cards, in conjunction with bonded devices.
However, this commit caused a regression where these bonded devices
would deadlock. This was initially reported by Jaroslav Pulchart on
the netdev mailing list[1], and there were follow-up patches from Dave
Ertman[2][3] that attempted to fix this but were not up to snuff for
various reasons[4].

Specifically, v2 of the patch ([3]) appears to fix the issue on some
devices (tested with 8086:159B network cards), while it is still broken
on others (such as an 8086:1593 network card).

We revert the patch exposing the issue until upstream has a working
solution in order to make Equinix Metal instances work reliably again.

[1]: https://lore.kernel.org/netdev/CAK8fFZ6A_Gphw_3-QMGKEFQk=sfCw1Qmq0TVZK3rtAi7vb621A@mail.gmail.com/
[2]: https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20230111183145.1497367-1-david.m.ertman@intel.com/
[3]: https://patchwork.ozlabs.org/project/intel-wired-lan/patch/20230215191757.1826508-1-david.m.ertman@intel.com/
[4]: https://lore.kernel.org/netdev/cb31a911-ba80-e2dc-231f-851757cfd0b8@intel.com/T/#m6e53f8c43093693c10268140126abe99e082dc1c
2023-02-16 10:06:24 -08:00
Martin Weinelt
9b4f6d4d92
linuxPackages.ivsc-driver: init at 2023-01-06 2023-02-14 18:33:29 +01:00
Martin Weinelt
3c4862636f
linuxPackages.ipu6-drivers: init at 2023-01-17 2023-02-14 18:33:28 +01:00
Gaetan Lepage
c8ed3c2962 linuxPackages: bump default 5.15 -> 6.1 2023-02-10 11:02:53 +01:00
PedroHLC ☭
9c69938485
linuxKernel.kernels.linux_testing_bcachefs: 6.1.9-unstable-2022-12-29 -> 6.1.3-unstable-2023-02-01 2023-02-02 20:29:48 -03:00
Maximilian Bosch
48665a4150
linux_6_0: drop
EOLed by upstream, doesn't receive any patches anymore, so let's drop
it.

Currently depends on #211886 which bumps the latest compatible ZFS
version to 6.1.

Also, clean up some old aliases.
2023-01-23 10:59:20 +01:00
K900
33b60cca17 linux/hardened/patches/6.1: init at 6.1.6-hardened1 2023-01-15 15:23:24 +03:00
Graham Christensen
8552d36ed3
Merge pull request #204673 from whiteley/5.15-rt
Add linux-rt-5.15
2023-01-06 19:56:41 +00:00
Jörg Thalheim
dda48a5044 linux_testing_bcachefs: 2022-10-31 -> 2022-12-29 2023-01-01 19:58:17 +01:00
Naïm Favier
6c563f30fe
linuxManualConfig: don't require lib and stdenv arguments
Reverts 7c7c83e233 which was
only needed for the minimal-kernel.nix test module and clutters the call site.

stdenv can still be overridden with `linuxManualConfig.override { stdenv = ...; }`.
2022-12-22 01:42:15 +01:00
Naïm Favier
fc346c5e62
linux: use lib.versions.pad for modDirVersion 2022-12-21 13:23:28 +01:00
K900
609ef3f74e linux: add 6.1 2022-12-12 10:53:11 +03:00
Matt Whiteley
cb929a8951 Add linux-rt-5.15
5.15 is the current stable rt kernel[^1]. I've defined it but I didn't
change `stable` or `latest` since I assumed we'd want a testing period.
I didn't see a pre-existing `next` or `testing` type label to use.

[^1]: https://wiki.linuxfoundation.org/realtime/start
2022-12-05 17:42:11 +00:00
Dominique Martinet
d54760e57f oci-seccomp-bpf-hook: move out of linuxPackages
oci-seccomp-bpf-hook does not depend on kernel and does not need to be a
linuxPackage attribute.

keep inherited attribute for backwards compability
2022-12-01 12:52:17 +09:00
Luke Granger-Brown
bebec27baa
Merge pull request #159830 from chivay/lkrg
lkrg: init at 0.9.5
2022-11-25 21:33:04 +01:00
Sandro
a0bb254735
Merge pull request #170421 from chuangzhu/rtl8723ds 2022-11-16 02:35:53 +01:00
Hubert Jasudowicz
4a7925fcc4 lkrg: init at 0.9.5 2022-11-10 15:26:53 +01:00
Maximilian Bosch
36d5e2658c
linuxKernels: remove attrs for kernels EOLed before 22.05
Now that we actually do cleanups for 22.11, it's a good time to
drop these tombstones from before 22.05. For dropped kernel attributes
one NixOS release is IMHO enough as a grace period.
2022-11-08 17:09:46 +01:00
Maximilian Bosch
8d9133c67d
linux_4_9: remove
Support will be dropped on 01 Jan 2023[1]. Normally we'd keep it around
until then, but considering that it's an LTS kernel it may be better to
do it before 22.11 to make sure there are no unpleasant surprises.

Closes #199933

[1] https://endoflife.date/linux
2022-11-08 16:30:14 +01:00
Nick Cao
a9fb9f3b06
Revert "sysdig: pin to openssl_1_1"
This reverts commit 240ace010d.
2022-11-05 13:10:51 +08:00
Chuang Zhu
98edc9b253 linuxPackages.rtl8723ds: init at unstable-2022-10-20 2022-11-03 10:00:00 +08:00
Bernardo Meurer
8cc5d8e32a
linuxKernel.kernels.linux_5_19: drop
The 5.19.x series has reached EOL, and is no longer supported upstream.
2022-11-01 15:15:08 +00:00
fortuneteller2k
83d02e230f linux_xanmod_stable: point to latest 2022-11-01 10:10:28 +00:00
fortuneteller2k
ec9b92c9f1 linux_xanmod_latest: 6.0.0 -> 6.0.6 2022-10-31 17:57:16 +00:00
fortuneteller2k
94a1409703 linux_xanmod_stable: remove 2022-10-31 17:28:40 +00:00
fortuneteller2k
0a242b1573 linux_xanmod_tt: remove 2022-10-31 17:23:37 +00:00
Fabián Heredia Montiel
7bbd9bc29f linux_6_0_hardened: init at 6.0.5-hardened 2022-10-28 10:52:34 -05:00
Bernardo Meurer
6cb95cea68
Merge pull request #194545 from fortuneteller2k/xanmod 2022-10-10 11:46:56 -03:00
Matthieu Coudron
a3f854aef3 linux_mptcp,linux_mptcp_95: remove out-of-tree mptcp kernel
Multipath tcp (mptcp) is now part of the official linux kernel. The
official kernel still lacks features compared to this out of tree ones
but considering the userbase, I dont see any compelling reason.
I keep using that kernel and those utilities so they will stay packaged
at https://github.com/teto/mptcp-flake where they wont annoy the whole
nixpkgs crowd that doesn't care about it.
2022-10-07 23:14:30 +02:00
fortuneteller2k
ceda251f7d linux_xanmod_stable: init at 5.19.13 2022-10-05 07:03:27 +00:00
fortuneteller2k
c2fab026d8 linux_xanmod_latest: 5.19.12 -> 6.0.0, rename edge to next 2022-10-05 06:16:23 +00:00
K900
0faffb5531 linux/6.0: init 2022-10-03 11:04:50 +00:00
Maximilian Bosch
073f7b179c
nixos/kernel-generic: build linux_5_19_hardened 2022-09-18 12:13:58 +02:00
Maximilian Bosch
a2969b43bb
linux: remove 5.18
This is long overdue, the last release was almost a month ago, on 21st
Aug 2022[1].

[1] https://lwn.net/Articles/905532/
2022-09-17 17:06:58 +02:00
github-actions[bot]
0b8aa77df1
Merge master into staging-next 2022-08-25 18:01:10 +00:00
github-actions[bot]
c91ed9564a
Merge master into staging-next 2022-08-25 12:01:30 +00:00