Re: svn commit: r290130 - head/sys/dev/ntb/ntb_hw

2015-10-29 Thread John Baldwin
On Thursday, October 29, 2015 09:53:43 AM Konstantin Belousov wrote: > On Thu, Oct 29, 2015 at 04:16:28AM +, Conrad E. Meyer wrote: > > Author: cem > > Date: Thu Oct 29 04:16:28 2015 > > New Revision: 290130 > > URL: https://svnweb.freebsd.org/changeset/base/290130 > > > > Log: > > ntb: Do

Re: svn commit: r290130 - head/sys/dev/ntb/ntb_hw

2015-10-29 Thread John Baldwin
On Thursday, October 29, 2015 04:16:28 AM Conrad E. Meyer wrote: > Author: cem > Date: Thu Oct 29 04:16:28 2015 > New Revision: 290130 > URL: https://svnweb.freebsd.org/changeset/base/290130 > > Log: > ntb: Do not attempt to set write-combining on MWs > > AMD64 pmap assumes ranges will be

svn commit: r290140 - head/sys/kern

2015-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 29 13:53:37 2015 New Revision: 290140 URL: https://svnweb.freebsd.org/changeset/base/290140 Log: Add missing NULL check in physio(). When destroying a character device the si_devsw field is set to NULL before all references are gone, to indicate the

Re: svn commit: r290135 - in head/sys: compat/linuxkpi/common/include/asm compat/linuxkpi/common/include/linux compat/linuxkpi/common/include/net compat/linuxkpi/common/src conf dev/usb modules/cxgb/i

2015-10-29 Thread John Baldwin
On Thursday, October 29, 2015 08:28:39 AM Hans Petter Selasky wrote: > Author: hselasky > Date: Thu Oct 29 08:28:39 2015 > New Revision: 290135 > URL: https://svnweb.freebsd.org/changeset/base/290135 > > Log: > Finish process of moving the LinuxKPI module into the default kernel build. > >

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

2015-10-29 Thread Roger Pau Monné
El 26/10/15 a les 15.24, Oliver Pinter ha escrit: > On 10/26/15, Adrian Chadd wrote: >> Hi, >> >> I'll take a photo of it when it breaks next. >> >> Would you mind reverting it for now until we can figure it out? > > btw, this was the two kernel panic what I got: > >

svn commit: r290143 - head/sys/amd64/linux32

2015-10-29 Thread John Baldwin
Author: jhb Date: Thu Oct 29 15:16:47 2015 New Revision: 290143 URL: https://svnweb.freebsd.org/changeset/base/290143 Log: Fix build with DEBUG defined. Reported by: hselasky Modified: head/sys/amd64/linux32/linux.h head/sys/amd64/linux32/linux32_sysvec.c Modified:

Re: svn commit: r290003 - head/sys/ofed/include/linux

2015-10-29 Thread Hans Petter Selasky
On 10/29/15 15:36, Gleb Smirnoff wrote: The LinuxKPI is not a binary compatibility module, and will at some H> point have API's diverging from Linux, to fit BSD API's better. This statement makes the name of LinuxKPI quite pointless, as well as the whole idea of the KPI unclear. Hi, To be

svn commit: r290144 - head/sys/amd64/linux32

2015-10-29 Thread John Baldwin
Author: jhb Date: Thu Oct 29 15:20:47 2015 New Revision: 290144 URL: https://svnweb.freebsd.org/changeset/base/290144 Log: Update for LINUX32 rename. The assembler didn't complain about undefined symbols but just used 0 after the rename. Modified: head/sys/amd64/linux32/linux32_locore.s

Re: svn commit: r290003 - head/sys/ofed/include/linux

2015-10-29 Thread Gleb Smirnoff
On Thu, Oct 29, 2015 at 04:06:11PM +0100, Hans Petter Selasky wrote: H> On 10/29/15 15:36, Gleb Smirnoff wrote: H> > H> The parameters for bus_bind_intr() are not available outside the H> > H> LinuxKPI. To support such a functionality we should wrap it, for the H> > H> sake of maintainability. H>

Re: svn commit: r290135 - in head/sys: compat/linuxkpi/common/include/asm compat/linuxkpi/common/include/linux compat/linuxkpi/common/include/net compat/linuxkpi/common/src conf dev/usb modules/cxgb/i

2015-10-29 Thread Hans Petter Selasky
On 10/29/15 14:43, John Baldwin wrote: Humm. Did you coordinate with dumbbell@ at all? In his reviews on phabricator he had used subdirectories under linuxkpi for different versions Linux kernel versions. At the very least it seems like he should have been on the review for this since he is

Re: svn commit: r290003 - head/sys/ofed/include/linux

2015-10-29 Thread Gleb Smirnoff
On Wed, Oct 28, 2015 at 09:08:41AM +0100, Hans Petter Selasky wrote: H> >> Log: H> >>Add support for binding IRQs to CPUs in the LinuxKPI. The new function H> >>added is for BSD only and does not exist in Linux. H> > H> > um, then who would use it and why? H> H> The parameters for

Re: svn commit: r290003 - head/sys/ofed/include/linux

2015-10-29 Thread Hans Petter Selasky
On 10/29/15 15:36, Gleb Smirnoff wrote: H> The parameters for bus_bind_intr() are not available outside the H> LinuxKPI. To support such a functionality we should wrap it, for the H> sake of maintainability. H> H> The LinuxKPI is not a binary compatibility module, and will at some H> point have

svn commit: r290148 - head

2015-10-29 Thread Warner Losh
Author: imp Date: Thu Oct 29 16:50:28 2015 New Revision: 290148 URL: https://svnweb.freebsd.org/changeset/base/290148 Log: PC Card and Cardbus are now in extended maintenance mode. No need to have them cluttering up MAINTAINERS. Modified: head/MAINTAINERS Modified: head/MAINTAINERS

svn commit: r290155 - head/sys/kern

2015-10-29 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 29 19:02:24 2015 New Revision: 290155 URL: https://svnweb.freebsd.org/changeset/base/290155 Log: getnewbuf: Initialize bp to avoid uninitialized pointer dereference and brelse(). This came in recently in r289279. Coverity CID: 1331561 Modified:

svn commit: r290157 - head/usr.bin/ar

2015-10-29 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 29 19:28:21 2015 New Revision: 290157 URL: https://svnweb.freebsd.org/changeset/base/290157 Log: Check archive_entry_new() result. Coverity CID: 1331341 Modified: head/usr.bin/ar/write.c Modified: head/usr.bin/ar/write.c

svn commit: r290158 - head/sys/dev/ntb/ntb_hw

2015-10-29 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 29 19:35:01 2015 New Revision: 290158 URL: https://svnweb.freebsd.org/changeset/base/290158 Log: ntb: Revert r290130 now that r290156 has landed Nagged by:vangyzen Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c

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

2015-10-29 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 29 19:07:00 2015 New Revision: 290156 URL: https://svnweb.freebsd.org/changeset/base/290156 Log: pmap_change_attr: Only fixup DMAP for DMAPed ranges pmap_change_attr must change the memory type of both the requested KVA and the corresponding DMAP mappings (if

svn commit: r290154 - head/sys/net

2015-10-29 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 29 18:58:18 2015 New Revision: 290154 URL: https://svnweb.freebsd.org/changeset/base/290154 Log: Avoid passing an uninitialized 'i'. Currently nothing was depending on it anyhow. Coverity CID: 1331562 Modified: head/sys/net/route.c Modified:

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

2015-10-29 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 29 18:29:28 2015 New Revision: 290153 URL: https://svnweb.freebsd.org/changeset/base/290153 Log: Fix unlikely memory leak. It is unlikely since the first check in the function is that dir[0] is '/', but later code changes may make it real. Coverity

svn commit: r290160 - head/sys/dev/isp

2015-10-29 Thread Alexander Motin
Author: mav Date: Thu Oct 29 20:43:13 2015 New Revision: 290160 URL: https://svnweb.freebsd.org/changeset/base/290160 Log: Remove some unneeded code. Modified: head/sys/dev/isp/isp.c Modified: head/sys/dev/isp/isp.c

svn commit: r290161 - head/sys/netpfil/pf

2015-10-29 Thread Kristof Provost
Author: kp Date: Thu Oct 29 20:45:53 2015 New Revision: 290161 URL: https://svnweb.freebsd.org/changeset/base/290161 Log: pf: Fix IPv6 checksums with route-to. When using route-to (or reply-to) pf sends the packet directly to the output interface. If that interface doesn't support

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

2015-10-29 Thread Tijl Coosemans
On Wed, 14 Oct 2015 02:10:07 + (UTC) Jeff Roberson wrote: > Author: jeff > Date: Wed Oct 14 02:10:07 2015 > New Revision: 289279 > URL: https://svnweb.freebsd.org/changeset/base/289279 > > Log: > Parallelize the buffer cache and rewrite getnewbuf(). This results in a >

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

2015-10-29 Thread Konstantin Belousov
On Thu, Oct 29, 2015 at 09:25:54PM +0100, Tijl Coosemans wrote: > On Wed, 14 Oct 2015 02:10:07 + (UTC) Jeff Roberson > wrote: > > Author: jeff > > Date: Wed Oct 14 02:10:07 2015 > > New Revision: 289279 > > URL: https://svnweb.freebsd.org/changeset/base/289279 > > > > Log:

Re: svn commit: r290135 - in head/sys: compat/linuxkpi/common/include/asm compat/linuxkpi/common/include/linux compat/linuxkpi/common/include/net compat/linuxkpi/common/src conf dev/usb modules/cxgb/i

2015-10-29 Thread Jean-Sébastien Pédron
On 29.10.2015 14:43, John Baldwin wrote: > On Thursday, October 29, 2015 08:28:39 AM Hans Petter Selasky wrote: >> Author: hselasky >> Date: Thu Oct 29 08:28:39 2015 >> New Revision: 290135 >> URL: https://svnweb.freebsd.org/changeset/base/290135 >> >> Log: >> Finish process of moving the

svn commit: r290163 - head/etc/rc.d

2015-10-29 Thread Devin Teske
Author: dteske Date: Thu Oct 29 21:12:57 2015 New Revision: 290163 URL: https://svnweb.freebsd.org/changeset/base/290163 Log: Ignore per-mdN settings in mdconfig[2] startup PR: base/189696 Submitted by: ganael.laplan...@martymac.org MFC after:3 days X-MFC-to:

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

2015-10-29 Thread Bryan Drewery
On 10/29/2015 1:31 PM, Eric van Gyzen wrote: > On 10/29/2015 15:25, Tijl Coosemans wrote: >> On Wed, 14 Oct 2015 02:10:07 + (UTC) Jeff Roberson >> wrote: >>> Author: jeff >>> Date: Wed Oct 14 02:10:07 2015 >>> New Revision: 289279 >>> URL:

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

2015-10-29 Thread Eric van Gyzen
On 10/29/2015 15:25, Tijl Coosemans wrote: > On Wed, 14 Oct 2015 02:10:07 + (UTC) Jeff Roberson > wrote: >> Author: jeff >> Date: Wed Oct 14 02:10:07 2015 >> New Revision: 289279 >> URL: https://svnweb.freebsd.org/changeset/base/289279 >> >> Log: >> Parallelize the buffer

svn commit: r290159 - head/sys/dev/isp

2015-10-29 Thread Alexander Motin
Author: mav Date: Thu Oct 29 20:34:01 2015 New Revision: 290159 URL: https://svnweb.freebsd.org/changeset/base/290159 Log: Remove reset delays for which I see neither explanation nor need. Modified: head/sys/dev/isp/isp.c Modified: head/sys/dev/isp/isp.c

svn commit: r290164 - in head/sys/i386: i386 include

2015-10-29 Thread John Baldwin
Author: jhb Date: Thu Oct 29 21:25:46 2015 New Revision: 290164 URL: https://svnweb.freebsd.org/changeset/base/290164 Log: Use movw instead of movl (or plain mov) when moving segment registers into memory. This is a nop on clang's assembler, but some assemblers complain if the size suffix

svn commit: r290165 - head/sys/netinet

2015-10-29 Thread George V. Neville-Neil
Author: gnn Date: Thu Oct 29 21:26:32 2015 New Revision: 290165 URL: https://svnweb.freebsd.org/changeset/base/290165 Log: Set the proper direction to check for policies in this one case. Pointed out by: eri Sponsored by: Rubicon Communications (Netgate) Modified:

svn commit: r290162 - head/share/misc

2015-10-29 Thread Jonathan T. Looney
Author: jtl Date: Thu Oct 29 21:00:11 2015 New Revision: 290162 URL: https://svnweb.freebsd.org/changeset/base/290162 Log: Add myself (jtl) and my mentor to the committers-src.dot file. Approved by: gnn (mentor) Differential Revision:https://reviews.freebsd.org/D4029 Modified:

svn commit: r290166 - head/share/misc

2015-10-29 Thread Svatopluk Kraus
Author: skra Date: Thu Oct 29 21:40:32 2015 New Revision: 290166 URL: https://svnweb.freebsd.org/changeset/base/290166 Log: Install myself as src committer. Approved by: kib (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/committers-src.dot

svn commit: r290169 - head/lib/libc/iconv

2015-10-29 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 29 23:06:33 2015 New Revision: 290169 URL: https://svnweb.freebsd.org/changeset/base/290169 Log: Use memmove(3) to avoid overlapping copy. Reported by: valgrind MFC after:2 weeks X-MFC-With: r290168 Modified: head/lib/libc/iconv/citrus_esdb.c

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

2015-10-29 Thread Oliver Pinter
Yes, at next week I have time for the test. Please ping me again at Monday. On Thursday, October 29, 2015, Roger Pau Monné wrote: > El 26/10/15 a les 15.24, Oliver Pinter ha escrit: > > On 10/26/15, Adrian Chadd > wrote: > >> Hi, > >> >

svn commit: r290168 - head/lib/libc/iconv

2015-10-29 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 29 23:02:34 2015 New Revision: 290168 URL: https://svnweb.freebsd.org/changeset/base/290168 Log: Fix several memory leaks, and crashes, in iconvlist(3). - Both curitem and curitem (via the names list) was always leaked. - malloc(3) failures lead to some

svn commit: r290147 - head/sys/dev/isp

2015-10-29 Thread Alexander Motin
Author: mav Date: Thu Oct 29 16:48:12 2015 New Revision: 290147 URL: https://svnweb.freebsd.org/changeset/base/290147 Log: Fix and improve error masking and reporting. Modified: head/sys/dev/isp/isp.c head/sys/dev/isp/ispmbox.h head/sys/dev/isp/ispreg.h Modified: head/sys/dev/isp/isp.c

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

2015-10-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Oct 30 00:24:37 2015 New Revision: 290171 URL: https://svnweb.freebsd.org/changeset/base/290171 Log: Fix framebuffer compatibility with new RPi firmware. Framebuffer driver receives video memory address from VideoCore through property mailbox channel. Older versions

svn commit: r290173 - head/usr.sbin/rtadvd

2015-10-29 Thread Xin LI
Author: delphij Date: Fri Oct 30 00:33:03 2015 New Revision: 290173 URL: https://svnweb.freebsd.org/changeset/base/290173 Log: Use strlcpy(). MFC after:2 weeks Modified: head/usr.sbin/rtadvd/if.c Modified: head/usr.sbin/rtadvd/if.c

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

2015-10-29 Thread Xin LI
Author: delphij Date: Fri Oct 30 00:46:52 2015 New Revision: 290174 URL: https://svnweb.freebsd.org/changeset/base/290174 Log: In pw_userlock, set 'name' to NULL when we encounter an all number string because it is also used as an indicator of whether a name or an UID is being used and we

Re: svn commit: r290130 - head/sys/dev/ntb/ntb_hw

2015-10-29 Thread Conrad Meyer
On Thu, 29 Oct 2015 09:53:43 +0200 Konstantin Belousov wrote: > On Thu, Oct 29, 2015 at 04:16:28AM +, Conrad E. Meyer > wrote: > > Author: cem > > Date: Thu Oct 29 04:16:28 2015 > > New Revision: 290130 > > URL: https://svnweb.freebsd.org/changeset/base/290130 > > > >

svn commit: r290170 - head/sys/dev/filemon

2015-10-29 Thread Bryan Drewery
Author: bdrewery Date: Thu Oct 29 23:56:34 2015 New Revision: 290170 URL: https://svnweb.freebsd.org/changeset/base/290170 Log: Remove unneeded NULL as this is initialized with M_ZERO. MFC after:2 weeks Sponsored by: EMC / Isilon Storage Division Modified:

Re: svn commit: r290130 - head/sys/dev/ntb/ntb_hw

2015-10-29 Thread Konstantin Belousov
On Thu, Oct 29, 2015 at 04:16:28AM +, Conrad E. Meyer wrote: > Author: cem > Date: Thu Oct 29 04:16:28 2015 > New Revision: 290130 > URL: https://svnweb.freebsd.org/changeset/base/290130 > > Log: > ntb: Do not attempt to set write-combining on MWs > > AMD64 pmap assumes ranges will be

svn commit: r290135 - in head/sys: compat/linuxkpi/common/include/asm compat/linuxkpi/common/include/linux compat/linuxkpi/common/include/net compat/linuxkpi/common/src conf dev/usb modules/cxgb/iw...

2015-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 29 08:28:39 2015 New Revision: 290135 URL: https://svnweb.freebsd.org/changeset/base/290135 Log: Finish process of moving the LinuxKPI module into the default kernel build. - Move all files related to the LinuxKPI into sys/compat/linuxkpi and its

svn commit: r290136 - head

2015-10-29 Thread Hans Petter Selasky
Author: hselasky Date: Thu Oct 29 08:45:56 2015 New Revision: 290136 URL: https://svnweb.freebsd.org/changeset/base/290136 Log: Add myself to MAINTAINERS. Modified: head/MAINTAINERS Modified: head/MAINTAINERS == ---

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

2015-10-29 Thread Alexander Motin
Author: mav Date: Thu Oct 29 09:50:48 2015 New Revision: 290138 URL: https://svnweb.freebsd.org/changeset/base/290138 Log: Some updates to isp(4) manual page. Modified: head/share/man/man4/isp.4 Modified: head/share/man/man4/isp.4

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

2015-10-29 Thread Alexander Motin
Author: mav Date: Thu Oct 29 10:31:44 2015 New Revision: 290139 URL: https://svnweb.freebsd.org/changeset/base/290139 Log: Some minor additions to r290138, Modified: head/share/man/man4/isp.4 Modified: head/share/man/man4/isp.4

svn commit: r290180 - head/usr.sbin/makefs

2015-10-29 Thread Garrett Cooper
Author: ngie Date: Fri Oct 30 05:55:56 2015 New Revision: 290180 URL: https://svnweb.freebsd.org/changeset/base/290180 Log: Follow up to roundup feature addition in r289203 - Rename -r to -R to avoid the clash with makefs -r in NetBSD - Note that -R is an FFS-specific option because it's

svn commit: r290177 - in head: etc/mtree lib/libc/tests

2015-10-29 Thread Garrett Cooper
Author: ngie Date: Fri Oct 30 03:28:00 2015 New Revision: 290177 URL: https://svnweb.freebsd.org/changeset/base/290177 Log: Integrate contrib/netbsd-tests/lib/libc/rpc into the FreeBSD test suite as lib/libc/rpc This testcase requires rpcbind be up in running; otherwise the testcases

svn commit: r290178 - head/secure/lib/libcrypto/engines/libgost

2015-10-29 Thread Garrett Cooper
Author: ngie Date: Fri Oct 30 05:33:38 2015 New Revision: 290178 URL: https://svnweb.freebsd.org/changeset/base/290178 Log: Fix GOST engine cipher linkage by adding e_gost_err.c to SRCS so it picks up undefined symbols, like "ERR_load_GOST_strings" MFC after: 3 days PR: 184805

svn commit: r290179 - head/lib/libc/gen

2015-10-29 Thread Garrett Cooper
Author: ngie Date: Fri Oct 30 05:50:05 2015 New Revision: 290179 URL: https://svnweb.freebsd.org/changeset/base/290179 Log: Remove a set but unused variable in __getgroupmembership to fix a gcc 4.9+ warning MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r290175 - head/sys/dev/cxgbe/tom

2015-10-29 Thread Navdeep Parhar
Author: np Date: Fri Oct 30 01:18:07 2015 New Revision: 290175 URL: https://svnweb.freebsd.org/changeset/base/290175 Log: cxgbe/tom: decide whether to shove segments or not only if there is payload to transmit. MFC after:1 week Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c

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

2015-10-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Fri Oct 30 01:19:04 2015 New Revision: 290176 URL: https://svnweb.freebsd.org/changeset/base/290176 Log: Fix BULK read transfer if destination buffer is not cache line-aligned. We can't use copyout because destination memory is userland address in another process but