|
Revision tags: release/13.5.0-p9, release/15.0.0-p2, release/14.3.0-p8 |
|
| #
ce38acee |
| 22-Jan-2026 |
Konstantin Belousov <kib@FreeBSD.org> |
Add kern/sched_shim.c
This is the infrastructure to allow scheduler implementation to be selected on boot, supported by ifuncs.
The DEFINE_SHIM() macros and their usage provided by jrtc27@.
Review
Add kern/sched_shim.c
This is the infrastructure to allow scheduler implementation to be selected on boot, supported by ifuncs.
The DEFINE_SHIM() macros and their usage provided by jrtc27@.
Reviewed by: olce Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D54831
show more ...
|
|
Revision tags: release/15.0.0-p1, release/13.5.0-p8, release/14.3.0-p7, release/15.0.0, release/14.3.0-p6, release/13.5.0-p7, release/13.5.0-p6, release/14.3.0-p5, release/13.5.0-p5, release/14.2.0-p7, release/14.3.0-p4, release/14.3.0-p3, release/14.2.0-p6, release/13.5.0-p4, release/13.5.0-p3, release/14.2.0-p5, release/14.3.0-p2, release/14.3.0-p1, release/14.2.0-p4, release/13.5.0-p2 |
|
| #
c5daa5a4 |
| 14-Jun-2025 |
Aymeric Wibo <obiwac@FreeBSD.org> |
acpi_spmc: Add system power management controller driver
Add SPMC (system power management controller) driver as acpi_spmc. This is the device which provides the LPI device D-state constraints and a
acpi_spmc: Add system power management controller driver
Add SPMC (system power management controller) driver as acpi_spmc. This is the device which provides the LPI device D-state constraints and allows for OSPM to send S0ix/modern standby entry/exit notifications. This supports the original Intel DSM (https://uefi.org/sites/default/files/resources/Intel_ACPI_Low_Power_S0_Idle.pdf, untested), the AMD DSM (tested), and the Microsoft DSM (tested).
Before entry, acpi_spmc_check_constraints is called to notify of any violated power constraints. This will use acpi_pwr_get_state to get current device D-states when that gets added back.
Reviewed by: olce Tested by: jkim, Oleksandr Kryvulia, Matthias Lanter Approved by: olce Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48387
show more ...
|
|
Revision tags: release/14.3.0 |
|
| #
a200c8e5 |
| 26-May-2025 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add eventfd_*()
Add <linux/eventfd.h> and expose the `eventfd_*()` API. This is used by DRM drivers for some time, but the code was commented out so far.
Note that Linux uses `struct even
linuxkpi: Add eventfd_*()
Add <linux/eventfd.h> and expose the `eventfd_*()` API. This is used by DRM drivers for some time, but the code was commented out so far.
Note that Linux uses `struct eventfd_ctx`, but FreeBSD defines `struct eventfd`. We define `eventfd_ctx` as a synonym to `eventfd`.
Reviewed by: christos, markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50853
show more ...
|
| #
71016762 |
| 11-Aug-2025 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Implement <linux/seq_buf.h>
It is a wrapper above a `char *` to track the overall available space in the buffer as well as the used space. This wrapper does not manage memory allocation.
linuxkpi: Implement <linux/seq_buf.h>
It is a wrapper above a `char *` to track the overall available space in the buffer as well as the used space. This wrapper does not manage memory allocation.
The DRM generic code started to use this in Linux 6.10.
Reviewed by: bz Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54488
show more ...
|
| #
11d6ea47 |
| 04-Oct-2025 |
Kyle Evans <kevans@FreeBSD.org> |
kern: mac: add a MAC label to struct prison
Reviewed by: olce Differential Revision: https://reviews.freebsd.org/D53953
|
| #
d448578b |
| 07-Sep-2025 |
Jean-Sébastien Pédron <dumbbell@FreeBSD.org> |
linuxkpi: Add <linux/siphash.h>
The file is copied as is from Linux 6.10 as it dual-licensend under the GPLv2 and BSD 3-clause.
The amdgpu DRM driver started to use it in Linux 6.10.
Reviewed by:
linuxkpi: Add <linux/siphash.h>
The file is copied as is from Linux 6.10 as it dual-licensend under the GPLv2 and BSD 3-clause.
The amdgpu DRM driver started to use it in Linux 6.10.
Reviewed by: bz, emaste Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D54501
show more ...
|
| #
8c7a7d7d |
| 02-Jan-2026 |
Christos Margiolis <christos@FreeBSD.org> |
sys/conf/files: Fix sndstat path
Reported by: CI Fixes: bafa8c951d8c ("sound: Move sndstat out of pcm/") Sponsored by: The FreeBSD Foundation MFC after: 1 week
|
| #
1aea5b0b |
| 23-Dec-2025 |
Gleb Smirnoff <glebius@FreeBSD.org> |
nvme: make the interface standard file
This makes nvme.ko and nvd.ko loadable.
Fixes: aed44717a1606e4c5c79f7c8831de49cba64d7e6
|
| #
75177aeb |
| 13-Nov-2025 |
Ed Maste <emaste@FreeBSD.org> |
aq(4): Add build infrastructure
Reviewed by: adrian Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53839
|
| #
8774a990 |
| 15-Dec-2025 |
Gleb Smirnoff <glebius@FreeBSD.org> |
bpf: modularize ifnet(9) part of bpf
Imagine that bpf(9) tapping can happen at any point in the network stack, not necessarily at interface transmit or receive. To achieve that we need a thin layer
bpf: modularize ifnet(9) part of bpf
Imagine that bpf(9) tapping can happen at any point in the network stack, not necessarily at interface transmit or receive. To achieve that we need a thin layer of abstraction defined by struct bif_methods, that defines how generic bpf layer works with a tap point of this kind.
Implement ifnet(9) specific methods in a separate file bpf_ifnet.c. At this point there is 100% compatibility for all existing interfaces, there is no KPI change, yet. The legacy attaching KPI is layered over new ifnet agnostic KPI. The new KPI may change though, as we can implement multiple DLTs per single tap point in a prettier fashion.
The new abstraction layer allows us to move all the 802.11 radio injection hacks out of bpf.c into ieee80211_radiotap.c, so do that immediately as a good proof of concept.
Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D53872
show more ...
|
| #
4bf8ce03 |
| 06-Dec-2025 |
Adrian Chadd <adrian@FreeBSD.org> |
if_rge: initial import of if_rge driver from OpenBSD.
This is an initial import of the if_rge driver from OpenBSD and adapted to FreeBSD.
Differential Revision: https://reviews.freebsd.org/D54101
|
| #
e5c770dc |
| 10-Dec-2025 |
Warner Losh <imp@FreeBSD.org> |
nvme: Nvme controller generated events
Interface for the nvme driver notifying its children of different events: async notifications, namespace events and device failure. These aren't yet connected.
nvme: Nvme controller generated events
Interface for the nvme driver notifying its children of different events: async notifications, namespace events and device failure. These aren't yet connected.
Sponsored by: Netflix Reviewed by: dab Differential Revision: https://reviews.freebsd.org/D51386
show more ...
|
| #
d9c55b2e |
| 22-Nov-2025 |
Andrew Gallatin <gallatin@FreeBSD.org> |
rss: Enable portions of RSS globally to enable symmetric hashing
We use the fact that all NICs that support hashing are using the same hash algorithm and hash key to enable symmetic hashing in TCP,
rss: Enable portions of RSS globally to enable symmetric hashing
We use the fact that all NICs that support hashing are using the same hash algorithm and hash key to enable symmetic hashing in TCP, where a software version of the same hash is used to establish hashes on outgoing connections.
Sponsored by: Netflix Reviewed by: adrian, zlei (both early version) Differential Revision: https://reviews.freebsd.org/D53089
show more ...
|
| #
a615ded5 |
| 15-Nov-2025 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
sys/conf/files: Add iwx driver
PR: 290812 Fixes: 2ad0f7e91582 ("Import iwx as ported from OpenBSD by Future Crew.") Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D53758
|
| #
685a7857 |
| 18-Oct-2025 |
David E. O'Brien <obrien@FreeBSD.org> |
random: remove hifn(4)
The Hifn 7955 & 7956 only supports deprecated & NIST disallowed algorithms (NIST SP800-224idp): SHA1 and SHA1-HMAC.
Furthermore the entropy RNG of the Hifn 7751, 7951, 7811,
random: remove hifn(4)
The Hifn 7955 & 7956 only supports deprecated & NIST disallowed algorithms (NIST SP800-224idp): SHA1 and SHA1-HMAC.
Furthermore the entropy RNG of the Hifn 7751, 7951, 7811, 7955, and 7956 has no NIST Entropy Source Validation (ESV) certificate and cannot be used in a FIPS-140-3 nor Common Criteara environment.
Furthermore the most prolific instance for FreeBSD was the Soekris Engineering vpn1201, vpn1211, vpn1401, and vpn1411 offerings. These are all 32-bit only processors. The i386 kernel was de-supported in 15.0.
Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D53182
show more ...
|
| #
c59aab9a |
| 24-Oct-2025 |
Ed Maste <emaste@FreeBSD.org> |
ipfw: Retire obsolete compat code
The current IPFW version 3 dates to 2010 (commit cc4d3c30ea28, "Bring in the most recent version of ipfw and dummynet, developed").
The compat code for FreeBSD 8 a
ipfw: Retire obsolete compat code
The current IPFW version 3 dates to 2010 (commit cc4d3c30ea28, "Bring in the most recent version of ipfw and dummynet, developed").
The compat code for FreeBSD 8 and earlier has a number of issues and is no longer needed, so remove it.
Reported by: Ilja Van Sprundel <ivansprundel@ioactive.com> Reviewed by: ae, glebius Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53343
show more ...
|
| #
e02c57ff |
| 26-Oct-2025 |
Justin Hibbits <jhibbits@FreeBSD.org> |
kern: Introduce kexec system feature (MI)
Introduce a new system call and reboot method to support booting a new kernel directly from FreeBSD.
Linux has included a system call, kexec_load(), since
kern: Introduce kexec system feature (MI)
Introduce a new system call and reboot method to support booting a new kernel directly from FreeBSD.
Linux has included a system call, kexec_load(), since 2005, which permits booting a new kernel at reboot instead of requiring a full reboot cycle through the BIOS/firmware. This change brings that same system call to FreeBSD. Other changesets will add the MD components for some of our architectures, with stubs for the rest until the MD components have been written.
kexec_load() supports loading up to an arbitrary limit of 16 memory segments. These segments must be contained inside memory bounded in vm_phys_segs (vm.phys_segs sysctl), and a segment must be contained within a single vm.phys_segs segment, cannot cross adjacent segments.
Reviewed by: imp, kib Sponsored by: Juniper Networks, Inc. Differential Revision: https://reviews.freebsd.org/D51619
show more ...
|
| #
73a9b273 |
| 04-Oct-2025 |
Robert Clausecker <fuz@FreeBSD.org> |
sys: move sys/kern/md[45].c to sys/crypto
Both files are used by kernel and userspace. Move them to sys/crypto where they belong.
No functional changes intended.
In preparation of D45670.
Reviewe
sys: move sys/kern/md[45].c to sys/crypto
Both files are used by kernel and userspace. Move them to sys/crypto where they belong.
No functional changes intended.
In preparation of D45670.
Reviewed by: markj Approved by: markj (mentor) MFC after: 1 month Differential Revision: https://reviews.freebsd.org/D52909
show more ...
|
| #
4f272a5e |
| 29-Sep-2025 |
John Baldwin <jhb@FreeBSD.org> |
cxgbe: Support for NIC KTLS transmit on T7 adapters.
Unlike NIC KTLS support on T6, T7 is able to reuse the existing TSO functionality directly, including trimming the output of the crypto engine be
cxgbe: Support for NIC KTLS transmit on T7 adapters.
Unlike NIC KTLS support on T6, T7 is able to reuse the existing TSO functionality directly, including trimming the output of the crypto engine before it is passed on to TSO. This is much simpler and does not require the use of bypass pseudo-connections in the TOE engine. Among other things this permits arbitrary TCP options (including the full range of possible TCP timestamp values) while also avoiding various edge cases where parts of a requested TCP packet could not always be transmitted (e.g. partial trailers). This implementation also permits NIC KTLS to be used in parallel with TOE.
This version does not yet support connections over a VF (specifically the ktls_tunnel_packet function needs to handle the VF work request), nor does it support VxLAN offload.
MFC after: 3 days Sponsored by: Chelsio Communications
show more ...
|
| #
19d9a9b1 |
| 29-Sep-2025 |
John Baldwin <jhb@FreeBSD.org> |
cxgbe: Move the STAG and PBL memory pool arenas to the base driver
Both RDMA (iw_cxgbe) and NVMe offloads use TPT table entries to map transaction tags in incoming PDUs to buffers in host memory per
cxgbe: Move the STAG and PBL memory pool arenas to the base driver
Both RDMA (iw_cxgbe) and NVMe offloads use TPT table entries to map transaction tags in incoming PDUs to buffers in host memory permitting direct placement of received data into host memory buffers avoiding copies (iSCSI offload uses a different scheme for mapping tags to host memory). Move the vmem arenas for the supporting card memory regions from iw_cxgbe to the main driver so they can be shared with the NVMe offload driver. In addition, add some helper routines for constructing work requests to update TPT table entries.
MFC after: 3 days Sponsored by: Chelsio Communications
show more ...
|
| #
c7b2e390 |
| 29-Sep-2025 |
Navdeep Parhar <np@FreeBSD.org> |
cxgbe(4): hw/fw headers and shared code for the Terminator 7 ASIC
This is the first of a series of commits that will add T7 support to cxgbe. The ASIC is gen5x16 on the PCIe side and has a 400Gbps
cxgbe(4): hw/fw headers and shared code for the Terminator 7 ASIC
This is the first of a series of commits that will add T7 support to cxgbe. The ASIC is gen5x16 on the PCIe side and has a 400Gbps MAC on the Ethernet side. NICs using the T7 will come in the following variants:
* 1 x 400Gbps with QSFP-DD connector * 2 x 200/100/40Gbps with QSFP56/QSFP28/QSFP+ connectors * 4 x 50/25/10/1Gbps with SFP28/SFP+/SFP connectors
There are 8 general purpose ARM A72 cores available on select SmartNIC/DPU boards.
Obtained from: Chelsio Communications MFC after: 3 days Sponsored by: Chelsio Communications
show more ...
|
| #
1bb72d3d |
| 16-Sep-2025 |
Michael Tuexen <tuexen@FreeBSD.org> |
tcp: improve compilation of cc and their helper modules
* Allow the congestion control modules CDG, CHD, HD, and vegas also to be compiled into the kernel for IPv6 only kernel configs. * Compile t
tcp: improve compilation of cc and their helper modules
* Allow the congestion control modules CDG, CHD, HD, and vegas also to be compiled into the kernel for IPv6 only kernel configs. * Compile the helper module h_ertt for round trip time estimation only into the kernel, if one of the congestion control module using it (one of CDG, CDH, HD, or vegas) is also compiled into the kernel. Please note the second point implies that TCP TSO is done whenever possible as long as none of the congestion control modules CDG, CHD, HD, or vegas is loaded or compiled into the kernel.
Reviewed by: cc MFC after: 3 days Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D52547
show more ...
|
| #
851dc7f8 |
| 04-Sep-2025 |
Jamie Gritton <jamie@FreeBSD.org> |
jail: add jail descriptors
Similar to process descriptors, jail desriptors are allow jail administration using the file descriptor interface instead of JIDs. They come from and can be used by jail_s
jail: add jail descriptors
Similar to process descriptors, jail desriptors are allow jail administration using the file descriptor interface instead of JIDs. They come from and can be used by jail_set(2) and jail_get(2), and there are two new system calls, jail_attach_jd(2) and jail_remove_jd(2).
Reviewed by: bz, brooks Relnotes: yes Differential Revision: https://reviews.freebsd.org/D43696
show more ...
|
| #
4740d472 |
| 19-Aug-2025 |
Andrew Turner <andrew@FreeBSD.org> |
virtio/mmio: Remove the unused virtio_mmio_if.m
The only driver I know that implemented this interface was removed 7 months ago. Remove the interface and platform from the softc.
Reviewed by: imp S
virtio/mmio: Remove the unused virtio_mmio_if.m
The only driver I know that implemented this interface was removed 7 months ago. Remove the interface and platform from the softc.
Reviewed by: imp Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D51992
show more ...
|
| #
dea5f973 |
| 19-Aug-2025 |
Bhosale, Yogeshnull <nullyogesh.bhosale@intel.com> |
ix/ixv: Add support for new Intel Ethernet E610 family devices
This is part 1 of the support for the new Intel Ethernet E610 family of devices.
Introduce new PCI device IDs: • 57AE: Intel(R) E610 (
ix/ixv: Add support for new Intel Ethernet E610 family devices
This is part 1 of the support for the new Intel Ethernet E610 family of devices.
Introduce new PCI device IDs: • 57AE: Intel(R) E610 (Backplane) • 57AF: Intel(R) E610 (SFP) • 57B0: Intel(R) E610 (10 GbE) • 57B1: Intel(R) E610 (2.5 GbE) • 57B2: Intel(R) E610 (SGMII)
Key updates for E610 family: • Firmware manages Link and PHY • Implement new CSR-based Admin Command Interface (ACI) for SW-FW interaction • Tested exclusively for x64 operating systems on E610-XT2/XT4 (10G) and E610-IT4 (2.5G) • Enable link speeds above 1G: 2.5G, 5G and 10G • NVM Recovery Mode and Rollback support
Signed-off-by: Yogesh Bhosale yogesh.bhosale@intel.com Co-developed-by: Krzysztof Galazka krzysztof.galazka@intel.com
Approved by: kbowling (mentor), erj (mentor) Tested by: gowtham.kumar.ks_intel.com Sponsored by: Intel Corporation MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D50067
show more ...
|