MFC r256745:

MFP4:
Change 227630 by bz@bz_zenith on 2013/04/12 08:50:27

	Implement soft reset setting sr in sr and just in case loop
	endlessly afterwards.

Sponsored by:	DARPA/AFRL
MFC 259782:
Add a resume hook for bhyve that runs a function on all CPUs during
resume.  For Intel CPUs, invoke vmxon for CPUs that were in VMX mode
at the time of suspend.
MFC r256945:

MFP4:
Change 221669 by bz@bz_zenith on 2013/02/01 12:26:04

	Run the initialization for polling earlier along with INTRs
	so that we can put network interface into polling mode by default
	if DEVICE_POLLING is compiled in and no interrupts are available.

Sponsored by:	DARPA/AFRL
MFC r256937:

MFP4:
Change 231031 by brooks@brooks_zenith on 2013/07/11 16:22:08

	Turn the unused and uncompilable MIPS_DISABLE_L1_CACHE define in
	cache.c into an option and when set force I- and D-cache line
	sizes to 0 (the latter part might be better as a tunable).

	Fix some casts in an #if 0'd bit of code which attempts to
	disable L1 cache ops when the cache is coherent.

Sponsored by:	DARPA/AFRL
MFC r256939

MFP4:
Change 221767 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/02/05 14:18:53

	When printing out information on a TLB MOD exception for a user
	process (e.g., an attempt to write to a read-only page), report
	it as a "write" in the console message, rather than "unknown".

Change 221768 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/02/05 14:28:00

	Fix post-compile but pre-commit typo in last changeset.

Sponsored by:	DARPA/AFRL
Update EINVAL description.
MFC r261084:
  malloc() with M_WAITOK doesn't return NULL.

MFC r261085:
  Fix typo in r261084.
  Add to the gctl_error() an ability to specify error description even
  if numeric error code is already specified. Also by default set
  error code to EINVAL.

  PR:		185852

MFC r261086:
  In gctl_copyin() remove unused error variable.
  geom_alloc_copyin() can't return ENOMEM, so describe its fail as bad
  control request. Add check for NULL pointer in gctl_dump(), since it
  can be NULL when geom_alloc_copyin() failed.

MFC r261089:
  Remove another unneeded NULL check from geom_alloc_copyin().
  Do copyout in case of gctl version mismatch and fix sbuf leak in
  g_ctl_ioctl_ctl().

MFC r261091:
  Always free sbuf in gctl_free().