svn commit: r309276 - head/sys/dev/uart

2016-11-28 Thread Jayachandran C.
Author: jchandra Date: Tue Nov 29 04:32:14 2016 New Revision: 309276 URL: https://svnweb.freebsd.org/changeset/base/309276 Log: Fix interrupt clear in pl011 uart receive function Clear the interrupt state before reading the input char from the input FIFO. In the current code there is a

svn commit: r309275 - stable/11/lib/libc/gen

2016-11-28 Thread Ed Maste
Author: emaste Date: Tue Nov 29 01:08:09 2016 New Revision: 309275 URL: https://svnweb.freebsd.org/changeset/base/309275 Log: MFC r309006: remove unnecessary vm includes from setproctitle vm headers were needed only for the PS_STRINGS fallback, which was removed in r297888. Modified:

svn commit: r309274 - head/include

2016-11-28 Thread John Baldwin
Author: jhb Date: Tue Nov 29 00:16:19 2016 New Revision: 309274 URL: https://svnweb.freebsd.org/changeset/base/309274 Log: Use the correct name for the GCC macro indicating max_align_t is defined. MFC after:3 days Modified: head/include/stddef.h Modified: head/include/stddef.h

svn commit: r309273 - stable/11/sys/cam/scsi

2016-11-28 Thread Alan Somers
Author: asomers Date: Mon Nov 28 22:35:10 2016 New Revision: 309273 URL: https://svnweb.freebsd.org/changeset/base/309273 Log: MFC r308780 Fix "camcontrol rescan" with SATA drives behind a SAS controller A bug in CAM's serial number hash logic resulted in SATA drives behind a SAS

svn commit: r309272 - stable/11/usr.sbin/syslogd

2016-11-28 Thread Baptiste Daroussin
Author: bapt Date: Mon Nov 28 22:19:41 2016 New Revision: 309272 URL: https://svnweb.freebsd.org/changeset/base/309272 Log: MFC r309194, r309216 Properly initialize nextp Reported by: Coverity via cem MFC after:2 days CID: 1365665 Modified:

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

2016-11-28 Thread Warner Losh
Author: imp Date: Mon Nov 28 21:29:01 2016 New Revision: 309271 URL: https://svnweb.freebsd.org/changeset/base/309271 Log: Trying to autodetect legacy setups lead to problems when people overrode the disk image creation routine. For now, just always bring in the legecy defines / routines.

svn commit: r309270 - head/sys/contrib/ck

2016-11-28 Thread Olivier Houchard
Author: cognet Date: Mon Nov 28 21:16:03 2016 New Revision: 309270 URL: https://svnweb.freebsd.org/changeset/base/309270 Log: Add a FREEBSD-Xlist file for CK. Added: head/sys/contrib/ck/FREEBSD-Xlist Added: head/sys/contrib/ck/FREEBSD-Xlist

svn commit: r309269 - head/lib/libutil

2016-11-28 Thread Dag-Erling Smørgrav
Author: des Date: Mon Nov 28 21:00:19 2016 New Revision: 309269 URL: https://svnweb.freebsd.org/changeset/base/309269 Log: Use malloc()ed buffers instead of stack buffers in gr_copy() and pw_copy(). This allows pw(8) to operate on passwd and group files with longer lines than could be

svn commit: r309268 - head/sys/conf

2016-11-28 Thread Olivier Houchard
Author: cognet Date: Mon Nov 28 20:44:12 2016 New Revision: 309268 URL: https://svnweb.freebsd.org/changeset/base/309268 Log: Hook CK to the kernel build. Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r309267 - in head/sys/contrib/ck/include: . gcc/arm

2016-11-28 Thread Olivier Houchard
Author: cognet Date: Mon Nov 28 20:33:30 2016 New Revision: 309267 URL: https://svnweb.freebsd.org/changeset/base/309267 Log: Add FreeBSD-specific files. Added: head/sys/contrib/ck/include/ck_md.h (contents, props changed) head/sys/contrib/ck/include/gcc/arm/ck_pr_armv4.h (contents,

svn commit: r309264 - in vendor-sys/ck/dist: . build doc include regressions tools

2016-11-28 Thread Olivier Houchard
Author: cognet Date: Mon Nov 28 20:22:32 2016 New Revision: 309264 URL: https://svnweb.freebsd.org/changeset/base/309264 Log: Remove files that won't be used during FreeBSD build. Deleted: vendor-sys/ck/dist/LICENSE vendor-sys/ck/dist/Makefile.in vendor-sys/ck/dist/README

svn commit: r309265 - in vendor-sys/ck/20161128: . build doc include regressions tools

2016-11-28 Thread Olivier Houchard
Author: cognet Date: Mon Nov 28 20:24:09 2016 New Revision: 309265 URL: https://svnweb.freebsd.org/changeset/base/309265 Log: Re-tag ck as of commit 566bb28dba963a1904e0889b74fe7005a5bc5eb8 Replaced: vendor-sys/ck/20161128/ - copied from r309260, vendor-sys/ck/dist/ Deleted: vendor

svn commit: r309266 - head/sys/contrib/ck

2016-11-28 Thread Olivier Houchard
Author: cognet Date: Mon Nov 28 20:27:58 2016 New Revision: 309266 URL: https://svnweb.freebsd.org/changeset/base/309266 Log: Import Concurrency Kit in the kernel. CK is a toolkit providing different lockfree algorithms/data structures. More information can be found here :

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2016-11-28 Thread Glen Barber
On Mon, Nov 28, 2016 at 01:50:44PM -0600, Kyle Evans wrote: > On Mon, Nov 28, 2016 at 1:44 PM, Dimitry Andric wrote: > > On 28 Nov 2016, at 03:20, Kyle Evans wrote: > >> > >> On Thu, Nov 24, 2016 at 4:54 PM, Dimitry Andric wrote: > >>>

svn commit: r309262 - in head: release/packages usr.bin/clang usr.bin/clang/lld usr.bin/clang/lldb

2016-11-28 Thread Dimitry Andric
Author: dim Date: Mon Nov 28 20:13:56 2016 New Revision: 309262 URL: https://svnweb.freebsd.org/changeset/base/309262 Log: Fix packaging for clang, lldb and lld 3.9.0 During the upgrade of clang/llvm etc to 3.9.0 in r309124, the PACKAGE directive in the usr.bin/clang/*.mk files got

svn commit: r309261 - vendor-sys/ck/20161128

2016-11-28 Thread Olivier Houchard
Author: cognet Date: Mon Nov 28 20:11:13 2016 New Revision: 309261 URL: https://svnweb.freebsd.org/changeset/base/309261 Log: Tag CK as of commit 566bb28dba963a1904e0889b74fe7005a5bc5eb8 Added: vendor-sys/ck/20161128/ - copied from r309260, vendor-sys/ck/dist

svn commit: r309260 - in vendor-sys/ck: . dist dist/build dist/doc dist/include dist/include/gcc dist/include/gcc/aarch64 dist/include/gcc/arm dist/include/gcc/ppc dist/include/gcc/ppc64 dist/inclu...

2016-11-28 Thread Olivier Houchard
Author: cognet Date: Mon Nov 28 20:08:52 2016 New Revision: 309260 URL: https://svnweb.freebsd.org/changeset/base/309260 Log: Import concurrencykit as of commit 566bb28dba963a1904e0889b74fe7005a5bc5eb8 Added: vendor-sys/ck/ vendor-sys/ck/dist/ vendor-sys/ck/dist/LICENSE

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2016-11-28 Thread Kyle Evans
On Mon, Nov 28, 2016 at 1:44 PM, Dimitry Andric wrote: > On 28 Nov 2016, at 03:20, Kyle Evans wrote: >> >> On Thu, Nov 24, 2016 at 4:54 PM, Dimitry Andric wrote: >>> Author: dim >>> Date: Thu Nov 24 22:54:55 2016 >>> New Revision: 309124 >>>

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2016-11-28 Thread Dimitry Andric
On 28 Nov 2016, at 03:20, Kyle Evans wrote: > > On Thu, Nov 24, 2016 at 4:54 PM, Dimitry Andric wrote: >> Author: dim >> Date: Thu Nov 24 22:54:55 2016 >> New Revision: 309124 >> URL: https://svnweb.freebsd.org/changeset/base/309124 >> >> Log: >> Upgrade

svn commit: r309258 - in stable: 10/include 10/sys/sys 11/include 11/sys/sys

2016-11-28 Thread John Baldwin
Author: jhb Date: Mon Nov 28 18:36:37 2016 New Revision: 309258 URL: https://svnweb.freebsd.org/changeset/base/309258 Log: MFC 307756: Define max_align_t for C11. libc++'s stddef.h includes an existing definition of max_align_t for C++11, but it is only defined for C++, not for C. In

svn commit: r309258 - in stable: 10/include 10/sys/sys 11/include 11/sys/sys

2016-11-28 Thread John Baldwin
Author: jhb Date: Mon Nov 28 18:36:37 2016 New Revision: 309258 URL: https://svnweb.freebsd.org/changeset/base/309258 Log: MFC 307756: Define max_align_t for C11. libc++'s stddef.h includes an existing definition of max_align_t for C++11, but it is only defined for C++, not for C. In

svn commit: r309257 - head/sys/netinet

2016-11-28 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 28 17:55:32 2016 New Revision: 309257 URL: https://svnweb.freebsd.org/changeset/base/309257 Log: Rework ip_tryforward() to use FIB4 KPI. Tested by:olivier Obtained from:Yandex LLC MFC after:1 month Sponsored by: Yandex LLC Differential

svn commit: r309256 - head/sys/dev/ath

2016-11-28 Thread Adrian Chadd
Author: adrian Date: Mon Nov 28 17:54:29 2016 New Revision: 309256 URL: https://svnweb.freebsd.org/changeset/base/309256 Log: [ath] force wake the hardware if we see a missed beacon. This adds a workaround to incorrectly behaving APs (ie, FreeBSD APs) which don't beacon out exactly when

svn commit: r309255 - stable/10/sys/dev/usb/net

2016-11-28 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 28 17:24:24 2016 New Revision: 309255 URL: https://svnweb.freebsd.org/changeset/base/309255 Log: MFC r308730: Make sure MAC address is reprogrammed when if_init() callback is invoked. Else promiscious mode must be used to pass traffic. While at it fix a

svn commit: r309254 - stable/11/sys/dev/usb/net

2016-11-28 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 28 17:22:45 2016 New Revision: 309254 URL: https://svnweb.freebsd.org/changeset/base/309254 Log: MFC r308730: Make sure MAC address is reprogrammed when if_init() callback is invoked. Else promiscious mode must be used to pass traffic. While at it fix a

svn commit: r309253 - head/sys/dev/ath

2016-11-28 Thread Adrian Chadd
Author: adrian Date: Mon Nov 28 17:06:35 2016 New Revision: 309253 URL: https://svnweb.freebsd.org/changeset/base/309253 Log: [ath] revert the previous commit, after reading the 802.11-2012 spec a bit more. The 802.11-2012 spec talks about this - section 10.1.3.2 - Beacon Generation in

svn commit: r309252 - head/sys/dev/ahci

2016-11-28 Thread Alexander Motin
Author: mav Date: Mon Nov 28 16:25:05 2016 New Revision: 309252 URL: https://svnweb.freebsd.org/changeset/base/309252 Log: Add more ASMedia PCI IDs from different sources. Exact device names are not clear, but its better then nothing at all. MFC after:1 month Modified:

svn commit: r309251 - head/sys/dev/ahci

2016-11-28 Thread Alexander Motin
Author: mav Date: Mon Nov 28 16:23:32 2016 New Revision: 309251 URL: https://svnweb.freebsd.org/changeset/base/309251 Log: Process port interrupt even is PxIS register is zero. ASMedia ASM1062 AHCI chips with some fancy firmware handling PMP inside seems sometimes forgeting to set bits

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

2016-11-28 Thread Andriy Gapon
Author: avg Date: Mon Nov 28 15:14:31 2016 New Revision: 309250 URL: https://svnweb.freebsd.org/changeset/base/309250 Log: MFV r309249: 3821 Race in rollback, zil close, and zil flush Note: there was a merge conflict resolved by me.

svn commit: r309249 - vendor-sys/illumos/dist/uts/common/fs/zfs

2016-11-28 Thread Andriy Gapon
Author: avg Date: Mon Nov 28 15:09:58 2016 New Revision: 309249 URL: https://svnweb.freebsd.org/changeset/base/309249 Log: 3821 Race in rollback, zil close, and zil flush illumos/illumos-gate@43297f973a3543e7403ac27076490ab958a94b15

Re: svn commit: r309124 - in head: . contrib/compiler-rt contrib/compiler-rt/include/sanitizer contrib/compiler-rt/lib/asan contrib/compiler-rt/lib/builtins contrib/compiler-rt/lib/builtins/arm contri

2016-11-28 Thread Kyle Evans
Hi, On Thu, Nov 24, 2016 at 4:54 PM, Dimitry Andric wrote: > Author: dim > Date: Thu Nov 24 22:54:55 2016 > New Revision: 309124 > URL: https://svnweb.freebsd.org/changeset/base/309124 > > Log: > Upgrade our copies of clang, llvm, lldb, compiler-rt and libc++ to 3.9.0 >

svn commit: r309248 - head/sys/arm64/include

2016-11-28 Thread Andrew Turner
Author: andrew Date: Mon Nov 28 14:24:07 2016 New Revision: 309248 URL: https://svnweb.freebsd.org/changeset/base/309248 Log: Fix ISS_DATA_DFSC_MASK, it should include all bits in the field. Modified: head/sys/arm64/include/armreg.h Modified: head/sys/arm64/include/armreg.h

svn commit: r309246 - head/sys/dev/ath

2016-11-28 Thread Adrian Chadd
Author: adrian Date: Mon Nov 28 08:13:20 2016 New Revision: 309246 URL: https://svnweb.freebsd.org/changeset/base/309246 Log: [ath] wake up the hardware from power-save before doing transmit completion checking. This was being done in the pre-AR9380 case, but not for AR9380 and later.