194772 Commits

Author SHA1 Message Date
jhb
a6891855d7 MFC 261512,261514:
- Partially revert r52493 and change client side interval statistics to
  report the actual number of RPCs issued, not the theoretical number
  that would be issued if all caching was disabled.
- Use the DELTA() macro to tidy the server-side interval stats code a bit.
2014-02-19 19:28:49 +00:00
jhb
459448a934 MFC 261780:
Expose OBJT_MGTDEVICE VM objects used for GEM/TTM with drm2 as an
explicit object type.
2014-02-19 19:11:14 +00:00
jhb
f840747a6b MFC 261607:
Mark the I/O ports used by the bhyve console and debug devices as system
resources.
2014-02-19 18:36:53 +00:00
jhb
169a4e8371 MFC 261524,261526,261527:
- Properly set the alignment flags when allocating the initial range for a
  BAR.  This only really matters when pci_do_realloc_bars is enabled and
  the initial allocation of a specific range fails.
- Simplify pci_reserve_map() by calling resource_list_reserve() to allocate
  the resource after creating a resource list entry rather than reimplementing
  it by hand.
- Add two tunables to ignore certain firmware-assigned resources.  These
  are mostly useful for debugging.
  - hw.pci.clear_bars ignores all firmware-assigned ranges for BARs when
    set.
  - hw.pci.clear_pcib ignores all firmware-assigned ranges for PCI-PCI
    bridge I/O windows when set.
2014-02-19 18:34:47 +00:00
luigi
690ab44de3 allow building without INET 2014-02-19 08:15:09 +00:00
dim
a406a87ade MFC r261977:
In sys/dev/usb/controller/musb_otg.c, fix a warning about musbotg_odevd
being unused, by adding it to the part that handles getting descriptors.

Reviewed by:	hselasky
2014-02-19 08:05:42 +00:00
dim
d3f2366e84 MFC r261916:
In sys/dev/xen/console/console.c, #if 0 an unused static function.
2014-02-19 07:59:50 +00:00
dim
4c23858008 MFC r261914:
In sys/fs/nandfs/nandfs_vfsops.c, #if 0 an unused static function.
2014-02-19 07:55:28 +00:00
dim
591aab5d2a MFC r261915:
Under sys/netpfil/ipfw, surround two IPv6-specific static functions with
#ifdef INET6, since they are unused when INET6 is disabled.
2014-02-19 07:51:58 +00:00
jhb
5b0bab6d24 MFC 261517,261520:
Convert the license on files where I am the sole copyright holder to
2 clause BSD licenses.
2014-02-18 20:27:17 +00:00
jhb
efa52be477 MFC 261518:
- Update a few places to account for va_copy().
- Create a separate 'return values' section and move some statements about
  return values to that section.
- Note that each invocation of va_start() and va_copy() must be paired with
  va_end() in the same function.
2014-02-18 20:16:32 +00:00
avg
db526c6842 MFC r259052: Expose spa_asize_inflation 2014-02-18 15:39:59 +00:00
mav
afa027f3f5 MFC r260236:
In dmu_zfetch_stream_reclaim() replace division with multiplication and
move it out of the loop and lock.
2014-02-18 14:56:44 +00:00
luigi
c9f2fff1da missing files from previous commit... 2014-02-18 05:46:19 +00:00
luigi
5bacc3bb87 MFH: sync the netmap code with the one in HEAD
(enhanced VALE switch, netmap pipes, emulated netmap mode).
See details in the log for svn 261909.
2014-02-18 05:01:04 +00:00
wblock
dd5bb071cd MFC r261895:
Remove mention of minimum password length and upper/lower case checking,
patch supplied by Allan Jude <freebsd@allanjude.com>.  Add xref to
pam_passwdqc(8), where that testing is now done.
2014-02-18 03:39:20 +00:00
wblock
13fea399b5 MFC r261800:
Remove obsolete vnode(9) man page references.
2014-02-18 03:33:51 +00:00
jhb
8e8bf4982f MFC 259140:
Move constants for indices in the local APIC's local vector table from
apicvar.h to apicreg.h.
2014-02-18 01:15:32 +00:00
markj
a3fafc30d3 MFC r258036:
Add IDs for the ASIX 88179 and 88178A USB to GigE adapters.

MFC r258331:
Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet
adapters. Both devices support Gigabit Ethernet and USB 2.0, and the AX88179
supports USB 3.0.

MFC r258617 (by lwhsu):
Also note to add xhci(4) to kernel configuration to utilize USB 3.0

MFC r258618 (by lwhsu):
Mention axge(4)
2014-02-17 22:40:05 +00:00
jhb
6e1e8b0ada MFC 260926:
Add support for displaying VPD for PCI devices via pciconf.
- Store the length of each read-only VPD value since not all values are
  guaranteed to be ASCII values (though most are).
- Add a new pciio ioctl to fetch VPD for a single PCI device.  The values
  are returned as a list of variable length records, one for the device
  name and each keyword.
- Add a new -V flag to pciconf's list mode which displays VPD data for
  each device.
2014-02-17 22:19:49 +00:00
dim
547b2fb503 MFC r261907:
In cxgbe, conditionalize the t4_pgprot_wc() function, since it is only
used when DOT5 is defined.

Reviewed by:	np
2014-02-17 20:45:39 +00:00
dim
28dda36c5e MFC r261903:
Disable warning about unused static const variables for sys/pci/ncr.c.
2014-02-17 20:37:15 +00:00
dim
427b51912c MFC r261902:
In r260111, in sys/conf/files, I disabled warning about unused functions
for the wrong mcg.c, the one in ofed/drivers/infiniband/hw/mlx4.
Disable the warning for ofed/drivers/net/mlx4/mcg.c instead.
2014-02-17 20:31:54 +00:00
dim
28bc8939f8 MFC r261896:
After r251709, avoid a clang 3.4 warning about an unused static const
variable (uma_max_ipers), when asserts are disabled.

Reviewed by:	glebius
2014-02-17 20:25:17 +00:00
dim
7e788192f1 MFC r261899:
Similar to r260026, disable warning about unused functions for
ieee80211_adhoc.c, ieee80211_hostap.c and ieee80211_sta.c.
2014-02-17 20:19:34 +00:00
mav
3a850f3c10 MFC r260486:
Remove very low default limit of 4 nfsd threads.  nfsd's own default is
8 * hw.ncpu, that sounds more appropriate for these SMP/NCQ/... days.
2014-02-17 20:04:16 +00:00
avg
489e919946 MFC r260185: MFV r260155: 4391 panic system rather than corrupting pool if we hit bug 4390 2014-02-17 18:25:41 +00:00
avg
b0a4129370 MFC r260835: MFV r260834: Fix memory leak of compressed buffers in l2arc_write_done 2014-02-17 18:16:25 +00:00
avg
c448604d7f MFC r260704,260717: zfs: getnewvnode_reserve must be called outside of a
zfs transaction
2014-02-17 18:00:24 +00:00
avg
f48946d7a0 MFC r260812: traverse_visitbp: visit DMU_GROUPUSED_OBJECT before DMU_USERUSED_OBJECT 2014-02-17 17:51:50 +00:00
avg
444af87821 MFC r260811: zdb -R: do not treat numeric parameters to a flag as more flags 2014-02-17 17:48:38 +00:00
avg
e67db98e94 MFC r260703: zinject must use ioctl(2) compatibility wrapper 2014-02-17 17:46:15 +00:00
avg
1aeb2280bb MFC r260706: zfs_deleteextattr: name buffer from namei is needed by zfs_remove 2014-02-17 17:27:52 +00:00
avg
51714698c3 MFC r258717: MFV r258371,r258372: 4101 metaslab_debug should allow for
fine-grained control
2014-02-17 17:11:38 +00:00
bdrewery
92000681d7 MFC r261401:
Fix newsyslog(8) to use the size of the file instead of the blocks it
  takes on disk, as advertised in newsyslog.conf(5).

Approved by:	bapt (mentor, implicit)
2014-02-17 15:57:16 +00:00
avg
370f4beb8b MFC r258715: opensolaris compat: add taskq_wait emulation 2014-02-17 15:38:10 +00:00
avg
6f834c6747 MFC r261122: dtrace: remove unexplained 16MB limitation from dt_alloc/dt_zalloc 2014-02-17 15:35:11 +00:00
avg
22073dc5fc MFC r258713,262062: add taskqueue_drain_all 2014-02-17 15:32:08 +00:00
markj
9a6dcea530 MFC r260051:
When clearing relocations to __dtrace* symbols, handle both SHT_REL and
SHT_RELA sections properly instead of assuming that the relocation section
is of type SHT_REL.
2014-02-17 14:51:02 +00:00
avg
cc43c81b03 MFC r258625: sdt: add support for solaris/illumos style DTRACE_PROBE macros
Note: in head KDTRACE_HOOKS is defined in opt_global.h and thus there is
no need to explicitly include any header to check that option.
In this branch we have to include opt_kdtrace.h and, so, this commit
carries additional changes to accomodate for that difference.

Sponsored by:	HybridCluster
2014-02-17 14:47:52 +00:00
avg
ad9d45d427 MFC r260132: Allocate the probe ID unrhdr before the DTrace kld_* event
handlers are registered
2014-02-17 13:36:35 +00:00
avg
5add2c7be7 MFC r258291: change the ioctl definition so that the fasttrap ioctl
handler is responsible for copying in userland data
2014-02-17 13:11:15 +00:00
avg
3321f13499 MFC r257679: Use suword32 and suword64 instead of copyout(9) in fasttrap 2014-02-17 13:08:20 +00:00
avg
0c979fc23f MFC r257143: Fix a couple of bugs in the fasttrap emulation of a "push %rbp" 2014-02-17 13:02:09 +00:00
avg
b46715eb45 MFC r257417: Remove references to an unused fasttrap probe hook 2014-02-17 12:57:13 +00:00
avg
1e63cd3ce5 MFC r257152: Do some cleanup of the SDT code 2014-02-17 12:48:05 +00:00
avg
8fc9b71c18 MFC r259587: Invoke the kld_* event handlers from linker_load_file() ... 2014-02-17 12:45:35 +00:00
mav
3d0e3b0c68 MFC r261719:
Fix wrong device name in example.

PR:		docs/185602
Submitted by:	koitsu
2014-02-17 09:35:30 +00:00
markj
b9d68c0ed1 MFC r260043:
The arguments to sched:::off-cpu are the thread and associated process of
the thread selected to run, not the currently running thread.
2014-02-17 05:07:43 +00:00
kevlo
2c763931e1 MFC r261506:
Correct setting R92C_TXAGC_MCS11_MCS08 register.
2014-02-17 01:40:33 +00:00