svn commit: r282704 - head/sys/net80211

2015-05-09 Thread Adrian Chadd
Author: adrian Date: Sun May 10 06:57:53 2015 New Revision: 282704 URL: https://svnweb.freebsd.org/changeset/base/282704 Log: Attempt to address Bug #176201 - don't advertise what the AP announced to us. Instead, advertise what we can do based on what the AP says and what we're capped at by

svn commit: r282703 - head/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace

2015-05-09 Thread Justin Hibbits
Author: jhibbits Date: Sun May 10 04:33:01 2015 New Revision: 282703 URL: https://svnweb.freebsd.org/changeset/base/282703 Log: Fix a couple bugs in 64-bit powerpc fasttrap argument retrieval. Found by code inspection. Modified: head/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttr

Re: svn commit: r282674 - in head/sys/dev: iicbus ofw

2015-05-09 Thread Luiz Otavio O Souza
On Sat, May 9, 2015 at 7:45 AM, John Baldwin wrote: > On Saturday, May 09, 2015 03:05:45 AM Luiz Otavio O Souza wrote: >> Author: loos >> Date: Sat May 9 03:05:44 2015 >> New Revision: 282674 >> URL: https://svnweb.freebsd.org/changeset/base/282674 >> >> Log: >> Handle IRQ resources on iicbus an

svn commit: r282702 - in head/sys/dev: iicbus ofw

2015-05-09 Thread Luiz Otavio O Souza
Author: loos Date: Sun May 10 02:19:27 2015 New Revision: 282702 URL: https://svnweb.freebsd.org/changeset/base/282702 Log: Remove unnecessary code and make use of generic implementations for bus_alloc_resource(), bus_release_resource() and bus_set_resource() (bus_generic_rl_alloc_resource()

Re: svn commit: r282685 - head/usr.sbin/pw

2015-05-09 Thread Garrett Cooper
On May 9, 2015, at 16:03, Baptiste Daroussin wrote: > On Sat, May 09, 2015 at 03:54:09PM -0700, Garrett Cooper wrote: >> >>> On May 9, 2015, at 12:12, Baptiste Daroussin wrote: >>> >>> Author: bapt >>> Date: Sat May 9 19:12:16 2015 >>> New Revision: 282685 >>> URL: https://svnweb.freebsd.org/

Re: svn commit: r282685 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
On Sat, May 09, 2015 at 03:54:09PM -0700, Garrett Cooper wrote: > > > On May 9, 2015, at 12:12, Baptiste Daroussin wrote: > > > > Author: bapt > > Date: Sat May 9 19:12:16 2015 > > New Revision: 282685 > > URL: https://svnweb.freebsd.org/changeset/base/282685 > > > > Log: > > Replace malloc(3

Re: svn commit: r282685 - head/usr.sbin/pw

2015-05-09 Thread Garrett Cooper
> On May 9, 2015, at 12:12, Baptiste Daroussin wrote: > > Author: bapt > Date: Sat May 9 19:12:16 2015 > New Revision: 282685 > URL: https://svnweb.freebsd.org/changeset/base/282685 > > Log: > Replace malloc(3) + strcpy(3) + strcat(3) by asprintf(3) > > Modified: > head/usr.sbin/pw/pw_user.

svn commit: r282700 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 22:48:48 2015 New Revision: 282700 URL: https://svnweb.freebsd.org/changeset/base/282700 Log: Replace sprintf(3) with snprintf(3) Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c ==

svn commit: r282699 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 22:43:44 2015 New Revision: 282699 URL: https://svnweb.freebsd.org/changeset/base/282699 Log: Use snprintf(3) instead of sprintf(3) Remove useless "else" Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c

svn commit: r282698 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 22:08:30 2015 New Revision: 282698 URL: https://svnweb.freebsd.org/changeset/base/282698 Log: Remove now unused LNBUFSZ buffer size Modified: head/usr.sbin/pw/pw_conf.c Modified: head/usr.sbin/pw/pw_conf.c

svn commit: r282697 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 21:53:33 2015 New Revision: 282697 URL: https://svnweb.freebsd.org/changeset/base/282697 Log: Return from the function as early as possible This reduces the depth of the if statements and improves clarity of the code Modified: head/usr.sbin/pw/pw_conf.c Mod

Re: svn commit: r282684 - in head/sys: amd64/amd64 amd64/include x86/include x86/xen

2015-05-09 Thread Konstantin Belousov
On Sat, May 09, 2015 at 10:25:39PM +0200, Oliver Pinter wrote: > Hi Konstantin! > > On 5/9/15, Konstantin Belousov wrote: > > Author: kib > > Date: Sat May 9 19:11:01 2015 > > New Revision: 282684 > > URL: https://svnweb.freebsd.org/changeset/base/282684 > > > > Log: > > Rewrite amd64 PCID imp

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

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 21:36:44 2015 New Revision: 282696 URL: https://svnweb.freebsd.org/changeset/base/282696 Log: Correct the assertion. We should compare the pmap' curcpu pcid value against 0, not the pmap. Noted by: Oliver Pinter Sponsored by: The FreeBSD Foundation M

svn commit: r282694 - head/sys/arm/conf

2015-05-09 Thread Andrew Turner
Author: andrew Date: Sat May 9 21:24:55 2015 New Revision: 282694 URL: https://svnweb.freebsd.org/changeset/base/282694 Log: Pass over the at91 kernels to reduce the diff between them. Modified: head/sys/arm/conf/BWCT head/sys/arm/conf/EB9200 head/sys/arm/conf/ETHERNUT5 head/sys/arm/co

svn commit: r282693 - in head: etc/etc.arm release release/arm release/tools release/tools/arm sys/arm/conf

2015-05-09 Thread Glen Barber
Author: gjb Date: Sat May 9 21:08:12 2015 New Revision: 282693 URL: https://svnweb.freebsd.org/changeset/base/282693 Log: Merge ^/projects/release-arm-redux into ^/head. Of note: - This commit adds native FreeBSD/arm release build support without requiring out-of-tree utilities.

Re: svn commit: r282684 - in head/sys: amd64/amd64 amd64/include x86/include x86/xen

2015-05-09 Thread Oliver Pinter
Hi Konstantin! On 5/9/15, Konstantin Belousov wrote: > Author: kib > Date: Sat May 9 19:11:01 2015 > New Revision: 282684 > URL: https://svnweb.freebsd.org/changeset/base/282684 > > Log: > Rewrite amd64 PCID implementation to follow an algorithm described in > the Vahalia' "Unix Internals" s

svn commit: r282690 - in head/sys: kern vm

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 20:08:36 2015 New Revision: 282690 URL: https://svnweb.freebsd.org/changeset/base/282690 Log: The vmem callback to reclaim kmem arena address space on low or fragmented conditions currently just wakes up the pagedaemon. The kmem arena is significantly smaller th

svn commit: r282687 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:29:55 2015 New Revision: 282687 URL: https://svnweb.freebsd.org/changeset/base/282687 Log: Remove some uneeded headers Modified: head/usr.sbin/pw/grupd.c head/usr.sbin/pw/pw_nis.c head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/grupd.c =

svn commit: r282686 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:22:33 2015 New Revision: 282686 URL: https://svnweb.freebsd.org/changeset/base/282686 Log: Remove unneeded headers Modified: head/usr.sbin/pw/fileupd.c Modified: head/usr.sbin/pw/fileupd.c ==

svn commit: r282685 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:12:16 2015 New Revision: 282685 URL: https://svnweb.freebsd.org/changeset/base/282685 Log: Replace malloc(3) + strcpy(3) + strcat(3) by asprintf(3) Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c =

svn commit: r282684 - in head/sys: amd64/amd64 amd64/include x86/include x86/xen

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 19:11:01 2015 New Revision: 282684 URL: https://svnweb.freebsd.org/changeset/base/282684 Log: Rewrite amd64 PCID implementation to follow an algorithm described in the Vahalia' "Unix Internals" section 15.12 "Other TLB Consistency Algorithms". The same algorithm

svn commit: r282683 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:09:34 2015 New Revision: 282683 URL: https://svnweb.freebsd.org/changeset/base/282683 Log: Use snprintf(3) instead of strcpy(3) + strncat(3) Modified: head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_user.c

svn commit: r282681 - head/usr.sbin/pw

2015-05-09 Thread Baptiste Daroussin
Author: bapt Date: Sat May 9 19:00:16 2015 New Revision: 282681 URL: https://svnweb.freebsd.org/changeset/base/282681 Log: Use sbuf(9) instead of homebrewed buffered string Modified: head/usr.sbin/pw/Makefile head/usr.sbin/pw/fileupd.c head/usr.sbin/pw/pw_conf.c Modified: head/usr.sbin/

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

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 18:38:35 2015 New Revision: 282680 URL: https://svnweb.freebsd.org/changeset/base/282680 Log: Remove unused define. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/amd64/amd64/apic_vector.S Modified: head/sys/amd64/amd64/apic_v

svn commit: r282679 - head/sys/kern

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 18:32:13 2015 New Revision: 282679 URL: https://svnweb.freebsd.org/changeset/base/282679 Log: Do not return from thread_single(SINGLE_BOUNDARY) until all stopped thread are guarenteed to be removed from the processors. Tested by:pho Sponsored by: The Fre

svn commit: r282678 - in head: share/man/man4 sys/amd64/acpica sys/amd64/include sys/dev/acpica sys/i386/acpica sys/i386/include sys/x86/include sys/x86/x86

2015-05-09 Thread Konstantin Belousov
Author: kib Date: Sat May 9 12:28:48 2015 New Revision: 282678 URL: https://svnweb.freebsd.org/changeset/base/282678 Log: If x86 CPU implementation of the MWAIT instruction reasonably interacts with interrupts, query ACPI and use MWAIT for entrance into Cx sleep states. Support C1 "I/O the

Re: svn commit: r282676 - head/sys/dev/hwpmc

2015-05-09 Thread John Baldwin
On Saturday, May 09, 2015 09:22:00 AM Bjoern A. Zeeb wrote: > Author: bz > Date: Sat May 9 09:21:59 2015 > New Revision: 282676 > URL: https://svnweb.freebsd.org/changeset/base/282676 > > Log: > Convert remaining hwpmc(4) debug printfs over to KTR to unbreak the build > for at least powerpc k

Re: svn commit: r282674 - in head/sys/dev: iicbus ofw

2015-05-09 Thread John Baldwin
On Saturday, May 09, 2015 03:05:45 AM Luiz Otavio O Souza wrote: > Author: loos > Date: Sat May 9 03:05:44 2015 > New Revision: 282674 > URL: https://svnweb.freebsd.org/changeset/base/282674 > > Log: > Handle IRQ resources on iicbus and ofw_iicbus. > > Based on a patch submitted by Michal

svn commit: r282676 - head/sys/dev/hwpmc

2015-05-09 Thread Bjoern A. Zeeb
Author: bz Date: Sat May 9 09:21:59 2015 New Revision: 282676 URL: https://svnweb.freebsd.org/changeset/base/282676 Log: Convert remaining hwpmc(4) debug printfs over to KTR to unbreak the build for at least powerpc kernels. Missed in r282658. MFC after:10 days Modified: head/sy