Commit Graph

187 Commits

Author SHA1 Message Date
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
PedroHLC ☭
29c68b0600
nvidia_x11: expose all open variants 2022-08-25 09:01:29 -03:00
Vladimír Čunát
55812d7b48
linux_5_4_hardened: don't build on x86_64-linux anymore
5.4 hasn't configured successfully on x86_64-linux for months.
People don't seem to care, but the 5.4 packages clutter failure lists
on Hydra + tools.
https://hydra.nixos.org/job/nixpkgs/trunk/linux_5_4_hardened.x86_64-linux/all

Perhaps surprisingly, it works on aarch64-linux and also on older kernels.
2022-08-19 10:43:59 +02:00
github-actions[bot]
3346909bad
Merge staging-next into staging 2022-08-18 12:02:05 +00:00
ajs124
240ace010d sysdig: pin to openssl_1_1 2022-08-17 20:16:24 +02:00
Kiskae
45e6c607d6 nvidia_x11: add conditional overrides
nvidia_x11_open: unbreak 5.19

common kernel code is shared, if the closed build is broken, so is the open one.

nvidia_x11_production: add alias, sort names

nvidia_x11: reintroduce stable as a pure alias

nvidia_x11: don't use alias in override
2022-08-17 15:49:51 +02:00
Sergei Trofimovich
8940dd0559 linuxPackages.perf: move from perf.nix to perf/ directory
While at it dropped top-level 'with lib;'.
2022-08-14 09:17:48 +01:00
Jörg Thalheim
2b22614150
Merge pull request #180154 from andersk/remove-openafs-1.9
openafs_1_9: Remove
2022-08-04 08:14:24 +01:00
Alyssa Ross
84cc06af6f linux_latest: 5.18.15 -> 5.19 2022-08-01 15:30:56 +00:00
Alyssa Ross
017b80f490
linuxPackages.xmm7360-pci: respect allowAliases
Fixes: 8687bf7e9c ("linuxPackages*.xmm7360-pci: drop")
2022-08-01 08:38:50 +00:00
Florian Klink
eb83c0dd3f
Update pkgs/top-level/linux-kernels.nix
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
2022-07-29 13:01:47 +07:00
Florian Klink
8687bf7e9c linuxPackages*.xmm7360-pci: drop
Support for 7360 got enabled via iosm in mainline kernel:

1f52d7b622

There's few reason to still ship this out-of-tree kernel module, which
broke whenever the laptop was suspended anyways.
2022-07-28 17:16:29 +07:00
Sandro
c074c88347
Merge pull request #181330 from aacebedo/ithc 2022-07-26 21:29:12 +02:00
Sandro
3e9c050761
Merge pull request #182719 from aacebedo/hid-ite8291r3 2022-07-26 19:00:47 +02:00
Alexandre Acebedo
7cfe5b129a ithc: init at unstable-2022-06-07 2022-07-25 21:11:42 +02:00
Alexandre Acebedo
b0873c032d hid-ite8291r3: init at unstable-2022-06-01 2022-07-25 21:03:27 +02:00
Brian McKenna
174344338c rtl8189fs: init at 2022-05-20 2022-07-25 09:53:53 +10:00
Alexandre Acebedo
2484f57981 qc71_laptop: init at unstable-2022-06-01 2022-07-24 13:14:38 +02:00
fortuneteller2k
b3d53dee19 xanmod-kernels: move kernelPatches to xanmodKernels 2022-07-21 22:04:25 +00:00
fortuneteller2k
9459bcdc13 linux_xanmod_tt: init at 5.15.54 2022-07-21 20:12:00 +00:00
fortuneteller2k
9d0769d4e7 linux_xanmod: rename stable to lts 2022-07-21 19:46:47 +00:00
Kirill A. Korinsky
f41fc22111
prl-tools: 12.2.1-41615 -> 17.1.4-51567
Install Parallel Tools updated for version 17 of Parallels for macOS. This
fixes clipboard sharing, so that copy and paste works between the host
macOS and the guest NixOS VM. Support for guests on M1 Apple Silicon-based
Macs (aarch64-linux) is also added.

Co-authored-by: Paul Smith <paulsmith@gmail.com>
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
2022-07-09 14:43:27 +02:00
Anders Kaseorg
038f3485e7 openafs_1_9: Remove
Odd-numbered branches like 1.9 are development releases.  Upstream
doesn’t consider them ready for production use, and doesn’t provide
prompt updates for security or kernel support.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2022-07-04 11:42:20 -07:00
Alyssa Ross
aa6d3e6817 top-level/linux-kernels.nix: add vendor kernels note
This codifies existing practice of avoiding adding new vendor kernels
to Nixpkgs.

Hopefully I've put this comment at the place in the file somebody
hoping to add a new vendor kernel would be most likely to look.
2022-07-01 09:47:24 +00:00
Dmitriy
40674f0d7f linux_lqx, linux_zen: refactor to unify
Unify linux_zen and linux_lqx -> zen-kernels
2022-06-29 00:41:32 +03:00
Maximilian Bosch
046fcb0f8b
Merge pull request #178709 from Ma27/kernel-updates
Linux kernel updates 2022-06-23
2022-06-23 17:07:32 +02:00
Maximilian Bosch
f0e3e98377
linux_5_17: remove 2022-06-23 11:09:16 +02:00
Martin Messer
6614cd8b2b linuxPackages.ax99100: init at 1.8.0 2022-06-22 14:47:12 +02:00
misuzu
e0c5c47aa8 linuxPackages: use 5_15 kernel on 32-bit platforms
It builds just fine with BTF disabled.
2022-06-21 19:05:55 +03:00
Thiago Kenji Okada
4cf04594a9
Merge pull request #172660 from NickCao/nvidia-open
nvidia-open: init at 515.43.04
2022-06-17 18:59:32 +01:00
Maximilian Bosch
6717faa02c
Merge pull request #177216 from amarshall/linux-kernel-updates
Linux kernel updates 2022-06-10
2022-06-12 19:52:57 +02:00
misuzu
324df04b67 linuxPackages: use 5_10 kernel on 32-bit platforms
5_15 fails to build with `Failed to parse base BTF 'vmlinux': -22`
on i686 and armv7l.
2022-06-12 23:40:21 +10:00
Andrew Marshall
a2c6e4372a linux/hardened/patches/5.18: init at 5.18.3-hardened1 2022-06-10 17:22:33 -04:00
Nick Cao
6959d265b8
linuxPackages.nvidia_x11_open: remove temporarily due to evaluation
issues
2022-06-03 12:17:15 +08:00
Nick Cao
94f5bd2051
nvidia_x11: init opensource kernel driver 2022-06-03 10:50:33 +08:00
MatthiasBenaets
9a5c77c581 nixos/new-lg4ff: fix kernel selection 2022-06-02 08:27:42 +02:00
Alyssa Ross
fa7ae8876f
linux_latest: 5.17.9 -> 5.18
NSFD_V3 is now always enabled, and enabling debug info now requires
selecting a DWARF version instead of just setting DEBUG_INFO=y.
2022-05-23 09:19:42 +00:00
Izorkin
983d2a78ac
linux_5_17: add hardened kernel 2022-05-15 21:24:41 +03:00
Rick van Schijndel
f433d91bb3 anbox: drop kernel modules package
All builds are broken:
- 4.14
- 4.19
- 5.4

https://hydra.nixos.org/eval/1761072?filter=anbox&compare=1760998&full=#tabs-still-fail

Let's just drop it.

This leaves the anbox module possibly in a broken-ish state,
but I'm not sure what to do about it.
2022-05-10 21:15:48 +02:00
Maximilian Bosch
b79d9a846b
linux/hardened/patches/5.17: init at 5.17.5-hardened1 2022-05-06 10:17:59 +02:00
Sandro
aacb7ef4a6
Merge pull request #169966 from deinferno/vmware-host 2022-05-04 14:13:12 +02:00
deinferno
59e6af3dc1 linuxPackages.vmware: init at 16.2.3 2022-05-04 01:56:45 +05:00
Maximilian Bosch
c381ab775a
linux/hardened/5.4: fix build 2022-04-23 18:02:55 +02:00
Maximilian Bosch
90c22150c0
linux/hardened/4.19: fix build 2022-04-23 18:02:31 +02:00
Maximilian Bosch
ddf613299d
linux/hardened/4.14: fix build 2022-04-23 17:52:26 +02:00
Maximilian Bosch
5580ef0c63
linux_5_16: drop 2022-04-23 14:01:41 +02:00
fortuneteller2k
bfc55bad14 xanmod-kernels: add STABLE and EDGE variants 2022-04-10 23:34:04 +00:00
Alyssa Ross
ae8e8aaee7 treewide: remove obsolete kernel version checks
We no longer support any Linux kernel older than 4.9.
2022-04-08 09:56:09 +00:00
7c6f434c
e2fd601514
Merge pull request #154981 from helsinki-systems/feat/lvm2-vdo
(k)vdo: init
2022-04-05 12:06:48 +00:00
ajs124
47240ce174 kvdo: init at 8.1.1.287 2022-04-04 13:00:45 +01:00
Robert Hensing
200175a701 config.allowAliases: Define as option
This simplifies usages and makes the default value consistent.

In a few cases, the default value was interpreted to be `false`,
but this is useless, because virtually nobody will explicitly
set `allowAliases = true;`.
2022-04-01 11:33:10 +02:00
Charlotte 🦝 Delenk
158789753f
linux_testing_bcachefs: 2022-03-09 -> 2022-03-21
This should fix a bug causing kernel panics when your fs has snapshots
enabled. See:
https://lore.kernel.org/all/bc622d24-9fad-7b3-22cb-da4bf2dd32d@ewheeler.net/T/

This patch also bumps the kernel version to 5.16, as bcachefs is devel-
oping against that now.
2022-03-25 19:28:17 +01:00
Alyssa Ross
58ae11758e linux_latest: 5.16.14 -> 5.17 2022-03-21 21:53:29 +00:00
Bernardo Meurer
7f36f5da9b linuxPackages.nvidiaPackages: make extensible 2022-03-10 13:37:21 -08:00
Vladimír Čunát
7075835950
Merge #159237: linuxKernel.packages.linux_4_4: drop 2022-03-06 19:38:07 +01:00
Kevin Cox
79862ae905
Merge pull request #161008 from rhysmdnz/xone
xone: init package and module
2022-03-02 11:26:51 -05:00
zowoq
fa52a102be linuxPackages: use 5_10 kernel on i686 2022-02-27 15:04:37 -08:00
zowoq
881a109227 Revert "Revert "linuxPackages: bump default 5.10 -> 5.15""
This reverts commit 7546480323.
2022-02-27 15:04:37 -08:00
Martin Weinelt
730edb44a8
linuxPackages.dddvb: init at 0.9.33-404-ge9ccab3 2022-02-22 19:31:47 +01:00
ajs124
64067cd3c5 linuxKernel.packages.linux_4_4: drop 2022-02-21 17:32:05 +01:00
Rhys Davies
fb69e1763e xow_dongle-firmware: init at 2017-07 2022-02-20 18:25:06 +13:00
Rhys Davies
8f27371795 xone: init at 0.2 2022-02-20 18:23:25 +13:00