svn commit: r324752 - head/sys/netinet

2017-10-19 Thread Alexander Motin
Author: mav Date: Thu Oct 19 09:01:15 2017 New Revision: 324752 URL: https://svnweb.freebsd.org/changeset/base/324752 Log: Relax per-ifnet cif_vrs list double locking in carp(4). In all cases where cif_vrs list is modified, two locks are held: per-ifnet CIF_LOCK and global carp_sx. It me

svn commit: r324753 - head/sys/fs/msdosfs

2017-10-19 Thread Ed Maste
Author: emaste Date: Thu Oct 19 12:55:11 2017 New Revision: 324753 URL: https://svnweb.freebsd.org/changeset/base/324753 Log: msdosfs: fix build with MSDOSFS_DEBUG Inspired by a patch submission by longw...@incore.de with many changes for ino64 in HEAD. PR: 199152 MFC aft

svn commit: r324754 - head/sys/dev/psci

2017-10-19 Thread Andrew Turner
Author: andrew Date: Thu Oct 19 13:22:52 2017 New Revision: 324754 URL: https://svnweb.freebsd.org/changeset/base/324754 Log: Allow later PSCI revisions to also work. The latest ARM Trusted Firmware reports version 1.1 so the check was failing. As thjis is a minor change from 1.0, and future

Re: svn commit: r324471 - head/sys/boot

2017-10-19 Thread Edward Tomasz NapieraƂa
On 1013T1438, Devin Teske wrote: > > > On Oct 13, 2017, at 8:53 AM, Ngie Cooper wrote: > > > > > >> On Oct 9, 2017, at 21:57, Ngie Cooper (yaneurabeya) > >> wrote: > >> > >> > >>> On Oct 9, 2017, at 21:56, Warner Losh wrote: > >>> > >>> DO NOT MAKE EDITS TO sys/boot. YOU ARE CREATING CONF

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

2017-10-19 Thread Andriy Gapon
Author: avg Date: Thu Oct 19 16:36:07 2017 New Revision: 324757 URL: https://svnweb.freebsd.org/changeset/base/324757 Log: remove spa_sync_on assert from spa_async_thread_vd Unlike spa_async_thread that can get started only from spa_sync() spa_async_thread_vd can get started from other co

svn commit: r324758 - head/sys/dev/psci

2017-10-19 Thread Ed Maste
Author: emaste Date: Thu Oct 19 16:40:17 2017 New Revision: 324758 URL: https://svnweb.freebsd.org/changeset/base/324758 Log: psci: change bootverbose string to 'PSCI 0.2 compatible' Prior to r324754 we treated PSCI 0.2 and 1.0 as identical, and r324754 extended that to include all PSCI 1

svn commit: r324759 - head/sys/fs/ext2fs

2017-10-19 Thread Fedor Uporov
Author: fsu Date: Thu Oct 19 16:42:03 2017 New Revision: 324759 URL: https://svnweb.freebsd.org/changeset/base/324759 Log: Fix unused variable + style(9) fixes inside the ext4_ext_find_extent() Approved by:pfg (mentor) Reported by:Coverity CID:1381754 MFC after:

svn commit: r324767 - head/sys/sys

2017-10-19 Thread Gleb Smirnoff
Author: glebius Date: Thu Oct 19 18:04:16 2017 New Revision: 324767 URL: https://svnweb.freebsd.org/changeset/base/324767 Log: Hide struct sockbuf from userland. PR: 222917 (exp-run) Modified: head/sys/sys/sockbuf.h Modified: head/sys/sys/sockbuf.h

svn commit: r324770 - head/usr.sbin/bluetooth/bthidd

2017-10-19 Thread Vladimir Kondratyev
Author: wulf Date: Thu Oct 19 20:42:46 2017 New Revision: 324770 URL: https://svnweb.freebsd.org/changeset/base/324770 Log: bthidd: Fix leds on multireport keyboards broken after r297217 Reviewed by: emax, gonzo Approved by: gonzo (mentor) MFC after:2 weeks

svn commit: r324771 - head/sys/arm/nvidia/tegra124

2017-10-19 Thread Emmanuel Vadot
Author: manu Date: Thu Oct 19 20:52:17 2017 New Revision: 324771 URL: https://svnweb.freebsd.org/changeset/base/324771 Log: tegra: Do not define early printf function Since tegra is now in GENERIC, do not enable the early printf function as it can conflict with others. Modified: head/s

svn commit: r324772 - head/sys/dev/usb/input

2017-10-19 Thread Vladimir Kondratyev
Author: wulf Date: Thu Oct 19 20:54:55 2017 New Revision: 324772 URL: https://svnweb.freebsd.org/changeset/base/324772 Log: ums(4): Unreverse evdev Tilt-axis reporting to match Linux. sysmouse tilt to button mapping remained unchanged. Reviewed by: hselasky Approved by:

svn commit: r324773 - head/sys/arm/allwinner

2017-10-19 Thread Emmanuel Vadot
Author: manu Date: Thu Oct 19 20:56:30 2017 New Revision: 324773 URL: https://svnweb.freebsd.org/changeset/base/324773 Log: Allwinner: Add EARLY_PRINTF function EARLY_PRINTF can help debugging early problems. Add it for Allwinner SoCs. Tested On: OrangePi One (H3) Modified: head/s

svn commit: r324774 - head/sys/dev/atkbdc

2017-10-19 Thread Vladimir Kondratyev
Author: wulf Date: Thu Oct 19 21:07:28 2017 New Revision: 324774 URL: https://svnweb.freebsd.org/changeset/base/324774 Log: psm(4): Add sanity checks to Synaptics touchpad driver resolution parser. This fixes "Kernel has only x or y resolution, not both" libinput error. Reported by: I

svn commit: r324775 - head/sys/arm/allwinner

2017-10-19 Thread Emmanuel Vadot
Author: manu Date: Thu Oct 19 21:34:53 2017 New Revision: 324775 URL: https://svnweb.freebsd.org/changeset/base/324775 Log: Allwinner: Fix compilation Forgot an #endif in r324773, sorry for the breakage. Modified: head/sys/arm/allwinner/aw_machdep.c Modified: head/sys/arm/allwinner/aw_m

svn commit: r324776 - head/sys/dev/mmc

2017-10-19 Thread Marius Strobl
Author: marius Date: Thu Oct 19 21:57:14 2017 New Revision: 324776 URL: https://svnweb.freebsd.org/changeset/base/324776 Log: Correct an inverted conditional for determining the multiplier of the user data area size. Modified: head/sys/dev/mmc/mmcsd.c Modified: head/sys/dev/mmc/mmcsd.c ===

svn commit: r324778 - in head/sys: kern sys

2017-10-19 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 20 00:30:35 2017 New Revision: 324778 URL: https://svnweb.freebsd.org/changeset/base/324778 Log: mtx: clean up locking spin mutexes 1) shorten the fast path by pushing the lockstat probe to the slow path 2) test for kernel panic only after it turns out we will ha

svn commit: r324780 - head/sys/kern

2017-10-19 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 20 00:34:25 2017 New Revision: 324780 URL: https://svnweb.freebsd.org/changeset/base/324780 Log: mtx: stop testing SCHEDULER_STOPPED in kabi funcs for spin mutexes There is nothing panic-breaking to do in the unlock case and the lock case will fallback to the slo

Re: svn commit: r324732 - head/usr.sbin/jail

2017-10-19 Thread Benjamin Kaduk
That's a fair point. I didn't want Steve's report to get lost on the mailing list but didn't have time to look very hard yesterday, so I just put something quick in (as the old verison is obviously wrong). There's also some mandoc -Tling nits reported in this page, so hopefully I'll get some time

svn commit: r324783 - head/sys/powerpc/powerpc

2017-10-19 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 20 03:03:04 2017 New Revision: 324783 URL: https://svnweb.freebsd.org/changeset/base/324783 Log: Book-E debug trace fixes * Book-E can have Altivec exceptions, so move it out of the AIM-only block. * Print the right DSI trap mode (read vs write) for Book-E

svn commit: r324784 - head/sys/powerpc/ofw

2017-10-19 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 20 03:13:31 2017 New Revision: 324784 URL: https://svnweb.freebsd.org/changeset/base/324784 Log: No need to check for AIM here This block is already in a #ifdef AIM block. Modified: head/sys/powerpc/ofw/ofw_machdep.c Modified: head/sys/powerpc/ofw/ofw_mach

svn commit: r324785 - in head/sys/amd64: amd64 ia32 linux linux32

2017-10-19 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 20 03:30:02 2017 New Revision: 324785 URL: https://svnweb.freebsd.org/changeset/base/324785 Log: amd64: avoid acquiring dt lock if possible (which is the common case) Discussed with: kib MFC after:1 week Modified: head/sys/amd64/amd64/machdep.c hea

svn commit: r324786 - head/sys/powerpc/booke

2017-10-19 Thread Justin Hibbits
Author: jhibbits Date: Fri Oct 20 03:31:23 2017 New Revision: 324786 URL: https://svnweb.freebsd.org/changeset/base/324786 Log: Expand the TLB nest level mask to 3 bits to match the 32-bit mask This really doesn't change anything right now, because BOOKE_TLB_MAXNEST is only 3, which fits

svn commit: r324787 - head/sys/kern

2017-10-19 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 20 03:32:42 2017 New Revision: 324787 URL: https://svnweb.freebsd.org/changeset/base/324787 Log: rwlock: reduce lockstat branches in the slowpath MFC after:1 week Modified: head/sys/kern/kern_rwlock.c Modified: head/sys/kern/kern_rwlock.c ==

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

2017-10-19 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 20 03:38:58 2017 New Revision: 324788 URL: https://svnweb.freebsd.org/changeset/base/324788 Log: amd64: __exclusive_cache_line pv_chunks_mutex and pv_list_locks Note that pv_list_locks is an array and currently it fits 2 locks per line. Resizing it and/or putting

svn commit: r324789 - in head/sys: kern sys

2017-10-19 Thread Mateusz Guzik
Author: mjg Date: Fri Oct 20 04:02:53 2017 New Revision: 324789 URL: https://svnweb.freebsd.org/changeset/base/324789 Log: Mark kdb_active as __read_frequently and switch to bool to eat less space. Modified: head/sys/kern/subr_kdb.c head/sys/sys/kdb.h Modified: head/sys/kern/subr_kdb.c ===