HardenedBSD/src f45c26esbin/newfs newfs.8 newfs.c, share/mk bsd.man.mk

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+18-6sbin/newfs/newfs.8
+6-3sbin/newfs/newfs.c
+3-3share/mk/bsd.man.mk
+27-123 files

HardenedBSD/src 9f33a83sbin/newfs newfs.8 newfs.c, share/mk bsd.man.mk

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+18-6sbin/newfs/newfs.8
+6-3sbin/newfs/newfs.c
+3-3share/mk/bsd.man.mk
+27-123 files

HardenedBSD/src 9fed072share/mk bsd.man.mk

bsd.man.mk simplify staging

We actually only need the high level targets stage_files and stage_links
meta.stage.mk will take care of the details.
DeltaFile
+2-2share/mk/bsd.man.mk
+2-21 files

HardenedBSD/src 9cd89fcshare/mk bsd.man.mk

bsd.man.mk fix staging

The STAGE_SETS and STAGE_TARGETS need to match
STAGE_DIR.

For each STAGE_SET we have STAGE_DIR.${STAGE_SET}
and create a target stage_files.${STAGE_SET},
the settings all need to be self consistent to work.
DeltaFile
+2-2share/mk/bsd.man.mk
+2-21 files

HardenedBSD/src 68562f8sbin/newfs newfs.8 newfs.c

newfs: Add an option to disable soft updates

A previous commit turned soft updates on by default for UFS2 without
providing a way to turn them off.  This corrects that by adding a new -u
flag which forces soft updates (and soft updates journaling) off.

MFC after:      1 week
Sponsored by:   Klara, Inc.
Sponsored by:   NetApp, Inc.
Fixes:          61dece6d27fb ("Enable soft updates by default for UFS2 filesystems.")
Reviewed by:    mckusick
Differential Revision:  https://reviews.freebsd.org/D54576
DeltaFile
+18-6sbin/newfs/newfs.8
+6-3sbin/newfs/newfs.c
+24-92 files

HardenedBSD/src 3284429sys/dev/cxgbe t4_sge.c, sys/dev/cxgbe/common t4_regs.h t4_hw.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+825-235sys/dev/cxgbe/common/t4_regs.h
+528-194usr.sbin/cxgbetool/reg_defs_t7.c
+67-64sys/dev/cxgbe/t4_sge.c
+22-12sys/dev/cxgbe/firmware/t7fw_cfg.txt
+18-8sys/dev/cxgbe/firmware/t7fw_cfg_uwire.txt
+6-7sys/dev/cxgbe/common/t4_hw.c
+1,466-5201 files not shown
+1,467-5217 files

HardenedBSD/src 7f32a70sys/dev/cxgbe t4_sge.c, sys/dev/cxgbe/common t4_regs.h t4_hw.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+825-235sys/dev/cxgbe/common/t4_regs.h
+528-194usr.sbin/cxgbetool/reg_defs_t7.c
+67-64sys/dev/cxgbe/t4_sge.c
+22-12sys/dev/cxgbe/firmware/t7fw_cfg.txt
+18-8sys/dev/cxgbe/firmware/t7fw_cfg_uwire.txt
+6-7sys/dev/cxgbe/common/t4_hw.c
+1,466-5201 files not shown
+1,467-5217 files

HardenedBSD/src 6a87f31contrib/bmake configure var.c, contrib/bmake/mk options.mk ChangeLog

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+102-46contrib/bmake/mk/options.mk
+44-9contrib/bmake/configure
+49-0contrib/bmake/mk/ChangeLog
+43-3contrib/bmake/var.c
+37-0contrib/bmake/ChangeLog
+20-16contrib/bmake/mk/install-new.mk
+295-7487 files not shown
+690-69893 files

HardenedBSD/src dda55f8sys/dev/cxgbe/common t4_regs.h t4_hw.c, sys/dev/cxgbe/firmware t7fw_cfg.txt t7fw_cfg_uwire.txt

cxgbe(4): Update shared code and config files

Obtained from:  Chelsio Communications
MFC after:      1 week
Sponsored by:   Chelsio Communications
DeltaFile
+825-235sys/dev/cxgbe/common/t4_regs.h
+528-194usr.sbin/cxgbetool/reg_defs_t7.c
+22-12sys/dev/cxgbe/firmware/t7fw_cfg.txt
+18-8sys/dev/cxgbe/firmware/t7fw_cfg_uwire.txt
+6-7sys/dev/cxgbe/common/t4_hw.c
+1,399-4565 files

HardenedBSD/src 01c0005sys/dev/cxgbe t4_sge.c

cxgbe(4): Move CPL-specific handling out of eth_rx

IPsec rx uses a new CPL and this prepares eth_rx for IPsec support in
future commits.

Tidy up the comment and code around M_TSTMP while here.

MFC after:      1 week
Sponsored by:   Chelsio Communications
DeltaFile
+67-64sys/dev/cxgbe/t4_sge.c
+67-641 files

HardenedBSD/src 11aa327contrib/bmake configure var.c, contrib/bmake/mk options.mk ChangeLog

Update to bmake-20251111

Merge commit '638c66de4a0faa4c2e815e81cd4021c2387c7e0f'

(cherry picked from commit c60f6422ffae3ea85e7b10bad950ad27c463af18)
DeltaFile
+102-46contrib/bmake/mk/options.mk
+44-9contrib/bmake/configure
+49-0contrib/bmake/mk/ChangeLog
+43-3contrib/bmake/var.c
+37-0contrib/bmake/ChangeLog
+34-2contrib/bmake/configure.in
+309-6087 files not shown
+690-69893 files

HardenedBSD/src 73a2386sys/dev/smartpqi smartpqi_request.c

smartpqi: Make pqisrc_is_supported_write static

This fixes a build error with -O0 and matches all the other pqisrc_is_*
routines in the file.

--- kernel.full ---
ld: error: undefined symbol: pqisrc_is_supported_write
>>> referenced by smartpqi_request.c:1799 (/.../smartpqi_request.c:1799)
>>>               smartpqi_request.o:(pqisrc_build_scsi_cmd_raidbypass)
DeltaFile
+1-1sys/dev/smartpqi/smartpqi_request.c
+1-11 files

HardenedBSD/src 41302c6sys/contrib/device-tree/include/dt-bindings/clock cv181x-clock.h, sys/contrib/device-tree/include/dt-bindings/reset cv181x-resets.h

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+0-932sys/contrib/device-tree/src/riscv/sophgo/cv181x_base.dtsi
+0-378sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_riscv.dtsi
+0-320sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_arm.dtsi
+0-175sys/contrib/device-tree/include/dt-bindings/clock/cv181x-clock.h
+0-172sys/contrib/device-tree/include/dt-bindings/reset/cv181x-resets.h
+0-120sys/contrib/device-tree/src/riscv/sophgo/cv181x_asic_qfn.dtsi
+0-2,09718 files not shown
+9-2,73524 files

HardenedBSD/src 069a8ffsys/contrib/device-tree/include/dt-bindings/clock cv181x-clock.h, sys/contrib/device-tree/include/dt-bindings/reset cv181x-resets.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+0-932sys/contrib/device-tree/src/riscv/sophgo/cv181x_base.dtsi
+0-378sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_riscv.dtsi
+0-320sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_arm.dtsi
+0-175sys/contrib/device-tree/include/dt-bindings/clock/cv181x-clock.h
+0-172sys/contrib/device-tree/include/dt-bindings/reset/cv181x-resets.h
+0-120sys/contrib/device-tree/src/riscv/sophgo/cv181x_asic_qfn.dtsi
+0-2,09718 files not shown
+9-2,73524 files

HardenedBSD/src e616025release/tools gce.conf, sys/cam/mmc mmc_xpt.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+1-2release/tools/gce.conf
+1-1sys/netgraph/bluetooth/include/ng_hci.h
+1-1sys/net/altq/altq.h
+1-1sys/cam/mmc/mmc_xpt.c
+1-1sys/dev/mps/mps.c
+1-1sys/dev/oce/oce_mbox.c
+6-76 files

HardenedBSD/src 509a185sys/net80211 ieee80211_radiotap.c

net80211: fix bpf tap leak on wlan(4) detach

PR:     292337
Fixes:  8774a990ee4094f16d596d4b78e0f3239e5d0c88
DeltaFile
+9-6sys/net80211/ieee80211_radiotap.c
+9-61 files

HardenedBSD/src 24a20efrelease/tools gce.conf

GCE: Fix growfs path

The sed command was missing the ${DESTDIR} prefix, meaning it was
attempting to modify the build host's /etc/rc.d/growfs instead of
the target image's script. Tested in an arm64 builder that builds
as non-root.

PR:             kern/292081

(cherry picked from commit 709c1049fe0c6d0217e81268d4f33f7191474453)
DeltaFile
+1-1release/tools/gce.conf
+1-11 files

HardenedBSD/src 6c20edfrelease/tools gce.conf

GCE: Enable vtnet(4) Multiqueue.

Removes hw.vtnet.mq_disable=1.

This workaround was originally introduced nearly a decade ago to
address stability issues on KVM that have long since been resolved
in both the FreeBSD driver and the GCE hypervisor. Removing this
allows network interrupts to scale across multiple vCPUs.

Tested on n2-highcpu-16 VM with 15.0-RELEASE and confirmed multiple
queue pairs active and interrupts handling across cores.

PR:             kern/292081

(cherry picked from commit f604d84618ad478fa46ec374480cbcbc1d93bf07)
DeltaFile
+0-1release/tools/gce.conf
+0-11 files

HardenedBSD/src 3ae56f6sys/contrib/device-tree/include/dt-bindings/clock cv181x-clock.h, sys/contrib/device-tree/include/dt-bindings/reset cv181x-resets.h

Revert "ophgo: import new .dts"

This reverts commit b55d106df9785d141f9e3e1c916e921df9d877ac.

Per request of original author, manu, and mmel, revert this
change. While this is a genuinely cool device, there's some issues that
need to be sorted out before moving forward:

o Imported dt-bindings that weren't used and could interfere in the
  future.
o no platform code for sophgo, though it likely needs it
o Potential interference from the dts/dtsi files imported for future
  linux device-tree imports. These are the dts files from the vendor
  sdk, and history has down often upstream introduces enough change
  that keeping them here in the mean time lays the groundwork for
  merge conflicts in the future.

That makes this import premature.  Revert until it's more mature.
DeltaFile
+0-932sys/contrib/device-tree/src/riscv/sophgo/cv181x_base.dtsi
+0-378sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_riscv.dtsi
+0-320sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_arm.dtsi
+0-175sys/contrib/device-tree/include/dt-bindings/clock/cv181x-clock.h
+0-172sys/contrib/device-tree/include/dt-bindings/reset/cv181x-resets.h
+0-120sys/contrib/device-tree/src/riscv/sophgo/cv181x_asic_qfn.dtsi
+0-2,09717 files not shown
+0-2,72923 files

HardenedBSD/src 6946e9asys/dev/mps mps.c

mps(4): Fix a typo in a device message

- s/reseting/resetting/

(cherry picked from commit bcc735cb710fb74d1fb5f7be3d37701343c58ccd)
DeltaFile
+1-1sys/dev/mps/mps.c
+1-11 files

HardenedBSD/src 353e9cesys/cam/mmc mmc_xpt.c

mmc(4): Fix a typo in a device debug message

- s/reseting/resetting/

(cherry picked from commit 3b6f9481a85600cf1f23a819c3afee30fcd4122f)
DeltaFile
+1-1sys/cam/mmc/mmc_xpt.c
+1-11 files

HardenedBSD/src 0bedd06sys/net/altq altq.h

altq(4): Fix a typo in a source code comment

- s/backet/bucket/

(cherry picked from commit 1df4d82bd17ebd7449a6b58c32b65a12269ca068)
DeltaFile
+1-1sys/net/altq/altq.h
+1-11 files

HardenedBSD/src 72333f2sys/dev/oce oce_mbox.c

oce(4): Fix a typo in a device debug message

- s/depricated/deprecated/

(cherry picked from commit a3950d70a499e120c67da884865486e8599229bd)
DeltaFile
+1-1sys/dev/oce/oce_mbox.c
+1-11 files

HardenedBSD/src 4e3fbe5sys/netgraph/bluetooth/include ng_hci.h

ng_hci(4): Fix a typo in a source code comment

- s/depricated/deprecated/

(cherry picked from commit 756712d745db207085f1fe87dc8258434ec2147d)
DeltaFile
+1-1sys/netgraph/bluetooth/include/ng_hci.h
+1-11 files

HardenedBSD/src 5c67f04sys/netpfil/pf pf.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+4-2sys/netpfil/pf/pf.c
+4-21 files

HardenedBSD/src 71f4eb5sys/netpfil/pf pf.c

pf: don't reject route-to'd too-large packets

If we're sending a packet via pf_route()/pf_route6() we check for packet
size and potentially generate ICMP(6) packet too big messages. If we do,
don't consider this a rejected packet. That is, return PF_PASS and set
the mbuf to NULL rather than returning PF_DROP.

This matters for locally generated packets, because with PF_DROP we
can end up returning EACCES to userspace, causing the connection to
terminate. Instead, with PF_PASS and a NULL mbuf this is translated to
PFIL_CONSUMED, which does not return an error to userspace.

MFC after:      2 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 2e7699355f08258365fb5f65d11ac297e20f78de)
DeltaFile
+4-2sys/netpfil/pf/pf.c
+4-21 files

HardenedBSD/src c3ad8e4lib/libpmc/pmu-events/arch/x86/amdzen5 data-fabric.json floating-point.json, sys/contrib/device-tree/src/riscv/sophgo cv181x_base.dtsi

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+1,634-0lib/libpmc/pmu-events/arch/x86/amdzen5/data-fabric.json
+932-0sys/contrib/device-tree/src/riscv/sophgo/cv181x_base.dtsi
+812-0lib/libpmc/pmu-events/arch/x86/amdzen5/floating-point.json
+0-685sys/powerpc/booke/spe.c
+517-0lib/libpmc/pmu-events/arch/x86/amdzen5/load-store.json
+457-0lib/libpmc/pmu-events/arch/x86/amdzen5/recommended.json
+4,352-685143 files not shown
+8,787-3,349149 files

HardenedBSD/src e7c73e4sys/cddl/contrib/opensolaris/uts/common/sys isa_defs.h, sys/contrib/device-tree/include/dt-bindings/clock cv181x-clock.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+932-0sys/contrib/device-tree/src/riscv/sophgo/cv181x_base.dtsi
+378-0sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_riscv.dtsi
+320-0sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_arm.dtsi
+2-204sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h
+175-0sys/contrib/device-tree/include/dt-bindings/clock/cv181x-clock.h
+172-0sys/contrib/device-tree/include/dt-bindings/reset/cv181x-resets.h
+1,979-20428 files not shown
+2,743-22934 files

HardenedBSD/src 9356ea8sys/vm vm_object.h

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+2-3sys/vm/vm_object.h
+2-31 files

HardenedBSD/src b55d106sys/contrib/device-tree/include/dt-bindings/clock cv181x-clock.h, sys/contrib/device-tree/include/dt-bindings/reset cv181x-resets.h

ophgo: import new .dts

Signed-off-by: Martin Filla <freebsd at sysctl.cz>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1844
DeltaFile
+932-0sys/contrib/device-tree/src/riscv/sophgo/cv181x_base.dtsi
+378-0sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_riscv.dtsi
+320-0sys/contrib/device-tree/src/riscv/sophgo/cv181x_base_arm.dtsi
+175-0sys/contrib/device-tree/include/dt-bindings/clock/cv181x-clock.h
+172-0sys/contrib/device-tree/include/dt-bindings/reset/cv181x-resets.h
+120-0sys/contrib/device-tree/src/riscv/sophgo/cv181x_asic_qfn.dtsi
+2,097-017 files not shown
+2,729-023 files