FreeBSD/src f8a3876sys/arm/allwinner if_awg.c

if_awg: Add H616 compat string

Reviewed by:    manu
Sposored by:    The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54907
DeltaFile
+2-0sys/arm/allwinner/if_awg.c
+2-01 files

FreeBSD/src 245cdecsys/conf files.arm64, sys/dev/clk/allwinner ccu_h616.c

aw_ccu: Add clocks for H616

Reviewed by:    manu, adrian
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54927
DeltaFile
+493-0sys/dev/clk/allwinner/ccu_h616.c
+1-0sys/conf/files.arm64
+494-02 files

FreeBSD/src e506af0sys/arm/allwinner aw_gpio.c, sys/arm/allwinner/h616 h616_padconf.c h616_r_padconf.c

aw_gpio: Add support for H616

This adds padconf files for the two gpio ranges on the H616 SOC and adds
the SOC include.

Reviewed by:    manu
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54915
DeltaFile
+104-0sys/arm/allwinner/h616/h616_padconf.c
+30-0sys/arm/allwinner/h616/h616_r_padconf.c
+24-0sys/arm/allwinner/aw_gpio.c
+2-0sys/conf/files.arm64
+1-0sys/arm64/conf/std.allwinner
+1-0sys/arm64/conf/NOTES
+162-01 files not shown
+163-07 files

FreeBSD/src 8923d1csys/arm/allwinner aw_sid.c

aw_sid: Add H616 configuration and compat string

Reviewed by:    manu
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54916
DeltaFile
+27-0sys/arm/allwinner/aw_sid.c
+27-01 files

FreeBSD/src 20615f7sys/dev/iicbus/controller/twsi a10_twsi.c

a10_twsi: Add H616 compat string

Reviewed by:    manu
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54914
DeltaFile
+1-0sys/dev/iicbus/controller/twsi/a10_twsi.c
+1-01 files

FreeBSD/src c5c183asys/arm/allwinner aw_rsb.c

aw_rsb: Add H616 compat string

Reviewed by:    manu
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54911
DeltaFile
+3-0sys/arm/allwinner/aw_rsb.c
+3-01 files

FreeBSD/src ccb0e6esys/arm/allwinner aw_wdog.c

aw_wdog: Add support for H616

Reviewed by:    manu
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54913
DeltaFile
+27-3sys/arm/allwinner/aw_wdog.c
+27-31 files

FreeBSD/src 5e51e67sys/arm/allwinner aw_cir.c

aw_cir: Add H616 compat string

Reviewed by:    manu
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54910
DeltaFile
+3-0sys/arm/allwinner/aw_cir.c
+3-01 files

FreeBSD/src 998c46asys/arm/allwinner aw_mmc.c

aw_mmc: Add H616 mmc and emmc config

Reviewed by:    manu
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54909
DeltaFile
+14-0sys/arm/allwinner/aw_mmc.c
+14-01 files

FreeBSD/src 84bc16asys/arm/allwinner aw_usbphy.c

aw_usbphy: Add H616 compat string and configuration

Reviewed by:    manu
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54912
DeltaFile
+9-0sys/arm/allwinner/aw_usbphy.c
+9-01 files

FreeBSD/src 063244fsys/arm/allwinner aw_rtc.c

aw_rtc: Add H616 compat string

Reviewed by:    manu
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D54908
DeltaFile
+1-0sys/arm/allwinner/aw_rtc.c
+1-01 files

FreeBSD/src 60a6ebausr.sbin/traceroute as.c traceroute.c, usr.sbin/traceroute6 traceroute6.c

traceroute: graceful recover after networking errors with as_server

Currentlu, the traceroute[6] utility does not check
for possible networking errors while talking to as_server
in case of "traceroute -a". Meantime, there is a common case
when trace is long and it has many non-responding hops
(shown as '* * *'), so as_server aborts our connection,
hence no AS numbers shown for the rest of trace.

Somewhat artifical way to reproduce the problem:

traceroute to 57.144.244.1 (57.144.244.1), 80 hops max, 48 byte packets
 5  [AS174] be2950.ccr42.fra05.atlas.cogentco.com (154.54.72.42)  74.277 ms  9.605 ms  9.599 ms
 6  [AS174] 149.11.228.19 (149.11.228.19)  9.506 ms  9.466 ms  9.420 ms
 7  [AS33182] po172.asw02.fra5.tfbnw.net (129.134.108.146)  9.725 ms  9.874 ms  9.696 ms
 8  [AS32934] psw04.fra5.tfbnw.net (157.240.59.85)  8.718 ms  8.691 ms  8.618 ms
 9  * * *
10  [AS0] edge-star-mini-shv-01-fra5.facebook.com (57.144.244.1)  9.747 ms  9.815 ms  9.699 ms


    [10 lines not shown]
DeltaFile
+20-4usr.sbin/traceroute/as.c
+21-2usr.sbin/traceroute6/traceroute6.c
+19-2usr.sbin/traceroute/traceroute.c
+1-1usr.sbin/traceroute/as.h
+61-94 files

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 devmatch kld

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/devmatch
+1-1libexec/rc/rc.d/kld
+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