FreeBSD/src dac3b99. CONTRIBUTING.md

CONTRIBUTING.md: Fix links to section

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>

Sponsored by:   The FreeBSD Foundation
Pull Request:   https://github.com/freebsd/freebsd-src/pull/2010
DeltaFile
+2-2CONTRIBUTING.md
+2-21 files

FreeBSD/src f418e65sys/dev/ice if_ice_iflib.c

ice(4): Handle allmulti flag in ice_if_promisc_set function

In the ice_if_promisc_set function, the driver currently disables the
IFF_ALLMULTI flag, thereby preventing the activation of multicast mode.
To address this issue, implement appropriate handling to ensure the
flag is managed correctly.

Signed-off-by: Yogesh Bhosale <yogesh.bhosale at intel.com>

Tested by:      Gowthamkumar K S <gowtham.kumar.ks at intel.com>
Differential Revision:  https://reviews.freebsd.org/D54186

(cherry picked from commit 98bdf63f6e94be42a1787de73608de15bcb3419a)
DeltaFile
+20-5sys/dev/ice/if_ice_iflib.c
+20-51 files

FreeBSD/src 2f91ff8sys/dev/ice if_ice_iflib.c

ice(4): Handle allmulti flag in ice_if_promisc_set function

In the ice_if_promisc_set function, the driver currently disables the
IFF_ALLMULTI flag, thereby preventing the activation of multicast mode.
To address this issue, implement appropriate handling to ensure the
flag is managed correctly.

Signed-off-by: Yogesh Bhosale <yogesh.bhosale at intel.com>

Tested by:      Gowthamkumar K S <gowtham.kumar.ks at intel.com>
Differential Revision:  https://reviews.freebsd.org/D54186

(cherry picked from commit 98bdf63f6e94be42a1787de73608de15bcb3419a)
DeltaFile
+20-5sys/dev/ice/if_ice_iflib.c
+20-51 files

FreeBSD/src 0c733d0sys/dev/ice if_ice_iflib.c

ice(4): Handle allmulti flag in ice_if_promisc_set function

In the ice_if_promisc_set function, the driver currently disables the
IFF_ALLMULTI flag, thereby preventing the activation of multicast mode.
To address this issue, implement appropriate handling to ensure the
flag is managed correctly.

Signed-off-by: Yogesh Bhosale <yogesh.bhosale at intel.com>

Tested by:      Gowthamkumar K S <gowtham.kumar.ks at intel.com>
Differential Revision:  https://reviews.freebsd.org/D54186

(cherry picked from commit 98bdf63f6e94be42a1787de73608de15bcb3419a)
DeltaFile
+20-5sys/dev/ice/if_ice_iflib.c
+20-51 files

FreeBSD/src 8f23665sys/amd64/include pcb.h, sys/arm/include pcb.h

pcb.h: mark struct pcb to be preserved

There are programs that depend on this structure (e.g. kernel debuggers)
that breaks when the ABI changes.

Signed-off-by:  Minsoo Choo <minsoochoo0122 at proton.me>
Reviewed by:    kib
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55149
DeltaFile
+11-10sys/amd64/include/pcb.h
+9-8sys/i386/include/pcb.h
+5-0sys/arm64/include/pcb.h
+5-0sys/riscv/include/pcb.h
+5-0sys/powerpc/include/pcb.h
+4-0sys/arm/include/pcb.h
+39-186 files

FreeBSD/src 11b616dusr.bin/sockstat sockstat.c

sockstat: Surround explicit IPv6 addresses with brackets

Approved by:    re (cperciva)
PR:             254611
Approved by:    otis, tuexen, des
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54375

(cherry picked from commit fe81e3944c085e765c83c4f78941d7529ceb556e)
(cherry picked from commit 03c8e3e77114530f61e0dd9f2b1757eeea033d0e)
DeltaFile
+9-0usr.bin/sockstat/sockstat.c
+9-01 files

FreeBSD/src 5d7d225lib/libpmc/pmu-events/arch/x86/graniterapids uncore-cache.json uncore-interconnect.json

pmc: Import Intel Granite Rapids events

Approved by:    re (cperciva)
Reviewed by:    mhorne
Sponsored by:   Klara, Inc.
Obtained from:  Intel perfmon (JSON event definitions)
Differential Revision:  https://reviews.freebsd.org/D55081
MFC after:      2 days

(cherry picked from commit a3ff85e11925ba1e25465c8ba633356f405f9214)
(cherry picked from commit 625ed651833e76a439a7010aa28c93bc83013168)
DeltaFile
+3,745-0lib/libpmc/pmu-events/arch/x86/graniterapids/uncore-cache.json
+1,979-0lib/libpmc/pmu-events/arch/x86/graniterapids/uncore-interconnect.json
+1,925-0lib/libpmc/pmu-events/arch/x86/graniterapids/uncore-io.json
+1,230-0lib/libpmc/pmu-events/arch/x86/graniterapids/cache.json
+1,145-0lib/libpmc/pmu-events/arch/x86/graniterapids/pipeline.json
+890-0lib/libpmc/pmu-events/arch/x86/graniterapids/uncore-memory.json
+10,914-010 files not shown
+12,550-016 files

FreeBSD/src 2088e74sys/x86/include frame.h

x86: Note that trapframe is used by kernel debuggers

Signed-off-by: Minsoo Choo <minsoochoo0122 at proton.me>
Reviewed by: kib
MFC after:      1 week
Differential Revision: https://reviews.freebsd.org/D55189
DeltaFile
+1-0sys/x86/include/frame.h
+1-01 files

FreeBSD/src cd8a500. Makefile.inc1

Makefile.incl1: .WAIT before distribute in etc

In order to make sure that man pages are all installed before we run
makewhatis to generate mandoc.db files, we have long placed etc at the
end of the list of subdirectories being recursed into by the build.
In order to support installworld -jN, a .WAIT was more recently added
here.

With the recent adoption by the release engineering team of parallel
*release* builds (aka 'make release -jN') it is now also necessary to
add the same .WAIT before recursing for the 'distribute' target, as we
otherwise end up with distribution sets containing incomplete mandoc.db
files.

Reviewed by:    bdrewery
PR:             289683
MFC after:      3 days
Sponsored by:   https://www.patreon.com/cperciva
Differential Revision:  https://reviews.freebsd.org/D53533

    [2 lines not shown]
DeltaFile
+1-1Makefile.inc1
+1-11 files

FreeBSD/src fffd409sys/fs/devfs devfs_vnops.c

devfs: unlock the directory vnode around the call to dev_clone handler

(cherry picked from commit a8e92198f854c2766eedec5a2ea3cc23c64d7b12)
DeltaFile
+20-0sys/fs/devfs/devfs_vnops.c
+20-01 files

FreeBSD/src dc6c804sys/kern vfs_mount.c

unmount(2): do not allow MNT_DEFERRED or MNT_RECURSE flags from userspace

(cherry picked from commit cd8d44173adc375b59a24b1363476c086a7c86b4)
DeltaFile
+2-0sys/kern/vfs_mount.c
+2-01 files

FreeBSD/src 9ccdf3fsys/dev/asmc asmc.c

asmc: unbreak build: add missing curly brace

Fixes:  d76bb14e022 ("chore: asmc: additional style(9) cleanup")
DeltaFile
+1-1sys/dev/asmc/asmc.c
+1-11 files

FreeBSD/src fa3519dcontrib/netbsd-tests/kernel t_ptrace_wait.c

t_ptrace_wait.c: clean up trailing whitespace

This is being done to aid with future potential updates of this file.

MFC after:      1 week
DeltaFile
+12-12contrib/netbsd-tests/kernel/t_ptrace_wait.c
+12-121 files

FreeBSD/src e4b1dc4share/man/man7 build.7

Fix typo in build(7) man page

Signed-off-by: Kalevi Kolttonen <kalevi at kolttonen.fi>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2009
DeltaFile
+1-1share/man/man7/build.7
+1-11 files

FreeBSD/src d3ed0e0libexec/rc/rc.d kld devmatch

rc.d: Convert more service to Use startmsg

Signed-off-by: Thibault Payet <contact at thibaultpayet.fr>
Reviewed by: imp,mhorne
Pull Request: https://github.com/freebsd/freebsd-src/pull/2001
DeltaFile
+1-1libexec/rc/rc.d/kld
+1-1libexec/rc/rc.d/devmatch
+2-22 files

FreeBSD/src 436af57libexec/flua/modules lposix.c

flua: Fix SIGSEGV in lua_chown when uid/gid doesn't exist

When lua_chown is used to call chown(2) internally, it first resolves
the user and/or group by calling the getpwnam_r(3) and getgrnam_r(3)
functions, respectively. However, although it checks for errors, it does
not check when entries are not found (which is not an error), which
means that the buffer will be set to NULL, and since lua_chown attempts
to access the NULL structure, it will receive a SIGSEGV signal.

Reviewed by:                    imp@
Approved by:                    imp@
Differential Revision:          https://reviews.freebsd.org/D55172
DeltaFile
+4-4libexec/flua/modules/lposix.c
+4-41 files

FreeBSD/src 1dd5b19sys/dev/uart uart_dev_ns8250.c

uart: Add ns8250 ACPI entry for SPCR rev 2

This is an MFC "in spirit" of a685a263b803; the code in this area has
been significantly restructured between 14.x and 15.x, but the general
concept of adding ACPI_DBG2_16550_WITH_GAS (aka 0x12) as a recognized
flavour of ns8250 UART which can be configured via SPCR remains.

Reviewed by:    imp
Tested by:      David Woodhouse
Sponsored by:   Amazon
Differential Revision:  https://reviews.freebsd.org/D55173
DeltaFile
+1-0sys/dev/uart/uart_dev_ns8250.c
+1-01 files

FreeBSD/src 7266121sys/dev/usb/net if_ure.c

ure: improve transmit checksum offloading

Apparently, the name of the variable l4off was correct. Providing the
offset to the TCP or UDP header allows the transmit checksum offload to
work for TCP/IPv4, TCP/IPv6, UDP/IPv4, and UDP/IPv6.

Reported by:            vishwin
Reviewed by:            vishwin
MFC after:              1 week
Differential Revision:  https://reviews.freebsd.org/D55187
DeltaFile
+10-6sys/dev/usb/net/if_ure.c
+10-61 files

FreeBSD/src 2fe3f16. .git-blame-ignore-revs

chore: ignore style(9) changes made in dd1410321

MFC after:      1 month
DeltaFile
+2-0.git-blame-ignore-revs
+2-01 files

FreeBSD/src d76bb14sys/dev/asmc asmc.c

chore: asmc: additional style(9) cleanup

Pick out non-gratuitous style(9) changes suggested by `clang-format` on
the driver. This helps eliminate minor stylistic issues with spaces,
braces, line lengths, etc, so future functional changes in the driver
will be easier to pick out.

Many of the other `clang-format` suggested changes were not taken because
they were considerably more gratuitous.

No functional change intended.

MFC after:      1 week
DeltaFile
+56-49sys/dev/asmc/asmc.c
+56-491 files

FreeBSD/src d84870dtools/tools/ifinfo ifinfo.c

ifinfo: improve output of hwassist value

In addition to print the hexadecimal number hwassist, also print
the symbolic names of the corresponding CSUM_* flags.

Reviewed by:            tuexen
MFC after:              1 week
Differential Revision:  https://reviews.freebsd.org/D55055
DeltaFile
+47-1tools/tools/ifinfo/ifinfo.c
+47-11 files

FreeBSD/src a8f3c3bsys/dev/asmc asmc.c

chore: asmc: minor code cleanup

- Use symbolic names in Mac definitions in lieu of the unrolled values
  they represent.
- Delete trailing whitespace.
- Fix indentation.

No functional change intended.

MFC after:      1 week
DeltaFile
+37-35sys/dev/asmc/asmc.c
+37-351 files

FreeBSD/src d255b40. MAINTAINERS, .github CODEOWNERS

MAINTAINERS, CODEOWNERS: Add myself for vt(4) review
DeltaFile
+1-0.github/CODEOWNERS
+1-0MAINTAINERS
+2-02 files

FreeBSD/src 825aaabusr.sbin/bsdinstall/scripts zfsboot

bsdinstall: Add note to zfsboot pointing to release/tools/vmimage.subr

The VM image creation scripts have a copy of this list of datasets which
should be kept in sync, which can otherwise be easily missed, as was the
case in the now-reverted 3e8619e535b6 ("bsdinstall: Create separate
datasets for directories in /usr/ports").
DeltaFile
+1-0usr.sbin/bsdinstall/scripts/zfsboot
+1-01 files

FreeBSD/src fadcbc6stand/man loader.efi.8

loader.efi(8): clarify UEFI boot path and boot1.efi usage

Reorganise and clarify the legacy role of boot1.efi in DESCRIPTION to
improve clarity.

Add a minor missing word in the BUGS section ["...caution is required*..."].

See also - PR: 290794

Signed-off-by: Aaditya Singh <aadityavksingh at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1939
(cherry picked from commit 7b3fb3caef9495cdfcc1c8ec39907defb65ce860)
DeltaFile
+22-23stand/man/loader.efi.8
+22-231 files

FreeBSD/src 024549estand/man loader.efi.8

loader.efi(8): clarify UEFI boot path and boot1.efi usage

Reorganise and clarify the legacy role of boot1.efi in DESCRIPTION to
improve clarity.

Add a minor missing word in the BUGS section ["...caution is required*..."].

See also - PR: 290794

Signed-off-by: Aaditya Singh <aadityavksingh at gmail.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1939
(cherry picked from commit 7b3fb3caef9495cdfcc1c8ec39907defb65ce860)
DeltaFile
+22-23stand/man/loader.efi.8
+22-231 files

FreeBSD/src be3962ausr.sbin/bsdinstall/scripts zfsboot

Revert "bsdinstall: Create separate datasets for directories in /usr/ports"

This reverts commit 3e8619e535b61c99f0dc50cc6c7e237eb82a8be7.

While it's generally a good idea to have separate datasets for things
like this, it breaks git clone with:
fatal: destination path 'ports' already exists and is not an empty directory.

Signed-off-by: Ricardo Branco <rbranco at suse.de>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2006
DeltaFile
+0-2usr.sbin/bsdinstall/scripts/zfsboot
+0-21 files

FreeBSD/src 5fec99csys/dev/vt vt_core.c, sys/teken teken.c teken.h

vt: Fix handling of backtab

PR: 292463
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/2002
DeltaFile
+6-0sys/dev/vt/vt_core.c
+4-0sys/teken/teken.c
+2-0sys/teken/teken.h
+12-03 files

FreeBSD/src 5beaa1elibexec/rtld-elf/powerpc reloc.c, libexec/rtld-elf/powerpc64 reloc.c

Revert "Additional icache paranoia: non-PLT relocations can modify the text segment."

reloc_nonplt_object, and thus reloc_non_plt, only ever handles data
relocations, so this paranoia is completely unfounded and only has the
effect of significantly slowing down program startup for binaries with
large amounts of code, like Clang.

If this breaks any systems, that would likely be due to insufficient
flushing in the pmap implementation for executable mappings, as this
existing rtld behaviour would mask any such bugs.

This reverts commit 4b51c69976fd84e93ec7695858375c8150c4fe61.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D54221
DeltaFile
+0-13libexec/rtld-elf/powerpc/reloc.c
+0-13libexec/rtld-elf/powerpc64/reloc.c
+0-262 files

FreeBSD/src 641eb26sbin/mount mount.8

mount.8: document nosymfollow option

Document the nosymfollow mount option in more details.
Forgotten in 5ddc8ded1dbe650b7d83240a1f86a1eb6e2b9b5a

(cherry picked from commit a067eb525e10acc9d7e1f3b1a8a6dfeca42b4424)
DeltaFile
+7-2sbin/mount/mount.8
+7-21 files