mandoc: Vendor import of upstream at 2025-09-26
Interesting changes:
+ mandoc db: Improve case sorting, found by our very own markj
+ history: Add macros for version 8 and 10 AT&T Unix
+ linter: Warn on blank lines in man(7) like mdoc(7)
+ manuals: Improve precision, man(7) syntax table, and roff(7) specifics
+ manuals: Fix PDF/PS footer regression detailed in our PR: 289786
PR: 289786
MFC after: 3 days
(cherry picked from commit 59fc2b0166f71c791113379d16b8cef7039f289d)
mandoc: Improve width calculation for GCC compat
Avoid implicitly converting a potentially negative page offset
to size_t and then back to int. While this was not a bug and the end
result was portably correct, Alexander Ziaee@ privately reported to me
that the GCC 14 in the FreeBSD Jenkins CI felt uneasy about it.
For clarity and readability, rewrite the truncation statement
to not mix signed and unsigned types, to not use explicit casts,
and make handling of the lower and upper cutoff more similar
to each other.
Fixes: 6410c1b51637 (mandoc: vendor import of upstream at 2025-07-27)
MFC after: 3 days
Reported by: ivy
Reviewed by: ivy
Differential Revision: https://reviews.freebsd.org/D52127
(cherry picked from commit 93bc3d83a11a1dbebd264616d63af3dd32cc1c8c)
[NewPM] Port x86-cleanup-local-dynamic-tls (#179864)
Port x86-cleanup-local-dynamic-tls to the new pass manager.
I moved LDTLSCleanup to a new
llvm/lib/Target/X86/X86CleanupLocalDynamicTLS.cpp file and renamed it to
X86CleanupLocalDynamicTLSPass. Then I renamed the legacy pass, and
adding a NewPM wrapper around the impl.
No test coverage added for now as there are no MIR->MIR tests exercising
this pass and we do not have enough ported to run any end to end tests.
mandoc: Vendor import of upstream at 2025-07-27
Groff Compat Edition -- Interesting changes:
+ italics in section/subsection headers are now also bold, like groff
+ display "LOCAL" in response to invalid section numbers, like groff
+ tbl(7) rendering has been tweaked to be more like groff
+ scaling has been improved to better render poorly generated manuals
+ display "UNTITLED" in response to invalid man(7) titles, like groff
+ improve mandocd error handling of broken pipes
+ manual footers now always show NAME(SECTION) on the right, like groff
MFC after: 3 days
(cherry picked from commit 06410c1b51637e5e1f392d553b5008948af58014)
mmcsd.4: s/DESCRIPTION/HARDWARE + HISTORY + SPDX
This manual only describes a tiny amount suitable for the HW Relnotes.
Remove the description section and replace it with a hardware section
which will appear there.
MFC after: 3 minutes
Reported by: ivy
History Ref: 5bcb64f20afff21be511cc5 (Add mmc and mmcsd)
(cherry picked from commit 0c1c81c479bef8d3e67f93ea00fc5d34ccf5af33)
bsdinstall.8: Minor maintenance
Replace CD-ROMs with "discs, USBs, or network boot environments"
to both modernize aesthetic and also nudge youths to think at scale.
Since I'm disrupting the flow of these lines anyway, expand the VM
acronym because I think this is one of the first manuals people will
be looking at.
Reset list alignment to seven characters. It was at 19 characters,
and that was not enough to align them all, wasting many extra lines
by crunching all the words over. Seven actually bought us some lines
from six due to avg item size. Tag SPDX.
MFC after: 3 days
Discussed with: ivy, zi
(cherry picked from commit 81d9e08a4df42079d5e163b5991d5d6f3a28d4f0)
aacraid.4: Fix document description + tag SPDX
The document description previously just stated the name of the driver.
Replace this with the name of the controller families and specs that
it supports, in a similar fashion to other RAID drivers.
MFC after: 3 days
(cherry picked from commit d5d1e05efbedf67f1ef8e8428f9107401e369a0b)
[flang] Allow fir.field_index and fir.coordinate_of speculation. (#179785)
This change makes `fir.field_index` a Pure operation, and
add support of `ConditionallySpeculatable` interface for
`fir.coordinate_of`. The test demonstrates how this affects
Flang LICM.
umass.4: Modernize driver loading instructions
+ consolidate kernel configuration in SYNOPSIS
+ explain driver autoloading in DESCRIPTION
+ s/port/interface/ because of internal USBs
+ fix flow of remaining example
MFC after: 1 day
(cherry picked from commit d8a4843cb76ec1b7da8d5defafb7eef9a6cc1c21)
[flang] Disambiguate descriptor and data addresses in FIR AA. (#179774)
This change basically treats the descriptors' and data loads
as non-aliasing (with one exception) same way as we do it
for the purpose of the TBAA tags generation for LLVM
to do better optimizations. This change enables more LICM in Flang MLIR.
umass.4: Add HISTORY, HARDWARE, and SPDX
While here, break a long line that agitates the linter.
Fixes: cc16f1b9d9261f18 (Add umass.c)
MFC after: 1 hour
Discussed with: imp, ivy
diff --git a/sys/dev/usb/FILES b/sys/dev/usb/FILES
(cherry picked from commit 70993c2fbe1acb68f45bea5fc5fa086650876e23)
cli.lua.8: Reflow literal comments
Reflow comments in literal text blocks
so this manual is legible at MANWIDTH 78.
MFC after: 1 day
(cherry picked from commit de36d0dbaeaf05e9bf949fdf22b560c34b2c0d74)
sbp.4: Add a hardware section, fix markup nits
+ tag SPDX
+ add sysctl to apropos database
+ fix markup of examples and reflow a overly long line
+ add a hardware section for hw relnotes
MFC after: 3 days
(cherry picked from commit dee8e38f52266d9b2fa837607ff3a78f240a806d)
loader.8: Document module commands
Begin documenting module loader commands in loader(8), where the reader
would look for them. Segregate them by their availability in individual
loader implementations, like build(7) targets.
These details were graciously donated by kevans.
MFC after: 3 days
Reviewed by: kevans
Co-authored-by: Kyle Evans <kevans at freebsd.org>
Differential Revision: https://reviews.freebsd.org/D50727
(cherry picked from commit 6fb0d67819f730e8def56e139f780eff3c0cab0f)
loader manuals: Clarify console and boot_serial
console=comconsole is for the loader and boot_serial is for the kernel.
I think we should centralize documentation on the loader settings in one
manual, such a loader.8. The current proliferation is not obvious where
to find the documentation. To the user, these are all set in loader.conf
or at the loader prompt.
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D53695
(cherry picked from commit 09ffaa4e07d749c83cc1db13829505f21b025f29)
cdce.4: Minor polish
+ Tag spdx license identifier + Fix "e.g.,"s to quiet linter
+ Remove useless Nd quoting + Put example in EXAMPLES
MFC after: 3 days
(cherry picked from commit 03752041e41b57af622f3649929789575a48258e)
librt/mq_getfd_np.3: Initial manual page
The mq_getfd_np function appeared in FreeBSD 11 with no documentation.
This function dereferences the mqd_t as a pointer to an int.
Relnotes: yes
MFC after: 3 days
Reviewed by: kib (previous), markj, ziaee
Differential Revision: https://reviews.freebsd.org/D43947
(cherry picked from commit ca2413d216197fd55f9363d6f65c641ff1aa3ec5)