|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0 |
|
| #
11b099f8 |
| 15-Nov-2023 |
Andrew Turner <[email protected]> |
Add an Armv8 rndr random number provider
Armv8.5 adds an optional random number generator. This is implemented as two special registers one to read a random number, the other to re-seed the entropy
Add an Armv8 rndr random number provider
Armv8.5 adds an optional random number generator. This is implemented as two special registers one to read a random number, the other to re-seed the entropy pool before reading a random number. Both registers will set the condition flags to tell the caller they can't produce a random number in a reasonable amount of time.
Without a signal to reseed the entropy pool use the latter register to provide random numbers to the kernel pool. If at a later time we had a way to tell the provider if it needs to reseed or not we could use the former.
On an Amazon AWS Graviton3 VM this never failed, however this may not be the case on low end CPUs so retry reading the random number 10 times before returning an error.
Reviewed by: imp, delphij (csprng) Sponsored by: The FreeBSD Foundation Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D35411
(cherry picked from commit 9eecef052155646fbc5f8f533b952b372572d06a)
show more ...
|
|
Revision tags: release/14.0.0 |
|
| #
a2d1e07f |
| 18-Apr-2023 |
Bjoern A. Zeeb <[email protected]> |
rtw89: add man page and hook driver up to the build
After two years, add the initial man page and hook Realteks rtw89 driver up to the build for more people to test given successful reports. devd.co
rtw89: add man page and hook driver up to the build
After two years, add the initial man page and hook Realteks rtw89 driver up to the build for more people to test given successful reports. devd.conf is already providing support based on the rtw<n+> regex. The driver uses the LinuxKPI compat layer.
Firmware is provided by ports: net/wifi-firmware-rtw89-kmod or one of the flavours. People are advised to used fwget(8) to automatically install the correct firmware for their chipset.
Please note that for the moment the driver requires a tunable to be set in loader.conf: compat.linuxkpi.skb.mem_limit=1
Many thanks to everyone who in the last two years helped testing, debugged, submitted patches to get the driver to this stage where initial functionality seems working.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 310c31d3f04ef9d3ebe598fd076d017a48d0ca0d)
show more ...
|
| #
24687a65 |
| 09-Apr-2024 |
John Baldwin <[email protected]> |
sys: Enable NVMe drivers on all architectures
The NVMe drivers are portable and are already included statically in GENERIC on other architectures such as aarch64 and riscv64.
Reviewed by: imp Spons
sys: Enable NVMe drivers on all architectures
The NVMe drivers are portable and are already included statically in GENERIC on other architectures such as aarch64 and riscv64.
Reviewed by: imp Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D44690
(cherry picked from commit 16e846fa1ed3c97419b55b292f77b0f4209f0875)
show more ...
|
| #
c333758f |
| 09-May-2024 |
Baptiste Daroussin <[email protected]> |
mac_do: add a new MAC/do policy and mdo(1) utility
This policy enables a user to become another user without having to be root (hence no setuid binary). it is configured via rules using sysctl secur
mac_do: add a new MAC/do policy and mdo(1) utility
This policy enables a user to become another user without having to be root (hence no setuid binary). it is configured via rules using sysctl security.mac.do.rules
For example: security.mac.do.rules=uid=1001:80,gid=0:any
The above rule means the user identifier by the uid 1001 is able to become user 80 Any user of the group 0 are allowed to become any user on the system.
The mdo(1) utility expects the MAC/do policy to be installed and its rules defined.
Reviewed by: des Differential Revision: https://reviews.freebsd.org/D45145
(cherry picked from commit 8aac90f18aef7c9eea906c3ff9a001ca7b94f375)
show more ...
|
| #
5080cf08 |
| 24-Apr-2024 |
Emmanuel Vadot <[email protected]> |
linuxkpi: Add linuxkpi_video module
This contain the hdmi code and the aperture code like in linux.
Differential Revision: https://reviews.freebsd.org/D44925 Reviewed by: bz Obtained from: drm-km
linuxkpi: Add linuxkpi_video module
This contain the hdmi code and the aperture code like in linux.
Differential Revision: https://reviews.freebsd.org/D44925 Reviewed by: bz Obtained from: drm-kmod Sponsored by: Beckhoff Automation GmbH & Co. KG
(cherry picked from commit 11d79c4756b7c85faf7c4a268c301a41ce0887b9)
show more ...
|
| #
bce36dfe |
| 28-May-2024 |
Mark Johnston <[email protected]> |
bnxt: Do not compile on 32-bit platforms
The new bnxt_re driver doesn't compile on any of them (it uses writeq() from the LinuxKPI, which isn't implemented there), and had already been disconnected
bnxt: Do not compile on 32-bit platforms
The new bnxt_re driver doesn't compile on any of them (it uses writeq() from the LinuxKPI, which isn't implemented there), and had already been disconnected from the build on i386.
Reported by: Jenkins Fixes: acd884dec99a ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
(cherry picked from commit c867ba72889de51b0bd2c6a7049f539abaafd46e)
show more ...
|
| #
040a7e0d |
| 15-May-2024 |
Lexi Winter <[email protected]> |
sys/modules/dpdk_lpm4: do not build without INET
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/1236
(cherry picked from commit 304a03275a65cf811fb6c06fa1c37783d07c99a4)
|
| #
d1aff355 |
| 22-Mar-2024 |
Pierre-Luc Drouin <[email protected]> |
vf_i2c: split up and add ACPI attachments in addition to FDT
Move the code from the arm specific to the iicbus controller directory. Split up between general logic and bus attachment code. Add suppo
vf_i2c: split up and add ACPI attachments in addition to FDT
Move the code from the arm specific to the iicbus controller directory. Split up between general logic and bus attachment code. Add support for ACPI attachment in addition to FDT.
Tested by: bz (LS1088a FDT), Pierre-Luc Drouin (Honeycomb, ACPI) Based on: D24917 by Val Packett (initial early version)
(cherry picked from commit 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
show more ...
|
| #
15e12749 |
| 30-Nov-2023 |
Mark Johnston <[email protected]> |
ossl: Add support for armv7
OpenSSL provides implementations of several AES modes which use bitslicing and can be accelerated on CPUs which support the NEON extension. This patch adds arm platform
ossl: Add support for armv7
OpenSSL provides implementations of several AES modes which use bitslicing and can be accelerated on CPUs which support the NEON extension. This patch adds arm platform support to ossl(4) and provides an AES-CBC implementation, though bsaes_cbc_encrypt() only implements decryption. The real goal is to provide an accelerated AES-GCM implementation; this will be added in a subsequent patch.
Initially derived from https://reviews.freebsd.org/D37420.
Reviewed by: jhb Sponsored by: Klara, Inc. Sponsored by: Stormshield MFC after: 3 months Differential Revision: https://reviews.freebsd.org/D41304
(cherry picked from commit 44f8e1e8530e1d2e95e84bbbe3d22ac9cb2557fe)
show more ...
|
| #
2fbed5e9 |
| 13-Dec-2023 |
Jessica Clarke <[email protected]> |
Make kldxref a bootstrap tool and use unconditionally
Now that kldxref is a generic cross tool and can be built on non-FreeBSD we can bootstrap it during the build and thus remove the condition for
Make kldxref a bootstrap tool and use unconditionally
Now that kldxref is a generic cross tool and can be built on non-FreeBSD we can bootstrap it during the build and thus remove the condition for whether it exists. We also need to make sure to add it to the METALOG for -DNO_ROOT builds.
Reviewed by: brooks, imp Differential Revision: https://reviews.freebsd.org/D43051
(cherry picked from commit ff7c12c1f17e52337169d8ce48433fae96a9c9db)
show more ...
|
| #
7ec22736 |
| 21-Sep-2023 |
Bjoern A. Zeeb <[email protected]> |
iwlwifi / rtw88: re-attach to build after updates
While the build-breaking changes were only in a smaller window further updates restored some functionality as well. Now that we are done, add iwlwi
iwlwifi / rtw88: re-attach to build after updates
While the build-breaking changes were only in a smaller window further updates restored some functionality as well. Now that we are done, add iwlwifi back to the build.
Sponsored by: The FreeBSD Foundation
This also adds the (updated) rtw88 driver back to the build. Functionality has not been tested (much) so might not currently work but people offered to test.
(cherry picked from commit af6aaa90057d75644c41527acc903082104e4114) (cherry picked from commit 299e2d5724c2bc4929b6eac3258f04055e97992e)
show more ...
|
| #
b6fbec77 |
| 05-Sep-2023 |
Bjoern A. Zeeb <[email protected]> |
iwlwifi / rtw88: temporary disconnect from build for updates
Disconnect iwlwifi/rtw88 from the build for a few commits which, due to incompatible LinuxKPI 802.11 changes would break the build for a
iwlwifi / rtw88: temporary disconnect from build for updates
Disconnect iwlwifi/rtw88 from the build for a few commits which, due to incompatible LinuxKPI 802.11 changes would break the build for a revision. It will be re-enabled "instantly".
Sponsored by: The FreeBSD Foundation
(cherry picked from commit 712468443df1130db8f893a5e2ce5c6a8dbf5cde) (cherry picked from commit b75d1ce6c10652fc4bfbf509deeae0e05c3d1356)
show more ...
|
| #
2a902189 |
| 18-Aug-2023 |
Dmitry Salychev <[email protected]> |
sff: Add SFP driver (fdt-based draft)
This basic version of the driver obtains properties of the "sff,sfp" compatible devices and implements a simple interface to provide an I2C bus device for the r
sff: Add SFP driver (fdt-based draft)
This basic version of the driver obtains properties of the "sff,sfp" compatible devices and implements a simple interface to provide an I2C bus device for the rest of the drivers (e.g. to implement SIOCGI2C).
Both of the interface and driver are subjects for a further generalization to be used in case of non-FDT and non-arm64 platforms.
Reviewed by: bz, manu Approved by: bz (mentor) MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D41440
show more ...
|
| #
031beb4e |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
37c8ee88 |
| 07-Aug-2023 |
Marius Strobl <[email protected]> |
ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again
Following the removal of general MIPS support, there's no longer a need to have the AHB bus-frontend in place, which according
ath(4): Remove MIPS AHB frontend and join PCI one w/ main support again
Following the removal of general MIPS support, there's no longer a need to have the AHB bus-frontend in place, which according to Linux sources also isn't used with any non-MIPS SoCs. For simplicity, PCI bus support is only made conditional on the main one again, i. e. device ath_pci is removed, and built into the main module, i. e. if_ath_pci.ko obsoleted, respectively. Effectively, this reverts the following commits and associated changes: dba9c8597747c6c9bf3d2ec68f7eb90552878dc7 e849bb3ecbb1963344a22ae77fc96f89fbebf40c
Approved by: adrian Relnotes: yes Differential Revision: https://reviews.freebsd.org/D41354
show more ...
|
| #
3e1f6952 |
| 08-Aug-2023 |
Warner Losh <[email protected]> |
modules: Use MACHINE_CPUARCH more
Replace two cases of MACHINE_ARCH with MACHINE_CPUARCH and also use `aarch64` instead of the improper `arm64` for that test.
Noticed by: Mark Millard Sponsored by
modules: Use MACHINE_CPUARCH more
Replace two cases of MACHINE_ARCH with MACHINE_CPUARCH and also use `aarch64` instead of the improper `arm64` for that test.
Noticed by: Mark Millard Sponsored by: Netflix
show more ...
|
| #
215bab79 |
| 25-Jul-2023 |
Shivank Garg <[email protected]> |
mac_ipacl: new MAC policy module to limit jail/vnet IP configuration
The mac_ipacl policy module enables fine-grained control over IP address configuration within VNET jails from the base system. It
mac_ipacl: new MAC policy module to limit jail/vnet IP configuration
The mac_ipacl policy module enables fine-grained control over IP address configuration within VNET jails from the base system. It allows the root user to define rules governing IP addresses for jails and their interfaces using the sysctl interface.
Requested by: multiple Sponsored by: Google, Inc. (GSoC 2019) MFC after: 2 months Reviewed by: bz, dch (both earlier versions) Differential Revision: https://reviews.freebsd.org/D20967
show more ...
|
| #
350b7c35 |
| 01-Jul-2023 |
Stéphane Rochoy <[email protected]> |
superio+ncthwm: Add hardware monitoring support
Add support for the following chips: - Nuvoton NCT6779D - Nuvoton NCT6796D-E
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pu
superio+ncthwm: Add hardware monitoring support
Add support for the following chips: - Nuvoton NCT6779D - Nuvoton NCT6796D-E
Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/719
show more ...
|
| #
2d1d418e |
| 14-Jun-2023 |
Sumit Saxena <[email protected]> |
mpi3mr: 3rd Generation Tri-Mode NVMe/SAS/SATA MegaRaid / eHBA
This is Broadcom's mpi3mr driver for FreeBSD version 8.6.0.2.0. The mpi3mr driver supports Broadcom SAS4116-based cards in the 9600 seri
mpi3mr: 3rd Generation Tri-Mode NVMe/SAS/SATA MegaRaid / eHBA
This is Broadcom's mpi3mr driver for FreeBSD version 8.6.0.2.0. The mpi3mr driver supports Broadcom SAS4116-based cards in the 9600 series: 9670W-16i, 9670-24i, 9660-16i, 9620-16i, 9600-24i, 9600-16i, 9600W-16e, 9600-16e, 9600-8i8e.
Initially only available as a module and on amd64/arm64, since that's how it has been tested to date. Future commits will add it to the kernel build and may expand the architectures it is supported on.
Co-authored-by: Chandrakanth Patil <[email protected]> Feedback-by: ken (prior versions) Reviewed-by: imp RelNotes: yes Differential-Revision: https://reviews.freebsd.org/D36771 Differential-Revision: https://reviews.freebsd.org/D36772
show more ...
|
| #
28082681 |
| 12-Jun-2023 |
Mark Johnston <[email protected]> |
qatfw: Don't build if WITH_SOURCELESS_UCODE is defined
|
| #
694f18d3 |
| 12-Jun-2023 |
Mark Johnston <[email protected]> |
qat: Stop building on i386
The driver isn't tested on i386, so don't spend effort compiling it.
|
| #
4d779448 |
| 04-Jun-2023 |
Xin LI <[email protected]> |
gve: Fix build on i386 and enable LINT builds.
Reviewed-by: imp Differential Revision: https://reviews.freebsd.org/D40419
|
| #
54dfc97b |
| 02-Jun-2023 |
Shailend Chand <[email protected]> |
Add gve, the driver for Google Virtual NIC (gVNIC)
gVNIC is a virtual network interface designed specifically for Google Compute Engine (GCE). It is required to support per-VM Tier_1 networking perf
Add gve, the driver for Google Virtual NIC (gVNIC)
gVNIC is a virtual network interface designed specifically for Google Compute Engine (GCE). It is required to support per-VM Tier_1 networking performance, and for using certain VM shapes on GCE.
The NIC supports TSO, Rx and Tx checksum offloads, and RSS. It does not currently do hardware LRO, and thus the software-LRO in the host is used instead. It also supports jumbo frames.
For each queue, the driver negotiates a set of pages with the NIC to serve as a fixed bounce buffer, this precludes the use of iflib.
Reviewed-by: markj MFC-after: 2 weeks Differential Revision: https://reviews.freebsd.org/D39873
show more ...
|
| #
8a2af0b4 |
| 01-Jun-2023 |
Baptiste Daroussin <[email protected]> |
nlsysevent: add a genetlink(4) module to report kernel events
Hooked to devctl_notify, this allows consumers to received events by subscribing to a system over a generic netlink protocol
Reviewed b
nlsysevent: add a genetlink(4) module to report kernel events
Hooked to devctl_notify, this allows consumers to received events by subscribing to a system over a generic netlink protocol
Reviewed by: imp, melifaro Differential Revision: https://reviews.freebsd.org/D37574
show more ...
|
| #
062a7b91 |
| 11-May-2023 |
Warner Losh <[email protected]> |
twe: Remove driver
Sponsored by: Netflix
|