FreeBSD/src ee9e945 — . .mailmap, share/misc committers-src.dot

committers-src: Add hayzam mentored by markj@ and emaste@

Approved by:    markj (mentor)
DeltaFile
+3-0share/misc/committers-src.dot
+1-0.mailmap
+4-02 files

FreeBSD/src 4ad4ddc — usr.sbin/bhyve pci_emul.h pci_emul.c

bhyve: Reject unsupported checkpoints before saving RAM

pci_snapshot() rejects devices without a pe_snapshot callback, but
vm_checkpoint() reaches that check only after truncating checkpoint
files, pausing the VM, and saving RAM and kernel state.

Check for unsupported PCI devices at the start of vm_checkpoint(),
before creating files or pausing the VM.  This preserves existing
checkpoint files when the request cannot succeed.  Add
pci_can_snapshot() so that the new check and pci_snapshot() use the
same test.

Reviewed by:    markj, kevans
Approved by:    markj (mentor)
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D61003
DeltaFile
+21-0usr.sbin/bhyve/snapshot.c
+8-1usr.sbin/bhyve/pci_emul.c
+1-0usr.sbin/bhyve/pci_emul.h
+30-13 files

FreeBSD/src 6ef72b6 — lib/libthr/thread thr_mutex.c

libthr mutex_self_lock(): handle signals and clock steps

(cherry picked from commit 1b4779eef93c6e3c9af1887b941d7700ef143951)
DeltaFile
+7-3lib/libthr/thread/thr_mutex.c
+7-31 files

FreeBSD/src 0cafd30 — lib/libthr/tests Makefile pthread_rwlock_clocklock_test.c

libthr: add tests for pthread_rwlock_clock{rd,wr}lock(3)

(cherry picked from commit 083b44ddc07c6e07bcf889aa1f38c240d9dc0fc6)
DeltaFile
+528-0lib/libthr/tests/pthread_rwlock_clocklock_test.c
+1-0lib/libthr/tests/Makefile
+529-02 files

FreeBSD/src e1710df — lib/libthr/tests Makefile pthread_mutex_clocklock_test.c

libthr: add tests for pthread_mutex_clocklock(3)

(cherry picked from commit 7689242d6bdf7f8633885795e6528f9d8f2f2428)
DeltaFile
+489-0lib/libthr/tests/pthread_mutex_clocklock_test.c
+1-0lib/libthr/tests/Makefile
+490-02 files

FreeBSD/src 9eafbee — contrib/netbsd-tests/lib/libpthread t_mutex.c

libthr: libpthread/t_mutex.c tests should expect EDEADLK

(cherry picked from commit be90f23d4a6c70cd829366612c53755b47c2986d)
DeltaFile
+6-4contrib/netbsd-tests/lib/libpthread/t_mutex.c
+6-41 files

FreeBSD/src d0d8362 — share/man/man3 Makefile pthread_mutex_timedlock.3

pthread_mutex_clocklock.3: document

(cherry picked from commit 1c08e2b915bf44dacd5b14ee8d8214ef40946c65)
DeltaFile
+58-12share/man/man3/pthread_mutex_timedlock.3
+1-0share/man/man3/Makefile
+59-122 files

FreeBSD/src a96b3d0 — share/man/man3 pthread_rwlock_timedwrlock.3 pthread_rwlock_timedrdlock.3

pthread_*_timed*lock.3: switch to .Fo/Fc

(cherry picked from commit a9b82d6ba374b022926fcb77a96f8f40df862a3a)
DeltaFile
+4-1share/man/man3/pthread_rwlock_timedwrlock.3
+4-1share/man/man3/pthread_rwlock_timedrdlock.3
+4-1share/man/man3/pthread_mutex_timedlock.3
+12-33 files

FreeBSD/src be04aa4 — share/man/man3 pthread_cond_timedwait.3

pthread_cond_timedwait.3: split STANDARDS and HISTORY

(cherry picked from commit b3a205cd689d5c6c20aad37a1407031363c16020)
DeltaFile
+5-2share/man/man3/pthread_cond_timedwait.3
+5-21 files

FreeBSD/src 829955f — share/man/man3 Makefile pthread_rwlock_timedwrlock.3

pthread_rwlock_clock{rd,wr}lock(3): document

(cherry picked from commit 522407f54078e986bca5a74c8335881c6a1afe81)
DeltaFile
+43-19share/man/man3/pthread_rwlock_timedwrlock.3
+43-19share/man/man3/pthread_rwlock_timedrdlock.3
+2-0share/man/man3/Makefile
+88-383 files

FreeBSD/src a2a7a3a — share/man/man3 pthread_cond_timedwait.3

pthread_cond_timedwait.3: list pthread_cond_clockwait as .Nm

(cherry picked from commit 29495576ed399b2fce2c12f62356a29dbaaa86f4)
DeltaFile
+2-1share/man/man3/pthread_cond_timedwait.3
+2-11 files

FreeBSD/src be6740d — include pthread.h, lib/libthr pthread.map

libthr: add pthread_rwlock_clock{rd,wr}lock(3)

(cherry picked from commit 5577567bd0d0c695c25ddb4ea32b8c8231d8b0fe)
DeltaFile
+34-8lib/libthr/thread/thr_rwlock.c
+8-6lib/libthr/thread/thr_umtx.c
+10-0include/pthread.h
+4-4lib/libthr/thread/thr_umtx.h
+2-0lib/libthr/pthread.map
+58-185 files

FreeBSD/src 4655558 — include pthread.h, lib/libthr pthread.map

libthr: add pthread_mutex_clocklock(3)

(cherry picked from commit b7c2db4c772ba3c61f4760eca011332c9c12da1c)
DeltaFile
+28-14lib/libthr/thread/thr_mutex.c
+3-3lib/libthr/thread/thr_umtx.c
+5-0include/pthread.h
+2-2lib/libthr/thread/thr_umtx.h
+1-0lib/libthr/pthread.map
+39-195 files

FreeBSD/src b4c8ab2 — lib/libthr/thread thr_mutex.c, share/man/man3 pthread_mutex_timedlock.3

pthread_mutex_timedlock(3): return EDEADLK on detected recursion attempt

(cherry picked from commit bf2939ea60872d7791987d1727798e90eb904279)
DeltaFile
+5-17lib/libthr/thread/thr_mutex.c
+1-1share/man/man3/pthread_mutex_timedlock.3
+6-182 files

FreeBSD/src ba5b331 — lib/libthr/thread thr_private.h

lib/libthr: add helper to check valid clockid to use with _umtx_op(2)

(cherry picked from commit 62e53516f73247d2ed80d8dc452f02d9a92575a0)
DeltaFile
+28-0lib/libthr/thread/thr_private.h
+28-01 files

FreeBSD/src dd6d349 — lib/libthr/thread thr_cond.c

pthread_cond_clockwait(3): explicitly reject unacceptable clockids

(cherry picked from commit 8331d5a2fe967016343fb4322f1ed73e55ff9655)
DeltaFile
+2-0lib/libthr/thread/thr_cond.c
+2-01 files

FreeBSD/src a9d7bc9 — lib/libthr/thread thr_cond.c

libthr cond_wait_user(): do not loop forever on clock error

(cherry picked from commit e81badcfc010268d4935f4b4d28ebdbc0faebe0f)
DeltaFile
+1-1lib/libthr/thread/thr_cond.c
+1-11 files

FreeBSD/src fb606db — sys/kern kern_umtx.c

umtxq_sleep(): do not wait forever for zero absolute timeouts

(cherry picked from commit 8c13acc68517f785df4b6c4b016dfd1c6f38c8cf)
DeltaFile
+9-0sys/kern/kern_umtx.c
+9-01 files

FreeBSD/src 2efa9b0 — sys/kern kern_umtx.c, sys/sys umtxvar.h

kern_umtx.c: validate clockid used for _umtx_op(2) timeouts

(cherry picked from commit 524f1bf7f9fd8d5d0eee48346d6c1adb0413f95c)
DeltaFile
+106-43sys/kern/kern_umtx.c
+1-1sys/sys/umtxvar.h
+107-442 files

FreeBSD/src 246fadc — lib/libsys _umtx_op.2

_umtx_op.2: correct the description of the valid _clockid for _umtx_time

(cherry picked from commit 701ac0b230503db65b53c7ee8a211b146fcc82c9)
DeltaFile
+38-33lib/libsys/_umtx_op.2
+38-331 files

FreeBSD/src 734d380 — lib/libthr/thread thr_pshared.c

libthr: fix __thr_pshared_offpage() to not use cancellable close()

(cherry picked from commit e55d4398708623522ce773e0cd118180e2ee17fe)
DeltaFile
+1-1lib/libthr/thread/thr_pshared.c
+1-11 files

FreeBSD/src c8205c2 — lib/libthr/thread thr_pshared.c

libthr: explain why pshared lock bumps locklevel

(cherry picked from commit eff19ace066f133ed85a0e0c6cae5777d4b7db99)
DeltaFile
+10-0lib/libthr/thread/thr_pshared.c
+10-01 files

FreeBSD/src 037821c — lib/libthr/thread thr_rwlock.c

libthr: Deduplicate some rwlock code

(cherry picked from commit 8e3a6d7f5aaf64c98fcd8896858492dc6b5b7fdb)
DeltaFile
+29-38lib/libthr/thread/thr_rwlock.c
+29-381 files

FreeBSD/src 896a2b3 — sys/kern vfs_lookup.c

namei(9): fix two ni_startdir leaks

(cherry picked from commit 5feb271df85fe6bd968052d5bdd02b6d80335610)
DeltaFile
+4-0sys/kern/vfs_lookup.c
+4-01 files

FreeBSD/src 577bf51 — sys/sys namei.h

namei(9): allow NDINIT_ATVP() lookups in capability mode

(cherry picked from commit 922eaa623076b4b8878022b3cbad1bef1f023de8)
DeltaFile
+2-1sys/sys/namei.h
+2-11 files

FreeBSD/src 78d3259 — sys/kern vfs_vnops.c

vn_open_cred(9): fix ni_startdir leak

(cherry picked from commit 7ac5569c5d9e601201c811786e6d0026f8aa3c1b)
DeltaFile
+4-2sys/kern/vfs_vnops.c
+4-21 files

FreeBSD/src d6978ed — sys/kern vfs_lookup.c, sys/sys namei.h

namei(9): fix restart for NDINIT_ATVP

(cherry picked from commit 2f3d64f63677a6ed4c7bb6629d92161555948038)
DeltaFile
+26-1sys/kern/vfs_lookup.c
+7-3sys/sys/namei.h
+33-42 files

FreeBSD/src b040666 — sys/kern vfs_lookup.c

namei: retry absolute symlink expansions from the native root

PR:             297426

(cherry picked from commit 23b326728778fd3a6c37b33686dea98d010eb1cf)
DeltaFile
+105-1sys/kern/vfs_lookup.c
+105-11 files

FreeBSD/src 515f5d8 — sys/kern vfs_lookup.c

namei: Preserve ABI root for absolute symlinks before fallback

(cherry picked from commit 459ac3044b516af698d7342431bdbcf784fdf7a4)
DeltaFile
+9-5sys/kern/vfs_lookup.c
+9-51 files

FreeBSD/src 9bd048b — sbin/camcontrol nvfeature.c, sys/cam/nvme nvme_all.h nvme_all.c

camcontrol: Fix extended host identifier retrieval

The Get Features command for the host identifier always requested
the 64-bit form (cdw11 EXHID=0), but the decoding logic sized the
identifier from the controller's CTRATT extended host identifier
capability bit, or always treated it as 128 bits when -U was
given.  On a controller supporting the extended host identifier,
the printed value did not match what was requested from the
controller.

Fetch the controller data before issuing the command, request the
extended form when the controller supports it, and decode the form
that was requested.  Reject -U when the controller only supports
64-bit host identifiers, since an 8 byte value cannot be shown as
a UUID.

sys/cam/nvme/nvme_all.c,
sys/cam/nvme/nvme_all.h:
        Add an exhid argument to nvme_get_feature_hostid(),

    [19 lines not shown]
DeltaFile
+35-22sbin/camcontrol/nvfeature.c
+7-2sys/cam/nvme/nvme_all.c
+3-2sys/cam/nvme/nvme_all.h
+45-263 files