Re: svn commit: r290711 - head/sys/ofed/drivers/infiniband/core

2015-11-13 Thread Hans Petter Selasky
Hi, On 11/12/15 18:17, Conrad Meyer wrote: These should cast through (u)intptr_t rather than unsigned long. This is Linux code, and they use "unsigned long" for pointer casts everywhere, trying to not break their style. BTW: I added to linux_compat.c: CTASSERT(sizeof(unsigned long) ==

Re: svn commit: r290711 - head/sys/ofed/drivers/infiniband/core

2015-11-13 Thread Konstantin Belousov
On Fri, Nov 13, 2015 at 09:18:54AM +0100, Hans Petter Selasky wrote: > Hi, > > On 11/12/15 18:17, Conrad Meyer wrote: > > These should cast through (u)intptr_t rather than unsigned long. > > > > This is Linux code, and they use "unsigned long" for pointer casts > everywhere, trying to not break

svn commit: r290744 - head/sys/compat/linuxkpi/common/src

2015-11-13 Thread Hans Petter Selasky
Author: hselasky Date: Fri Nov 13 09:00:39 2015 New Revision: 290744 URL: https://svnweb.freebsd.org/changeset/base/290744 Log: Add assert and note about the size of "unsigned long" inside the LinuxKPI for the future. Sponsored by: Mellanox Technologies Modified:

svn commit: r290772 - in head/etc: . mtree

2015-11-13 Thread Brad Davis
Author: brd (doc,ports committer) Date: Fri Nov 13 17:25:20 2015 New Revision: 290772 URL: https://svnweb.freebsd.org/changeset/base/290772 Log: Fix a few files that where being incorrectly installed as one file. This was caused by the nvi upgrade fallout in r281994. So add the missing

svn commit: r290769 - in head/sys: arm/conf boot/fdt/dts/arm

2015-11-13 Thread Warner Losh
Author: imp Date: Fri Nov 13 15:36:40 2015 New Revision: 290769 URL: https://svnweb.freebsd.org/changeset/base/290769 Log: Add support for the Zybo and similar boards to ZEDBOARD kernel. Zybo needs its own DTB and has a different PHY, so add it to the base kernel. Details on building

svn commit: r290773 - head/share/mk

2015-11-13 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 13 17:27:23 2015 New Revision: 290773 URL: https://svnweb.freebsd.org/changeset/base/290773 Log: bsd.doc.mk: Similar to r289391, make installing to a missing directory an error. This avoids the problems fixed in r290772. Sponsored by: EMC / Isilon

Re: svn commit: r290711 - head/sys/ofed/drivers/infiniband/core

2015-11-13 Thread Bruce Evans
On Fri, 13 Nov 2015, David Chisnall wrote: On 13 Nov 2015, at 08:35, Konstantin Belousov wrote: On Fri, Nov 13, 2015 at 09:18:54AM +0100, Hans Petter Selasky wrote: Hi, On 11/12/15 18:17, Conrad Meyer wrote: These should cast through (u)intptr_t rather than unsigned

Re: svn commit: r290743 - head/etc/periodic/daily

2015-11-13 Thread Matthew Ahrens
On Fri, Nov 13, 2015 at 10:57 AM, Garrett Cooper wrote: > > > On Nov 13, 2015, at 10:38, John Baldwin wrote: > > > >> On Friday, November 13, 2015 06:20:27 AM Dag-Erling Smørgrav wrote: > >> Author: des > >> Date: Fri Nov 13 06:20:27 2015 > >> New

Re: svn commit: r290743 - head/etc/periodic/daily

2015-11-13 Thread Garrett Cooper
> On Nov 13, 2015, at 10:38, John Baldwin wrote: > >> On Friday, November 13, 2015 06:20:27 AM Dag-Erling Smørgrav wrote: >> Author: des >> Date: Fri Nov 13 06:20:27 2015 >> New Revision: 290743 >> URL: https://svnweb.freebsd.org/changeset/base/290743 >> >> Log: >> Allow

Re: svn commit: r290743 - head/etc/periodic/daily

2015-11-13 Thread John Baldwin
On Friday, November 13, 2015 06:20:27 AM Dag-Erling Smørgrav wrote: > Author: des > Date: Fri Nov 13 06:20:27 2015 > New Revision: 290743 > URL: https://svnweb.freebsd.org/changeset/base/290743 > > Log: > Allow admins to specify a regex which is applied (in the negative) to the > output from

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

2015-11-13 Thread Bryan Drewery
On 11/13/2015 3:16 AM, Alexander V. Chernikov wrote: > 10.11.2015, 17:49, "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

Re: svn commit: r290450 - in head: sbin/ifconfig share/man/man4 sys/net

2015-11-13 Thread Gleb Smirnoff
On Fri, Nov 06, 2015 at 03:33:28PM +, Steven Hartland wrote: S> Author: smh S> Date: Fri Nov 6 15:33:27 2015 S> New Revision: 290450 S> URL: https://svnweb.freebsd.org/changeset/base/290450 S> S> Log: S> Add sysctl to control LACP strict compliance default S> S> Add

Re: svn commit: r290481 - head/sys/kern

2015-11-13 Thread Gleb Smirnoff
On Sat, Nov 07, 2015 at 04:04:00AM +, Adrian Chadd wrote: A> Author: adrian A> Date: Sat Nov 7 04:04:00 2015 A> New Revision: 290481 A> URL: https://svnweb.freebsd.org/changeset/base/290481 A> A> Log: A> Add a sched_yield() to work around low memory conditions in the current code. A>

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

2015-11-13 Thread Randall Stewart via svn-src-head
let me fix that R On Nov 13, 2015, at 4:51 PM, Alexander V. Chernikov wrote: > 14.11.2015, 00:41, "Randall Stewart" : >> Hmm >> >> callout_reset() returns either 0 or 1 >> >> It returns no other values and did not change.. maybe ti should say positive

Re: question about trimning data "len" conditions in TSO in tcp_output.c

2015-11-13 Thread Cui, Cheng
On 11/6/15, 5:39 PM, "Hans Petter Selasky" wrote: >On 11/06/15 22:56, Cui, Cheng wrote: >> On Nov 6, 2015, at 4:16 PM, Hans Petter Selasky wrote: >> >>> On 11/06/15 21:46, Cui, Cheng wrote: Hello Hans, Sorry if my previous email does not reach

Re: svn commit: r290805 - in head: share/man/man9 sys/kern sys/net sys/netinet sys/netinet6 sys/netpfil/pf

2015-11-13 Thread Hans Petter Selasky
On 11/13/15 23:51, Randall Stewart wrote: Modified: head/sys/kern/subr_taskqueue.c == --- head/sys/kern/subr_taskqueue.c Fri Nov 13 22:33:51 2015 (r290804) +++ head/sys/kern/subr_taskqueue.c Fri Nov 13

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

2015-11-13 Thread Randall Stewart via svn-src-head
On Nov 13, 2015, at 4:43 PM, Bryan Drewery wrote: > On 11/13/2015 1:24 PM, Randall Stewart wrote: >> Looking at the patch, we need a define of your >> >> _callout_stop_safe >> >> and we need to switch >> >> callout_stop()’s define to use the new _callout_stop_safe() >

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

2015-11-13 Thread Randall Stewart via svn-src-head
Strange I went looking through all calls to callout stop with cscope and saw no one paying attention to the return value… (which I thought was not good). And yes I am running this in a lot of systems. R On Nov 13, 2015, at 6:16 AM, Alexander V. Chernikov wrote: >

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

2015-11-13 Thread Alexander V . Chernikov
___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

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

2015-11-13 Thread Randall Stewart via svn-src-head
Looking at the patch, we need a define of your _callout_stop_safe and we need to switch callout_stop()’s define to use the new _callout_stop_safe() R On Nov 13, 2015, at 4:20 PM, Randall Stewart wrote: > No alexander’s panic’s are because the > LLREF > is done if

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

2015-11-13 Thread Alexander V . Chernikov
___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Re: svn commit: r290603 - in head/sys: net netgraph netinet

2015-11-13 Thread Gleb Smirnoff
Alexander, On Mon, Nov 09, 2015 at 10:11:15AM +, Alexander V. Chernikov wrote: A> Author: melifaro A> Date: Mon Nov 9 10:11:14 2015 A> New Revision: 290603 A> URL: https://svnweb.freebsd.org/changeset/base/290603 A> A> Log: A> Use lladdr_event to propagate gratiotus arp. A> A>

svn commit: r290806 - head/sys/netinet

2015-11-13 Thread Steven Hartland
Author: smh Date: Fri Nov 13 23:14:39 2015 New Revision: 290806 URL: https://svnweb.freebsd.org/changeset/base/290806 Log: Revert r290403 CARP rework invalidated this change. Modified: head/sys/netinet/ip_carp.c Modified: head/sys/netinet/ip_carp.c

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

2015-11-13 Thread Bryan Drewery
On 11/13/2015 12:39 PM, Bryan Drewery wrote: > On 11/13/2015 3:16 AM, Alexander V. Chernikov wrote: >> 10.11.2015, 17:49, "Randall Stewart" : >>> Author: rrs >>> Date: Tue Nov 10 14:49:32 2015 >>> New Revision: 290664 >>> URL: https://svnweb.freebsd.org/changeset/base/290664 >>>

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

2015-11-13 Thread Randall Stewart via svn-src-head
So looking deeper something like the following (with Bryan’s patch) is in order. Though there is one place in the task code that looks funny since it was pending = !!callout_stop() I changed it to pending = !! (callout_stop > 0) But I wonder about the double !! that seems rather convoluted..

svn commit: r290802 - head

2015-11-13 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 13 21:49:48 2015 New Revision: 290802 URL: https://svnweb.freebsd.org/changeset/base/290802 Log: Review on pf is recommended. Add kp@ to the list. Modified: head/MAINTAINERS Modified: head/MAINTAINERS

svn commit: r290801 - head/share/mk

2015-11-13 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 13 20:25:30 2015 New Revision: 290801 URL: https://svnweb.freebsd.org/changeset/base/290801 Log: Revert r290740. Discussing with sjg@, we agree the better fix is to be done in meta.stage.mk. This also broke staging of SYMLINKS for non-shared libraries,

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

2015-11-13 Thread Randall Stewart via svn-src-head
Bryan: This looks like a decent thing to do.. Still wondering why changing the callout.h header file would not have caused things to recompile to pick up the new argument.. We can do it this way though it looks fine. You want to commit it or I? R On Nov 13, 2015, at 3:48 PM, Bryan Drewery

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

2015-11-13 Thread Randall Stewart via svn-src-head
My patch address the following: On Nov 13, 2015, at 4:13 PM, Alexander V. Chernikov wrote: > > > 13.11.2015, 23:59, "Randall Stewart" : >> Strange >> >> I went looking through all calls to callout stop with cscope and saw >> no one paying

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

2015-11-13 Thread Randall Stewart via svn-src-head
Hmm callout_reset() returns either 0 or 1 It returns no other values and did not change.. maybe ti should say positive or one in the manual… I can add that to the fix patch. R On Nov 13, 2015, at 4:32 PM, Alexander V. Chernikov wrote: > One small note on lltable: change

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

2015-11-13 Thread Gleb Smirnoff
Steven, On Thu, Nov 05, 2015 at 05:23:02PM +, Steven Hartland wrote: S> Author: smh S> Date: Thu Nov 5 17:23:02 2015 S> New Revision: 290403 S> URL: https://svnweb.freebsd.org/changeset/base/290403 S> S> Log: S> Add MTU support to carp interfaces S> S> MFC after: 2 weeks S>

Re: svn commit: r290805 - in head: share/man/man9 sys/kern sys/net sys/netinet sys/netinet6 sys/netpfil/pf

2015-11-13 Thread Gleb Smirnoff
Randall, On Fri, Nov 13, 2015 at 10:51:36PM +, Randall Stewart wrote: R> Author: rrs R> Date: Fri Nov 13 22:51:35 2015 R> New Revision: 290805 R> URL: https://svnweb.freebsd.org/changeset/base/290805 R> R> Log: R> This fixes several places where callout_stops return is examined. The R>

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

2015-11-13 Thread Bryan Drewery
On 11/13/2015 1:00 PM, Randall Stewart wrote: > Bryan: > > This looks like a decent thing to do.. > > Still wondering why changing the callout.h header file would not have caused > things to recompile to pick up the new argument.. > > We can do it this way though it looks fine. > > You want to

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

2015-11-13 Thread Randall Stewart via svn-src-head
No alexander’s panic’s are because the LLREF is done if (callout_stop()) But now if it was not running -1 is returned.. Try the patch I just sent.. R On Nov 13, 2015, at 4:02 PM, Bryan Drewery wrote: > On 11/13/2015 1:00 PM, Randall Stewart wrote: >> Bryan: >> >> This

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

2015-11-13 Thread Alexander V . Chernikov
___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

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

2015-11-13 Thread Bryan Drewery
On 11/13/2015 1:24 PM, Randall Stewart wrote: > Looking at the patch, we need a define of your > > _callout_stop_safe > > and we need to switch > > callout_stop()’s define to use the new _callout_stop_safe() For both cases, there would be no reason to have new code call my wrapper. The defines

svn commit: r290803 - head/share/mk

2015-11-13 Thread Bryan Drewery
Author: bdrewery Date: Fri Nov 13 22:27:24 2015 New Revision: 290803 URL: https://svnweb.freebsd.org/changeset/base/290803 Log: META MODE: Don't double stage SYMLINKS for shared libraries. This also fixes truncating the path that the links were installed to, which was most likely going

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

2015-11-13 Thread Randall Stewart via svn-src-head
Done in 290805 R On Nov 13, 2015, at 4:51 PM, Alexander V. Chernikov wrote: > 14.11.2015, 00:41, "Randall Stewart" : >> Hmm >> >> callout_reset() returns either 0 or 1 >> >> It returns no other values and did not change.. maybe ti should say positive >>

svn commit: r290805 - in head: share/man/man9 sys/kern sys/net sys/netinet sys/netinet6 sys/netpfil/pf

2015-11-13 Thread Randall Stewart
Author: rrs Date: Fri Nov 13 22:51:35 2015 New Revision: 290805 URL: https://svnweb.freebsd.org/changeset/base/290805 Log: This fixes several places where callout_stops return is examined. The new return codes of -1 were mistakenly being considered "true". Callout_stop now returns -1 to

Re: svn commit: r290450 - in head: sbin/ifconfig share/man/man4 sys/net

2015-11-13 Thread Steven Hartland
On 13/11/2015 22:36, Gleb Smirnoff wrote: On Fri, Nov 06, 2015 at 03:33:28PM +, Steven Hartland wrote: S> Author: smh S> Date: Fri Nov 6 15:33:27 2015 S> New Revision: 290450 S> URL: https://svnweb.freebsd.org/changeset/base/290450 S> S> Log: S> Add sysctl to control LACP strict

svn commit: r290811 - in head/sys: dev/hwpmc sys

2015-11-13 Thread Jonathan T. Looney
Author: jtl Date: Sat Nov 14 01:40:12 2015 New Revision: 290811 URL: https://svnweb.freebsd.org/changeset/base/290811 Log: Fix hwpmc "stalled" behavior Currently, there is a single pm_stalled flag that tracks whether a performance monitor was "stalled" due to insufficent ring buffer

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

2015-11-13 Thread Jonathan T. Looney
Author: jtl Date: Sat Nov 14 01:45:55 2015 New Revision: 290813 URL: https://svnweb.freebsd.org/changeset/base/290813 Log: Optimizations to the way hwpmc gathers user callchains Changes to the code to gather user stacks: * Delay setting pmc_cpumask until we actually have the stack. *

svn commit: r290812 - head

2015-11-13 Thread Bryan Drewery
Author: bdrewery Date: Sat Nov 14 01:45:37 2015 New Revision: 290812 URL: https://svnweb.freebsd.org/changeset/base/290812 Log: Avoid setting schg in the objtree for lib32 build. Reported by: kib Sponsored by: EMC / Isilon Storage Division MFC after:1 week Modified:

Re: svn commit: r290603 - in head/sys: net netgraph netinet

2015-11-13 Thread Steven Hartland
On 13/11/2015 22:54, Gleb Smirnoff wrote: Alexander, On Mon, Nov 09, 2015 at 10:11:15AM +, Alexander V. Chernikov wrote: A> Author: melifaro A> Date: Mon Nov 9 10:11:14 2015 A> New Revision: 290603 A> URL: https://svnweb.freebsd.org/changeset/base/290603 A> A> Log: A> Use lladdr_event

svn commit: r290810 - head/sys/dev/ntb/if_ntb

2015-11-13 Thread Conrad E. Meyer
Author: cem Date: Sat Nov 14 01:23:13 2015 New Revision: 290810 URL: https://svnweb.freebsd.org/changeset/base/290810 Log: if_ntb: Clear the right QP in the free bitmap Now it can ping back and forth. Sponsored by: EMC / Isilon Storage Division Modified:

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

2015-11-13 Thread Steven Hartland
On 13/11/2015 21:42, Gleb Smirnoff wrote: Steven, On Thu, Nov 05, 2015 at 05:23:02PM +, Steven Hartland wrote: S> Author: smh S> Date: Thu Nov 5 17:23:02 2015 S> New Revision: 290403 S> URL: https://svnweb.freebsd.org/changeset/base/290403 S> S> Log: S> Add MTU support to carp

svn commit: r290814 - head/sys/arm/ti/am335x

2015-11-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Nov 14 03:05:42 2015 New Revision: 290814 URL: https://svnweb.freebsd.org/changeset/base/290814 Log: Move all HDMI-related stuff to hdmi_if.m, hdmi.h is not required Deleted: head/sys/arm/ti/am335x/hdmi.h Modified: head/sys/arm/ti/am335x/am335x_lcd.c

svn commit: r290815 - in head/sys/arm: arm ti/am335x

2015-11-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Sat Nov 14 03:22:59 2015 New Revision: 290815 URL: https://svnweb.freebsd.org/changeset/base/290815 Log: hdmi_if.m will be reused by iMX6 IPU code so move it to arm/arm Added: head/sys/arm/arm/hdmi_if.m - copied unchanged from r290814,

svn commit: r290817 - in head: share/man/man5 tools/build/options

2015-11-13 Thread Simon J. Gerraty
Author: sjg Date: Sat Nov 14 04:50:28 2015 New Revision: 290817 URL: https://svnweb.freebsd.org/changeset/base/290817 Log: Regen src.conf.5 Modified: head/share/man/man5/src.conf.5 head/tools/build/options/makeman Modified: head/share/man/man5/src.conf.5

svn commit: r290807 - head/sys/arm/freescale/imx

2015-11-13 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Nov 13 23:47:41 2015 New Revision: 290807 URL: https://svnweb.freebsd.org/changeset/base/290807 Log: - Add driver for System-Reset-Controler i.MX6 module - Add API function to reset IPU1 Added: head/sys/arm/freescale/imx/imx6_src.c (contents, props changed)

svn commit: r290816 - in head: . include share/mk tools/build/options usr.bin/xlint/llib

2015-11-13 Thread Simon J. Gerraty
Author: sjg Date: Sat Nov 14 03:24:48 2015 New Revision: 290816 URL: https://svnweb.freebsd.org/changeset/base/290816 Log: Rename META_MODE option to DIRDEPS_BUILD This allows META_FILES option to be renamed META_MODE. Also add META_COOKIE_TOUCH for use in targets that can benefit from

Re: svn commit: r290805 - in head: share/man/man9 sys/kern sys/net sys/netinet sys/netinet6 sys/netpfil/pf

2015-11-13 Thread Hans Petter Selasky
On 11/14/15 00:11, Gleb Smirnoff wrote: What about making callout_stop() return value a enum? Hi, If we could make most callout functions return "void" and use mutexes, this will not be an issue any more! --HPS ___ svn-src-head@freebsd.org

Re: svn commit: r290481 - head/sys/kern

2015-11-13 Thread Adrian Chadd
Peter Holm already approached me to ask about it. The problem has been figuring out how to trigger it in an automated / VM way. :( -a On 13 November 2015 at 14:44, Gleb Smirnoff wrote: > On Sat, Nov 07, 2015 at 04:04:00AM +, Adrian Chadd wrote: > A> Author: adrian >

svn commit: r290818 - head/share/mk

2015-11-13 Thread Warner Losh
Author: imp Date: Sat Nov 14 06:18:50 2015 New Revision: 290818 URL: https://svnweb.freebsd.org/changeset/base/290818 Log: Fix URL for powerpc cpu options. Remove reference to ia64 options as no longer relevant. Modified: head/share/mk/bsd.cpu.mk Modified: head/share/mk/bsd.cpu.mk

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

2015-11-13 Thread Alexander V . Chernikov
10.11.2015, 17:49, "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

Re: svn commit: r290711 - head/sys/ofed/drivers/infiniband/core

2015-11-13 Thread Hans Petter Selasky
On 11/13/15 15:10, David Chisnall wrote: Note that this is not true of all downstreams. We currently have 128 and 256-bit void*s with 64-bit longs on CHERI, and I believe that bde’s version has 32-bit longs on all platforms. David Hi David, Converting the LinuxKPI to use uintptr_t instead

Re: svn commit: r290711 - head/sys/ofed/drivers/infiniband/core

2015-11-13 Thread David Chisnall
On 13 Nov 2015, at 08:35, Konstantin Belousov wrote: > > On Fri, Nov 13, 2015 at 09:18:54AM +0100, Hans Petter Selasky wrote: >> Hi, >> >> On 11/12/15 18:17, Conrad Meyer wrote: >>> These should cast through (u)intptr_t rather than unsigned long. >>> >> >> This is Linux