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

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

scmi: Add helper to manipulate scmi_msg descriptors

Refactor allocation logic for scmi_req and introduce new helpers to be able
to obtain an scmi_msg reference to a freshly allocated request.

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

FreeBSD/src 103ea03sys/dev/firmware/arm scmi.c scmi.h

scmi: Add devicetree transport properties

SCMI transport characteristics can be optionally described in the
devicetree to override the default build-time values.

Tested on:      Arm Morello Board
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D47422
Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
DeltaFile
+36-18sys/dev/firmware/arm/scmi.c
+10-4sys/dev/firmware/arm/scmi.h
+6-6sys/dev/firmware/arm/scmi_virtio.c
+52-283 files

FreeBSD/src f021623sys/dev/firmware/arm scmi.h

scmi: Redefine max message payload size

The defined maximum payload size should not include header and status
field. Fix the definition accordingly, so that it matches the
definitions as can be found in the Linux SCMI stack.
The semantic of this define is important since it will then be possible
to override such values from devicetree, like in Linux.

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

FreeBSD/src 9342829sys/dev/firmware/arm scmi_shmem.c scmi.c

scmi: Make transports report the effective length of the received messages

Once a message is received that fits into the RX buffer, update the
msg.rx_len field with the effective length of the message received.

Tested on:      Arm Morello Board
Reviewed by:    andrew
Sponsored by:   Arm Ltd
Pull Request:   https://reviews.freebsd.org/D47420
Signed-off-by: Cristian Marussi <cristian.marussi at arm.com>
DeltaFile
+9-13sys/dev/firmware/arm/scmi_shmem.c
+6-4sys/dev/firmware/arm/scmi.c
+5-5sys/dev/firmware/arm/scmi_mailbox.c
+3-3sys/dev/firmware/arm/scmi_shmem.h
+2-3sys/dev/firmware/arm/scmi_virtio.c
+2-2sys/dev/firmware/arm/scmi_smc.c
+27-301 files not shown
+28-317 files

FreeBSD/src 4d1acfbsys/arm64/arm64 locore.S, sys/arm64/include hypervisor.h

arm64: add HCRX_EL2 register

HCRX_EL2 is the Extended Hypervisor Configuration Register introduced
with FEAT_HCX in ARMv8.7. All fields in this register are used for
features in ARMv8.7 and above. Initially zero the register, incase
firmware has not properly configured it.

Reviewed by:    andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D48583
Signed-off-by: Harry Moulton <harry.moulton at arm.com>
DeltaFile
+35-0sys/arm64/include/hypervisor.h
+16-3sys/arm64/arm64/locore.S
+51-32 files

FreeBSD/src aa1279dsys/arm64/arm64 identcpu.c

arm64: add HWCAP for FEAT_WFxT

Add the HWCAP for ARMv8.7 FEAT_WFxT.

Reviewed by:    andrew
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D48578
Signed-off-by: Harry Moulton <harry.moulton at arm.com>
DeltaFile
+7-1sys/arm64/arm64/identcpu.c
+7-11 files

FreeBSD/src 80defb5tools/build depend-cleanup.sh

depend-cleanup: Add a regex for files that moved

When a file is moved or copied to a new directory the depend-cleanup
script may incorrectly remove the .depend file as the generated regex
will pass. Fix this by passing in a new regex for the arm64 files that
have the same name as a generic implementation we were previously
using.

While here add memchr.S. It has moved from a generated file to one in
the source tree with the same name.

Reviewed by:    emaste
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D48519
DeltaFile
+7-6tools/build/depend-cleanup.sh
+7-61 files

FreeBSD/src 038457dstand/efi/loader main.c

stand/efi: Add more pl011-like uarts

The Arm SBSA uarts are handled by the pl011 driver. Add them to the
list of pl011 uarts.

Reviewed by:    manu, imp
Sponsored by:   Arm Ltd
Differential Revision:  https://reviews.freebsd.org/D48526
DeltaFile
+2-0stand/efi/loader/main.c
+2-01 files