svn commit: r308405 - head/sys/arm/conf

2016-11-07 Thread Andrew Turner
Author: andrew Date: Mon Nov 7 10:26:44 2016 New Revision: 308405 URL: https://svnweb.freebsd.org/changeset/base/308405 Log: Start to deorbit the kernel configs in GENERIC by marking them with NO_UNIVERSE. This stops them from being built with the universe, tinderbox, and related targets.

svn commit: r308406 - head/sys/arm/arm

2016-11-07 Thread Stanislav Galabov
Author: sgalabov Date: Mon Nov 7 10:54:56 2016 New Revision: 308406 URL: https://svnweb.freebsd.org/changeset/base/308406 Log: Only include sys/boot.h if LINUX_BOOT_ABI is defined Only include sys/boot.h if LINUX_BOOT_ABI is defined in sys/arm/arm/machdep.c Not doing this prevents k

svn commit: r308407 - head/sys/kern

2016-11-07 Thread Konstantin Belousov
Author: kib Date: Mon Nov 7 10:55:56 2016 New Revision: 308407 URL: https://svnweb.freebsd.org/changeset/base/308407 Log: vn_fullpath1() checked VV_ROOT and then unreferenced vp->v_mount->mnt_vnodecovered unlocked. This allowed unmount to race. Lock vnode after we noticed the VV_ROOT flag.

svn commit: r308408 - head/sys/arm/arm

2016-11-07 Thread Andrew Turner
Author: andrew Date: Mon Nov 7 11:01:09 2016 New Revision: 308408 URL: https://svnweb.freebsd.org/changeset/base/308408 Log: Include machine/armreg.h after machine/asm.h to ensure __ARM_ARCH is defined. MFC after:1 week Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/cp

svn commit: r308409 - head/sys/dev/mlx5/mlx5_core

2016-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 7 11:15:40 2016 New Revision: 308409 URL: https://svnweb.freebsd.org/changeset/base/308409 Log: When a firmware command times out do not free the command structure to avoid use after free. Sponsored by: Mellanox Technologies MFC after:1 week Modified

svn commit: r308411 - head/sys/dev/mlx5/mlx5_core

2016-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 7 11:20:13 2016 New Revision: 308411 URL: https://svnweb.freebsd.org/changeset/base/308411 Log: Ensure the firmware is notified of any host memory allocation failures. Else firmware commands may time out waiting for host memory. Sponsored by: Mellanox Tec

svn commit: r308412 - head/sys/dev/mlx5

2016-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 7 11:22:50 2016 New Revision: 308412 URL: https://svnweb.freebsd.org/changeset/base/308412 Log: Correct checksum fields in the "mlx5_mini_cqe8" structure. The fields in question are currently not used. Sponsored by: Mellanox Technologies MFC after:1 w

svn commit: r308413 - head/sys/dev/mlx5/mlx5_core

2016-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 7 11:26:25 2016 New Revision: 308413 URL: https://svnweb.freebsd.org/changeset/base/308413 Log: Query flow table capabilities according to the correct capability bit for infiniband. Sponsored by: Mellanox Technologies MFC after:1 week Modified: hea

svn commit: r308414 - in head/sys/dev/mlx5: . mlx5_core

2016-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 7 11:28:50 2016 New Revision: 308414 URL: https://svnweb.freebsd.org/changeset/base/308414 Log: Add more firmware related structures and update existing ones in the MLX5 core module. Update the set and query diagnostics counter API. Sponsored by: Mellanox T

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

2016-11-07 Thread Stanislav Galabov
Author: sgalabov Date: Mon Nov 7 11:35:14 2016 New Revision: 308415 URL: https://svnweb.freebsd.org/changeset/base/308415 Log: Generate an error if machine/armreg.h is included without sys/cdefs.h machine/armreg.h requires access to the __ARM_ARCH macro, which is not always properly defi

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

2016-11-07 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 7 11:39:45 2016 New Revision: 308416 URL: https://svnweb.freebsd.org/changeset/base/308416 Log: Add timer to watch the RQ when we are out of mbufs. The firmware/hardware does not generate additional completion events unless we post new buffers. Use a timer

svn commit: r308417 - head/sys/arm/ti

2016-11-07 Thread Andrew Turner
Author: andrew Date: Mon Nov 7 11:56:18 2016 New Revision: 308417 URL: https://svnweb.freebsd.org/changeset/base/308417 Log: Fix the order of includes so machine/asm.h is first. MFC after:1 week Sponsored by: ABT Systems Ltd Modified: head/sys/arm/ti/ti_smc.S Modified: head/sys/a

Re: svn commit: r308345 - head/sys/dev/e1000

2016-11-07 Thread Sean Bruno
On 11/05/16 17:16, John Baldwin wrote: > On Saturday, November 05, 2016 04:30:43 PM Sean Bruno wrote: >> Author: sbruno >> Date: Sat Nov 5 16:30:42 2016 >> New Revision: 308345 >> URL: https://svnweb.freebsd.org/changeset/base/308345 >> >> Log: >> r295133 attempted to deactivate TSO in the 100

Re: svn commit: r308345 - head/sys/dev/e1000

2016-11-07 Thread Sean Bruno
On 11/06/16 23:37, Sepherosa Ziehau wrote: > On Sun, Nov 6, 2016 at 7:16 AM, John Baldwin wrote: >> On Saturday, November 05, 2016 04:30:43 PM Sean Bruno wrote: >>> Author: sbruno >>> Date: Sat Nov 5 16:30:42 2016 >>> New Revision: 308345 >>> URL: https://svnweb.freebsd.org/changeset/base/30834

svn commit: r308419 - head/tools/tools/nanobsd/embedded

2016-11-07 Thread Andrew Turner
Author: andrew Date: Mon Nov 7 14:07:11 2016 New Revision: 308419 URL: https://svnweb.freebsd.org/changeset/base/308419 Log: Use the armv6 GENERIC in the qemu nanobsd image. Sponsored by: ABT Systems Ltd Modified: head/tools/tools/nanobsd/embedded/qemu-armv7.cfg Modified: head/tools/to

Re: svn commit: r308345 - head/sys/dev/e1000

2016-11-07 Thread John Baldwin
On Monday, November 07, 2016 07:02:23 AM Sean Bruno wrote: > > On 11/05/16 17:16, John Baldwin wrote: > > On Saturday, November 05, 2016 04:30:43 PM Sean Bruno wrote: > >> Author: sbruno > >> Date: Sat Nov 5 16:30:42 2016 > >> New Revision: 308345 > >> URL: https://svnweb.freebsd.org/changeset/ba

svn commit: r308420 - in head: contrib/file contrib/file/doc contrib/file/magic contrib/file/magic/Magdir contrib/file/python contrib/file/src lib/libmagic

2016-11-07 Thread Xin LI
Author: delphij Date: Mon Nov 7 15:54:47 2016 New Revision: 308420 URL: https://svnweb.freebsd.org/changeset/base/308420 Log: MFV r308392: file 5.29. MFC after:2 weeks Added: head/contrib/file/magic/Magdir/algol68 - copied unchanged from r308392, vendor/file/dist/magic/Magdir/a

svn commit: r308423 - head/sys/dev/mpt

2016-11-07 Thread Scott Long
Author: scottl Date: Mon Nov 7 17:34:19 2016 New Revision: 308423 URL: https://svnweb.freebsd.org/changeset/base/308423 Log: Fix the fallout from r308268 (mpt driver causes endless witness warnings in VMWare and elsewhere) with the precision of a dull, rusty butter knife. Reported by: t

svn commit: r308424 - head/sys/arm/broadcom/bcm2835

2016-11-07 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Nov 7 17:38:39 2016 New Revision: 308424 URL: https://svnweb.freebsd.org/changeset/base/308424 Log: Fix locking in bcm2835_audio driver - Move all VCHI activity to worker thread: channel methods are called with non-sleepable lock held and VCHI uses sleepable l

svn commit: r308425 - head/sys/cam/scsi

2016-11-07 Thread Alexander Motin
Author: mav Date: Mon Nov 7 18:21:53 2016 New Revision: 308425 URL: https://svnweb.freebsd.org/changeset/base/308425 Log: Add support for EIIOE flag in Additional Element Status. It was added in SES-3 spec, and its support required to properly link the Additional Element Status page data

Re: svn commit: r308424 - head/sys/arm/broadcom/bcm2835

2016-11-07 Thread Hans Petter Selasky
On 11/07/16 18:38, Oleksandr Tymoshenko wrote: + bcm2835_audio_unlock(sc); + cv_signal(&sc->worker_cv); Shouldn't cv_signal() be done locked, so that you don't loose any transactions? CV's only wakeup the treads that are sleeping right there and then. --HPS

Re: svn commit: r308424 - head/sys/arm/broadcom/bcm2835

2016-11-07 Thread Oleksandr Tymoshenko
> On Nov 7, 2016, at 10:27 AM, Hans Petter Selasky wrote: > > On 11/07/16 18:38, Oleksandr Tymoshenko wrote: >> +bcm2835_audio_unlock(sc); >> +cv_signal(&sc->worker_cv); > > > Shouldn't cv_signal() be done locked, so that you don't loose any > transactions? CV's only w

Re: svn commit: r308424 - head/sys/arm/broadcom/bcm2835

2016-11-07 Thread Hans Petter Selasky
On 11/07/16 20:23, Oleksandr Tymoshenko wrote: On Nov 7, 2016, at 10:27 AM, Hans Petter Selasky wrote: On 11/07/16 18:38, Oleksandr Tymoshenko wrote: + bcm2835_audio_unlock(sc); + cv_signal(&sc->worker_cv); Shouldn't cv_signal() be done locked, so that you don'

Re: svn commit: r308424 - head/sys/arm/broadcom/bcm2835

2016-11-07 Thread Hans Petter Selasky
On 11/07/16 20:32, Hans Petter Selasky wrote: On 11/07/16 20:23, Oleksandr Tymoshenko wrote: On Nov 7, 2016, at 10:27 AM, Hans Petter Selasky wrote: On 11/07/16 18:38, Oleksandr Tymoshenko wrote: +bcm2835_audio_unlock(sc); +cv_signal(&sc->worker_cv); Shouldn't cv_signal()

svn commit: r308427 - head/sys/cddl/dev/dtrace/arm

2016-11-07 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Nov 7 20:02:18 2016 New Revision: 308427 URL: https://svnweb.freebsd.org/changeset/base/308427 Log: Fix include order as required post r308415 Modified: head/sys/cddl/dev/dtrace/arm/dtrace_asm.S Modified: head/sys/cddl/dev/dtrace/arm/dtrace_asm.S

Re: svn commit: r308230 - head/sys/dev/ioat

2016-11-07 Thread Ngie Cooper
On Wed, Nov 2, 2016 at 4:18 PM, Conrad E. Meyer wrote: > Author: cem > Date: Wed Nov 2 23:18:16 2016 > New Revision: 308230 > URL: https://svnweb.freebsd.org/changeset/base/308230 > > Log: > ioat(4): Read CHANSTS register for suspended/halted checks > > The device doesn't accurately update th

Re: svn commit: r308424 - head/sys/arm/broadcom/bcm2835

2016-11-07 Thread Oleksandr Tymoshenko
> On Nov 7, 2016, at 11:51 AM, Hans Petter Selasky wrote: > > On 11/07/16 20:32, Hans Petter Selasky wrote: >> On 11/07/16 20:23, Oleksandr Tymoshenko wrote: >>> On Nov 7, 2016, at 10:27 AM, Hans Petter Selasky wrote: On 11/07/16 18:38, Oleksandr Tymoshenko wrote: > +

svn commit: r308428 - in head/sys: conf dev/gpio modules/gpio/gpioled

2016-11-07 Thread Oleksandr Tymoshenko
Author: gonzo Date: Mon Nov 7 21:15:39 2016 New Revision: 308428 URL: https://svnweb.freebsd.org/changeset/base/308428 Log: Refactor FDT part of gpioled driver - Split driver in two parts: FDT and non-FDT - Instead of reattach gpioled nodes to GPIO bus use gpio_pin_get_by_ofw_idx a

svn commit: r308429 - head/sys/dev/e1000

2016-11-07 Thread Sean Bruno
Author: sbruno Date: Mon Nov 7 22:24:37 2016 New Revision: 308429 URL: https://svnweb.freebsd.org/changeset/base/308429 Log: The igb driver currently requires a VF interface to have a non-zero MAC address, but the associated PF is giving the VF an all zeros MAC address when one is not admin

svn commit: r308430 - head/contrib/elftoolchain/libelftc

2016-11-07 Thread Ed Maste
Author: emaste Date: Mon Nov 7 22:41:52 2016 New Revision: 308430 URL: https://svnweb.freebsd.org/changeset/base/308430 Log: libelftc: add elf{32,64}-tradbigmips target emulation names Reported by: theraven Sponsored by: The FreeBSD Foundation Modified: head/contrib/elftoolchain/libe

Re: svn commit: r308230 - head/sys/dev/ioat

2016-11-07 Thread Conrad Meyer
Nope. On Mon, Nov 7, 2016 at 12:17 PM, Ngie Cooper wrote: > On Wed, Nov 2, 2016 at 4:18 PM, Conrad E. Meyer wrote: >> Author: cem >> Date: Wed Nov 2 23:18:16 2016 >> New Revision: 308230 >> URL: https://svnweb.freebsd.org/changeset/base/308230 >> >> Log: >> ioat(4): Read CHANSTS register for

svn commit: r308431 - head/sys/dev/nvme

2016-11-07 Thread Scott Long
Author: scottl Date: Tue Nov 8 00:24:49 2016 New Revision: 308431 URL: https://svnweb.freebsd.org/changeset/base/308431 Log: Convert the Q-Pair and PRP list memory allocations to use BUSDMA. Add a bunch of safery belts and error handling in related codepaths. Reviewed by: jimharris O

svn commit: r308432 - in head: bin/echo bin/sleep usr.bin/basename usr.bin/dc usr.bin/dirname usr.bin/fold usr.bin/getopt usr.bin/locate/bigram usr.bin/logname usr.bin/printenv usr.bin/yes

2016-11-07 Thread Conrad E. Meyer
Author: cem Date: Tue Nov 8 05:31:01 2016 New Revision: 308432 URL: https://svnweb.freebsd.org/changeset/base/308432 Log: Capsicumize some trivial stdio programs Trivially capsicumize some simple programs that just interact with stdio. This list of programs uses 'pledge("stdio")' in Ope

svn commit: r308434 - in head: lib/libstand sys/boot/common sys/boot/efi/libefi sys/boot/efi/loader sys/boot/i386/libfirewire sys/boot/i386/libi386 sys/boot/mips/beri/loader sys/boot/ofw/libofw sys...

2016-11-07 Thread Toomas Soome
Author: tsoome Date: Tue Nov 8 06:50:18 2016 New Revision: 308434 URL: https://svnweb.freebsd.org/changeset/base/308434 Log: Loader paged/pageable data is not always paged. This change does modify devsw dv_print() to return the int value, enabling walkers to interrupt the walk on non zer