svn commit: r316603 - head/targets/pseudo/tests

2017-04-07 Thread Ngie Cooper
Author: ngie Date: Fri Apr 7 07:46:21 2017 New Revision: 316603 URL: https://svnweb.freebsd.org/changeset/base/316603 Log: META_MODE: add additional reachover relative paths to DIRDEPS_BUILD These additional entries are being added, after their addition to the source tree. MFC

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

2017-04-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 7 12:27:49 2017 New Revision: 316606 URL: https://svnweb.freebsd.org/changeset/base/316606 Log: The __stringify() macro in the LinuxKPI should expand any macros before stringifying. MFC after:1 week Sponsored by: Mellanox Technologies

svn commit: r316607 - head/crypto/openssl/crypto

2017-04-07 Thread Andrew Turner
Author: andrew Date: Fri Apr 7 12:41:57 2017 New Revision: 316607 URL: https://svnweb.freebsd.org/changeset/base/316607 Log: Fix linking with lld by marking OPENSSL_armcap_P as hidden. Linking with lld fails as it contains a relative address, however the data this address is for may be

svn commit: r316631 - head/sys/net

2017-04-07 Thread Patrick Kelsey
Author: pkelsey Date: Sat Apr 8 04:37:01 2017 New Revision: 316631 URL: https://svnweb.freebsd.org/changeset/base/316631 Log: Fix typo in comment. logest -> longest MFC after:3 days Modified: head/sys/net/rtsock.c Modified: head/sys/net/rtsock.c

svn commit: r316633 - head/sys/net

2017-04-07 Thread Patrick Kelsey
Author: pkelsey Date: Sat Apr 8 04:45:52 2017 New Revision: 316633 URL: https://svnweb.freebsd.org/changeset/base/316633 Log: Fixed typo in comment. patckets -> packets MFC after:3 days Modified: head/sys/net/if_epair.c Modified: head/sys/net/if_epair.c

svn commit: r316630 - head/sys/sys

2017-04-07 Thread Patrick Kelsey
Author: pkelsey Date: Sat Apr 8 04:34:18 2017 New Revision: 316630 URL: https://svnweb.freebsd.org/changeset/base/316630 Log: Fix typo. hist -> hint MFC after:3 days Modified: head/sys/sys/event.h Modified: head/sys/sys/event.h

svn commit: r316632 - head/sys/sys

2017-04-07 Thread Patrick Kelsey
Author: pkelsey Date: Sat Apr 8 04:41:46 2017 New Revision: 316632 URL: https://svnweb.freebsd.org/changeset/base/316632 Log: Fixed typo. CSUM_COALESED -> CSUM_COALESCED MFC after:3 days Modified: head/sys/sys/mbuf.h Modified: head/sys/sys/mbuf.h

svn commit: r316634 - head/sys/net

2017-04-07 Thread Patrick Kelsey
Author: pkelsey Date: Sat Apr 8 04:50:50 2017 New Revision: 316634 URL: https://svnweb.freebsd.org/changeset/base/316634 Log: Fixed typo in comment found while reading commit email for fix of other typo in same comment. ned -> need MFC after:3 days Modified:

svn commit: r316621 - head/share/mk

2017-04-07 Thread John Baldwin
Author: jhb Date: Fri Apr 7 19:56:12 2017 New Revision: 316621 URL: https://svnweb.freebsd.org/changeset/base/316621 Log: Don't set the MIPS endianness flags in both ACFLAGS and CFLAGS. This should no longer be necessary after r316620 as all places that use ACFLAGS should already be

svn commit: r316623 - in head/sys: conf sparc64/conf

2017-04-07 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Fri Apr 7 21:06:50 2017 New Revision: 316623 URL: https://svnweb.freebsd.org/changeset/base/316623 Log: Revert previous change to sys/conf/options & associated notes so builds can resume while I investigate what I had missed. Modified:

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

2017-04-07 Thread John Baldwin
On Friday, April 07, 2017 02:38:16 PM Warner Losh wrote: > The TARGET_CPUTYPE=mips3 likely should be the default in the build > system. We require mips3 or better ISA for our O32 ABI. Since we > require that, making the user set this always is a friction point that > we should file off. It's not

svn commit: r316629 - head

2017-04-07 Thread Ed Maste
** SPECIAL WARNING: ** +20170407: + arm64 builds now use the base system LLD 4.0.0 linker by default, + instead of requiring that the aarch64-binutils port or package be + installed. To continue using aarch64-binutils, set +

svn commit: r316628 - head/sys/boot/efi/boot1

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:34 2017 New Revision: 316628 URL: https://svnweb.freebsd.org/changeset/base/316628 Log: Silence GCC warning by initializing the local variable. GCC 6.3 is unable to trace all code paths that lead to this variable being left uninitialized and correlate

svn commit: r316626 - head/sys/arm64/include

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:28 2017 New Revision: 316626 URL: https://svnweb.freebsd.org/changeset/base/316626 Log: Define 'lr' as x30 on aarch64 GNU toolchain does not recognize LR as standard register alias, but clang does. Use of #define will work on both. Place the

svn commit: r316624 - head/lib/libc/aarch64

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:20 2017 New Revision: 316624 URL: https://svnweb.freebsd.org/changeset/base/316624 Log: Do not use b.cs instruction to jump to cerror. The conditional jump can only be performed to targets up to 1MB in either direction and does not work too well when

svn commit: r316627 - head/usr.sbin/acpi/acpiconf

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:31 2017 New Revision: 316627 URL: https://svnweb.freebsd.org/changeset/base/316627 Log: Use int to receive the return value of getopt function. getopt returns int and not char, so assigning the value to char is not ideal, especially on platforms with

svn commit: r316625 - in head: share/mk sys/boot/efi sys/boot/efi/boot1 sys/boot/efi/fdt sys/boot/efi/libefi sys/boot/efi/loader/arch/arm64

2017-04-07 Thread Alexander Kabaev
Author: kan Date: Fri Apr 7 22:58:25 2017 New Revision: 316625 URL: https://svnweb.freebsd.org/changeset/base/316625 Log: Do not use -msoft-float with intention of disabling FP on aarch64 GNU GCC does does recognise it as a valid option and we already use -mgeneral-regs-only that has

svn commit: r316601 - head/lib/libpmc

2017-04-07 Thread Ngie Cooper
Author: ngie Date: Fri Apr 7 06:00:19 2017 New Revision: 316601 URL: https://svnweb.freebsd.org/changeset/base/316601 Log: pmc.atomsilvermont(3): fix manlint warnings Start new sentences on new lines. Sentences affected by the change are wrapped at <80 columns. Other potentially

svn commit: r316602 - head/lib/libpmc

2017-04-07 Thread Ngie Cooper
Author: ngie Date: Fri Apr 7 06:06:55 2017 New Revision: 316602 URL: https://svnweb.freebsd.org/changeset/base/316602 Log: pmc_read(3): fix manlint error Remove spurious trailing comma from last .Nm entry in NAME section. MFC after:2 months Sponsored by: Dell EMC Isilon

Re: svn commit: r316591 - head/sys/dev/tpm

2017-04-07 Thread Xin LI
No, David's change was correct. The code context is something like: #ifdef __FreeBSD__ [...] #else /* OpenBSD */ ... #ifdef __FreeBSD__ /* -- this portion got removed -- */ ... #else ... #endif [...] #endif On Thu, Apr 6, 2017 at 10:19 PM, Ngie Cooper (yaneurabeya)

Re: svn commit: r316591 - head/sys/dev/tpm

2017-04-07 Thread Ngie Cooper
> On Apr 7, 2017, at 10:17, Xin LI wrote: > > No, David's change was correct. > > The code context is something like: > > #ifdef __FreeBSD__ > [...] > #else /* OpenBSD */ > ... > #ifdef __FreeBSD__ /* -- this portion got removed -- */ > ... > #else > ... > #endif > [...] >

svn commit: r316608 - head/share/mk

2017-04-07 Thread Andrew Turner
Author: andrew Date: Fri Apr 7 14:30:51 2017 New Revision: 316608 URL: https://svnweb.freebsd.org/changeset/base/316608 Log: Add -fPIC to the standalone build flags on arm64. This is needed as loader.efi is position independend, however we were not building it as such causing a build

svn commit: r316612 - head/sys/boot/i386/libi386

2017-04-07 Thread Benno Rice
Author: benno Date: Fri Apr 7 15:41:49 2017 New Revision: 316612 URL: https://svnweb.freebsd.org/changeset/base/316612 Log: In r298230 the value of HEAP_MIN was changed from 3MB to 64MB. Correct a comment that was still referencing the 3MB value. Sponsored by: Dell EMC Isilon

svn commit: r316615 - in head: share/man/man4 sys/conf sys/modules/fdc sys/sparc64/conf usr.sbin/fdcontrol

2017-04-07 Thread Sevan Janiyan
Author: sevan (doc committer) Date: Fri Apr 7 16:14:25 2017 New Revision: 316615 URL: https://svnweb.freebsd.org/changeset/base/316615 Log: Remove the last vestiges of FDC_DEBUG & FD_DEBUG FDC_DEBUG is not referenced in any c or header files but traces of it still remain in other files.

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

2017-04-07 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 7 14:43:28 2017 New Revision: 316609 URL: https://svnweb.freebsd.org/changeset/base/316609 Log: Create the LinuxKPI current task structure on the fly if it doesn't exist when the current macro is used. MFC after:1 week Sponsored by:

Re: svn commit: r316591 - head/sys/dev/tpm

2017-04-07 Thread Ngie Cooper
> On Apr 7, 2017, at 10:59, Ngie Cooper wrote: > > >> On Apr 7, 2017, at 10:17, Xin LI wrote: >> >> No, David's change was correct. >> >> The code context is something like: >> >> #ifdef __FreeBSD__ >> [...] >> #else /* OpenBSD */ >> ... >> #ifdef

svn commit: r316619 - head/sbin/mount_nfs

2017-04-07 Thread Brooks Davis
Author: brooks Date: Fri Apr 7 18:31:31 2017 New Revision: 316619 URL: https://svnweb.freebsd.org/changeset/base/316619 Log: Remove support for long gone oldnfs. The code was calling nmount with an fstype of everything in the program name after the last '_'. This was there to support

svn commit: r316611 - head/sbin/mount

2017-04-07 Thread Alan Somers
Author: asomers Date: Fri Apr 7 15:39:41 2017 New Revision: 316611 URL: https://svnweb.freebsd.org/changeset/base/316611 Log: sbin/mount: strcpy -> strlcpy Reported by: Coverity CID: 1011173, 1011174 MFC after:3 weeks Sponsored by: Spectra Logic Corp Modified:

svn commit: r316616 - head/sys/dev/bnxt

2017-04-07 Thread Sean Bruno
Author: sbruno Date: Fri Apr 7 16:15:50 2017 New Revision: 316616 URL: https://svnweb.freebsd.org/changeset/base/316616 Log: bnxt(4): add support for WOL Magic. Submitted by: venkatkumar.duvv...@broadcom.com Differential Revision:https://reviews.freebsd.org/D10124 Modified:

svn commit: r316617 - head/release/arm

2017-04-07 Thread Glen Barber
Author: gjb Date: Fri Apr 7 16:55:13 2017 New Revision: 316617 URL: https://svnweb.freebsd.org/changeset/base/316617 Log: - Increase the image size for RPI2 and IMX6-based boards from 1G to 1.5G. - Use the 'conv=sync' dd(1) option to fix writing the u-boot.imx file to the md(4)

svn commit: r316610 - head/usr.bin/netstat

2017-04-07 Thread Alan Somers
Author: asomers Date: Fri Apr 7 15:15:10 2017 New Revision: 316610 URL: https://svnweb.freebsd.org/changeset/base/316610 Log: usr.bin/netstat: strcpy -> strlcpy Reported by: Coverity CID: 1006741, 1006744 MFC after:3 weeks Sponsored by: Spectra Logic Corp Modified:

svn commit: r316622 - head/share/mk

2017-04-07 Thread John Baldwin
Author: jhb Date: Fri Apr 7 20:02:01 2017 New Revision: 316622 URL: https://svnweb.freebsd.org/changeset/base/316622 Log: Explicitly set the desired MIPS ABI in toolchain flags. Specifically, set '-mabi=XX' in AFLAGS, CFLAGS, and LDFLAGS. This permits building MIPS worlds and binaries

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

2017-04-07 Thread John Baldwin
On Friday, April 07, 2017 08:02:01 PM John Baldwin wrote: > Author: jhb > Date: Fri Apr 7 20:02:01 2017 > New Revision: 316622 > URL: https://svnweb.freebsd.org/changeset/base/316622 > > Log: > Explicitly set the desired MIPS ABI in toolchain flags. > > Specifically, set '-mabi=XX' in

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

2017-04-07 Thread Warner Losh
On Fri, Apr 7, 2017 at 2:10 PM, John Baldwin wrote: > On Friday, April 07, 2017 08:02:01 PM John Baldwin wrote: >> Author: jhb >> Date: Fri Apr 7 20:02:01 2017 >> New Revision: 316622 >> URL: https://svnweb.freebsd.org/changeset/base/316622 >> >> Log: >> Explicitly set the

svn commit: r316620 - in head/lib/csu: aarch64 amd64 arm i386 mips powerpc powerpc64 riscv

2017-04-07 Thread John Baldwin
Author: jhb Date: Fri Apr 7 19:53:14 2017 New Revision: 316620 URL: https://svnweb.freebsd.org/changeset/base/316620 Log: Rework r234502 to include a modified CFLAGS along with ACFLAGS. On most architectures crt objects are compiled in a multiple-step process so that sed can be run on