svn commit: r313465 - head/sys/dev/rt

2017-02-08 Thread Stanislav Galabov
Author: sgalabov Date: Thu Feb 9 07:29:07 2017 New Revision: 313465 URL: https://svnweb.freebsd.org/changeset/base/313465 Log: Set GDMA1 Frames Destination Port to Port 0 (CPU) Some U-Boot versions do not initialize MT7620's Frame Engine. Then it is not possible to receive packets from t

svn commit: r313464 - in stable/10/sys/i386: i386 isa

2017-02-08 Thread Konstantin Belousov
Author: kib Date: Thu Feb 9 04:45:18 2017 New Revision: 313464 URL: https://svnweb.freebsd.org/changeset/base/313464 Log: MFC r313109: Use ANSI definitions for some i386 functions. Modified: stable/10/sys/i386/i386/machdep.c stable/10/sys/i386/i386/vm_machdep.c stable/10/sys/i386/isa/n

svn commit: r313463 - in stable/11/sys/i386: i386 isa

2017-02-08 Thread Konstantin Belousov
Author: kib Date: Thu Feb 9 04:42:21 2017 New Revision: 313463 URL: https://svnweb.freebsd.org/changeset/base/313463 Log: MFC r313109: Use ANSI definitions for some i386 functions. Modified: stable/11/sys/i386/i386/machdep.c stable/11/sys/i386/i386/vm_machdep.c stable/11/sys/i386/isa/n

svn commit: r313462 - head/sys/net80211

2017-02-08 Thread Adrian Chadd
Author: adrian Date: Thu Feb 9 04:07:30 2017 New Revision: 313462 URL: https://svnweb.freebsd.org/changeset/base/313462 Log: [net80211] quiet IE handling improvements * on the station side, only call the quiet time IE method if we have a quiet IE - otherwise call the NULL method once,

svn commit: r313461 - in stable: 10/contrib/ipfilter/tools 11/contrib/ipfilter/tools

2017-02-08 Thread Cy Schubert
Author: cy Date: Thu Feb 9 02:08:42 2017 New Revision: 313461 URL: https://svnweb.freebsd.org/changeset/base/313461 Log: MFC r312791: Use normal KNF cuddling of elses. Reported by: bde Modified: stable/11/contrib/ipfilter/tools/ipf.c Directory Properties: stable/11/ (props cha

svn commit: r313461 - in stable: 10/contrib/ipfilter/tools 11/contrib/ipfilter/tools

2017-02-08 Thread Cy Schubert
Author: cy Date: Thu Feb 9 02:08:42 2017 New Revision: 313461 URL: https://svnweb.freebsd.org/changeset/base/313461 Log: MFC r312791: Use normal KNF cuddling of elses. Reported by: bde Modified: stable/10/contrib/ipfilter/tools/ipf.c Directory Properties: stable/10/ (props cha

svn commit: r313460 - stable/11/sys/kern

2017-02-08 Thread Mark Johnston
Author: markj Date: Thu Feb 9 00:28:03 2017 New Revision: 313460 URL: https://svnweb.freebsd.org/changeset/base/313460 Log: MFC r311901: Do not set BIO_DONE if the BIO specifies a completion handler. Modified: stable/11/sys/kern/vfs_bio.c Directory Properties: stable/11/ (props changed

svn commit: r313459 - head/sbin/decryptcore

2017-02-08 Thread Konrad Witaszczyk
Author: def Date: Wed Feb 8 23:17:23 2017 New Revision: 313459 URL: https://svnweb.freebsd.org/changeset/base/313459 Log: Don't decrypt a core if a vmcore file already exists by default. Allow to change this behaviour using the -f flag. Approved by: pjd (mentor) Modified: head/sbin/d

svn commit: r313458 - head/contrib/llvm/tools/lld/ELF

2017-02-08 Thread Ed Maste
Author: emaste Date: Wed Feb 8 20:31:54 2017 New Revision: 313458 URL: https://svnweb.freebsd.org/changeset/base/313458 Log: lld: Allow arbitrary code alignment in .eh_frame According to the specification, CIE code alignment factor is an arbitrary unsigned LEB128 encoded value. PR:

svn commit: r313457 - head/usr.sbin/arp

2017-02-08 Thread Renato Botelho
Author: garga (ports committer) Date: Wed Feb 8 20:21:29 2017 New Revision: 313457 URL: https://svnweb.freebsd.org/changeset/base/313457 Log: Fix style(9) Reviewed by: vangyzen, allanjude, cem Approved by: allanjude MFC after:1 week Sponsored by: Rubicon Communications (Netgate

svn commit: r313456 - stable/11/sys/dev/pci

2017-02-08 Thread Eric van Gyzen
Author: vangyzen Date: Wed Feb 8 20:08:38 2017 New Revision: 313456 URL: https://svnweb.freebsd.org/changeset/base/313456 Log: MFC r313180 PCIe HotPlug: remove tests for DL active link capability As of r313097, the HotPlug code requires the link to support reporting of the data-link

svn commit: r313455 - head/sys/kern

2017-02-08 Thread Mateusz Guzik
Author: mjg Date: Wed Feb 8 19:29:34 2017 New Revision: 313455 URL: https://svnweb.freebsd.org/changeset/base/313455 Log: sx: implement slock/sunlock fast path See r313454. Modified: head/sys/kern/kern_sx.c Modified: head/sys/kern/kern_sx.c =

svn commit: r313454 - head/sys/kern

2017-02-08 Thread Mateusz Guzik
Author: mjg Date: Wed Feb 8 19:28:46 2017 New Revision: 313454 URL: https://svnweb.freebsd.org/changeset/base/313454 Log: rwlock: implemenet rlock/runlock fast path This improves singlethreaded throughput on my test machine from ~247 mln ops/s to ~328 mln. It is mostly about avoidin

svn commit: r313453 - head/sys/sys

2017-02-08 Thread Mateusz Guzik
Author: mjg Date: Wed Feb 8 19:25:58 2017 New Revision: 313453 URL: https://svnweb.freebsd.org/changeset/base/313453 Log: Implement LOCKSTAT_OOL_PROFILE_ENABLED For use in uninlined locking primitives to decide whether lockstat or profiling needs to be taken care of. Modified: head/sy

svn commit: r313452 - in stable/11/sys: compat/freebsd32 kern sys

2017-02-08 Thread John Baldwin
Author: jhb Date: Wed Feb 8 18:33:00 2017 New Revision: 313452 URL: https://svnweb.freebsd.org/changeset/base/313452 Log: Regen after r313450. Modified: stable/11/sys/compat/freebsd32/freebsd32_proto.h stable/11/sys/compat/freebsd32/freebsd32_syscall.h stable/11/sys/compat/freebsd32/free

svn commit: r313451 - head/sys/boot/common

2017-02-08 Thread Toomas Soome
Author: tsoome Date: Wed Feb 8 18:32:53 2017 New Revision: 313451 URL: https://svnweb.freebsd.org/changeset/base/313451 Log: loader: possible NULL pointer dereference in bcache.c Coverity detected the possible NULL pointer dereference case. Also updated comment as was suggested in illumo

svn commit: r313450 - in stable/11: lib/libc/gen lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys

2017-02-08 Thread John Baldwin
Author: jhb Date: Wed Feb 8 18:32:35 2017 New Revision: 313450 URL: https://svnweb.freebsd.org/changeset/base/313450 Log: MFC 310638: Rename the 'flags' argument to getfsstat() to 'mode' and validate it. This argument is not a bitmask of flags, but only accepts a single value. Fail wit

svn commit: r313449 - in head: sys/sys usr.bin/gcore

2017-02-08 Thread John Baldwin
Author: jhb Date: Wed Feb 8 17:45:23 2017 New Revision: 313449 URL: https://svnweb.freebsd.org/changeset/base/313449 Log: Trim trailing whitespace (mostly introduced in r313407). Sponsored by: DARPA / AFRL Modified: head/sys/sys/proc.h head/usr.bin/gcore/elfcore.c Modified: head/sys/

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

2017-02-08 Thread Renato Botelho
Author: garga (ports committer) Date: Wed Feb 8 17:03:52 2017 New Revision: 313448 URL: https://svnweb.freebsd.org/changeset/base/313448 Log: bsdinstall: Make sure chroot filesystems are umounted after use * DISTDIR_IS_UNIONFS is set every time BSDINSTALL_DISTDIR is mounted inside BSDI

svn commit: r313447 - in head/sys: dev/acpica x86/x86

2017-02-08 Thread Jonathan T. Looney
Author: jtl Date: Wed Feb 8 16:46:57 2017 New Revision: 313447 URL: https://svnweb.freebsd.org/changeset/base/313447 Log: Ensure the idle thread's loop services interrupts in a timely way when using the ACPI C1/mwait sleep method. Previously, the mwait instruction would return when an in

svn commit: r313446 - stable/10/sys/dev/ahci

2017-02-08 Thread Alexander Motin
Author: mav Date: Wed Feb 8 16:07:59 2017 New Revision: 313446 URL: https://svnweb.freebsd.org/changeset/base/313446 Log: MFC r312767: Partially workaround ASMedia HBA error recovery. Taking closer look on my ASM1062 I found that it has bunch of issues around error recovery: reported wro

svn commit: r313445 - stable/11/sys/dev/ahci

2017-02-08 Thread Alexander Motin
Author: mav Date: Wed Feb 8 16:06:19 2017 New Revision: 313445 URL: https://svnweb.freebsd.org/changeset/base/313445 Log: MFC r312767: Partially workaround ASMedia HBA error recovery. Taking closer look on my ASM1062 I found that it has bunch of issues around error recovery: reported wro

svn commit: r313444 - stable/10/share/misc

2017-02-08 Thread Alexander Motin
Author: mav Date: Wed Feb 8 16:01:14 2017 New Revision: 313444 URL: https://svnweb.freebsd.org/changeset/base/313444 Log: MFC r312750: Add Timeout and Protect mode page description from MMC-6. Modified: stable/10/share/misc/scsi_modes Directory Properties: stable/10/ (props changed) Mod

svn commit: r313443 - stable/11/share/misc

2017-02-08 Thread Alexander Motin
Author: mav Date: Wed Feb 8 16:00:40 2017 New Revision: 313443 URL: https://svnweb.freebsd.org/changeset/base/313443 Log: MFC r312750: Add Timeout and Protect mode page description from MMC-6. Modified: stable/11/share/misc/scsi_modes Directory Properties: stable/11/ (props changed) Mod

svn commit: r313442 - head/sys/boot/efi/libefi

2017-02-08 Thread Toomas Soome
Author: tsoome Date: Wed Feb 8 15:52:09 2017 New Revision: 313442 URL: https://svnweb.freebsd.org/changeset/base/313442 Log: loader: possible NULL pointer dereference in efipart.c Fix bugs found by Coverity in efipart.c. The Issue is that efi_devpath_last_node() can return NULL pointe

Re: svn commit: r312926 - in head: bin/ed contrib/dma share/mk sys/amd64/amd64 sys/amd64/cloudabi64 sys/cam/ctl sys/cddl/dev/fbt/x86 sys/compat/cloudabi sys/compat/cloudabi64 sys/compat/linuxkpi/commo

2017-02-08 Thread Allan Jude
On 2017-02-08 07:59, Baptiste Daroussin wrote: > On Wed, Feb 08, 2017 at 12:52:20AM -0800, Ngie Cooper (yaneurabeya) wrote: >> >>> On Jan 28, 2017, at 08:30, Baptiste Daroussin wrote: >>> >>> Author: bapt >>> Date: Sat Jan 28 16:30:14 2017 >>> New Revision: 312926 >>> URL: https://svnweb.freebsd.o

svn commit: r313441 - in stable: 10/contrib/ipfilter/tools 11/contrib/ipfilter/tools

2017-02-08 Thread Cy Schubert
Author: cy Date: Wed Feb 8 13:37:57 2017 New Revision: 313441 URL: https://svnweb.freebsd.org/changeset/base/313441 Log: MFC r312777, r312780: Issue an error message when an incorrect flush argument is encountered (and style fixup). Modified: stable/10/contrib/ipfilter/tools/ipf.c Dir

svn commit: r313441 - in stable: 10/contrib/ipfilter/tools 11/contrib/ipfilter/tools

2017-02-08 Thread Cy Schubert
Author: cy Date: Wed Feb 8 13:37:57 2017 New Revision: 313441 URL: https://svnweb.freebsd.org/changeset/base/313441 Log: MFC r312777, r312780: Issue an error message when an incorrect flush argument is encountered (and style fixup). Modified: stable/11/contrib/ipfilter/tools/ipf.c Dir

Re: svn commit: r313343 - head/sys/arm/arm

2017-02-08 Thread Stanislav Galabov
Hi, I hadn’t looked at 11-CURRENT to be honest, but looking at it - yes, it seems is applicable there too. Unfortunately I am not certain I’ll have time to MFC this, so if anyone wants to/has the time - please be my guest. Best wishes, Stanislav > On Feb 8, 2017, at 14:58, Ronald Klop wrote:

Re: svn commit: r312926 - in head: bin/ed contrib/dma share/mk sys/amd64/amd64 sys/amd64/cloudabi64 sys/cam/ctl sys/cddl/dev/fbt/x86 sys/compat/cloudabi sys/compat/cloudabi64 sys/compat/linuxkpi/commo

2017-02-08 Thread Baptiste Daroussin
On Wed, Feb 08, 2017 at 12:52:20AM -0800, Ngie Cooper (yaneurabeya) wrote: > > > On Jan 28, 2017, at 08:30, Baptiste Daroussin wrote: > > > > Author: bapt > > Date: Sat Jan 28 16:30:14 2017 > > New Revision: 312926 > > URL: https://svnweb.freebsd.org/changeset/base/312926 > > > > Log: > > Reve

Re: svn commit: r313339 - head/sys/kern

2017-02-08 Thread Svatopluk Kraus
On Tue, Feb 7, 2017 at 12:38 PM, Andrew Turner wrote: > On Tue, 7 Feb 2017 11:35:48 +0100 > Svatopluk Kraus wrote: >> Does an xref refer only to one hardware? Or two hardwares may have >> same xrefs? Why one hardware cannot be represented by one PIC in >> INTRNG even if two drivers exist for it?

Re: svn commit: r313343 - head/sys/arm/arm

2017-02-08 Thread Ronald Klop
Hello, Is this applicable to 11-CURRENT also? That version (sys/arm/arm/identcpu.c) has: void identify_arm_cpu(void) { u_int cpuid, reg, size, sets, ways; u_int8_t type, linesize, ctrl; int i; Regards, Ronald. On Mon, 06 Feb 2017 15:58:24 +0100, Stanislav Galabov wr

Re: svn commit: r313437 - head/lib/libutil

2017-02-08 Thread Ngie Cooper (yaneurabeya)
> On Feb 8, 2017, at 01:52, Ngie Cooper (yaneurabeya) > wrote: > >> >> On Feb 8, 2017, at 01:38, Sergey Kandaurov wrote: >> >> On 8 February 2017 at 12:22, Ngie Cooper wrote: >> Author: ngie >> Date: Wed Feb 8 09:22:35 2017 >> New Revision: 313437 >> URL: https://svnweb.freebsd.org/changes

Re: svn commit: r313437 - head/lib/libutil

2017-02-08 Thread Ngie Cooper (yaneurabeya)
> On Feb 8, 2017, at 01:38, Sergey Kandaurov wrote: > > On 8 February 2017 at 12:22, Ngie Cooper wrote: > Author: ngie > Date: Wed Feb 8 09:22:35 2017 > New Revision: 313437 > URL: https://svnweb.freebsd.org/changeset/base/313437 > > Log: > Create link from hexdump(3) to sbuf_hexdump(9) as

svn commit: r313439 - in head: contrib/netbsd-tests/dev/audio contrib/netbsd-tests/dev/cgd contrib/netbsd-tests/dev/clock_subr contrib/netbsd-tests/dev/scsipi contrib/netbsd-tests/dev/sysmon contri...

2017-02-08 Thread Ngie Cooper
Author: ngie Date: Wed Feb 8 09:46:15 2017 New Revision: 313439 URL: https://svnweb.freebsd.org/changeset/base/313439 Log: Merge content from ^/projects/netbsd-tests-upstream-01-2017 into ^/head The primary end-goal of this drop is ease future merges with NetBSD and collaborate further w

Re: svn commit: r313437 - head/lib/libutil

2017-02-08 Thread Sergey Kandaurov
On 8 February 2017 at 12:22, Ngie Cooper wrote: > Author: ngie > Date: Wed Feb 8 09:22:35 2017 > New Revision: 313437 > URL: https://svnweb.freebsd.org/changeset/base/313437 > > Log: > Create link from hexdump(3) to sbuf_hexdump(9) as the manpage describes > sbuf_hexdump(9)'s behavior > >

Re: svn commit: r313350 - head/sys/kern

2017-02-08 Thread Julian Elischer
On 7/2/17 4:36 am, Edward Tomasz Napierala wrote: Author: trasz Date: Mon Feb 6 20:36:59 2017 New Revision: 313350 URL: https://svnweb.freebsd.org/changeset/base/313350 Log: In r290196 the root mount hold mechanism was changed to make it not wait for mount hold release if the root device

svn commit: r313438 - head/lib/libutil

2017-02-08 Thread Ngie Cooper
Author: ngie Date: Wed Feb 8 09:24:25 2017 New Revision: 313438 URL: https://svnweb.freebsd.org/changeset/base/313438 Log: Clean up trailing and leading whitespace for variables to make it consistent with the rest of the file and style.Makefile(9) a bit more MFC after:3 weeks Spo

svn commit: r313437 - head/lib/libutil

2017-02-08 Thread Ngie Cooper
Author: ngie Date: Wed Feb 8 09:22:35 2017 New Revision: 313437 URL: https://svnweb.freebsd.org/changeset/base/313437 Log: Create link from hexdump(3) to sbuf_hexdump(9) as the manpage describes sbuf_hexdump(9)'s behavior MFC after:3 weeks Sponsored by: Dell EMC Isilon Modified:

svn commit: r313436 - head/lib/libutil

2017-02-08 Thread Ngie Cooper
Author: ngie Date: Wed Feb 8 09:19:49 2017 New Revision: 313436 URL: https://svnweb.freebsd.org/changeset/base/313436 Log: Clarify #includes for hexdump(3) vs sbuf_hexdump(9) hexdump(3) only requires libutil.h, whereas sbuf_hexdump(9) requires sys/types.h (for ssize_t) and sys/sbuf.h

Re: svn commit: r312926 - in head: bin/ed contrib/dma share/mk sys/amd64/amd64 sys/amd64/cloudabi64 sys/cam/ctl sys/cddl/dev/fbt/x86 sys/compat/cloudabi sys/compat/cloudabi64 sys/compat/linuxkpi/commo

2017-02-08 Thread Ngie Cooper (yaneurabeya)
> On Jan 28, 2017, at 08:30, Baptiste Daroussin wrote: > > Author: bapt > Date: Sat Jan 28 16:30:14 2017 > New Revision: 312926 > URL: https://svnweb.freebsd.org/changeset/base/312926 > > Log: > Revert r312923 a better approach will be taken later > > Modified: > head/bin/ed/Makefile > head

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

2017-02-08 Thread Julian Elischer
On 5/2/17 8:05 pm, Mateusz Guzik wrote: On Sun, Feb 05, 2017 at 05:20:29AM +, Mateusz Guzik wrote: Author: mjg Date: Sun Feb 5 05:20:29 2017 New Revision: 313272 URL: https://svnweb.freebsd.org/changeset/base/313272 Log: sx: uninline slock/sunlock Shared locking routines explicit

svn commit: r313433 - stable/10/usr.sbin/bsdinstall/partedit

2017-02-08 Thread Ravi Pokala
Author: rpokala Date: Wed Feb 8 08:37:43 2017 New Revision: 313433 URL: https://svnweb.freebsd.org/changeset/base/313433 Log: MFC r304142: ensure stripe size is non-zero multiple of 4096 Ensure that the sector size is a multiple of 4096 to avoid creating unaligned partitions when the act

svn commit: r313432 - stable/10/lib/libwrap

2017-02-08 Thread Ngie Cooper
Author: ngie Date: Wed Feb 8 08:35:05 2017 New Revision: 313432 URL: https://svnweb.freebsd.org/changeset/base/313432 Log: MFC r312392: Use SRCTOP instead of .CURDIR-relative path in .PATH directive Modified: stable/10/lib/libwrap/Makefile Directory Properties: stable/10/ (props cha

svn commit: r313431 - stable/11/lib/libwrap

2017-02-08 Thread Ngie Cooper
Author: ngie Date: Wed Feb 8 08:34:59 2017 New Revision: 313431 URL: https://svnweb.freebsd.org/changeset/base/313431 Log: MFC r312392: Use SRCTOP instead of .CURDIR-relative path in .PATH directive Modified: stable/11/lib/libwrap/Makefile Directory Properties: stable/11/ (props cha