svn commit: r326841 - head/sys/dev/bwn

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 06:45:04 2017 New Revision: 326841 URL: https://svnweb.freebsd.org/changeset/base/326841 Log: Add basic bwn(4) support for the (BCMA-based) BCM43224 and BCM43225. - Add the BCM4322X D11 core revision and missing BCM43224 PCI device ID to our device

svn commit: r326840 - head/sys/dev/dpaa

2017-12-13 Thread Justin Hibbits
Author: jhibbits Date: Thu Dec 14 04:41:07 2017 New Revision: 326840 URL: https://svnweb.freebsd.org/changeset/base/326840 Log: Allow bman-portals and qman-portals to attach to simple-bus Official Linux dts's put the individual portals under a simple-bus, rather than under a '*-portals'

svn commit: r326839 - head/sys/dev/bhnd/bhndb

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 03:41:12 2017 New Revision: 326839 URL: https://svnweb.freebsd.org/changeset/base/326839 Log: bhndb(4): Fix two register window overcommit bugs introduced in r326297: - The window target must always be updated when stealing a register window. - Fix

svn commit: r326838 - head/sys/dev/bhnd/cores/chipc

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 03:12:05 2017 New Revision: 326838 URL: https://svnweb.freebsd.org/changeset/base/326838 Log: bhnd_chipc(4): Correct typo in flag macros that broke clearing of GPIO pin flags. Approved by: adrian (mentor, implicit) Sponsored by: The FreeBSD Foundation

svn commit: r326837 - in head/sys/dev/bhnd: . tools

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 03:03:08 2017 New Revision: 326837 URL: https://svnweb.freebsd.org/changeset/base/326837 Log: bhnd(4): Add missing enclosing parentheses to the bhnd bus space macros to avoid precedence bugs. Approved by: adrian (mentor, implicit) Sponsored by: The

svn commit: r326836 - in head: share/man/man9 sys/dev/bhnd sys/dev/bhnd/bhndb sys/mips/broadcom

2017-12-13 Thread Landon J. Fuller
Author: landonf Date: Thu Dec 14 01:58:05 2017 New Revision: 326836 URL: https://svnweb.freebsd.org/changeset/base/326836 Log: bhnd(4): Include board_devid in the bhnd_board_info structure, and populate the expected default board_vendor value on MIPS SoCs. This is required by bwn(4) to

svn commit: r326835 - in head/sys/cam: ata nvme scsi

2017-12-13 Thread Alexander Motin
Author: mav Date: Wed Dec 13 21:17:00 2017 New Revision: 326835 URL: https://svnweb.freebsd.org/changeset/base/326835 Log: Reduce size of several on-stack string buffers. Submitted by: Dmitry Luhtionov MFC after:2 weeks Modified:

svn commit: r326834 - head/sbin/dhclient

2017-12-13 Thread Alan Somers
Author: asomers Date: Wed Dec 13 20:48:20 2017 New Revision: 326834 URL: https://svnweb.freebsd.org/changeset/base/326834 Log: dhclient(8): Don't shift through the sign bit of a signed int PR: 208007 Submitted by: Michael McConville MFC after:3 weeks

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Eugene Grosbein
14.12.2017 1:24, Alexey Dokuchaev wrote: >>> I'm a plain workstation user with X11+browser+torrent+quake2+you-name-it >>> apps, PAE-less, ZFS-less, and I don't want to get troubles due to r326758. >> >> Add kern.kstack_size=2 to /boot/loader.conf of your workstation now >> and you will notice no

svn commit: r326832 - head/tools/tools/netmap

2017-12-13 Thread Conrad Meyer
Author: cem Date: Wed Dec 13 19:36:29 2017 New Revision: 326832 URL: https://svnweb.freebsd.org/changeset/base/326832 Log: netmap pkt-gen tool: Fix memset(3) argument order Submitted by: Michael McConville Sponsored by: Dell EMC Isilon Modified: head/tools/tools/netmap/pkt-gen.c

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

2017-12-13 Thread Dimitry Andric
Author: dim Date: Wed Dec 13 19:03:48 2017 New Revision: 326831 URL: https://svnweb.freebsd.org/changeset/base/326831 Log: Pull in r315334 from upstream lld trunk (by Rafael Espindola): Don't create a dummy __tls_get_addr. We just don't need one with the current setup. We

Re: svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Pedro Giffuni
On 13/12/2017 13:25, Rodney W. Grimes wrote: [ Charset UTF-8 unsupported, converting... ] On 12/13/17 11:58, Rodney W. Grimes wrote: [ Charset UTF-8 unsupported, converting... ] Author: pfg Date: Wed Dec 13 16:30:39 2017 New Revision: 326828 URL:

Re: svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > > > On 12/13/17 11:58, Rodney W. Grimes wrote: > > [ Charset UTF-8 unsupported, converting... ] > >> Author: pfg > >> Date: Wed Dec 13 16:30:39 2017 > >> New Revision: 326828 > >> URL: https://svnweb.freebsd.org/changeset/base/326828 > >> > >> Log:

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Alexey Dokuchaev
On Thu, Dec 14, 2017 at 01:16:27AM +0700, Eugene Grosbein wrote: > 14.12.2017 1:08, Alexey Dokuchaev пишет: > > On Thu, Dec 14, 2017 at 12:48:17AM +0700, Eugene Grosbein wrote: > >> ... > >> I don't understand why you want to backout that. It changed nothing for > >> amd64. An i386 is still

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Eugene Grosbein
14.12.2017 1:08, Alexey Dokuchaev пишет: > On Thu, Dec 14, 2017 at 12:48:17AM +0700, Eugene Grosbein wrote: >> ... >> I don't understand why you want to backout that. It changed nothing for >> amd64. An i386 is still vulnerable to double faults just because of a >> network packet processing path

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Alexey Dokuchaev
On Thu, Dec 14, 2017 at 12:48:17AM +0700, Eugene Grosbein wrote: > ... > I don't understand why you want to backout that. It changed nothing for > amd64. An i386 is still vulnerable to double faults just because of a > network packet processing path can overflow kstack for the GENERIC kernel.

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Eugene Grosbein
13.12.2017 20:38, Rodney W. Grimes wrote: > That I can not answer, but I can say I have just found the problem > is NOT limited to i386, we can rather quickly blow up an amd64 system > running a dozen or so VM's. > > My bhyve host tossed a stack of these out last night: > vm_thread_new: kstack

Re: svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Pedro Giffuni
On 12/13/17 11:58, Rodney W. Grimes wrote: [ Charset UTF-8 unsupported, converting... ] Author: pfg Date: Wed Dec 13 16:30:39 2017 New Revision: 326828 URL: https://svnweb.freebsd.org/changeset/base/326828 Log: SPDX: some uses of the RSA-MD license. And beerware only noting this incase

svn commit: r326829 - head/sys/netinet

2017-12-13 Thread Michael Tuexen
Author: tuexen Date: Wed Dec 13 17:11:57 2017 New Revision: 326829 URL: https://svnweb.freebsd.org/changeset/base/326829 Log: Cleaup, no functional change. Modified: head/sys/netinet/sctp_input.c head/sys/netinet/sctp_output.c Modified: head/sys/netinet/sctp_input.c

Re: svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: pfg > Date: Wed Dec 13 16:30:39 2017 > New Revision: 326828 > URL: https://svnweb.freebsd.org/changeset/base/326828 > > Log: > SPDX: some uses of the RSA-MD license. And beerware only noting this incase you did not mean to commit this. >

svn commit: r326828 - in head: lib/libmd sys/fs/ext2fs sys/kern sys/sys

2017-12-13 Thread Pedro F. Giffuni
Author: pfg Date: Wed Dec 13 16:30:39 2017 New Revision: 326828 URL: https://svnweb.freebsd.org/changeset/base/326828 Log: SPDX: some uses of the RSA-MD license. Modified: head/lib/libmd/md4.h head/lib/libmd/md4c.c head/lib/libmd/md5c.c head/lib/libmd/mdXhl.c

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

2017-12-13 Thread Fedor Uporov
Should be fixed in r326824. On Wed, Dec 13, 2017 at 1:58 PM, Fedor Uporov wrote: > Hi, Andrew. > > Thanks for report, I know about the issue. > Just, need to get back home to my laptop to fix it. > Need 2-4 hours. > > On Wed, Dec 13, 2017 at 1:46 PM, Andrew Turner

svn commit: r326824 - head/sys/kern

2017-12-13 Thread Fedor Uporov
Author: fsu Date: Wed Dec 13 16:14:38 2017 New Revision: 326824 URL: https://svnweb.freebsd.org/changeset/base/326824 Log: Fix kernel build if MAC is not defined. Reported by:Ravi Pokala, Andrew Turner Approved by:pfg (mentor) MFC after: 1 week Modified:

svn commit: r326823 - in head: include lib/libc/net sys/dev/usb/net sys/dev/usb/wlan sys/sys usr.sbin/ppp usr.sbin/rarpd usr.sbin/watch

2017-12-13 Thread Pedro F. Giffuni
Author: pfg Date: Wed Dec 13 16:13:17 2017 New Revision: 326823 URL: https://svnweb.freebsd.org/changeset/base/326823 Log: SPDX: mostly fixes to previous changes. Introduce the recently approved BSD-1-Clause and replace 0BSD which never did fit well our use cases. Modified:

svn commit: r326822 - head/usr.bin/diff

2017-12-13 Thread Baptiste Daroussin
Author: bapt Date: Wed Dec 13 16:09:00 2017 New Revision: 326822 URL: https://svnweb.freebsd.org/changeset/base/326822 Log: Replace homemade equivalent of tolower(3) by towlower(3) This will help in the futur making diff -i works with multibyte Modified: head/usr.bin/diff/diffreg.c

svn commit: r326820 - head/sbin/growfs

2017-12-13 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Dec 13 14:08:33 2017 New Revision: 326820 URL: https://svnweb.freebsd.org/changeset/base/326820 Log: Tone down the description for the growfs "-y" flag. MFC after:2 weeks Modified: head/sbin/growfs/growfs.8 Modified: head/sbin/growfs/growfs.8

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Rodney W. Grimes
> > On Tue, Dec 12, 2017 at 12:39:38PM -0800, Rodney W. Grimes wrote: > > > > New Revision: 326809 > > > > URL: https://svnweb.freebsd.org/changeset/base/326809 > > > > > > > > Log: > > > > 1k objects on the stack are a bad idea. While it's likely safe in this > > > > context, it's also safe

Re: svn commit: r326809 - head/sys/dev/cardbus

2017-12-13 Thread Rodney W. Grimes
> On Tue, Dec 12, 2017 at 12:39:38PM -0800, Rodney W. Grimes wrote: > > > New Revision: 326809 > > > URL: https://svnweb.freebsd.org/changeset/base/326809 > > > > > > Log: > > > 1k objects on the stack are a bad idea. While it's likely safe in this > > > context, it's also safe to allocate

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

2017-12-13 Thread Fedor Uporov
Hi, Andrew. Thanks for report, I know about the issue. Just, need to get back home to my laptop to fix it. Need 2-4 hours. On Wed, Dec 13, 2017 at 1:46 PM, Andrew Turner wrote: > > > On 12 Dec 2017, at 20:15, Fedor Uporov wrote: > > > > Author: fsu > >

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

2017-12-13 Thread Andrew Turner
> On 12 Dec 2017, at 20:15, Fedor Uporov wrote: > > Author: fsu > Date: Tue Dec 12 20:15:57 2017 > New Revision: 326808 > URL: https://svnweb.freebsd.org/changeset/base/326808 > > Log: > Move buffer size checks outside of the vnode locks. > > Reviewed by:kib, cem, pfg

Re: svn commit: r326758 - in head/sys/i386: conf include

2017-12-13 Thread Eugene Grosbein
13.12.2017 3:43, Rodney W. Grimes wrote: > Or are you thinking we have something that is so deep even if it > only uses 32 bytes of stack we are going to run ourselfs out of > kstack under some work loads? I hope not. No, I'm not. ___