Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-02-12 Thread Hans Petter Selasky
On 02/11/16 17:47, Warner Losh wrote: On Wed, Feb 10, 2016 at 8:08 AM, Pedro Giffuni wrote: Hello; El 10/02/2016 a las 02:20, Hans Petter Selasky escribió: On 01/19/16 17:09, Ryan Stone wrote: On Tue, Jan 19, 2016 at 10:33 AM, Hans Petter Selasky < hsela...@freebsd.org> wrote: +

svn commit: r295588 - head/sys/dev/ioat

2016-02-12 Thread Conrad E. Meyer
Author: cem Date: Sat Feb 13 02:55:45 2016 New Revision: 295588 URL: https://svnweb.freebsd.org/changeset/base/295588 Log: ioat(4): Recheck status register on zero-descriptor wakeups Errors that halt the channel don't necessarily result in a completion update, apparently. Sponsored b

Re: svn commit: r295557 - head/sys/dev/uart

2016-02-12 Thread Marius Strobl
On Sat, Feb 13, 2016 at 06:53:25AM +1100, Bruce Evans wrote: > On Fri, 12 Feb 2016, Marius Strobl wrote: > > > On Fri, Feb 12, 2016 at 05:14:58AM +, Michal Meloun wrote: > >> Author: mmel > >> Date: Fri Feb 12 05:14:58 2016 > >> New Revision: 295557 > >> URL: https://svnweb.freebsd.org/changes

svn commit: r295587 - head/share/examples/jails

2016-02-12 Thread Devin Teske
Author: dteske Date: Sat Feb 13 00:28:48 2016 New Revision: 295587 URL: https://svnweb.freebsd.org/changeset/base/295587 Log: Fix missing description for command usage While "jng" or "jib" without arguments told you what each sub-command does, sub-command usage didn't tell you (e.g., "jng

svn commit: r295586 - head/sys/fs/cd9660

2016-02-12 Thread Pedro F. Giffuni
Author: pfg Date: Fri Feb 12 22:46:14 2016 New Revision: 295586 URL: https://svnweb.freebsd.org/changeset/base/295586 Log: cd9660: More "check for NULL" cleaunps. Cleanup some checks for NULL. Most of these were always unnecessary and starting with r294954 brelse() doesn't need any NULL c

svn commit: r295584 - head/sys/netinet6

2016-02-12 Thread Mark Johnston
Author: markj Date: Fri Feb 12 21:17:00 2016 New Revision: 295584 URL: https://svnweb.freebsd.org/changeset/base/295584 Log: Add a missing newline to a log message. MFC after:1 week Modified: head/sys/netinet6/scope6.c Modified: head/sys/netinet6/scope6.c ===

svn commit: r295583 - head/sys/netinet6

2016-02-12 Thread Mark Johnston
Author: markj Date: Fri Feb 12 21:15:57 2016 New Revision: 295583 URL: https://svnweb.freebsd.org/changeset/base/295583 Log: Rename the flags field of struct nd_defrouter to "raflags". This field contains the flags inherited from the corresponding router advertisement message and is not f

svn commit: r295582 - head/usr.bin/elfcopy

2016-02-12 Thread Ed Maste
Author: emaste Date: Fri Feb 12 21:15:31 2016 New Revision: 295582 URL: https://svnweb.freebsd.org/changeset/base/295582 Log: elfcopy: enable PE and EFI support Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/elfcopy/Makefile Modified: head/usr.bin/elfcopy/Makefile =

svn commit: r295581 - in head: . lib lib/libpe share/mk

2016-02-12 Thread Ed Maste
Author: emaste Date: Fri Feb 12 21:12:47 2016 New Revision: 295581 URL: https://svnweb.freebsd.org/changeset/base/295581 Log: Add libpe for elfcopy(1) PE/COFF support Sponsored by: The FreeBSD Foundation Added: head/lib/libpe/ head/lib/libpe/Makefile (contents, props changed) Modifie

svn commit: r295580 - head/sys/netinet6

2016-02-12 Thread Mark Johnston
Author: markj Date: Fri Feb 12 21:06:48 2016 New Revision: 295580 URL: https://svnweb.freebsd.org/changeset/base/295580 Log: Simplify defrtrlist_update() slightly in preparation for future changes. No functional change intended. MFC after:1 week Modified: head/sys/netinet6/nd6_r

svn commit: r295579 - head/sys/netinet6

2016-02-12 Thread Mark Johnston
Author: markj Date: Fri Feb 12 21:01:53 2016 New Revision: 295579 URL: https://svnweb.freebsd.org/changeset/base/295579 Log: Remove a bogus comment from nd6_na_input(). The splnet() call that it refers to has been removed, and a lock for the default router list is in fact needed. MFC

svn commit: r295578 - head/sys/netinet6

2016-02-12 Thread Mark Johnston
Author: markj Date: Fri Feb 12 20:55:22 2016 New Revision: 295578 URL: https://svnweb.freebsd.org/changeset/base/295578 Log: Remove superfluous return statements from the neighbour discovery code. MFC after:1 week Modified: head/sys/netinet6/nd6.c head/sys/netinet6/nd6_nbr.c head

svn commit: r295577 - in head: contrib/elftoolchain/addr2line contrib/elftoolchain/ar contrib/elftoolchain/brandelf contrib/elftoolchain/common contrib/elftoolchain/cxxfilt contrib/elftoolchain/elf...

2016-02-12 Thread Ed Maste
Author: emaste Date: Fri Feb 12 20:54:02 2016 New Revision: 295577 URL: https://svnweb.freebsd.org/changeset/base/295577 Log: Update ELF Tool Chain to upstream rev 3400 Some notable improvements include: readelf: - Add AArch64 relocation definitions. - Report value of unknown reloc

svn commit: r295576 - head/sys/netinet6

2016-02-12 Thread Mark Johnston
Author: markj Date: Fri Feb 12 20:52:53 2016 New Revision: 295576 URL: https://svnweb.freebsd.org/changeset/base/295576 Log: Fix style around allocations from M_IP6NDP. - Don't cast the return value of malloc(9). - Use M_ZERO instead of explicitly calling bzero(9). MFC after:1 we

svn commit: r295575 - head/sys/netinet6

2016-02-12 Thread Mark Johnston
Author: markj Date: Fri Feb 12 20:46:53 2016 New Revision: 295575 URL: https://svnweb.freebsd.org/changeset/base/295575 Log: Remove some unreferenced NDP debug variable definitions. MFC after:1 week Modified: head/sys/netinet6/nd6.c Modified: head/sys/netinet6/nd6.c

svn commit: r295574 - head/sys/fs/tmpfs

2016-02-12 Thread Mark Johnston
Author: markj Date: Fri Feb 12 20:43:53 2016 New Revision: 295574 URL: https://svnweb.freebsd.org/changeset/base/295574 Log: Clear the cookie pointer on error in tmpfs_readdir(). It is otherwise left dangling, and callers that request cookies always free the cookie buffer, even when VOP_R

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Bruce Evans
On Fri, 12 Feb 2016, Konstantin Belousov wrote: On Sat, Feb 13, 2016 at 03:56:42AM +1100, Bruce Evans wrote: Our Standard C namespace is a subset of the POSIX namespace. Most Standard C headers are (were) careful about this. There aren't many Standard C headers or versions of Standard C or la

svn commit: r295573 - in head/sys/dev/cxgbe: . common

2016-02-12 Thread Navdeep Parhar
Author: np Date: Fri Feb 12 20:14:03 2016 New Revision: 295573 URL: https://svnweb.freebsd.org/changeset/base/295573 Log: Remove duplicate definition (CPL_TRACE_PKT_T5). Modified: head/sys/dev/cxgbe/common/t4_msg.h head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/common/t4_msg.h =

Re: svn commit: r295557 - head/sys/dev/uart

2016-02-12 Thread Bruce Evans
On Fri, 12 Feb 2016, Marius Strobl wrote: On Fri, Feb 12, 2016 at 05:14:58AM +, Michal Meloun wrote: Author: mmel Date: Fri Feb 12 05:14:58 2016 New Revision: 295557 URL: https://svnweb.freebsd.org/changeset/base/295557 Log: UART: Fix spurious interrupts generated by ns8250 and lpc drive

svn commit: r295568 - head/share/man/man5

2016-02-12 Thread Mark Felder
Author: feld (ports committer) Date: Fri Feb 12 17:55:06 2016 New Revision: 295568 URL: https://svnweb.freebsd.org/changeset/base/295568 Log: Document the new jail_reverse_stop parameter While here clean up the documentation for jail_list PR: 196152 Approved by: jamie, wbl

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Konstantin Belousov
On Sat, Feb 13, 2016 at 03:56:42AM +1100, Bruce Evans wrote: > Our Standard C namespace is a subset of the POSIX namespace. Most > Standard C headers are (were) careful about this. There aren't many > Standard C headers or versions of Standard C or large variations in the > versions, so this is r

Re: svn commit: r295566 - head/share/man/man4

2016-02-12 Thread Benjamin Kaduk
On Fri, 12 Feb 2016, Ian Lepore wrote: > On Fri, 2016-02-12 at 17:03 +, Benjamin Kaduk wrote: > > Author: bjk (doc committer) > > Date: Fri Feb 12 17:03:24 2016 > > New Revision: 295566 > > URL: https://svnweb.freebsd.org/changeset/base/295566 > > > > Log: > > Update .Dd for r295565 > > > >

Re: svn commit: r295566 - head/share/man/man4

2016-02-12 Thread Ian Lepore
On Fri, 2016-02-12 at 17:03 +, Benjamin Kaduk wrote: > Author: bjk (doc committer) > Date: Fri Feb 12 17:03:24 2016 > New Revision: 295566 > URL: https://svnweb.freebsd.org/changeset/base/295566 > > Log: > Update .Dd for r295565 > > Modified: > head/share/man/man4/ds3231.4 I thought .Dd

svn commit: r295567 - head/sys/arm/mv

2016-02-12 Thread Andrew Turner
Author: andrew Date: Fri Feb 12 17:04:03 2016 New Revision: 295567 URL: https://svnweb.freebsd.org/changeset/base/295567 Log: Stop adding an extra null terminator to strings, OF_getprop already returns a null terminated string. Modified: head/sys/arm/mv/twsi.c Modified: head/sys/arm/mv/tws

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

2016-02-12 Thread Benjamin Kaduk
Author: bjk (doc committer) Date: Fri Feb 12 17:03:24 2016 New Revision: 295566 URL: https://svnweb.freebsd.org/changeset/base/295566 Log: Update .Dd for r295565 Modified: head/share/man/man4/ds3231.4 Modified: head/share/man/man4/ds3231.4

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

2016-02-12 Thread Ian Lepore
Author: ian Date: Fri Feb 12 16:59:42 2016 New Revision: 295565 URL: https://svnweb.freebsd.org/changeset/base/295565 Log: Clarify the difference between 7- and 8-bit i2c addresses, used in FDT versus hints-based configuration, respectively. Reported by: Jukka Ukkonen Modified: head/s

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Bruce Evans
On Fri, 12 Feb 2016, Konstantin Belousov wrote: On Sat, Feb 13, 2016 at 01:08:55AM +1100, Bruce Evans wrote: On Fri, 12 Feb 2016, Konstantin Belousov wrote: ... Modified: head/include/signal.h == --- head/include/sign

Re: svn commit: r295557 - head/sys/dev/uart

2016-02-12 Thread Marius Strobl
On Fri, Feb 12, 2016 at 05:14:58AM +, Michal Meloun wrote: > Author: mmel > Date: Fri Feb 12 05:14:58 2016 > New Revision: 295557 > URL: https://svnweb.freebsd.org/changeset/base/295557 > > Log: > UART: Fix spurious interrupts generated by ns8250 and lpc drivers: >- don't enable transmit

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

2016-02-12 Thread Adrian Chadd
Hah great catch! I always wondered about this! -a On 11 February 2016 at 23:27, Konstantin Belousov wrote: > Author: kib > Date: Fri Feb 12 07:27:24 2016 > New Revision: 295560 > URL: https://svnweb.freebsd.org/changeset/base/295560 > > Log: > If full width writes to the performance monitori

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Konstantin Belousov
On Sat, Feb 13, 2016 at 02:19:21AM +1100, Bruce Evans wrote: > On Fri, 12 Feb 2016, Konstantin Belousov wrote: > > > On Fri, Feb 12, 2016 at 01:22:04PM +, Ruslan Bukin wrote: > >> On RISC-V it fails with __uint128_t: > >> > >> struct fpregs { > >> __uint128_t fp_x[32]; > >> > >> ho

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Bruce Evans
On Fri, 12 Feb 2016, Konstantin Belousov wrote: On Fri, Feb 12, 2016 at 01:22:04PM +, Ruslan Bukin wrote: On RISC-V it fails with __uint128_t: struct fpregs { __uint128_t fp_x[32]; how to fix? You did not copied the error. If my guess is correct, the issue is that __uint128_

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Bruce Evans
On Fri, 12 Feb 2016, Ruslan Bukin wrote: On RISC-V it fails with __uint128_t: struct fpregs { __uint128_t fp_x[32]; how to fix? This seems to be an old bug. __uint128_t shouldn't be used unless it is supported by . In old versions of FreeBSD, I used something like __attribute__(

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Konstantin Belousov
On Fri, Feb 12, 2016 at 02:18:22PM +, Ruslan Bukin wrote: > On Fri, Feb 12, 2016 at 04:13:53PM +0200, Konstantin Belousov wrote: > > On Fri, Feb 12, 2016 at 01:22:04PM +, Ruslan Bukin wrote: > > > On RISC-V it fails with __uint128_t: > > > > > > struct fpregs { > > > __uint128_t

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Ruslan Bukin
On Fri, Feb 12, 2016 at 04:13:53PM +0200, Konstantin Belousov wrote: > On Fri, Feb 12, 2016 at 01:22:04PM +, Ruslan Bukin wrote: > > On RISC-V it fails with __uint128_t: > > > > struct fpregs { > > __uint128_t fp_x[32]; > > > > how to fix? > You did not copied the error. sorry, t

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Konstantin Belousov
On Sat, Feb 13, 2016 at 01:08:55AM +1100, Bruce Evans wrote: > On Fri, 12 Feb 2016, Konstantin Belousov wrote: > > > Log: > > POSIX states that #include shall make both mcontext_t and > > ucontext_t available. Our code even has XXX comment about this. > > Only newer versions of POSIX have thi

svn commit: r295564 - head/sys/riscv/include

2016-02-12 Thread Ruslan Bukin
Author: br Date: Fri Feb 12 14:29:14 2016 New Revision: 295564 URL: https://svnweb.freebsd.org/changeset/base/295564 Log: Use __uint64_t type for floating point registers as compiler don't know about __uint128_t yet. Discussed with: theraven, kib Modified: head/sys/riscv/include/

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Konstantin Belousov
On Fri, Feb 12, 2016 at 01:22:04PM +, Ruslan Bukin wrote: > On RISC-V it fails with __uint128_t: > > struct fpregs { > __uint128_t fp_x[32]; > > how to fix? You did not copied the error. If my guess is correct, the issue is that __uint128_t typedef is not present in the riscv/inc

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Bruce Evans
On Fri, 12 Feb 2016, Konstantin Belousov wrote: Log: POSIX states that #include shall make both mcontext_t and ucontext_t available. Our code even has XXX comment about this. Only newer versions of POSIX have this bug. In the 2001 version, the bug was limited to the XSI section. was lim

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Ruslan Bukin
On RISC-V it fails with __uint128_t: struct fpregs { __uint128_t fp_x[32]; how to fix? Ruslan On Fri, Feb 12, 2016 at 07:38:20AM +, Konstantin Belousov wrote: > Author: kib > Date: Fri Feb 12 07:38:19 2016 > New Revision: 295561 > URL: https://svnweb.freebsd.org/changeset/base/2

svn commit: r295563 - head/sys/arm64/arm64

2016-02-12 Thread Andrew Turner
Author: andrew Date: Fri Feb 12 12:38:04 2016 New Revision: 295563 URL: https://svnweb.freebsd.org/changeset/base/295563 Log: Only update curthread and curpcb after we have finished using the old values. If switching from a thread that used floating-point registers to a thread that is s

Re: svn commit: r295323 - head/sys/dev/e1000

2016-02-12 Thread Oliver Pinter
On 2/5/16, Eric Joyner wrote: > Author: erj > Date: Fri Feb 5 17:14:37 2016 > New Revision: 295323 > URL: https://svnweb.freebsd.org/changeset/base/295323 > > Log: > Update em(4) to 7.6.1; update igb(4) to 2.5.3. > > Major changes: > > - Add i219/i219(2) hardware support. (Found on Skylake

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

2016-02-12 Thread Alexander Motin
Author: mav Date: Fri Feb 12 10:58:13 2016 New Revision: 295562 URL: https://svnweb.freebsd.org/changeset/base/295562 Log: Don't check CmdSN for initial login request. This fixes connection errors for some initiators not starting CmdSN from zero. While there, fix wrong status details