260 Commits

Author SHA1 Message Date
Christian Breunig
fd737172f1 T861: add UEFI Secure Boot support
This adds support for UEFI Secure Boot. It adds the missing pieces to the Linux
Kernel and enforces module signing. This results in an additional security
layer where untrusted (unsigned) Kernel modules can no longer be loaded into
the live system.

NOTE: This commit will not work unless signing keys are present. Arbitrary
keys can be generated using instructions found in:

  data/live-build-config/includes.chroot/var/lib/shim-signed/mok/README.md
2024-09-14 23:05:23 +02:00
Christian Breunig
beb3df0733 Kernel: T5887: cleanup Debian postinst files after package build 2024-09-14 20:58:44 +02:00
Christian Breunig
e4a2e22ced mellanox: T6231: execute build script with sudo 2024-09-14 20:58:44 +02:00
Christian Breunig
fd7d1d0d20 Kernel: T861: remove superfluous architecture from Kernel string 2024-09-07 21:31:46 +02:00
Christian Breunig
70bb3c5baa
Merge pull request #657 from rafaelgaspar/add-thunderbolt-net
linux-kernel: T6485: build modules for thunderbolt and thunderbolt-net
2024-08-26 17:09:21 +02:00
RageLtMan
21c33ff0b8 T6231: update OFED version and fix build script
Push OFED to 24.07-0.6.1.0
Replace bash syntax for conditional check with sh syntax in OFED
build script.
2024-08-24 11:03:26 -04:00
Rafael Antunes
2397042743
linux-kernel: T6485: build modules for thunderbolt and thunderbolt-net 2024-08-20 09:41:12 +02:00
Christian Breunig
faa6453ec8 Kernel: T5887: update Linux Kernel to v6.6.45 2024-08-11 14:46:58 +02:00
Christian Breunig
02379d3dd5
Merge pull request #665 from sempervictus/feature/mellanox_ofed_drivers
T6231: Mellanox OFED
2024-07-25 18:23:00 +02:00
Christian Breunig
f33a22bcf3 mellanox: T6231: we do not need to build all packages, delete all unused ones 2024-07-25 15:34:06 +02:00
Christian Breunig
404fec71d1 mellanox: T6231: add missing KERNEL_SUFFIX for module installation path
All VyOS kernel modules must live in the appropriate module directory,
example: /lib/modules/6.6.41-amd64-vyos/

In addition we do not abbreviate script options to make reading easier,
without call --help all the time.
2024-07-25 15:33:29 +02:00
Christian Breunig
0ce12e4c1a Kernel: T6231: verify mellanox driver source by SHA1 hash 2024-07-25 15:31:26 +02:00
Christian Breunig
9cbc700aee Kernel: T6231: update .gitignore for mellanox drivers 2024-07-25 15:30:57 +02:00
Christian Breunig
faf191ed85 T6584: Revert "T6293: add Mediatek MT7921 to defconfig"
This reverts commit dbf7e47a27537a9c298afd665244b7bc2b6cf5f6.
2024-07-17 08:47:38 +02:00
Christian Breunig
6b1b3e388e Kernel: T5887: update linux-firmware to 20240610 2024-07-06 09:47:29 +02:00
Christian Breunig
dd322145be Kernel: T5887: update Linux Kernel to v6.6.36 2024-07-02 21:46:01 +02:00
RageLtMan
c0365df3ca T6231: Mellanox OFED Kernel and Userspace Packages
Build OFED drivers and userspace components against the kernel
source tree similar to Intel's NIC drivers.

OFED installers create Debian packages of their own tageting the
kernel version defined in the build invocation if DKMS is omitted.
Script builds with supporting components for VPP to permit handoff
of function to the underlying hardware as appropriate. Updating the
version is fairly trivial along with adding patching as needed to
handle kCFI and hardening measures as they are introduced.

Testing:
  Tested against GCC-built Linux Hardened kernel with the various
additions from PR 132 - sustained line-rate testing against 4x100g
links on a single machine at a hair below 200g for each LACP pair.
2024-06-21 22:45:12 -04:00
Christian Breunig
41771586bd Kernel: T5887: update Linux Kernel to v6.6.34 2024-06-17 20:07:32 +02:00
Nicolas Vollmar
707c073f7c T6406: enables CONFIG_CFS_BANDWIDTH for cpu cgroup limits 2024-05-27 16:32:28 +02:00
Nicolas Vollmar
b809886538
Kernel: T6406: enables CONFIG_CGROUP_CPUACCT 2024-05-27 13:22:51 +02:00
zsdc
db1bdb656b kernel: T6395: Enabled VFIO_NOIOMMU support
VFIO No-IOMMU support is required for environments where IOMMU is not available
but we still want to use VFIO.
2024-05-24 20:38:14 +03:00
Christian Breunig
20b42272c5 Kernel: T5887: update Linux Kernel to v6.6.31 2024-05-19 08:19:24 +02:00
Saul Goodman
dbf7e47a27
T6293: add Mediatek MT7921 to defconfig 2024-05-02 22:51:21 +02:00
Christian Breunig
5978fd1df8 Kernel: T5887: update Linux Kernel to v6.6.30 2024-05-02 20:53:33 +02:00
zsdc
999ccad3f8 kernel: T6286: Enable Generic driver for Hyper-V VMBus
Generic driver for Hyper-V VMBus is required in Hyper-V environments for direct
access to network devices from userspace.
2024-04-30 22:53:12 +03:00
Christian Breunig
fbe43ddcc2 ixgbe: T5619: update driver version to 5.20.3 2024-04-29 21:22:34 +02:00
Christian Breunig
2d817bb012
Merge pull request #540 from ErnyTech/current
ixgbe: T6162: Add 1000BASE-BX support
2024-04-29 21:20:16 +02:00
Christian Breunig
28c08a784e Kernel: T5887: rebase inotify patch 2024-04-03 20:55:34 +02:00
Viacheslav Hletenko
0892981df0 T4204: accel-ppp bump version 1.13.0
Update accel-pppd version to 1.13.0 release
Multiple fixes https://github.com/accel-ppp/accel-ppp/releases/tag/1.13.0
2024-03-30 18:35:51 +00:00
Ernesto Castellotti
a44647f098 ixgbe: T6162: Add 1000BASE-BX support
The ixgbe driver did not support the 1000BASE-BX standard so for example FS.com
SFP-GE-BX 1310/1490nm 10km transceiver received an unsupported module error even
with allow_unsupported_sfp enabled.

To solve this problem I created a patch that was accepted by Linux upstream
(1b43e0d20f)
so starting from kernel 6.9 the ixgbe driver will have 1000BASE-BX support,
however VyOS uses the out of tree driver so it is necessary to backport the patch.
2024-03-23 13:30:35 +01:00
Christian Breunig
70ac747b28 ixgbe: T6155: always enable allow_unsupported_sfp even if module_param_array is undefined
This extends an else path with the logic from commit ea7d59a4b ("ixgbe: T6155:
always enable allow_unsupported_sfp for all NICs by default")
2024-03-23 09:18:59 +01:00
Christian Breunig
ea7d59a4bf ixgbe: T6155: always enable allow_unsupported_sfp for all NICs by default
In-tree vs. Out-Of-Tree drivers differ in the way how unsupported transceivers
are defined (uint vs array of int) for the Kernel module parameters.

This results in:

kernel: ixgbe 0000:5e:00.0: failed to initialize because an unsupported SFP+ module type was detected.
kernel: ixgbe 0000:5e:00.0: Reload the driver after installing a supported module.
kernel: ixgbe 0000:5e:00.0: removed PHC on eth6

This patch always enables unsupported SFP+ modules as wo do anyway from
the userspace but only for the first port.
2024-03-22 08:54:25 +01:00
Daniil Baturin
5dcb6b7711 chore: T671: remove unused scripts and references to them 2024-03-20 17:50:51 +00:00
Indrek Ardel
404aa7e10c Kernel: T4022: add RTSP netfilter helper kernel module 2024-03-10 05:17:15 +02:00
Christian Breunig
016809208d Kernel: T5887: forward patch linkstate-ip-device-attribute for 6.6.21 2024-03-07 22:00:54 +01:00
Christian Breunig
d93cb288d7 Kernel: T5887: forward patch linkstate-ip-device-attribute for 6.6.19 2024-03-01 21:08:52 +01:00
Christian Breunig
bb8e7d71df
Merge pull request #495 from Schamper/current
Kernel: T5499: update arm64 kernel configuration to v6.6.15
2024-02-09 08:26:47 +01:00
Christian Breunig
8b89929fda Kernel: T5973: compile in vrf module for proper strict_mode setup 2024-02-07 17:39:04 +01:00
Schamper
61691b4a4f Kernel: T5499: update arm64 kernel configuration to v6.6.15 2024-02-05 23:22:22 +01:00
Christian Breunig
9376117efb T5619: Add out-of-tree Intel ixgbevf driver 2024-02-01 10:04:40 +01:00
Christian Breunig
ea4d2746ae Kernel: T5995: enable CONFIG_HINIC for Huawei NICs 2024-02-01 10:03:38 +01:00
Christian Breunig
36065ae874 ixgbe: T5619: remove pci_*_pcie_error_reporting() code to work with Kernel 6.6
This fixes commit 0f80a22b5 ("T5619: Add out-of-tree Intel ixgbe driver") to
work with the latest 6.6 code base.

For more information see
https://lore.kernel.org/lkml/f90837d0-810e-5772-7841-28d47c44d260@intel.com
2024-02-01 10:03:38 +01:00
Skyler Mäntysaari
738ce141fb T5619: Add out-of-tree Intel ixgbe driver 2024-02-01 10:03:38 +01:00
Christian Breunig
6c6fe821de Kernel: T5619: remove build-in Intel IXGBE driver for out-of-tree version 2024-02-01 08:49:56 +01:00
Christian Breunig
c910d5843a Kernel: T5887: update Linux Kernel to v6.6.15 2024-02-01 08:49:08 +01:00
Piotr Maksymiuk
13a2c6ad63
Kernel: T5954: Enable nvme_hwmon and drivetemp 2024-01-20 17:09:00 +01:00
Christian Breunig
4de9073380
Merge pull request #484 from sever-sever/T3429
T3429: Add kernel modules for Hyper-V
2024-01-10 20:34:12 +01:00
Christian Breunig
bf211f4558 Kernel: T5887: updae patch for HUNK offset 2024-01-10 20:33:13 +01:00
Christian Breunig
eb1a105587 Kernel: T5887: remove build-in QAT drivers, using out-of-tree modules 2024-01-10 20:32:42 +01:00
Viacheslav Hletenko
6f6e826977 T3429: Add kernel modules for Hyper-V
Add kernel modules for Hyper-V
Based on user reviews the following settings must be made:
```
CONFIG_CONNECTOR=y
CONFIG_HYPERV_UTILS=m
```
2024-01-10 10:39:15 +00:00