svn commit: r310017 - in head/sys: dev/spibus mips/atheros/ar531x

2016-12-13 Thread Michael Zhilin
Author: mizhka Date: Tue Dec 13 09:53:43 2016 New Revision: 310017 URL: https://svnweb.freebsd.org/changeset/base/310017 Log: [spi] reformat message and ar5315_spi minor fix This commit corrects print of nomatch (newline was too early) and fix unit number for new child in ar5315_spi (was

svn commit: r310018 - head/sys/dev/gpio

2016-12-13 Thread Michael Zhilin
Author: mizhka Date: Tue Dec 13 10:03:29 2016 New Revision: 310018 URL: https://svnweb.freebsd.org/changeset/base/310018 Log: [gpiospi] add clock delay to avoid smashing of bits Submitted by: Hiroki Mori Reviewed by: loos, ray, mizhka MFC after:2 weeks Differential Revision:

svn commit: r310019 - in head/sys: arm/conf arm/rockchip conf

2016-12-13 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Tue Dec 13 11:43:46 2016 New Revision: 310019 URL: https://svnweb.freebsd.org/changeset/base/310019 Log: Switch Rockchip RK3188 SoC to use the platform code. Reviewed by: andrew, manu Differential Revision:https://reviews.freebsd.org/D8769 Added: head/sys

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

2016-12-13 Thread Konstantin Belousov
On Tue, Dec 13, 2016 at 10:20:30AM +1100, Bruce Evans wrote: > Hrmph. kib didn't like my patch to kill the spam from reentering ddb. > The spam messes up even cases where the ddb command handles errors. > Howver, in most cases the error handling is incomplete. There is always > the outer setjmp/l

svn commit: r310020 - head/sys/arm/rockchip

2016-12-13 Thread Andrew Turner
Author: andrew Date: Tue Dec 13 13:07:17 2016 New Revision: 310020 URL: https://svnweb.freebsd.org/changeset/base/310020 Log: Use platform_*_t to check the platform function signatures are correct in the Rockchip platform code and correct the one place they differ. Sponsored by: ABT Syste

svn commit: r310021 - in head/sys/arm: allwinner amlogic/aml8726 arm broadcom/bcm2835 freescale/imx lpc nvidia rockchip ti/am335x versatile xilinx xscale/pxa

2016-12-13 Thread Andrew Turner
Author: andrew Date: Tue Dec 13 13:43:22 2016 New Revision: 310021 URL: https://svnweb.freebsd.org/changeset/base/310021 Log: Add the missing void to function signatures in much of the arm code. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/allwinner/aw_wdog.c head/sys/arm/amlog

svn commit: r310022 - in head/sys/arm: allwinner broadcom/bcm2835 freescale/imx nvidia/tegra124 ti

2016-12-13 Thread Andrew Turner
Author: andrew Date: Tue Dec 13 13:46:09 2016 New Revision: 310022 URL: https://svnweb.freebsd.org/changeset/base/310022 Log: Use the platform_*_t typedefs to help check the platform function types are correct. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/allwinner/aw_machdep.c

svn commit: r310023 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs

2016-12-13 Thread Alexander Motin
Author: mav Date: Tue Dec 13 16:20:10 2016 New Revision: 310023 URL: https://svnweb.freebsd.org/changeset/base/310023 Log: Reduce diff from Illumos by better variables mapping. Modified: head/sys/cddl/compat/opensolaris/sys/kmem.h head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c M

svn commit: r310024 - head/share/misc

2016-12-13 Thread Nikolai Lifanov
Author: lifanov (ports committer) Date: Tue Dec 13 16:53:58 2016 New Revision: 310024 URL: https://svnweb.freebsd.org/changeset/base/310024 Log: add myself as a ports committer and update mentor/mentee relationship Reviewed by: matthew Approved by: matthew (mentor) Differential Revisi

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

2016-12-13 Thread Bryan Drewery
Author: bdrewery Date: Tue Dec 13 18:05:14 2016 New Revision: 310025 URL: https://svnweb.freebsd.org/changeset/base/310025 Log: Take write lock for rtld_bind before modifying obj_list in dl_iterate_phdr(). This avoids a race with readers such as dladdr(3)/dlinfo(3)/dlsym(3) and the atexit

svn commit: r310026 - head/sbin/decryptcore

2016-12-13 Thread Christian Brueffer
Author: brueffer Date: Tue Dec 13 18:15:11 2016 New Revision: 310026 URL: https://svnweb.freebsd.org/changeset/base/310026 Log: Language and mdoc cleanup. Modified: head/sbin/decryptcore/decryptcore.8 Modified: head/sbin/decryptcore/decryptcore.8 =

Re: svn commit: r309933 - head/usr.sbin/syslogd

2016-12-13 Thread Conrad Meyer
On Mon, Dec 12, 2016 at 11:33 AM, Hiroki Sato wrote: > Author: hrs > Date: Mon Dec 12 19:33:40 2016 > New Revision: 309933 > URL: https://svnweb.freebsd.org/changeset/base/309933 > > Log: > - Refactor listening socket list. All of the listening sockets are > now maintained in a single linke

svn commit: r310027 - head/sys/dev/drm2/i915

2016-12-13 Thread Konstantin Belousov
Author: kib Date: Tue Dec 13 19:04:05 2016 New Revision: 310027 URL: https://svnweb.freebsd.org/changeset/base/310027 Log: Fix bug in r309712, do not leak gem object pin count in case of error or retry. Reported and tested by: Michael Butler Sponsored by: The FreeBSD Foundation

svn commit: r310028 - head/sys/vm

2016-12-13 Thread John Baldwin
Author: jhb Date: Tue Dec 13 19:22:43 2016 New Revision: 310028 URL: https://svnweb.freebsd.org/changeset/base/310028 Log: Use db_lookup_proc() in the DDB 'show procvm' command. This allows processes to be identified by PID as well as a pointer address. MFC after:2 weeks Sponsore

svn commit: r310029 - head/sys/mips/mips

2016-12-13 Thread John Baldwin
Author: jhb Date: Tue Dec 13 19:27:31 2016 New Revision: 310029 URL: https://svnweb.freebsd.org/changeset/base/310029 Log: Fix remove_userlocal_code() for n32. n32 kernels use a 64-bit store to the TLS register rather than a 32-bit store. Sponsored by: DARPA / AFRL Modified: head/

svn commit: r310030 - head/sys/mips/mips

2016-12-13 Thread John Baldwin
Author: jhb Date: Tue Dec 13 19:36:05 2016 New Revision: 310030 URL: https://svnweb.freebsd.org/changeset/base/310030 Log: Use register_t instead of uintptr_t for register values in backtraces. This fixes backtraces from DDB in n32 kernels as uintptr_t is only a uint32_t. In particular,

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

2016-12-13 Thread Conrad E. Meyer
Author: cem Date: Tue Dec 13 19:58:21 2016 New Revision: 310031 URL: https://svnweb.freebsd.org/changeset/base/310031 Log: linuxkpi: Fix not-found case of linux_pci_find_irq_dev Linux list_for_each_entry() does not neccessarily end with the iterator NULL (it may be an offset from NULL if

svn commit: r310032 - head/sys/kern

2016-12-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Dec 13 20:11:45 2016 New Revision: 310032 URL: https://svnweb.freebsd.org/changeset/base/310032 Log: Zero return value when counter_rate() switches over to next second and value is positive, but below the limit. Modified: head/sys/kern/subr_counter.c Modified: hea

Re: svn commit: r310013 - head/sys/dev/xen/blkfront

2016-12-13 Thread Dimitry Andric
On 13 Dec 2016, at 07:54, Colin Percival wrote: > > Author: cperciva > Date: Tue Dec 13 06:54:13 2016 > New Revision: 310013 > URL: https://svnweb.freebsd.org/changeset/base/310013 > > Log: > Check that blkfront devices have a non-zero number of sectors and a > non-zero sector size. Such a de

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

2016-12-13 Thread Navdeep Parhar
Author: np Date: Tue Dec 13 20:35:57 2016 New Revision: 310033 URL: https://svnweb.freebsd.org/changeset/base/310033 Log: cxgbe(4): Retire t4_bus_space_read_8 and t4_bus_space_write_8. MFC after:3 days Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/adapter.h Mod

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

2016-12-13 Thread Andriy Gapon
On 13/12/2016 20:05, Bryan Drewery wrote: > Author: bdrewery > Date: Tue Dec 13 18:05:14 2016 > New Revision: 310025 > URL: https://svnweb.freebsd.org/changeset/base/310025 > > Log: > Take write lock for rtld_bind before modifying obj_list in > dl_iterate_phdr(). What are typical callers of dl

svn commit: r310035 - head/usr.sbin/syslogd

2016-12-13 Thread Hiroki Sato
Author: hrs Date: Tue Dec 13 20:55:46 2016 New Revision: 310035 URL: https://svnweb.freebsd.org/changeset/base/310035 Log: Remove an extra "break" which could incorrectly terminate an STAILQ_FOREACH() loop when an AF_INET6 rule matched. Spotted by: cem Modified: head/usr.sbin/syslogd

Re: svn commit: r309933 - head/usr.sbin/syslogd

2016-12-13 Thread Hiroki Sato
Conrad Meyer wrote in : ce> On Mon, Dec 12, 2016 at 11:33 AM, Hiroki Sato wrote: ce> > Author: hrs ce> > Date: Mon Dec 12 19:33:40 2016 ce> > New Revision: 309933 ce> > URL: https://svnweb.freebsd.org/changeset/base/309933 ce> > ce> > Log: ce> > - Refactor listening socket list. All of the

Re: svn commit: r310035 - head/usr.sbin/syslogd

2016-12-13 Thread Conrad Meyer
On Tue, Dec 13, 2016 at 12:55 PM, Hiroki Sato wrote: > Author: hrs > Date: Tue Dec 13 20:55:46 2016 > New Revision: 310035 > URL: https://svnweb.freebsd.org/changeset/base/310035 > > Log: > Remove an extra "break" which could incorrectly terminate an > STAILQ_FOREACH() loop when an AF_INET6 ru

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

2016-12-13 Thread Conrad Meyer
On Tue, Dec 13, 2016 at 12:51 PM, Andriy Gapon wrote: > On 13/12/2016 20:05, Bryan Drewery wrote: >> Author: bdrewery >> Date: Tue Dec 13 18:05:14 2016 >> New Revision: 310025 >> URL: https://svnweb.freebsd.org/changeset/base/310025 >> >> Log: >> Take write lock for rtld_bind before modifying ob

Re: svn commit: r310029 - head/sys/mips/mips

2016-12-13 Thread John Baldwin
On Tuesday, December 13, 2016 07:27:32 PM John Baldwin wrote: > Author: jhb > Date: Tue Dec 13 19:27:31 2016 > New Revision: 310029 > URL: https://svnweb.freebsd.org/changeset/base/310029 > > Log: > Fix remove_userlocal_code() for n32. > > n32 kernels use a 64-bit store to the TLS register

Re: svn commit: r309918 - head/usr.sbin/bsdinstall/scripts

2016-12-13 Thread Jilles Tjoelker
On Mon, Dec 12, 2016 at 06:48:00PM +, Devin Teske wrote: > Author: dteske > Date: Mon Dec 12 18:48:00 2016 > New Revision: 309918 > URL: https://svnweb.freebsd.org/changeset/base/309918 > Log: > Remove unnecessary `-n' parameter to head/tail These -n options are not completely unnecessary s

svn commit: r310036 - in head/contrib/byacc: . package package/debian package/pkgsrc test/btyacc

2016-12-13 Thread Jung-uk Kim
Author: jkim Date: Tue Dec 13 22:16:02 2016 New Revision: 310036 URL: https://svnweb.freebsd.org/changeset/base/310036 Log: MFV: r309561 Merge byacc 20161202. Modified: head/contrib/byacc/CHANGES head/contrib/byacc/MANIFEST head/contrib/byacc/VERSION head/contrib/byacc/aclocal.m4

Re: svn commit: r309918 - head/usr.sbin/bsdinstall/scripts

2016-12-13 Thread Devin Teske
> On Dec 13, 2016, at 1:24 PM, Jilles Tjoelker wrote: > > On Mon, Dec 12, 2016 at 06:48:00PM +, Devin Teske wrote: >> Author: dteske >> Date: Mon Dec 12 18:48:00 2016 >> New Revision: 309918 >> URL: https://svnweb.freebsd.org/changeset/base/309918 >>

svn commit: r310037 - head/sys/mips/mips

2016-12-13 Thread John Baldwin
Author: jhb Date: Tue Dec 13 22:30:48 2016 New Revision: 310037 URL: https://svnweb.freebsd.org/changeset/base/310037 Log: Fix stack traces in DDB for the debugger thread. When the kernel debugger is entered, makectx() is called to store appropriate state from the trapframe for the debugg

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

2016-12-13 Thread Devin Teske
Author: dteske Date: Tue Dec 13 22:31:49 2016 New Revision: 310038 URL: https://svnweb.freebsd.org/changeset/base/310038 Log: Revert r309918 -- modern POSIX has deprecated -<#>/+<#> syntax Special thanks to:jilles Modified: head/usr.sbin/bsdinstall/scripts/wlanconfig Modified: head/

svn commit: r310045 - head/sys/ddb

2016-12-13 Thread John Baldwin
Author: jhb Date: Wed Dec 14 00:18:12 2016 New Revision: 310045 URL: https://svnweb.freebsd.org/changeset/base/310045 Log: Use casts to force an unsigned comparison in db_search_symbol(). On all of our platforms, db_expr_t is a signed integer while db_addr_t is an unsigned integer value.

svn commit: r310046 - head/sys/mips/mips

2016-12-13 Thread John Baldwin
Author: jhb Date: Wed Dec 14 00:21:06 2016 New Revision: 310046 URL: https://svnweb.freebsd.org/changeset/base/310046 Log: Add 'const' to fn_name's return type to remove a cast. Modified: head/sys/mips/mips/db_trace.c Modified: head/sys/mips/mips/db_trace.c ==

Re: svn commit: r310045 - head/sys/ddb

2016-12-13 Thread John Baldwin
On Wednesday, December 14, 2016 12:18:12 AM John Baldwin wrote: > Author: jhb > Date: Wed Dec 14 00:18:12 2016 > New Revision: 310045 > URL: https://svnweb.freebsd.org/changeset/base/310045 > > Log: > Use casts to force an unsigned comparison in db_search_symbol(). > > On all of our platfor

svn commit: r310047 - head/release/tools

2016-12-13 Thread Glen Barber
Author: gjb Date: Wed Dec 14 03:01:15 2016 New Revision: 310047 URL: https://svnweb.freebsd.org/changeset/base/310047 Log: - Resize FreeBSD to the size of the OpenStack flavor (growfs). - Speeds up the boot process by disabling sendmail. - Allows an user to ssh as root with a public key. -

svn commit: r310048 - in head/sys/dev/hyperv: include vmbus vmbus/amd64

2016-12-13 Thread Sepherosa Ziehau
Author: sephe Date: Wed Dec 14 03:20:57 2016 New Revision: 310048 URL: https://svnweb.freebsd.org/changeset/base/310048 Log: hyperv: Implement "enlightened" time counter, which is rdtsc based. Reviewed by: kib MFC after:1 week Sponsored by: Microsoft Differential Revision:

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

2016-12-13 Thread Navdeep Parhar
Author: np Date: Wed Dec 14 07:36:36 2016 New Revision: 310049 URL: https://svnweb.freebsd.org/changeset/base/310049 Log: cxgbe(4): Fix the tid range shown for T6 cards in misc.tids. MFC after:3 days Modified: head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4_main.c =