r328042 wma Jan. 16, 2018, 6:24 a.m.
Make XICS to be OPAL-aware.

Created by:            Nathan Whitehorn <nwhitehorn@freebsd.org>
Submitted by:          Wojciech Macek <wma@semihalf.com>
Sponsored by:          FreeBSD Foundation
r328041 pfg Jan. 16, 2018, 6:04 a.m.
Should have noticed earlier but the build was already broken by another

Reported by:	Ravi Pokala
r328040 jhibbits Jan. 16, 2018, 4:50 a.m.
P1022 SATA controller may set the wrong CCR bit for a command completion.
This would previously cause an interrupt storm.  Solve this by marking all
commands complete, and letting the end_transaction deal with the successes.
Causes no problems on P5020.

While here, fix a minor bug in collision detection.  The Freescale SATA
controller only has 16 slots, not 32.
r328039 ian Jan. 16, 2018, 3:02 a.m.
related series of operations without doing a lock/unlock for each byte.
Use them when reading and writing the entire set of time registers.

The original rtcin() and writertc() functions which do lock/unlock on each
byte still exist, because they are public and called by outside code.
r328038 cem Jan. 16, 2018, 2:56 a.m.
The implementation will follow (D12723).  For now, get the changes to
commit-protected files out of the way.

Approved by:	secteam (gordon)
Sponsored by:	Dell EMC Isilon
Differential Revision:	https://reviews.freebsd.org/D13925
r328037 jhb Jan. 16, 2018, 1:21 a.m.
r328036 jhb Jan. 16, 2018, 1:05 a.m.
This works around a bug with X_COMPILER_TYPE and permits mips64 to build
again with in-tree gcc as well as clang and external gcc.

Sponsored by:	DARPA / AFRL
r328035 jhb Jan. 16, 2018, 12:47 a.m.
Move the 'X' and 'Y' entries into their sorted location in the list
of flags just above 'Z'.

Reviewed by:	bcr
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D13904
r328034 tuexen Jan. 15, 2018, 11:17 p.m.
wrong place in r327919.
r328033 tuexen Jan. 15, 2018, 11:12 p.m.
r328032 kevans Jan. 15, 2018, 10:24 p.m.
Provide a -j option that can take a jail name or id. If -j is specified,
check that the jail exists and proxy the service request through to
service(8) in the jail.

This allows for cleaner workflows when updating services in a jail, turning
the following:

pkg -j dns upgrade
jexec dns service named restart


pkg -j dns upgrade
service -j dns named restart

PR:		223325
Submitted by:	David O'Rourke (with slight changes)
MFC after:	2 weeks
r328031 imp Jan. 15, 2018, 10:17 p.m.
Reported by: andrew@
Sponsored by: Netflix
r328030 imp Jan. 15, 2018, 10:17 p.m.
is NULL. That's more correct and doesn't depend on the error behavior
of utf8_to_ucs2. In practice, we'll never see this though since we
pass utf8_to_ucs2 a well formed string.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D13918
r328029 imp Jan. 15, 2018, 10:17 p.m.
and utf8_to_ucs2, be sure to NULL out the return pointer too, rather
than return a pointer to free memory.

Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D13917
r328028 tuexen Jan. 15, 2018, 9:59 p.m.
in a recvmsg() call.

MFC after:	1 week