svn commit: r291682 - head/sys/dev/sfxge/common

2015-12-03 Thread Andrew Rybchenko
Author: arybchik Date: Thu Dec 3 08:06:10 2015 New Revision: 291682 URL: https://svnweb.freebsd.org/changeset/base/291682 Log: sfxge: regenerate MCDI headers Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: head/sys/dev/sfxge/common/efx_regs_mcdi.h Mod

Re: svn commit: r291666 - head/libexec/rtld-elf

2015-12-03 Thread Konstantin Belousov
On Thu, Dec 03, 2015 at 12:06:59AM +, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Thu Dec 3 00:06:59 2015 > New Revision: 291666 > URL: https://svnweb.freebsd.org/changeset/base/291666 > > Log: > Fix build on GCC 5.2 where, at least on PPC64, the compiler would "optimize" > the m

svn commit: r291683 - in head/sys: arm/amlogic/aml8726 boot/fdt/dts/arm

2015-12-03 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Thu Dec 3 09:37:20 2015 New Revision: 291683 URL: https://svnweb.freebsd.org/changeset/base/291683 Log: Add glue driver for Amlogic Meson Gigabit Ethernet Controller and enable it for Odroid C1 board. Together with r291676 change, dwc(4) can receive packets now. Added

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

2015-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 3 10:17:01 2015 New Revision: 291684 URL: https://svnweb.freebsd.org/changeset/base/291684 Log: Update the mlx5en(4) manual page. MFC after:1 week Submitted by: Mark Bloch Sponsored by: Mellanox Technologies Differential Revision:https://re

svn commit: r291685 - head/sys/dev/cxgbe

2015-12-03 Thread Konstantin Belousov
Author: kib Date: Thu Dec 3 10:33:57 2015 New Revision: 291685 URL: https://svnweb.freebsd.org/changeset/base/291685 Log: Fix build for !TCP_OFFLOAD case. Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c ==

svn commit: r291686 - head/sys/x86/acpica

2015-12-03 Thread Konstantin Belousov
Author: kib Date: Thu Dec 3 10:59:10 2015 New Revision: 291686 URL: https://svnweb.freebsd.org/changeset/base/291686 Log: In the SandyBridge x2APIC workaround detection code, only fetch the environment variable when SandyBridge CPU is detected. Reduce code duplication. Sponsored by: T

svn commit: r291688 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include x86/x86

2015-12-03 Thread Konstantin Belousov
Author: kib Date: Thu Dec 3 11:14:14 2015 New Revision: 291688 URL: https://svnweb.freebsd.org/changeset/base/291688 Log: For amd64 non-PCID machines, and for i386 machines with support for the PG_G global pte flag, pmap_invalidate_all() fails to flush global TLB entries [*]. This is becau

svn commit: r291689 - in head/sys: conf dev/ahci

2015-12-03 Thread Andrew Turner
Author: andrew Date: Thu Dec 3 11:24:11 2015 New Revision: 291689 URL: https://svnweb.freebsd.org/changeset/base/291689 Log: Add support for a generic AHCI attachment. This allows us to attach to a typically memory mapped bus, for example on the AMD Opteron A1100 the AHCI device is mapped i

Re: svn commit: r291689 - in head/sys: conf dev/ahci

2015-12-03 Thread Konstantin Belousov
On Thu, Dec 03, 2015 at 11:24:11AM +, Andrew Turner wrote: > Author: andrew > Date: Thu Dec 3 11:24:11 2015 > New Revision: 291689 > URL: https://svnweb.freebsd.org/changeset/base/291689 > > Log: > Add support for a generic AHCI attachment. This allows us to attach to a > typically memory

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

2015-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 3 11:45:12 2015 New Revision: 291690 URL: https://svnweb.freebsd.org/changeset/base/291690 Log: Remove incorrect defines. The proper version of these macros is defined in linux/etherdevice.h. MFC after:1 week Sponsored by: Mellanox Technologies Modif

svn commit: r291691 - head/sys/conf

2015-12-03 Thread Ed Maste
Author: emaste Date: Thu Dec 3 12:17:09 2015 New Revision: 291691 URL: https://svnweb.freebsd.org/changeset/base/291691 Log: newvers: Honour SOURCE_DATE_EPOCH as a build reproducibility measure One reason the kernel does not build reproducibly is that it includes a timestamp in the versi

svn commit: r291692 - head/contrib/elftoolchain/readelf

2015-12-03 Thread Ed Maste
Author: emaste Date: Thu Dec 3 12:21:18 2015 New Revision: 291692 URL: https://svnweb.freebsd.org/changeset/base/291692 Log: readelf: add Xen ELF notes Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision:https://reviews.freebsd.org/D4356 Modified: he

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

2015-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 3 12:51:54 2015 New Revision: 291693 URL: https://svnweb.freebsd.org/changeset/base/291693 Log: Add some structures and defines which will be used when decoding small form factor, SFF, standards compliant ethernet EEPROMs. MFC after:1 week Obtained fr

svn commit: r291694 - in head/sys/ofed: drivers/net/mlx4 include/linux/mlx4

2015-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 3 13:29:20 2015 New Revision: 291694 URL: https://svnweb.freebsd.org/changeset/base/291694 Log: Updated the mlx4 and mlxen drivers to the latest version, v2.1.6: - Added support for dumping the SFP EEPROM content to dmesg. - Fixed handling of network interface

svn commit: r291695 - head/sys/dev/usb/wlan

2015-12-03 Thread Andriy Voskoboinyk
Author: avos Date: Thu Dec 3 14:17:28 2015 New Revision: 291695 URL: https://svnweb.freebsd.org/changeset/base/291695 Log: urtwn(4): move duplicate code from urtwn_(r92c/r88e)_dma_init() to urtwn_dma_init() (noop). Reviewed by: kevlo Approved by: adrian (mentor, implicit) Different

svn commit: r291696 - head/usr.bin/unifdef

2015-12-03 Thread Tony Finch
Author: fanf Date: Thu Dec 3 14:21:55 2015 New Revision: 291696 URL: https://svnweb.freebsd.org/changeset/base/291696 Log: Update to upstream version 2.11 Improved #if expression evaluator and safer modify-in-place. Obtained from:http://dotat.at/prog/unifdef MFC after:1

svn commit: r291697 - head/usr.bin/unifdef

2015-12-03 Thread Tony Finch
Author: fanf Date: Thu Dec 3 14:32:54 2015 New Revision: 291697 URL: https://svnweb.freebsd.org/changeset/base/291697 Log: Avoid -Wmissing-initializer Modified: head/usr.bin/unifdef/unifdef.c Modified: head/usr.bin/unifdef/unifdef.c ==

svn commit: r291698 - head/sys/dev/usb/wlan

2015-12-03 Thread Andriy Voskoboinyk
Author: avos Date: Thu Dec 3 14:38:55 2015 New Revision: 291698 URL: https://svnweb.freebsd.org/changeset/base/291698 Log: urtwn(4): add error handling for urtwn_write_X() functions. - Call ieee80211_stop() when urtwn_init() fails (i.e., stop vap explicitly) - Return an error when urtw

svn commit: r291699 - in head/sys: modules/mlxen ofed/drivers/net/mlx4

2015-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 3 14:56:17 2015 New Revision: 291699 URL: https://svnweb.freebsd.org/changeset/base/291699 Log: Convert the mlxen driver to use the BUSDMA(9) APIs instead of vtophys() when loading mbufs for transmission and reception. While at it all pointer arithmetic and ca

svn commit: r291700 - head/sys/netinet

2015-12-03 Thread Michael Tuexen
Author: tuexen Date: Thu Dec 3 15:19:29 2015 New Revision: 291700 URL: https://svnweb.freebsd.org/changeset/base/291700 Log: Ensure that outgoing streams get reset when they run dry. MFC after:1 week Modified: head/sys/netinet/sctp_indata.c head/sys/netinet/sctp_input.c head/sys

svn commit: r291701 - head/contrib/llvm/tools/clang/tools/driver

2015-12-03 Thread Dimitry Andric
Author: dim Date: Thu Dec 3 15:41:10 2015 New Revision: 291701 URL: https://svnweb.freebsd.org/changeset/base/291701 Log: In assembler mode, clang defaulted to DWARF3, if only -g was specified. Change this to DWARF2, in the simplest way possible. (Upstream, this was fixed in clang trunk r2

Re: svn commit: r291699 - in head/sys: modules/mlxen ofed/drivers/net/mlx4

2015-12-03 Thread Ian Lepore
On Thu, 2015-12-03 at 14:56 +, Hans Petter Selasky wrote: > Author: hselasky > Date: Thu Dec 3 14:56:17 2015 > New Revision: 291699 > URL: https://svnweb.freebsd.org/changeset/base/291699 > > Log: > Convert the mlxen driver to use the BUSDMA(9) APIs instead of > vtophys() when loading mbu

Re: svn commit: r291666 - head/libexec/rtld-elf

2015-12-03 Thread Nathan Whitehorn
On 12/03/15 00:50, Konstantin Belousov wrote: On Thu, Dec 03, 2015 at 12:06:59AM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Dec 3 00:06:59 2015 New Revision: 291666 URL: https://svnweb.freebsd.org/changeset/base/291666 Log: Fix build on GCC 5.2 where, at least on PPC64, t

Re: svn commit: r291701 - head/contrib/llvm/tools/clang/tools/driver

2015-12-03 Thread Dimitry Andric
On 03 Dec 2015, at 16:41, Dimitry Andric wrote: > > Author: dim > Date: Thu Dec 3 15:41:10 2015 > New Revision: 291701 > URL: https://svnweb.freebsd.org/changeset/base/291701 > > Log: > In assembler mode, clang defaulted to DWARF3, if only -g was specified. > Change this to DWARF2, in the sim

svn commit: r291702 - head/sys/powerpc/include

2015-12-03 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Dec 3 16:24:55 2015 New Revision: 291702 URL: https://svnweb.freebsd.org/changeset/base/291702 Log: Bump MAXCPU. We already run on hardware with 32 threads and the same hardware is available commercially with up to 96 threads per socket. MFC after:3 weeks

svn commit: r291703 - head/etc/devd

2015-12-03 Thread Hans Petter Selasky
Author: hselasky Date: Thu Dec 3 16:54:45 2015 New Revision: 291703 URL: https://svnweb.freebsd.org/changeset/base/291703 Log: Regenerate usb.conf . MFC after:1 week Modified: head/etc/devd/usb.conf Modified: head/etc/devd/usb.conf ==

Re: svn commit: r291685 - head/sys/dev/cxgbe

2015-12-03 Thread John Baldwin
On Thursday, December 03, 2015 10:33:57 AM Konstantin Belousov wrote: > Author: kib > Date: Thu Dec 3 10:33:57 2015 > New Revision: 291685 > URL: https://svnweb.freebsd.org/changeset/base/291685 > > Log: > Fix build for !TCP_OFFLOAD case. > > Modified: > head/sys/dev/cxgbe/t4_main.c Sorry f

Re: svn commit: r291702 - head/sys/powerpc/include

2015-12-03 Thread John Baldwin
On Thursday, December 03, 2015 04:24:55 PM Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Thu Dec 3 16:24:55 2015 > New Revision: 291702 > URL: https://svnweb.freebsd.org/changeset/base/291702 > > Log: > Bump MAXCPU. We already run on hardware with 32 threads and the same > hardware >

Re: svn commit: r291702 - head/sys/powerpc/include

2015-12-03 Thread Nathan Whitehorn
On 12/03/15 08:56, John Baldwin wrote: On Thursday, December 03, 2015 04:24:55 PM Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Dec 3 16:24:55 2015 New Revision: 291702 URL: https://svnweb.freebsd.org/changeset/base/291702 Log: Bump MAXCPU. We already run on hardware with 32 thread

Re: svn commit: r291666 - head/libexec/rtld-elf

2015-12-03 Thread Nathan Whitehorn
On 12/03/15 07:42, Nathan Whitehorn wrote: On 12/03/15 00:50, Konstantin Belousov wrote: On Thu, Dec 03, 2015 at 12:06:59AM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Thu Dec 3 00:06:59 2015 New Revision: 291666 URL: https://svnweb.freebsd.org/changeset/base/291666 Log: Fi

svn commit: r291704 - head/sys/vm

2015-12-03 Thread Conrad E. Meyer
Author: cem Date: Thu Dec 3 17:21:10 2015 New Revision: 291704 URL: https://svnweb.freebsd.org/changeset/base/291704 Log: Pull vm_object_scan_all_shadowed out of vm_object_backing_scan These two functions were largely unrelated, they just used the same same loop logic to walk through a b

Re: svn commit: r291666 - head/libexec/rtld-elf

2015-12-03 Thread Konstantin Belousov
On Thu, Dec 03, 2015 at 09:03:32AM -0800, Nathan Whitehorn wrote: > > > On 12/03/15 07:42, Nathan Whitehorn wrote: > > > > > > On 12/03/15 00:50, Konstantin Belousov wrote: > >> On Thu, Dec 03, 2015 at 12:06:59AM +, Nathan Whitehorn wrote: > >>> Author: nwhitehorn > >>> Date: Thu Dec 3 00:06

svn commit: r291705 - head/sys/dev/ntb/if_ntb

2015-12-03 Thread Conrad E. Meyer
Author: cem Date: Thu Dec 3 17:22:45 2015 New Revision: 291705 URL: https://svnweb.freebsd.org/changeset/base/291705 Log: if_ntb: Log error *before* zeroing relevant variables Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/if_ntb/if_ntb.c Modified: head/sys/dev/

svn commit: r291706 - head/sys/dev/ntb/if_ntb

2015-12-03 Thread Conrad E. Meyer
Author: cem Date: Thu Dec 3 17:22:55 2015 New Revision: 291706 URL: https://svnweb.freebsd.org/changeset/base/291706 Log: if_ntb: Don't roundup MW size to full BAR size unnecessarily Note that the MW allocation still must be BAR *aligned*. So, this only loosens the constraints on MW all

Re: svn commit: r291689 - in head/sys: conf dev/ahci

2015-12-03 Thread Warner Losh
On Thu, Dec 3, 2015 at 4:24 AM, Andrew Turner wrote: > Author: andrew > Date: Thu Dec 3 11:24:11 2015 > New Revision: 291689 > URL: https://svnweb.freebsd.org/changeset/base/291689 > > Log: > Add support for a generic AHCI attachment. This allows us to attach to a > typically memory mapped b

svn commit: r291716 - in head: share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/dev/md sys/geom sys/kern sys/pc98/include sys/sys usr.sbin usr.sbin/camdd

2015-12-03 Thread Kenneth D. Merry
Author: ken Date: Thu Dec 3 20:54:55 2015 New Revision: 291716 URL: https://svnweb.freebsd.org/changeset/base/291716 Log: Add asynchronous command support to the pass(4) driver, and the new camdd(8) utility. CCBs may be queued to the driver via the new CAMIOQUEUE ioctl, and completed C

svn commit: r291717 - in head: targets/pseudo/userland usr.sbin/camdd

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 3 21:13:05 2015 New Revision: 291717 URL: https://svnweb.freebsd.org/changeset/base/291717 Log: DIRDEPS_BUILD: Connect usr.sbin/camdd Sponsored by: EMC / Isilon Storage Division Added: head/usr.sbin/camdd/Makefile.depend (contents, props changed) Modifie

Re: svn commit: r291716 - in head: share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/dev/md sys/geom sys/kern sys/pc98/include sys/sys usr.sbin usr.sbin/camdd

2015-12-03 Thread Bryan Drewery
On 12/3/15 12:54 PM, Kenneth D. Merry wrote: > Author: ken > Date: Thu Dec 3 20:54:55 2015 > New Revision: 291716 > URL: https://svnweb.freebsd.org/changeset/base/291716 > > Log: > Add asynchronous command support to the pass(4) driver, and the new > camdd(8) utility. > > CCBs may be que

svn commit: r291719 - in head: crypto/openssl crypto/openssl/apps crypto/openssl/crypto crypto/openssl/crypto/aes/asm crypto/openssl/crypto/asn1 crypto/openssl/crypto/bio crypto/openssl/crypto/bn c...

2015-12-03 Thread Jung-uk Kim
Author: jkim Date: Thu Dec 3 21:13:35 2015 New Revision: 291719 URL: https://svnweb.freebsd.org/changeset/base/291719 Log: Merge OpenSSL 1.0.2e. Added: head/crypto/openssl/CONTRIBUTING - copied unchanged from r291707, vendor-crypto/openssl/dist/CONTRIBUTING head/crypto/openssl/appveyo

svn commit: r291718 - head/usr.sbin/camdd

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 3 21:13:08 2015 New Revision: 291718 URL: https://svnweb.freebsd.org/changeset/base/291718 Log: Use proper LIBADD. Sponsored by: EMC / Isilon Storage Division Modified: head/usr.sbin/camdd/Makefile Modified: head/usr.sbin/camdd/Makefile ==

svn commit: r291720 - head/usr.sbin/fstyp

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 3 21:16:52 2015 New Revision: 291720 URL: https://svnweb.freebsd.org/changeset/base/291720 Log: Convert to LIBADD Sponsored by: EMC / Isilon Storage Division Modified: head/usr.sbin/fstyp/Makefile Modified: head/usr.sbin/fstyp/Makefile ===

Re: svn commit: r291720 - head/usr.sbin/fstyp

2015-12-03 Thread Bryan Drewery
On 12/3/15 1:16 PM, Bryan Drewery wrote: > Author: bdrewery > Date: Thu Dec 3 21:16:52 2015 > New Revision: 291720 > URL: https://svnweb.freebsd.org/changeset/base/291720 > > Log: > Convert to LIBADD > > Sponsored by: EMC / Isilon Storage Division > > Modified: > head/usr.sbin/fst

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

2015-12-03 Thread Nathan Whitehorn
Author: nwhitehorn Date: Thu Dec 3 21:25:59 2015 New Revision: 291723 URL: https://svnweb.freebsd.org/changeset/base/291723 Log: Follow-on to r291666: use -ffreestanding instead of -fno-builtin. Requested by: kib Modified: head/libexec/rtld-elf/Makefile Modified: head/libexec/rtld-elf/

Re: svn commit: r291716 - in head: share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/dev/md sys/geom sys/kern sys/pc98/include sys/sys usr.sbin usr.sbin/camdd

2015-12-03 Thread Kenneth D. Merry
On Thu, Dec 03, 2015 at 13:13:25 -0800, Bryan Drewery wrote: > On 12/3/15 12:54 PM, Kenneth D. Merry wrote: > > Author: ken > > Date: Thu Dec 3 20:54:55 2015 > > New Revision: 291716 > > URL: https://svnweb.freebsd.org/changeset/base/291716 > > > > Log: > > Add asynchronous command support to t

svn commit: r291724 - head/usr.sbin/camdd

2015-12-03 Thread Kenneth D. Merry
Author: ken Date: Thu Dec 3 22:07:01 2015 New Revision: 291724 URL: https://svnweb.freebsd.org/changeset/base/291724 Log: Fix typos in the camdd(8) usage() function output caused by an error in my diff filter script. Sponsored by: Spectra Logic MFC after:1 week Modified: head/us

svn commit: r291725 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 3 22:39:42 2015 New Revision: 291725 URL: https://svnweb.freebsd.org/changeset/base/291725 Log: Revert r288966 as it is redundant and not right. bsd.prog.mk and bsd.lib.mk already make OBJS depend on headers when there is not .OBJDIR/.depend file, which is

svn commit: r291726 - head/targets/pseudo/userland/misc

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Thu Dec 3 22:40:42 2015 New Revision: 291726 URL: https://svnweb.freebsd.org/changeset/base/291726 Log: rescue/rescue does not yet build in meta mode. Modified: head/targets/pseudo/userland/misc/Makefile.depend Modified: head/targets/pseudo/userland/misc/Makefile.depe

svn commit: r291727 - head/sys/dev/isp

2015-12-03 Thread Alexander Motin
Author: mav Date: Thu Dec 3 22:55:40 2015 New Revision: 291727 URL: https://svnweb.freebsd.org/changeset/base/291727 Log: Enable interrupt handshake for 16Gig chips. We don't support MSI-X so far, so it is always required. Modified: head/sys/dev/isp/isp.c Modified: head/sys/dev/isp/isp

svn commit: r291728 - head/sys/sys

2015-12-03 Thread Benno Rice
Author: benno Date: Fri Dec 4 00:05:02 2015 New Revision: 291728 URL: https://svnweb.freebsd.org/changeset/base/291728 Log: Tweak some unused field defines to have the correct number of zeroes. Reviewed by: jhb Sponsored by: EMC / Isilon Storage Division Differential R

svn commit: r291729 - head/cddl/lib/drti

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 00:29:40 2015 New Revision: 291729 URL: https://svnweb.freebsd.org/changeset/base/291729 Log: Simplify the LIBRARIES_ONLY hacks so that install: is not needed here. This uses the same pattern that I applied to the other cases of this in the csu directorie

svn commit: r291730 - head/sys/dev/isp

2015-12-03 Thread Alexander Motin
Author: mav Date: Fri Dec 4 01:28:48 2015 New Revision: 291730 URL: https://svnweb.freebsd.org/changeset/base/291730 Log: Update isp_put_icb_2400() for new structure fields. Modified: head/sys/dev/isp/isp_library.c Modified: head/sys/dev/isp/isp_library.c ===

svn commit: r291732 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:17:07 2015 New Revision: 291732 URL: https://svnweb.freebsd.org/changeset/base/291732 Log: DIRDEPS_BUILD: Install new Makefile.depend files atomically. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/install-new.mk Modified: head/

svn commit: r291735 - in head: sbin/ipf/libipf share/mk usr.sbin/fifolog/lib

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:17:17 2015 New Revision: 291735 URL: https://svnweb.freebsd.org/changeset/base/291735 Log: For INTERNALLIB always add in the corresponding _DP_ and use LIBADD in the real build file. This lessens the need to define DPADD_ and LDADD_ to just very spec

svn commit: r291731 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:17:04 2015 New Revision: 291731 URL: https://svnweb.freebsd.org/changeset/base/291731 Log: DIRDEPS_BUILD: For the bootstrapped LIBADD from DPADD, resolve paths to RELDIR. This allows the LIBDEPS/DPADD for the clang build to not have ../../../lib/clang

svn commit: r291737 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:17:24 2015 New Revision: 291737 URL: https://svnweb.freebsd.org/changeset/base/291737 Log: Rework unknown LIBADD assertion to be more clear and to not suggest adding DPADD/LDADD_ variables that are a special case. Sponsored by: EMC / Isilon Storage Div

svn commit: r291734 - in head: include lib/libc++ share/termcap

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:17:14 2015 New Revision: 291734 URL: https://svnweb.freebsd.org/changeset/base/291734 Log: Replace ln -s calls with INSTALL_SYMLINK Sponsored by: EMC / Isilon Storage Division Modified: head/include/Makefile head/lib/libc++/Makefile head/share/ter

svn commit: r291736 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:17:21 2015 New Revision: 291736 URL: https://svnweb.freebsd.org/changeset/base/291736 Log: Support all of the CDDL/ZFS libraries for LIBADD. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/src.libnames.mk Modified: head/share/mk/s

svn commit: r291733 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:17:10 2015 New Revision: 291733 URL: https://svnweb.freebsd.org/changeset/base/291733 Log: Don't create a Makefile.depend in share/mk. This would cause it to be included everywhere in the build since it is the MAKESYSPATH. This leads to including dird

svn commit: r291740 - in head: include lib

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:18:02 2015 New Revision: 291740 URL: https://svnweb.freebsd.org/changeset/base/291740 Log: Move obscure lib/ installation of /usr/lib/include symlink to include/. This avoids the need for an afterinstall: hook and a check for LIBRARIES_ONLY. It also no

svn commit: r291739 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:17:59 2015 New Revision: 291739 URL: https://svnweb.freebsd.org/changeset/base/291739 Log: Add assertion for when LIBADD should be used rather than LDADD/DPADD. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/src.libnames.mk Modif

svn commit: r291738 - in head: cddl/lib/libctf cddl/lib/libzfs cddl/lib/libzfs_core cddl/lib/libzpool cddl/sbin/zfs cddl/sbin/zpool cddl/usr.bin/zinject cddl/usr.bin/zstreamdump cddl/usr.bin/ztest ...

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 03:17:47 2015 New Revision: 291738 URL: https://svnweb.freebsd.org/changeset/base/291738 Log: Fix LDADD/DPADD that should be LIBADD. Sponsored by: EMC / Isilon Storage Division Modified: head/cddl/lib/libctf/Makefile head/cddl/lib/libzfs/Makefile hea

svn commit: r291741 - head/sys/geom

2015-12-03 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 4 03:38:35 2015 New Revision: 291741 URL: https://svnweb.freebsd.org/changeset/base/291741 Log: Fix g_disk_vlist_limit() to work properly with deletes. Add a new bp argument to g_disk_maxsegs(), and add a new function, g_disk_maxsize() tha will properly determin

Re: svn commit: r291741 - head/sys/geom

2015-12-03 Thread Bryan Drewery
On 12/3/2015 7:38 PM, Kenneth D. Merry wrote: > g_disk_limit(struct disk *dp, struct bio *bp) > { > bool limited = false; > - off_t d_maxsize; > - > - d_maxsize = (bp->bio_cmd == BIO_DELETE) ? > - dp->d_delmaxsize : dp->d_maxsize; > + off_t maxsz = g_disk_maxsize(dp, bp)

svn commit: r291742 - head/sys/geom

2015-12-03 Thread Kenneth D. Merry
Author: ken Date: Fri Dec 4 03:44:12 2015 New Revision: 291742 URL: https://svnweb.freebsd.org/changeset/base/291742 Log: Fix a style issue in g_disk_limit(). Noticed by: bdrewery MFC after:1 week Modified: head/sys/geom/geom_disk.c Modified: head/sys/geom/geom_disk.c =

Re: svn commit: r291741 - head/sys/geom

2015-12-03 Thread Kenneth D. Merry
On Thu, Dec 03, 2015 at 19:41:31 -0800, Bryan Drewery wrote: > On 12/3/2015 7:38 PM, Kenneth D. Merry wrote: > > g_disk_limit(struct disk *dp, struct bio *bp) > > { > > bool limited = false; > > - off_t d_maxsize; > > - > > - d_maxsize = (bp->bio_cmd == BIO_DELETE) ? > > - dp->d_del

svn commit: r291743 - head/sys/kern

2015-12-03 Thread Kirk McKusick
Author: mckusick Date: Fri Dec 4 03:54:18 2015 New Revision: 291743 URL: https://svnweb.freebsd.org/changeset/base/291743 Log: We need to zero out the clustering variables in a freed vnode structure. For completeness add a VNASSERT that there are no threads waiting on a range lock (this was

svn commit: r291744 - in head/sys: conf modules

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 04:27:21 2015 New Revision: 291744 URL: https://svnweb.freebsd.org/changeset/base/291744 Log: Calculate MPATH for sys/modules to save 92% time in a basic 'obj' tree-walk. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/conf/kmod.mk head/

svn commit: r291745 - head/usr.bin/vgrind/RETEST

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 05:00:51 2015 New Revision: 291745 URL: https://svnweb.freebsd.org/changeset/base/291745 Log: Remove disconnected directory RETEST. Deleted: head/usr.bin/vgrind/RETEST/ ___ svn-src-head@freebsd.org mailing list http

svn commit: r291746 - head/sys/dev/sfxge/common

2015-12-03 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 4 06:51:37 2015 New Revision: 291746 URL: https://svnweb.freebsd.org/changeset/base/291746 Log: sfxge: add additional WRITESIZE value for NVRAM_INFO command Submitted by: Paul Fox Sponsored by: Solarflare Communications, Inc. MFC after: 2 days

svn commit: r291747 - head/sys/dev/sfxge/common

2015-12-03 Thread Andrew Rybchenko
Author: arybchik Date: Fri Dec 4 06:54:46 2015 New Revision: 291747 URL: https://svnweb.freebsd.org/changeset/base/291747 Log: sfxge: [EF10] support RxQ scattering control If, for example, a VF is configured to use a 1500 byte MTU, but the port it is attached to is set to 9000 bytes, ove

svn commit: r291739 - head/share/mk vs. /usr/src/lib/libc/tests/ssp for powerpc64/gcc builds

2015-12-03 Thread Mark Millard
The change to > Log: > Add assertion for when LIBADD should be used rather than LDADD/DPADD. resulted in my self-hosted powerpc64 buildworld attempt getting: > --- cleandir_subdir_ssp --- > make[6]: "/usr/src/share/mk/src.libnames.mk" line 479: > /usr/src/lib/libc/tests/ssp: Invalid LIBADD us

svn commit: r291750 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 07:54:16 2015 New Revision: 291750 URL: https://svnweb.freebsd.org/changeset/base/291750 Log: The .if redirection on .WAIT is no longer needed with bmake. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.subdir.mk Modified: head/s

svn commit: r291751 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 07:54:19 2015 New Revision: 291751 URL: https://svnweb.freebsd.org/changeset/base/291751 Log: Fix 'install*' and many other missing targets with DIRDEPS_BUILD. My changes in r291635 broke 'make install*' for DIRDEPS_BUILD but also revealed that some other

svn commit: r291748 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 07:54:04 2015 New Revision: 291748 URL: https://svnweb.freebsd.org/changeset/base/291748 Log: Rearrange some common logic. Modified: head/share/mk/bsd.subdir.mk Modified: head/share/mk/bsd.subdir.mk ===

svn commit: r291749 - head/share/mk

2015-12-03 Thread Bryan Drewery
Author: bdrewery Date: Fri Dec 4 07:54:13 2015 New Revision: 291749 URL: https://svnweb.freebsd.org/changeset/base/291749 Log: Fix 'afterinstall' order not being respected after my changes in r291635. The problem was that 'afterinstall' was not coming after SUBDIRs were installed which w

Re: svn commit: r291716 - in head: share/man/man4 sys/cam sys/cam/ata sys/cam/scsi sys/dev/md sys/geom sys/kern sys/pc98/include sys/sys usr.sbin usr.sbin/camdd

2015-12-03 Thread Ravi Pokala
Hi Ken, A few questions: > Although these ioctls do not have a declared argument, they > both take a union ccb pointer. If we declare a size here, > the ioctl code in sys/kern/sys_generic.c will malloc and free > a buffer for either the CCB or the CCB pointer (depending o