svn commit: r286015 - in head/sys/mips: conf rmi rmi/dev/iic

2015-07-29 Thread Sean Bruno
Author: sbruno Date: Wed Jul 29 15:32:59 2015 New Revision: 286015 URL: https://svnweb.freebsd.org/changeset/base/286015 Log: Make Broadcom XLR use shared ds1374 RTC driver. Remove its identical and redundant ds1374u version. Differential Revision:D3225 Submitted by:

svn commit: r286018 - stable/10/share/man/man4

2015-07-29 Thread Christian Brueffer
Author: brueffer Date: Wed Jul 29 16:40:48 2015 New Revision: 286018 URL: https://svnweb.freebsd.org/changeset/base/286018 Log: MFC: r285858, r286017 Add a basic manpage for the pms driver. Added: stable/10/share/man/man4/pms.4 - copied, changed from r285858,

Re: svn commit: r285051 - head/sys/netinet

2015-07-29 Thread Ermal Luçi
On Wed, Jul 29, 2015 at 6:48 PM, George Neville-Neil g...@neville-neil.com wrote: On 29 Jul 2015, at 11:05, Gleb Smirnoff wrote: Ermal, On Wed, Jul 29, 2015 at 03:00:59PM +0200, Ermal Luçi wrote: E E @@ -934,6 +950,7 @@ ip_forward(struct mbuf *m, int srcrt) E E */ E E if

svn commit: r286016 - head/tools/build/options

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 15:42:22 2015 New Revision: 286016 URL: https://svnweb.freebsd.org/changeset/base/286016 Log: Include c++filt and readelf in WITHOUT_ELFTOOLCHAIN_TOOLS Modified: head/tools/build/options/WITHOUT_ELFTOOLCHAIN_TOOLS Modified:

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

2015-07-29 Thread Christian Brueffer
Author: brueffer Date: Wed Jul 29 16:37:36 2015 New Revision: 286017 URL: https://svnweb.freebsd.org/changeset/base/286017 Log: Remove the AUTHORS section until it's clear who exactly wrote the driver. Modified: head/share/man/man4/pms.4 Modified: head/share/man/man4/pms.4

Re: svn commit: r285051 - head/sys/netinet

2015-07-29 Thread George Neville-Neil
On 29 Jul 2015, at 11:05, Gleb Smirnoff wrote: Ermal, On Wed, Jul 29, 2015 at 03:00:59PM +0200, Ermal Luçi wrote: E E @@ -934,6 +950,7 @@ ip_forward(struct mbuf *m, int srcrt) E E */ E E if (!srcrt ia == NULL) { E E icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST,

svn commit: r286019 - stable/10/release/doc/en_US.ISO8859-1/hardware

2015-07-29 Thread Christian Brueffer
Author: brueffer Date: Wed Jul 29 17:05:42 2015 New Revision: 286019 URL: https://svnweb.freebsd.org/changeset/base/286019 Log: MFC: r285859 Auto-generate hardware notes for pms(4). Modified: stable/10/release/doc/en_US.ISO8859-1/hardware/article.xml Directory Properties: stable/10/

svn commit: r286022 - releng/10.2/share/man/man4

2015-07-29 Thread Christian Brueffer
Author: brueffer Date: Wed Jul 29 17:25:18 2015 New Revision: 286022 URL: https://svnweb.freebsd.org/changeset/base/286022 Log: MFC: r285858, r286017 Add a basic manpage for the pms driver. Approved by: re (gjb) Added: releng/10.2/share/man/man4/pms.4 - copied unchanged from

Re: svn commit: r286000 - head/sys/netipsec

2015-07-29 Thread John-Mark Gurney
Ermal Lui wrote this message on Wed, Jul 29, 2015 at 14:53 +0200: this was forgotten part on my patches merge from gnn@. Can it be fixed by correcting the patches rather than re-introducing this? Most probably the constant definition is wrong on the transforms and also some part of code

svn commit: r286021 - in head/sys: compat/cloudabi compat/linux kern sys

2015-07-29 Thread Ed Schouten
Author: ed Date: Wed Jul 29 17:18:27 2015 New Revision: 286021 URL: https://svnweb.freebsd.org/changeset/base/286021 Log: Make pipes in CloudABI work. Summary: Pipes in CloudABI are unidirectional. The reason for this is that CloudABI attempts to provide a uniform runtime environment

Re: svn commit: r284345 - in head: . bin/cat bin/chflags bin/chio bin/chmod bin/cp bin/csh bin/date bin/dd bin/df bin/domainname bin/echo bin/ed bin/expr bin/freebsd-version bin/getfacl bin/hostname b

2015-07-29 Thread Warner Losh
On Jul 26, 2015, at 2:49 PM, Baptiste Daroussin b...@freebsd.org wrote: On Sat, Jun 13, 2015 at 07:20:58PM +, Simon J. Gerraty wrote: Author: sjg Date: Sat Jun 13 19:20:56 2015 New Revision: 284345 URL: https://svnweb.freebsd.org/changeset/base/284345 Log: Add META_MODE support.

svn commit: r286020 - in head/sys: kern sys

2015-07-29 Thread Ed Schouten
Author: ed Date: Wed Jul 29 17:16:53 2015 New Revision: 286020 URL: https://svnweb.freebsd.org/changeset/base/286020 Log: Introduce falloc_caps() to create descriptors with capabilties in place. falloc_noinstall() followed by finstall() allows you to create and install file descriptors

Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_par

2015-07-29 Thread Hans Petter Selasky
On 07/29/15 18:59, Warner Losh wrote: On Jul 29, 2015, at 9:46 AM, Hans Petter Selasky h...@selasky.org wrote: On 07/29/15 16:24, Warner Losh wrote: On Jul 29, 2015, at 4:19 AM, Hans Petter Selasky h...@selasky.org wrote: On 07/03/15 22:15, Warner Losh wrote: On Jul 3, 2015, at 11:35

svn commit: r286023 - releng/10.2/release/doc/en_US.ISO8859-1/hardware

2015-07-29 Thread Christian Brueffer
Author: brueffer Date: Wed Jul 29 17:28:04 2015 New Revision: 286023 URL: https://svnweb.freebsd.org/changeset/base/286023 Log: MFC: r285859 (via r286019) Auto-generate hardware notes for pms(4). Approved by: re (gjb) Modified:

Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_par

2015-07-29 Thread Hans Petter Selasky
On 07/29/15 16:24, Warner Losh wrote: On Jul 29, 2015, at 4:19 AM, Hans Petter Selasky h...@selasky.org wrote: On 07/03/15 22:15, Warner Losh wrote: On Jul 3, 2015, at 11:35 AM, Roger Pau Monné roy...@freebsd.org wrote: El 03/07/15 a les 19.26, Adrian Chadd ha escrit: ok, so why's it

Re: svn commit: r286010 - head/usr.bin/ar

2015-07-29 Thread Justin Hibbits
This breaks ports building. When building ports-mgmt/pkg: ar: fatal: Option -D is not permitted in mode -x - Justin On Wed, Jul 29, 2015 at 6:36 AM, Ed Maste ema...@freebsd.org wrote: Author: emaste Date: Wed Jul 29 13:36:17 2015 New Revision: 286010 URL:

Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_par

2015-07-29 Thread Warner Losh
On Jul 29, 2015, at 9:46 AM, Hans Petter Selasky h...@selasky.org wrote: On 07/29/15 16:24, Warner Losh wrote: On Jul 29, 2015, at 4:19 AM, Hans Petter Selasky h...@selasky.org wrote: On 07/03/15 22:15, Warner Losh wrote: On Jul 3, 2015, at 11:35 AM, Roger Pau Monné

Re: svn commit: r286000 - head/sys/netipsec

2015-07-29 Thread Ermal Luçi
On Wed, Jul 29, 2015 at 5:40 PM, John-Mark Gurney j...@funkthat.com wrote: Ermal Lui wrote this message on Wed, Jul 29, 2015 at 14:53 +0200: this was forgotten part on my patches merge from gnn@. Can it be fixed by correcting the patches rather than re-introducing this? Most probably

Re: svn commit: r286010 - head/usr.bin/ar

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 13:36:17 2015 New Revision: 286010 URL: https://svnweb.freebsd.org/changeset/base/286010 Log: ar: enable deterministic mode by default This breaks ports building. When building ports-mgmt/pkg: ar: fatal: Option -D is not permitted in mode -x Indeed,

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

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 17:34:26 2015 New Revision: 286024 URL: https://svnweb.freebsd.org/changeset/base/286024 Log: ar: Fix deterministic mode default with options other than -q or -r Reported by: jhibbits Reviewed by: jhibbits Sponsored by: The FreeBSD Foundation

svn commit: r286043 - head/sys/dev/nvme

2015-07-29 Thread Jim Harris
Author: jimharris Date: Wed Jul 29 21:29:50 2015 New Revision: 286043 URL: https://svnweb.freebsd.org/changeset/base/286043 Log: nvme: do not notify a consumer about failures that occur during initialization MFC after:3 days Sponsored by: Intel Modified: head/sys/dev/nvme/nvme.c

svn commit: r286044 - head/tools/build/mk

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 21:41:15 2015 New Revision: 286044 URL: https://svnweb.freebsd.org/changeset/base/286044 Log: MK_ELFCOPY_AS_OBJCOPY should be a variable PR: 201978 Submitted by: O. Hartmann Differential Revision:https://reviews.freebsd.org/D2887

svn commit: r286040 - in head/sys: arm/arm i386/i386 mips/mips

2015-07-29 Thread Sean Bruno
Author: sbruno Date: Wed Jul 29 20:47:27 2015 New Revision: 286040 URL: https://svnweb.freebsd.org/changeset/base/286040 Log: Remove dead functions pmap_pvdump and pads. Differential Revision:D3206 Submitted by: kevin.bowl...@kev009.com Reviewed by: alc Modified:

svn commit: r286041 - head/sys/dev/mii

2015-07-29 Thread Sean Bruno
Author: sbruno Date: Wed Jul 29 20:50:48 2015 New Revision: 286041 URL: https://svnweb.freebsd.org/changeset/base/286041 Log: Add support for BCM5466 PHY Differential Revision:D3232 Submitted by: kevin.bowl...@kev009.com Modified: head/sys/dev/mii/brgphy.c

svn commit: r286042 - head

2015-07-29 Thread Warner Losh
Author: imp Date: Wed Jul 29 21:15:50 2015 New Revision: 286042 URL: https://svnweb.freebsd.org/changeset/base/286042 Log: Clarify historical practice of not removing old entries. Add entry for stable/10 branch that was forgotten when it was created. Update end date to be correct.

svn commit: r286025 - stable/10/sys/netinet

2015-07-29 Thread Ermal Luçi
Author: eri Date: Wed Jul 29 17:46:16 2015 New Revision: 286025 URL: https://svnweb.freebsd.org/changeset/base/286025 Log: MFC r285051 Avoid doing multiple route lookups for the same destination IP during forwarding. Differential Revision:https://reviews.freebsd.org/D2964

svn commit: r286027 - in head/sys: netinet sys

2015-07-29 Thread Patrick Kelsey
Author: pkelsey Date: Wed Jul 29 17:59:13 2015 New Revision: 286027 URL: https://svnweb.freebsd.org/changeset/base/286027 Log: Revert r265338, r271089 and r271123 as those changes do not handle non-inline urgent data and introduce an mbuf exhaustion attack vector similar to

svn commit: r286028 - head/sys/netinet

2015-07-29 Thread Ermal Luçi
Author: eri Date: Wed Jul 29 18:04:01 2015 New Revision: 286028 URL: https://svnweb.freebsd.org/changeset/base/286028 Log: ip_output normalization and fixes ip_output has a big chunk of code used to handle special cases with pfil consumers which also forces a reloop on it. Gather all

svn commit: r286033 - in stable/10/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 19:25:28 2015 New Revision: 286033 URL: https://svnweb.freebsd.org/changeset/base/286033 Log: Reapply r286007, modified to compile with pre-C++11 compilers: Pull in r219009 from upstream llvm trunk (by Adam Nemet): [ISel] Keep matching state consistent

Re: svn commit: r286000 - head/sys/netipsec

2015-07-29 Thread John-Mark Gurney
Ermal Lui wrote this message on Wed, Jul 29, 2015 at 19:23 +0200: On Wed, Jul 29, 2015 at 5:40 PM, John-Mark Gurney j...@funkthat.com wrote: Ermal Lui wrote this message on Wed, Jul 29, 2015 at 14:53 +0200: this was forgotten part on my patches merge from gnn@. Can it be fixed by

svn commit: r286029 - head/tools/build/mk

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 18:33:11 2015 New Revision: 286029 URL: https://svnweb.freebsd.org/changeset/base/286029 Log: Update OLD_FILES for tools provided by ELF Tool Chain or Binutils Sponsored by: The FreeBSD Foundation Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

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

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 18:45:38 2015 New Revision: 286030 URL: https://svnweb.freebsd.org/changeset/base/286030 Log: Allow ELF Tool Chain elfcopy to be installed as objcopy ELF Tool Chain elfcopy is nearly a drop-in replacement for GNU objcopy, but does not currently support PE

svn commit: r286032 - head/share/mk

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 19:06:53 2015 New Revision: 286032 URL: https://svnweb.freebsd.org/changeset/base/286032 Log: Use default CLANG build options for ARM We previously disabled CLANG_FULL on (little-endian) ARM because the build failed. This is no longer the case and as of

Re: svn commit: r286027 - in head/sys: netinet sys

2015-07-29 Thread Patrick Kelsey
On Wed, Jul 29, 2015 at 2:43 PM, Shawn Webb shawn.w...@hardenedbsd.org wrote: On Wednesday, 29 July 2015 05:59:14 PM Patrick Kelsey wrote: Author: pkelsey Date: Wed Jul 29 17:59:13 2015 New Revision: 286027 URL: https://svnweb.freebsd.org/changeset/base/286027 Log: Revert

svn commit: r286036 - head/tools/build/options

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 20:02:20 2015 New Revision: 286036 URL: https://svnweb.freebsd.org/changeset/base/286036 Log: Remove mention of non-existent gconv tool I believe this is a typo of gcov, but gcov is not controlled by WITHOUT_BINUTILS anyhow. Sponsored by: The FreeBSD

svn commit: r286037 - head/sys/netinet

2015-07-29 Thread Ermal Luçi
Author: eri Date: Wed Jul 29 20:10:36 2015 New Revision: 286037 URL: https://svnweb.freebsd.org/changeset/base/286037 Log: Avoid double reference decrement when firewalls force relooping of packets When firewalls force a reloop of packets and the caller supplied a route the reference to

Re: svn commit: r286027 - in head/sys: netinet sys

2015-07-29 Thread Shawn Webb
On Wednesday, 29 July 2015 05:59:14 PM Patrick Kelsey wrote: Author: pkelsey Date: Wed Jul 29 17:59:13 2015 New Revision: 286027 URL: https://svnweb.freebsd.org/changeset/base/286027 Log: Revert r265338, r271089 and r271123 as those changes do not handle non-inline urgent data and

svn commit: r286034 - stable/10/contrib/llvm/patches

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 19:27:57 2015 New Revision: 286034 URL: https://svnweb.freebsd.org/changeset/base/286034 Log: Add updated llvm patch corresponding to r286033. Added: stable/10/contrib/llvm/patches/patch-r286033-llvm-r219009-x86-codegen-crash.diff Added:

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

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 18:55:51 2015 New Revision: 286031 URL: https://svnweb.freebsd.org/changeset/base/286031 Log: Regenerate src.conf(5) after r286016 and r286030 Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r286026 - stable/10/sys/netinet

2015-07-29 Thread Ermal Luçi
Author: eri Date: Wed Jul 29 17:50:14 2015 New Revision: 286026 URL: https://svnweb.freebsd.org/changeset/base/286026 Log: MFC 285325 Correct issue presented in r285051 by properly initializing variable. Differential Revision: https://reviews.freebsd.org/D3036 Modified:

svn commit: r286035 - in stable/9/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86 patches

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 19:37:32 2015 New Revision: 286035 URL: https://svnweb.freebsd.org/changeset/base/286035 Log: Merge r286033 from stable/10: Reapply r286007, modified to compile with pre-C++11 compilers: Pull in r219009 from upstream llvm trunk (by Adam Nemet):

svn commit: r286039 - releng/10.2/release/doc/en_US.ISO8859-1/hardware

2015-07-29 Thread Glen Barber
Author: gjb Date: Wed Jul 29 20:17:29 2015 New Revision: 286039 URL: https://svnweb.freebsd.org/changeset/base/286039 Log: Add ixl(4) to the hardware notes. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r286038 - releng/10.2/release/doc/en_US.ISO8859-1/hardware

2015-07-29 Thread Glen Barber
Author: gjb Date: Wed Jul 29 20:17:26 2015 New Revision: 286038 URL: https://svnweb.freebsd.org/changeset/base/286038 Log: Update copyright after r286023. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation Modified:

svn commit: r286054 - stable/9/sys/dev/mii

2015-07-29 Thread Marius Strobl
Author: marius Date: Thu Jul 30 00:28:32 2015 New Revision: 286054 URL: https://svnweb.freebsd.org/changeset/base/286054 Log: MFC: r284447, r284552 Merge from NetBSD: o rev. 1.10: Nuke trailing whitespace. o rev. 1.15: Fix typo in comment. o rev. 1.16: Add the following registers

svn commit: r286053 - stable/10/sys/dev/mii

2015-07-29 Thread Marius Strobl
Author: marius Date: Thu Jul 30 00:28:27 2015 New Revision: 286053 URL: https://svnweb.freebsd.org/changeset/base/286053 Log: MFC: r284447, r284552 Merge from NetBSD: o rev. 1.10: Nuke trailing whitespace. o rev. 1.15: Fix typo in comment. o rev. 1.16: Add the following registers

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

2015-07-29 Thread Baptiste Daroussin
Author: bapt Date: Wed Jul 29 22:51:54 2015 New Revision: 286045 URL: https://svnweb.freebsd.org/changeset/base/286045 Log: Actually set the proper license Reported by: trasz Modified: head/usr.sbin/pw/strtounum.c Modified: head/usr.sbin/pw/strtounum.c

svn commit: r286049 - head/sys/crypto/aesni

2015-07-29 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 29 23:37:15 2015 New Revision: 286049 URL: https://svnweb.freebsd.org/changeset/base/286049 Log: const'ify an arg that we don't update... Modified: head/sys/crypto/aesni/aesni.h head/sys/crypto/aesni/aesni_ghash.c Modified: head/sys/crypto/aesni/aesni.h

svn commit: r286050 - head/sys/i386/include

2015-07-29 Thread Konstantin Belousov
Author: kib Date: Wed Jul 29 23:59:17 2015 New Revision: 286050 URL: https://svnweb.freebsd.org/changeset/base/286050 Log: MFamd64 r285934: Remove store/load (= full) barrier from the i386 atomic_load_acq_*(). Noted by: alc (long time ago) Reviewed by: alc, bde Tested by:pho

Re: svn commit: r285997 - head/usr.sbin/pw

2015-07-29 Thread Bruce Evans
On Wed, 29 Jul 2015, Baptiste Daroussin wrote: Log: Actually add the new code I shouldn't have asked for this. It gives more to clean up. It has 1 large bug and many style bugs. Added: head/usr.sbin/pw/strtounum.c

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

2015-07-29 Thread Baptiste Daroussin
Author: bapt Date: Wed Jul 29 23:26:14 2015 New Revision: 286047 URL: https://svnweb.freebsd.org/changeset/base/286047 Log: Cleanup includes Modified: head/usr.sbin/pw/rm_r.c Modified: head/usr.sbin/pw/rm_r.c == ---

svn commit: r286055 - in stable/10/sys: kern sparc64/include sparc64/sparc64

2015-07-29 Thread Marius Strobl
Author: marius Date: Thu Jul 30 02:06:29 2015 New Revision: 286055 URL: https://svnweb.freebsd.org/changeset/base/286055 Log: MFC: r285839 o Revert the other functional half of r239864, i. e. the merge of r134227 from x86 to use smp_ipi_mtx spin lock not only for smp_rendezvous_cpus()

svn commit: r286056 - in stable/9/sys: kern sparc64/include sparc64/sparc64

2015-07-29 Thread Marius Strobl
Author: marius Date: Thu Jul 30 02:06:34 2015 New Revision: 286056 URL: https://svnweb.freebsd.org/changeset/base/286056 Log: MFC: r285839 o Revert the other functional half of r239864 (MFCed to stable/9 in r241681), i. e. the merge of r134227 from x86 to use smp_ipi_mtx spin lock not

svn commit: r286057 - head/sys/net

2015-07-29 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jul 30 02:09:03 2015 New Revision: 286057 URL: https://svnweb.freebsd.org/changeset/base/286057 Log: Follow r256586 and rename the kernel version of the Free() macro to R_Free(). This matches the other macros and reduces the chances to clash with other headers.

svn commit: r286059 - stable/10/sys/dev/uart

2015-07-29 Thread Marius Strobl
Author: marius Date: Thu Jul 30 02:23:09 2015 New Revision: 286059 URL: https://svnweb.freebsd.org/changeset/base/286059 Log: MFC: r285843 - Since r253161, uart_intr() abuses FILTER_SCHEDULE_THREAD for signaling uart_bus_attach() during its test that 20 iterations weren't sufficient

svn commit: r286058 - releng/10.2/sys/dev/hyperv/netvsc

2015-07-29 Thread Wei Hu
Author: whu Date: Thu Jul 30 02:22:38 2015 New Revision: 286058 URL: https://svnweb.freebsd.org/changeset/base/286058 Log: MFC r285928 Do not enable UDP checksum offloading when running on the Hyper-V on Windows Server 2012 and earlier hosts. Submitted by: whu Reviewed by: royger

Re: svn commit: r286042 - head

2015-07-29 Thread Glen Barber
On Wed, Jul 29, 2015 at 09:15:51PM +, Warner Losh wrote: Author: imp Date: Wed Jul 29 21:15:50 2015 New Revision: 286042 URL: https://svnweb.freebsd.org/changeset/base/286042 Log: Clarify historical practice of not removing old entries. Add entry for stable/10 branch that was

svn commit: r286063 - head/release/tools

2015-07-29 Thread Colin Percival
Author: cperciva Date: Thu Jul 30 04:01:00 2015 New Revision: 286063 URL: https://svnweb.freebsd.org/changeset/base/286063 Log: Disable blkif indirect segment I/Os in EC2 by default due to performance issues on some EC2 instance types. Users may want to experiment with removing this from

svn commit: r286061 - releng/10.2/sys/dev/uart

2015-07-29 Thread Marius Strobl
Author: marius Date: Thu Jul 30 03:06:11 2015 New Revision: 286061 URL: https://svnweb.freebsd.org/changeset/base/286061 Log: MFC: r285843 (r286059 in stable/10) - Since r253161, uart_intr() abuses FILTER_SCHEDULE_THREAD for signaling uart_bus_attach() during its test that 20

svn commit: r286060 - in releng/10.2/sys: kern sparc64/include sparc64/sparc64

2015-07-29 Thread Marius Strobl
Author: marius Date: Thu Jul 30 02:45:35 2015 New Revision: 286060 URL: https://svnweb.freebsd.org/changeset/base/286060 Log: MFC: r285839 (r286055 in stable/10) o Revert the other functional half of r239864, i. e. the merge of r134227 from x86 to use smp_ipi_mtx spin lock not only for

svn commit: r286064 - stable/10/usr.sbin/jexec

2015-07-29 Thread Jamie Gritton
Author: jamie Date: Thu Jul 30 04:53:53 2015 New Revision: 286064 URL: https://svnweb.freebsd.org/changeset/base/286064 Log: MFC r285420: Run a shell in the jail when no command is specified. Add a new flag, -l, for a clean environment, same as jail(8) exec.clean. Change the

svn commit: r286062 - in head/sys: dev/xen/blkfront xen/interface/io

2015-07-29 Thread Colin Percival
Author: cperciva Date: Thu Jul 30 03:50:01 2015 New Revision: 286062 URL: https://svnweb.freebsd.org/changeset/base/286062 Log: Add support for Xen blkif indirect segment I/Os. This makes it possible for the blkfront driver to perform I/Os of up to 2 MB, subject to support from the blkback

svn commit: r286001 - in head/sys: dev/cxgbe/tom net netinet netinet6

2015-07-29 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 29 08:12:05 2015 New Revision: 286001 URL: https://svnweb.freebsd.org/changeset/base/286001 Log: Convert in_ifaddr_lock and in6_ifaddr_lock to rmlock. Both are used to protect access to IP addresses lists and they can be acquired for reading several times per

svn commit: r286000 - head/sys/netipsec

2015-07-29 Thread John-Mark Gurney
Author: jmg Date: Wed Jul 29 07:15:16 2015 New Revision: 286000 URL: https://svnweb.freebsd.org/changeset/base/286000 Log: RFC4868 section 2.3 requires that the output be half... This fixes problems that was introduced in r285336... I have verified that HMAC-SHA2-256 both ah only and w/

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

2015-07-29 Thread Baptiste Daroussin
Author: bapt Date: Wed Jul 29 06:23:06 2015 New Revision: 285997 URL: https://svnweb.freebsd.org/changeset/base/285997 Log: Actually add the new code Added: head/usr.sbin/pw/strtounum.c (contents, props changed) Added: head/usr.sbin/pw/strtounum.c

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

2015-07-29 Thread Baptiste Daroussin
Author: bapt Date: Wed Jul 29 06:22:41 2015 New Revision: 285996 URL: https://svnweb.freebsd.org/changeset/base/285996 Log: Create a strtounum function using the same API as strtonum This function returns uintmax_t Use this function to convert to gid_t/uid_t Modified:

svn commit: r285998 - head/sys/compat/cloudabi

2015-07-29 Thread Ed Schouten
Author: ed Date: Wed Jul 29 06:31:44 2015 New Revision: 285998 URL: https://svnweb.freebsd.org/changeset/base/285998 Log: Implement CloudABI's readdir(). Summary: CloudABI's readdir() system call could be thought of as a mixture between FreeBSD's getdents(2) and pread(). Instead of

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

2015-07-29 Thread Kristof Provost
Author: kp Date: Wed Jul 29 06:35:36 2015 New Revision: 285999 URL: https://svnweb.freebsd.org/changeset/base/285999 Log: pf: Always initialise pf_fragment.fr_flags When we allocate the struct pf_fragment in pf_fillup_fragment() we forgot to initialise the fr_flags field. As a result we

Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_par

2015-07-29 Thread Hans Petter Selasky
On 07/03/15 22:15, Warner Losh wrote: On Jul 3, 2015, at 11:35 AM, Roger Pau Monné roy...@freebsd.org wrote: El 03/07/15 a les 19.26, Adrian Chadd ha escrit: ok, so why's it make NFS builds so slow? AFAICT it makes the build process spawn a bunch of concurrent find processes that weren't

svn commit: r286002 - head/sys/kern

2015-07-29 Thread Konstantin Belousov
Author: kib Date: Wed Jul 29 09:57:34 2015 New Revision: 286002 URL: https://svnweb.freebsd.org/changeset/base/286002 Log: Move bufshutdown() out of the #ifdef INVARIANTS block. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

svn commit: r286003 - head/sys/netpfil/ipfw

2015-07-29 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 29 10:53:42 2015 New Revision: 286003 URL: https://svnweb.freebsd.org/changeset/base/286003 Log: Reduce overhead of ipfw's me6 opcode. Skip checks for IPv6 multicast addresses. Use in6_localip() for global unicast. And for IPv6 link-local addresses do search in

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

2015-07-29 Thread Zbigniew Bodek
Author: zbb Date: Wed Jul 29 11:22:19 2015 New Revision: 286005 URL: https://svnweb.freebsd.org/changeset/base/286005 Log: Add quirk for ThunderX ITS device table size Limit the number of supported device IDs to 0x10 in order to decrease the size of the ITS device table so that it

svn commit: r286004 - stable/10/sys/netpfil/pf

2015-07-29 Thread Gleb Smirnoff
Author: glebius Date: Wed Jul 29 11:12:56 2015 New Revision: 286004 URL: https://svnweb.freebsd.org/changeset/base/286004 Log: Merge r285944: fix typo: delete nsn if we were the last reference. Modified: stable/10/sys/netpfil/pf/pf.c Directory Properties: stable/10/ (props changed)

Re: svn commit: r286007 - in stable/10/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86

2015-07-29 Thread Dimitry Andric
On 29 Jul 2015, at 15:21, Ed Schouten e...@nuxi.nl wrote: 2015-07-29 14:59 GMT+02:00 Dimitry Andric d...@freebsd.org: + std::unique_ptrMatchStateUpdater MSU; Is it safe to use std::unique_ptr in FreeBSD 10 sources? As in, would it still allow upgrading to 10.2 from 9.x and 10.{0,1}?

svn commit: r286007 - in stable/10/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 12:59:16 2015 New Revision: 286007 URL: https://svnweb.freebsd.org/changeset/base/286007 Log: Pull in r219009 from upstream llvm trunk (by Adam Nemet): [ISel] Keep matching state consistent when folding during X86 address match In the X86 backend,

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

2015-07-29 Thread Ed Maste
Author: emaste Date: Wed Jul 29 13:36:17 2015 New Revision: 286010 URL: https://svnweb.freebsd.org/changeset/base/286010 Log: ar: enable deterministic mode by default Ar cannot handle UIDs with more than 6 digits, and storing the mtime, uid, gid and mode provides little to negative value

Re: svn commit: r285051 - head/sys/netinet

2015-07-29 Thread Ermal Luçi
On Tue, Jul 28, 2015 at 2:42 PM, Gleb Smirnoff gleb...@freebsd.org wrote: Ermal, see comments inlined, On Thu, Jul 02, 2015 at 06:10:42PM +, Ermal Luçi wrote: E Author: eri E Date: Thu Jul 2 18:10:41 2015 E New Revision: 285051 E URL:

svn commit: r286009 - in stable/9/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86 patches

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 13:14:34 2015 New Revision: 286009 URL: https://svnweb.freebsd.org/changeset/base/286009 Log: Merge r286007 from stable/10: Pull in r219009 from upstream llvm trunk (by Adam Nemet): [ISel] Keep matching state consistent when folding during X86 address

Re: svn commit: r286007 - in stable/10/contrib/llvm: include/llvm/CodeGen lib/CodeGen/SelectionDAG lib/Target/X86

2015-07-29 Thread Ed Schouten
Hi Dimitry, 2015-07-29 14:59 GMT+02:00 Dimitry Andric d...@freebsd.org: + std::unique_ptrMatchStateUpdater MSU; Is it safe to use std::unique_ptr in FreeBSD 10 sources? As in, would it still allow upgrading to 10.2 from 9.x and 10.{0,1}? -- Ed Schouten e...@nuxi.nl Nuxi,

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

2015-07-29 Thread Rick Macklem
Author: rmacklem Date: Wed Jul 29 23:06:30 2015 New Revision: 286046 URL: https://svnweb.freebsd.org/changeset/base/286046 Log: This patch fixes a problem where, if the NFSv4 server has a previous unconfirmed clientid structure for the same client on the last hash list, this old entry would

svn commit: r286048 - releng/10.2/release

2015-07-29 Thread Glen Barber
Author: gjb Date: Wed Jul 29 23:34:38 2015 New Revision: 286048 URL: https://svnweb.freebsd.org/changeset/base/286048 Log: Set the default VHD file format to the fixed-size image for the 10.2-RELEASE, as the issue preventing the dynamic-size image from booting is not yet resolved. This

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

2015-07-29 Thread Konstantin Belousov
Author: kib Date: Thu Jul 30 00:13:20 2015 New Revision: 286051 URL: https://svnweb.freebsd.org/changeset/base/286051 Log: Use private cache line for the locked nop in *mb() on i386. Suggested by: alc Reviewed by: alc, bde Tested by:pho Sponsored by: The FreeBSD Foundation MFC

svn commit: r286052 - stable/10/sys/arm/allwinner/a20

2015-07-29 Thread Marius Strobl
Author: marius Date: Thu Jul 30 00:24:21 2015 New Revision: 286052 URL: https://svnweb.freebsd.org/changeset/base/286052 Log: MFC: r281752 Make a comment reflect reality. Modified: stable/10/sys/arm/allwinner/a20/a20_mp.c Directory Properties: stable/10/ (props changed) Modified:

Re: svn commit: r285051 - head/sys/netinet

2015-07-29 Thread Gleb Smirnoff
Ermal, On Wed, Jul 29, 2015 at 03:00:59PM +0200, Ermal Luçi wrote: E E @@ -934,6 +950,7 @@ ip_forward(struct mbuf *m, int srcrt) E E */ E E if (!srcrt ia == NULL) { E E icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_HOST, 0, 0); E E +RO_RTFREE(ro); E E

svn commit: r286011 - head/tests/sys/kern

2015-07-29 Thread Sergey Kandaurov
Author: pluknet Date: Wed Jul 29 13:49:34 2015 New Revision: 286011 URL: https://svnweb.freebsd.org/changeset/base/286011 Log: Fixed shutdown(2) unix(4) tests for SOCK_SEQPACKET after r285910 (by ed). Modified: head/tests/sys/kern/unix_seqpacket_test.c Modified:

svn commit: r286014 - in releng/10.2/sys: net netpfil/pf

2015-07-29 Thread Gleb Smirnoff
Author: glebius Date: Wed Jul 29 14:16:25 2015 New Revision: 286014 URL: https://svnweb.freebsd.org/changeset/base/286014 Log: Merge r285939-285941,285943,286004 from stable/10: - Protect against ioctl() vs ioctl() races. - Always lock hash row of a source node when updating its

svn commit: r286012 - in stable: 10/contrib/llvm/include/llvm/CodeGen 10/contrib/llvm/lib/CodeGen/SelectionDAG 10/contrib/llvm/lib/Target/X86 10/contrib/llvm/patches 9/contrib/llvm/include/llvm/Cod...

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 14:07:29 2015 New Revision: 286012 URL: https://svnweb.freebsd.org/changeset/base/286012 Log: Revert r286007-r286009 for now, until I can figure out how to make the fix compile with older gcc and libstdc++. Deleted:

svn commit: r286012 - in stable: 10/contrib/llvm/include/llvm/CodeGen 10/contrib/llvm/lib/CodeGen/SelectionDAG 10/contrib/llvm/lib/Target/X86 10/contrib/llvm/patches 9/contrib/llvm/include/llvm/Cod...

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 14:07:29 2015 New Revision: 286012 URL: https://svnweb.freebsd.org/changeset/base/286012 Log: Revert r286007-r286009 for now, until I can figure out how to make the fix compile with older gcc and libstdc++. Deleted:

svn commit: r286013 - in head/sys: net netinet netinet6

2015-07-29 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 29 14:07:43 2015 New Revision: 286013 URL: https://svnweb.freebsd.org/changeset/base/286013 Log: Eliminate the use of m_copydata() in gif_encapcheck(). ip_encap already has inspected mbuf's data, at least an IP header. And it is safe to use mtod() and do direct

svn commit: r286006 - head/sys/compat/cloudabi

2015-07-29 Thread Ed Schouten
Author: ed Date: Wed Jul 29 12:42:45 2015 New Revision: 286006 URL: https://svnweb.freebsd.org/changeset/base/286006 Log: Split up Capsicum to CloudABI rights conversion into two separate routines. CloudABI's openat() ensures that files are opened with the smallest set of relevant

Re: svn commit: r286000 - head/sys/netipsec

2015-07-29 Thread Ermal Luçi
Hello John-Mark, this was forgotten part on my patches merge from gnn@. Can it be fixed by correcting the patches rather than re-introducing this? Most probably the constant definition is wrong on the transforms and also some part of code removal was missed. On Wed, Jul 29, 2015 at 9:15 AM,

svn commit: r286008 - stable/10/contrib/llvm/patches

2015-07-29 Thread Dimitry Andric
Author: dim Date: Wed Jul 29 13:07:18 2015 New Revision: 286008 URL: https://svnweb.freebsd.org/changeset/base/286008 Log: Add llvm patch corresponding to r286007. Added: stable/10/contrib/llvm/patches/patch-r286007-llvm-r219009-x86-codegen-crash.diff Added:

Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_par

2015-07-29 Thread Warner Losh
On Jul 29, 2015, at 4:19 AM, Hans Petter Selasky h...@selasky.org wrote: On 07/03/15 22:15, Warner Losh wrote: On Jul 3, 2015, at 11:35 AM, Roger Pau Monné roy...@freebsd.org wrote: El 03/07/15 a les 19.26, Adrian Chadd ha escrit: ok, so why's it make NFS builds so slow? AFAICT it