37045dfa markj Aug. 16, 2022, 6:21 p.m.
Mark them const as well when it makes sense to do so.  No functional
change intended.

MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
cgit
75ce327a markj Aug. 16, 2022, 6:21 p.m.
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
cgit
c4d26f02 markj Aug. 16, 2022, 6:21 p.m.
Reported by:	rpokala
Fixes:		187084dddd3e ("makefs: Align the block buffer used in ZFS mode")
Sponsored by:	The FreeBSD Foundation
cgit
8ddb146a emaste Aug. 16, 2022, 5:27 p.m.
Add 'contrib/bionic-x86_64-string/' from commit 'd77520609f5240f5fad18fa1fd2275ac1de7cbb5'

git-subtree-dir: contrib/bionic-x86_64-string
git-subtree-mainline: 715f82e4f5c51c04314904dee8090c8abbbe2156
git-subtree-split: d77520609f5240f5fad18fa1fd2275ac1de7cbb5

Requested by:	mjg
Sponsored by:	The FreeBSD Foundation
cgit
d7752060 emaste Aug. 16, 2022, 5:24 p.m.
Obtained from https://android.googlesource.com/platform/bionic
libc/arch-x86_64/string/ at commit
919fb7f2e0e0c877dd5e9bbaa71d4c4a73e50ad3

Requested by:	mjg
Sponsored by:	The FreeBSD Foundation
cgit
715f82e4 chuck Aug. 16, 2022, 4:15 p.m.
Controllers must support the Identify Controller list if they support
Namespace Management. But the UNH NVMe tests use this command regardless
of whether the device under test supports Namespace Management.

This implementation returns an empty Controller list (i.e., Number of
Identifiers is zero).

Fixes UNH Test 1.1.2

Reviewed by:	jhb
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D36193
cgit
ec0efe34 chuck Aug. 16, 2022, 4:14 p.m.
The NVMe specification only allows Controllers compliant with the
revision 1.3 and earlier specification to report a value of 0x0 in the
No-Deallocate Modifies Media After Sanitize (NODMMAS) field.

For our revision 1.4 Controller, report that media is not modified after
Sanitize as the implementation does not implement Sanitize.

Fixes UNH Test 1.1.2

Reviewed by:	jhb
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D36192
cgit
0726cde8 markj Aug. 16, 2022, 3:02 p.m.
This reverts commit 35b587464afce15ff62600c3499d38cbb5b9f3d5.

PR:		265849
Sponsored by:	The FreeBSD Foundation
cgit
4f816f5b markj Aug. 16, 2022, 3:02 p.m.
Space used by the MOS is summed after all on-disk data structures are
finalized, so the MOS DSL directory represents a special case when
counting bytes used for each directory.  The DSL layer failed to update
the MOS DSL directory's parent, the root directory, accordingly, so the
root directory reported less space used than was used in reality.  Be
careful to update the root directory after the MOS is finalized.

PR:		265849
Sponsored by:	The FreeBSD Foundation
cgit
187084dd markj Aug. 16, 2022, 3:02 p.m.
For some dnode types, particularly ZAPs, we want the buffer to have
uint64_t alignment.

Sponsored by:	The FreeBSD Foundation
cgit
e3917bb2 andrew Aug. 16, 2022, 2:41 p.m.
We need to be careful to not promote or demote the memory containing
the per-CPU structures as the exception handlers will dereference it
so any time it's invalid may cause recursive exceptions.

Add a new pmap function to set a flag in the pte marking memory that
cannot be promoted or demoted and use it to mark pcpu memory.

Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D35434
cgit
f9572577 0mp Aug. 16, 2022, 1:04 p.m.
There was a missing sentence in the description of the second mount
entry in the example. Fix that and some other bits in the EXAMPLES
section.

Also, make the STANDARDS section a bit more readable.

MFC after:	1 week
Sponsored by:	Klara Inc.
cgit
1331c0f4 ganbold Aug. 16, 2022, 12:24 p.m.
For RK356x platform, we can set bit 26 of DWC3_GUCTL1 register
for usb 2.0 device.

Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D36211
cgit
84a0be4a mjg Aug. 16, 2022, 10:46 a.m.
Reported by:	clang --analyze
cgit
eb9a1f9c mjg Aug. 16, 2022, 10:46 a.m.
Reported by:	clang --analyze
cgit