svn commit: r293403 - head/libexec/rtld-elf

2016-01-07 Thread Ed Maste
Author: emaste Date: Fri Jan 8 00:56:41 2016 New Revision: 293403 URL: https://svnweb.freebsd.org/changeset/base/293403 Log: Revert r293201, r293202 (rtld: populate DT_DEBUG iff DYNAMIC segment is writable) It turns out MIPS binaries may have other oddities that can trigger a fault at

svn commit: r293405 - head/sys/kern

2016-01-07 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 8 01:16:03 2016 New Revision: 293405 URL: https://svnweb.freebsd.org/changeset/base/293405 Log: For SOCK_STREAM socket use sbappendstream() instead of sbappend(). Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/kern/uipc_usrreq.c

svn commit: r293392 - head/bin/sh

2016-01-07 Thread Jilles Tjoelker
Author: jilles Date: Thu Jan 7 23:13:20 2016 New Revision: 293392 URL: https://svnweb.freebsd.org/changeset/base/293392 Log: sh: Reduce size of options table. Modified: head/bin/sh/expand.c head/bin/sh/options.c head/bin/sh/options.h head/bin/sh/var.c Modified: head/bin/sh/expand.c

svn commit: r293398 - head/tools/tools/nanobsd/embedded

2016-01-07 Thread Warner Losh
Author: imp Date: Fri Jan 8 00:05:28 2016 New Revision: 293398 URL: https://svnweb.freebsd.org/changeset/base/293398 Log: Setup /pkg as a spot for pkg to operate. This is for testing purposes only. You need to remount / rw and export TMPDIR=/pkg/tmp. pkg will then work. It's slow though:

svn commit: r293399 - head/tools/tools/nanobsd

2016-01-07 Thread Warner Losh
Author: imp Date: Fri Jan 8 00:05:47 2016 New Revision: 293399 URL: https://svnweb.freebsd.org/changeset/base/293399 Log: Make sure that the /set directive gets put at the top of the file, instead of in sort order. Slash sorts after period. Modified: head/tools/tools/nanobsd/defaults.sh

svn commit: r293390 - in head: share/man/man4 sys/dev/ioat

2016-01-07 Thread Conrad E. Meyer
Author: cem Date: Thu Jan 7 23:02:15 2016 New Revision: 293390 URL: https://svnweb.freebsd.org/changeset/base/293390 Log: ioat(4): Add ioat_acquire_reserve() KPI ioat_acquire_reserve() is an extended version of ioat_acquire(). It allows users to reserve space in the channel for some

svn commit: r293313 - head/sys/netinet/tcp_stacks

2016-01-07 Thread Jonathan T. Looney
Author: jtl Date: Thu Jan 7 11:54:20 2016 New Revision: 293313 URL: https://svnweb.freebsd.org/changeset/base/293313 Log: Apply the changes from r293284 to one additional file. Discussed with: glebius Modified: head/sys/netinet/tcp_stacks/fastpath.c Modified:

svn commit: r293309 - in head/sys/dev: cxgb/ulp/iw_cxgb cxgb/ulp/tom cxgbe/iw_cxgbe cxgbe/tom

2016-01-07 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Jan 7 08:07:17 2016 New Revision: 293309 URL: https://svnweb.freebsd.org/changeset/base/293309 Log: Convert cxgb/cxgbe to the new routing API. Discussed with: np Modified: head/sys/dev/cxgb/ulp/iw_cxgb/iw_cxgb_cm.c

svn commit: r293310 - head/sys/ofed/include/rdma

2016-01-07 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jan 7 09:40:19 2016 New Revision: 293310 URL: https://svnweb.freebsd.org/changeset/base/293310 Log: Remove unused file. Deleted: head/sys/ofed/include/rdma/Kbuild ___ svn-src-head@freebsd.org mailing list

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

2016-01-07 Thread Alexander V. Chernikov
Author: melifaro Date: Thu Jan 7 10:20:03 2016 New Revision: 293311 URL: https://svnweb.freebsd.org/changeset/base/293311 Log: Convert pf(4) to the new routing API. Differential Revision:https://reviews.freebsd.org/D4763 Modified: head/sys/netpfil/pf/pf.c Modified:

Re: svn commit: r293284 - in head/sys: dev/cxgb/ulp/tom dev/cxgbe/tom netinet

2016-01-07 Thread Ivan Klymenko
On Wed, 6 Jan 2016 18:20:50 -0800 NGie Cooper wrote: > On Wed, Jan 6, 2016 at 4:14 PM, Gleb Smirnoff > wrote: > > Author: glebius > > Date: Thu Jan 7 00:14:42 2016 > > New Revision: 293284 > > URL: https://svnweb.freebsd.org/changeset/base/293284 > >

svn commit: r293322 - head/sys/dev/nvd

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 15:59:51 2016 New Revision: 293322 URL: https://svnweb.freebsd.org/changeset/base/293322 Log: nvd: break out submission logic into separate function This enables a future patch using this same logic to submit I/O directly bypassing the taskqueue.

svn commit: r293321 - head/sys/dev/nvd

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 15:58:44 2016 New Revision: 293321 URL: https://svnweb.freebsd.org/changeset/base/293321 Log: nvd: skip BIO_ORDERED logic when bio fails submission This ensures the bio flags are not read after biodone(). The ordering will still be enforced, after the

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

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 16:08:04 2016 New Revision: 293324 URL: https://svnweb.freebsd.org/changeset/base/293324 Log: nvme: simplify some of the nested ifs in interrupt setup code This prepares for some follow-up commits which do more work in this area. MFC after:3

Re: svn commit: r293227 - head/etc

2016-01-07 Thread Allan Jude
On 2016-01-06 01:40, Bruce Evans wrote: On Tue, 5 Jan 2016, Allan Jude wrote: On 2016-01-05 22:16, Devin Teske wrote: This e-mail is extremely hard to parse and I think you are mistaken. The -f flag is more than just a counter to a possible -i Try to rm a file that has schg You will get a

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

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 16:09:56 2016 New Revision: 293325 URL: https://svnweb.freebsd.org/changeset/base/293325 Log: nvme: remove per_cpu_io_queues from struct nvme_controller Instead just use num_io_queues to make this determination. This prepares for some future changes

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

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 16:18:32 2016 New Revision: 293328 URL: https://svnweb.freebsd.org/changeset/base/293328 Log: nvme: do not revert o single I/O queue when per-CPU queues not possible Previously nvme(4) would revert to a signle I/O queue if it could not allocate enought

Re: svn commit: r293328 - head/sys/dev/nvme

2016-01-07 Thread Ravi Pokala
-Original Message- From: on behalf of Jim Harris Date: 2016-01-07, Thursday at 08:18 To: , , Subject: svn commit: r293328 - head/sys/dev/nvme

svn commit: r293332 - head/sys/dev/e1000

2016-01-07 Thread Sean Bruno
Author: sbruno Date: Thu Jan 7 16:48:47 2016 New Revision: 293332 URL: https://svnweb.freebsd.org/changeset/base/293332 Log: Disable the reuse of checksum offload context descriptors in the case of multiple queues in em(4). Document errata in the code. MFC after:2 weeks Sponsored

Re: svn commit: r293328 - head/sys/dev/nvme

2016-01-07 Thread Bruce Evans
On Thu, 7 Jan 2016, Jim Harris wrote: On Thu, Jan 7, 2016 at 9:27 AM, Ravi Pokala wrote: ... + * Used for calculating number of CPUs to assign to each core and number of I/O + * queues to allocate per controller. + */ +#define NVME_CEILING(num, div)num) - 1) /

svn commit: r293414 - in head/sys/boot: i386/loader userboot/userboot

2016-01-07 Thread Allan Jude
Author: allanjude Date: Fri Jan 8 05:09:55 2016 New Revision: 293414 URL: https://svnweb.freebsd.org/changeset/base/293414 Log: Add support for ZFS Boot Environments to userboot (for bhyve and others) While here, also fix a possible null pointer Reported by: lattera MFC after:

Re: svn commit: r293328 - head/sys/dev/nvme

2016-01-07 Thread Jim Harris
On Thu, Jan 7, 2016 at 9:27 AM, Ravi Pokala wrote: > -Original Message- > > > From: on behalf of Jim Harris > > Date: 2016-01-07, Thursday at 08:18 > To: , , <

svn commit: r293350 - in head/sys/cam: ctl scsi

2016-01-07 Thread Konstantin Belousov
Author: kib Date: Thu Jan 7 20:22:55 2016 New Revision: 293350 URL: https://svnweb.freebsd.org/changeset/base/293350 Log: Convert sys/cam to use make_dev_s(). Reviewed by: hps, jhb Sponsored by: The FreeBSD Foundation MFC after:3 weeks Differential revision:

Re: svn commit: r293328 - head/sys/dev/nvme

2016-01-07 Thread Conrad Meyer
I believe it's spelled "howmany()." On Thu, Jan 7, 2016 at 8:27 AM, Ravi Pokala wrote: > -Original Message- > > > From: on behalf of Jim Harris > > Date: 2016-01-07, Thursday at 08:18 > To:

svn commit: r293352 - in head: share/man/man4 sys/dev/nvme

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 20:32:04 2016 New Revision: 293352 URL: https://svnweb.freebsd.org/changeset/base/293352 Log: nvme: add hw.nvme.min_cpus_per_ioq tunable Due to FreeBSD system-wide limits on number of MSI-X vectors

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

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 20:35:26 2016 New Revision: 293354 URL: https://svnweb.freebsd.org/changeset/base/293354 Log: nvme: replace NVME_CEILING macro with howmany() Suggested by: rpokala MFC after:3 days Modified: head/sys/dev/nvme/nvme_ctrlr.c Modified:

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

2016-01-07 Thread Renato Botelho
Author: garga (ports committer) Date: Thu Jan 7 20:37:18 2016 New Revision: 293357 URL: https://svnweb.freebsd.org/changeset/base/293357 Log: Obsolete inetd related files when WITHOUT_INETD is set Reviewed by: bapt Approved by: gnn MFC after:1 week Sponsored by: Rubiconn

svn commit: r293359 - in head/bin/sh: . tests/builtins

2016-01-07 Thread Jilles Tjoelker
Author: jilles Date: Thu Jan 7 20:48:24 2016 New Revision: 293359 URL: https://svnweb.freebsd.org/changeset/base/293359 Log: sh: Ensure OPTIND=1 in subshell without forking does not affect outer env. Command substitutions containing a single simple command and here-document expansion

svn commit: r293320 - head/sys/dev/nvd

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 15:57:17 2016 New Revision: 293320 URL: https://svnweb.freebsd.org/changeset/base/293320 Log: nvd: do not wait for previous bios before submitting ordered bio Still wait until all in-flight bios (including the ordered bio) complete before processing

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

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 16:12:42 2016 New Revision: 293327 URL: https://svnweb.freebsd.org/changeset/base/293327 Log: nvme: break out interrupt setup code into a separate function MFC after:3 days Sponsored by: Intel Modified: head/sys/dev/nvme/nvme_ctrlr.c Modified:

svn commit: r293346 - in head: share/man/man9 sys/kern sys/sys

2016-01-07 Thread Konstantin Belousov
Author: kib Date: Thu Jan 7 20:08:02 2016 New Revision: 293346 URL: https://svnweb.freebsd.org/changeset/base/293346 Log: Provide yet another KPI for cdev creation, make_dev_s(9). Immediate problem fixed by the new KPI is the long-standing race between device creation and assignments to

svn commit: r293361 - head/sys/sys

2016-01-07 Thread Bryan Drewery
Author: bdrewery Date: Thu Jan 7 20:52:35 2016 New Revision: 293361 URL: https://svnweb.freebsd.org/changeset/base/293361 Log: Allow libnv to be built externally using GCC. GCC does not define _VA_LIST_DECLARED. It defines _VA_LIST_ and others. This was causing the prototype to not be

svn commit: r293340 - head/lib/libdpv

2016-01-07 Thread Devin Teske
Author: dteske Date: Thu Jan 7 18:50:02 2016 New Revision: 293340 URL: https://svnweb.freebsd.org/changeset/base/293340 Log: Increase maximum buffer size for `-x cmd' value MFC after:3 days X-MFC-to: stable/10 Modified: head/lib/libdpv/util.h Modified: head/lib/libdpv/util.h

Re: svn commit: r286234 - head/sys/boot/common

2016-01-07 Thread Oliver Pinter
On Mon, Aug 3, 2015 at 6:27 PM, Edward Tomasz Napierala wrote: > Author: trasz > Date: Mon Aug 3 16:27:36 2015 > New Revision: 286234 > URL: https://svnweb.freebsd.org/changeset/base/286234 > > Log: > Fix a problem which made loader(8) load non-kld files twice. > > For

svn commit: r293339 - in head/sys/dev: bwi if_ndis iwi malo otus ral rtwn usb/wlan

2016-01-07 Thread Andriy Voskoboinyk
Author: avos Date: Thu Jan 7 18:41:03 2016 New Revision: 293339 URL: https://svnweb.freebsd.org/changeset/base/293339 Log: net80211 drivers: fix ieee80211_init_channels() usage Fix out-of-bounds read (all) / write (11n capable) for drivers that are using ieee80211_init_channels() to

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

2016-01-07 Thread Pedro F. Giffuni
Author: pfg Date: Thu Jan 7 21:43:43 2016 New Revision: 293370 URL: https://svnweb.freebsd.org/changeset/base/293370 Log: ext2fs: reading mmaped file in Ext4 causes panic Always call brelse(path.ep_bp), fixing reading EXT4 files using mmap(). Patch by Damjan Jovanovic. PR:

svn commit: r293371 - head/bin/sh/tests/builtins

2016-01-07 Thread Jilles Tjoelker
Author: jilles Date: Thu Jan 7 21:46:07 2016 New Revision: 293371 URL: https://svnweb.freebsd.org/changeset/base/293371 Log: sh: Add a test for 'cd -'. Redirect 'cd -' output to /dev/null since POSIX requires it to write the new directory name even if not interactive, but we currently

svn commit: r293379 - head/lib/libdpv

2016-01-07 Thread Devin Teske
Author: dteske Date: Thu Jan 7 22:13:17 2016 New Revision: 293379 URL: https://svnweb.freebsd.org/changeset/base/293379 Log: Bump copyright (forgotten part of r293340) MFC after:3 days X-MFC-to: stable/10 X-MFC-with: r293340 Modified: head/lib/libdpv/util.h Modified:

svn commit: r293369 - head/sys/dev/ismt

2016-01-07 Thread Jim Harris
Author: jimharris Date: Thu Jan 7 21:16:44 2016 New Revision: 293369 URL: https://svnweb.freebsd.org/changeset/base/293369 Log: ismt: fix ISMT_DESC_ADDR_RW macro Submitted by: Masanobu SAITOH MFC after:3 days Modified: head/sys/dev/ismt/ismt.c Modified: