svn commit: r277365 - head/sys/fs/ext2fs

2015-01-18 Thread Garrett Cooper
Author: ngie Date: Mon Jan 19 07:10:08 2015 New Revision: 277365 URL: https://svnweb.freebsd.org/changeset/base/277365 Log: Fix the build when INVARIANTS is defined by restoring `bo`'s definition in ext2_truncate(..) and by putting it under INVARIANTS ifdefs X-MFC with: r277354 MFC

svn commit: r277372 - head/sys/cam/scsi

2015-01-18 Thread Hans Petter Selasky
Author: hselasky Date: Mon Jan 19 07:29:07 2015 New Revision: 277372 URL: https://svnweb.freebsd.org/changeset/base/277372 Log: Minor refactoring of code block. MFC after:1 day Modified: head/sys/cam/scsi/scsi_da.c Modified: head/sys/cam/scsi/scsi_da.c

svn commit: r277355 - head/share/mk

2015-01-18 Thread Ian Lepore
Author: ian Date: Mon Jan 19 04:56:17 2015 New Revision: 277355 URL: https://svnweb.freebsd.org/changeset/base/277355 Log: For armv6 builds, add -mfloat-abi=softfp. This tells the compiler it can use floating point hardware instructions (because all armv6/7 systems we support have fp

svn commit: r277360 - in head/sys/amd64: include vmm

2015-01-18 Thread Neel Natu
Author: neel Date: Mon Jan 19 06:53:31 2015 New Revision: 277360 URL: https://svnweb.freebsd.org/changeset/base/277360 Log: MOVS instruction emulation. These instructions are emitted by 'bus_space_read_region()' when accessing MMIO regions. Since MOVS can be used with a repeat

svn commit: r277359 - head/lib/libvmmapi

2015-01-18 Thread Neel Natu
Author: neel Date: Mon Jan 19 06:51:04 2015 New Revision: 277359 URL: https://svnweb.freebsd.org/changeset/base/277359 Log: Fix a bug in libvmmapi 'vm_copy_setup()' where it would return success even if the 'gpa' was in the guest MMIO region. This would manifest as a segmentation fault in

svn commit: r277357 - head/contrib/netbsd-tests/bin/expr

2015-01-18 Thread Garrett Cooper
Author: ngie Date: Mon Jan 19 06:10:01 2015 New Revision: 277357 URL: https://svnweb.freebsd.org/changeset/base/277357 Log: Expect :overflow to fail with FreeBSD's expr as it doesn't have stringent overflow checks like NetBSD's expr does MFC after: 3 days PR: 196867 Modified:

svn commit: r277358 - in head: bin/expr bin/expr/tests etc/mtree

2015-01-18 Thread Garrett Cooper
Author: ngie Date: Mon Jan 19 06:13:07 2015 New Revision: 277358 URL: https://svnweb.freebsd.org/changeset/base/277358 Log: Integrate contrib/netbsd-tests/bin/expr into the build/kyua as bin/expr/tests MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Added:

svn commit: r277354 - head/sys/fs/ext2fs

2015-01-18 Thread Pedro F. Giffuni
Author: pfg Date: Mon Jan 19 03:30:45 2015 New Revision: 277354 URL: https://svnweb.freebsd.org/changeset/base/277354 Log: ext2: Garbage-collect some unused variables Reported by: clang static analysis MFC after:2 weeks Modified: head/sys/fs/ext2fs/ext2_bmap.c

svn commit: r277353 - in head: contrib/libxo contrib/libxo/bin contrib/libxo/doc contrib/libxo/libxo contrib/libxo/packaging contrib/libxo/tests/core contrib/libxo/tests/core/saved contrib/libxo/xo...

2015-01-18 Thread Marcel Moolenaar
Author: marcel Date: Mon Jan 19 02:22:03 2015 New Revision: 277353 URL: https://svnweb.freebsd.org/changeset/base/277353 Log: Upgrade libxo to 0.2.0. Obtained from:https://github.com/Juniper/libxo Requested by: Phil Shafer p...@juniper.net Revisions 276253 276273 were

svn commit: r277356 - head/sys/powerpc/aim

2015-01-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Mon Jan 19 05:14:07 2015 New Revision: 277356 URL: https://svnweb.freebsd.org/changeset/base/277356 Log: Provide a tunable (machdep.moea64_bpvo_pool_size) to set the bootstrap PVO pool size. The default errs on the exceedingly large side, so absent any intelligent

svn commit: r277352 - in head/usr.sbin: mountd rpc.lockd rpc.statd

2015-01-18 Thread Ryan Stone
Author: rstone Date: Mon Jan 19 00:33:32 2015 New Revision: 277352 URL: https://svnweb.freebsd.org/changeset/base/277352 Log: When mountd is creating sockets, it iterates over all addresses specified in the hosts array and eventually looks up the network address with getaddrinfo(). At one

Re: svn commit: r277302 - in head/sys: conf modules modules/ibcore modules/ipoib modules/linuxapi modules/mlx4 modules/mlx4ib ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mlx4 ofed/drivers/

2015-01-18 Thread Hans Petter Selasky
On 01/18/15 04:37, Bjoern A. Zeeb wrote: On 18 Jan 2015, at 01:33 , Bjoern A. Zeeb b...@freebsd.org wrote: On 17 Jan 2015, at 16:36 , Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Sat Jan 17 16:36:39 2015 New Revision: 277302 URL:

Re: svn commit: r277302 - in head/sys: conf modules modules/ibcore modules/ipoib modules/linuxapi modules/mlx4 modules/mlx4ib ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mlx4 ofed/drivers/

2015-01-18 Thread Hans Petter Selasky
On 01/18/15 02:33, Bjoern A. Zeeb wrote: On 17 Jan 2015, at 16:36 , Hans Petter Selasky hsela...@freebsd.org wrote: Author: hselasky Date: Sat Jan 17 16:36:39 2015 New Revision: 277302 URL: https://svnweb.freebsd.org/changeset/base/277302 Log: Start importing the basic OFED linux

Re: svn commit: r277199 - in head/sys: fs/devfs kern

2015-01-18 Thread Hans Petter Selasky
Hi Konstantin, On 01/18/15 12:31, Konstantin Belousov wrote: On Sun, Jan 18, 2015 at 12:08:26PM +0100, Hans Petter Selasky wrote: Hi Konstantin, On 01/18/15 11:54, Konstantin Belousov wrote: On Fri, Jan 16, 2015 at 10:00:11AM +0100, Hans Petter Selasky wrote: Hi Konstantin, What about

Re: svn commit: r277302 - in head/sys: conf modules modules/ibcore modules/ipoib modules/linuxapi modules/mlx4 modules/mlx4ib ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mlx4 ofed/drivers/

2015-01-18 Thread Hans Petter Selasky
On 01/18/15 14:22, Bjoern A. Zeeb wrote: On 18 Jan 2015, at 10:55 , Hans Petter Selasky h...@selasky.org wrote: See r277316. Thank you! Thanks could you also check i386.XEN which seems to conflict on redefined macros; here’s only a short excerpt: See r277319. I see this needs some more

svn commit: r277319 - head/sys/modules

2015-01-18 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jan 18 14:04:55 2015 New Revision: 277319 URL: https://svnweb.freebsd.org/changeset/base/277319 Log: Make the linuxapi module only build when WITH_OFED=YES is specified. There needs to be some more testing done before it is ready for all platforms and

svn commit: r277321 - in head/sys: fs/fifofs kern sys

2015-01-18 Thread Konstantin Belousov
Author: kib Date: Sun Jan 18 15:03:26 2015 New Revision: 277321 URL: https://svnweb.freebsd.org/changeset/base/277321 Log: Make SIGSTOP working for sleeps done while waiting for fifo readers or writers in open(2), when the fifo is located on an NFS mount. Reported by: bde Sponsored

svn commit: r277322 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2015-01-18 Thread Konstantin Belousov
Author: kib Date: Sun Jan 18 15:13:11 2015 New Revision: 277322 URL: https://svnweb.freebsd.org/changeset/base/277322 Log: Add procctl(2) PROC_TRACE_CTL command to enable or disable debugger attachment to the process. Note that the command is not intended to be a security measure, rather

svn commit: r277320 - in head: . contrib/llvm/include/llvm/Analysis contrib/llvm/include/llvm/CodeGen contrib/llvm/include/llvm/Target contrib/llvm/lib/Analysis contrib/llvm/lib/MC contrib/llvm/lib...

2015-01-18 Thread Dimitry Andric
18 14:04:55 2015(r277319) +++ head/ObsoleteFiles.inc Sun Jan 18 14:14:47 2015(r277320) @@ -38,6 +38,60 @@ # xargs -n1 | sort | uniq -d; # done +# 20150118: new clang import which bumps version from 3.5.0 to 3.5.1. +OLD_FILES+=usr/include/clang/3.5.0/__wmmintrin_aes.h

Re: svn commit: r277199 - in head/sys: fs/devfs kern

2015-01-18 Thread Konstantin Belousov
On Fri, Jan 16, 2015 at 10:00:11AM +0100, Hans Petter Selasky wrote: Hi Konstantin, On 01/16/15 09:03, Konstantin Belousov wrote: My opinion is that you should have tried to handle the issue at the driver level, instead of making this devfs issue. I.e., if you already have cdev node

Re: svn commit: r277302 - in head/sys: conf modules modules/ibcore modules/ipoib modules/linuxapi modules/mlx4 modules/mlx4ib ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mlx4 ofed/drivers/

2015-01-18 Thread Hans Petter Selasky
See r277316. Thank you! --HPS ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to svn-src-head-unsubscr...@freebsd.org

svn commit: r277316 - head/sys/conf

2015-01-18 Thread Hans Petter Selasky
Author: hselasky Date: Sun Jan 18 10:53:48 2015 New Revision: 277316 URL: https://svnweb.freebsd.org/changeset/base/277316 Log: Extend fixes made in r277308 to fix build of LINT kernels for i386 and amd64. Until further we need some custom C-flags when building the Linux compat API.

svn commit: r277318 - head/sys/dev/acpica

2015-01-18 Thread Colin Percival
Author: cperciva Date: Sun Jan 18 12:45:26 2015 New Revision: 277318 URL: https://svnweb.freebsd.org/changeset/base/277318 Log: When disabling C3+ CPU states due to the CPU_QUIRK_NO_C3 quirk, don't accidentally enable non-existent states. This bug was triggered if ACPI advertises the

Re: svn commit: r277199 - in head/sys: fs/devfs kern

2015-01-18 Thread Hans Petter Selasky
Hi Konstantin, On 01/18/15 11:54, Konstantin Belousov wrote: On Fri, Jan 16, 2015 at 10:00:11AM +0100, Hans Petter Selasky wrote: Hi Konstantin, On 01/16/15 09:03, Konstantin Belousov wrote: My opinion is that you should have tried to handle the issue at the driver level, instead of making

Re: svn commit: r277199 - in head/sys: fs/devfs kern

2015-01-18 Thread Konstantin Belousov
On Sun, Jan 18, 2015 at 12:08:26PM +0100, Hans Petter Selasky wrote: Hi Konstantin, On 01/18/15 11:54, Konstantin Belousov wrote: On Fri, Jan 16, 2015 at 10:00:11AM +0100, Hans Petter Selasky wrote: Hi Konstantin, On 01/16/15 09:03, Konstantin Belousov wrote: My opinion is that you

Re: svn commit: r277302 - in head/sys: conf modules modules/ibcore modules/ipoib modules/linuxapi modules/mlx4 modules/mlx4ib ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mlx4 ofed/drivers/

2015-01-18 Thread Bjoern A. Zeeb
On 18 Jan 2015, at 10:55 , Hans Petter Selasky h...@selasky.org wrote: See r277316. Thank you! Thanks could you also check i386.XEN which seems to conflict on redefined macros; here’s only a short excerpt: In file included from

svn commit: r277335 - in head/sys/powerpc: aim include ofw powerpc

2015-01-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 18 20:00:33 2015 New Revision: 277335 URL: https://svnweb.freebsd.org/changeset/base/277335 Log: Use TOC to look up all kernel globals on powerpc64 instead of doing the non-relocatable lis @ha, ori @l dance and hoping they are below 4 GB. MFC after:2

svn commit: r277329 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-01-18 Thread Adrian Chadd
Author: adrian Date: Sun Jan 18 17:43:00 2015 New Revision: 277329 URL: https://svnweb.freebsd.org/changeset/base/277329 Log: Oops - use the correct argument order for ar9300_set_beacon(). (It's only an issue in AP/adhoc modes. But, still. Grr.) Modified:

svn commit: r277328 - head/contrib/ee

2015-01-18 Thread Allan Jude
Author: allanjude (doc committer) Date: Sun Jan 18 17:25:41 2015 New Revision: 277328 URL: https://svnweb.freebsd.org/changeset/base/277328 Log: Fix minor syntax and grammar errors in the markup of the ee(1) man page Differential Revision:https://reviews.freebsd.org/D1552

svn commit: r277331 - in head/sys: conf dev/e1000 dev/ixgbe dev/ixl net netinet netinet6

2015-01-18 Thread Adrian Chadd
Author: adrian Date: Sun Jan 18 18:06:40 2015 New Revision: 277331 URL: https://svnweb.freebsd.org/changeset/base/277331 Log: Refactor / restructure the RSS code into generic, IPv4 and IPv6 specific bits. The motivation here is to eventually teach netisr and potentially other

svn commit: r277333 - head/usr.sbin/bsdinstall/scripts

2015-01-18 Thread Steven Hartland
Author: smh Date: Sun Jan 18 18:25:12 2015 New Revision: 277333 URL: https://svnweb.freebsd.org/changeset/base/277333 Log: Fix bsdinstall when working with geli boot disks PR: 196790 Differential Revision:https://reviews.freebsd.org/D566 Submitted by: Michael Gmelin

svn commit: r277334 - in head/sys: conf powerpc/aim powerpc/booke powerpc/include powerpc/ofw powerpc/powerpc

2015-01-18 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Jan 18 18:32:43 2015 New Revision: 277334 URL: https://svnweb.freebsd.org/changeset/base/277334 Log: Refactor PowerPC (especially AIM) init sequence to be less baroque. MFC after:2 months Modified: head/sys/conf/ldscript.powerpc

svn commit: r277351 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-01-18 Thread Steven Hartland
Author: smh Date: Sun Jan 18 23:15:49 2015 New Revision: 277351 URL: https://svnweb.freebsd.org/changeset/base/277351 Log: Clean ZFS spa config before syncing A number of entries that can be present in the spa config shouldn't be saved to disk so add a method to ensure this is case.

Re: svn commit: r276123 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-01-18 Thread Steven Hartland
On 18/01/2015 05:04, Xin Li wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 1/17/15 19:55, Steven Hartland wrote: On 02/01/2015 17:54, Xin Li wrote: Yes, this fixes the problem, thanks for working on it. I'm not fully convinced with the approach though -- shouldn't we update the

svn commit: r277350 - head/sys/netinet

2015-01-18 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 18 22:00:39 2015 New Revision: 277350 URL: https://svnweb.freebsd.org/changeset/base/277350 Log: Fix a bug which only shows up when an mbuf allocation failed. Therefore chances are low that we hit this. Reported by: Coverity CID: 1018886 MFC

svn commit: r277340 - head/sys/fs/ext2fs

2015-01-18 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jan 18 20:26:27 2015 New Revision: 277340 URL: https://svnweb.freebsd.org/changeset/base/277340 Log: Remove dead code. After the ext2 variant of the orlov allocator was implemented, the case for a negative or zero dirsize disappeared. Drop the dead code and

svn commit: r277347 - head/sys/netinet

2015-01-18 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 18 20:53:20 2015 New Revision: 277347 URL: https://svnweb.freebsd.org/changeset/base/277347 Log: Add protection code to free memory in case of processing an address which is neither IPv4 or IPv6. Reported by: Coverity CID: 749311 MFC after:1

svn commit: r277348 - head/sys/netinet

2015-01-18 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 18 21:16:22 2015 New Revision: 277348 URL: https://svnweb.freebsd.org/changeset/base/277348 Log: Remove an unnecessary check. Reported by: Coverity CID: 749576 MFC after:1 week Modified: head/sys/netinet/sctp_input.c Modified:

svn commit: r277349 - head/sys/fs/ext2fs

2015-01-18 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jan 18 21:18:28 2015 New Revision: 277349 URL: https://svnweb.freebsd.org/changeset/base/277349 Log: ext2: fix for uninitialized pointer read. path.ep_bp was being used uninitialized in ext4_ext_find_extent(). CID: 1062344 MFC after:1 week

svn commit: r277337 - head/sys/netinet

2015-01-18 Thread Michael Tuexen
Author: tuexen Date: Sun Jan 18 20:20:27 2015 New Revision: 277337 URL: https://svnweb.freebsd.org/changeset/base/277337 Log: Remove an unused variable. Reported by: Coverity CID: 750999 MFC after:1 week Modified: head/sys/netinet/sctp_usrreq.c Modified:

svn commit: r277346 - head/sys/arm/broadcom/bcm2835

2015-01-18 Thread Ian Lepore
Author: ian Date: Sun Jan 18 20:47:21 2015 New Revision: 277346 URL: https://svnweb.freebsd.org/changeset/base/277346 Log: Save the command-and-flags value into the shadow register when it is written. This doesn't actually change any behavior, because it just allows a 16-bit read of the