Re: svn commit: r290664 - in head: share/man/man9 sys/kern sys/sys

2015-11-10 Thread Randall Stewart via svn-src-head
And I disagree here Hans You don’t need that and it just adds more into the callout system that is not needed. R On Nov 10, 2015, at 9:59 AM, Hans Petter Selasky wrote: > On 11/10/15 15:49, Randall Stewart wrote: >> +#define callout_async_drain(c, d)

Re: svn commit: r290613 - head/sys/compat/linuxkpi/common/include/linux

2015-11-10 Thread Conrad Meyer
On Tue, Nov 10, 2015 at 7:08 AM, Ian Lepore wrote: > On Tue, 2015-11-10 at 08:44 +0100, Hans Petter Selasky wrote: >> > -sysctl_root_handler_locked(struct sysctl_oid *oid, void *arg1, >> > intptr_t arg2, >> > +sysctl_root_handler_locked(struct sysctl_oid *oid, void *arg1, >> >

Re: svn commit: r290650 - in head/sys: dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_en modules/mlx5 modules/mlx5en

2015-11-10 Thread Andrew Gallatin
On 11/10/2015 07:20, Hans Petter Selasky wrote: Author: hselasky Date: Tue Nov 10 12:20:22 2015 New Revision: 290650 URL: https://svnweb.freebsd.org/changeset/base/290650 Log: Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cards from Mellanox Technologies. The current

Re: svn commit: r290637 - head/lib/libc/locale

2015-11-10 Thread Andrey Chernov
On 10.11.2015 16:36, Baptiste Daroussin wrote: > On Tue, Nov 10, 2015 at 04:20:38PM +0300, Andrey Chernov wrote: >> On 10.11.2015 16:04, Baptiste Daroussin wrote: >>> On Tue, Nov 10, 2015 at 03:48:52PM +0300, Andrey Chernov wrote: On 10.11.2015 11:11, Baptiste Daroussin wrote: > Author:

Re: svn commit: r290637 - head/lib/libc/locale

2015-11-10 Thread Andrey Chernov
On 10.11.2015 19:19, Andrey Chernov wrote: > On 10.11.2015 19:12, Baptiste Daroussin wrote: >> On Tue, Nov 10, 2015 at 07:07:26PM +0300, Andrey Chernov wrote: >>> On 10.11.2015 16:36, Baptiste Daroussin wrote: On Tue, Nov 10, 2015 at 04:20:38PM +0300, Andrey Chernov wrote: > On 10.11.2015

Re: svn commit: r290663 - in head/sys: modules modules/tests modules/tests/callout_test modules/tests/framework tests tests/callout_test tests/framework

2015-11-10 Thread Bjoern A. Zeeb
> On 10 Nov 2015, at 14:14 , Randall Stewart wrote: > > Author: rrs > Date: Tue Nov 10 14:14:41 2015 > New Revision: 290663 > URL: https://svnweb.freebsd.org/changeset/base/290663 > > Log: > Add a kernel test framework. The callout_test is a demonstration and will > only >

Re: svn commit: r290664 - in head: share/man/man9 sys/kern sys/sys

2015-11-10 Thread Hans Petter Selasky
On 11/10/15 16:03, Randall Stewart wrote: And I disagree here Hans You don’t need that and it just adds more into the callout system that is not needed. Hi, It also makes debugging more easy, that you can see the last function call and argument. I.E. You should not have to clear the drain

Re: svn commit: r290613 - head/sys/compat/linuxkpi/common/include/linux

2015-11-10 Thread Bruce Evans
On Tue, 10 Nov 2015, Hans Petter Selasky wrote: On 11/09/15 22:17, Bruce Evans wrote: ... This shouldn't compile either. static int -sysctl_root_handler_locked(struct sysctl_oid *oid, void *arg1, intptr_t arg2, +sysctl_root_handler_locked(struct sysctl_oid *oid, void *arg1, intmax_t

Re: svn commit: r290637 - head/lib/libc/locale

2015-11-10 Thread Andrey Chernov
On 10.11.2015 19:12, Baptiste Daroussin wrote: > On Tue, Nov 10, 2015 at 07:07:26PM +0300, Andrey Chernov wrote: >> On 10.11.2015 16:36, Baptiste Daroussin wrote: >>> On Tue, Nov 10, 2015 at 04:20:38PM +0300, Andrey Chernov wrote: On 10.11.2015 16:04, Baptiste Daroussin wrote: > On Tue,

svn commit: r290664 - in head: share/man/man9 sys/kern sys/sys

2015-11-10 Thread Randall Stewart
Author: rrs Date: Tue Nov 10 14:49:32 2015 New Revision: 290664 URL: https://svnweb.freebsd.org/changeset/base/290664 Log: Add new async_drain to the callout system. This is so-far not used but should be used by TCP for sure in its cleanup of the IN-PCB (will be coming shortly).

Re: svn commit: r290613 - head/sys/compat/linuxkpi/common/include/linux

2015-11-10 Thread Ian Lepore
On Tue, 2015-11-10 at 08:44 +0100, Hans Petter Selasky wrote: > On 11/09/15 22:17, Bruce Evans wrote: > > On Mon, 9 Nov 2015, Conrad E. Meyer wrote: > > > > > Log: > > > linuxkpi/sysfs.h: Cast arg2 through intptr_t to avoid GCC > > > warning > > > > > > The code compiles fine under Clang, but

Re: svn commit: r290637 - head/lib/libc/locale

2015-11-10 Thread Baptiste Daroussin
On Tue, Nov 10, 2015 at 07:07:26PM +0300, Andrey Chernov wrote: > On 10.11.2015 16:36, Baptiste Daroussin wrote: > > On Tue, Nov 10, 2015 at 04:20:38PM +0300, Andrey Chernov wrote: > >> On 10.11.2015 16:04, Baptiste Daroussin wrote: > >>> On Tue, Nov 10, 2015 at 03:48:52PM +0300, Andrey Chernov

Re: svn commit: r290664 - in head: share/man/man9 sys/kern sys/sys

2015-11-10 Thread Hans Petter Selasky
On 11/10/15 15:49, Randall Stewart wrote: +#define callout_async_drain(c, d) \ +_callout_stop_safe(c, 0, d) Hi, Like commented in D4076, I think the callout_async_drain() function should take a second void pointer argument, which is passed to the

svn commit: r290665 - in head/sys/modules: . drm2 drm2/radeonkmsfw netgraph usb

2015-11-10 Thread Bryan Drewery
Author: bdrewery Date: Tue Nov 10 17:15:36 2015 New Revision: 290665 URL: https://svnweb.freebsd.org/changeset/base/290665 Log: Build all of sys/modules with SUBDIR_PARALLEL. Sponsored by: EMC / Isilon Storage Division MFC after:3 weeks Modified: head/sys/modules/Makefile.inc

Re: svn commit: r290613 - head/sys/compat/linuxkpi/common/include/linux

2015-11-10 Thread Justin Hibbits
On Tue, Nov 10, 2015 at 9:42 AM, Conrad Meyer wrote: > On Tue, Nov 10, 2015 at 7:08 AM, Ian Lepore wrote: >> On Tue, 2015-11-10 at 08:44 +0100, Hans Petter Selasky wrote: >>> > -sysctl_root_handler_locked(struct sysctl_oid *oid, void *arg1, >>> > intptr_t

Re: svn commit: r290613 - head/sys/compat/linuxkpi/common/include/linux

2015-11-10 Thread Bruce Evans
On Tue, 10 Nov 2015, Conrad Meyer wrote: On Tue, Nov 10, 2015 at 7:08 AM, Ian Lepore wrote: On Tue, 2015-11-10 at 08:44 +0100, Hans Petter Selasky wrote: -sysctl_root_handler_locked(struct sysctl_oid *oid, void *arg1, intptr_t arg2, +sysctl_root_handler_locked(struct

Re: svn commit: r290613 - head/sys/compat/linuxkpi/common/include/linux

2015-11-10 Thread Andriy Gapon
On 10/11/2015 18:35, Bruce Evans wrote: > intmax_t can hold more than intptr_t, but its size and rank may be smaller. > See another reply. I think that that's the case on middle-endian architectures. -- Andriy Gapon ___ svn-src-head@freebsd.org

Re: svn commit: r290613 - head/sys/compat/linuxkpi/common/include/linux

2015-11-10 Thread Bruce Evans
On Tue, 10 Nov 2015, Justin Hibbits wrote: On Tue, Nov 10, 2015 at 9:42 AM, Conrad Meyer wrote: ... Given that intptr_t exists in our implementation and is a signed integer type, I see no reason why intmax_t could possibly not represent any such value. Same argument for the

Re: svn commit: r290651 - head/sys/dev/usb/wlan

2015-11-10 Thread Renato Botelho
> On Nov 10, 2015, at 10:52, Andriy Voskoboinyk wrote: > > Author: avos > Date: Tue Nov 10 12:52:26 2015 > New Revision: 290651 > URL: https://svnweb.freebsd.org/changeset/base/290651 > > Log: > urtwn(4): add IBSS mode support > > Tested with RTL8188EU, IBSS and STA modes.

Re: svn commit: r290626 - head

2015-11-10 Thread Bryan Drewery
On 11/9/15 3:36 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Mon Nov 9 23:36:46 2015 > New Revision: 290626 > URL: https://svnweb.freebsd.org/changeset/base/290626 > > Log: > Move 'make cleandir' from Makefile to Makefile.inc1. > Obviously I meant 'cleanworld' here. The commit was

svn commit: r290637 - head/lib/libc/locale

2015-11-10 Thread Baptiste Daroussin
Author: bapt Date: Tue Nov 10 08:11:27 2015 New Revision: 290637 URL: https://svnweb.freebsd.org/changeset/base/290637 Log: return "US-ASCII" instead of "POSIX" for "C" and "POSIX" locales as it used to be in previous version of the locales. Returning "POSIX" has too many fallouts.

svn commit: r290639 - in head/sys/dev/usb: . input

2015-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 09:27:52 2015 New Revision: 290639 URL: https://svnweb.freebsd.org/changeset/base/290639 Log: Update the wsp driver to support newer touch pads, like found in MacBookPro11,4 and MacBook12,1. This update adds support for the force touch parameter. PR:

Re: svn commit: r290637 - head/lib/libc/locale

2015-11-10 Thread Andrey Chernov
On 10.11.2015 11:11, Baptiste Daroussin wrote: > Author: bapt > Date: Tue Nov 10 08:11:27 2015 > New Revision: 290637 > URL: https://svnweb.freebsd.org/changeset/base/290637 > > Log: > return "US-ASCII" instead of "POSIX" for "C" and "POSIX" locales > as it used to be in previous version of

svn commit: r290667 - head/sys/arm/broadcom/bcm2835

2015-11-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Nov 11 00:45:41 2015 New Revision: 290667 URL: https://svnweb.freebsd.org/changeset/base/290667 Log: Refactor bcm2835_cpufreq to use bcm2835_mbox_property API Modified: head/sys/arm/broadcom/bcm2835/bcm2835_cpufreq.c Modified:

Re: svn commit: r288217 - head/lib/libfetch

2015-11-10 Thread Dag-Erling Smørgrav
Michael Gmelin writes: > Log: > Fix non-POSIX-compliant use of getaddrinfo in libfetch > > Submitted by: Boris Kolpackov > Reviewed by:bapt > Approved by:bapt > MFC after: 1 week > Differential Revision:

svn commit: r290643 - head

2015-11-10 Thread Garrett Cooper
Author: ngie Date: Tue Nov 10 10:59:40 2015 New Revision: 290643 URL: https://svnweb.freebsd.org/changeset/base/290643 Log: - Move the testing entries up for netbsd-tests/pjdfstest - Add pjd to contrib/pjdfstest - Add atf to the list; add jmmv - Add tests - Add share/mk/*.test.mk

svn commit: r290645 - head/usr.sbin/bootparamd/bootparamd

2015-11-10 Thread Garrett Cooper
Author: ngie Date: Tue Nov 10 11:19:36 2015 New Revision: 290645 URL: https://svnweb.freebsd.org/changeset/base/290645 Log: Fix some trivial warnings with bootparamd/main.c - Convert K to something a bit less ancient - Remove an incorrect, duplicate prototype for bootparamprog_1(..)

svn commit: r290640 - head

2015-11-10 Thread Dag-Erling Smørgrav
Author: des Date: Tue Nov 10 10:49:26 2015 New Revision: 290640 URL: https://svnweb.freebsd.org/changeset/base/290640 Log: Upgrade my claim on fetch and libfetch since people don't seem to give a hoot about "advance notification requested". Modified: head/MAINTAINERS Modified:

svn commit: r290644 - head

2015-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 11:04:23 2015 New Revision: 290644 URL: https://svnweb.freebsd.org/changeset/base/290644 Log: Renew my MAINTAINERS entries. Modified: head/MAINTAINERS Modified: head/MAINTAINERS ==

svn commit: r290646 - head/lib/libc/tests/gen

2015-11-10 Thread Garrett Cooper
Author: ngie Date: Tue Nov 10 11:28:02 2015 New Revision: 290646 URL: https://svnweb.freebsd.org/changeset/base/290646 Log: Add missing licensing boilerplate to test-fnmatch.c Carry over licensing author info from fnmatch_test.c (jilles@) MFC after: 1 week X-MFC with: r290572

svn commit: r290642 - head/sys/contrib/vchiq/interface/vchiq_arm

2015-11-10 Thread Svatopluk Kraus
Author: skra Date: Tue Nov 10 10:56:52 2015 New Revision: 290642 URL: https://svnweb.freebsd.org/changeset/base/290642 Log: Fix slots DMA memory handling. It's similar to r290553. Discussed with: gonzo Approved by: kib (mentor) Modified:

svn commit: r290641 - head/sys/dev/e1000

2015-11-10 Thread Michael Tuexen
Author: tuexen Date: Tue Nov 10 10:55:57 2015 New Revision: 290641 URL: https://svnweb.freebsd.org/changeset/base/290641 Log: Add support for SCTP checksum offloading for the 82580 controller similar to the 82576 controller. Tested with Intel i340 cards. Reviewed by: erj@ MFC after:

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

2015-11-10 Thread Michal Meloun
Author: mmel Date: Tue Nov 10 11:45:41 2015 New Revision: 290647 URL: https://svnweb.freebsd.org/changeset/base/290647 Log: ARM: Improve robustness of locore_v6.S and fix errors. - boot page table is not allocated in data section, so must be cleared before use - map only one section (1

svn commit: r290666 - head/sys/arm/broadcom/bcm2835

2015-11-10 Thread Oleksandr Tymoshenko
Author: gonzo Date: Wed Nov 11 00:41:02 2015 New Revision: 290666 URL: https://svnweb.freebsd.org/changeset/base/290666 Log: - Set have_message in interrupt to handle "response before READ" case - Serialize access to property channel when using bcm2835_mbox_property Modified:

svn commit: r290648 - head/sys/arm/include

2015-11-10 Thread Michal Meloun
Author: mmel Date: Tue Nov 10 12:02:41 2015 New Revision: 290648 URL: https://svnweb.freebsd.org/changeset/base/290648 Log: ARM: Remove trailing whitespace from sys/arm/include No functional changes. Approved by:kib (mentor) Modified: head/sys/arm/include/_stdint.h

svn commit: r290649 - head/sys/arm/include

2015-11-10 Thread Konstantin Belousov
Author: kib Date: Tue Nov 10 12:15:13 2015 New Revision: 290649 URL: https://svnweb.freebsd.org/changeset/base/290649 Log: Implement atomic_testandset_{32,int,long,64} for ARMv6. Only little-endian configuration for 64-bit variant is supported. Reviewed by: mmel Sponsored by: The

svn commit: r290650 - in head/sys: dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_en modules/mlx5 modules/mlx5en

2015-11-10 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 10 12:20:22 2015 New Revision: 290650 URL: https://svnweb.freebsd.org/changeset/base/290650 Log: Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cards from Mellanox Technologies. The current driver supports ethernet speeds up to and including 100

Re: svn commit: r290610 - head/sys/x86/x86

2015-11-10 Thread Roger Pau Monné
El 09/11/15 a les 20.19, Ian Lepore ha escrit: > On Mon, 2015-11-09 at 16:41 +0100, Roger Pau Monné wrote: >> Hello, >> >> El 09/11/15 a les 13.30, Hans Petter Selasky ha escrit: >>> On 11/09/15 13:19, Roger Pau Monné wrote: +if (dmat->common.flags & BUS_DMA_KEEP_PG_OFFSET) { +

svn commit: r290651 - head/sys/dev/usb/wlan

2015-11-10 Thread Andriy Voskoboinyk
Author: avos Date: Tue Nov 10 12:52:26 2015 New Revision: 290651 URL: https://svnweb.freebsd.org/changeset/base/290651 Log: urtwn(4): add IBSS mode support Tested with RTL8188EU, IBSS and STA modes. Reviewed by: kevlo Approved by: adrian (mentor) Differential Revision:

svn commit: r290663 - in head/sys: modules modules/tests modules/tests/callout_test modules/tests/framework tests tests/callout_test tests/framework

2015-11-10 Thread Randall Stewart
Author: rrs Date: Tue Nov 10 14:14:41 2015 New Revision: 290663 URL: https://svnweb.freebsd.org/changeset/base/290663 Log: Add a kernel test framework. The callout_test is a demonstration and will only work with the upcoming async-drain functionality. Tests can be added to the tests

svn commit: r290662 - head/sys/kern

2015-11-10 Thread Josh Paetzel
Author: jpaetzel Date: Tue Nov 10 14:14:32 2015 New Revision: 290662 URL: https://svnweb.freebsd.org/changeset/base/290662 Log: Fix a bug in the CPU % limiting code If you attempt to set a pcpu limit that is higher than 110% using rctl (for instance, you want a jail to be able to use 2

Re: svn commit: r290637 - head/lib/libc/locale

2015-11-10 Thread Baptiste Daroussin
On Tue, Nov 10, 2015 at 03:48:52PM +0300, Andrey Chernov wrote: > On 10.11.2015 11:11, Baptiste Daroussin wrote: > > Author: bapt > > Date: Tue Nov 10 08:11:27 2015 > > New Revision: 290637 > > URL: https://svnweb.freebsd.org/changeset/base/290637 > > > > Log: > > return "US-ASCII" instead of

Re: svn commit: r290637 - head/lib/libc/locale

2015-11-10 Thread Baptiste Daroussin
On Tue, Nov 10, 2015 at 04:20:38PM +0300, Andrey Chernov wrote: > On 10.11.2015 16:04, Baptiste Daroussin wrote: > > On Tue, Nov 10, 2015 at 03:48:52PM +0300, Andrey Chernov wrote: > >> On 10.11.2015 11:11, Baptiste Daroussin wrote: > >>> Author: bapt > >>> Date: Tue Nov 10 08:11:27 2015 > >>> New

svn commit: r290661 - head/sys/arm/include

2015-11-10 Thread Michal Meloun
Author: mmel Date: Tue Nov 10 13:47:28 2015 New Revision: 290661 URL: https://svnweb.freebsd.org/changeset/base/290661 Log: ARM: Refactor interrupt_enable/disable/restore. Allow manipulation with PSR_A bit on ARMv6+. Remove declaration of unused functions. This effectively enables

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

2015-11-10 Thread Svatopluk Kraus
Author: skra Date: Tue Nov 10 13:15:34 2015 New Revision: 290655 URL: https://svnweb.freebsd.org/changeset/base/290655 Log: Fix pmap_fault(). It turned out that alignment abort may have higher priority than both translation and permission ones. Approved by: kib (mentor) Modified:

svn commit: r290656 - head/sys/arm/include

2015-11-10 Thread Svatopluk Kraus
Author: skra Date: Tue Nov 10 13:20:21 2015 New Revision: 290656 URL: https://svnweb.freebsd.org/changeset/base/290656 Log: Fix cp15 PAR definition and function. While here, add cp15 ATS1CPW function which checks an address for privileged (PL1) write access. The function is inlined so it

Re: svn commit: r290637 - head/lib/libc/locale

2015-11-10 Thread Andrey Chernov
On 10.11.2015 16:04, Baptiste Daroussin wrote: > On Tue, Nov 10, 2015 at 03:48:52PM +0300, Andrey Chernov wrote: >> On 10.11.2015 11:11, Baptiste Daroussin wrote: >>> Author: bapt >>> Date: Tue Nov 10 08:11:27 2015 >>> New Revision: 290637 >>> URL: https://svnweb.freebsd.org/changeset/base/290637

svn commit: r290659 - in head: share/man/man4 share/man/man5 tools/build/mk

2015-11-10 Thread Garrett Cooper
Author: ngie Date: Tue Nov 10 13:28:41 2015 New Revision: 290659 URL: https://svnweb.freebsd.org/changeset/base/290659 Log: - Move ng_bluetooth.4 under MK_BLUETOOTH != no - Move all section 5 bluetooth manpages under MK_BLUETOOTH != no MFC after: 3 days PR: 193260 Reported by:

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

2015-11-10 Thread Garrett Cooper
Author: ngie Date: Tue Nov 10 13:32:05 2015 New Revision: 290660 URL: https://svnweb.freebsd.org/changeset/base/290660 Log: Move the MK_BLUETOOTH block down below the architecture specific sections by the other generic options MFC after: 3 days X-MFC with: r290659 PR: 193260