FreeBSD/src f68403fsbin/kldstat kldstat.8

kldstat.8: Polish options

+ Align and alphabetize options
+ -q: s/Only/Quietly/ for search
+ Tag SPDX

MFC after:              3 days
Reviewed by:            gbe, carlavilla, mhorne
Approved by:            carlavilla, mhorne (mentors)
Differential Revision:  https://reviews.freebsd.org/D48325

(cherry picked from commit 8d5d97372361aadb3d6cdfc5f5d1f8edcaa825aa)
DeltaFile
+11-9sbin/kldstat/kldstat.8
+11-91 files

FreeBSD/src 0281641sbin/kldstat kldstat.8

kldstat.8: Polish options

+ Align and alphabetize options
+ -q: s/Only/Quietly/ for search
+ Tag SPDX

MFC after:              3 days
Reviewed by:            gbe, carlavilla, mhorne
Approved by:            carlavilla, mhorne (mentors)
Differential Revision:  https://reviews.freebsd.org/D48325

(cherry picked from commit 8d5d97372361aadb3d6cdfc5f5d1f8edcaa825aa)
DeltaFile
+11-9sbin/kldstat/kldstat.8
+11-91 files

FreeBSD/src 968abc1sys/fs/nfsclient nfs_clrpcops.c

nfscl: Fix a crash when a readdir entry has nul in it

Commit 026cdaa3b3a9 added a check for a nul or "/" in a file
name in a readdir reply.  Unfortunately, the minimal testing
done on it did not detect a bug that can cause the client
to crash.

This patch fixes the code so that it does not crash.

Note that a NFS server will not normally return a file
name in a readdir reply that has a nul or "/" in it,
so the crash is unlikely.

PR:     283965

(cherry picked from commit f9f0a1d61c7b97c705246c747baec385e0592966)
DeltaFile
+8-3sys/fs/nfsclient/nfs_clrpcops.c
+8-31 files

FreeBSD/src d7b69bbsys/fs/nfsclient nfs_clrpcops.c

nfscl: Fix a crash when a readdir entry has nul in it

Commit 026cdaa3b3a9 added a check for a nul or "/" in a file
name in a readdir reply.  Unfortunately, the minimal testing
done on it did not detect a bug that can cause the client
to crash.

This patch fixes the code so that it does not crash.

Note that a NFS server will not normally return a file
name in a readdir reply that has a nul or "/" in it,
so the crash is unlikely.

PR:     283965

(cherry picked from commit f9f0a1d61c7b97c705246c747baec385e0592966)
DeltaFile
+8-3sys/fs/nfsclient/nfs_clrpcops.c
+8-31 files

FreeBSD/src 544ad91sys/ufs/ffs ffs_vfsops.c

Use ffs_sbget() to replace open-coded superblock reload.

No functional change intended.

Tested-by: Peter Holm
(cherry picked from commit c18a6c15f4152029b6d1d0f64aa1ff36faceb9b2)
DeltaFile
+22-65sys/ufs/ffs/ffs_vfsops.c
+22-651 files

FreeBSD/src 2f51074sys/riscv/riscv nexus.c

riscv nexus: Remove support for I/O port resources

RISC-V doesn't natively support I/O port resources.  PCI I/O port BARs
are remapped to memory resources by PCI bridge drivers before the
request is passed up to the nexus layer.

Reviewed by:    jrtc27, imp
Differential Revision:  https://reviews.freebsd.org/D48582
DeltaFile
+1-6sys/riscv/riscv/nexus.c
+1-61 files

FreeBSD/src bf6c4eesys/arm64/arm64 nexus.c

arm64 nexus: Remove support for I/O port resources

arm64 doesn't natively support I/O port resources.  PCI I/O port BARs
are remapped to memory resources by PCI bridge drivers before the
request is passed up to the nexus layer.

Reviewed by:    imp, markj
Differential Revision:  https://reviews.freebsd.org/D48581
DeltaFile
+1-6sys/arm64/arm64/nexus.c
+1-61 files

FreeBSD/src b937aacshare/misc committers-doc.dot, usr.bin/calendar/calendars calendar.freebsd

ziaee@ joins comitters-doc and calendar.freebsd

Approved by:            carlavilla, mhorne (mentors)
Differential Revision:  https://reviews.freebsd.org/D48647
DeltaFile
+4-0share/misc/committers-doc.dot
+1-0usr.bin/calendar/calendars/calendar.freebsd
+5-02 files

FreeBSD/src 75bca5a. ObsoleteFiles.inc

ObsoleteFiles.inc: Remove bogus entries

Reviewed by:    emaste

(cherry picked from commit 6651a75af260a1c57b787a8146266de4cecd70cf)
DeltaFile
+0-5ObsoleteFiles.inc
+0-51 files

FreeBSD/src db22146sys/sys bus.h

EARLY_DRIVER_MODULE: use designated initializers

It helps the reader to parse the macro definition, with respect to how
the arguments are mapped to the structure members. No functional change
intended.

Reviewed by:    imp, jhb
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D48489
DeltaFile
+14-13sys/sys/bus.h
+14-131 files

FreeBSD/src f52902fsys/sys bus.h

bus.h: remove deprecated struct driver

Unused, and deprecated in 2003.

Reviewed by:    imp, jhb
Differential Revision:  https://reviews.freebsd.org/D48487
DeltaFile
+0-10sys/sys/bus.h
+0-101 files

FreeBSD/src 44bd0e8sys/amd64/include param.h, sys/i386/include param.h

machine/param.h: drop __HAVE_ACPI define

It is no longer used anywhere (since 62508c531e0f), and not defined for
arm64 which also supports ACPI.

Reviewed by:    imp, jhb
Differential Revision:  https://reviews.freebsd.org/D48486
DeltaFile
+0-2sys/amd64/include/param.h
+0-1sys/i386/include/param.h
+0-32 files

FreeBSD/src 5ec5d08sys/sys bus.h

bus.h: remove unused devop_t typedef

Reviewed by:    imp, jhb
Differential Revision:  https://reviews.freebsd.org/D48488
DeltaFile
+0-2sys/sys/bus.h
+0-21 files

FreeBSD/src 5884fabsys/amd64/include param.h, sys/arm/include param.h

pci: cleanup __PCI_REROUTE_INTERRUPTS

This flag was used as a transition for differing pcib implementations.
Today it is defined for all supported architectures, and can be removed.

Reviewed by:    imp, jhb
Differential Revision:  https://reviews.freebsd.org/D48485
DeltaFile
+0-4sys/dev/pci/pci.c
+0-3sys/powerpc/include/param.h
+0-2sys/arm64/include/param.h
+0-2sys/arm/include/param.h
+0-2sys/riscv/include/param.h
+0-1sys/amd64/include/param.h
+0-141 files not shown
+0-157 files

FreeBSD/src 6651a75. ObsoleteFiles.inc

ObsoleteFiles.inc: Remove bogus entries

Reviewed by:    emaste
DeltaFile
+0-5ObsoleteFiles.inc
+0-51 files

FreeBSD/src fed08c5cddl/usr.sbin/dtrace/tests dtrace.test.mk

dtrace tests: Fix the ATF config variable name

Fixes:          6e6a67e98652 ("dtrace tests: Avoid hard-coding paths to required programs")
Sponsored by:   Innovate UK
DeltaFile
+1-1cddl/usr.sbin/dtrace/tests/dtrace.test.mk
+1-11 files

FreeBSD/src ba9cff7sys/cddl/contrib/opensolaris/uts/common/dtrace dtrace.c, sys/cddl/contrib/opensolaris/uts/common/sys dtrace_impl.h

dtrace: Use size_t instead of uintptr_t to represent buffer offsets

This eases porting of DTrace to CHERI, where uintptr_t and size_t aren't
interchangeable.

No functional change intended.

Reviewed by:    Domagoj Stolfa <domagoj.stolfa at gmail.com>
MFC after:      2 weeks
Sponsored by:   Innovate UK
Differential Revision:  https://reviews.freebsd.org/D48625
DeltaFile
+9-10sys/cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c
+3-3sys/cddl/contrib/opensolaris/uts/common/sys/dtrace_impl.h
+12-132 files

FreeBSD/src 2f8a6bbtests/sys/netinet6 divert.sh

divert tests: Stop skipping ipdivert_ip6_output_remote_success

It passes after commit ce52baebd3b3 ("icmp6: Fix ICMP6 message type
counters").

PR:             279975
Sponsored by:   Klara, Inc.
DeltaFile
+0-5tests/sys/netinet6/divert.sh
+0-51 files

FreeBSD/src ce52baesys/netinet icmp6.h

icmp6: Fix ICMP6 message type counters

Previously this macro would always increment the first counter in the
histogram array.

PR:             279975
Fixes:          60d8dbbef075 ("netinet: add a probe point for IP, IP6, ICMP, ICMP6, UDP and TCP stats counters")
Sponsored by:   Klara, Inc.
DeltaFile
+1-1sys/netinet/icmp6.h
+1-11 files

FreeBSD/src a9ffa9b. RELNOTES

RELNOTES: Document removal of vinum support

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

FreeBSD/src 27bd6c3lib/geom/raid graid.8, lib/geom/raid3 graid3.8

Remove references to gvinum(8) in various manpages

Reviewed by:    imp, emaste
Differential Revision:  https://reviews.freebsd.org/D48540
DeltaFile
+2-4share/man/man7/tuning.7
+2-3lib/geom/raid/graid.8
+1-3sbin/growfs/growfs.8
+1-2lib/geom/raid3/graid3.8
+1-2lib/geom/stripe/gstripe.8
+1-2sbin/ffsinfo/ffsinfo.8
+8-164 files not shown
+12-2410 files

FreeBSD/src 9dc8d73sbin/gvinum gvinum.8

gvinum(8): Fix a typo

On line 354, "go up from" is mistyped as "go up form".

Event: Advanced UNIX Programming Course (Fall’23) at NTHU.
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/951

(cherry picked from commit 2aa186b3b08bcf6e49b743329b2fa00897a1235f)
DeltaFile
+1-1sbin/gvinum/gvinum.8
+1-11 files

FreeBSD/src cda74c3share/man/man4 firewire.4

firewire: Add deprecation notice

This was originally discussed as part of FreeBSD 15 planning, but did
not happen in time.  Add the deprecation notice now, with an expectation
that it will be removed before FreeBSD 16.

Reviewed by:    brooks, imp
Relnotes:       Yes
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48598
DeltaFile
+6-1share/man/man4/firewire.4
+6-11 files

FreeBSD/src e6d0eddsys/dev/firmware/arm scmi.c scmi.h

scmi: Add sysctl transport properties

Expose as read-only the configured transport properties.

Tested on:      Arm Morello Board
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D47428
Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
DeltaFile
+13-0sys/dev/firmware/arm/scmi.c
+3-0sys/dev/firmware/arm/scmi.h
+16-02 files

FreeBSD/src b802926sys/dev/firmware/arm scmi.c scmi.h

scmi: Add optional asynchronous handling of replies

Add the core logic to handle the replies to pending command in an
asynchronous manner.

Tested on:      Arm Morello Board
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D47426
Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
DeltaFile
+41-5sys/dev/firmware/arm/scmi.c
+1-0sys/dev/firmware/arm/scmi.h
+42-52 files

FreeBSD/src 341d8fdsys/dev/firmware/arm scmi.c scmi.h

scmi: Refactor scmi_request internal logic

Split scmi_request internals into a TX and an RX phase, which will be
called, anyway, in sequence as before when a normal transmission is
requested.

No functional change.

Tested on:      Arm Morello Board
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D47425
Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
DeltaFile
+22-2sys/dev/firmware/arm/scmi.c
+1-0sys/dev/firmware/arm/scmi.h
+23-22 files

FreeBSD/src c508841sys/dev/firmware/arm scmi.c

scmi: Add scmi_token_reserve helper

During normal operation, the SCMI stack, upon each transmission attempt,
takes care to automatically pick an appropriate, monotonically increasing,
sequence number to fill-in the token field in the egressing message.

This does not cope well with the alternative scenario in which, instead,
a complete and fully formed message is provided upfront: in such a case the
SCMI stack will have to use the already provided sequence number, embedded
in the message, to track such transaction.

Add a method to attempt to reserve a specific sequence number to be used
when a fully firmed (raw) message is handled.

Tested on:      Arm Morello Board
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Pull Request:   https://reviews.freebsd.org/D47424
Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
DeltaFile
+39-9sys/dev/firmware/arm/scmi.c
+39-91 files

FreeBSD/src 984f9fbsys/dev/firmware/arm scmi.c

scmi: Add SDT traces to the core stack

Add a few basic traces to track SCMI messages lifecycle.

Tested on:      Arm Morello Board
Reviewed by:    Andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D47427
Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
DeltaFile
+58-1sys/dev/firmware/arm/scmi.c
+58-11 files

FreeBSD/src c56e586sys/dev/firmware/arm scmi.c

scmi: Fix race on timed out transmissions

When a waited-for outstanding request is determined to have timed out,
mark such request immediately as such, so as to avoid any possible race on
the IRQ path with code path evaluating that same timed out condition.

Tested on:      Arm Morello Board
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D47419
Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
DeltaFile
+2-3sys/dev/firmware/arm/scmi.c
+2-31 files

FreeBSD/src 00b77e6sys/dev/firmware/arm scmi.c

scmi: Fix token bitmask

By the SCMI specification the message sequence number field is 10-bit long.
Fix accordingly the used bitmask.

Fixes: d220b1cf02ce ("scmi: Extend and refactor SCMI shmem support")
Tested on:      Arm Morello Board
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D47418
Signed-off-by:  Cristian Marussi <cristian.marussi at arm.com>
DeltaFile
+1-1sys/dev/firmware/arm/scmi.c
+1-11 files