FreeBSD/src a3dfa53sys/dev/sound/pci/hda hdac.c hdac.h

snd_hda: Support Intel Raptor Lake 0x7a50

PR:             276379
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    emaste, markj
Differential Revision:  https://reviews.freebsd.org/D49389

(cherry picked from commit fc40132603f5133037a35e2c14ac1356a0128c50)
DeltaFile
+1-0sys/dev/sound/pci/hda/hdac.c
+1-0sys/dev/sound/pci/hda/hdac.h
+2-02 files

FreeBSD/src 38dc6b8sys/dev/iicbus acpi_iicbus.c

acpi_iicbus: install the address space handler by default

Signed-off-by: Ahmad Khalifa <ahmadkhalifa570 at gmail.com>

Reviewed by:    wulf
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1583

(cherry picked from commit d3b1dcb408e2f63845aee5508fe4c73db1f94b58)
DeltaFile
+1-1sys/dev/iicbus/acpi_iicbus.c
+1-11 files

FreeBSD/src 0ca77a6stand/efi/loader Makefile

loader: Allow overriding NEWVERSWHAT

This can be useful when making alternate versions of the loader.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit dcc7b3698d03b2aedc68e88b4e05a0b32b435429)
DeltaFile
+1-1stand/efi/loader/Makefile
+1-11 files

FreeBSD/src 2ce4f02lib/libc/stdio vfprintf.c vfwprintf.c

libc/stdio: Increase BUF in vfprintf.c and vfwprintf.c

With the %b format specifier we need enough space to write a uintmax_t
in binary.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1400

(cherry picked from commit d4f9e326393e3298062a58338e2c94ef6baff8b5)
DeltaFile
+2-6lib/libc/stdio/vfprintf.c
+2-6lib/libc/stdio/vfwprintf.c
+4-122 files

FreeBSD/src c0e07c9usr.bin/xinstall xinstall.c, usr.bin/xinstall/tests install_test.sh

install: print directory name instead of file name if mkstemp fails

Printing the file name doesn't make sense since mkstemp failing means
that the file wasn't created.

Also add a test case for this.

Co-authored-by: Jose Luis Duran <jlduran at gmail.com>
Reviewed by: imp,jhb
Pull Request: https://github.com/freebsd/freebsd-src/pull/1383

(cherry picked from commit e8d027be6b84ac976eacd46283c286b934dd6f1f)
DeltaFile
+10-0usr.bin/xinstall/tests/install_test.sh
+1-1usr.bin/xinstall/xinstall.c
+11-12 files

FreeBSD/src ac5378dshare/mk src.opts.mk, tools/build/options WITHOUT_LOADER_IA32 WITH_LOADER_IA32

Add build option for the ia32 loader

In preparation for supporting 64-bit machines with 32-bit UEFI firmware,
add a build option for compiling the ia32 loader. Currently unused.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit fe3f792f9a2982678138e239f5e8d66e8ee71aeb)
DeltaFile
+5-0share/mk/src.opts.mk
+1-0tools/build/options/WITHOUT_LOADER_IA32
+1-0tools/build/options/WITH_LOADER_IA32
+7-03 files

FreeBSD/src 92aa078stand/efi/loader framebuffer.c

loader: Fix shadow_fb allocation

Using AllocateMaxAddress here means that gfx_state->tg_shadow_fb is
treated as the highest address we can receive. Since
gfx_state->tg_shadow_fb is NULL, we never receive anything. Use
AllocateAnyPages instead.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit 95f75b0e6e5f71d34e4eef151f43822e33838663)
DeltaFile
+1-1stand/efi/loader/framebuffer.c
+1-11 files

FreeBSD/src c6d3271release/amd64 make-memstick.sh mkisoimages.sh, tools/boot install-boot.sh

Copy the new ia32 loader

This handles copying in install-boot.sh and bsdinstall's bootconfig.

install-boot.sh:
make_esp_file now optionally takes extra arguments so it can copy
multiple files. This is used by the amd64 release scripts.
make_esp_device also takes an extra optional argument for efibootname.
This is currently unused, but it can be used in the future to do
something like:
make_esp_device loader.efi bootx64
make_esp_device loader_ia32.efi bootia32

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit 599273f942b8dc6f957487bb28f36694dab9dad2)
DeltaFile
+38-14tools/boot/install-boot.sh
+22-14usr.sbin/bsdinstall/scripts/bootconfig
+6-1release/amd64/make-memstick.sh
+6-1release/amd64/mkisoimages.sh
+72-304 files

FreeBSD/src 7d7dc14stand defs.mk Makefile, stand/efi Makefile

stand/efi: Add a 32-bit variant of libefi

In preparation for supporting 64-bit machines with 32-bit UEFI firmware,
add a 32-bit variant of libefi since we need to compile both the 64-bit
version and the 32-bit version at the same time.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit f0d5b1bdf075c68ddb1dcfbc5a0eda0214510b5b)
DeltaFile
+7-3stand/defs.mk
+4-0stand/efi/libefi32/Makefile
+1-0stand/Makefile
+1-0stand/efi/Makefile
+13-34 files

FreeBSD/src 7d042b0sys/dev/gpio bytgpio.c

bytgpio: expose PNP info

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1349

(cherry picked from commit 969484b53217cee65d6802f1954f0431cbfc6b45)
DeltaFile
+4-2sys/dev/gpio/bytgpio.c
+4-21 files

FreeBSD/src 43dc900stand/efi/loader copy.c

loader: Fix G overflowing for G(4) on 32-bit builds

Prevent G(4) and over from overflowing for 32-bit builds.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit 5360d017be83d2502ba262f391ef45b07e0de680)
DeltaFile
+1-1stand/efi/loader/copy.c
+1-11 files

FreeBSD/src 513d89fsys/dev/usb usb.h

usb: increase USB_PORT_RESET_RECOVERY

10ms seems to be too strict for some configurations, so increase to
20ms.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1327

(cherry picked from commit e152944f1a16a4ff33b4e20b813ce4a54b884b90)
DeltaFile
+1-1sys/dev/usb/usb.h
+1-11 files

FreeBSD/src ce02470stand/efi/loader Makefile, stand/efi/loader/arch/i386 elf64_freebsd.c amd64_tramp.S

stand: Add support for 64-bit machines with 32-bit UEFI implementations

Some machines have 64-bit capable cpus but are stuck on 32-bit uefi
firmware.

Add support for them by building a new "loader_ia32" with
LOADER_DEFAULT_INTERP along with the 64-bit one. The loader
can be disabled using MK_LOADER_IA32.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit f8ca5d45c3c1829759ecd87cb95d53e5ab7d0811)
DeltaFile
+274-0stand/efi/loader/arch/i386/elf64_freebsd.c
+100-0stand/efi/loader/arch/i386/amd64_tramp.S
+75-0stand/efi/loader/arch/i386/start.S
+55-0stand/efi/loader/arch/i386/i386.ldscript
+51-0stand/efi/loader/arch/i386/setup.c
+18-6stand/efi/loader/Makefile
+573-611 files not shown
+621-2317 files

FreeBSD/src 703287dstand/defaults loader.conf.5

loader.conf.5: Correct terminal size

Signed-off-by: Ahmad Khalifa <ahmadkhalifa570 at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1292

(cherry picked from commit 1dbbce9744500f2fa4d6ca5ec888835c0f7b9161)
DeltaFile
+3-3stand/defaults/loader.conf.5
+3-31 files

FreeBSD/src df872d6stand/common commands.c

loader: Increase buffer size to accommodate longer commands

The longest command we have is "efi-autoresizecons". That combined with
the two spaces before and after the command gives us a total of 23
characters including the null-terminator.

Also move the two trailing spaces to their own pager_output call so they
don't get truncated if the command is too long and increase the minimum
string length to 20 in order to fix alignment issues caused by the
increased buffer size.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1277

(cherry picked from commit ab08da5328b4175e399d8e59adc4dfad0eea24f1)
DeltaFile
+3-2stand/common/commands.c
+3-21 files

FreeBSD/src 1a8a24esys/dev/iicbus acpi_iicbus.c

acpi_iicbus: Shift slave address

The address is expected to need shifting.
see https://uefi.org/specs/ACPI/6.5/13_System_Mgmt_Bus_Interface_Specification.html#smbus-slave-addresses

Reviewed by: imp, markj, Elliott Mitchell
Pull Request: https://github.com/freebsd/freebsd-src/pull/1125

(cherry picked from commit 67677a654aa7456f18077ccbaa9c40f39a36d21a)
DeltaFile
+3-0sys/dev/iicbus/acpi_iicbus.c
+3-01 files

FreeBSD/src 4073e53sys/dev/acpica acpi_cmbat.c

acpi_cmbat: Use nitems instead of sizeof

Reviewed by: imp, markj, Elliott Mitchell
Pull Request: https://github.com/freebsd/freebsd-src/pull/1125

(cherry picked from commit d0cc25f770aee068bcbaee89aa2f52cc5dd79dd5)
DeltaFile
+2-2sys/dev/acpica/acpi_cmbat.c
+2-21 files

FreeBSD/src 0a4a5b8stand/efi/libefi efi_console.c

efi_console: Stay inline with the UEFI spec

The UEFI spec states that the minimum garunteed terminal resolution is
80x25.

Signed-off-by: Ahmad Khalifa <ahmadkhalifa570 at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1292
(cherry picked from commit 3b68c491d37196bb76a95bce3c02f7c6d5ba22fd)
DeltaFile
+1-1stand/efi/libefi/efi_console.c
+1-11 files

FreeBSD/src 7b17666contrib/tzdata southamerica NEWS

contrib/tzdata: import tzdata 2025b

Changes: https://github.com/eggert/tz/blob/2025b/NEWS

(cherry picked from commit d2cccdef30376b7de5643caae1ef035f8e6932f0)
DeltaFile
+70-16contrib/tzdata/southamerica
+27-2contrib/tzdata/NEWS
+11-1contrib/tzdata/asia
+9-0contrib/tzdata/northamerica
+2-1contrib/tzdata/zone1970.tab
+2-1contrib/tzdata/zone.tab
+121-212 files not shown
+123-238 files

FreeBSD/src 4750821contrib/tzdata southamerica NEWS

contrib/tzdata: import tzdata 2025b

Changes: https://github.com/eggert/tz/blob/2025b/NEWS

(cherry picked from commit d2cccdef30376b7de5643caae1ef035f8e6932f0)
DeltaFile
+70-16contrib/tzdata/southamerica
+27-2contrib/tzdata/NEWS
+11-1contrib/tzdata/asia
+9-0contrib/tzdata/northamerica
+2-1contrib/tzdata/zone.tab
+2-1contrib/tzdata/zone1970.tab
+121-212 files not shown
+123-238 files

FreeBSD/src 0a85254usr.bin/top top.1 commands.c

top: Polish key bindings in usage and manual

Organize key bindings by ascii(7) for consistency and maintainability,
mark them as Interactive Commands, wordsmith them, and sync their
organization between the manual and help screen.

MFC after:              3 days
PR:                     282734
Fixes:                  c8aa5e526 (move command mapping to commands.c)
Reviewed by:            imp, mhorne, Jim Brown <jpb at jimby.name>
Approved by:            mhorne (mentor)
Differential Revision:  https://reviews.freebsd.org/D49462
DeltaFile
+92-91usr.bin/top/top.1
+13-13usr.bin/top/commands.c
+105-1042 files

FreeBSD/src f03c886usr.sbin/nfsd nfsd.8

nfsd.8: Note that the -n option is deprecated

PR#284616 reported that --maxthreads did not
obey the 256 thread limit defined as MAXNFSDCNT in nfsd.c.

This is actually a feature and not a bug, since many NFS
servers will now want to run more than 256 threads and
--maxthreads can be used to set the upper bound on the
number of threads. (MAXNFSDCNT was used long ago to
define how many daemons would be forked, before daemons
were replaced by kernel threads.)

However, the nfsd.8 man page was misleading, since it
indicated that "-n" was the equivalent to setting both
--minthreads and --maxthreads to the same value.
This patch fixes the man page.

This is a content change.


    [3 lines not shown]
DeltaFile
+20-10usr.sbin/nfsd/nfsd.8
+20-101 files

FreeBSD/src cb29db2crypto/openssl/apps speed.c, crypto/openssl/doc/man1 openssl-verification-options.pod openssl.pod

openssl: Import OpenSSL 3.0.16

This release incorporates the following bug fixes and mitigations:
- [CVE-2024-13176](https://www.openssl.org/news/vulnerabilities.html#CVE-2024-13176
- [CVE-2024-9143](https://www.openssl.org/news/vulnerabilities.html#CVE-2024-9143)

Release notes can be found at:
https://openssl-library.org/news/openssl-3.0-notes/index.html

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D49296

(cherry picked from commit 0d0c8621fd181e507f0fb50ffcca606faf66a8c2)
DeltaFile
+292-79crypto/openssl/apps/speed.c
+127-127crypto/openssl/providers/fips-sources.checksums
+114-78crypto/openssl/doc/man1/openssl-verification-options.pod
+94-95crypto/openssl/util/check-format-commit.sh
+72-54crypto/openssl/test/evp_libctx_test.c
+9-98crypto/openssl/doc/man1/openssl.pod
+708-531160 files not shown
+2,039-1,079166 files

FreeBSD/src 0d61082crypto/openssl/include/openssl opensslv.h, secure/lib/libcrypto Makefile.inc

openssl: update ASM and version info for 3.0.16 import

MFC after:      1 week
MFC with:       0d0c8621fd181e507f0fb50ffcca606faf66a8c2
Differential Revision:  https://reviews.freebsd.org/D49297

(cherry picked from commit d2a55e6a9348bb55038dbc6b727ab041085f22db)
DeltaFile
+5-5crypto/openssl/include/openssl/opensslv.h
+2-2secure/lib/libcrypto/Makefile.inc
+2-0sys/crypto/openssl/aarch64/armv8-mont.S
+9-73 files

FreeBSD/src 7286b72tests/sys/fs/fusefs io.cc

tests/sys/fs/fusefs: include iomanip header

io.cc relies on `std::setw(..)`, which is exported by the iomanip C++
header. Newer versions of GoogleTest don't export this header, so add
the explicit include.

This unbreaks the build with GoogleTest 1.15.2.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D47194

(cherry picked from commit 0077477f215c851fe15c9ea12cfb005125c4238a)
DeltaFile
+2-0tests/sys/fs/fusefs/io.cc
+2-01 files

FreeBSD/src 1d67ceccontrib/googletest/googlemock/include/gmock gmock-matchers.h, contrib/googletest/googletest/include/gtest gtest-typed-test.h

contrib/googletest: update from 1.14.0 to 1.15.2

The changes between the two versions can be found in this diff of the
two release tags:
https://github.com/google/googletest/compare/v1.14.0...v1.15.2

One notable change is that GoogleTest 1.15.x now officially requires
C++-14 (1.14.x required C++-11).

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D47197

Merge commit '14f7077fed7d82046bdcbe347004132f08aba886'

(cherry picked from commit 5ca8c28cd8c725b81781201cfdb5f9969396f934)
DeltaFile
+174-120contrib/googletest/googletest/src/gtest.cc
+90-89contrib/googletest/googlemock/include/gmock/gmock-matchers.h
+81-73contrib/googletest/googletest/test/gtest_environment_test.cc
+78-74contrib/googletest/googletest/include/gtest/internal/gtest-param-util.h
+98-43contrib/googletest/googletest/include/gtest/internal/gtest-port.h
+65-61contrib/googletest/googletest/include/gtest/gtest-typed-test.h
+586-46068 files not shown
+1,595-1,05374 files

FreeBSD/src 2f1f523sys/dev/sound/pci/hda hdaa_patches.c hdac.h

snd_hda: Patch Framework 16 AMD

Reported by:    jrm
Tested by:      jrm
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Reviewed by:    jrm
Differential Revision:  https://reviews.freebsd.org/D49416
DeltaFile
+14-0sys/dev/sound/pci/hda/hdaa_patches.c
+1-0sys/dev/sound/pci/hda/hdac.h
+15-02 files

FreeBSD/src 693fa33sys/conf options.arm

arm: Garbage collect CPU_ARM1176

Remove the option CPU_ARM1176, as it has been useless since armv6 support
was removed.
DeltaFile
+0-1sys/conf/options.arm
+0-11 files

FreeBSD/src 5fca5c7sys/conf files.arm

arm: Remove any reference to cpufunc_asm_arm11x6.S

I was wrong and there were still one reference to that file, in files.arm,
so remove it.
DeltaFile
+0-1sys/conf/files.arm
+0-11 files

FreeBSD/src 65f2a88sys/arm/arm cpufunc_asm_arm11x6.S

arm: Garbage collect cpufunc_asm_arm11x6.S

Armv6 support has been removed a while ago, we can safely remove
cpufunc_asm_arm11x6.S, as it is now unused.
DeltaFile
+0-86sys/arm/arm/cpufunc_asm_arm11x6.S
+0-861 files