FreeBSD/src c5dc38blib/msun/powerpc fenv.c fenv.h, libexec/rtld-elf/powerpc rtld_start.S

Remove all code under __SPE__

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1957
DeltaFile
+0-96libexec/rtld-elf/powerpc/rtld_start.S
+0-36sys/powerpc/powerpc/trap.c
+0-34lib/msun/powerpc/fenv.c
+0-23lib/msun/powerpc/fenv.h
+0-22sys/powerpc/booke/trap_subr.S
+0-18sys/powerpc/powerpc/exec_machdep.c
+0-2296 files not shown
+0-26612 files

FreeBSD/src 7f8b4db.github path-rules.txt, .github/workflows checklist.yml

github: Add more context to pull requests

Add code to fetch and decode CODEOWNERS and automatically @ people in
the review.

Create a new file, .github/path-rules.txt that has a set of paths to
match and specific warnings about that part of the tree. We'll use this
to try to wave off pull requests in certain areas of the tree, as well
as remind people when contrib is involved, etc.

Sponsored by:           Netflix
DeltaFile
+96-10.github/workflows/checklist.yml
+10-0.github/path-rules.txt
+106-102 files

FreeBSD/src fe3001bsys/amd64/amd64 mp_machdep.c, sys/i386/i386 mp_machdep.c

x86: change ap_boot_mtx from spinlock mutex to naive lock

PR:     289297

(cherry picked from commit 55305b590797524dd1cecfc9406869700e925e51)
DeltaFile
+12-5sys/x86/x86/mp_x86.c
+0-2sys/i386/i386/mp_machdep.c
+0-1sys/x86/include/x86_smp.h
+0-1sys/amd64/amd64/mp_machdep.c
+12-94 files

FreeBSD/src 60ae4e5usr.sbin/syslogd syslogd.c, usr.sbin/syslogd/tests syslogd_test.sh

syslogd: Terminate pipe processes gracefully

Pipe actions spawn a process based on the command provided in the
syslogd configuration file. When a HUP signal is received, enter
the process into the deadq instead of immediately killing it.
This matches the behavior of syslogd prior to it being Capsicumized.

Fixes: d2d180fb7736
DeltaFile
+36-58usr.sbin/syslogd/syslogd.c
+34-0usr.sbin/syslogd/tests/syslogd_test.sh
+70-582 files

FreeBSD/src 2c029cfsys/dev/iicbus/adc ads111x.c

ads111x: Convert driver to CTLFLAG_MPSAFE

Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE for all ADC sensor
sysctls.  All of the sysctl handlers are serialized by a driver mutex.

Sysctls converted:
- dev.ads111x.X.channelN.gain_index (PGA setting)
- dev.ads111x.X.channelN.rate_index (sample rate)
- dev.ads111x.X.channelN.voltage (sampled voltage)
- dev.ads111x.X.config (configuration register)
- dev.ads111x.X.lo_thresh (comparator low threshold)
- dev.ads111x.X.hi_thresh (comparator high threshold)

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54620
DeltaFile
+6-6sys/dev/iicbus/adc/ads111x.c
+6-61 files

FreeBSD/src c2a55efsys/dev/jme if_jme.c

jme: Convert driver to CTLFLAG_MPSAFE

Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE for all interrupt
coalescing sysctls. The driver uses jme_mtx mutex for proper
synchronization and does not require Giant lock.

Sysctls converted:
- dev.jme.X.tx_coal_to (TX coalescing timeout)
- dev.jme.X.tx_coal_pkt (TX coalescing packet count)
- dev.jme.X.rx_coal_to (RX coalescing timeout)
- dev.jme.X.rx_coal_pkt (RX coalescing packet count)
- dev.jme.X.process_limit (max RX events to process)

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54618
DeltaFile
+5-5sys/dev/jme/if_jme.c
+5-51 files

FreeBSD/src 0672e0esys/dev/isl isl.c

isl: Convert driver to CTLFLAG_MPSAFE

Replace CTLFLAG_NEEDGIANT with CTLFLAG_MPSAFE for all light sensor
sysctls.  All of the sysctl handlers are serialized by a driver mutex.

Sysctls converted:
- dev.isl.X.als (ambient light sensor)
- dev.isl.X.ir (infrared sensor)
- dev.isl.X.prox (proximity sensor)
- dev.isl.X.resolution (sensor resolution)
- dev.isl.X.range (sensor range)

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54621
DeltaFile
+5-5sys/dev/isl/isl.c
+5-51 files

FreeBSD/src 0b908de.github CODEOWNERS

CODEOWNERS: Better reflect current #bhyve

So as a proof of concept, sync the info we have with the #bhyve
phabricator group. This is imperfect, but will help test out providing
better feedback to diff submitters.

Sponsored by:           Netflix
DeltaFile
+5-5.github/CODEOWNERS
+5-51 files

FreeBSD/src e3bfcf6. RELNOTES

RELNOTES: Add some entries from the past several weeks

Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D54628
DeltaFile
+32-0RELNOTES
+32-01 files

FreeBSD/src b558c92release Makefile.ec2

EC2: Add extra SSM Parameter names for releases

Record releases in the SSM Parameter Store not just as e.g.
  /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE
but also as .../RELEASE/latest, e.g.
  /aws/service/freebsd/arm64/small/ufs/15.0/RELEASE/latest

The latter parameters will be updated when new AMIs are built with
security and errata updates appplied, and have been backfilled for
15.0.

MFC after:      3 days
MFC to:         stable/15 (14.x will not get security-update AMIs)
Sponsored by:   Amazon
DeltaFile
+5-1release/Makefile.ec2
+5-11 files

FreeBSD/src 9b54998. MAINTAINERS, .github CODEOWNERS

MAINTAINERS/CODEOWNERS: Add myself to mpr, mps and mpi3mr

Yea, I realize these are decaying, but I'm going to take a run at
automatically tagging reviews for github pull requests. I suspect that
tagging will help with the 'stale' issues with at least CODEOWNER.  As
better data becomes available, especailly for contrib, I'll update
things.

Sponsored by:           Netflix
DeltaFile
+3-0.github/CODEOWNERS
+3-0MAINTAINERS
+6-02 files

FreeBSD/src a50789dsys/powerpc/powerpc swtch32.S swtch64.S

powerpc: put the isync inside the TD_LOCK() checking loop

Fix a narrow window where the lock is unlocked but the checking CPU
hasn't flushed things appropriately.

Inside this window the CPU inside cpu_switch() will loop forever thinking
the destination thread is still blocked/locked even though it is not.

This manifests as the system hanging after starting all APs.

I've seen this reliably trigger in qemu-system-ppc64 running power9 pseries
guests; the more CPUs the more likely it triggers at boot.

PR: kern/292167
Differential Revision:  https://reviews.freebsd.org/D54478
Reviewed by:    jhibbits
MFC after:      1 week
Relnotes:       yes

(cherry picked from commit 8df2e542146801fd01675e56724eaa567d04c209)
DeltaFile
+1-1sys/powerpc/powerpc/swtch32.S
+1-1sys/powerpc/powerpc/swtch64.S
+2-22 files

FreeBSD/src e5861dccontrib/file/src apprentice.c

Merge commit faa5141b9be4 from file git (by Christos Zoulas):

  PR/656: harry.sintonen: Fix bug in byte swapping that was caused by the change to make flags uint16_t and cont_level uint8_t.

This fixes using a magic.mgc built with a different endianness than
file(1) itself, e.g. when building powerpc64 on amd64.

PR:             292079
Fixes:          ae316d1d1cff ("MFV: file 5.46.")
MFC after:      3 days

(cherry picked from commit 39047538cf5d8f26112f7b08b3c56967f70f7f94)
DeltaFile
+2-3contrib/file/src/apprentice.c
+2-31 files

FreeBSD/src da5d94dusr.bin/grep zgrep.1, usr.bin/grep/tests grep_freebsd_test.sh

Remove obsolete BUGS section from zgrep(1) man page, add test

I forgot to check/update the man page with D54217. While here add
a test for multiple -e flags.

Reviewed by:    markj
Approved by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54632
DeltaFile
+0-18usr.bin/grep/zgrep.1
+11-0usr.bin/grep/tests/grep_freebsd_test.sh
+11-182 files

FreeBSD/src 4250d2acontrib/mtree mtree.8 create.c

Import latest mtree from NetBSD

Merge commit '7e59b238fcf32f3d365e78ddc702ca494e1ff68d'

This commit partially reverts the previous vendor import, given that the
"type" keyword has been historically mandatory and should not be removed
by "-R all".  This was clarified in the man page.

Reported by:    glebius
PR:             219467
MFC after:      1 week
DeltaFile
+12-12contrib/mtree/mtree.8
+3-4contrib/mtree/create.c
+15-162 files

FreeBSD/src 7e59b23. mtree.8 create.c

Vendor import of NetBSD's mtree at 2026-01-11
DeltaFile
+12-12mtree.8
+3-4create.c
+15-162 files

FreeBSD/src 717ae16sbin/newfs newfs.c

newfs: Add -u to getopt string

Fixes:          68562f8145e8 ("newfs: Add an option to disable soft updates")
DeltaFile
+1-1sbin/newfs/newfs.c
+1-11 files

FreeBSD/src 8a21c17contrib/kyua/cli cmd_debug.cpp, contrib/kyua/utils/cmdline options.cpp parser.cpp

kyua: Add "debug -x|--execute cmd" option

With execenv=jail specified, the "cmd" runs inside the test's jail.

Reviewed by:    ngie, markj
Differential Revision:  https://reviews.freebsd.org/D52642
DeltaFile
+81-1contrib/kyua/cli/cmd_debug.cpp
+24-0contrib/kyua/utils/process/child.cpp
+20-0contrib/kyua/utils/process/child.ipp
+17-3contrib/kyua/utils/cmdline/options.cpp
+15-5contrib/kyua/utils/cmdline/parser.cpp
+6-2contrib/kyua/utils/cmdline/options.hpp
+163-113 files not shown
+178-119 files

FreeBSD/src 7afa039release/powerpc mkisoimages.sh

powerpc: fix release image building for Apple partitions

awk changed somewhere between 14 and 15 and it stopped accepting
a hexadecimal number as its input - it will always return 0.
This results in a very badly written apple boot block.

So just remove it; do the math in shell.

PR:             kern/292341
Differential Revision:  https://reviews.freebsd.org/D54639
Reviewed by:    imp
MFC after:      1 week
DeltaFile
+1-1release/powerpc/mkisoimages.sh
+1-11 files

FreeBSD/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

FreeBSD/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

FreeBSD/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

FreeBSD/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

FreeBSD/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

FreeBSD/src 8a4277bcontrib/bmake var.c, contrib/bmake/unit-tests directive-include-guard.exp directive-include-guard.mk

Merge bmake-20250414

Merge commit '284d1f7d496806b18558ab55e4654fd5e96d6a3e'

(cherry picked from commit 759b177aecbfc49ebc900739954ac56b1aa5fc53)
DeltaFile
+89-89contrib/bmake/var.c
+84-84contrib/bmake/unit-tests/directive-include-guard.exp
+84-84contrib/bmake/unit-tests/directive-include-guard.mk
+75-42contrib/bmake/unit-tests/moderrs.exp
+55-36contrib/bmake/unit-tests/varmod.mk
+42-42contrib/bmake/unit-tests/directive-misspellings.exp
+429-377187 files not shown
+2,030-1,467193 files

FreeBSD/src c95f96dcontrib/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

FreeBSD/src 06366a2contrib/bmake ChangeLog, contrib/bmake/mk meta2deps.py ChangeLog

Merge bmake-20250804

Fixes bug in meta mode output capture.

Merge commit '787302bde4d89279180303b753eb73b9bc6820b9'

(cherry picked from commit b4894eca1ade4e9cec9afbe76021305d23bf914a)
DeltaFile
+30-0contrib/bmake/unit-tests/meta-output.mk
+23-5contrib/bmake/mk/meta2deps.py
+17-0contrib/bmake/mk/ChangeLog
+12-2contrib/bmake/mk/meta2deps.sh
+11-0contrib/bmake/unit-tests/meta-output.exp
+9-0contrib/bmake/ChangeLog
+102-79 files not shown
+127-2415 files

FreeBSD/src 44ad87fcontrib/bmake cond.c bmake.1, contrib/bmake/unit-tests check-expect.lua char-005c-reverse-solidus.mk

Merge bmake-20250707

Merge commit '3d772e596c1acf76f555c1f51fd8d834e56b0c35'

(cherry picked from commit a8c56be47166295d37600ff81fc1857db87b3a9b)
DeltaFile
+117-118contrib/bmake/unit-tests/check-expect.lua
+131-0contrib/bmake/unit-tests/char-005c-reverse-solidus.mk
+47-42contrib/bmake/cond.c
+75-4contrib/bmake/bmake.1
+75-4contrib/bmake/make.1
+17-37contrib/bmake/main.c
+462-205142 files not shown
+1,308-822148 files

FreeBSD/src eb56091contrib/bmake job.c make.c, contrib/bmake/unit-tests check-expect.lua

Merge bmake-20250618

(cherry picked from commit 0b46a53a2f50b5ab0f4598104119a049b9c42cc9)
DeltaFile
+410-468contrib/bmake/job.c
+190-0contrib/bmake/unit-tests/check-expect.lua
+51-122contrib/bmake/make.c
+83-69contrib/bmake/main.c
+12-104contrib/bmake/job.h
+79-29contrib/bmake/var.c
+825-79286 files not shown
+1,879-1,18792 files

FreeBSD/src ba508f1contrib/bmake var.c parse.c, contrib/bmake/unit-tests varmod.mk varmod-undefined.mk

Merge bmake-20240625

Merge commit 'dbb5be7f07456d02ce444484c683b130439acb45'

(cherry picked from commit 8d5c8e21c690b35d0a9a604d6b886fba222cd2fe)
DeltaFile
+165-133contrib/bmake/var.c
+120-5contrib/bmake/unit-tests/varmod.mk
+40-27contrib/bmake/parse.c
+30-31contrib/bmake/main.c
+31-26contrib/bmake/compat.c
+48-3contrib/bmake/unit-tests/varmod-undefined.mk
+434-22565 files not shown
+1,028-58371 files