In intr_event_handle() we already save and set td_intr_frame, so
don't do it also in ia64_handle_intr(). With ia64_handle_intr()
not saving and setting td_intr_frame, make sure to do it for
timer interrupts in ia64_ih_hardclock().
Add Tx/Rx multiqueue support to vmx(4)

As a prerequisite for multiple queues, the guest must have MSIX enabled.
Unfortunately, to work around device passthrough bugs, FreeBSD disables
MSIX when running as a VMWare guest due to the hw.pci.honor_msi_blacklist
tunable; this tunable must be disabled for multiple queues.

Also included is various minor changes from the projects/vmxnet branch.

MFC after:	1 month
Fix spelling.

Reported by:	Kevin P. Neal <kpneal@pobox.com>
Make talk(1) capable of displaying UTF-8 characters.

Sponsored by:	Nginx, Inc.
Fix the paren nesting so that the network device is probed if the load
device type is either network or wildcard.
Line-wrapping tweak: make the sample jail command line fit in 80 characters.

MFC after:	3 days
Cosmetic changes to printed output, mostly related to probing devices...

 - Display slice and partition as <auto> instead of 0 or -1 when they're
   not set to specific values (the paritition=-1 was confusing folks).
 - When loaderdev isn't set in the u-boot environment, say so rather
   than displaying unknown device ''.
 - Print the loader(8) ident/version info earlier, so that all device-
   related info appears together afterwards.

The one change here that isn't purely cosmetic is to call setheap()
earlier.  The comment says "Initialise heap as early as possible", now
that's more accurate.  It shouldn't make any functional difference, but
may be safer if future changes lead to trying to allocate memory earlier.
xen: fix usage of db_active in xen console

Replace usage of db_active in Xen console with kdb_active.

Reported by: Andrzej Tobola <ato@iem.pw.edu.pl>
Approved by: gibbs
Sponsored by: Citrix Systems R&D
share/man/man9/counter.9
	Fix logic error in the description of counter_u64_alloc: the command
	may fail only if M_NOWAIT is specified, not M_WAITOK.

Reviewed by:	glebius
MFC after:	2 weeks
Sponsored by:	Spectra Logic Corporation
isci: Ensure ATA passthrough commands with RETURN_RESPONSE bit set
translate their response.

Sponsored by:	Intel
Discussed with:	scottl
MFC after:	3 days
Base the max number of SG elements on MAXPHYS.

Sponsored by:	Intel
Discussed with:	scottl, emax
MFC after:	3 days
nvme: Remove the software progress marker SET_FEATURE command during
controller initialization.

The spec says OS drivers should send this command after controller
initialization completes successfully, but other NVMe OS drivers are
not sending this command.  This change will therefore reduce differences
between the FreeBSD and other OS drivers.

Sponsored by:	Intel
MFC after:	3 days
nvme:  NVMe specification dictates 4-byte alignment for PRPs (not 8).

Sponsored by:	Intel
MFC after:	3 days
Implement apb_print_child().

Tested:

* AR9344, Atheros DB120 Reference board
Notify vcpus participating in the rendezvous of the pending event to ensure
that they execute the rendezvous function as soon as possible.
'pkg(8) add' has no internal restriction on number of packages.

Submitted by:	tj
MFC after:	1 week
Remove comment meant for removal in r263287

X-MFC-with:	263287
Update NetBSD Foundation copyrights to 2-clause BSD

The NetBSD Foundation states "Third parties are encouraged to change the
license on any files which have a 4-clause license contributed to the
NetBSD Foundation to a 2-clause license."

This change removes clauses 3 and 4 from copyright / license blocks that
list The NetBSD Foundation as the only copyright holder.

Sponsored by:	The FreeBSD Foundation
When a vcpu is deactivated it must also unblock any rendezvous that may be
blocked on it.

This is done by issuing a wakeup after clearing the 'vcpuid' from 'active_cpus'.
Also, use CPU_CLR_ATOMIC() to guarantee visibility of the updated 'active_cpus'
across all host cpus.
Update USB template manual page.

MFC after:	1 week