Commit Graph

280 Commits

Author SHA1 Message Date
Kyle Hendricks
c048cfe481 gasket: moved to linux-kernels.nix
Since this is a kernel module, this needs to be added
to be added to linux-kernels.nix so that it can be
built for specific kernel versions

Appended the kernel make flags.

Set a minimum kernel version of 5.15 since it's failing to build on
older kernels.
2023-12-15 20:05:00 -05:00
Adam Joseph
80472e3754 treewide: add __attrsFailEvaluation and __recurseIntoDerivationForReleaseJobs 2023-12-15 05:13:46 -08:00
timothy
6e4d90f0b0 nvidia_x11.dc_535: 535.129.03 2023-12-15 18:20:42 +07:00
Maciej Krüger
28dab0255c
Merge pull request #272121 from gaykitty/framework-laptop-kmod
framework-laptop-kmod: init at unstable-2023-12-03
2023-12-15 02:38:53 +01:00
gaykitty
6d499a262d framework-laptop-kmod: init at unstable-2023-12-03 2023-12-14 10:40:19 -05:00
Fabián Heredia Montiel
70ac3dc8fe linux/hardened/patches/6.6: init at 6.6.6-hardened1 2023-12-12 16:01:46 -06:00
Madoura
10207ea919
linux_testing_bcachefs: fully deprecate in favor of 'linux_testing'
Follow-up to https://github.com/NixOS/nixpkgs/pull/267640 for 23.11 post-release
2023-12-05 01:05:40 -06:00
Sandro Jäckel
7cacb030de
linux-rt_latest: remove patch that doesn't apply 2023-11-26 19:20:13 +01:00
Raito Bezarius
e04c0b0d99 zfs_2_1: init at 2.1.13
This re-introduces the old stable ZFS version we had in the past following
the many predicted issues of ZFS 2.2.x series, that is much more stable
than any further ZFS version at the moment.

I am also removing myself from maintenance of any further ZFS versions as I am
planning to quit ZFS maintenance at some point.

In the meantime, for users like me who depend on ZFS for critical operations, here is a ZFS version
that is known to work for LTS kernels.
2023-11-24 15:47:21 +01:00
Madoura
890cf0a79c
nixos/bcachefs: soft-deprecate 'linuxPackages_testing_bcachefs'
'bcachefs' is included in the linux kernel since 6.7-rc1
2023-11-18 09:58:51 -06:00
github-actions[bot]
dba5c9ef4e
Merge master into staging-next 2023-11-16 18:01:17 +00:00
Markus Theil
cc18755c08 mstflint_access: init at 4.26
Add companion kernel module for mstflint, which is required
on some systems with secure boot enabled.

Link to corresponding mstflint version.

Signed-off-by: Markus Theil <theil.markus@gmail.com>
2023-11-11 10:56:46 +01:00
Alyssa Ross
afabc4a15d
Merge remote-tracking branch 'origin/master' into HEAD
Conflicts:
	pkgs/development/libraries/SDL2/default.nix
2023-11-10 15:18:19 +01:00
Artturi
94633f04a3
Merge pull request #257386 from RaySlash/hid-tmff2 2023-11-10 16:02:36 +02:00
RaySlash
546fc20314 hid-tmff2: init at v0.81
A linux module for Thrustmaste T300RS, T248 and TX(experimental) wheels.
ca168637fb

- Additionally, https://github.com/scarburato/hid-tminit is also required
for proper init of the driver.

- The driver has been updated to v0.81

- Fixed a typo in maintainer-list

- hid-tmff2 update sha256

- update hid-tmff2 version

Co-authored-by: Artturi <Artturin@artturin.com>
2023-11-10 21:12:42 +10:00
github-actions[bot]
4a533d29ce
Merge master into staging-next 2023-11-01 12:01:10 +00:00
Atemu
954929831d
Merge pull request #258397 from Atemu/init/nct6687d
kernelPackages.nct6687d: init at unstable-2023-09-22
2023-11-01 11:22:15 +01:00
github-actions[bot]
7f11b9b46b
Merge master into staging-next 2023-10-30 12:01:05 +00:00
K900
419eba9ab1 linux_6_6: init at 6.6 2023-10-30 10:48:44 +03:00
Alyssa Ross
3c99915d06
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/top-level/all-packages.nix
2023-10-19 08:27:36 +00:00
ajs124
17d99c500b linux_hardkernel_4_14: remove 2023-10-15 01:19:36 +02:00
ajs124
89e976973b linux_4_14: remove 2023-10-15 01:19:34 +02:00
github-actions[bot]
81871f4c87
Merge staging-next into staging 2023-10-08 12:01:52 +00:00
Fabián Heredia Montiel
7c12f9d7ab
Merge pull request #259451 from NixOS/update-kernels
Kernel updates for 2023-10-07
2023-10-07 23:52:38 -06:00
Alyssa Ross
182718fecc
Merge remote-tracking branch 'origin/staging-next' into staging
Conflicts:
	pkgs/top-level/linux-kernels.nix
2023-10-07 19:52:18 +00:00
Fabián Heredia Montiel
b6a243099d linux_6_1: 6.1.55 -> 6.1.56 2023-10-06 14:03:38 -06:00
Fabián Heredia Montiel
1a34c1aaa6 linux_6_5: 6.5.5 -> 6.5.6 2023-10-06 14:03:37 -06:00
Daniel Hill
d6bf8b47ec bcachefs: 2023-06-28 -> 2023-09-29
Includes prep work for mainline bcachefs release.
2023-10-03 22:00:26 +01:00
Alyssa Ross
ae3682cb17
linux_6_4: drop (EOL)
It's still in kernels-org.json, because even if I remove it the update
script will keep putting it back, but nothing references it, and it'll
be removed from that file when kernels are next updated after it's
been delisted from kernel.org.

linux_testing_bcachefs still needs to be updated for >6.4, so for now
I've just inlined the Linux 6.4 definition in linux_testing_bcachefs's
definition.
2023-10-02 17:27:32 +00:00
Atemu
024951bf24 kernelPackages.nct6687d: init at unstable-2023-09-22 2023-10-01 15:02:58 +02:00
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
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