svn commit: r307708 - in head/tools/regression/bpf/bpf_filter: . tests

2016-10-20 Thread Jung-uk Kim
Author: jkim Date: Fri Oct 21 06:56:30 2016 New Revision: 307708 URL: https://svnweb.freebsd.org/changeset/base/307708 Log: Clean up and add some test cases for ALU instructions. Added: head/tools/regression/bpf/bpf_filter/tests/test0085.h (contents, props changed) head/tools/regression/

svn commit: r307707 - in head: share/man/man4 sys/amd64/amd64 sys/i386/i386 sys/net

2016-10-20 Thread Jung-uk Kim
Author: jkim Date: Fri Oct 21 06:55:07 2016 New Revision: 307707 URL: https://svnweb.freebsd.org/changeset/base/307707 Log: Implement BPF_MOD and BPF_XOR instructions. These two ALU instructions first appeared on Linux. Then, libpcap adopted and made them available since 1.6.2. Now more

svn commit: r307706 - head/sys/dev/netmap

2016-10-20 Thread Sepherosa Ziehau
Author: sephe Date: Fri Oct 21 06:32:45 2016 New Revision: 307706 URL: https://svnweb.freebsd.org/changeset/base/307706 Log: netmap: Unbreak LINT-VIMAGE building Sponsored by: Microsoft Modified: head/sys/dev/netmap/netmap_freebsd.c Modified: head/sys/dev/netmap/netmap_freebsd.c ===

svn commit: r307705 - in head/sys: amd64/amd64 i386/i386

2016-10-20 Thread Jung-uk Kim
Author: jkim Date: Fri Oct 21 06:09:30 2016 New Revision: 307705 URL: https://svnweb.freebsd.org/changeset/base/307705 Log: Redude code for conditional jumps. Modified: head/sys/amd64/amd64/bpf_jit_machdep.c head/sys/i386/i386/bpf_jit_machdep.c Modified: head/sys/amd64/amd64/bpf_jit_machde

svn commit: r307704 - in head/sys: amd64/amd64 i386/i386

2016-10-20 Thread Jung-uk Kim
Author: jkim Date: Fri Oct 21 06:06:54 2016 New Revision: 307704 URL: https://svnweb.freebsd.org/changeset/base/307704 Log: Fix compiler warnings for user land. Modified: head/sys/amd64/amd64/bpf_jit_machdep.c head/sys/i386/i386/bpf_jit_machdep.c Modified: head/sys/amd64/amd64/bpf_jit_mach

svn commit: r307703 - head/sys/dev/netmap

2016-10-20 Thread Sepherosa Ziehau
Author: sephe Date: Fri Oct 21 06:05:16 2016 New Revision: 307703 URL: https://svnweb.freebsd.org/changeset/base/307703 Log: netmap: Unbreak i386 LINT building Sponsored by: Microsoft Modified: head/sys/dev/netmap/netmap_freebsd.c Modified: head/sys/dev/netmap/netmap_freebsd.c =

svn commit: r307702 - in head: etc/mtree tests/sys tests/sys/fs tests/sys/fs/tmpfs

2016-10-20 Thread Ngie Cooper
Author: ngie Date: Fri Oct 21 05:24:08 2016 New Revision: 307702 URL: https://svnweb.freebsd.org/changeset/base/307702 Log: Integrate contrib/netbsd-tests/fs/tmpfs into the FreeBSD test suite as tests/sys/fs These testcases exercise tmpfs support MFC after:2 weeks Sponsored by:

svn commit: r307701 - head/contrib/netbsd-tests/fs/tmpfs

2016-10-20 Thread Ngie Cooper
Author: ngie Date: Fri Oct 21 05:21:20 2016 New Revision: 307701 URL: https://svnweb.freebsd.org/changeset/base/307701 Log: Expect tests/sys/fs/tmpfs/link_test:kqueue to fail It fails with: "dir/b did not receive NOTE_LINK" Also, add needed cleanup logic to cleanup the mountpoint after

svn commit: r307700 - head/lib/libc/tests

2016-10-20 Thread Ngie Cooper
Author: ngie Date: Fri Oct 21 04:54:43 2016 New Revision: 307700 URL: https://svnweb.freebsd.org/changeset/base/307700 Log: Only build lib/libc/tests/iconv if MK_ICONV != no MFC after:1 week Reported by: dam...@damianek.be Sponsored by: Dell EMC Isilon Modified: head/lib/libc/te

Re: svn commit: r307689 - head/gnu/lib/libgcc

2016-10-20 Thread Ngie Cooper (yaneurabeya)
> On Oct 20, 2016, at 14:12, Baptiste Daroussin wrote: > > Author: bapt > Date: Thu Oct 20 21:12:50 2016 > New Revision: 307689 > URL: https://svnweb.freebsd.org/changeset/base/307689 > > Log: > Fix building of llvm's unwind if gcc has been also built > > when building gcc an unwind.h header

svn commit: r307699 - head/gnu/lib/libgcc

2016-10-20 Thread Ngie Cooper
Author: ngie Date: Fri Oct 21 04:49:39 2016 New Revision: 307699 URL: https://svnweb.freebsd.org/changeset/base/307699 Log: Revert r307689 The proposed change ("Fix building of llvm's unwind if gcc has been also built") breaks the build with clang/llvm. Tested with... (

svn commit: r307698 - head/sys/modules/gpio/gpiospi

2016-10-20 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Fri Oct 21 03:23:17 2016 New Revision: 307698 URL: https://svnweb.freebsd.org/changeset/base/307698 Log: - Add required header for fixing `make` in sys/modules/gpio Reviewed by: imp, loos Differential Revision:https://reviews.freebsd.org/D781

svn commit: r307697 - in stable/11: sbin/natd usr.bin/calendar usr.bin/gzip usr.bin/indent usr.bin/locale usr.bin/localedef usr.bin/netstat usr.bin/procstat usr.bin/rpcgen usr.bin/systat usr.sbin/c...

2016-10-20 Thread Marcelo Araujo
Author: araujo Date: Fri Oct 21 03:10:05 2016 New Revision: 307697 URL: https://svnweb.freebsd.org/changeset/base/307697 Log: MFC r303541, r303542, r303543, r303545, r303546, r303547, r304225, r304226, r304605, r304676, r305212, r305863: r303541: Use nitems() from sys/param.h. Spons

svn commit: r307696 - in head/sys: dev/dpaa powerpc/conf/dpaa

2016-10-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 21 02:16:11 2016 New Revision: 307696 URL: https://svnweb.freebsd.org/changeset/base/307696 Log: Remove a hack requiring dtsec0 to always be enabled for mdio. Instead replace it with a different hack, that turns fman into a simplebus subclass, and maps its c

svn commit: r307695 - head/sys/dev/dpaa

2016-10-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 21 02:07:03 2016 New Revision: 307695 URL: https://svnweb.freebsd.org/changeset/base/307695 Log: Remove an unnecessary debug printf. Modified: head/sys/dev/dpaa/bman.c Modified: head/sys/dev/dpaa/bman.c ==

svn commit: r307694 - head/sys/fs/nfsserver

2016-10-20 Thread Rick Macklem
Author: rmacklem Date: Thu Oct 20 23:53:16 2016 New Revision: 307694 URL: https://svnweb.freebsd.org/changeset/base/307694 Log: A problem w.r.t. interoperation between the FreeBSD NFSv4.1 server with delegations enabled and the Linux NFSv4.1 client was reported in reviews.freebsd.org/D7891.

Re: svn commit: r307688 - head/sys/compat/ia32

2016-10-20 Thread John Baldwin
On Thursday, October 20, 2016 08:29:55 PM Ed Maste wrote: > Author: emaste > Date: Thu Oct 20 20:29:54 2016 > New Revision: 307688 > URL: https://svnweb.freebsd.org/changeset/base/307688 > > Log: > Tidy up ia32_sysvec sv_flags setting > > Use the same approach as sys/arm/arm/elf_machdep.c t

svn commit: r307693 - head/sys/vm

2016-10-20 Thread Mark Johnston
Author: markj Date: Thu Oct 20 23:10:27 2016 New Revision: 307693 URL: https://svnweb.freebsd.org/changeset/base/307693 Log: Simplify keg_drain() a bit by using LIST_FOREACH_SAFE. MFC after:1 week Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c

svn commit: r307692 - head/sys/geom/mirror

2016-10-20 Thread Mark Johnston
Author: markj Date: Thu Oct 20 23:08:40 2016 New Revision: 307692 URL: https://svnweb.freebsd.org/changeset/base/307692 Log: gmirror: Add a subroutine to free synchronization BIOs. This addresses a memory leak that occurs upon an I/O error during a mirror synchronization. MFC after:

svn commit: r307691 - head/sys/geom/mirror

2016-10-20 Thread Mark Johnston
Author: markj Date: Thu Oct 20 23:02:30 2016 New Revision: 307691 URL: https://svnweb.freebsd.org/changeset/base/307691 Log: gmirror: Release pending regular requests when synchronization stops. Normally gmirror allows colliding requests to proceed whenever a synchronization request compl

Re: svn commit: r307469 - head/etc

2016-10-20 Thread Jilles Tjoelker
On Wed, Oct 19, 2016 at 04:45:21PM -0600, Warner Losh wrote: > What missing quotes? It seemed to work find on the system I brought up... In ${root_rw_mount#[Yy][Ee][Ss]} with root_rw_mount=YES, the substring operation results in an empty string, which is removed because there are no quotes. This m

svn commit: r307690 - head

2016-10-20 Thread Ed Maste
Author: emaste Date: Thu Oct 20 21:29:59 2016 New Revision: 307690 URL: https://svnweb.freebsd.org/changeset/base/307690 Log: Don't build libssp as a prereq lib if WITHOUT_SSP is set Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D8301 Modified: head/Mak

svn commit: r307689 - head/gnu/lib/libgcc

2016-10-20 Thread Baptiste Daroussin
Author: bapt Date: Thu Oct 20 21:12:50 2016 New Revision: 307689 URL: https://svnweb.freebsd.org/changeset/base/307689 Log: Fix building of llvm's unwind if gcc has been also built when building gcc an unwind.h header is generate in the cc_tool directory which is included in the CFLAGS be

svn commit: r307688 - head/sys/compat/ia32

2016-10-20 Thread Ed Maste
Author: emaste Date: Thu Oct 20 20:29:54 2016 New Revision: 307688 URL: https://svnweb.freebsd.org/changeset/base/307688 Log: Tidy up ia32_sysvec sv_flags setting Use the same approach as sys/arm/arm/elf_machdep.c to avoid an odd- looking , on a separate line. Modified: head/sys/compat

svn commit: r307687 - head/share/man/man7

2016-10-20 Thread Ed Maste
Author: emaste Date: Thu Oct 20 20:16:10 2016 New Revision: 307687 URL: https://svnweb.freebsd.org/changeset/base/307687 Log: arch.7: correct typo in predefined macro example The example incorrectly used -Dm, which defines macro m with value 1. It is supposed to be -dM, which lists macros

svn commit: r307686 - head/sys/conf

2016-10-20 Thread Warner Losh
Author: imp Date: Thu Oct 20 20:12:34 2016 New Revision: 307686 URL: https://svnweb.freebsd.org/changeset/base/307686 Log: Use MACHINE_ARCH rather than TARGET_ARCH which has no meaning outside of Makefile.inc1 Modified: head/sys/conf/Makefile.arm Modified: head/sys/conf/Makefile.arm ==

Re: cvs commit: src/sys/sys _types.h resource.h

2016-10-20 Thread Colin Percival
On 11/08/04 10:05, Dag-Erling Smorgrav wrote: > des 2004-11-08 18:05:43 UTC > > FreeBSD src repository > > Modified files: > sys/sys _types.h resource.h > Log: > Document why rlim_t needs to be a signed type. > Define RLIM_INFINITY as INT64_MAX instead of hand-rol

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

2016-10-20 Thread Mateusz Guzik
On Thu, Oct 20, 2016 at 11:18:27AM -0700, Gleb Smirnoff wrote: > On Thu, Oct 20, 2016 at 01:50:35PM +0200, Mateusz Guzik wrote: > M> On Wed, Oct 19, 2016 at 03:09:42PM -0700, Gleb Smirnoff wrote: > M> > On Wed, Oct 19, 2016 at 06:29:52PM +, Mateusz Guzik wrote: > M> > M> Author: mjg > M> > M> D

svn commit: r307685 - head/sys/kern

2016-10-20 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 20 19:55:50 2016 New Revision: 307685 URL: https://svnweb.freebsd.org/changeset/base/307685 Log: cache: fix up a corner case in r307650 If no negative entry is found on the last list, the ncp pointer will be left uninitialized and a non-null value will make the f

svn commit: r307684 - head/sbin/camcontrol

2016-10-20 Thread Kenneth D. Merry
Author: ken Date: Thu Oct 20 19:42:26 2016 New Revision: 307684 URL: https://svnweb.freebsd.org/changeset/base/307684 Log: For CCBs allocated on the stack, we need to clear the entire CCB, not just the header. Otherwise stack garbage can lead to random flags getting set. This showed up a

svn commit: r307683 - head/gnu/lib

2016-10-20 Thread Ed Maste
Author: emaste Date: Thu Oct 20 18:43:12 2016 New Revision: 307683 URL: https://svnweb.freebsd.org/changeset/base/307683 Log: Correct typo in r307679: the variable is MK_GNU_GREP_COMPAT Modified: head/gnu/lib/Makefile Modified: head/gnu/lib/Makefile ==

svn commit: r307681 - head/tools/tools/git

2016-10-20 Thread Ryan Stone
Author: rstone Date: Thu Oct 20 18:28:05 2016 New Revision: 307681 URL: https://svnweb.freebsd.org/changeset/base/307681 Log: Set the executable bit on arcgit and importgit Make it possible to run these scripts directly out of svn by setting the executable property on them. Modified: Dir

svn commit: r307680 - in head/tools/tools: . git

2016-10-20 Thread Ryan Stone
Author: rstone Date: Thu Oct 20 18:23:44 2016 New Revision: 307680 URL: https://svnweb.freebsd.org/changeset/base/307680 Log: Add some tools to simplify the use of git Add some scripts that wraps some FreeBSD Project infrastructure and simplifies using them with git. The scripts are:

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

2016-10-20 Thread Gleb Smirnoff
On Thu, Oct 20, 2016 at 01:50:35PM +0200, Mateusz Guzik wrote: M> On Wed, Oct 19, 2016 at 03:09:42PM -0700, Gleb Smirnoff wrote: M> > On Wed, Oct 19, 2016 at 06:29:52PM +, Mateusz Guzik wrote: M> > M> Author: mjg M> > M> Date: Wed Oct 19 18:29:52 2016 M> > M> New Revision: 307650 M> > M> URL: h

svn commit: r307679 - head/gnu/lib

2016-10-20 Thread Ed Maste
Author: emaste Date: Thu Oct 20 17:28:52 2016 New Revision: 307679 URL: https://svnweb.freebsd.org/changeset/base/307679 Log: Build libgnuregex only if necessary for other components Reviewed by: brooks Differential Revision:https://reviews.freebsd.org/D8298 Modified: head/gnu

svn commit: r307678 - stable/11/release/doc/en_US.ISO8859-1/errata

2016-10-20 Thread Glen Barber
Author: gjb Date: Thu Oct 20 17:16:09 2016 New Revision: 307678 URL: https://svnweb.freebsd.org/changeset/base/307678 Log: Add an EN item regarding some recent systems that fail to boot under certain circumstances. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modifi

svn commit: r307677 - head/sys/modules/geom

2016-10-20 Thread Ruslan Bukin
Author: br Date: Thu Oct 20 17:10:26 2016 New Revision: 307677 URL: https://svnweb.freebsd.org/changeset/base/307677 Log: Disable geom_eli module build on MIPS64 as it has alignment issues and causes kernel panic. ELI metadata is also not aligned properly for MIPS64 case. Sponsored by:

svn commit: r307676 - head/share/mk

2016-10-20 Thread Jonathan Anderson
Author: jonathan Date: Thu Oct 20 15:14:21 2016 New Revision: 307676 URL: https://svnweb.freebsd.org/changeset/base/307676 Log: Add make rules to build LLVM IR from C/C++ sources. As a foundation for future work with LLVM's Intermediate Representation (IR), add new suffix rules that can b

svn commit: r307675 - head/gnu/usr.bin

2016-10-20 Thread Ed Maste
Author: emaste Date: Thu Oct 20 15:12:06 2016 New Revision: 307675 URL: https://svnweb.freebsd.org/changeset/base/307675 Log: Remove trailing whitespace from r307674 Modified: head/gnu/usr.bin/Makefile Modified: head/gnu/usr.bin/Makefile ==

svn commit: r307674 - in head: gnu/usr.bin share/mk tools/build/mk tools/build/options

2016-10-20 Thread Ed Maste
Author: emaste Date: Thu Oct 20 14:48:57 2016 New Revision: 307674 URL: https://svnweb.freebsd.org/changeset/base/307674 Log: Add knobs to make GNU diff and GNU grep optional This is added to facilitate experiments building FreeBSD without copyleft software. If WITHOUT_GNU_DIFF is se

svn commit: r307673 - head/sys/net

2016-10-20 Thread Andrew Gallatin
Author: gallatin Date: Thu Oct 20 13:48:29 2016 New Revision: 307673 URL: https://svnweb.freebsd.org/changeset/base/307673 Log: Clear mbuf hashtype on loopback when RSS is enabled. The hashtype on an outgoing mbuf reflects the correct hash on the transmit side of the connection. If this

svn commit: r307672 - in stable/10/sys: cddl/contrib/opensolaris/uts/common/fs/zfs dev/drm2/i915 dev/drm2/ttm kern vm

2016-10-20 Thread Konstantin Belousov
Author: kib Date: Thu Oct 20 13:12:19 2016 New Revision: 307672 URL: https://svnweb.freebsd.org/changeset/base/307672 Log: MFC r307218: Fix a race in vm_page_busy_sleep(9). Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c stable/10/sys/dev/drm2/i915/i915_gem.

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

2016-10-20 Thread Mateusz Guzik
On Wed, Oct 19, 2016 at 03:09:42PM -0700, Gleb Smirnoff wrote: > On Wed, Oct 19, 2016 at 06:29:52PM +, Mateusz Guzik wrote: > M> Author: mjg > M> Date: Wed Oct 19 18:29:52 2016 > M> New Revision: 307650 > M> URL: https://svnweb.freebsd.org/changeset/base/307650 > M> > M> Log: > M> cache: spl

svn commit: r307671 - in stable/11/sys: cddl/contrib/opensolaris/uts/common/fs/zfs dev/drm2/i915 dev/drm2/ttm kern vm

2016-10-20 Thread Konstantin Belousov
Author: kib Date: Thu Oct 20 11:42:29 2016 New Revision: 307671 URL: https://svnweb.freebsd.org/changeset/base/307671 Log: MFC r307218: Fix a race in vm_page_busy_sleep(9). Modified: stable/11/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c stable/11/sys/dev/drm2/i915/i915_gem.

svn commit: r307670 - in head/sys: arm/conf arm64/conf conf dev/al_eth

2016-10-20 Thread Wojciech Macek
Author: wma Date: Thu Oct 20 11:31:11 2016 New Revision: 307670 URL: https://svnweb.freebsd.org/changeset/base/307670 Log: Driver for PCI Ethernet NIC on Alpine V1 and V2. Obtained from: Semihalf Submitted by: Michal Stanek Sponsored by: Annapurna Labs Revie

svn commit: r307669 - in head/sys: arm/annapurna/alpine boot/fdt/dts/arm conf

2016-10-20 Thread Wojciech Macek
Author: wma Date: Thu Oct 20 11:26:51 2016 New Revision: 307669 URL: https://svnweb.freebsd.org/changeset/base/307669 Log: Support for Alpine Serializer/Deserializer. The exported functions will be used by Alpine Ethernet driver. Obtained from: Semihalf Submitted by:

svn commit: r307668 - in head/sys: arm/annapurna/alpine boot/fdt/dts/arm conf

2016-10-20 Thread Wojciech Macek
Author: wma Date: Thu Oct 20 11:23:59 2016 New Revision: 307668 URL: https://svnweb.freebsd.org/changeset/base/307668 Log: Support for MSI-X on Annapurna Alpine This patch adds support for MSI-X interrupts on Annapurna Alpine platform. MSI-X on Alpine work similarly to GICv2m, i.e. some

svn commit: r307667 - in head: share/man/man9 sys/arm64/arm64 sys/arm64/include sys/opencrypto

2016-10-20 Thread Andrew Turner
Author: andrew Date: Thu Oct 20 09:22:10 2016 New Revision: 307667 URL: https://svnweb.freebsd.org/changeset/base/307667 Log: Add support for the fpu_kern(9) KPI on arm64. It hooks into the existing VFP code to store the old context, with lazy loading of the new context when needed. FPU

svn commit: r307666 - stable/10/sys/geom/mirror

2016-10-20 Thread Alexander Motin
Author: mav Date: Thu Oct 20 09:06:39 2016 New Revision: 307666 URL: https://svnweb.freebsd.org/changeset/base/307666 Log: MFC r306762: Fix possible geom destruction before final provider close. Introduce internal counter to track opens. Using provider's counters is not very successfull

svn commit: r307665 - stable/11/sys/geom/mirror

2016-10-20 Thread Alexander Motin
Author: mav Date: Thu Oct 20 08:48:58 2016 New Revision: 307665 URL: https://svnweb.freebsd.org/changeset/base/307665 Log: MFC r306762: Fix possible geom destruction before final provider close. Introduce internal counter to track opens. Using provider's counters is not very successfull