f6787614 kevans Sept. 29, 2021, 6:03 p.m.
This is compatible with GNU cmp.

Reviewed by:	bapt (earlier version), markj, imp
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D32071
cgit
747a4726 jamie Sept. 29, 2021, 5:20 p.m.
"posixshmcontrol ls") to fail for all jails that didn't happen to own
the last shm object in the list.
cgit
f6de51d3 andrew Sept. 29, 2021, 4:53 p.m.
Add the table page table attributes on arm64 and use them to add
restrictions to the block and page entries below them. This ensures
we are unable to increase the permissions in these last level entries
without also changing them in the upper levels.

Use the attributes to ensure the kernel can't execute from userspace
memory and vice versa, userspace has no access to read or write kernel
memory, and that the DMAP region is non-executable.

Reviewed by:	alc, kib
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D32081
cgit
0cfc8b10 imp Sept. 29, 2021, 4:35 p.m.
We don't need to assert we have Giant here. All machines that require
the F00F workaround are UP and interrupts are disabled. Since we are
single threaded, it's safe to allocate the IDT area with pmap_trm_alloc,
interact with the current idt table and replace the IDT table without
any Giant locking.

Sponsored by:		Netflix
Reviewed by:		kib, markj
Differential Revision:	https://reviews.freebsd.org/D31839
cgit
9e1dc7be imp Sept. 29, 2021, 3:24 p.m.
Create a man page per loader. Loader(8) will have information common to
all of them, while loader_${INTERP}(8) will have information relevant to
that specific loader. Rewrite loader(8) to give an overview and point to
the appropriate man page. Rewrite each of the loader_${INTER}(8) man
pages to contain only the relevant information to that loader. Put all
the common commands, environment variables, etc in loader_simp(8) and
refernce that from the loader_lua or loader_4th man pages. The
loader_lua(8) could use more details about the Lua
integration. Additional organization may be benefitial.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D31340
cgit
09e4502d emaste Sept. 29, 2021, 3:07 p.m.
This reverts commit 5aa9f8dae3d40e1780a688ce01401e799b25e7c3.

We might as well get coverage of this code via LINT.

Reported by:	mhorne
cgit
440c645b mhorne Sept. 29, 2021, 2:38 p.m.
adbce5ff mw Sept. 29, 2021, 2:19 p.m.
Add support for ACPI device probing for SDHCI controller found on Marvell chips.

Reviewed by: mw
Sponsored by: Semihalf
Differential revision: https://reviews.freebsd.org/D31600
cgit
d78e464d mw Sept. 29, 2021, 2:19 p.m.
This patch splits driver code into two seperate files sdhci_xenon.c
and sdhci_xenon_fdt.c. This will allow future implementation of ACPI
discovery of sdhci on Xenon chips.

Reviewed by: mw
Sponsored by: Semihalf
Differential revision: https://reviews.freebsd.org/D31599
cgit
5aa9f8da emaste Sept. 29, 2021, 2 p.m.
The debug register dump routine is not hooked up and is really only
useful to driver developers, so put it under an mgb-specific MGB_DEBUG
rather than general DEBUG.

MFC after:	1 week
Fixes:		8890ab7758b8 ("Introduce if_mgb driver...")
Sponsored by:	The FreeBSD Foundation
cgit
12698731 bz Sept. 29, 2021, 1:50 p.m.
Add a missing "static" for non-{i386,amd64,arm64} which was missed in
c39eefe715b3c835ce3d91a1c1932197c23c1f3c.   This should ifx the builds.

Sponsored by:	The FreeBSD Foundation
MFC after:	7 days
X-MFC with:	c39eefe715b3c835ce3d91a1c1932197c23c1f3c
cgit
9589362b markj Sept. 29, 2021, 1:44 p.m.
MFC after:	2 weeks
Pull Request:	https://github.com/freebsd/freebsd-src/pull/541
cgit
2f20d806 kp Sept. 29, 2021, 1:42 p.m.
MFC after:	1 week
Sponsored by:	Modirum MDPay
Differential Revision:	https://reviews.freebsd.org/D32139
cgit
dc063663 kp Sept. 29, 2021, 1:42 p.m.
MFC after:	1 week
Sponsored by:	Modirum MDPay
Differential Revision:	https://reviews.freebsd.org/D32138
cgit
20f015f0 kp Sept. 29, 2021, 1:41 p.m.
Reviewed by:	bcr
Obtained from:	OpenBSD
MFC after:	1 week
Sponsored by:	Modirum MDPay
Differential Revision:	https://reviews.freebsd.org/D32137
cgit