4558c11f markj Jan. 5, 2022, 3:12 p.m.
The starting address passed to mprotect was wrong, so in the case where
the last page containing the table is not the last page of the BAR, the
wrong region would be unmapped.

Reported by:	Andy Fiddaman <andy@omniosce.org>
Reviewed by:	jhb
Fixes:		7fa233534736 ("bhyve: Map the MSI-X table unconditionally for passthrough")
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33739
cgit
76b45e68 markj Jan. 5, 2022, 3:12 p.m.
The PBA and MSI-X table can reside in different BARs.

Reported by:	Andy Fiddaman <andy@omniosce.org>
Reviewed by:	jhb
Fixes:		7fa233534736 ("bhyve: Map the MSI-X table unconditionally for passthrough")
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33739
cgit
459e0b92 andrew Jan. 5, 2022, 2:56 p.m.
Now we have a macro to descrive the arm64 TTBR registers use it in the
ASID_TO_OPERAND pmap macro.

Sponsored by:	The FreeBSD Foundation
cgit
0accd726 andrew Jan. 5, 2022, 2:56 p.m.
Sponsored by:	The FreeBSD Foundation
cgit
a6668e31 emaste Jan. 5, 2022, 2:41 p.m.
Reviewed by:	brooks, melifaro
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D33718
cgit
ce1e5d0d andrew Jan. 5, 2022, 12:38 p.m.
Sponsored by:	The FreeBSD Foundation
cgit
fbdca149 andrew Jan. 5, 2022, 11:57 a.m.
This was added with the shared page support. It is unused as we always
enable the shared page on FreeBSD executables on arm64.
cgit
dfc38320 pho Jan. 5, 2022, 9:27 a.m.
bd8077ee trasz Jan. 5, 2022, 8:16 a.m.
Advertise rc.conf method as the right way to enable it, mention
file system mapping... and change some wording.

Reviewed By:	emaste, debdrup, Pau Amma
Sponsored By:	EPSRC
Differential Revision:	https://reviews.freebsd.org/D33720
cgit
3f6ab549 glebius Jan. 5, 2022, 2:41 a.m.
PR:		260667
Submitted by:	<ghuckriede blackberry.com>
cgit
81ec547f imp Jan. 4, 2022, 11:17 p.m.
We need to include bsd.endian.mk from bsd.compiler.mk to enable
compressed symbols only on FreeBSD little endian targets.

However, since we include bsd.compiler.mk from Makefile.inc1 and from
the build tools makefiles, it has to work on Linux and osx. Make the
error condition only when we're building natively (so that we are
forced to add a new architecture to the list).

Otherwise, define bogus, poisoned values and leave TARGET_ENDIANNESS
undefined.  Since we don't actually use TARGET_ENDIANNESS for anything
in the cross building phase, these values are a failsafe agianst their
use. The one place in the build phase that detects endian is
appropriately protected.

Sponsored by:		Netflix
Reviewed by:		jrtc27
Differential Revision:	https://reviews.freebsd.org/D33742
cgit
b4dda138 imp Jan. 4, 2022, 11:01 p.m.
So #ifdef the clk.h include aarch64. Otherwise the right kernel options
aren't always present.

Sponsored by:		Netflix
cgit
c47e2e51 imp Jan. 4, 2022, 11:01 p.m.
clknode_if.h is needed for this device on aarch64. Create it always.

Sponsored by:		Netflix
cgit
44796b7e imp Jan. 4, 2022, 11:01 p.m.
The saf1761 OTG support was only for mips targets (BERI?). Retire it.

Sponsored by:		Netflix
Reviewed by:		brooks
Differential Revision:	https://reviews.freebsd.org/D33706
cgit
822fa675 jhb Jan. 4, 2022, 10:46 p.m.
Fixes:		74d3f1b63dbe OCF: Add crypto_clonereq().
cgit