| #
bd8296bd |
| 26-Dec-2025 |
John Baldwin <jhb@FreeBSD.org> |
Build acpi kernel modules on aarch64
For now, the only kernel module built is acpi_ged.ko.
Sponsored by: Netflix Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D54315
|
|
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 |
|
| #
34892a8e |
| 16-Sep-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: bitcount fix builds with gcc and older llvm
LLVM before 19 and gcc before 14 do not support __builtin_popcountg(). Use __const_bitcount<n> from sys/bitcount.h as a replacement in these cas
LinuxKPI: bitcount fix builds with gcc and older llvm
LLVM before 19 and gcc before 14 do not support __builtin_popcountg(). Use __const_bitcount<n> from sys/bitcount.h as a replacement in these cases. This should still allow drm-kmod to build where the size needs to be known at compile-time.
Remove the conditional for gcc around the iwlwifi modules build, which was collateral damage in all this.
Sponsored by: The FreeBSD Foundation Fixes: 7cbc4d875971, 5e0a4859f28a MFC after: 3 days Reviewed by: brooks, emaste (without the sys/modules/Makefile change) Differential Revision: https://reviews.freebsd.org/D54297
show more ...
|
| #
7f3da1f8 |
| 18-Dec-2025 |
Ed Maste <emaste@FreeBSD.org> |
aq(4): Build on x86 only for now
It fails to build on arm64. As it is experimental and in development just limit it to x86 until this is fixed.
Reported by: brd Fixes: 75177aebf039 ("aq(4): Add b
aq(4): Build on x86 only for now
It fails to build on arm64. As it is experimental and in development just limit it to x86 until this is fixed.
Reported by: brd Fixes: 75177aebf039 ("aq(4): Add build infrastructure")
show more ...
|
| #
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
|
| #
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
|
| #
68f185cc |
| 12-Nov-2025 |
Zachary Leaf <zachary.leaf@arm.com> |
arm64: Add Arm SPE support
Add support for the Arm Statistical Profiling Extension (SPE). This is an optional extension added in Armv8.1 to provide profiling of software using randomised instruction
arm64: Add Arm SPE support
Add support for the Arm Statistical Profiling Extension (SPE). This is an optional extension added in Armv8.1 to provide profiling of software using randomised instruction sampling.
This adds the initial driver, and attached it to the hardware tracing framework, hwt(4), in CPU mode to allow tracing of all threads on a given CPU.
(commit message by andrew@)
Co-authored-by: Sarah Walker <sarah.walker2@arm.com> Co-authored-by: Andrew Turner <andrew@FreeBSD.org> Reviewed by: andrew Sponsored by: Arm Ltd Sponsored by: The FreeBSD Foundation (early driver) Differential Revision: https://reviews.freebsd.org/D46241
show more ...
|
| #
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 ...
|
| #
d1ca0105 |
| 24-Oct-2025 |
David E. O'Brien <obrien@FreeBSD.org> |
padlock(4)/nehemiah: move i386-only entropy source to MD files
Reviewed by: khng Differential Revision: https://reviews.freebsd.org/D53309
|
| #
3a129829 |
| 17-Oct-2025 |
David E. O'Brien <obrien@FreeBSD.org> |
random: add RDSEED as a provably unique entropy source
NIST SP800-90B allows for only a single entropy source to be claimed in a FIPS-140-3 certificate. In addition, only hardware sources that have
random: add RDSEED as a provably unique entropy source
NIST SP800-90B allows for only a single entropy source to be claimed in a FIPS-140-3 certificate. In addition, only hardware sources that have a NIST Entropy Source Validation (ESV) certificate, backed by a SP800-90B Entropy Assessment Report, are usable. Intel has obtained ESV certificates for several of their processors, so RDSEED is a FIPS-140-3 suitable entropy source.
However, even though RDRAND is seeded by RDSEED internally, RDRAND would need a RBG certificate and CAVP testing run on the DRBG in order to use it for FIPS-140-3 (SP800-90B) purposes. So we need to know down in the CSPRNG-subsystem which source the entropy came from.
In light of the potential issues surrounding AMD Zen 5 CPU's RDSEED implementation[*], allow RDSEED to be disabled in loader.conf. [*] https://www.phoronix.com/news/AMD-EPYC-Turin-RDSEED-Bug
Reviewed by: cem MFC after: 3 days Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D53150
show more ...
|
| #
ddc1d4b0 |
| 21-Oct-2025 |
Mitchell Horne <mhorne@FreeBSD.org> |
modules: fix some riscv module logic
The change which enabled the sdhci_fdt module build on riscv inadvertently enabled the neta module as well. This driver is not needed on this platform.
Move eac
modules: fix some riscv module logic
The change which enabled the sdhci_fdt module build on riscv inadvertently enabled the neta module as well. This driver is not needed on this platform.
Move each entry to a respective identical conditional blocks.
MFC after: 3 days Sponsored by: The FreeBSD Foundation Fixes: e9dd9f95f82f ("riscv: Add the sdhci_fdt driver to the build")
show more ...
|
| #
5aefe9f1 |
| 21-Oct-2025 |
Mitchell Horne <mhorne@FreeBSD.org> |
arm: tweak imx module build logic
Add the subdirectory in the Makefile, not the config.
No functional change intended.
MFC after: 3 days Sponsored by: The FreeBSD Foundation
|
|
Revision tags: 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, release/14.3.0, 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 |
|
| #
55225197 |
| 18-Sep-2024 |
Mitchell Horne <mhorne@FreeBSD.org> |
modules: enable allwinner kmods on riscv
While here, standardize the place they are enabled in the Makefile. For armv7 the module subdirectory was added explicitly in the config file, but this is no
modules: enable allwinner kmods on riscv
While here, standardize the place they are enabled in the Makefile. For armv7 the module subdirectory was added explicitly in the config file, but this is not idiomatic.
MFC after: 3 days Sponsored by: The FreeBSD Foundation
show more ...
|
| #
51fbeada |
| 17-Oct-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
igc(4): also build module on aarch64
igc(4) seems to work fine on arm64 for as much as I could test with a 2.5Gbit/s interface on a mPCIe card. Enable the module build so it is available.
MFC after
igc(4): also build module on aarch64
igc(4) seems to work fine on arm64 for as much as I could test with a 2.5Gbit/s interface on a mPCIe card. Enable the module build so it is available.
MFC after: 3 days
show more ...
|
| #
2ed98337 |
| 27-Sep-2025 |
Aymeric Wibo <obiwac@FreeBSD.org> |
thunderbolt: Import USB4 code
Add initial USB4 code written by Scott Long and originally passed on to HPS (source: https://github.com/hselasky/usb4), minus the ICM code and with some small fixes.
F
thunderbolt: Import USB4 code
Add initial USB4 code written by Scott Long and originally passed on to HPS (source: https://github.com/hselasky/usb4), minus the ICM code and with some small fixes.
For context, older TB chips implemented the connection manager in firmware (ICM) instead of in the OS (HCM), but maintaining the ICM code would be a huge burden for not many chips.
Mostly completed work:
- Debug/trace framework. - NHI controller driver. - PCIe bridge driver. - Router and config space layer handling (just reading in this commit).
Link to the email where Scott shared details about the initial USB4 work:
https://lists.freebsd.org/archives/freebsd-hackers/2024-July/003411.html
Glanced at by: emaste, imp Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D49450 Event: EuroBSDcon 2025
show more ...
|
| #
5e0a4859 |
| 14-Sep-2025 |
Warner Losh <imp@FreeBSD.org> |
iwlwifi: Don't compile for gcc before 14
gcc 13 and earlier don't have __builtin_bitcountg. The linux wifi kpi uses this unconditionally. While in this one use, it might not be needed, I opted to no
iwlwifi: Don't compile for gcc before 14
gcc 13 and earlier don't have __builtin_bitcountg. The linux wifi kpi uses this unconditionally. While in this one use, it might not be needed, I opted to not compile iwlwifi when building gcc12 or 13 rather than risk breaking it for everbody else.
With this change gcc12 builds the kernel. Maybe this will stop jenkins email for every commit I make.
Sponsored by: Netflix
show more ...
|
| #
e9dd9f95 |
| 18-Jan-2025 |
Bojan Novković <bnovkov@FreeBSD.org> |
riscv: Add the sdhci_fdt driver to the build
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D48534
|
| #
f261b633 |
| 14-Jun-2025 |
Aymeric Wibo <obiwac@FreeBSD.org> |
amdsmu: Initial work on a driver for the AMD SMU
Start work on a driver for the AMD SMU (system management unit), which will eventually be used for getting S0ix statistics (e.g. how long the CPU has
amdsmu: Initial work on a driver for the AMD SMU
Start work on a driver for the AMD SMU (system management unit), which will eventually be used for getting S0ix statistics (e.g. how long the CPU has spent in the deepest - S0i3 - sleep state during the last sleep) as well as letting PMFW (power management firmware, running on the SMU) know when we intend to enter and exit sleep. It is what's responsible for actually turning off the VDD line to the CPU.
With this commit, amdsmu is just able to get the SMU's firmware version on AMD Rembrandt, Phoenix, and Strix Point CPUs.
This is the equivalent to amd-pmc on Linux.
Reviewed by: cem, kib, mckusick Approved by: kib, mckusick Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48683
show more ...
|
| #
310162ea |
| 16-Jul-2025 |
Bojan Novković <bnovkov@FreeBSD.org> |
hwt(4): Add Intel Processor Trace backend
Differential Revision: https://reviews.freebsd.org/D46397 Reviewed by: kib, markj, br
|
| #
df114dae |
| 03-Jul-2025 |
Ruslan Bukin <br@FreeBSD.org> |
Import the Hardware Trace (HWT) framework.
The HWT framework provides infrastructure for hardware-assisted tracing. It collects detailed information about software execution and records it as "event
Import the Hardware Trace (HWT) framework.
The HWT framework provides infrastructure for hardware-assisted tracing. It collects detailed information about software execution and records it as "events" in highly compressed format into DRAM. The events cover information about control flow changes of a program, whether branches taken or not, exceptions taken, timing information, cycles elapsed and more. This allows to reconstruct entire program flow of a given application.
This comes with separate machine-dependent tracing backends for trace collection, trace decoder libraries and an instrumentation tool.
Reviewed by: kib (sys/kern bits) Sponsored by: UKRI Differential Revision: https://reviews.freebsd.org/D40466
show more ...
|
| #
c4bffce3 |
| 15-Jun-2025 |
Warner Losh <imp@FreeBSD.org> |
ufshci: Add to build on arm64 and aarch64
Add UFS Host Controller Itnerface driver to the build.
Sponsored by: Netflix
|
| #
3ea0fa86 |
| 26-May-2025 |
Gleb Smirnoff <glebius@FreeBSD.org> |
buildkernel: fix build for kernels without VIMAGE
Fixes: 9b5ddb2accfc80f70a0da52444008ebabef2a9ee
|
| #
9b5ddb2a |
| 20-May-2025 |
Li-Wen Hsu <lwhsu@FreeBSD.org> |
wtap(4): Connect to build
Sponsored by: The FreeBSD Foundation
|
| #
bca86850 |
| 24-Apr-2025 |
Adrian Chadd <adrian@FreeBSD.org> |
e6000sw: always compile it
It now is useful outside of FDT, so add it as a module
Differential Revision: https://reviews.freebsd.org/D50028 Reviewed by: imp
|
| #
4a167205 |
| 24-Apr-2025 |
Adrian Chadd <adrian@FreeBSD.org> |
etherswitch: add etherswitch module
Add the etherswitch module
Differential Revision: https://reviews.freebsd.org/D50026 Reviewed by: imp
|
| #
07b56e26 |
| 24-Apr-2025 |
Adrian Chadd <adrian@FreeBSD.org> |
miiproxy: add as a module
Add miiproxy as a module.
Differential Revision: https://reviews.freebsd.org/D50025 Reviewed by: imp
|