svn commit: r303213 - head/bin/ps

2016-07-22 Thread Konstantin Belousov
Author: kib Date: Sat Jul 23 06:30:00 2016 New Revision: 303213 URL: https://svnweb.freebsd.org/changeset/base/303213 Log: Addm missed required call to xo_finish() when only header is printed. Reported by: pho Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/

svn commit: r303212 - in head: etc/mtree tools/build/mk usr.sbin/chown/tests

2016-07-22 Thread Bryan Drewery
Author: bdrewery Date: Sat Jul 23 05:49:18 2016 New Revision: 303212 URL: https://svnweb.freebsd.org/changeset/base/303212 Log: Move chown tests to proper path Sponsored by: EMC / Isilon Storage Division Modified: head/etc/mtree/BSD.tests.dist head/tools/build/mk/OptionalObsoleteFiles.

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

2016-07-22 Thread Konstantin Belousov
Author: kib Date: Sat Jul 23 05:30:55 2016 New Revision: 303211 URL: https://svnweb.freebsd.org/changeset/base/303211 Log: Implement mtx_trylock_spin(9). Discussed with: bde Reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

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

2016-07-22 Thread Andrey A. Chernov
Author: ache Date: Sat Jul 23 03:49:02 2016 New Revision: 303210 URL: https://svnweb.freebsd.org/changeset/base/303210 Log: 1) POSIX defines well when GLOB_NOMATCH or original pattern (instead) should be returned, so we can't return GLOB_NOMATCH blindly just because we dislike something in t

Re: svn commit: r303209 - head/sys/powerpc/booke

2016-07-22 Thread Bruce Evans
On Sat, 23 Jul 2016, Justin Hibbits wrote: Log: Use label math instead of hard-coding offsets for return addresses. Though the chances of the code in these sections changing are low, future-proof the sections and use label math. Not with numeric labels. Renumber the surrounding areas to

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

2016-07-22 Thread Justin Hibbits
Author: jhibbits Date: Sat Jul 23 02:27:42 2016 New Revision: 303209 URL: https://svnweb.freebsd.org/changeset/base/303209 Log: Use label math instead of hard-coding offsets for return addresses. Though the chances of the code in these sections changing are low, future-proof the sections

Re: svn commit: r303188 - head/share/mk

2016-07-22 Thread Bryan Drewery
On 7/22/2016 5:25 PM, Bruce Evans wrote: > On Fri, 22 Jul 2016, Ngie Cooper wrote: > >> On Fri, Jul 22, 2016 at 2:57 PM, Bruce Evans >> wrote: >> ... > +# GCC 6.1.0 > +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 > +CWARNFLAGS+= -Wno-error=unused-const-variable= >>>

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

2016-07-22 Thread Andrey A. Chernov
Author: ache Date: Sat Jul 23 01:21:58 2016 New Revision: 303208 URL: https://svnweb.freebsd.org/changeset/base/303208 Log: 1) We need the original pattern (in the next round of changes) not only in case it fully constructed, but for half-constructed too, so have no other choice to pass orig

Re: svn commit: r303188 - head/share/mk

2016-07-22 Thread Bruce Evans
On Fri, 22 Jul 2016, Ngie Cooper wrote: On Fri, Jul 22, 2016 at 2:57 PM, Bruce Evans wrote: ... +# GCC 6.1.0 +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 +CWARNFLAGS+= -Wno-error=unused-const-variable= -Wno-error=nonnull-compare -Wno-error=shift-negative-value -Wno-error=mi

Re: svn commit: r303188 - head/share/mk

2016-07-22 Thread Ruslan Bukin
On Fri, Jul 22, 2016 at 03:20:51PM -0700, Ngie Cooper wrote: > On Fri, Jul 22, 2016 at 2:57 PM, Bruce Evans wrote: > ... > >>> +# GCC 6.1.0 > >>> +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 > >>> +CWARNFLAGS+= -Wno-error=unused-const-variable= > >>> -Wno-error=nonnull-compare

Re: svn commit: r303205 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2016-07-22 Thread John Baldwin
On Friday, July 22, 2016 10:46:41 PM John Baldwin wrote: > Author: jhb > Date: Fri Jul 22 22:46:41 2016 > New Revision: 303205 > URL: https://svnweb.freebsd.org/changeset/base/303205 > > Log: > Add a driver to create VF devices on Chelsio T4/T5 NICs. > > Chelsio NICs are a bit unique compar

svn commit: r303205 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2016-07-22 Thread John Baldwin
Author: jhb Date: Fri Jul 22 22:46:41 2016 New Revision: 303205 URL: https://svnweb.freebsd.org/changeset/base/303205 Log: Add a driver to create VF devices on Chelsio T4/T5 NICs. Chelsio NICs are a bit unique compared to some other NICs in that they expose different functionality on diff

Re: svn commit: r303188 - head/share/mk

2016-07-22 Thread Ngie Cooper
On Fri, Jul 22, 2016 at 2:57 PM, Bruce Evans wrote: ... >>> +# GCC 6.1.0 >>> +.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 60100 >>> +CWARNFLAGS+= -Wno-error=unused-const-variable= >>> -Wno-error=nonnull-compare -Wno-error=shift-negative-value >>> -Wno-error=misleading-indentation -Wn

Re: svn commit: r303188 - head/share/mk

2016-07-22 Thread Bruce Evans
On Fri, 22 Jul 2016, John Baldwin wrote: On Friday, July 22, 2016 03:00:38 PM Ruslan Bukin wrote: Log: Add warn flags for GCC 6.1 compiler. Sponsored by: DARPA, AFRL Modified: head/share/mk/bsd.sys.mk Modified: head/share/mk/bsd.sys.mk =

svn commit: r303204 - head/sys/dev/cxgbe

2016-07-22 Thread John Baldwin
Author: jhb Date: Fri Jul 22 21:52:07 2016 New Revision: 303204 URL: https://svnweb.freebsd.org/changeset/base/303204 Log: Install a handler for firmware work request error messages. If a driver sends an malformed or disallowed work request, the firmware responds with a work request error

svn commit: r303203 - head/share/misc

2016-07-22 Thread Michael Zhilin
Author: mizhka Date: Fri Jul 22 21:49:41 2016 New Revision: 303203 URL: https://svnweb.freebsd.org/changeset/base/303203 Log: [new-committer:mizhka] add committer into graph Approved by: adrian (mentor) Differential Revision: https://reviews.freebsd.org/D7288 Modified: head/share/misc/

Re: svn commit: r303076 - head/sys/dev/fb

2016-07-22 Thread John Baldwin
On Wednesday, July 20, 2016 09:29:39 AM Roger Pau Monné wrote: > Author: royger > Date: Wed Jul 20 09:29:39 2016 > New Revision: 303076 > URL: https://svnweb.freebsd.org/changeset/base/303076 > > Log: > vesa: fix panic on suspend > > Fix the following panic seen when migrating a FreeBSD gue

Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-22 Thread Nathan Whitehorn
On 07/22/16 13:53, Andrew Turner wrote: On Fri, 22 Jul 2016 13:19:32 -0700 John Baldwin wrote: On Thursday, July 21, 2016 10:51:20 PM Nathan Whitehorn wrote: On 07/21/16 14:35, John Baldwin wrote: On Thursday, July 21, 2016 01:37:42 PM Andrew Turner wrote: On Wed, 20 Jul 2016 13:28:53 +02

Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-22 Thread Andrew Turner
On Fri, 22 Jul 2016 13:19:32 -0700 John Baldwin wrote: > On Thursday, July 21, 2016 10:51:20 PM Nathan Whitehorn wrote: > > > > On 07/21/16 14:35, John Baldwin wrote: > > > On Thursday, July 21, 2016 01:37:42 PM Andrew Turner wrote: > > >> On Wed, 20 Jul 2016 13:28:53 +0200 > > >> Michal Mel

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

2016-07-22 Thread John Baldwin
Author: jhb Date: Fri Jul 22 20:52:40 2016 New Revision: 303202 URL: https://svnweb.freebsd.org/changeset/base/303202 Log: Update after r303154 to note that operations on local files are safe. Modified: head/share/man/man4/aio.4 Modified: head/share/man/man4/aio.4 ===

Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-22 Thread Nathan Whitehorn
On 07/22/16 13:19, John Baldwin wrote: On Thursday, July 21, 2016 10:51:20 PM Nathan Whitehorn wrote: On 07/21/16 14:35, John Baldwin wrote: On Thursday, July 21, 2016 01:37:42 PM Andrew Turner wrote: On Wed, 20 Jul 2016 13:28:53 +0200 Michal Meloun wrote: Dne 19.07.2016 v 17:06 Nathan Whi

Re: svn commit: r303188 - head/share/mk

2016-07-22 Thread John Baldwin
On Friday, July 22, 2016 03:00:38 PM Ruslan Bukin wrote: > Author: br > Date: Fri Jul 22 15:00:38 2016 > New Revision: 303188 > URL: https://svnweb.freebsd.org/changeset/base/303188 > > Log: > Add warn flags for GCC 6.1 compiler. > > Sponsored by: DARPA, AFRL > > Modified: > head/s

Re: svn commit: r303190 - head/sys/conf

2016-07-22 Thread John Baldwin
On Friday, July 22, 2016 04:15:35 PM Ruslan Bukin wrote: > Author: br > Date: Fri Jul 22 16:15:35 2016 > New Revision: 303190 > URL: https://svnweb.freebsd.org/changeset/base/303190 > > Log: > Add GCC 6.1 warn flags for kernel as well. > > Sponsored by: DARPA, AFRL > > Modified: >

Re: svn commit: r301453 - in head/sys: arm/arm arm64/arm64 dev/fdt dev/gpio dev/iicbus dev/ofw dev/pci dev/vnic kern mips/mips sys

2016-07-22 Thread John Baldwin
On Thursday, July 21, 2016 10:51:20 PM Nathan Whitehorn wrote: > > On 07/21/16 14:35, John Baldwin wrote: > > On Thursday, July 21, 2016 01:37:42 PM Andrew Turner wrote: > >> On Wed, 20 Jul 2016 13:28:53 +0200 > >> Michal Meloun wrote: > >>> Dne 19.07.2016 v 17:06 Nathan Whitehorn napsal(a): > >>

svn commit: r303199 - head/usr.sbin/ctld

2016-07-22 Thread Navdeep Parhar
Author: np Date: Fri Jul 22 19:28:23 2016 New Revision: 303199 URL: https://svnweb.freebsd.org/changeset/base/303199 Log: ctld(8): Fix MaxBurstLength negotiation. The target must reply with the selected value of MaxBurstSize instead of just echoing back the initiator's offered value.

svn commit: r303195 - head/sys/conf

2016-07-22 Thread Bryan Drewery
Author: bdrewery Date: Fri Jul 22 17:31:14 2016 New Revision: 303195 URL: https://svnweb.freebsd.org/changeset/base/303195 Log: Don't run find(1) for __MPATH with NO_MODULES set. It's a waste of time when it won't be used. Submitted by: bde MFC after:3 days Modified: head/sys/

Re: svn commit: r300349 - head

2016-07-22 Thread Bryan Drewery
On 5/20/16 6:32 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Sat May 21 01:32:07 2016 > New Revision: 300349 > URL: https://svnweb.freebsd.org/changeset/base/300349 > > Log: > Enable and utilize WITHOUT_CROSS_COMPILER logic for external CC. > > This is a NOP. > It turns out it is

svn commit: r303190 - head/sys/conf

2016-07-22 Thread Ruslan Bukin
Author: br Date: Fri Jul 22 16:15:35 2016 New Revision: 303190 URL: https://svnweb.freebsd.org/changeset/base/303190 Log: Add GCC 6.1 warn flags for kernel as well. Sponsored by: DARPA, AFRL Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk

svn commit: r303189 - head/share/mk

2016-07-22 Thread Ruslan Bukin
Author: br Date: Fri Jul 22 15:22:49 2016 New Revision: 303189 URL: https://svnweb.freebsd.org/changeset/base/303189 Log: Set the soft-float flag for assembly code as well. This fixes compilation with GCC 6.1. Sponsored by: DARPA, AFRL Modified: head/share/mk/bsd.cpu.mk Modified: head

svn commit: r303187 - head/contrib/llvm/projects/libunwind/include

2016-07-22 Thread Ruslan Bukin
Author: br Date: Fri Jul 22 14:57:26 2016 New Revision: 303187 URL: https://svnweb.freebsd.org/changeset/base/303187 Log: Set real values for context/cursor sizes for RISC-V to prevent static assertions. Reviewed by: emaste Sponsored by: DARPA, AFRL Modified: head/contrib/llvm/proje

svn commit: r303188 - head/share/mk

2016-07-22 Thread Ruslan Bukin
Author: br Date: Fri Jul 22 15:00:38 2016 New Revision: 303188 URL: https://svnweb.freebsd.org/changeset/base/303188 Log: Add warn flags for GCC 6.1 compiler. Sponsored by: DARPA, AFRL Modified: head/share/mk/bsd.sys.mk Modified: head/share/mk/bsd.sys.mk

Re: svn commit: r303146 - head/usr.bin/sed

2016-07-22 Thread Pedro Giffuni
On 07/22/16 02:13, Bruce Evans wrote: On Fri, 22 Jul 2016, Alexey Dokuchaev wrote: Log: sed(1): Appease older GCC. "Appease" actually seems to be the correct wording here since gcc's detection of a variable that might be used unitialized seems to report one that is not used uninitialized.

svn commit: r303186 - head/sys/arm/allwinner/a20

2016-07-22 Thread Emmanuel Vadot
Author: manu Date: Fri Jul 22 14:39:55 2016 New Revision: 303186 URL: https://svnweb.freebsd.org/changeset/base/303186 Log: PC5 doesn't have mmc2 function. Modified: head/sys/arm/allwinner/a20/a20_padconf.c Modified: head/sys/arm/allwinner/a20/a20_padconf.c ==

Re: svn commit: r303146 - head/usr.bin/sed

2016-07-22 Thread Bruce Evans
On Fri, 22 Jul 2016, Alexey Dokuchaev wrote: Log: sed(1): Appease older GCC. "Appease" actually seems to be the correct wording here since gcc's detection of a variable that might be used unitialized seems to report one that is not used uninitialized. Isn't it also being dictated by style(