Re: svn commit: r300332 - in head/sys: amd64/amd64 i386/i386

2016-05-20 Thread Bruce Evans
On Fri, 20 May 2016, Conrad Meyer wrote: On Fri, May 20, 2016 at 6:10 PM, Bruce Evans wrote: On Fri, 20 May 2016, Conrad Meyer wrote: On Fri, May 20, 2016 at 4:02 PM, Bruce Evans wrote: On Fri, 20 May 2016, Konstantin Belousov wrote: --- head/sys/i386/i386/sys_machdep.cFri May 20 19

Re: svn commit: r300332 - in head/sys: amd64/amd64 i386/i386

2016-05-20 Thread Conrad Meyer
On Fri, May 20, 2016 at 6:10 PM, Bruce Evans wrote: > On Fri, 20 May 2016, Conrad Meyer wrote: > >> On Fri, May 20, 2016 at 4:02 PM, Bruce Evans wrote: >>> >>> On Fri, 20 May 2016, Konstantin Belousov wrote: >>> --- head/sys/i386/i386/sys_machdep.cFri May 20 19:46:25 2016 (r300331)

svn commit: r300356 - in head: etc/defaults usr.sbin/periodic

2016-05-20 Thread Alan Somers
Author: asomers Date: Sat May 21 02:14:11 2016 New Revision: 300356 URL: https://svnweb.freebsd.org/changeset/base/300356 Log: Better document security_show_{success,info,badconfig} in /etc/periodic.conf periodic(8) already handles the security_show_{success,info,badconfig} variables corr

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

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:35:48 2016 New Revision: 300355 URL: https://svnweb.freebsd.org/changeset/base/300355 Log: Regenerate Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

svn commit: r300352 - head

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:32:16 2016 New Revision: 300352 URL: https://svnweb.freebsd.org/changeset/base/300352 Log: Enable external compiler logic if both bootstrap compilers are disabled. Reviewed by: brooks Sponsored by: EMC / Isilon Storage Division Differential Revision

svn commit: r300350 - head/share/mk

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:32:10 2016 New Revision: 300350 URL: https://svnweb.freebsd.org/changeset/base/300350 Log: Auto determine X_COMPILER_TYPE/X_COMPILER_VERSION if XCC is set. Reviewed by: brooks, bapt Sponsored by: EMC / Isilon Storage Division Differential Revision:

svn commit: r300353 - head/lib/clang/include/clang/Basic

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:32:20 2016 New Revision: 300353 URL: https://svnweb.freebsd.org/changeset/base/300353 Log: Add FREEBSD_CC_VERSION which will be used to define __FreeBSD_cc_version. The WITH_SYSTEM_COMPILER build option will rely on this value to determine what __Free

svn commit: r300349 - head

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:32:07 2016 New Revision: 300349 URL: https://svnweb.freebsd.org/changeset/base/300349 Log: Enable and utilize WITHOUT_CROSS_COMPILER logic for external CC. This is a NOP. Reviewed by: brooks, bapt Sponsored by: EMC / Isilon Storage Division Dif

svn commit: r300351 - head/share/mk

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:32:13 2016 New Revision: 300351 URL: https://svnweb.freebsd.org/changeset/base/300351 Log: Fetch the __FreeBSD_cc_version as COMPILER_FREEBSD_VERSION. Reviewed by: brooks, bapt, dim Sponsored by: EMC / Isilon Storage Division Differential Revision:

svn commit: r300354 - in head: . share/mk tools/build/options

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:32:23 2016 New Revision: 300354 URL: https://svnweb.freebsd.org/changeset/base/300354 Log: Opportunistically skip building a cross-compiler with SYSTEM_COMPILER set. This will still build the compiler for the target but will not build the bootstrap cro

svn commit: r300348 - head

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:32:04 2016 New Revision: 300348 URL: https://svnweb.freebsd.org/changeset/base/300348 Log: Move external toolchain support earlier. This is to consolidate external toolchain and WITHOUT_CROSS_COMPILER support. Reviewed by: brooks, bapt Sponsored

svn commit: r300344 - head

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:31:51 2016 New Revision: 300344 URL: https://svnweb.freebsd.org/changeset/base/300344 Log: WITH_META_MODE: Use META_MODE rather than .MAKE.MODE for buildkernel. This is mostly a style change so that other code does not duplicate it. The problem is whe

svn commit: r300347 - head/gnu/usr.bin/cc/cc_tools

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:32:01 2016 New Revision: 300347 URL: https://svnweb.freebsd.org/changeset/base/300347 Log: WITH_META_MODE: Avoid rebuilds of cc_tools during target build. This is the same as r299289 and r297997. Sponsored by: EMC / Isilon Storage Division Modified

svn commit: r300346 - head/include

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:31:57 2016 New Revision: 300346 URL: https://svnweb.freebsd.org/changeset/base/300346 Log: WITH_META_MODE: Disable cookie handling for include installation. Using a cookie with meta mode causes it to *not rerun* (as normal make does) unless the command

svn commit: r300345 - head/share/mk

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:31:54 2016 New Revision: 300345 URL: https://svnweb.freebsd.org/changeset/base/300345 Log: WITH_META_MODE: Disable for 'make install' from top-level. See r298220 for more explanation. We don't want to prevent installing if a cookie exists for the inst

svn commit: r300343 - in head: share/mk sys/conf

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:31:48 2016 New Revision: 300343 URL: https://svnweb.freebsd.org/changeset/base/300343 Log: WITH_META_MODE: Fix suffix transformation rules with guessed dependencies. This is the same problem as r290629. With META_MODE we do not generate .depend files,

svn commit: r300342 - head/share/mk

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:31:44 2016 New Revision: 300342 URL: https://svnweb.freebsd.org/changeset/base/300342 Log: WITH_DIRDEPS_BUILD: Fix forcing user to run bootstrap-tools. This is a follow-up to r299289. If the user did not run bootstrap-tools for this directory then jus

svn commit: r300341 - head/lib/libc/gen

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Sat May 21 01:31:41 2016 New Revision: 300341 URL: https://svnweb.freebsd.org/changeset/base/300341 Log: FTS: Remove stale reference to nfs4 fs which was removed in r192578. MFC after:2 weeks Modified: head/lib/libc/gen/fts-compat.c head/lib/libc/gen/fts.c M

Re: svn commit: r300332 - in head/sys: amd64/amd64 i386/i386

2016-05-20 Thread Bruce Evans
On Fri, 20 May 2016, Conrad Meyer wrote: On Fri, May 20, 2016 at 4:02 PM, Bruce Evans wrote: On Fri, 20 May 2016, Konstantin Belousov wrote: --- head/sys/i386/i386/sys_machdep.cFri May 20 19:46:25 2016 (r300331) +++ head/sys/i386/i386/sys_machdep.cFri May 20 19:50:32 2016 (r300332) @

Re: svn commit: r300332 - in head/sys: amd64/amd64 i386/i386

2016-05-20 Thread Conrad Meyer
On Fri, May 20, 2016 at 4:02 PM, Bruce Evans wrote: > On Fri, 20 May 2016, Konstantin Belousov wrote: > >> --- head/sys/i386/i386/sys_machdep.cFri May 20 19:46:25 2016 >> (r300331) >> +++ head/sys/i386/i386/sys_machdep.cFri May 20 19:50:32 2016 >> (r300332) >> @@ -315,8 +315,9 @@ i386_set_

svn commit: r300340 - head/bin/ed

2016-05-20 Thread Pedro F. Giffuni
Author: pfg Date: Sat May 21 00:45:42 2016 New Revision: 300340 URL: https://svnweb.freebsd.org/changeset/base/300340 Log: ed(1): simplify by using arc4random_buf(). Suggested by: ed Modified: head/bin/ed/cbc.c Modified: head/bin/ed/cbc.c

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

2016-05-20 Thread John Baldwin
Author: jhb Date: Fri May 20 23:28:43 2016 New Revision: 300337 URL: https://svnweb.freebsd.org/changeset/base/300337 Log: Add sglist functions for working with arrays of VM pages. sglist_count_vmpages() determines the number of segments required for a buffer described by an array of VM p

svn commit: r300336 - head/sys/dev/cxgbe/tom

2016-05-20 Thread John Baldwin
Author: jhb Date: Fri May 20 23:08:22 2016 New Revision: 300336 URL: https://svnweb.freebsd.org/changeset/base/300336 Log: Move the KTR for the update of ddp_active_id on each completion under VERBOSE_TRACES. Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/tom/t4_ddp.

Re: svn commit: r300332 - in head/sys: amd64/amd64 i386/i386

2016-05-20 Thread Bruce Evans
On Fri, 20 May 2016, Konstantin Belousov wrote: Log: Check for overflow and return EINVAL if detected. Backport this and r300305 to i386. PR:209661 Reported and reviewed by: cturt Sponsored by: The FreeBSD Foundation MFC after: 3 days Modified: head/sys/amd64/amd64/sys_ma

svn commit: r300334 - in head/contrib/elftoolchain: elfdump libelftc readelf

2016-05-20 Thread Ed Maste
Author: emaste Date: Fri May 20 20:27:30 2016 New Revision: 300334 URL: https://svnweb.freebsd.org/changeset/base/300334 Log: elftoolchain: backwards compatability for EM_RISCV definition It is not provided by sys/elf_common.h on older releases Reported by: Jenkins Modified: head/c

svn commit: r300333 - head/contrib/binutils/gas/config

2016-05-20 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 20 20:01:10 2016 New Revision: 300333 URL: https://svnweb.freebsd.org/changeset/base/300333 Log: gas: Implement the .inst assembler directive for arm. We normally use the binutils from ports but on other systems this is required for building gcc 4.9. Obtaine

Re: svn commit: r300322 - head/bin/ed

2016-05-20 Thread Pedro Giffuni
On 05/20/16 14:31, Ed Schouten wrote: 2016-05-20 21:10 GMT+02:00 Pedro F. Giffuni : /* initialize the padding vector */ for (i = 0; i < 8; i++) - pvec[i] = (char) (arc4random() % 256); + pvec[i] = (char)arc4random_uniform(256); This could be simpli

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

2016-05-20 Thread Konstantin Belousov
Author: kib Date: Fri May 20 19:50:32 2016 New Revision: 300332 URL: https://svnweb.freebsd.org/changeset/base/300332 Log: Check for overflow and return EINVAL if detected. Backport this and r300305 to i386. PR: 209661 Reported and reviewed by: cturt Sponsored by: The FreeBSD F

svn commit: r300331 - head/sys/kern

2016-05-20 Thread John Baldwin
Author: jhb Date: Fri May 20 19:46:25 2016 New Revision: 300331 URL: https://svnweb.freebsd.org/changeset/base/300331 Log: Consistently set status to -1 when completing an AIO request with an error. Sponsored by: Chelsio Communications Modified: head/sys/kern/sys_socket.c head/sys/kern

svn commit: r300330 - head/sys/boot/efi/loader

2016-05-20 Thread Warner Losh
Author: imp Date: Fri May 20 19:38:01 2016 New Revision: 300330 URL: https://svnweb.freebsd.org/changeset/base/300330 Log: Large improvements to efi-show (though some weird problems linger). We now print only printable characters for the values and we print ascii strings as strings. Modifie

svn commit: r300328 - head/sys/boot/efi/loader

2016-05-20 Thread Warner Losh
Author: imp Date: Fri May 20 19:37:46 2016 New Revision: 300328 URL: https://svnweb.freebsd.org/changeset/base/300328 Log: Cleanup to use %S. Modified: head/sys/boot/efi/loader/main.c Modified: head/sys/boot/efi/loader/main.c ==

svn commit: r300329 - head/sys/boot/efi/loader

2016-05-20 Thread Warner Losh
Author: imp Date: Fri May 20 19:37:54 2016 New Revision: 300329 URL: https://svnweb.freebsd.org/changeset/base/300329 Log: Implement efi-set and efi-unset Modified: head/sys/boot/efi/loader/main.c Modified: head/sys/boot/efi/loader/main.c =

Re: svn commit: r300322 - head/bin/ed

2016-05-20 Thread Ed Schouten
2016-05-20 21:10 GMT+02:00 Pedro F. Giffuni : > /* initialize the padding vector */ > for (i = 0; i < 8; i++) > - pvec[i] = (char) (arc4random() % 256); > + pvec[i] = (char)arc4random_uniform(256); This could be simplified to just calling arc4random_buf(

svn commit: r300327 - in head: lib/libmt usr.bin/mt

2016-05-20 Thread Kenneth D. Merry
Author: ken Date: Fri May 20 19:30:52 2016 New Revision: 300327 URL: https://svnweb.freebsd.org/changeset/base/300327 Log: Add the density code for LTO-7 to libmt and the mt(1) man page. The density code and bits per mm values were obtained from an actual drive density report. The nu

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

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Fri May 20 19:25:57 2016 New Revision: 300326 URL: https://svnweb.freebsd.org/changeset/base/300326 Log: Regenerate Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5 ===

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

2016-05-20 Thread Bryan Drewery
Author: bdrewery Date: Fri May 20 19:23:07 2016 New Revision: 300325 URL: https://svnweb.freebsd.org/changeset/base/300325 Log: Add a WITH_LIBSOFT Added: head/tools/build/options/WITH_LIBSOFT (contents, props changed) Added: head/tools/build/options/WITH_LIBSOFT ===

svn commit: r300324 - head/sys/arm/include

2016-05-20 Thread Warner Losh
Author: imp Date: Fri May 20 19:18:32 2016 New Revision: 300324 URL: https://svnweb.freebsd.org/changeset/base/300324 Log: Remove hf appending code from param.h for machine arch name. Submitted by: ian@ andyt@ Modified: head/sys/arm/include/param.h Modified: head/sys/arm/include/param.h

svn commit: r300322 - head/bin/ed

2016-05-20 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 20 19:10:29 2016 New Revision: 300322 URL: https://svnweb.freebsd.org/changeset/base/300322 Log: ed(1): Cleanups for the DES mode. - Use arc4random_uniform(3). - Prevent a segmentation fault when ed receives a signal while being in getpass(). [1] Obtaine

Re: svn commit: r300309 - in vendor/NetBSD/bmake/dist: . mk mk/sys

2016-05-20 Thread Bryan Drewery
On 5/20/2016 9:19 AM, Simon J. Gerraty wrote: > Author: sjg > Date: Fri May 20 16:19:56 2016 > New Revision: 300309 > URL: https://svnweb.freebsd.org/changeset/base/300309 > > Log: > Import bmake-20160512 > > Interesting changes (from ChangeLog): > o meta.c: ignore paths that match .MAKE.

svn commit: r300323 - in stable/10/lib/csu: amd64 arm i386-elf mips powerpc powerpc64 sparc64

2016-05-20 Thread Ed Maste
Author: emaste Date: Fri May 20 19:14:15 2016 New Revision: 300323 URL: https://svnweb.freebsd.org/changeset/base/300323 Log: MFC r292000: Remove historical GNUC test The requirement is for a GCC-compatible compiler and not necessarily GCC itself. However, we currently expect any compiler

svn commit: r300321 - stable/10/gnu/lib/libgcc

2016-05-20 Thread Ed Maste
Author: emaste Date: Fri May 20 19:05:33 2016 New Revision: 300321 URL: https://svnweb.freebsd.org/changeset/base/300321 Log: MFC r294935 (kan): Make .debug file for libgcc_s.so.1 more useful. The files compiled into libgcc_s.so.1 did not have -g on compiler command line, making generated

svn commit: r300320 - in head/contrib/elftoolchain: elfdump libdwarf libelftc readelf

2016-05-20 Thread Ed Maste
Author: emaste Date: Fri May 20 18:54:42 2016 New Revision: 300320 URL: https://svnweb.freebsd.org/changeset/base/300320 Log: elftoolchain: backwards compatability for EM_IAMCU definition It is not provided by sys/elf_common.h on older stable/10. Modified: head/contrib/elftoolchain/elfdu

svn commit: r300319 - head/contrib/gcc

2016-05-20 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 20 18:01:53 2016 New Revision: 300319 URL: https://svnweb.freebsd.org/changeset/base/300319 Log: GCC: Add support for named initializers for anonymous structs/unions. Missing hunk from r300301. Reported by: Ed Schouten Obtained from:OpenBSD (CVS rev

Re: svn commit: r300301 - head/contrib/gcc

2016-05-20 Thread Pedro Giffuni
On 20/05/2016 12:23, Ed Schouten wrote: Hi Pedro, 2016-05-20 16:36 GMT+02:00 Pedro F. Giffuni : + tree anon = NULL_TREE; This initialization shouldn't be needed, right? The value is always assigned before used. Yes, you are right. However do note that anon is used only within an if() so

svn commit: r300318 - head/sys/x86/x86

2016-05-20 Thread John Baldwin
Author: jhb Date: Fri May 20 18:00:10 2016 New Revision: 300318 URL: https://svnweb.freebsd.org/changeset/base/300318 Log: Implement support for RF_UNMAPPED and bus_map/unmap_resource on x86. Add implementations of bus_map/unmap_resource to the x86 nexus driver. Change bus_activate/deacti

svn commit: r300317 - in head: share/man/man9 sys/kern sys/sparc64/include sys/sys sys/vm

2016-05-20 Thread John Baldwin
Author: jhb Date: Fri May 20 17:57:47 2016 New Revision: 300317 URL: https://svnweb.freebsd.org/changeset/base/300317 Log: Add new bus methods for mapping resources. Add a pair of bus methods that can be used to "map" resources for direct CPU access using bus_space(9). bus_map_resource()

Re: svn commit: r300219 - in head/sys: kern sys

2016-05-20 Thread Scott Long via svn-src-all
Yeah, I was following existing style. Feel free to fix up if you like. Scott > On May 19, 2016, at 12:51 PM, Steven Hartland wrote: > > I thought it was considered better to use if (var == NULL) instead of > if (!var) for pointers as they aren't bools? > >> On 19 May 2016, at 18:14, Scott Lon

svn commit: r300316 - head

2016-05-20 Thread John Baldwin
Author: jhb Date: Fri May 20 17:41:12 2016 New Revision: 300316 URL: https://svnweb.freebsd.org/changeset/base/300316 Log: Drop trailing asterisks. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc ==

svn commit: r300315 - head/sys/dev/iscsi

2016-05-20 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 20 17:38:51 2016 New Revision: 300315 URL: https://svnweb.freebsd.org/changeset/base/300315 Log: Call the ICL module's handoff method even when using ICL proxy. The upcoming iSER code uses this. MFC after:1 month Sponsored by: The FreeBSD Foundation Modi

svn commit: r300314 - head/contrib/llvm/tools/clang/lib/Basic

2016-05-20 Thread Dimitry Andric
Author: dim Date: Fri May 20 17:38:45 2016 New Revision: 300314 URL: https://svnweb.freebsd.org/changeset/base/300314 Log: Pull in r270240 from upstream clang trunk (by me): Make __FreeBSD_cc_version predefined macro configurable at build time The `FreeBSDTargetInfo` class has alwa

svn commit: r300313 - in head: contrib/bmake contrib/bmake/mk contrib/bmake/mk/sys usr.bin/bmake

2016-05-20 Thread Simon J. Gerraty
Author: sjg Date: Fri May 20 17:35:39 2016 New Revision: 300313 URL: https://svnweb.freebsd.org/changeset/base/300313 Log: Merge bmake-20160512 Modified: head/contrib/bmake/ChangeLog head/contrib/bmake/Makefile head/contrib/bmake/arch.c head/contrib/bmake/bmake.1 head/contrib/bmake/bm

Re: svn commit: r300301 - head/contrib/gcc

2016-05-20 Thread Pedro Giffuni
On 20/05/2016 12:23, Ed Schouten wrote: Hi Pedro, 2016-05-20 16:36 GMT+02:00 Pedro F. Giffuni : + tree anon = NULL_TREE; This initialization shouldn't be needed, right? The value is always assigned before used. Oh wait .. the patch is incomplete .. the code is a no-op. Pedro. ___

svn commit: r300312 - in stable/10/sys/dev: ahci sound/pci/hda usb/controller

2016-05-20 Thread Alexander Motin
Author: mav Date: Fri May 20 17:25:36 2016 New Revision: 300312 URL: https://svnweb.freebsd.org/changeset/base/300312 Log: MFC r298983: Add some device IDs from Intel Sunrise Point chipsets. Modified: stable/10/sys/dev/ahci/ahci_pci.c stable/10/sys/dev/sound/pci/hda/hdac.c stable/10/sys/d

svn commit: r300311 - in head: contrib/elftoolchain/addr2line contrib/elftoolchain/brandelf contrib/elftoolchain/common contrib/elftoolchain/cxxfilt contrib/elftoolchain/elfcopy contrib/elftoolchai...

2016-05-20 Thread Ed Maste
Author: emaste Date: Fri May 20 17:24:34 2016 New Revision: 300311 URL: https://svnweb.freebsd.org/changeset/base/300311 Log: Update to ELF Tool Chain r3475 Improvements include: * Add support for reporting and handling a number of new constants in various tools, including:

Re: svn commit: r300301 - head/contrib/gcc

2016-05-20 Thread Ed Schouten
Hi Pedro, 2016-05-20 16:36 GMT+02:00 Pedro F. Giffuni : > + tree anon = NULL_TREE; This initialization shouldn't be needed, right? The value is always assigned before used. -- Ed Schouten Nuxi, 's-Hertogenbosch, the Netherlands KvK-nr.: 62051717 ___

Re: svn commit: r300257 - in head/sys/boot/i386: libi386 zfsboot

2016-05-20 Thread John Baldwin
On Friday, May 20, 2016 11:00:22 AM Allan Jude wrote: > On 2016-05-20 10:48, John Baldwin wrote: > > On Friday, May 20, 2016 01:41:47 AM Allan Jude wrote: > >> Author: allanjude > >> Date: Fri May 20 01:41:47 2016 > >> New Revision: 300257 > >> URL: https://svnweb.freebsd.org/changeset/base/300257

svn commit: r300310 - vendor/NetBSD/bmake/20160512

2016-05-20 Thread Simon J. Gerraty
Author: sjg Date: Fri May 20 16:20:08 2016 New Revision: 300310 URL: https://svnweb.freebsd.org/changeset/base/300310 Log: tag bmake-20160512 Added: vendor/NetBSD/bmake/20160512/ - copied from r300309, vendor/NetBSD/bmake/dist/ ___ svn-src-all@

svn commit: r300309 - in vendor/NetBSD/bmake/dist: . mk mk/sys

2016-05-20 Thread Simon J. Gerraty
Author: sjg Date: Fri May 20 16:19:56 2016 New Revision: 300309 URL: https://svnweb.freebsd.org/changeset/base/300309 Log: Import bmake-20160512 Interesting changes (from ChangeLog): o meta.c: ignore paths that match .MAKE.META.IGNORE_PATTERNS this is useful for gcov builds. o propa

Re: svn commit: r300257 - in head/sys/boot/i386: libi386 zfsboot

2016-05-20 Thread Adrian Chadd
Right, but if you hand that malloc() pointer to any BIOS int calls, it's highly likely it won't work right. :) -a On 20 May 2016 at 08:00, Allan Jude wrote: > On 2016-05-20 10:48, John Baldwin wrote: >> On Friday, May 20, 2016 01:41:47 AM Allan Jude wrote: >>> Author: allanjude >>> Date: Fri M

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

2016-05-20 Thread Andrew Turner
Author: andrew Date: Fri May 20 15:43:51 2016 New Revision: 300308 URL: https://svnweb.freebsd.org/changeset/base/300308 Log: Extract the correct bits from the GICD_TYPER register. The interrupt count is encoded in the bottom 5 bits. Obtained from:ABT Systems Ltd Sponsored by: T

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

2016-05-20 Thread Kristof Provost
Author: kp Date: Fri May 20 15:41:05 2016 New Revision: 300307 URL: https://svnweb.freebsd.org/changeset/base/300307 Log: pf: Fix fragment timeout We were inconsistent about the use of time_second vs. time_uptime. Always use time_uptime so the value can be meaningfully compared. Subm

svn commit: r300306 - head/sys/mips/include

2016-05-20 Thread Robert Watson
Author: rwatson Date: Fri May 20 15:34:03 2016 New Revision: 300306 URL: https://svnweb.freebsd.org/changeset/base/300306 Log: Garbage collect unused prototype for clockintr(). MFC after:3 days Modified: head/sys/mips/include/clock.h Modified: head/sys/mips/include/clock.h =

svn commit: r300305 - head/sys/amd64/amd64

2016-05-20 Thread Konstantin Belousov
Author: kib Date: Fri May 20 15:32:48 2016 New Revision: 300305 URL: https://svnweb.freebsd.org/changeset/base/300305 Log: Use unsigned type for the loop index to make overflow checks effective. PR: 209661 Reported by: cturt Sponsored by: The FreeBSD Foundation MFC after:3 days

svn commit: r300304 - head/contrib/binutils/gas/config

2016-05-20 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 20 15:14:38 2016 New Revision: 300304 URL: https://svnweb.freebsd.org/changeset/base/300304 Log: gas/config/tc-arm.c: Minor re-sorting to match upstream history. No functional change. MFC after:2 weeks Modified: head/contrib/binutils/gas/config/tc-arm.c

svn commit: r300303 - in head: . contrib/netbsd-tests/lib/libc/gen contrib/netbsd-tests/lib/libc/sys lib/libc/aarch64 lib/libc/aarch64/sys sys/sys

2016-05-20 Thread Andrew Turner
etc/malloc.conf".) +20160520: + The brk and sbrk functions have been removed from libc on arm64. + Binutils from ports has been updated to not link to these + functions and should be updated to the latest version before + installing a new libc. + 20160517: The armv6

Re: svn commit: r300257 - in head/sys/boot/i386: libi386 zfsboot

2016-05-20 Thread Allan Jude
On 2016-05-20 10:48, John Baldwin wrote: > On Friday, May 20, 2016 01:41:47 AM Allan Jude wrote: >> Author: allanjude >> Date: Fri May 20 01:41:47 2016 >> New Revision: 300257 >> URL: https://svnweb.freebsd.org/changeset/base/300257 >> >> Log: >> Fixup the geliboot sector rounding code >> >>

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

2016-05-20 Thread Andrey V. Elsukov
Author: ae Date: Fri May 20 15:00:12 2016 New Revision: 300302 URL: https://svnweb.freebsd.org/changeset/base/300302 Log: Fix the regression introduced in r300143. When we are creating new dynamic state use MATCH_FORWARD direction to correctly initialize protocol's state. Modified: head/s

Re: svn commit: r300257 - in head/sys/boot/i386: libi386 zfsboot

2016-05-20 Thread John Baldwin
On Friday, May 20, 2016 01:41:47 AM Allan Jude wrote: > Author: allanjude > Date: Fri May 20 01:41:47 2016 > New Revision: 300257 > URL: https://svnweb.freebsd.org/changeset/base/300257 > > Log: > Fixup the geliboot sector rounding code > > Replace all rounding with the round{up,down}2 macr

svn commit: r300301 - head/contrib/gcc

2016-05-20 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 20 14:36:49 2016 New Revision: 300301 URL: https://svnweb.freebsd.org/changeset/base/300301 Log: GCC: Add support for named initializers for anonymous structs/unions. This is a C11 feature that is starting to get used in places such as Mesa. This implementation t

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

2016-05-20 Thread Andrew Turner
Author: andrew Date: Fri May 20 13:11:07 2016 New Revision: 300300 URL: https://svnweb.freebsd.org/changeset/base/300300 Log: Add more useful GICv3 register definitions. While here fix GITS_CBASER_CACHE_MASK to use the correct shift macro. Obtained from:ABT Systems Ltd Sponsored

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

2016-05-20 Thread Andrew Turner
Author: andrew Date: Fri May 20 12:38:48 2016 New Revision: 300299 URL: https://svnweb.freebsd.org/changeset/base/300299 Log: Filter out BUS_DMASYNC_POSTWRITE sync operations, there is nothing for us to do on these. Reported by: wma Obtained from:ABT Systems Ltd Sponsored by:

Re: svn commit: r299683 - in head/sys/arm64: arm64 include

2016-05-20 Thread Andrew Turner
On Fri, 20 May 2016 11:44:44 +0200 Wojciech Macek wrote: > Where can I find any details about how was this change tested or > reviewed? Apparently it breaks AHCI on armv8. Log below. > > Wojtek > > > mountroot> ufs:/dev/ada0s2 > > Trying to mount root from ufs:/dev/ada0s2 []... > > warning: no

svn commit: r300298 - head/sys/netinet6

2016-05-20 Thread Andrey V. Elsukov
Author: ae Date: Fri May 20 12:17:40 2016 New Revision: 300298 URL: https://svnweb.freebsd.org/changeset/base/300298 Log: Remove ip6 adjusting from the place where pointer couldn't be changed. And add comment after calling PFIL hooks, where it could be changed. Modified: head/sys/netinet6/i

svn commit: r300297 - head/sys/netinet6

2016-05-20 Thread Andrey V. Elsukov
Author: ae Date: Fri May 20 12:09:10 2016 New Revision: 300297 URL: https://svnweb.freebsd.org/changeset/base/300297 Log: Remove ip6 pointer initialization and strange check from the beginning of ip6_output(). It isn't used until the first time adjusted. Remove the comment about adjusting wh

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

2016-05-20 Thread Alexander Motin
Author: mav Date: Fri May 20 11:56:16 2016 New Revision: 300296 URL: https://svnweb.freebsd.org/changeset/base/300296 Log: Pass proper for 23xx arguments to isp_endcmd(). Modified: head/sys/dev/isp/isp_freebsd.c Modified: head/sys/dev/isp/isp_freebsd.c ===

svn commit: r300295 - head/sys/dev/vnic

2016-05-20 Thread Wojciech Macek
Author: wma Date: Fri May 20 11:02:04 2016 New Revision: 300295 URL: https://svnweb.freebsd.org/changeset/base/300295 Log: Fix VNIC module unloading Fix panics which were present when BGX and PF module were unloaded. Reviewed by: zbb Obtained from:Semihalf Sponsored by: Ca

svn commit: r300294 - in head/sys: conf dev/vnic modules/vnic modules/vnic/mrmlbus modules/vnic/thunder_bgx modules/vnic/thunder_mdio modules/vnic/vnicpf modules/vnic/vnicvf

2016-05-20 Thread Wojciech Macek
Author: wma Date: Fri May 20 11:00:06 2016 New Revision: 300294 URL: https://svnweb.freebsd.org/changeset/base/300294 Log: Allow building VNIC as a module Add directory structure and fix dependencies to be able to build and use Cavium VNIC driver as a module. Reviewed by: zbb Obta

svn commit: r300293 - in head/sys: cam cam/ctl dev/isp

2016-05-20 Thread Alexander Motin
Author: mav Date: Fri May 20 10:26:12 2016 New Revision: 300293 URL: https://svnweb.freebsd.org/changeset/base/300293 Log: Pass task management response information from CTL through CAM to isp(4), utilizing previously unused arg field of struct ccb_notify_acknowledge. This makes new QUERY

Re: svn commit: r299683 - in head/sys/arm64: arm64 include

2016-05-20 Thread Wojciech Macek
Where can I find any details about how was this change tested or reviewed? Apparently it breaks AHCI on armv8. Log below. Wojtek mountroot> ufs:/dev/ada0s2 > Trying to mount root from ufs:/dev/ada0s2 []... > warning: no time-of-day clock registered, system time will not be set > accurately > Set

svn commit: r300292 - in head/sys/dev: bwn wi

2016-05-20 Thread Andriy Voskoboinyk
Author: avos Date: Fri May 20 08:58:06 2016 New Revision: 300292 URL: https://svnweb.freebsd.org/changeset/base/300292 Log: wi: fix a typo. The max size of bitmask is IEEE80211_MODE_BYTES, not IEEE80211_MODE_MAX. Reuse it in bwn(4) while I'm here. Noticed by: kevlo Modified:

svn commit: r300291 - head/sys/arm64/conf

2016-05-20 Thread Andrew Turner
Author: andrew Date: Fri May 20 08:43:18 2016 New Revision: 300291 URL: https://svnweb.freebsd.org/changeset/base/300291 Log: Enable NEW_PCIB on arm64. Obtained from:ABT Systems Ltd Relnotes: yes Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/conf/DEFAULTS

svn commit: r300290 - in head/sys: arm64/cavium dev/pci

2016-05-20 Thread Andrew Turner
Author: andrew Date: Fri May 20 08:29:00 2016 New Revision: 300290 URL: https://svnweb.freebsd.org/changeset/base/300290 Log: Handle PCI_RES_BUS on the generic and ThunderX PCIe drivers. This has been tested on the Pass 1.1 and 2.0 ThunderX machines in the Netperf cluster. Reviewed by: j

svn commit: r300289 - head/sys/geom

2016-05-20 Thread Konstantin Belousov
Author: kib Date: Fri May 20 08:28:11 2016 New Revision: 300289 URL: https://svnweb.freebsd.org/changeset/base/300289 Log: Remove unneeded Giant locking around kthreads creation. Sponsored by: The FreeBSD Foundation Modified: head/sys/geom/geom_kern.c Modified: head/sys/geom/geom_kern.c

svn commit: r300288 - in head/sys/geom: . eli journal mirror mountver raid raid3

2016-05-20 Thread Konstantin Belousov
Author: kib Date: Fri May 20 08:25:37 2016 New Revision: 300288 URL: https://svnweb.freebsd.org/changeset/base/300288 Log: Removal of Giant droping wrappers for GEOM classes. Sponsored by: The FreeBSD Foundation Modified: head/sys/geom/eli/g_eli.c head/sys/geom/geom_mbr.c head/sys/ge

svn commit: r300287 - head/sys/geom

2016-05-20 Thread Konstantin Belousov
Author: kib Date: Fri May 20 08:22:20 2016 New Revision: 300287 URL: https://svnweb.freebsd.org/changeset/base/300287 Log: Remove asserts that Giant is not held on entrance into geom KPI, which outlived their usefulness. This allows to remove drop/pickup Giant wrappers around GEOM calls.

svn commit: r300286 - stable/10/lib/libc/resolv

2016-05-20 Thread Don Lewis
Author: truckman Date: Fri May 20 07:18:33 2016 New Revision: 300286 URL: https://svnweb.freebsd.org/changeset/base/300286 Log: MFC r299879, r299880 r299879 | truckman | 2016-05-15 18:30:32 -0700 (Sun, 15 May 2016) | 7 lines Likely a false positive ... but make sure that -1 can't be us

svn commit: r300285 - stable/10/sbin/ifconfig

2016-05-20 Thread Don Lewis
Author: truckman Date: Fri May 20 07:14:03 2016 New Revision: 300285 URL: https://svnweb.freebsd.org/changeset/base/300285 Log: MFC r299873 Use strlcpy() instead of strncpy() when copying ifname to ensure that it is NUL terminated. Additional NUL padding is not required for short names

svn commit: r300284 - stable/10/usr.sbin/route6d

2016-05-20 Thread Don Lewis
Author: truckman Date: Fri May 20 07:11:04 2016 New Revision: 300284 URL: https://svnweb.freebsd.org/changeset/base/300284 Log: MFC r299869 Use strlcpy() instead of strncpy() when copying ifname to ensure that it is NUL terminated. Additional NUL padding is not required for short names

svn commit: r300283 - stable/10/usr.sbin/rtsold

2016-05-20 Thread Don Lewis
Author: truckman Date: Fri May 20 07:08:19 2016 New Revision: 300283 URL: https://svnweb.freebsd.org/changeset/base/300283 Log: MFC r299868 Use strlcpy() instead of strncpy() when copying ifname to ensure that it is NUL terminated. Additional NUL padding is not required for short names

svn commit: r300282 - head/sys/dev/mlx5/mlx5_en

2016-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 20 07:07:27 2016 New Revision: 300282 URL: https://svnweb.freebsd.org/changeset/base/300282 Log: Verify one sysctl parameter at a time. When a mlx5en sysctl parameter is updated only verify the changed one instead of all. No functional change. Sponsored

svn commit: r300281 - stable/10/usr.sbin/rtadvd

2016-05-20 Thread Don Lewis
Author: truckman Date: Fri May 20 07:00:11 2016 New Revision: 300281 URL: https://svnweb.freebsd.org/changeset/base/300281 Log: MFC r299867 Use strlcpy() instead of strncpy() when copying ifname to ensure that it is NUL terminated. Additional NUL padding is not required for short names

svn commit: r300280 - head/sys/dev/mlx5/mlx5_en

2016-05-20 Thread Hans Petter Selasky
Author: hselasky Date: Fri May 20 06:59:38 2016 New Revision: 300280 URL: https://svnweb.freebsd.org/changeset/base/300280 Log: Optimise use of doorbell and remove redundant NOPs Store the last doorbell write in the mlx5e_sq structure and write the doorbell to the hardware when the transm