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().


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263257 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263259 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix spelling.

Reported by:	Kevin P. Neal <kpneal@pobox.com>


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263262 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make talk(1) capable of displaying UTF-8 characters.

Sponsored by:	Nginx, Inc.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263264 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Fix the paren nesting so that the network device is probed if the load
device type is either network or wildcard.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263265 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Line-wrapping tweak: make the sample jail command line fit in 80 characters.

MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263266 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263267 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263268 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263271 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
isci: Ensure ATA passthrough commands with RETURN_RESPONSE bit set
translate their response.

Sponsored by:	Intel
Discussed with:	scottl
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263275 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Base the max number of SG elements on MAXPHYS.

Sponsored by:	Intel
Discussed with:	scottl, emax
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263276 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263277 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
nvme:  NVMe specification dictates 4-byte alignment for PRPs (not 8).

Sponsored by:	Intel
MFC after:	3 days


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263278 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Implement apb_print_child().

Tested:

* AR9344, Atheros DB120 Reference board


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263279 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Notify vcpus participating in the rendezvous of the pending event to ensure
that they execute the rendezvous function as soon as possible.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263280 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
'pkg(8) add' has no internal restriction on number of packages.

Submitted by:	tj
MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263287 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove comment meant for removal in r263287

X-MFC-with:	263287


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263288 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263289 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
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.


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263290 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update USB template manual page.

MFC after:	1 week


git-svn-id: svn+ssh://svn.freebsd.org/base/head@263291 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f