svn commit: r323577 - in head: contrib/one-true-awk usr.bin/awk

2017-09-13 Thread Warner Losh
Author: imp Date: Thu Sep 14 05:48:23 2017 New Revision: 323577 URL: https://svnweb.freebsd.org/changeset/base/323577 Log: Implement gawk multiple-arg extension to and, or, and xor. gawk allows multiple arguemnts to bit-wiste and, or and xor functions. Implement an arbitrary number of

svn commit: r323576 - head/contrib/one-true-awk

2017-09-13 Thread Warner Losh
Author: imp Date: Thu Sep 14 05:47:55 2017 New Revision: 323576 URL: https://svnweb.freebsd.org/changeset/base/323576 Log: Bring in bit operation functions, ala gawk. These are from OpenBSD: >>> Extend awk with bitwise operations. This is an extension to the awk >>> spec and documented

svn commit: r323575 - head/sys/dev/ntb/ntb_hw

2017-09-13 Thread Alexander Motin
Author: mav Date: Thu Sep 14 04:51:17 2017 New Revision: 323575 URL: https://svnweb.freebsd.org/changeset/base/323575 Log: Add second entry to LUT on a link side in B2B mode. Each of two entries on a virtual side should have its counterpart on a peer's link side. MFC after:1

svn commit: r323574 - head/sys/conf

2017-09-13 Thread Ryan Libby
Author: rlibby Date: Thu Sep 14 03:42:41 2017 New Revision: 323574 URL: https://svnweb.freebsd.org/changeset/base/323574 Log: gcc builds: reenable -Wstrict-overflow for kern.mk Reviewed by: emaste Sponsored by: Dell EMC Isilon Differential Revision:

svn commit: r323573 - head/share/mk

2017-09-13 Thread Ryan Libby
Author: rlibby Date: Thu Sep 14 03:41:49 2017 New Revision: 323573 URL: https://svnweb.freebsd.org/changeset/base/323573 Log: gcc builds: reenable -Wstrict-overflow for bsd.sys.mk This effectively reverts r304877, after having relegated the warning suppression to the zic(8) makefile in

svn commit: r323572 - head/usr.sbin/zic/zic

2017-09-13 Thread Ryan Libby
Author: rlibby Date: Thu Sep 14 03:39:42 2017 New Revision: 323572 URL: https://svnweb.freebsd.org/changeset/base/323572 Log: zic: -Wno-error=strict-overflow Reviewed by: emaste Sponsored by: Dell EMC Isilon X-Differential Revision: https://reviews.freebsd.org/D12284 Modified:

Re: svn commit: r323393 - in head/sys: sys vm

2017-09-13 Thread Gleb Smirnoff
On Mon, Sep 11, 2017 at 09:30:10AM +0200, Mateusz Guzik wrote: M> First, there is a bunch of counter(9) fields. I don't know the original M> reasoning. I would expect these counters to be statically defined in a M> per-cpu struct. The reasoning was to remove 'struct vmmeter' from the 'struct

svn commit: r323566 - head/sys/kern

2017-09-13 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 13 22:11:05 2017 New Revision: 323566 URL: https://svnweb.freebsd.org/changeset/base/323566 Log: Use soref() in sendfile(2) instead fhold() to reference a socket. The problem is that fdrop() requires syscall context, as it may enter sleep in some cases. The

svn commit: r323564 - head/sys/vm

2017-09-13 Thread Mark Johnston
Author: markj Date: Wed Sep 13 21:54:37 2017 New Revision: 323564 URL: https://svnweb.freebsd.org/changeset/base/323564 Log: Widen uk_pgoff, the slab header offset field. 16 bits is only wide enough for kegs with an item size of up to 64KB. At that size or larger, slab headers are

Re: svn commit: r323518 - head/sys/conf

2017-09-13 Thread John Baldwin
On Wednesday, September 13, 2017 10:37:55 AM Ian Lepore wrote: > On Wed, 2017-09-13 at 09:26 -0700, John Baldwin wrote: > > On Wednesday, September 13, 2017 09:09:42 AM Sean Bruno wrote: > > > > > > > > > On 09/13/17 08:35, John Baldwin wrote: > > > > > > > > On Wednesday, September 13, 2017

Re: svn commit: r323516 - in head/sys: dev/bnxt dev/e1000 kern net sys

2017-09-13 Thread Warner Losh
On Wed, Sep 13, 2017 at 7:45 AM, Cy Schubert wrote: > In message KcmTA@mail.gmail.c > om> > , Warner Losh writes: > > --001a1141f15ac444250559123c56 > > Content-Type: text/plain; charset="UTF-8" > > > > On Wed, Sep 13,

svn commit: r323562 - head/sys/vm

2017-09-13 Thread Konstantin Belousov
Author: kib Date: Wed Sep 13 19:30:09 2017 New Revision: 323562 URL: https://svnweb.freebsd.org/changeset/base/323562 Log: Remove inline specifier from vm_page_free_wakeup(), do not micro-manage compiler. Reviewed by: alc, markj Sponsored by: The FreeBSD Foundation MFC after:1

Re: svn commit: r323516 - in head/sys: dev/bnxt dev/e1000 kern net sys

2017-09-13 Thread Cy Schubert
In message <48654d1f-4cc7-da05-7a73-ef538b431...@freebsd.org>, Sean Bruno write s: > This is an OpenPGP/MIME signed message (RFC 4880 and 3156) > --K3RXSO7fXoxBXqJUE1dpQ1sEQkuJPg1DQ > Content-Type: multipart/mixed; boundary="lalB5jI6dIhQxjTp1UFWH9Jx4OpW69Pfe"; > protected-headers="v1" > From:

svn commit: r323561 - head/sys/vm

2017-09-13 Thread Konstantin Belousov
Author: kib Date: Wed Sep 13 19:22:07 2017 New Revision: 323561 URL: https://svnweb.freebsd.org/changeset/base/323561 Log: Do not relock free queue mutex for each page, free whole terminating object' page queue under the single mutex lock. First, all pages on the queue are prepared for

svn commit: r323559 - head/sys/vm

2017-09-13 Thread Konstantin Belousov
Author: kib Date: Wed Sep 13 19:11:52 2017 New Revision: 323559 URL: https://svnweb.freebsd.org/changeset/base/323559 Log: Split vm_page_free_toq() into two parts, preparation vm_page_free_prep() and insertion into the phys allocator free queues vm_page_free_phys(). Also provide a wrapper

svn commit: r323558 - head/sys/vm

2017-09-13 Thread Konstantin Belousov
Author: kib Date: Wed Sep 13 19:03:59 2017 New Revision: 323558 URL: https://svnweb.freebsd.org/changeset/base/323558 Log: Use existing tag name for the vm_object' memq. Reviewed by: alc, markj Sponsored by: The FreeBSD Foundation MFC after:1 week Modified:

Re: svn commit: r314942 - head/usr.bin/awk

2017-09-13 Thread Warner Losh
Maybe you can bring them in here? :) Warner On Wed, Sep 13, 2017 at 12:37 PM, Pedro Giffuni wrote: > > > On 13/09/2017 13:15, John Baldwin wrote: > >> On Thursday, March 09, 2017 03:27:53 AM Baptiste Daroussin wrote: >> >>> Author: bapt >>> Date: Thu Mar 9 03:27:53 2017 >>>

Re: svn commit: r314942 - head/usr.bin/awk

2017-09-13 Thread Baptiste Daroussin
On Wed, Sep 13, 2017 at 06:15:39PM +, John Baldwin wrote: > On Thursday, March 09, 2017 03:27:53 AM Baptiste Daroussin wrote: > > Author: bapt > > Date: Thu Mar 9 03:27:53 2017 > > New Revision: 314942 > > URL: https://svnweb.freebsd.org/changeset/base/314942 > > > > Log: > > Import the

Re: svn commit: r314942 - head/usr.bin/awk

2017-09-13 Thread Pedro Giffuni
On 13/09/2017 13:15, John Baldwin wrote: On Thursday, March 09, 2017 03:27:53 AM Baptiste Daroussin wrote: Author: bapt Date: Thu Mar 9 03:27:53 2017 New Revision: 314942 URL: https://svnweb.freebsd.org/changeset/base/314942 Log: Import the awk(1) manpage from OpenBSD As discussed

svn commit: r323557 - head/share/man/man4

2017-09-13 Thread Glen Barber
Author: gjb Date: Wed Sep 13 18:32:43 2017 New Revision: 323557 URL: https://svnweb.freebsd.org/changeset/base/323557 Log: Remove an unneeded sentence stop. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/share/man/man4/siba.4 Modified:

Re: svn commit: r314942 - head/usr.bin/awk

2017-09-13 Thread John Baldwin
On Thursday, March 09, 2017 03:27:53 AM Baptiste Daroussin wrote: > Author: bapt > Date: Thu Mar 9 03:27:53 2017 > New Revision: 314942 > URL: https://svnweb.freebsd.org/changeset/base/314942 > > Log: > Import the awk(1) manpage from OpenBSD > > As discussed during AsiaBSDcon devsummit,

svn commit: r323556 - in head/sys: dev/cxgb/ulp modules/cxgb modules/cxgb/iw_cxgb modules/cxgb/tom

2017-09-13 Thread Navdeep Parhar
Author: np Date: Wed Sep 13 17:49:23 2017 New Revision: 323556 URL: https://svnweb.freebsd.org/changeset/base/323556 Log: Retire the T3 iWARP and TOE drivers. This saves catch-up work when OFED or other kernel infrastructure changes. Note that this doesn't affect the base cxgb(4) NIC

svn commit: r323555 - head/sys/dev/intpm

2017-09-13 Thread Conrad Meyer
Author: cem Date: Wed Sep 13 17:43:18 2017 New Revision: 323555 URL: https://svnweb.freebsd.org/changeset/base/323555 Log: intpm(4): Decrease requested i/o port range width On some AMD FCH devices driven by intpm(4) (read: mine), the SMBus I/O port range is split in two and the low range

Re: svn commit: r323554 - head/sys/boot/efi/boot1

2017-09-13 Thread Allan Jude
On 2017-09-13 13:00, Allan Jude wrote: > Author: allanjude > Date: Wed Sep 13 17:00:02 2017 > New Revision: 323554 > URL: https://svnweb.freebsd.org/changeset/base/323554 > > Log: > Increase EFI boot file size frok 128k to 384k > > generate_fat.sh does the following: > - create an 800kb

svn commit: r323554 - head/sys/boot/efi/boot1

2017-09-13 Thread Allan Jude
Author: allanjude Date: Wed Sep 13 17:00:02 2017 New Revision: 323554 URL: https://svnweb.freebsd.org/changeset/base/323554 Log: Increase EFI boot file size frok 128k to 384k generate_fat.sh does the following: - create an 800kb zero-filled file - create an md device backed by this

Re: svn commit: r323518 - head/sys/conf

2017-09-13 Thread Bruce Evans
On Wed, 13 Sep 2017, John Baldwin wrote: On Wednesday, September 13, 2017 09:09:42 AM Sean Bruno wrote: On 09/13/17 08:35, John Baldwin wrote: On Wednesday, September 13, 2017 03:56:04 AM Sean Bruno wrote: Author: sbruno Date: Wed Sep 13 03:56:03 2017 New Revision: 323518 URL:

svn commit: r323553 - in head/sys: arm/at91 arm/broadcom/bcm2835 arm/freescale/imx arm/ti dev/glxiic

2017-09-13 Thread Ian Lepore
Author: ian Date: Wed Sep 13 16:54:27 2017 New Revision: 323553 URL: https://svnweb.freebsd.org/changeset/base/323553 Log: Defer attaching and probing iicbus and its children until interrupts are available, in i2c controller drivers that require interrupts for transfers. This is the

svn commit: r323552 - head/sys/kern

2017-09-13 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 13 16:47:23 2017 New Revision: 323552 URL: https://svnweb.freebsd.org/changeset/base/323552 Log: Fix two issues with not ready data in sockets (read: sendfile) in UNIX sockets. o Check that socket is still connected in uipc_ready(). If not we are

svn commit: r323551 - head/sys/dev/intpm

2017-09-13 Thread Conrad Meyer
Author: cem Date: Wed Sep 13 16:43:31 2017 New Revision: 323551 URL: https://svnweb.freebsd.org/changeset/base/323551 Log: intpm(4): While here, remove redundant 'res' check Reported by: avg Sponsored by: Dell EMC Isilon Modified: head/sys/dev/intpm/intpm.c Modified:

Re: svn commit: r323518 - head/sys/conf

2017-09-13 Thread Ian Lepore
On Wed, 2017-09-13 at 09:26 -0700, John Baldwin wrote: > On Wednesday, September 13, 2017 09:09:42 AM Sean Bruno wrote: > > > > > > On 09/13/17 08:35, John Baldwin wrote: > > > > > > On Wednesday, September 13, 2017 03:56:04 AM Sean Bruno wrote: > > > > > > > > Author: sbruno > > > > Date: Wed

svn commit: r323550 - in head: . etc/defaults etc/periodic/weekly libexec/makewhatis.local share/man/man5 sys/mips/rmi targets/pseudo/userland tools/build/mk tools/build/options usr.bin usr.bin/cat...

2017-09-13 Thread Gordon Tetlow
) @@ -38,6 +38,13 @@ # xargs -n1 | sort | uniq -d; # done +# 20170913: remove unneeded catman utility +OLD_FILES+=etc/periodic/weekly/330.catman +OLD_FILES+=usr/bin/catman +OLD_FILES+=usr/libexec/catman.local +OLD_FILES+=usr/share/man/man1/catman.1.gz +OLD_FILES+=usr/share/man/man8/catman.local.8.gz

Re: svn commit: r323518 - head/sys/conf

2017-09-13 Thread John Baldwin
On Wednesday, September 13, 2017 09:09:42 AM Sean Bruno wrote: > > On 09/13/17 08:35, John Baldwin wrote: > > On Wednesday, September 13, 2017 03:56:04 AM Sean Bruno wrote: > >> Author: sbruno > >> Date: Wed Sep 13 03:56:03 2017 > >> New Revision: 323518 > >> URL:

svn commit: r323549 - head/sys/dev/intpm

2017-09-13 Thread Conrad Meyer
Author: cem Date: Wed Sep 13 16:23:59 2017 New Revision: 323549 URL: https://svnweb.freebsd.org/changeset/base/323549 Log: intpm(4): Do not attach if io_res can not be allocated Attempts to use the driver without an io_res result in immediate panic. Sponsored by: Dell EMC Isilon

svn commit: r323547 - head/lib/libedit

2017-09-13 Thread Pedro F. Giffuni
Author: pfg Date: Wed Sep 13 16:13:14 2017 New Revision: 323547 URL: https://svnweb.freebsd.org/changeset/base/323547 Log: libedit: add missing bracket. We never hit this because we always build with widechar support. Reported by: cognet MFC after:3 days Modified:

svn commit: r323544 - head/sys/vm

2017-09-13 Thread Mark Johnston
Author: markj Date: Wed Sep 13 15:44:54 2017 New Revision: 323544 URL: https://svnweb.freebsd.org/changeset/base/323544 Log: Fix a logic error in the item size calculation for internal UMA zones. Kegs for internal zones always keep the slab header in the slab itself. Therefore, when

svn commit: r323543 - head/sys/modules

2017-09-13 Thread Sean Bruno
Author: sbruno Date: Wed Sep 13 15:17:35 2017 New Revision: 323543 URL: https://svnweb.freebsd.org/changeset/base/323543 Log: Don't (try to) build lio(4) if the SOURCELESS_UCODE is set. Submitted by: Fabien Keil Modified: head/sys/modules/Makefile Modified:

Re: svn commit: r323516 - in head/sys: dev/bnxt dev/e1000 kern net sys

2017-09-13 Thread Sean Bruno
>>> #blamebruno >>> >>> Reviewed by:sbruno >>> Approved by:sbruno (mentor) >>> Sponsored by:Limelight Networks >>> Differential Revision:https://reviews.freebsd.org/D12235 >> >> *gasps at the LoC count and number of changed drivers* >> >> Could someone please better break this

Re: svn commit: r323518 - head/sys/conf

2017-09-13 Thread Sean Bruno
On 09/13/17 08:35, John Baldwin wrote: > On Wednesday, September 13, 2017 03:56:04 AM Sean Bruno wrote: >> Author: sbruno >> Date: Wed Sep 13 03:56:03 2017 >> New Revision: 323518 >> URL: https://svnweb.freebsd.org/changeset/base/323518 >> >> Log: >> Jenkins i386 LINT build uses NOTES to

Re: svn commit: r323518 - head/sys/conf

2017-09-13 Thread John Baldwin
On Wednesday, September 13, 2017 03:56:04 AM Sean Bruno wrote: > Author: sbruno > Date: Wed Sep 13 03:56:03 2017 > New Revision: 323518 > URL: https://svnweb.freebsd.org/changeset/base/323518 > > Log: > Jenkins i386 LINT build uses NOTES to generate its LINT kernel config. > > ixl(4) isn't

svn commit: r323542 - in head/release: arm arm64

2017-09-13 Thread Glen Barber
Author: gjb Date: Wed Sep 13 14:30:30 2017 New Revision: 323542 URL: https://svnweb.freebsd.org/changeset/base/323542 Log: Increase arm{,64} SoC image sizes to prevent "filesystem full" build failures. Sponsored by: The FreeBSD Foundation Modified: head/release/arm/BEAGLEBONE.conf

svn commit: r323541 - head/sys/boot/efi/libefi

2017-09-13 Thread Toomas Soome
Author: tsoome Date: Wed Sep 13 14:27:13 2017 New Revision: 323541 URL: https://svnweb.freebsd.org/changeset/base/323541 Log: libefi: efipart_realstrategy rsize pointer may be NULL Need to check rsize before dereferencing it. Modified: head/sys/boot/efi/libefi/efipart.c Modified:

Re: svn commit: r323516 - in head/sys: dev/bnxt dev/e1000 kern net sys

2017-09-13 Thread Cy Schubert
In message , Warner Losh writes: > --001a1141f15ac444250559123c56 > Content-Type: text/plain; charset="UTF-8" > > On Wed, Sep 13, 2017 at 1:11 AM, Cy Schubert > wrote: > > > In message

Re: svn commit: r323516 - in head/sys: dev/bnxt dev/e1000 kern net sys

2017-09-13 Thread Warner Losh
On Wed, Sep 13, 2017 at 1:11 AM, Cy Schubert wrote: > In message <4d5ae475-5a38-4429-8b71-dbecdfb0a...@gmail.com>, Ngie Cooper > writes > : > > > > > On Sep 12, 2017, at 18:18, Stephen Hurd wrote: > > > > > > Author: shurd > > > Date: Wed Sep 13

svn commit: r323540 - head/sys/dev/jedec_ts

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 13:03:29 2017 New Revision: 323540 URL: https://svnweb.freebsd.org/changeset/base/323540 Log: jedec_ts: add many more devices from various vendors The new IDs are taken from the hardware to which I have access and from open datasheets. Also, the hardware

svn commit: r323539 - head/sys/modules

2017-09-13 Thread Ed Maste
Author: emaste Date: Wed Sep 13 12:16:27 2017 New Revision: 323539 URL: https://svnweb.freebsd.org/changeset/base/323539 Log: qlnx: exclude if WITHOUT_SOURCELESS_UCODE set PR: 77 Submitted by: Fabian Keil Obtained from:ElectroBSD MFC after:1 week Modified:

svn commit: r323532 - in head/sys: amd64/conf arm/conf

2017-09-13 Thread Ilya Bakulin
Author: kibab Date: Wed Sep 13 10:56:02 2017 New Revision: 323532 URL: https://svnweb.freebsd.org/changeset/base/323532 Log: Add MMCCAM-enabled kernel config for IMX6, reduce debug noice in MMCCAM kernels CAM_DEBUG_TRACE results in way too much debug output than needed now. When

svn commit: r323528 - head/cddl/contrib/opensolaris/lib/libzpool/common

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 10:34:31 2017 New Revision: 323528 URL: https://svnweb.freebsd.org/changeset/base/323528 Log: MFV r323527: 5815 libzpool's panic function doesn't set global panicstr, ::status not as useful illumos/illumos-gate@fae6347731c9d3f46b26338313b0422927f29cf6

svn commit: r323525 - head/cddl/contrib/opensolaris/lib/libzfs/common

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 10:23:55 2017 New Revision: 323525 URL: https://svnweb.freebsd.org/changeset/base/323525 Log: MFV r323523: 8331 zfs_unshare returns wrong error code for smb unshare failure illumos/illumos-gate@4f4378cc54b7deec3a35c529dc397dbdc325b4bb

svn commit: r323524 - head/cddl/contrib/opensolaris/lib/libzfs/common

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 10:22:09 2017 New Revision: 323524 URL: https://svnweb.freebsd.org/changeset/base/323524 Log: MFV r316932: 6280 libzfs: unshare_one() could fail with EZFS_SHARENFSFAILED illumos/illumos-gate@d1672efb6feac57c42788e27f739dfa3c4f3baf7

Re: svn commit: r323516 - in head/sys: dev/bnxt dev/e1000 kern net sys

2017-09-13 Thread Cy Schubert
In message <4d5ae475-5a38-4429-8b71-dbecdfb0a...@gmail.com>, Ngie Cooper writes : > > > On Sep 12, 2017, at 18:18, Stephen Hurd wrote: > > > > Author: shurd > > Date: Wed Sep 13 01:18:42 2017 > > New Revision: 323516 > > URL: https://svnweb.freebsd.org/changeset/base/323516

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

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 07:09:58 2017 New Revision: 323522 URL: https://svnweb.freebsd.org/changeset/base/323522 Log: slightly simplify zfs_vptocnp It's not necessary to look up the parent's ID to check if the node is the root node of the filesystem. MFC after:2 weeks

svn commit: r323521 - head/usr.bin/sockstat

2017-09-13 Thread Michael Tuexen
Author: tuexen Date: Wed Sep 13 06:57:52 2017 New Revision: 323521 URL: https://svnweb.freebsd.org/changeset/base/323521 Log: Add a command line option for using a wider field for displaying addresses. This allows the table to be consistent when IPv6 addresses have to be printed. While

Re: svn commit: r323516 - in head/sys: dev/bnxt dev/e1000 kern net sys

2017-09-13 Thread Ngie Cooper
> On Sep 12, 2017, at 18:18, Stephen Hurd wrote: > > Author: shurd > Date: Wed Sep 13 01:18:42 2017 > New Revision: 323516 > URL: https://svnweb.freebsd.org/changeset/base/323516 > > Log: > Roll up iflib commits from github. This pulls in most of the work done > by Matt

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

2017-09-13 Thread Navdeep Parhar
Author: np Date: Wed Sep 13 06:07:02 2017 New Revision: 323520 URL: https://svnweb.freebsd.org/changeset/base/323520 Log: cxgbe(4): Ignore capabilities that depend on TOE when the firmware reports TOE is not available. MFC after:1 week Sponsored by: Chelsio Communications

Re: svn commit: r323508 - head/usr.sbin/bsdinstall/partedit

2017-09-13 Thread Ngie Cooper
> On Sep 12, 2017, at 15:19, Ravi Pokala wrote: > > Author: rpokala > Date: Tue Sep 12 22:19:21 2017 > New Revision: 323508 > URL: https://svnweb.freebsd.org/changeset/base/323508 > > Log: > When doing a non-interactive installation, don't display an interactive >