FreeBSD/src 778bfd4release/tools azure.conf ec2.conf

Chase pkg repo rename in cloudware builds

We ship cloudware images without a downloaded copy of the pkg repo
database, since it will typically be wildly out of date by the time
cloudware releases get launched.  These paths changed due to the
"FreeBSD" -> "FreeBSD-ports" renaming in /etc/pkg/FreeBSD.conf.

While I'm here, nuke the FreeBSD-ports-kmods repo database too; I
forgot to add that when we added that to /etc/pkg/FreeBSD.conf.

Fixes:  c83705a5756e ("Rename FreeBSD* pkg repos to FreeBSD-ports*")
DeltaFile
+2-1release/tools/azure.conf
+2-1release/tools/ec2.conf
+2-1release/tools/vagrant.conf
+6-33 files

FreeBSD/src c18e41dsys/vm vm_extern.h vm_fault.c

vm_fault.c: rename vm_fault_quick_hold_pages_e() to vm_fault_hold_pages_e()

Suggested and reviewed by:      alc
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential review:    https://reviews.freebsd.org/D52224
DeltaFile
+2-2sys/vm/vm_extern.h
+2-2sys/vm/vm_fault.c
+4-42 files

FreeBSD/src 35d271ashare/mk bsd.man.mk

bsd.man.mk: Handle relative paths for MK_MANCOMPRESS=no

If MANSRC.{TARGET} is not used, don't truncate the source path of the
page using :T.

Reported by:    matteo
Fixes:          65f60d715fd9 ("bsd.man.mk: Add a MANSRC.{TARGET} variable")
Sponsored by:   Chelsio Communications
DeltaFile
+4-2share/mk/bsd.man.mk
+4-21 files

FreeBSD/src 6d0016atools/build/mk OptionalObsoleteFiles.inc

ObsoleteFiles.inc: Treat usr/lib/libwind.so.11 as a library

Reviewed by:    ivy
Fixes:          721c98dd89cc ("OptionalObsoleteFiles: Update Kerberos entries")
Differential Revision:  https://reviews.freebsd.org/D52208
DeltaFile
+1-1tools/build/mk/OptionalObsoleteFiles.inc
+1-11 files

FreeBSD/src 0e17080share/man/man4 gpio.4

gpio.4: Remove non-existent gpioc from synopsis

MFC after:      3 days
Reported by:    maxfx, kevans
DeltaFile
+4-2share/man/man4/gpio.4
+4-21 files

FreeBSD/src eb1145fsys/dev/nvme nvme_ctrlr.c nvme_ns.c

nvme: Style tweaks

Fix a couple of minor style nits that I've noticed (including the
historical initial blank line). Do this all at once rather than many
commits.

Sponsored by:           Netflix
DeltaFile
+0-7sys/dev/nvme/nvme_ctrlr.c
+0-3sys/dev/nvme/nvme_ns.c
+0-3sys/dev/nvme/nvme_qpair.c
+1-2sys/dev/nvme/nvme_private.h
+0-3sys/dev/nvme/nvme_ctrlr_cmd.c
+0-1sys/dev/nvme/nvme.c
+1-194 files not shown
+1-2310 files

FreeBSD/src f13301fsys/dev/nvme nvme_ctrlr.c

nvme: fix byte conversion macros

Fix the byte conversion macros for rsvd{2,3}. They are 32-bit quantity,
not 16, so use htole32. These typically aren't used, so this is a nop
for all in-tree uses. This would only have an effect on
powerpc64. Otherwise, we pass the value through unchanged.

Sponsored by:           Netflix
DeltaFile
+2-2sys/dev/nvme/nvme_ctrlr.c
+2-21 files

FreeBSD/src 80dfed1sys/dev/virtio/network if_vtnet.c

vtnet: Do not compare boolean with integer

The type of variable promisc and allmulti was changed from int to bool
by commit [1].

[1] 7dce56596f36 Convert to if_foreach_llmaddr() KPI

MFC after:      3 days
DeltaFile
+2-2sys/dev/virtio/network/if_vtnet.c
+2-21 files

FreeBSD/src be8bae6sys/kern vfs_init.c vfs_mount.c, sys/sys mount.h

vfs: make vfscount refcounting handle possible kld unload

Make the refcounting occur outside any code that might deref a pointer
to struct vfsconf.

Increment vfc_refcount in vfs_byname(), under vfsconf_lock.
Unref either on early mount failure, before struct mount is
instantiated, or in vfs_mount_destroy().

Reported and reviewed by:       kevans
Tested by:      pho
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+14-2sys/kern/vfs_init.c
+5-2sys/kern/vfs_mount.c
+1-0sys/sys/mount.h
+20-43 files

FreeBSD/src 05fe8c8lib/libc/gen tls.c

libc: lib_malloc_aligned(): add a missing NULL check

For some reason return value of the __je_bootstrap_malloc()
is not checked and then de-referenced few lines below, causing
a SEGV if an early allocation fails.

MFC after:      1 month

(cherry picked from commit 1e99be5dcda222d47a77715e190a381a14f46ece)
DeltaFile
+2-0lib/libc/gen/tls.c
+2-01 files

FreeBSD/src c73d3c6sys/kern uipc_mbuf.c

mbuf: improve KASSERT(9) falure messages in the m_apply()

- Make less ambiguous;
- extend to provide more context for post-mortem.

Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D43776
MFC after:      2 weeks

(cherry picked from commit a43fb3653b35ab88b72e1277dccc26328363cdb7)
DeltaFile
+4-2sys/kern/uipc_mbuf.c
+4-21 files

FreeBSD/src 959806econtrib/llvm-project/llvm/lib/ObjCopy/ELF ELFObjcopy.cpp

Merge commit 7a66a26658f4 from llvm git (by Fangrui Song):

  --discard-locals/--discard-all: allow and keep symbols referenced by relocations

  In GNU objcopy, symbols referenced by relocations are retained. Our
  COFF (https://reviews.llvm.org/D56480) and Mach-O
  (https://reviews.llvm.org/D75104) ports port the behavior, but the ELF
  port doesn't.

  This PR implements the behavior for ELF.
  Close #47468 (tcl has a use case that requires `strip -x tclStubLib.o`
  to strip local symbols not referenced by relocations.)

  Pull Request: https://github.com/llvm/llvm-project/pull/130704

PR:             258820
Approved by:    dim
Differential Revision: https://reviews.freebsd.org/D52198
DeltaFile
+13-12contrib/llvm-project/llvm/lib/ObjCopy/ELF/ELFObjcopy.cpp
+13-121 files

FreeBSD/src e6253easys/dev/virtio/network if_vtnet.c

vtnet: mark statistic counters with CTLFLAG_STATS

Reviewed by:    Timo Völker
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D51999
DeltaFile
+42-28sys/dev/virtio/network/if_vtnet.c
+42-281 files

FreeBSD/src 9a4b30dsys/netinet tcp_syncache.c

tcp: remove stale comment

MFC after:      3 days
Sponsored by:   Netflix, Inc.
DeltaFile
+0-1sys/netinet/tcp_syncache.c
+0-11 files

FreeBSD/src 03da439sys/dev/virtio/network if_vtnet.c

vtnet: fix computation of sysctl variables

Fix the aggregation of the interface level counters
* dev.vtnet.X.tx_task_rescheduled,
* dev.vtnet.X.tx_tso_offloaded,
* dev.vtnet.X.tx_csum_offloaded,
* dev.vtnet.X.rx_task_rescheduled,
* dev.vtnet.X.rx_csum_offloaded, and
* dev.vtnet.X.rx_csum_failed.
Also ensure that dev.vtnet.X.tx_defrag_failed only counts the number
of times m_defrag() fails.
While there, mark sysctl-variables used for exporting statistics as
such (CTLFLAG_STATS).

Reviewed by:            Timo Völker
MFC after:              1 week
Differential Revision:  https://reviews.freebsd.org/D51999
DeltaFile
+117-14sys/dev/virtio/network/if_vtnet.c
+117-141 files

FreeBSD/src 7cad1e5sys/dev/mwl if_mwl.c

mwl(4): Fix a typo in a source code comment

- s/firwmare/firmware/

(cherry picked from commit 4f768b8acdf818f08f4f0124c1df418127720266)
DeltaFile
+1-1sys/dev/mwl/if_mwl.c
+1-11 files

FreeBSD/src 59088fasys/dev/bce if_bce.c

bce(4): Fix a typo in a source code comment

- s/firwmare/firmware/

(cherry picked from commit a848c85d27c8f8d6b8394a372417703a2969314c)
DeltaFile
+1-1sys/dev/bce/if_bce.c
+1-11 files

FreeBSD/src f9fab6asys/cam/ata ata_all.c, sys/cam/scsi scsi_da.c

cam(3): Fix a common typo in source code comments

- s/tranferred/transferred/

(cherry picked from commit 90d7186379b08e5fb0f3d146a2e82a4fa8d9c9b8)
DeltaFile
+2-2sys/cam/ata/ata_all.c
+2-2sys/cam/scsi/scsi_da.c
+4-42 files

FreeBSD/src ee72210sys/dev/ice ice_fw_logging.c

ice(4): Fix a typo in a source code comment

- s/firwmare/firmware/

(cherry picked from commit 62db40b5644726ca61e84aa56fff2fbaf30b05ca)
DeltaFile
+1-1sys/dev/ice/ice_fw_logging.c
+1-11 files

FreeBSD/src 6062ccbsys/ufs/ffs ffs_rawread.c

ffs(3): Fix a typo in a source code comment

- s/fist/first/

(cherry picked from commit cc5623d8bda6ac24faf1c18ba9712e7f78dc127b)
DeltaFile
+1-1sys/ufs/ffs/ffs_rawread.c
+1-11 files

FreeBSD/src d0fc19asys/dev/hpt27xx hptintf.h

hpt27xx(4): Fix a couple of typos in source code comments

- s/tranform/transform/

(cherry picked from commit 49ae0c259205e45267ed5d8dcc99132595cf1cec)
DeltaFile
+3-3sys/dev/hpt27xx/hptintf.h
+3-31 files

FreeBSD/src 87e0274sys/fs/msdosfs bootsect.h

msdofs(5): Fix a typo in a source code comment

- s/fist/first/

(cherry picked from commit ac4005219166fc94da4ebb7adce3da159072f6d3)
DeltaFile
+1-1sys/fs/msdosfs/bootsect.h
+1-11 files

FreeBSD/src b8259e2sys/netinet/cc cc.c

mod_cc(4): Fix a typo in a source code comment

- s/assigments/assignments/

(cherry picked from commit 88ed58d7f88471dc69e943e94d420cd4ef090042)
DeltaFile
+1-1sys/netinet/cc/cc.c
+1-11 files

FreeBSD/src a1def92sys/dev/mwl if_mwl.c

mwl(4): Fix a typo in a source code comment

- s/firwmare/firmware/

(cherry picked from commit 4f768b8acdf818f08f4f0124c1df418127720266)
DeltaFile
+1-1sys/dev/mwl/if_mwl.c
+1-11 files

FreeBSD/src cff9febsys/dev/bce if_bce.c

bce(4): Fix a typo in a source code comment

- s/firwmare/firmware/

(cherry picked from commit a848c85d27c8f8d6b8394a372417703a2969314c)
DeltaFile
+1-1sys/dev/bce/if_bce.c
+1-11 files

FreeBSD/src 526f1d3sys/cam/ata ata_all.c, sys/cam/scsi scsi_da.c

cam(3): Fix a common typo in source code comments

- s/tranferred/transferred/

(cherry picked from commit 90d7186379b08e5fb0f3d146a2e82a4fa8d9c9b8)
DeltaFile
+2-2sys/cam/ata/ata_all.c
+2-2sys/cam/scsi/scsi_da.c
+4-42 files

FreeBSD/src ba027e7sys/dev/ice ice_fw_logging.c

ice(4): Fix a typo in a source code comment

- s/firwmare/firmware/

(cherry picked from commit 62db40b5644726ca61e84aa56fff2fbaf30b05ca)
DeltaFile
+1-1sys/dev/ice/ice_fw_logging.c
+1-11 files

FreeBSD/src b071ce1sys/ufs/ffs ffs_rawread.c

ffs(3): Fix a typo in a source code comment

- s/fist/first/

(cherry picked from commit cc5623d8bda6ac24faf1c18ba9712e7f78dc127b)
DeltaFile
+1-1sys/ufs/ffs/ffs_rawread.c
+1-11 files

FreeBSD/src 36a4b02sys/dev/hpt27xx hptintf.h

hpt27xx(4): Fix a couple of typos in source code comments

- s/tranform/transform/

(cherry picked from commit 49ae0c259205e45267ed5d8dcc99132595cf1cec)
DeltaFile
+3-3sys/dev/hpt27xx/hptintf.h
+3-31 files

FreeBSD/src 6a4aae1sys/fs/msdosfs bootsect.h

msdofs(5): Fix a typo in a source code comment

- s/fist/first/

(cherry picked from commit ac4005219166fc94da4ebb7adce3da159072f6d3)
DeltaFile
+1-1sys/fs/msdosfs/bootsect.h
+1-11 files