197526 Commits

Author SHA1 Message Date
rpaulo
709bb13e76 MFC r273248:
AM335x FDT: add an entry for the watchdog.
2014-10-25 02:00:32 +00:00
rpaulo
6474b9b606 MFC r273247:
Fix the watchdog/watchdog man pages.

 The default timeout is 128 seconds.
2014-10-25 01:59:01 +00:00
markj
372e35ccad MFC r258902:
The uaddr, ufunc, umod and usym functions all seem to work as expected on
FreeBSD, so stop hiding them behind a "#if defined(sun)".
2014-10-24 17:24:29 +00:00
delphij
2455e6b607 MFC r273577:
Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-tree
driver.  This change was verified by Microsoft.

Instant MFC approved by:	re (kib)
2014-10-24 07:06:01 +00:00
neel
295105e2bd MFC r273356:
Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT
misconfiguration VM-exit.
2014-10-24 03:48:54 +00:00
markj
8a1641d786 MFC r272763:
If we fail to send a signal after rotation, print the pidfile from which
the corresponding PID was obtained.

PR:           194143
2014-10-23 18:50:44 +00:00
dumbbell
5cd9154e6b vt(4): Refuse to load a font if hw.vga.textmode is selected
Before, the font was loaded and the window size recalculated, giving an
unusable terminal, even if the actual font didn't change.

Reported by:	beeessdee@ruggedinbox.com
MFC of:		r273330
2014-10-23 13:32:01 +00:00
mav
9d96d4ad45 MFC r273259:
Make VPD 80h (Serial Number) transfer length match serial number length.
2014-10-23 07:37:48 +00:00
mav
b118502c8f MFC r273163: Implement more functional CTL debug logging.
Setting bits in kern.cam.ctl.debug allows to log errors, commands and some
commands data respectively.
2014-10-23 07:36:33 +00:00
pfg
fea98e7966 MFC r271789:
lpr: replace setpgrp(2) with setpgid(2).

setpgid(2) is more portable than setpgrp(2).
The BSD variant of setpgrp is a wrapper for
setpgid(2) anyways.
2014-10-23 02:53:57 +00:00
pfg
f56339f043 MFC r271787:
simple_httpd: cosmetic cleanups.

Many tab vs space cleanups.
Use setpgid() instead of setpgrp() which is more portable.
2014-10-23 02:50:18 +00:00
emaste
26b32ff4ad Add vtfontcvt(8) cross-reference to vt(4) man page
MFC of r273332
2014-10-23 02:18:23 +00:00
delphij
29bd84c81d MFC r272810: FV r272804:
Refactor the code and stop restore_object from creating two transactions.

Illumos issue:
    3693 restore_object uses at least two transactions to restore an object
2014-10-23 01:47:09 +00:00
delphij
7b171ea876 MFC r272809: MFV r272803:
Illumos issue:
    5175 implement dmu_read_uio_dbuf() to improve cached read performance
2014-10-23 01:40:31 +00:00
delphij
5295b89f11 MFC r272806: MFV r272802:
- Limit ARC for zdb at 256MB.  zdb do not typically revisit data
   in the ARC.
 - Increase default max_inflight from 200 to 1000 (can be overriden
   by -I) so we can queue more I/Os when doing scrubbing.
 - Print status while loading meataslabs for leak detection.

Illumos issues:

    5169 zdb should limit its ARC size
    5170 zdb -c should create more scrub i/os by default
    5171 zdb should print status while loading metaslabs for leak detection
2014-10-23 01:36:43 +00:00
ngie
80db25ba05 MFC r272778:
Set the autoindent to 4 spaces with vim in BSD.tests.dist

  This will prevent vim users from accidentally checking in buggy mtree files
  (mixed tabs/spaces).

  Sponsored by: EMC / Isilon Storage Division
2014-10-23 01:09:01 +00:00
ngie
0154db985c MFC r272917:
Add LDFLAGS to PROG_VARS so it can be overridden on a per-PROG basis

  Sponsored by: EMC / Isilon Storage Division
2014-10-23 01:08:31 +00:00
ngie
cbb305020c MFC r272053:
Have distrib-dirs, distribution, hier, hierarchy, redistribute, and reinstall
  depend on the .MAKE special target

  This will allow users to do something like the following to print out the
  results of the running the simulated make target with bmake, like some of the
  other top-level make targets in Makefile.inc1:

    % make -f Makefile.inc1 -n distribution TARGET=i386 TARGET_ARCH=i386

  Sponsored by: EMC / Isilon Storage Division
2014-10-23 01:06:00 +00:00
ngie
a927de110d MFC r271349:
Add diagnostic printfs and disable test # 4 on i386

  Reviewed by: jmmv, rpaulo
  Phabric: D749
  PR: 191676
  Sponsored by: EMC / Isilon Storage Division
2014-10-23 01:02:37 +00:00
ngie
7eb987ee39 MFC r271336:
Expand the tests structure in test_small(..) to workaround the
  "initializer not constant" warning with gcc

  Approved by: jmmv (mentor)
  Phabric: D744
  Sponsored by: EMC / Isilon Storage Division
2014-10-23 01:01:58 +00:00
ngie
813210d1c2 MFC r272055:
Improve bsd.progs.mk compatibility with bsd.prog.mk

  1. Do not install FILES/SCRIPTS multiple times if PROGS is specified; this is
     already handled via bsd.prog.mk when it's called recursively (PR: 191055,
     191955).
  2. Some variables, like BINDIR and PROGNAME, default to a value if unset
     whereas others get appended to, like CFLAGS. Add support for the former case
     (PR: 191056)
  3. Make "checkdpadd" and "clean" available targets for recursive execution.

  Reviewed by: marcel, sjg
  Phabric: D822
  PR: 191055, 191056, 191955
  Sponsored by: EMC / Isilon Storage Division
2014-10-23 00:54:52 +00:00
ngie
2b8c74e174 MFC r271365:
Remove many false positives with make checkdpadd

  - Reduce DPADD and LDADD in checkdpadd to -l<foo>
  - Skip over -Wl,[es]*-group because -Wl,--end-group and
    -Wl,--start-group might be required to properly link objects (see
    usr.bin/clang/lldb as an example)

  This caveat has been present for a while with some components of
  the build. However, these false positives were made more more apparent
  after r269648.

  Phabric: D635
  Reviewed by: jmmv (an earlier version)
  PR: 192730
2014-10-23 00:51:52 +00:00
ngie
9a57ba8bbc MFC r270650 (this is what should have been committed in r273497):
Convert LIBCURSES to LIBNCURSES to fix "make checkdpadd"

  Also, add a missing LIBPANEL dependency for lldb

  Approved by: rpaulo (mentor)
  Suggested by: brooks
  Phabric: D675 (as part of a larger diff)
  PR: 192762
2014-10-23 00:43:08 +00:00
ngie
f3b7cba370 MFC r263264 (by glebius):
Make talk(1) capable of displaying UTF-8 characters.

  Sponsored by:	Nginx, Inc.
2014-10-23 00:39:19 +00:00
markj
7d81889ecb MFC r271692:
Fix a typo.
2014-10-22 23:55:08 +00:00
andrew
58b9da93f0 MFC r273088:
Add support for the __aeabi_c*cmp* functions. These are similar to the
existing functions with the exception they use the condition flags to
store the result.
2014-10-22 13:50:38 +00:00
kib
eb3582e16f MFC r273132:
Style changes for deadfs.
2014-10-22 09:12:20 +00:00
kib
dc7923c136 MFC r273131:
When vnode bypass cannot be performed on the cdev file descriptor for
read/write/poll/ioctl, call standard vnode filedescriptor fop.
2014-10-22 09:09:41 +00:00
kib
6809e3fc35 MFC r273130:
Change the deadfs poll VOP to return POLLIN|POLLRDNORM if the caller
is interested in i/o state.  Return POLLNVAL for invalid bits, similar
to poll_no_poll().
2014-10-22 09:06:36 +00:00
kib
a9088c78cb MFC r273129:
Implement FIODTYPE for master ptys.
2014-10-22 09:04:56 +00:00
bryanv
0895e1be7f MFC r272573:
Change the UMA mutex into a rwlock

  Acquire the lock in read mode when just needed to ensure the stability
  of the keg list. The UMA lock may be held for a long time (relatively
  speaking) in uma_reclaim() on machines with lots of zones/kegs. If the
  uma_timeout() would fire during that period, subsequent callouts on that
  CPU may be significantly delayed.
2014-10-22 04:09:47 +00:00
bryanv
137a650c11 MFC r272796:
Add M_FLOWID to M_COPYFLAGS

The M_FLOWID flag should be propagated to the new mbuf pkthdr in
m_move_pkthdr() and m_dup_pkthdr(). The new mbuf already got the
existing flowid value, but would be ignored since the flag was
not set.
2014-10-22 04:01:27 +00:00
gjb
628635adcd Bump __FreeBSD_version to track SA-14:20, SA-14:21, SA-14:22,
SA-14:23

Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2014-10-21 21:37:53 +00:00
gjb
9ec3090c92 MFC r273402:
Fix an issue where a FreeBSD virtual machine provisioned in
  the Microsoft Azure service does not recognize the second
  attached disk on the system.

PR:		194376
Insta-MFC OK:	re (rodrigc)
Sponsored by:	The FreeBSD Foundation
2014-10-21 21:27:13 +00:00
delphij
86df2c268f Fix rtsold(8) remote buffer overflow vulnerability. [SA-14:20]
Fix memory leak in sandboxed namei lookup. [SA-14:22]
2014-10-21 20:20:07 +00:00
emaste
6c5ddf4faf Add basic UEFI boot procedure manpage
MFC of r273218 and r273235.
2014-10-21 14:47:26 +00:00
brueffer
7fce188e08 MFC: r273034
Add one more AMD Kaveri APU device ID.

Submitted by:	Remy Nonnenmacher <remy.nonnenmacher@activnetworks.com>
2014-10-21 13:07:36 +00:00
hselasky
2e713a4fa0 MFC r272683:
- Fix compile warning when compiling with GCC.
- Add missed chunk in previous driver code MFC.

Sponsored by:	Mellanox Technologies
2014-10-21 08:24:12 +00:00
mav
32b4feead7 MFC r271926: Mention read_ahead tunables/sysctls. 2014-10-21 06:25:41 +00:00
mav
3e285508e6 MFC r262332 (by ivoras): Grammar fix 2014-10-21 06:24:15 +00:00
mav
227f786a57 MFC r262294 (by ivoras):
Explain how and where kern.cam.ada.write_cache can be set in practical
situations.
2014-10-21 06:23:14 +00:00
yongari
07a67189e8 MFC r272731:
Document newly added controller AR816x/AR817x.
2014-10-21 04:54:37 +00:00
yongari
7595869074 MFC r272730,273018:
Add support for QAC AR816x/AR817x Gigabit/Fast Ethernet controllers.
  These controllers seem to have the same feature of AR813x/AR815x and
  improved RSS support(4 TX queues and 8 RX queues).  alc(4) supports
  all hardware features except RSS.  I didn't implement RX checksum
  offloading for AR816x/AR817x just because I couldn't get
  confirmation from the Vendor whether AR816x/AR817x corrected its
  predecessor's RX checksum offloading bug on fragmented packets.
  This change adds supports for the following controllers.
   o AR8161 PCIe Gigabit Ethernet controller
   o AR8162 PCIe Fast Ethernet controller
   o AR8171 PCIe Gigabit Ethernet controller
   o AR8172 PCIe Fast Ethernet controller
   o Killer E2200 Gigabit Ethernet controller

  Relnotes:	yes
2014-10-21 04:48:49 +00:00
yongari
b882f9e15f MFC r272729,272732:
Add new quirk PCI_QUIRK_MSI_INTX_BUG to pci(4).
  QAC AR816x/E2200 controller has a silicon bug that MSI interrupt
  does not assert if PCIM_CMD_INTxDIS bit of command register is set.
2014-10-21 01:48:19 +00:00
yongari
b037cdf3ed MFC r272721:
Fix a long standing bug in MAC statistics register access.  One
  additional register was erroneously added in the MAC register set
  such that 7 TX statistics counters were wrong.
2014-10-21 01:14:56 +00:00
gjb
96f65a33d2 Fix label for the UEFI bootonly cd.
Sponsored by:	The FreeBSD Foundation
2014-10-21 00:07:37 +00:00
gjb
f36e929e1c MFC r273204:
Add more descriptive metadata to the ISO images.

Sponsored by:	The FreeBSD Foundation
2014-10-21 00:06:03 +00:00
delphij
b12ccdd7ac MFC r272601: MFV r272591:
Use loaned ARC buffer for zfs receive to avoid copy.

Illumos issue:
    5162 zfs recv should use loaned arc buffer to avoid copy
2014-10-20 22:22:39 +00:00
delphij
2f84271419 MFC r272599: MFV r272588:
Handle old format deadlist.

Illumos issue:
    5178 zdb -vvvvv on old-format pool fails in dump_deadlist()
2014-10-20 22:18:21 +00:00
delphij
e02ec23db8 MFC r272598: MFV r272585:
Split the godfather zio into CPU number's to reduce lock
contention.

Illumos issue:
    5176 lock contention on godfather zio
2014-10-20 22:13:50 +00:00