Re: svn commit: r280790 - in head/sys: conf dev/hwpmc

2015-03-28 Thread Ian Lepore
On Sat, 2015-03-28 at 19:01 +, Bjoern A. Zeeb wrote: On 28 Mar 2015, at 18:57 , Bjoern A. Zeeb b...@freebsd.org wrote: Author: bz Date: Sat Mar 28 18:57:13 2015 New Revision: 280790 URL: https://svnweb.freebsd.org/changeset/base/280790 Log: Remove all the handcrafted

svn commit: r280793 - head/usr.sbin/pmcstat

2015-03-28 Thread Eric van Gyzen
Author: vangyzen Date: Sat Mar 28 21:28:22 2015 New Revision: 280793 URL: https://svnweb.freebsd.org/changeset/base/280793 Log: pmcstat.8: fix -a flag description; improve -m flag to match The -a flag reads a file saved by -O, not -o. The -m flag requires the -R flag. Copy that

svn commit: r280794 - head/sys/powerpc/booke

2015-03-28 Thread Justin Hibbits
Author: jhibbits Date: Sat Mar 28 21:39:42 2015 New Revision: 280794 URL: https://svnweb.freebsd.org/changeset/base/280794 Log: Wrap #ifdef guards around pmap_bootstrap ap. It's only used in SMP, and building without SMP causes a build failure. MFC after:1 month Modified:

svn commit: r280797 - head/sys/kern

2015-03-28 Thread Konstantin Belousov
Author: kib Date: Sat Mar 28 23:30:51 2015 New Revision: 280797 URL: https://svnweb.freebsd.org/changeset/base/280797 Log: Make debug.vmem_check a tunable. It is useful to set it early. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/kern/subr_vmem.c

svn commit: r280792 - head/sys/kern

2015-03-28 Thread Eric van Gyzen
Author: vangyzen Date: Sat Mar 28 21:21:40 2015 New Revision: 280792 URL: https://svnweb.freebsd.org/changeset/base/280792 Log: Clean up some cosmetic nits in kern_umtx.c, found during recent work in this area and by the Clang static analyzer. Remove some dead assignments. Fix a

svn commit: r280795 - head/sys/mips/conf

2015-03-28 Thread Adrian Chadd
Author: adrian Date: Sat Mar 28 23:01:59 2015 New Revision: 280795 URL: https://svnweb.freebsd.org/changeset/base/280795 Log: Remove the second MODULES_OVERRIDE; add if_vlan to the list. Modified: head/sys/mips/conf/AR933X_BASE Modified: head/sys/mips/conf/AR933X_BASE

Re: svn commit: r280727 - in head: share/mk sys/conf

2015-03-28 Thread Peter Jeremy
On 2015-Mar-27 13:00:14 +0300, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Fri, Mar 27, 2015 at 02:35:12AM +, Warner Losh wrote: Author: imp Date: Fri Mar 27 02:35:11 2015 New Revision: 280727 URL: https://svnweb.freebsd.org/changeset/base/280727 Log: Add support for specifying

svn commit: r280790 - in head/sys: conf dev/hwpmc

2015-03-28 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 28 18:57:13 2015 New Revision: 280790 URL: https://svnweb.freebsd.org/changeset/base/280790 Log: Remove all the handcrafted assembly in hwpmc_armv7.c and use the common (autogenerated) versions. Removes extra vertical space, and makes it easier to grep for usage

Re: svn commit: r280790 - in head/sys: conf dev/hwpmc

2015-03-28 Thread Bjoern A. Zeeb
On 28 Mar 2015, at 18:57 , Bjoern A. Zeeb b...@freebsd.org wrote: Author: bz Date: Sat Mar 28 18:57:13 2015 New Revision: 280790 URL: https://svnweb.freebsd.org/changeset/base/280790 Log: Remove all the handcrafted assembly in hwpmc_armv7.c and use the common (autogenerated)

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

2015-03-28 Thread John-Mark Gurney
Gleb Smirnoff wrote this message on Sat, Mar 28, 2015 at 21:18 +0300: On Sat, Mar 28, 2015 at 10:23:13AM -0700, John-Mark Gurney wrote: J On Fri, Mar 27, 2015 at 01:26:59PM +, Fabien Thomas wrote: J F Author: fabient J F Date: Fri Mar 27 13:26:59 2015 J F New Revision: 280759 J F

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

2015-03-28 Thread Gleb Smirnoff
On Sat, Mar 28, 2015 at 11:34:43AM +0300, Gleb Smirnoff wrote: T On Fri, Mar 27, 2015 at 01:26:59PM +, Fabien Thomas wrote: T F Author: fabient T F Date: Fri Mar 27 13:26:59 2015 T F New Revision: 280759 T F URL: https://svnweb.freebsd.org/changeset/base/280759 T F T F Log: T F On multi CPU

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

2015-03-28 Thread Slawa Olhovchenkov
On Sat, Mar 28, 2015 at 01:43:33PM -0700, John-Mark Gurney wrote: Gleb Smirnoff wrote this message on Sat, Mar 28, 2015 at 21:18 +0300: On Sat, Mar 28, 2015 at 10:23:13AM -0700, John-Mark Gurney wrote: J On Fri, Mar 27, 2015 at 01:26:59PM +, Fabien Thomas wrote: J F Author: fabient

svn commit: r280800 - head/sys/mips/conf

2015-03-28 Thread Adrian Chadd
Author: adrian Date: Sat Mar 28 23:42:59 2015 New Revision: 280800 URL: https://svnweb.freebsd.org/changeset/base/280800 Log: Add hints to set the board MAC address and derived values for each interface. This allows the TL-WDR3600 to use the correct MAC address for ath0, ath1 and arge0.

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-28 Thread Adrian Chadd
Hi, There's been at least one report of a regression on -current. i haven't tried this on various MIPS hardware devices yet. -adrian ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send

Re: svn commit: r280727 - in head: share/mk sys/conf

2015-03-28 Thread Slawa Olhovchenkov
On Sun, Mar 29, 2015 at 11:05:17AM +1100, Peter Jeremy wrote: On 2015-Mar-27 13:00:14 +0300, Slawa Olhovchenkov s...@zxy.spb.ru wrote: On Fri, Mar 27, 2015 at 02:35:12AM +, Warner Losh wrote: Author: imp Date: Fri Mar 27 02:35:11 2015 New Revision: 280727 URL:

svn commit: r280791 - head/sys/mips/conf

2015-03-28 Thread Adrian Chadd
Author: adrian Date: Sat Mar 28 19:59:33 2015 New Revision: 280791 URL: https://svnweb.freebsd.org/changeset/base/280791 Log: Add the MAC address hints for arge0/arge1 on the CARAMBOLA2. Obtained from:Linux OpenWRT Modified: head/sys/mips/conf/CARAMBOLA2.hints Modified:

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-28 Thread Davide Italiano
On Sat, Mar 28, 2015 at 12:04 PM, Randall Stewart r...@netflix.com wrote: Hmm does the KPI include the size of the callout structure (which is private)? It's KBI, not KPI. If so I suppose we could change the c_flags/c_iflags to ushort … I'm not familiar with your changes enough to

svn commit: r280796 - head/sys/dev/etherswitch/arswitch

2015-03-28 Thread Adrian Chadd
Author: adrian Date: Sat Mar 28 23:20:46 2015 New Revision: 280796 URL: https://svnweb.freebsd.org/changeset/base/280796 Log: Turns out the AR933x looks like the AR7240/AR7241 switch as far as VLAN configuration is concerned. So, remove the now-erroneous comment. Tested: *

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

2015-03-28 Thread John-Mark Gurney
Slawa Olhovchenkov wrote this message on Sun, Mar 29, 2015 at 00:34 +0300: On Sat, Mar 28, 2015 at 01:43:33PM -0700, John-Mark Gurney wrote: On Sat, Mar 28, 2015 at 10:23:13AM -0700, John-Mark Gurney wrote: J Please read: J https://tools.ietf.org/html/rfc6864 Anyways, are we

svn commit: r280801 - head/sys/sys

2015-03-28 Thread Pedro F. Giffuni
Author: pfg Date: Sun Mar 29 03:16:52 2015 New Revision: 280801 URL: https://svnweb.freebsd.org/changeset/base/280801 Log: cdefs.h: Fix macros for pre-C99 compilers. Older compilers, and compatibility modes, may not support variadic macros. I normally wouldn't go out of my way to support

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Don Lewis
On 28 Mar, Bryan Drewery wrote: On 3/27/2015 9:41 PM, Don Lewis wrote: ../generated/adfiles/ad_x86_64_clone.cpp:1: fatal error: had to relocate PCH compilation terminated. /wrkdirs/usr/ports/java/openjdk7/work/openjdk/hotspot/make/bsd/makefiles/rules.make:149: recipe for target

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-28 Thread Davide Italiano
On Sat, Mar 28, 2015 at 5:50 AM, Randall Stewart r...@freebsd.org wrote: Author: rrs Date: Sat Mar 28 12:50:24 2015 New Revision: 280785 URL: https://svnweb.freebsd.org/changeset/base/280785 Log: Change the callout to supply -1 to indicate we are not changing CPU, also add protection

svn commit: r280799 - head/sys/dev/ath

2015-03-28 Thread Adrian Chadd
Author: adrian Date: Sat Mar 28 23:41:23 2015 New Revision: 280799 URL: https://svnweb.freebsd.org/changeset/base/280799 Log: Update if_ath(4) to check for hint.ath.X.macaddr for an override MAC address. This is used by the AR71xx platform code to choose a local MAC based on the board

svn commit: r280798 - head/sys/mips/atheros

2015-03-28 Thread Adrian Chadd
Author: adrian Date: Sat Mar 28 23:40:29 2015 New Revision: 280798 URL: https://svnweb.freebsd.org/changeset/base/280798 Log: Begin moving support for board MAC addresses over to being explicitly defined. A lot of these dinky atheros based MIPS boards don't have a nice, well, anything

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

2015-03-28 Thread Benjamin Kaduk
On Sat, Mar 28, 2015 at 9:15 PM, John-Mark Gurney j...@funkthat.com wrote: Slawa Olhovchenkov wrote this message on Sun, Mar 29, 2015 at 00:34 +0300: On Sat, Mar 28, 2015 at 01:43:33PM -0700, John-Mark Gurney wrote: In this case may be do range allocation of ID (per-CPU)? For example,

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-28 Thread Bjoern A. Zeeb
On 28 Mar 2015, at 12:50 , Randall Stewart r...@freebsd.org wrote: Author: rrs Date: Sat Mar 28 12:50:24 2015 New Revision: 280785 URL: https://svnweb.freebsd.org/changeset/base/280785 Log: Change the callout to supply -1 to indicate we are not changing CPU, also add protection

Re: svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-28 Thread Bjoern A. Zeeb
On 28 Mar 2015, at 13:33 , Bjoern A. Zeeb b...@freebsd.org wrote: On 28 Mar 2015, at 12:50 , Randall Stewart r...@freebsd.org wrote: Author: rrs Date: Sat Mar 28 12:50:24 2015 New Revision: 280785 URL: https://svnweb.freebsd.org/changeset/base/280785 Log: Change the callout to

svn commit: r280785 - in head/sys: kern netgraph/atm/sscop netgraph/atm/uni sys

2015-03-28 Thread Randall Stewart
Author: rrs Date: Sat Mar 28 12:50:24 2015 New Revision: 280785 URL: https://svnweb.freebsd.org/changeset/base/280785 Log: Change the callout to supply -1 to indicate we are not changing CPU, also add protection against invalid CPU's as well as split c_flags and c_iflags so that if a user

svn commit: r280784 - head/share/mk

2015-03-28 Thread Dimitry Andric
Author: dim Date: Sat Mar 28 12:23:15 2015 New Revision: 280784 URL: https://svnweb.freebsd.org/changeset/base/280784 Log: Re-enable using -mllvm -enable-load-pre=false in CLANG_OPT_SMALL for clang versions before 3.5.0. This should enable building head's version of sys/boot/i386/boot2 on

svn commit: r280788 - head/sys/netinet

2015-03-28 Thread Gleb Smirnoff
Author: glebius Date: Sat Mar 28 16:59:57 2015 New Revision: 280788 URL: https://svnweb.freebsd.org/changeset/base/280788 Log: VNETalize random IP ID engine. Sponsored by: Nginx, Inc. Modified: head/sys/netinet/ip_id.c Modified: head/sys/netinet/ip_id.c

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

2015-03-28 Thread John-Mark Gurney
Gleb Smirnoff wrote this message on Sat, Mar 28, 2015 at 11:34 +0300: On Fri, Mar 27, 2015 at 01:26:59PM +, Fabien Thomas wrote: F Author: fabient F Date: Fri Mar 27 13:26:59 2015 F New Revision: 280759 F URL: https://svnweb.freebsd.org/changeset/base/280759 F F Log: F On multi CPU

svn commit: r280787 - head/sys/netinet

2015-03-28 Thread Gleb Smirnoff
Author: glebius Date: Sat Mar 28 16:06:46 2015 New Revision: 280787 URL: https://svnweb.freebsd.org/changeset/base/280787 Log: Initialize random IP ID engine via SYSINIT() instead of doing that on first packet. This allow to use M_WAITOK and cut down some error handling. Sponsored by:

svn commit: r280786 - head/sys/kern

2015-03-28 Thread Bjoern A. Zeeb
Author: bz Date: Sat Mar 28 15:07:19 2015 New Revision: 280786 URL: https://svnweb.freebsd.org/changeset/base/280786 Log: Try to unbreak !SMP kernels broken in r280785 by using the proper macros to access cc_cpu. Modified: head/sys/kern/kern_timeout.c Modified:

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Bryan Drewery
On 3/27/2015 9:41 PM, Don Lewis wrote: On 21 Mar, Alan Cox wrote: Author: alc Date: Sat Mar 21 17:56:55 2015 New Revision: 280327 URL: https://svnweb.freebsd.org/changeset/base/280327 Log: Introduce vm_object_color() and use it in mmap(2) to set the color of named objects to zero

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

2015-03-28 Thread Bjoern A. Zeeb
On 28 Mar 2015, at 17:23 , John-Mark Gurney j...@funkthat.com wrote: Gleb Smirnoff wrote this message on Sat, Mar 28, 2015 at 11:34 +0300: On Fri, Mar 27, 2015 at 01:26:59PM +, Fabien Thomas wrote: F Author: fabient F Date: Fri Mar 27 13:26:59 2015 F New Revision: 280759 F URL:

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Alan Cox
On 03/28/2015 12:29, Bryan Drewery wrote: On 3/27/2015 9:41 PM, Don Lewis wrote: On 21 Mar, Alan Cox wrote: Author: alc Date: Sat Mar 21 17:56:55 2015 New Revision: 280327 URL: https://svnweb.freebsd.org/changeset/base/280327 Log: Introduce vm_object_color() and use it in mmap(2) to set

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Bryan Drewery
On 3/28/2015 12:56 PM, Alan Cox wrote: On 03/28/2015 12:29, Bryan Drewery wrote: On 3/27/2015 9:41 PM, Don Lewis wrote: On 21 Mar, Alan Cox wrote: Author: alc Date: Sat Mar 21 17:56:55 2015 New Revision: 280327 URL: https://svnweb.freebsd.org/changeset/base/280327 Log: Introduce

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Adrian Chadd
Hm, at least MIPS is still using gcc-4.2. Shall we fix gcc in the tree to stop this from happening? I think that's the most sane thing to do, if a bit tedious. -adrian ___ svn-src-all@freebsd.org mailing list

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

2015-03-28 Thread Gleb Smirnoff
On Sat, Mar 28, 2015 at 10:23:13AM -0700, John-Mark Gurney wrote: J On Fri, Mar 27, 2015 at 01:26:59PM +, Fabien Thomas wrote: J F Author: fabient J F Date: Fri Mar 27 13:26:59 2015 J F New Revision: 280759 J F URL: https://svnweb.freebsd.org/changeset/base/280759 J F J F Log: J F

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Don Lewis
On 28 Mar, Bryan Drewery wrote: On 3/27/2015 9:41 PM, Don Lewis wrote: On 21 Mar, Alan Cox wrote: Author: alc Date: Sat Mar 21 17:56:55 2015 New Revision: 280327 URL: https://svnweb.freebsd.org/changeset/base/280327 Log: Introduce vm_object_color() and use it in mmap(2) to set the color

Re: svn commit: r280327 - in head/sys: kern vm

2015-03-28 Thread Don Lewis
On 28 Mar, Alan Cox wrote: On 03/28/2015 12:29, Bryan Drewery wrote: On 3/27/2015 9:41 PM, Don Lewis wrote: I was not seeing this problem on my older package builder running 10.1-STABLE. Since this problem has not shown up on the FreeBSD package building cluster, I got suspicious that the

svn commit: r280789 - head/contrib/llvm/tools/lldb/source/Core

2015-03-28 Thread Ed Maste
Author: emaste Date: Sat Mar 28 18:29:13 2015 New Revision: 280789 URL: https://svnweb.freebsd.org/changeset/base/280789 Log: Import lldb r233478: Fix build failure on Freebsd with gcc 4.9. llvm.org/pr23051 Submitted by: rodrigc Modified:

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

2015-03-28 Thread Gleb Smirnoff
On Fri, Mar 27, 2015 at 01:26:59PM +, Fabien Thomas wrote: F Author: fabient F Date: Fri Mar 27 13:26:59 2015 F New Revision: 280759 F URL: https://svnweb.freebsd.org/changeset/base/280759 F F Log: F On multi CPU systems, we may emit successive packets with the same id. F Fix the race by

Re: svn commit: r280767 - head/sbin/md5

2015-03-28 Thread Roman Divacky
Modified: head/sbin/md5/md5.c == --- head/sbin/md5/md5.c Fri Mar 27 17:36:22 2015(r280766) +++ head/sbin/md5/md5.c Fri Mar 27 18:23:06 2015(r280767) @@ -91,7 +91,7 @@ typedef union {

svn commit: r280779 - head/sys/mips/conf

2015-03-28 Thread Adrian Chadd
Author: adrian Date: Sat Mar 28 06:54:18 2015 New Revision: 280779 URL: https://svnweb.freebsd.org/changeset/base/280779 Log: Set VM_KMEM_SIZE_SCALE=1 for the AR91xx SoCs. Without this the autotuning fails for small amounts of RAM (32mb), which all the AR91xx shipping products seemed to

svn commit: r280782 - head/lib/libc/net

2015-03-28 Thread Michael Tuexen
Author: tuexen Date: Sat Mar 28 09:08:57 2015 New Revision: 280782 URL: https://svnweb.freebsd.org/changeset/base/280782 Log: Add an SCTP symbol which was missed in https://svnweb.freebsd.org/base?view=revisionrevision=169622 This fixes

svn commit: r280781 - head/sys/amd64/amd64

2015-03-28 Thread Konstantin Belousov
Author: kib Date: Sat Mar 28 09:03:54 2015 New Revision: 280781 URL: https://svnweb.freebsd.org/changeset/base/280781 Log: Make it possible for the signal handler to act on #ss. Load the canonical user data segment' selector into %ss when calling the handler. Sponsored by: The FreeBSD

Re: svn commit: r280780 - head/sys/amd64/amd64

2015-03-28 Thread Konstantin Belousov
On Sat, Mar 28, 2015 at 09:02:20AM +, Konstantin Belousov wrote: Author: kib Date: Sat Mar 28 09:02:19 2015 New Revision: 280780 URL: https://svnweb.freebsd.org/changeset/base/280780 Log: The #ss fault handler erronously does not check for the fault originated from the return to

svn commit: r280783 - head/sys/dev/sfxge

2015-03-28 Thread Andrew Rybchenko
Author: arybchik Date: Sat Mar 28 10:20:20 2015 New Revision: 280783 URL: https://svnweb.freebsd.org/changeset/base/280783 Log: sfxge: set correct RSS hash type instead of opaque Reviewed by:adrian, gnn Sponsored by: Solarflare Communications, Inc. Differential Revision:

svn commit: r280780 - head/sys/amd64/amd64

2015-03-28 Thread Konstantin Belousov
Author: kib Date: Sat Mar 28 09:02:19 2015 New Revision: 280780 URL: https://svnweb.freebsd.org/changeset/base/280780 Log: The #ss fault handler erronously does not check for the fault originated from the return to usermode. #ss must be handled same as #np. Reported by: Andrew