2b68eb8e mjg Oct. 11, 2021, 1:22 p.m.
and fo_stat.
cgit
b4a58fbf mjg Oct. 11, 2021, 1:21 p.m.
It is always curthread.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D32453
cgit
90178705 arichardson Oct. 11, 2021, 12:20 p.m.
I accidentally didn't include hunk in the committed patch.

Fixes:		6c4f95161d6e ("virtio: make the write_config buffer argument const")
cgit
a89410ef arichardson Oct. 11, 2021, 10:57 a.m.
MFC after:	3 days
cgit
6c4f9516 arichardson Oct. 11, 2021, 10:52 a.m.
No functional change intended, but noticed that we could add const here
while adding linuxkpi support for virtio.

Reviewed By:	bryanv, imp
Differential Revision: https://reviews.freebsd.org/D32370
cgit
d98f2712 arichardson Oct. 11, 2021, 10:51 a.m.
Needed for the virtio-gpu driver.

Reviewed By:	#linuxkpi, manu, bz, hselasky
Differential Revision: https://reviews.freebsd.org/D32366
cgit
6d15ccde arichardson Oct. 11, 2021, 10:51 a.m.
I got a compilation failure in virtio-gpu without this change.

Reviewed By:	#linuxkpi, manu, bz, hselasky
Differential Revision: https://reviews.freebsd.org/D32366
cgit
ff479cc6 arichardson Oct. 11, 2021, 10:51 a.m.
Needed for the virtio-gpu driver.

Reviewed By:	#linuxkpi, manu, bz, hselasky
Differential Revision: https://reviews.freebsd.org/D32366
cgit
2686b10d arichardson Oct. 11, 2021, 10:51 a.m.
Needed for the virtio-gpu driver.

Reviewed By:	#linuxkpi, manu, bz, hselasky
Differential Revision: https://reviews.freebsd.org/D32366
cgit
88c02733 arichardson Oct. 11, 2021, 10:46 a.m.
I forgot to update this file so make delete-old would incorrectly remove
the newly-installed LLVM binutils. While touching the file also update
for 8e1c989abbd1 since ObsoleteFiles.inc now inludes the tablegen binaries.

Reported by:	Herbert J. Skuhra <herbert@gojira.at>
Reviewed By:	emaste, imp

Differential Revision: https://reviews.freebsd.org/D32022
cgit
aacbf3fb andrew Oct. 11, 2021, 9:39 a.m.
On arm64 binaries can be tagged as using BTI or PAC. Add support to
decode these to the elftoolchain readelf.

To simplify the code use a table based method to find the flag
description table.

Reviewed by:	emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32315
cgit
a90ebeb5 andrew Oct. 11, 2021, 9:36 a.m.
To minimise NUMA traffic allocate the pcpu, dpcpu, and boot stacks in
the correct domain when possible.

Submitted by:	markj
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32338
cgit
806a88e7 andrew Oct. 11, 2021, 9:29 a.m.
When changing page table properties there is no need to demote a
level 1 or level 2 block if we are changing the entire memory range the
block is mapping. In this case just change the block directly.

Reported by:	alc, kib, markj
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32339
cgit
a85ce4ad andrew Oct. 11, 2021, 9:26 a.m.
Support changing the protection of preloaded kernel modules by
implementing pmap_change_prot on arm64 and calling it from
preload_protect.

Reviewed by:	alc (previous version)
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32026
cgit
dfe887b7 rmacklem Oct. 11, 2021, 1:46 a.m.
Some exported file systems, such as ZFS ones, cannot do VOP_ALLOCATE().
Since an NFSv4.2 server must either support the Allocate operation for
all file systems or not support it at all, define a sysctl called
vfs.nfsd.enable_v42allocate to enable the Allocate operation.
This sysctl is false by default and can only be set true if all
exported file systems (or all DSs for a pNFS server) can perform
VOP_ALLOCATE().

Unfortunately, there is no way to know if a ZFS file system will
be exported once the nfsd is operational, even if there are none
exported when the nfsd is started up, so enabling Allocate must
be done manually for a server configuration.

This problem was detected during a recent NFSv4 interoperability
testing event held by the IETF working group.

MFC after:	2 weeks
cgit