FreeBSD/src 33fdf1asys/kern vfs_cache.c

vfs cache: mark vfs.cache.param.size as read-only

It was not meant to be writable and writes don't work correctly as they
fail to resize the hash.
DeltaFile
+1-1sys/kern/vfs_cache.c
+1-11 files

FreeBSD/src 02ef039sys/kern vfs_cache.c

vfs cache: Drop known argument of internal cache_recalc_neg_min()

'ncnegminpct' is to be passed always, so just drop the unneeded parameter.

Sponsored by:   The FreeBSD Foundation
Reviewed by:    mjg

Differential Revision: https://reviews.freebsd.org/D41763
DeltaFile
+5-5sys/kern/vfs_cache.c
+5-51 files

FreeBSD/src 02cbc02sys/kern vfs_lookup.c

vfs: fix reference counting/locking on LK_UPGRADE error

Factoring out this code unfortunately introduced reference and lock leaks in
case of failure in the lock upgrade path under VV_CROSSLOCK. In terms of
practical use, this impacts unionfs (and nullfs in a corner case).

Fixes:          80bd5ef07025 ("vfs: factor out mount point traversal to a dedicated routine")
MFC after:      3 days
MFC to:         stable/14 releng/14.0
Sponsored by:   The FreeBSD Foundation
Reviewed by:    mjg
[mjg: massaged the commit message a little bit]

Differential Revision: https://reviews.freebsd.org/D41731
DeltaFile
+8-1sys/kern/vfs_lookup.c
+8-11 files

FreeBSD/src 6a19664sys/dev/ice ice_common.c ice_switch.c

ice(4): Update to 1.38.16-k

New features
- Add sysctl "link_active_on_if_down" (defaults to 1 to match previous
behavior): set this to 0 to have the driver bring the physical link down when
the interface is brought administratively down
- Add sysctl "temp" to read chip temperature on E810 devices; this requires a
4.30 or newer NVM (see package sysutils/intel-nvmupdate-100g)

Bug fixes and general changes
- (linked to irdma) properly propagate PF reset request from irdma driver
- (linked to irdma) properly notify irdma of an impending PF reset
- (linked to irdma) move Protocol Engine error handling to irdma
- Print log message when using a DDP that doesn't support the "TX balancing"
mode
- Block LLDP agent configuration when DSCP QoS mode is enabled
- Fix kernel panic when updating NVM when adapter is in the "TX balancing" mode
- Remove ice_sbq_cmd.h since it's unused
- Fix LLDP RX filter to still allow LLDP frames to be received by SW after a PF

    [14 lines not shown]
DeltaFile
+259-231sys/dev/ice/ice_common.c
+186-146sys/dev/ice/ice_switch.c
+214-25sys/dev/ice/ice_lib.c
+104-24sys/dev/ice/if_ice_iflib.c
+80-43sys/dev/ice/ice_adminq_cmd.h
+0-120sys/dev/ice/ice_sbq_cmd.h
+843-58925 files not shown
+1,358-74731 files

FreeBSD/src 4e80493contrib/ofed/libirdma irdma_uverbs.c irdma_umain.h

irdma(4): remove artificial completion generator

Removing artificial completion generator as there had been no indication
of the code being required for E810 cards.  Further more it was found
that the code may have unpleasant side effects on user experience when
using ucmatose tool.

Signed-off-by: Bartosz Sobczak <bartosz.sobczak at intel.com>
Signed-off-by: Eric Joyner <erj at FreeBSD.org>

Reviewed by:    erj@
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D41593

(cherry picked from commit ffafa6a4d157e49e6b12567958c4ab0c9151c080)
DeltaFile
+1-160contrib/ofed/libirdma/irdma_uverbs.c
+0-8contrib/ofed/libirdma/irdma_umain.h
+1-1682 files

FreeBSD/src cc1abdcsys/dev/irdma irdma_cm.c fbsd_kcompat.h

irdma(4): use related vnet for searching netdev

It was found through testing that when ULP uses individual vnet, the
search for the correct vlan_id may failing because of no proper
interface with given address.

The solution is to use vnet associated to the connection whenever
possible.

Signed-off-by: Bartosz Sobczak <bartosz.sobczak at intel.com>
Signed-off-by: Eric Joyner <erj at FreeBSD.org>

Reviewed by:    erj@
Sponsored by:   Intel Corporation
Differential Revision:  https://reviews.freebsd.org/D41592

(cherry picked from commit bc3a013ccd23c50bb48f17211ffc36fe85d11e18)
DeltaFile
+24-11sys/dev/irdma/irdma_cm.c
+14-0sys/dev/irdma/fbsd_kcompat.h
+2-4sys/dev/irdma/fbsd_kcompat.c
+3-2sys/dev/irdma/irdma_main.h
+2-2sys/dev/irdma/irdma_verbs.c
+45-195 files

FreeBSD/src 65d0d78sys/conf files.amd64 files.arm64, sys/contrib/dev/ice LICENSE ice-1.3.35.0.pkg

ice_ddp: Update to 1.3.35.0

This is intended to be used with the upcoming updated ice(4) version
1.38.16-k.

Signed-off-by: Eric Joyner <erj at FreeBSD.org>

Sponsored by:   Intel Corporation

(cherry picked from commit e04c4b4a369df3f1dcbebbdf726193f02af60801)
DeltaFile
+3-3sys/conf/files.amd64
+3-3sys/conf/files.arm64
+3-3sys/conf/files.powerpc
+1-1sys/modules/ice_ddp/Makefile
+1-1sys/contrib/dev/ice/LICENSE
+0-0sys/contrib/dev/ice/ice-1.3.35.0.pkg
+11-111 files not shown
+11-117 files

FreeBSD/src e99406acrypto/openssl/crypto/perlasm arm-xlate.pl

OpenSSL: Fix handling of the "0:" label in arm-xlate.pl

When $label == "0", $label is not truthy, so `if ($label)` thinks there isn't
a label. Correct this by looking at the result of the s/// command.

Verified that there are no changes in the .S files created during a normal
build, and that the "0:" labels appear in the translation given in the error
report (and they are the only difference in the before and after output).

Obtained from:  OpenSSL commit 9607f5ccf285ac9988a86f95c5ad9f92b556a843

Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D41587

(cherry picked from commit eba6abafc1988dc8753b08822abff333d4810e75)
DeltaFile
+2-3crypto/openssl/crypto/perlasm/arm-xlate.pl
+2-31 files

FreeBSD/src abd9da9secure/lib/libcrypto/modules/fips Makefile

libcrypto: fix the FIPS provider on amd64

This corrects the list of source files required for the FIPS provider.

To test:

```
INSTALL PASSED
enter AES-128-CBC encryption password:
Verifying - enter AES-128-CBC encryption password:
U2FsdGVkX1+MGm7LbZou29UWU+KAyBX/PxF5T1pO9VM=
```

Reviewed by:    emaste
Fixes:          b077aed33b7b ("Merge OpenSSL 3.0.9")
Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/837
Differential Revision: https://reviews.freebsd.org/D41720

(cherry picked from commit 8f37b3a142f2f7197896cd283c44c7e4fb64aaf3)
DeltaFile
+10-10secure/lib/libcrypto/modules/fips/Makefile
+10-101 files

FreeBSD/src 407e2d7usr.bin/lastcomm/tests v1-i386.out v2-i386.out

lastcomm: update i386 tests for additional timestamp resolution

Fixes: 6f4ce7e89ba4 ("lastcomm: improve timestamp display")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+28-28usr.bin/lastcomm/tests/v1-i386.out
+28-28usr.bin/lastcomm/tests/v2-i386.out
+56-562 files

FreeBSD/src f079ef5usr.bin/lastcomm/tests v2-amd64.out v1-amd64.out

lastcomm: update amd64 tests for additional timestamp resolution

Fixes: 6f4ce7e89ba4 ("lastcomm: improve timestamp display")
Sponsored by:   The FreeBSD Foundation
DeltaFile
+28-28usr.bin/lastcomm/tests/v2-amd64.out
+28-28usr.bin/lastcomm/tests/v1-amd64.out
+56-562 files

FreeBSD/src 2cf5952. ObsoleteFiles.inc

ObsoleteFiles: cleanup old libclang_rt files for powerpc64le

PR:             273776
MFC after:      3 days

(cherry picked from commit cadbf320b352b3691cdfa90ad8ba818efca4ea68)
DeltaFile
+16-0ObsoleteFiles.inc
+16-01 files

FreeBSD/src a3e1373. ObsoleteFiles.inc

ObsoleteFiles: cleanup old libclang_rt files for powerpc64

PR:             273776
MFC after:      3 days

(cherry picked from commit b9c012a60b6e98f7c3e765859195302cf3ae7f6c)
DeltaFile
+14-0ObsoleteFiles.inc
+14-01 files

FreeBSD/src 8232867. ObsoleteFiles.inc

ObsoleteFiles.inc: Add libclang_rt libraries for riscv64 for LLVM 14/15.

Reviewed by:    dim
Differential Revision:  https://reviews.freebsd.org/D41701

(cherry picked from commit 25b58f9a4a69012b5c1729a3895f9fb3369e2b5d)
DeltaFile
+20-0ObsoleteFiles.inc
+20-01 files

FreeBSD/src 20295ac. ObsoleteFiles.inc

ObsoleteFiles: cleanup more old libclang_rt files for powerpc64le

PR:             273776
MFC after:      3 days

(cherry picked from commit 8a99263e9da1f04ede967cfa1ea6d52d258dcbe5)
(cherry picked from commit 237b0c5b22c95683c2367ef0a82f54c309309db4)
DeltaFile
+4-0ObsoleteFiles.inc
+4-01 files

FreeBSD/src d61f9bfsys/arm64/arm64 identcpu.c

arm64: Export HWCAP_CPUID

We have export the CPUID registers since 2018 but never set the
HWCAP_CPUID flag to tell userspace it could use them. Fix this by
setting it.

Sponsored by:   Arm Ltd
DeltaFile
+2-0sys/arm64/arm64/identcpu.c
+2-01 files

FreeBSD/src 2f198d3sys/crypto/openssl/aarch64 arm_arch.h

ossl: Update arm_arch.h from OpenSSL 1.1.1 to 3.0

Reviewed by:    emaste
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D41939
DeltaFile
+47-2sys/crypto/openssl/aarch64/arm_arch.h
+47-21 files

FreeBSD/src 450f731sys/arm64/arm64 trap.c locore.S, sys/arm64/include armreg.h

Add BTI exceptions

We could hit these when executing code marked as using BTI but jumps
to a non-branch target instruction.

Sponsored by:   Arm Ltd
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D39450
DeltaFile
+10-0sys/arm64/arm64/trap.c
+1-1sys/arm64/arm64/locore.S
+1-0sys/arm64/include/armreg.h
+12-13 files

FreeBSD/src c97a82dsecure/lib/libcrypto Makefile.asm

libcrypto: Copy the arm64 header when building asm

It may be needed when it's updated so is best to keep in sync with the
assembly files.

Reviewed by:    emaste
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D41938
DeltaFile
+1-0secure/lib/libcrypto/Makefile.asm
+1-01 files

FreeBSD/src 2209676sys/netinet tcp.h

Fix padding in struct tcp_info

This structure should have the same size across different FreeBSD
versions to ensure backwards-compatibility.  It has since stable/6.  But
two recent changes added fields without compensating by reducing
padding:
945f9a7cc9dcc071bfcc702748fbbb11087ae773 and
22c81cc51636cfebe94e0979eb31556d87775938 .  Reduce padding to
compensate.

Direct commit to stable/14 because we decided to break compatibility in
FreeBSD 15 in order to add more fields.  Of course, that decision could
be reversed before 15.0-RELEASE.  See the review for details.

PR:             273902
MFC after:      1 week
Reviewed by:    tuexen, glebius
Differential Revision: https://reviews.freebsd.org/D41894
DeltaFile
+1-1sys/netinet/tcp.h
+1-11 files

FreeBSD/src 6694651sys/dev/iicbus/pmic/rockchip rk8xx_clocks.c

iicbus: pmic: rk8xx: Fix logic in clock-output-names detection

Pointy hat to:  manu (probably)
DeltaFile
+2-2sys/dev/iicbus/pmic/rockchip/rk8xx_clocks.c
+2-21 files

FreeBSD/src f9e26e7sys/modules/dtb/rockchip Makefile

arm64: dtb: Add rk3568-nanopi-r5s.dts to the build

We can boot on this board.
DeltaFile
+2-1sys/modules/dtb/rockchip/Makefile
+2-11 files

FreeBSD/src 315108b. CHANGES.md, crypto/engine eng_lib.c

openssl: Vendor import of OpenSSL 3.0.11

Major changes between OpenSSL 3.0.10 and OpenSSL 3.0.11:

* Fix POLY1305 MAC implementation corrupting XMM registers on Windows
  ([CVE-2023-4807])

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

Obtained from:  https://www.openssl.org/source/openssl-3.0.11.tar.gz
Sponsored by:   The FreeBSD Foundation

Test Plan:
```
$ git status
On branch vendor/openssl-3.0
Your branch is up to date with 'origin/vendor/openssl-3.0'.


    [44 lines not shown]
DeltaFile
+43-21crypto/pkcs12/p12_crt.c
+21-15crypto/engine/eng_lib.c
+20-11doc/man1/openssl-cmp.pod.in
+15-15doc/man3/OSSL_CMP_CTX_new.pod
+25-0CHANGES.md
+22-1providers/implementations/ciphers/cipher_chacha20.c
+146-6368 files not shown
+489-22474 files

FreeBSD/src b7dd97fshare/man/man5 tmpfs.5

tmpfs.5: Document option union

As noted in 59169d915600333b7d9187097f157865ba642256,
tmpfs(5) supports the union option just fine.

MFC after:      7 days

(cherry picked from commit 1d225179fd5d7eb932486a94abb8b76be7e44241)
DeltaFile
+3-0share/man/man5/tmpfs.5
+3-01 files

FreeBSD/src cbc8699share/man/man5 tmpfs.5

tmpfs.5: Document option nomtime

Fixes:  c1e84733ac7e tmpfs: add nomtime mount option,
MFC after:      7 days

(cherry picked from commit 6a1de1912d5216512a73dd97c4ee454d44b8fffb)
DeltaFile
+7-0share/man/man5/tmpfs.5
+7-01 files

FreeBSD/src c534d0bshare/man/man5 tmpfs.5

tmpfs.5: Document option export

This is a no-op option supported for the sake of NFS.

MFC after:      7 days

(cherry picked from commit b2bd87bb01a97b5b025614a6bfccb8e109c201cd)
DeltaFile
+6-0share/man/man5/tmpfs.5
+6-01 files

FreeBSD/src 53512a0usr.sbin/daemon daemon.8

daemon.8: Sort options in DESCRIPTION

MFC after:      3 days

(cherry picked from commit ee23e1e49666e2c6edd0e5d749d3562587dcb9a7)
DeltaFile
+54-54usr.sbin/daemon/daemon.8
+54-541 files

FreeBSD/src ab77ddeusr.sbin/daemon daemon.8

daemon.8: Use Dv for signal names

MFC after:      3 days

(cherry picked from commit 735637f7d68777d0befa4b9a9291f3fc02b5ed00)
DeltaFile
+8-3usr.sbin/daemon/daemon.8
+8-31 files

FreeBSD/src 178f801share/man/man5 tmpfs.5

tmpfs.5: Sort option descriptions

MFC after:  3 days

(cherry picked from commit e69a5788273b4f531a49054e0238424826375633)
DeltaFile
+15-12share/man/man5/tmpfs.5
+15-121 files

FreeBSD/src b86dbf7share/man/man5 tmpfs.5

tmpfs.5: Fix the use of Bl

MFC after:      3 days

(cherry picked from commit adbc93c4cc862b6fc6e7992f6e8c78745d0d36eb)
DeltaFile
+2-2share/man/man5/tmpfs.5
+2-21 files