]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/log
FreeBSD/stable/10.git
9 years agoMFC r267599:
bdrewery [Tue, 24 Jun 2014 15:57:48 +0000 (15:57 +0000)]
MFC r267599:

  - Add a LOCAL_ITOOLS to allow adding additional tools required for the
    installworld and distributeworld targets

PR: 179562

git-svn-id: svn://svn.freebsd.org/base/stable/10@267823 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267564:
kib [Tue, 24 Jun 2014 08:21:43 +0000 (08:21 +0000)]
MFC r267564:
In msdosfs_setattr(), add a check for result of the utimes(2) permissions test.
Refactor the permission checks for utimes(2).

git-svn-id: svn://svn.freebsd.org/base/stable/10@267816 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267704:
dim [Tue, 24 Jun 2014 06:12:11 +0000 (06:12 +0000)]
MFC r267704:

Pull in r211435 from upstream llvm trunk (by Benjamin Kramer):

  Legalizer: Add support for splitting insert_subvectors.

  We handle this by spilling the whole thing to the stack and doing the
  insertion as a store.

  PR19492. This happens in real code because the vectorizer creates
  v2i128 when AVX is enabled.

This fixes a "fatal error: error in backend: Do not know how to split
the result of this operator!" message encountered during compilation of
the net-p2p/libtorrent-rasterbar port.

Reported by: Evgeniy <iron@mail.ua>

MFC r267705:

Add the llvm patch for r267704.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267813 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r263795:
rodrigc [Mon, 23 Jun 2014 22:37:49 +0000 (22:37 +0000)]
MFC r263795:

Strict value checking will cause problem.
Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD.
This behaviour is bug-compatible with Linux-3.13.5.

References:
http://d.hatena.ne.jp/syuu1228/20140326
http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094

Submitted by: syuu
PR: 187966

git-svn-id: svn://svn.freebsd.org/base/stable/10@267809 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoUndo bad merge.
rodrigc [Mon, 23 Jun 2014 22:35:41 +0000 (22:35 +0000)]
Undo bad merge.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267808 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r263795:
rodrigc [Mon, 23 Jun 2014 22:31:28 +0000 (22:31 +0000)]
MFC r263795:

Strict value checking will cause problem.
Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD.
This behaviour is bug-compatible with Linux-3.13.5.

References:
http://d.hatena.ne.jp/syuu1228/20140326
http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094

Submitted by: syuu
PR: 187966

git-svn-id: svn://svn.freebsd.org/base/stable/10@267807 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267601:
pfg [Mon, 23 Jun 2014 15:03:51 +0000 (15:03 +0000)]
MFC r267601:

stdtime: style(9) fixes.

Obtained from: illumos

git-svn-id: svn://svn.freebsd.org/base/stable/10@267798 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267124, r267582:
emaste [Mon, 23 Jun 2014 13:50:02 +0000 (13:50 +0000)]
MFC r267124, r267582:

  Install VT support files

  They can be disabled by setting WITHOUT_VT_SUPPORT=yes in src.conf.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267797 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r267638
marius [Mon, 23 Jun 2014 08:32:36 +0000 (08:32 +0000)]
MFC: r267638

Don't denounce peripherals on system shutdown. Together with r267321
(MFCed to stable/10 in r267775), we're now back to the pre-r228483
level of default verbosity. This in turn again typically allows for
reading information that userland might have printed on the screen
before initiating a halt, but still permits to debug potential device
shutdown problems on system shutdown via CAM_DEBUG etc.

Reviewed by: mav
Sponsored by: Bally Wulff Games & Entertainment GmbH

git-svn-id: svn://svn.freebsd.org/base/stable/10@267778 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r267321
marius [Mon, 23 Jun 2014 08:27:15 +0000 (08:27 +0000)]
MFC: r267321

Avoid the USB device disconnected and controller shutdown clutter on system
shutdown by putting the former under !rebooting and turning the latter into
debug messages.

Reviewed by: hps
Sponsored by: Bally Wulff Games & Entertainment GmbH

git-svn-id: svn://svn.freebsd.org/base/stable/10@267775 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267254:
kib [Mon, 23 Jun 2014 08:08:22 +0000 (08:08 +0000)]
MFC r267254:
Make mmap(MAP_STACK) search for the available address space.

MFC r267497 (by alc):
Use local variable instead of sgrowsiz.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267772 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267688:
tuexen [Mon, 23 Jun 2014 07:58:41 +0000 (07:58 +0000)]
MFC r267688:

Fix a bug which incorrectly allowed two listening SCTP sockets on
the same port bound to the wildcard address.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267771 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267682:
tuexen [Mon, 23 Jun 2014 07:56:39 +0000 (07:56 +0000)]
MFC r267682:

Fix a bug in the setsockopt()-handling of the SCTP
specific option SCTP_PEER_ADDR_THLDS: Use the
provided address as intended.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267770 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267674:
tuexen [Mon, 23 Jun 2014 07:54:12 +0000 (07:54 +0000)]
MFC r267674:

Honor jails for unbound SCTP sockets when selecting source addresses,
reporting IP-addresses to the peer during the handshake, adding
addresses to the host, reporting the addresses via the sysctl
interface (used by netstat, for example) and reporting the
addresses to the application via socket options.
This issue was reported by Bernd Walter.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267769 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267689:
np [Mon, 23 Jun 2014 05:39:10 +0000 (05:39 +0000)]
MFC r267689:

Consider the total number of descriptors available (and not just those
that are ready to be reclaimed) when deciding whether to resume tx after
a stall.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267764 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267429:
mav [Sun, 22 Jun 2014 21:28:05 +0000 (21:28 +0000)]
MFC r267429:
Fix some leaks on LUN creation error.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267754 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267479:
mav [Sun, 22 Jun 2014 21:26:46 +0000 (21:26 +0000)]
MFC r267479:
Fix/improve fhe_stats sysctl output.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267753 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267351:
mav [Sun, 22 Jun 2014 21:21:27 +0000 (21:21 +0000)]
MFC r267351:
Move root_mount_hold() functionality to separate mutex.

It has nothing to share with mutex protecting list of mounted file systems.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267752 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267391:
mav [Sun, 22 Jun 2014 21:19:19 +0000 (21:19 +0000)]
MFC r267391:
Introduce new "256 Bucket" zone to split requests and reduce congestion
on "128 Bucket" zone lock.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267751 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267387:
mav [Sun, 22 Jun 2014 21:18:24 +0000 (21:18 +0000)]
MFC r267387:
Allocating new bucket for bucket zone, never take it from the zone itself,
since it will almost certanly fail.  Take next bigger zone instead.

This situation should not happen with original bucket zones configuration:
"32 Bucket" zone uses "64 Bucket" and vice versa.  But if "64 Bucket" zone
lock is congested, zone may grow its bucket size and start biting itself.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267750 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267392:
mav [Sun, 22 Jun 2014 21:16:18 +0000 (21:16 +0000)]
MFC r267392:
Implement simple direct-mapped cache for popular filesystem identifiers to
avoid congestion on global mountlist_mtx mutex in vfs_busyfs(), while
traversing through the list of mount points.

This change significantly improves NFS server scalability, since it had
to do this translation for every request, and the global lock becomes quite
congested.

This code is more optimized for relatively small number of mount points.
On systems with hundreds of active mount points this simple cache may have
many collisions.  But the original traversal code in that case should also
behave much worse, so we are not loosing much.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267749 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267362:
mav [Sun, 22 Jun 2014 21:14:34 +0000 (21:14 +0000)]
MFC r267362:
Remove unneeded mountlist_mtx acquisition from sync_fsync().

All struct mount fields accessed by sync_fsync() are protected by MNT_MTX.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267748 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267512:
pfg [Sun, 22 Jun 2014 20:29:51 +0000 (20:29 +0000)]
MFC r267512:

patch: add dry-run alias for compatibility with other implementations.

Other implementations of patch(1), including GNU patch and "svn patch"
have a --dry-run option which does the same as our -C or --check
option.

Add a new alias to make our implementation more compatible.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267747 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267490:
pfg [Sun, 22 Jun 2014 20:24:17 +0000 (20:24 +0000)]
MFC r267490:
patch: unsign the line length to avoid overflows.

Patch(1) uses a short int for the line length, which is usually
sufficient for regular diffs, but makes no effort to signal
when there is an overflow.

Change the line length to an unsigned short int to better use
the fact that a length is never negative.  The change is loosely
inspired on a related change in DragonFly, but we avoid spending
more memory than necessary.

While here adjust the messages to be clearer on what is happening.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267746 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267232, r267239:
mav [Sun, 22 Jun 2014 18:06:11 +0000 (18:06 +0000)]
MFC r267232, r267239:
Use atomics to modify numvnodes variable.

This allows to mostly avoid lock usage in getnewvnode_[drop_]reserve(),
that reduces number of global vnode_free_list_mtx mutex acquisitions
from 4 to 2 per NFS request on ZFS, improving SMP scalability.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267743 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267228:
mav [Sun, 22 Jun 2014 18:03:53 +0000 (18:03 +0000)]
MFC r267228:
Split RPC pool threads into number of smaller semi-isolated groups.

Old design with unified thread pool was good from the point of thread
utilization.  But single pool-wide mutex became huge congestion point
for systems with many CPUs.  To reduce the congestion create several
thread groups within a pool (one group for every 6 CPUs and 12 threads),
each group with own mutex.  Each connection during its registration is
assigned to one of the groups in round-robin fashion.  File affinify
code may still move requests between the groups, but otherwise groups
are self-contained.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267742 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267223:
mav [Sun, 22 Jun 2014 18:02:39 +0000 (18:02 +0000)]
MFC r267223:
Remove st_idle variable, duplicating st_xprt.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267741 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267221, r267278:
mav [Sun, 22 Jun 2014 18:01:40 +0000 (18:01 +0000)]
MFC r267221, r267278:
Introduce new per-thread lock to protect the list of requests.

This allows to slightly simplify svc_run_internal() code: if we processed
all the requests in a queue, then we know that new one will not appear.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267740 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267329:
tuexen [Sun, 22 Jun 2014 16:58:29 +0000 (16:58 +0000)]
MFC r267329:

Add support for the SCTP_LOCAL_TRACE_BUF options.
While there, fix some whitespaces.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267739 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267105:
tuexen [Sun, 22 Jun 2014 16:57:07 +0000 (16:57 +0000)]
MFC r267105:

Use ENOBUFS instead of ENOMEM in error situations related to m_uiotombuf().
This was suggested by kevlo@.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267737 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265691:
tuexen [Sun, 22 Jun 2014 16:54:59 +0000 (16:54 +0000)]
MFC r265691:

For some UDP packets (for example with 200 byte payload) and IP options,
the IP header and the UDP header are not in the same mbuf.
Add code to in_delayed_cksum() to deal with this case.

MFC r265713:

Use KASSERTs as suggested by glebius@

git-svn-id: svn://svn.freebsd.org/base/stable/10@267736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265455:
tuexen [Sun, 22 Jun 2014 16:50:46 +0000 (16:50 +0000)]
MFC r265455:

Remove unused code. This is triggered by the bugreport of Sylvestre Ledru
which deal with useless code in the user land stack:
https://bugzilla.mozilla.org/show_bug.cgi?id=1003929

git-svn-id: svn://svn.freebsd.org/base/stable/10@267735 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMerge r267482,r267483,r267486,r267577,r267671,r267672 from head:
gavin [Sun, 22 Jun 2014 16:48:21 +0000 (16:48 +0000)]
Merge r267482,r267483,r267486,r267577,r267671,r267672 from head:

  Remove send-pr and fix up all references to it.  Replace it with a
  stub send-pr directing people towards the web site.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267734 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264838:
tuexen [Sun, 22 Jun 2014 16:45:42 +0000 (16:45 +0000)]
MFC r264838:

Don't free an mbuf twice. This only happens in very rare error
cases where the peer sends illegal sequencing information in
DATA chunks for an existing association.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267733 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264704:
tuexen [Sun, 22 Jun 2014 16:43:59 +0000 (16:43 +0000)]
MFC r264704:

Add consistency checks to ensure that fragments of a user message
have the same U-bit.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267732 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264701:
tuexen [Sun, 22 Jun 2014 16:42:09 +0000 (16:42 +0000)]
MFC r264701:

Send also a packet containing an ABORT chunk in response to an OOTB packet
containing a COOKIE-ECHO chunk.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267731 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264682:
tuexen [Sun, 22 Jun 2014 16:40:36 +0000 (16:40 +0000)]
MFC r264682:

Use consistently debug output instead of an unconditional printf.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267730 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264679:
tuexen [Sun, 22 Jun 2014 16:38:06 +0000 (16:38 +0000)]
MFC r264679:

Send the correct error cause, when a DATA chunk with no user data
is received. This bug was reported by Irene Ruengeler.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267729 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264241:
tuexen [Sun, 22 Jun 2014 16:36:14 +0000 (16:36 +0000)]
MFC r264241:

Call sctp_addr_change() from rt_addrmsg() instead of rt_newaddrmsg_fib(),
since rt_addrmsg() gets also called from other functions.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267728 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r264017:
tuexen [Sun, 22 Jun 2014 16:34:27 +0000 (16:34 +0000)]
MFC r264017:

Increment the SSN only after processing the last fragment of an
ordered user message.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267726 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r263922:
tuexen [Sun, 22 Jun 2014 16:32:41 +0000 (16:32 +0000)]
MFC r263922:

Handle an edge case of address management similar to TCP.
This needs to be reconsidered when the address handling
will be reimplemented.
The patch is from rrs@.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267725 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r263921:
tuexen [Sun, 22 Jun 2014 16:30:52 +0000 (16:30 +0000)]
MFC r263921:

Use SCTP_OVER_UDP_TUNNELING_PORT more consistently.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267724 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r263237:
tuexen [Sun, 22 Jun 2014 16:28:52 +0000 (16:28 +0000)]
MFC r263237:

* Provide information in error causes in ASCII instead of
  proprietary binary format.
* Add support for a diagnostic information error cause.
  The code is sysctlable and the default is 0, which
  means it is not sent.

This is joint work with rrs@.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267723 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r263096:
tuexen [Sun, 22 Jun 2014 16:26:16 +0000 (16:26 +0000)]
MFC r263096:

Put the offset of the CRC32C in csum_data instead of 0.
The virtio driver needs the offset to be stored in csum_data,
like in the case for UDP and TCP.

The virtio problem was reported by
Niu Zhixiong <kaiaixi@gmail.com>, who helped in debugging
and testing the patch.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267722 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r263094:
tuexen [Sun, 22 Jun 2014 16:22:44 +0000 (16:22 +0000)]
MFC r263094:

SCTP uses CRC32C and not Adler anymore. While there change the reference
to RFC 4960.
This does not change any code, just comments.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267721 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r262252:
tuexen [Sun, 22 Jun 2014 16:21:14 +0000 (16:21 +0000)]
MFC r262252:

Remove redundant code and fix a style error.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267720 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267492:
kib [Sun, 22 Jun 2014 08:32:31 +0000 (08:32 +0000)]
MFC r267492:
Fix some cosmetic issues with the use of kmem_malloc() in the i386 LDT
sysarch(2) code.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267714 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267255:
kib [Sun, 22 Jun 2014 08:30:43 +0000 (08:30 +0000)]
MFC r267255:
Change the nblock mutex to rwlock.

MFC r267264:
Devolatile as needed.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267713 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267426, r267464:
pfg [Sat, 21 Jun 2014 01:48:45 +0000 (01:48 +0000)]
MFC r267426, r267464:

Avoid zeroing during allocation.

This change reverts a change from OpenBSD which made use of
calloc, and therefore wasted time initializing arrays that
will later be realloc'ed.

Consistently use FreeBSD's reallocf():
- Drop some bogus casts to size_t.
- The new_p_foo variables are not needed anymore.

Also merge the changes from OpenBSD's manpage
patch.1 Rev 1.27:
"patch was moved from user portability (UP) to base in issue 7
and is no longer optional"

git-svn-id: svn://svn.freebsd.org/base/stable/10@267701 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267600:
np [Sat, 21 Jun 2014 00:30:51 +0000 (00:30 +0000)]
MFC r267600:

cxgbe(4):  Fix bug in the fast rx buffer recycle path.  In some cases rx
buffers were getting recycled when they should have been left alone.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267694 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoUpdate list of SAs on the 10.0R errata page.
gjb [Fri, 20 Jun 2014 20:17:03 +0000 (20:17 +0000)]
Update list of SAs on the 10.0R errata page.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267687 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267544:
pfg [Fri, 20 Jun 2014 15:43:58 +0000 (15:43 +0000)]
MFC r267544:

Update license to strptime(3) implementation.

Our strptime(3) implementation was the base for the illumos
implementation and after contacting the author, Kevin Rudy
stated the code is under a 2-Clause BSD License [1]

After reviewing our local changes to the file in question,
the FreeBSD Foundation has agreed that their contributions
to this file are not required to carry clause 3 or 4 so
the file can be relicensed as in Illumos [2].

References:

[1] https://www.illumos.org/issues/357
[2] Illumos Revision: 13222:02526851ba75

Approved: core (jhb)
Approved: FreeBSD Foundation (emaste)

git-svn-id: svn://svn.freebsd.org/base/stable/10@267677 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267513:
pfg [Fri, 20 Jun 2014 15:40:13 +0000 (15:40 +0000)]
MFC r267513:

Merge from r258379 missed the tests.

4248 dtrace(1M) should never create DOF with empty probes section
4249 Only probes from the first DTrace object file will be included

Illumos Revision: 54a20ab41aadcb81c53e72fc65886e964e9add59

git-svn-id: svn://svn.freebsd.org/base/stable/10@267676 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267441:
tijl [Fri, 20 Jun 2014 07:35:55 +0000 (07:35 +0000)]
MFC r267441:

Don't install GSS-API headers when the GSSAPI option has been disabled.
Some ports assume GSS-API is supported when they find the headers.

PR: 189156
Submitted by: Garrett Cooper <yanegomi@gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/10@267666 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267436-267439:
tijl [Fri, 20 Jun 2014 07:32:03 +0000 (07:32 +0000)]
MFC r267436-267439:

- Replace malloc+memset with calloc.
- iconv_open(3): initialise ci_ilseq_invalid field of _citrus_iconv_shared
  struct after allocation with malloc.
- iconvlist(3): reduce a memory leak by copying strings only once.
- iconv(1):
  - Make invalids variable local to do_conv such that it prints the number
    of invalid characters of the current file instead of an accumulated
    value.
  - Make do_conv return an error when invalid characters have been found.
    Return EXIT_FAILURE from main if any file contained invalid characters.
    This matches the behaviour of GNU iconv.
  - Mark usage with __dead2 attribute.
  - Make the long_options array const.

Tested by: Pavel Timofeev <timp87@gmail.com>

git-svn-id: svn://svn.freebsd.org/base/stable/10@267665 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r261270:
n_hibma [Wed, 18 Jun 2014 22:09:33 +0000 (22:09 +0000)]
MFC r261270:

Fix the ordering of the arguments to printf in
uhub_child_location_string(). This produced bogus information in

        dev.<USB driver>.<id>.%location

output from sysctl.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267621 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267342:
jimharris [Wed, 18 Jun 2014 19:32:38 +0000 (19:32 +0000)]
MFC r267342:

  Use bitwise OR instead of logical OR when constructing value for
  SET_FEATURES/NUMBER_OF_QUEUES command.

Sponsored by: Intel

git-svn-id: svn://svn.freebsd.org/base/stable/10@267620 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267062:
kib [Wed, 18 Jun 2014 05:35:09 +0000 (05:35 +0000)]
MFC r267062:
Disable existing uncore hwpmc code for Nehalem and Westmere EX.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267602 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266901
neel [Tue, 17 Jun 2014 21:49:03 +0000 (21:49 +0000)]
MFC r266901
Allocate a zeroed LDT.
Failing to do this might result in the LDT appearing to run out of free
descriptors because of random junk in the descriptor's 'sd_type' field.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267598 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoDrop 'Inc.' for consistency.
gjb [Tue, 17 Jun 2014 21:09:03 +0000 (21:09 +0000)]
Drop 'Inc.' for consistency.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267596 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoCorrect the spelling of iXsystems.
gjb [Tue, 17 Jun 2014 21:07:34 +0000 (21:07 +0000)]
Correct the spelling of iXsystems.

Submitted by: delphij
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267594 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoAdd sponsorship attributions for stable/10.
gjb [Tue, 17 Jun 2014 20:32:36 +0000 (20:32 +0000)]
Add sponsorship attributions for stable/10.
Add iX and Netflix to the sponsors.ent file.

This is a direct commit to stable/10.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267593 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265590, r265594, r265595, r265599 [1], r265601 [1],
gjb [Tue, 17 Jun 2014 20:08:17 +0000 (20:08 +0000)]
MFC r265590, r265594, r265595, r265599 [1], r265601 [1],
r265602 [1], r265603 [1], r265605 [1], r265607 [1],
r267554 [1]:

r265590:
  Modify release.xsl to allow proper attribution for
  sponsored and/or contributed works.

r265594:
  Add two new entity files in followup to r265590,
  sponsor.ent and vendor.ent, which will be used for
  sponsor/vendor names and URLs.

r265595:
  Add references to sponsor.ent and vendor.ent in
  relnotes/article.xml and share/xml/catalog.xml.

r265599:
  Add DARPA, AFRL to sponsor.ent.

r265601:
  Add LSI and Spectra Logic to sponsor.ent.

r265602:
  Add Netgate to sponsor.ent.

r265603:
  Add a note to keep the entity lists sorted alphabetically.

r265605:
  Add Google to the sponsor.ent file.

r265607:
  Separate &darpa; entity and create &darpa_afrl to
  avoid confusion.

r267554:
  Add &citrix; and &citrix.rd; macros.

[1] - Partial, entity addition only.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267592 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266007:
trasz [Tue, 17 Jun 2014 13:14:31 +0000 (13:14 +0000)]
MFC r266007:

Initialize loginclass mutex using MTX_SYSINIT instead of using SI_SUB_CPU.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267579 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r267478
brueffer [Tue, 17 Jun 2014 08:56:16 +0000 (08:56 +0000)]
MFC: r267478

MFp4: change 1191346

In print_header32_tok(), correct printing in the XML case.  This lead to
invalid XML files before.

PR: 176259
Submitted by: zi

git-svn-id: svn://svn.freebsd.org/base/stable/10@267573 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267029, r267038:
mav [Tue, 17 Jun 2014 08:09:40 +0000 (08:09 +0000)]
MFC r267029, r267038:
Replace gethrtime() with cpu_ticks(), as source of random for the taskqueue
selection.  gethrtime() in our port updated with HZ rate, so unusable for
this specific purpose, completely draining benefit of multiple taskqueues.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267571 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267313:
bryanv [Tue, 17 Jun 2014 05:24:45 +0000 (05:24 +0000)]
MFC r267313:

  Always append new bios to the tail of the queue, instead of sorting them

git-svn-id: svn://svn.freebsd.org/base/stable/10@267562 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoRevert MFC r266925 because it can lead to instant panic at fexecve():
dchagin [Tue, 17 Jun 2014 05:21:48 +0000 (05:21 +0000)]
Revert MFC r266925 because it can lead to instant panic at fexecve():

To allow to run interpreter itself add a new ELF branding type.

Pointed out by: kib, mjg

git-svn-id: svn://svn.freebsd.org/base/stable/10@267561 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: 266838 266841 267194
ray [Mon, 16 Jun 2014 12:37:10 +0000 (12:37 +0000)]
MFC: 266838 266841 267194
  Add gallant vt(4) font as an example of font loading for vt(4).
  Add Ukranian vt(4) keymaps as an example.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267541 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: 266836, 266839
ray [Mon, 16 Jun 2014 11:51:00 +0000 (11:51 +0000)]
MFC: 266836, 266839
vt(4) support for vidcontrol(1).
  o Teach vidcontrol(1) how to load vt(4) font.
  o Teach vidcontrol(1) to distinct which virtual terminal system is running now.
  o Load vt(4) fonts from different location.
  o Add $FreeBSD$ tag for path.h.
vt(4) support for kbdcontrol(1).
  Enable kbdcontrol(1) to use maps from vt(4) keymaps dir /usr/share/vt/keymaps
  if vt(4) is present.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267540 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoRecord merginfo for r267538.
ray [Mon, 16 Jun 2014 11:42:19 +0000 (11:42 +0000)]
Record merginfo for r267538.

Pointy hat to: ray
Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267539 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 262785 263183 264182 264999 265391 265392 265395 265397 265398 265402 265403
ray [Mon, 16 Jun 2014 11:26:30 +0000 (11:26 +0000)]
MFC 262785 263183 264182 264999 265391 265392 265395 265397 265398 265402 265403
    265442 265546 265680 265681 265719 265862 265864 265867 265927 266010 266495
    266540 266835 266856 266861 266862 267007 267310.

265391
  Define a new method for probing vt(4) driver before attach it at early stage.
265392
  Create dataset for vt(4) drivers.
265395
  Set of updates to vt(4) core part.
  o Declare vt(4) drivers dataset.
  o Create single static structures for all early drivers.
  o Add vt(4) to be by default in the kernel consoles list.
  o Create one more sysinit point, to be able to initialize memory and lock
   requirement of early drivers.
  o Implement early drivers select. (Only best available will be selected).
  o Fix one missed "return (0)" for VTYLOCK.
  o Improve locking for cases when one driver replace another.
  o Make driver replacement notification less debug-look-like.
  o Minor spell fixes.
265397
  Switch fb and efifb drivers to use names and new vt(4) driver probe method.
265398
  Add vt(4) driver name for ofwfb driver.
265402
  Revert r264997 and r265026. It is not required anymore.
265403
  Switch vga drivers to use names and new vt(4) driver probe method.
265442
  Implement KDMKTONE ioctl.
265546
  Fix possible divide by zero.
265680
  No need to assign fields required and checked on probe.
265681
  Fix scrollback.
265719
  Hide debug messages under VT_DEBUG.
265927
  Update terminal sizes in any case when new vt(4) driver arrive.
  (Plus remove one unused newline)
266010
  Remove extra newlines.
  No functional changes.
266495
  Fix tty locking.
  o Correct expected values for VT_LOCKSWITCH ioctl.
  o Check current window for locked state.
266540
  Proper fix of VT_LOCKSWITCH ioctl.
266835
  Remove driver as unused.
267007
  Fix case when vt(4) started w/o driver assigned.
  o Always init locks and cv ASAP.
  o Initialize driver-independent parts even if driver probing fail.
  o Allow to call vt_upgrade anytime, for later loaded drivers.
  o New window flag VWF_READY, to track if window already initialized.
  Other updates:
  o Pass vd as a cookie for kbd_allocate.
  o Do not blank window on driver replacement.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267538 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267395:
hselasky [Sun, 15 Jun 2014 18:32:02 +0000 (18:32 +0000)]
MFC r267395:
- Fix out of range shifting bug in bitops.h.
- Make code a bit easier to read by adding parenthesis.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267517 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267227:
kib [Sun, 15 Jun 2014 05:17:40 +0000 (05:17 +0000)]
MFC r267227:
Remove write-only local variable.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267495 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267226:
kib [Sun, 15 Jun 2014 05:15:38 +0000 (05:15 +0000)]
MFC r267226:
Initialize the pbuf counter for directio using SYSINIT.
Mark ffs_rawread.c as requiring both ffs and directio options to be
compiled into the kernel.  Add ffs_rawread.c to the list of ufs.ko
module' sources.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267494 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC of 267473,tzdata2014e
edwin [Sat, 14 Jun 2014 11:46:22 +0000 (11:46 +0000)]
MFC of 267473,tzdata2014e

Fix historical data for Egypt.
Better prediction for future Egypt / Morocco changes.
Update to Cocos / Cook islands.
Fix historical data for Russia.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267477 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267335:
dim [Sat, 14 Jun 2014 11:20:41 +0000 (11:20 +0000)]
MFC r267335:

In some scenarios, when generating llvm/clang .inc.h files, multiple
source files could be passed to tblgen or clang-tblgen, leading to a
"Too many positional arguments specified" error message.  Fix this by
replacing the too-generic ${.ALLSRC} sources with explicit paths.

Reported by: rysto32@gmail.com, rodrigc

git-svn-id: svn://svn.freebsd.org/base/stable/10@267470 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r266865;
pfg [Sat, 14 Jun 2014 02:57:40 +0000 (02:57 +0000)]
MFC r266865;

Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance.

POSIX.1-2008 specifies that those two functions should be declared by
including <strings.h>, not <string.h> (the latter only has strcoll_l()
and strxfrm_l()):

http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html

Bump __FreeBSD_version for ports that may be using the non-standard
reference.

Obtained from: DragonFlyBSD
Reviewed by: theraven

git-svn-id: svn://svn.freebsd.org/base/stable/10@267465 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267368:
delphij [Sat, 14 Jun 2014 00:44:57 +0000 (00:44 +0000)]
MFC r267368:

Apply vendor fixes to the High Point drivers:

 - Don't call xpt_free_path() in os_query_remove_device() and
   always return TRUE.
 - Update os_buildsgl() to support build logical SG table which
   will be used by lower RAID module.
 - Return CAM_SEL_TIMEOUTstatus for SCSIcommand failed as target
   missing.

Many thanks to HighPoint for providing this driver update.

Submitted by: Steve Chang
Reviewed by: mav

git-svn-id: svn://svn.freebsd.org/base/stable/10@267457 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 262744:
jhb [Fri, 13 Jun 2014 21:30:40 +0000 (21:30 +0000)]
MFC 262744:
Add SMBIOS support.

A new option, -U, can be used to set the UUID in the System
Information (Type 1) structure.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267450 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 262139,262140,262236,262281,262532:
jhb [Fri, 13 Jun 2014 19:10:40 +0000 (19:10 +0000)]
MFC 262139,262140,262236,262281,262532:
Various x2APIC fixes and enhancements:
- Use spinlocks for the vioapic.
- Handle the SELF_IPI MSR.
- Simplify the APIC mode switching between MMIO and x2APIC.  The guest is
  no longer allowed to switch modes at runtime.  Instead, the desired mode
  is set when the virtual machine is created.
- Disallow MMIO access in x2APIC mode and MSR access in xAPIC mode.
- Add support for x2APIC virtualization assist in Intel VT-x.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267447 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267174:
bdrewery [Fri, 13 Jun 2014 15:04:21 +0000 (15:04 +0000)]
MFC r267174:

  Fix some rpcgen sample file issues.

PR: 185582

git-svn-id: svn://svn.freebsd.org/base/stable/10@267444 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267162: ktrace: Use designated initializers for the data_lengths array.
jilles [Fri, 13 Jun 2014 12:39:06 +0000 (12:39 +0000)]
MFC r267162: ktrace: Use designated initializers for the data_lengths array.

In the .o file, this only changes some line numbers (stable/10 amd64)
because element 0 is no longer explicitly initialized.

This should make bugs like FreeBSD-SA-14:12.ktrace less likely.

Discussed with: des

git-svn-id: svn://svn.freebsd.org/base/stable/10@267443 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC: r267185
brueffer [Fri, 13 Jun 2014 12:01:55 +0000 (12:01 +0000)]
MFC: r267185

Minor improvements.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267442 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r263191:
hselasky [Fri, 13 Jun 2014 07:33:43 +0000 (07:33 +0000)]
MFC r263191:
Add libusb_log_level enum.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267435 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 262615,262624:
jhb [Thu, 12 Jun 2014 21:36:17 +0000 (21:36 +0000)]
MFC 262615,262624:
Workaround an apparent bug in VMWare Fusion's nested VT support where it
triggers a VM exit with the exit reason of an external interrupt but
without a valid interrupt set in the exit interrupt information.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267428 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 261638,262144,262506,266765:
jhb [Thu, 12 Jun 2014 19:58:12 +0000 (19:58 +0000)]
MFC 261638,262144,262506,266765:
Add virtualized XSAVE support to bhyve which permits guests to use XSAVE and
XSAVE-enabled features like AVX.
- Store a per-cpu guest xcr0 register and handle xsetbv VM exits by emulating
  the instruction.
- Only expose XSAVE to guests if XSAVE is enabled in the host.  Only expose
  a subset of XSAVE features currently supported by the guest and for which
  the proper emulation of xsetbv is known.  Currently this includes X87, SSE,
  AVX, AVX-512, and Intel MPX.
- Add support for injecting hardware exceptions into the guest and use this
  to trigger exceptions in the guest for invalid xsetbv operations instead
  of potentially faulting in the host.
- Queue pending exceptions in the 'struct vcpu' instead of directly updating
  the processor-specific VMCS or VMCB. The pending exception will be delivered
  right before entering the guest.
- Rename the unused ioctl VM_INJECT_EVENT to VM_INJECT_EXCEPTION and restrict
  it to only deliver x86 hardware exceptions. This new ioctl is now used to
  inject a protection fault when the guest accesses an unimplemented MSR.
- Expose a subset of known-safe features from leaf 0 of the structured
  extended features to guests if they are supported on the host including
  RDFSBASE/RDGSBASE, BMI1/2, AVX2, AVX-512, HLE, ERMS, and RTM.  Aside
  from AVX-512, these features are all new instructions available for use
  in ring 3 with no additional hypervisor changes needed.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267427 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoFix a typo in note for r266890, pmcstat(8)
gjb [Thu, 12 Jun 2014 17:21:11 +0000 (17:21 +0000)]
Fix a typo in note for r266890, pmcstat(8)

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267421 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 266263,266551,266552:
jhb [Thu, 12 Jun 2014 17:15:56 +0000 (17:15 +0000)]
MFC 266263,266551,266552:
- Add definitions for more structured extended features as well as
  XSAVE Extended Features for AVX512 and MPX (Memory Protection Extensions).
- Don't permit users to request a subset of the AVX512 or MPX xsave masks.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267418 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267326, r267327:
gjb [Thu, 12 Jun 2014 17:13:35 +0000 (17:13 +0000)]
MFC r267326, r267327:

r267326:
  Add empty pkg-stage file to CLEANFILES if WITH_DVD=1.

r267327:
  Fix indentation level.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267417 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoUndo incorrect mergeinfo from r267410
emaste [Thu, 12 Jun 2014 17:06:50 +0000 (17:06 +0000)]
Undo incorrect mergeinfo from r267410

Suggested by: gjb

git-svn-id: svn://svn.freebsd.org/base/stable/10@267414 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoDocument r266890, pmcstat(8) '-l' flag.
gjb [Thu, 12 Jun 2014 16:55:04 +0000 (16:55 +0000)]
Document r266890, pmcstat(8) '-l' flag.

Sponsored by: The FreeBSD Foundation

git-svn-id: svn://svn.freebsd.org/base/stable/10@267413 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r265798, r265815 by wblock:
emaste [Thu, 12 Jun 2014 16:41:52 +0000 (16:41 +0000)]
MFC r265798, r265815 by wblock:

  Add a man page for the new vt.4 device.

  Fix document title.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267410 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267090:
wblock [Thu, 12 Jun 2014 15:46:24 +0000 (15:46 +0000)]
MFC r267090:

Correct the document date for last change.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267402 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 262311: Fix virtio spec URL.
jhb [Thu, 12 Jun 2014 15:24:33 +0000 (15:24 +0000)]
MFC 262311: Fix virtio spec URL.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267401 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 261504:
jhb [Thu, 12 Jun 2014 15:20:59 +0000 (15:20 +0000)]
MFC 261504:
Add support for FreeBSD/i386 guests under bhyve.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267399 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 261503,264501:
jhb [Thu, 12 Jun 2014 13:48:52 +0000 (13:48 +0000)]
MFC 261503,264501:
Emulate the byte move and zero/sign extend instructions.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267396 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 261229:
jhb [Thu, 12 Jun 2014 13:17:11 +0000 (13:17 +0000)]
MFC 261229:
o Fix typo, sort .Xrs.

PR: docs/186191

git-svn-id: svn://svn.freebsd.org/base/stable/10@267394 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC 260239,261268,265058:
jhb [Thu, 12 Jun 2014 13:13:15 +0000 (13:13 +0000)]
MFC 260239,261268,265058:
Expand the support for PCI INTx interrupts including providing interrupt
routing information for INTx interrupts to I/O APIC pins and enabling
INTx interrupts in the virtio and AHCI backends.

git-svn-id: svn://svn.freebsd.org/base/stable/10@267393 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

9 years agoMFC r267252, r267253:
bryanv [Thu, 12 Jun 2014 04:47:14 +0000 (04:47 +0000)]
MFC r267252, r267253:

  - Remove an unnecessary variable reassignment
  - Fix TSO support on VMware Fusion

git-svn-id: svn://svn.freebsd.org/base/stable/10@267382 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f