svn commit: r265739 - in head/sys/arm: conf rockchip

2014-05-08 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Fri May 9 05:39:57 2014 New Revision: 265739 URL: http://svnweb.freebsd.org/changeset/base/265739 Log: Add the codes for enabling CPU cores of Rockchip RK3188 SoC. Enable SMP for Radxa Rock board. Approved by: stas (mentor) Added: head/sys/arm/rockchip/rk30xx_mp

svn commit: r265738 - head/share/mk

2014-05-08 Thread Warner Losh
Author: imp Date: Fri May 9 04:49:48 2014 New Revision: 265738 URL: http://svnweb.freebsd.org/changeset/base/265738 Log: We have to include bsd.opts.mk (included in bsd.own.mk) after /etc/src.conf so that options set there will affect the options defined in bsd.opts.mk. Fix a few comments w

svn commit: r265737 - head/share/mk

2014-05-08 Thread Warner Losh
Author: imp Date: Fri May 9 04:49:43 2014 New Revision: 265737 URL: http://svnweb.freebsd.org/changeset/base/265737 Log: Spell always the more traditional way. Modified: head/share/mk/bsd.mkopt.mk Modified: head/share/mk/bsd.mkopt.mk =

svn commit: r265732 - head/gnu/usr.bin/groff/tmac

2014-05-08 Thread Glen Barber
Author: gjb Date: Fri May 9 04:14:37 2014 New Revision: 265732 URL: http://svnweb.freebsd.org/changeset/base/265732 Log: Add 9.3 to mdoc.local. Sponsored by: The FreeBSD Foundation Modified: head/gnu/usr.bin/groff/tmac/mdoc.local Modified: head/gnu/usr.bin/groff/tmac/mdoc.local ===

Re: svn commit: r265472 - head/bin/dd

2014-05-08 Thread Alan Somers
On Thu, May 8, 2014 at 4:55 PM, Dmitry Morozovsky wrote: > On Wed, 7 May 2014, Alan Somers wrote: > > [snip] > >> Even if nanosecond resolution isn't useful, monotonicity is. Nobody >> should be using a nonmonotonic clock just to measure durations. I >> started an audit of all of FreeBSD to look

Re: svn commit: r265472 - head/bin/dd

2014-05-08 Thread Dmitry Morozovsky
On Wed, 7 May 2014, Alan Somers wrote: [snip] > Even if nanosecond resolution isn't useful, monotonicity is. Nobody > should be using a nonmonotonic clock just to measure durations. I > started an audit of all of FreeBSD to look for other programs that use > gettimeofday to measure durations.

svn commit: r265719 - head/sys/dev/vt

2014-05-08 Thread Aleksandr Rybalko
Author: ray Date: Thu May 8 22:52:05 2014 New Revision: 265719 URL: http://svnweb.freebsd.org/changeset/base/265719 Log: Hide debug messages under VT_DEBUG. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt.h head/sys/dev/vt/vt_consolectl.c head/sys/dev/vt/vt_sysmous

svn commit: r265716 - head/share/man/man4

2014-05-08 Thread Christian Brueffer
Author: brueffer Date: Thu May 8 21:02:23 2014 New Revision: 265716 URL: http://svnweb.freebsd.org/changeset/base/265716 Log: Fix two more typos. Submitted by: Trond Endrestol Modified: head/share/man/man4/mrsas.4 Modified: head/share/man/man4/mrsas.4 ==

Re: svn commit: r265691 - head/sys/netinet

2014-05-08 Thread Gleb Smirnoff
On Thu, May 08, 2014 at 10:50:28PM +0200, Michael Tuexen wrote: M> > If "this should not happen" really means that we do not expect this issue M> > at all, assuming we are coding correctly, then all these comments and printfs M> > should be converted to KASSERTs. M> I tried to keep the style of th

Re: svn commit: r265691 - head/sys/netinet

2014-05-08 Thread Michael Tuexen
On 08 May 2014, at 22:23, Gleb Smirnoff wrote: > On Thu, May 08, 2014 at 05:27:46PM +, Michael Tuexen wrote: > M> Author: tuexen > M> Date: Thu May 8 17:27:46 2014 > M> New Revision: 265691 > M> URL: http://svnweb.freebsd.org/changeset/base/265691 > M> > M> Log: > M> For some UDP packets

svn commit: r265713 - head/sys/netinet

2014-05-08 Thread Michael Tuexen
Author: tuexen Date: Thu May 8 20:47:54 2014 New Revision: 265713 URL: http://svnweb.freebsd.org/changeset/base/265713 Log: Use KASSERTs as suggested by glebius@ MFC after: 3 days X-MFC with: 265691 Modified: head/sys/netinet/ip_output.c Modified: head/sys/netinet/ip_output.c ===

svn commit: r265712 - head/sys/dev/mpr

2014-05-08 Thread Kenneth D. Merry
Author: ken Date: Thu May 8 20:46:46 2014 New Revision: 265712 URL: http://svnweb.freebsd.org/changeset/base/265712 Log: Add #ifdefs in the mpr(4) driver so that versions of stable/9 that have implemented the PIM_NOSCAN rescan functionality will have it enabled. This is a no-op for hea

svn commit: r265709 - in head/sys/dev: mpr mps

2014-05-08 Thread Kenneth D. Merry
Author: ken Date: Thu May 8 20:28:22 2014 New Revision: 265709 URL: http://svnweb.freebsd.org/changeset/base/265709 Log: Fix TLR (Transport Layer Retry) support in the mps(4) and mpr(4) drivers. TLR is necessary for reliable communication with SAS tape drives. This was broken by chang

Re: svn commit: r265691 - head/sys/netinet

2014-05-08 Thread Gleb Smirnoff
On Thu, May 08, 2014 at 05:27:46PM +, Michael Tuexen wrote: M> Author: tuexen M> Date: Thu May 8 17:27:46 2014 M> New Revision: 265691 M> URL: http://svnweb.freebsd.org/changeset/base/265691 M> M> Log: M> For some UDP packets (for example with 200 byte payload) and IP options, M> the IP h

svn commit: r265706 - head/usr.bin/printf

2014-05-08 Thread Pedro F. Giffuni
Author: pfg Date: Thu May 8 20:20:59 2014 New Revision: 265706 URL: http://svnweb.freebsd.org/changeset/base/265706 Log: Fix the incorrect handling of %b and \c in printf(1) This is required for POSIX compliance. Obtained from:Garrett D'Amore (Illumos) MFC after:4 days

svn commit: r265705 - head/sys/arm/arm

2014-05-08 Thread Ian Lepore
Author: ian Date: Thu May 8 20:02:38 2014 New Revision: 265705 URL: http://svnweb.freebsd.org/changeset/base/265705 Log: Consolitate all the AP core startup stuff under a single #ifdef SMP block. Remove some other ifdefs that came in with a copy/paste that mean basically "if this processor

svn commit: r265703 - in head: share/man/man4 sys/dev/bce sys/dev/bxe sys/modules/bce

2014-05-08 Thread David C Somayajulu
Author: davidcs Date: Thu May 8 19:40:37 2014 New Revision: 265703 URL: http://svnweb.freebsd.org/changeset/base/265703 Log: Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile Submitted

svn commit: r265698 - head/bin/dd

2014-05-08 Thread Alan Somers
Author: asomers Date: Thu May 8 19:10:04 2014 New Revision: 265698 URL: http://svnweb.freebsd.org/changeset/base/265698 Log: Incorporate feedback from bde and jilles regarding r265472 to dd(1). * Don't use sysexits.h. Just exit 1 on error and 0 otherwise. * Don't sacrifice precision by

svn commit: r265694 - in head/sys/arm: arm mv/armadaxp

2014-05-08 Thread Ian Lepore
Author: ian Date: Thu May 8 18:36:42 2014 New Revision: 265694 URL: http://svnweb.freebsd.org/changeset/base/265694 Log: Move the mptramp code which is specific to the Marvell ArmadaXP SoC out of the common locore.S file and into the mv/armadaxp directory. Added: head/sys/arm/mv/armadaxp/m

Re: svn commit: r265472 - head/bin/dd

2014-05-08 Thread Bruce Evans
On Thu, 8 May 2014, Alan Somers wrote: On Wed, May 7, 2014 at 9:39 PM, Bruce Evans wrote: On Wed, 7 May 2014, Jilles Tjoelker wrote: On Wed, May 07, 2014 at 12:10:31PM -0600, Alan Somers wrote: On Tue, May 6, 2014 at 9:47 PM, Bruce Evans wrote: On Tue, 6 May 2014, Alan Somers wrote: [s

svn commit: r265691 - head/sys/netinet

2014-05-08 Thread Michael Tuexen
Author: tuexen Date: Thu May 8 17:27:46 2014 New Revision: 265691 URL: http://svnweb.freebsd.org/changeset/base/265691 Log: For some UDP packets (for example with 200 byte payload) and IP options, the IP header and the UDP header are not in the same mbuf. Add code to in_delayed_cksum() to d

svn commit: r265690 - head/sys/arm/xilinx

2014-05-08 Thread Ian Lepore
Author: ian Date: Thu May 8 17:20:45 2014 New Revision: 265690 URL: http://svnweb.freebsd.org/changeset/base/265690 Log: Use edge-triggered interrupts rather than polling loops to avoid missing transitions of the INIT_B line. Also, release the mutex during uiomove(). Submitted by: Thoma

svn commit: r265689 - in head/cddl: compat/opensolaris/include compat/opensolaris/misc lib/libzfs

2014-05-08 Thread Alexander Motin
Author: mav Date: Thu May 8 16:59:36 2014 New Revision: 265689 URL: http://svnweb.freebsd.org/changeset/base/265689 Log: Import adapted OpenSolaris' thread pool API implementation. The thread pool is used by libzfs to implement parallel disk scanning. Without this change our dummy wrappe

svn commit: r265686 - head

2014-05-08 Thread Warner Losh
(r265686) @@ -31,6 +31,11 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 11 disable the most expensive debugging functionality run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) +20140508: + We bogusly installed src.opts.mk in /usr/share/mk. This file should +

Re: svn commit: r265472 - head/bin/dd

2014-05-08 Thread Alan Somers
On Wed, May 7, 2014 at 9:39 PM, Bruce Evans wrote: > On Wed, 7 May 2014, Jilles Tjoelker wrote: > >> On Wed, May 07, 2014 at 12:10:31PM -0600, Alan Somers wrote: >>> >>> On Tue, May 6, 2014 at 9:47 PM, Bruce Evans wrote: On Tue, 6 May 2014, Alan Somers wrote: > > ... > >

svn commit: r265682 - head/sys/net

2014-05-08 Thread Alexander V. Chernikov
Author: melifaro Date: Thu May 8 13:54:57 2014 New Revision: 265682 URL: http://svnweb.freebsd.org/changeset/base/265682 Log: Rename rt_msg1() to more handy rtsock_msg_mbuf(). (Just for history purposes: rt_msg2() was renamed to rtsock_msg_buffer() in r265019). Sponsored by: Yandex LL

svn commit: r265681 - head/sys/dev/vt

2014-05-08 Thread Aleksandr Rybalko
Author: ray Date: Thu May 8 13:46:36 2014 New Revision: 265681 URL: http://svnweb.freebsd.org/changeset/base/265681 Log: Fix scrollback. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/vt_buf.c head/sys/dev/vt/vt_core.c Modified: head/sys/dev/vt/vt_buf.c ==

svn commit: r265680 - head/sys/dev/vt/hw/fb

2014-05-08 Thread Aleksandr Rybalko
Author: ray Date: Thu May 8 13:38:29 2014 New Revision: 265680 URL: http://svnweb.freebsd.org/changeset/base/265680 Log: No need to assign fields required and checked on probe. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/vt/hw/fb/vt_early_fb.c Modified: head/sys/dev/vt/

svn commit: r265666 - in head: sbin/route sys/net

2014-05-08 Thread Alexander V. Chernikov
Author: melifaro Date: Thu May 8 11:56:06 2014 New Revision: 265666 URL: http://svnweb.freebsd.org/changeset/base/265666 Log: Fix incorrect netmasks being passed via rtsock. Since radix has been ignoring sa_family in passed sockaddrs, no one ever has bothered filling valid sa_family in n

Re: svn commit: r265472 - head/bin/dd

2014-05-08 Thread Bruce Evans
On Wed, 7 May 2014, Alan Somers wrote: On Tue, May 6, 2014 at 9:47 PM, Bruce Evans wrote: On Tue, 6 May 2014, Alan Somers wrote: This is about some minor details that I didn't reply to for later followups. + if (clock_gettime(CLOCK_MONOTONIC_PRECISE, &tv)) + err(EX_OSER

Re: svn commit: r265472 - head/bin/dd

2014-05-08 Thread Bruce Evans
On Wed, 7 May 2014, Alan Somers wrote: On Tue, May 6, 2014 at 9:47 PM, Bruce Evans wrote: On Tue, 6 May 2014, Alan Somers wrote: This is about some minor details that I didn't reply to for later followups. + if (clock_gettime(CLOCK_MONOTONIC_PRECISE, &tv)) + err(EX_OSER