svn commit: r345408 - head/sys/arm64/conf

2019-03-21 Thread Colin Percival
Author: cperciva Date: Fri Mar 22 06:36:40 2019 New Revision: 345408 URL: https://svnweb.freebsd.org/changeset/base/345408 Log: Add nvme support to the arm64 GENERIC kernel. Submitted by: Greg V Differential Revision:https://reviews.freebsd.org/D19657 Modified: head/sys/arm64/c

svn commit: r345407 - head/sys/modules

2019-03-21 Thread Colin Percival
Author: cperciva Date: Fri Mar 22 06:33:26 2019 New Revision: 345407 URL: https://svnweb.freebsd.org/changeset/base/345407 Log: Build if_ena.ko on arm64. This module provides support for the Amazon Elastic Network Adapter; it was previously only built on x86 architectures, but Amazon EC2

svn commit: r345406 - head/sys/dev/uart

2019-03-21 Thread Colin Percival
Author: cperciva Date: Fri Mar 22 06:28:37 2019 New Revision: 345406 URL: https://svnweb.freebsd.org/changeset/base/345406 Log: Initialize uart_bus_space_mem. This value was being used uninitialized, resulting in predictable issues on systems with memory-mapped UART registers. A case

svn commit: r345405 - head/sys/dev/uart

2019-03-21 Thread Colin Percival
Author: cperciva Date: Fri Mar 22 06:21:03 2019 New Revision: 345405 URL: https://svnweb.freebsd.org/changeset/base/345405 Log: Obey SPCR AccessWidth parameter. The "access width" value was hard-coded as 2, indicating 32-bit accesses; instead, use the value specified in the SPCR table.

svn commit: r345404 - in stable/12: libexec/rc share/man/man5

2019-03-21 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Fri Mar 22 06:02:06 2019 New Revision: 345404 URL: https://svnweb.freebsd.org/changeset/base/345404 Log: MFC r345080: Extend descriptions and comments about the need to create /etc/pf.conf. FreeBSD removed the default /etc/pf.conf file in previous rele

Re: svn commit: r345400 - in head/libexec/rc: . rc.d

2019-03-21 Thread Rodney W. Grimes
> Author: cy > Date: Fri Mar 22 01:30:51 2019 > New Revision: 345400 > URL: https://svnweb.freebsd.org/changeset/base/345400 > > Log: > Add rc.d support for ippool(8). > > I've been using ippool at my site for approximately two years. It's > about time this was committed. > > PR:

Re: svn commit: r345365 - head/bin/date

2019-03-21 Thread Rodney W. Grimes
> On Thu, Mar 21, 2019 at 9:24 AM Ian Lepore wrote: > > > On Thu, 2019-03-21 at 06:47 +, Warner Losh wrote: > > > Author: imp > > > Date: Thu Mar 21 06:47:23 2019 > > > New Revision: 345365 > > > URL: https://svnweb.freebsd.org/changeset/base/345365 > > > > > > Log: > > > Remove -n flag, fi

svn commit: r345403 - head/tools/build/mk

2019-03-21 Thread Cy Schubert
Author: cy Date: Fri Mar 22 01:43:55 2019 New Revision: 345403 URL: https://svnweb.freebsd.org/changeset/base/345403 Log: From r345400, remove the ippool rc script when ipfilter is not wanted by the user. PR: 218433 MFC after:2 weeks X-MFC with: r345400 Modified: he

svn commit: r345402 - head/sys/powerpc/aim

2019-03-21 Thread Justin Hibbits
Author: jhibbits Date: Fri Mar 22 01:43:31 2019 New Revision: 345402 URL: https://svnweb.freebsd.org/changeset/base/345402 Log: powerpc64: Handle the modern (2.05+) implementaiton of tlbie By happenstance gcc4 puts 'vpn' into r0 in all uses of TLBIE(), but modern gcc does not. Also, the

svn commit: r345401 - head/libexec/rc/rc.d

2019-03-21 Thread Cy Schubert
Author: cy Date: Fri Mar 22 01:42:27 2019 New Revision: 345401 URL: https://svnweb.freebsd.org/changeset/base/345401 Log: From r345400, connect ippool to the build/install. PR: 218433 MFC after:2 weeks X-MFC with: r345400 Modified: head/libexec/rc/rc.d/Makefile Modif

svn commit: r345400 - in head/libexec/rc: . rc.d

2019-03-21 Thread Cy Schubert
Author: cy Date: Fri Mar 22 01:30:51 2019 New Revision: 345400 URL: https://svnweb.freebsd.org/changeset/base/345400 Log: Add rc.d support for ippool(8). I've been using ippool at my site for approximately two years. It's about time this was committed. PR: 218433 MFC afte

svn commit: r345397 - stable/11/sbin/ifconfig

2019-03-21 Thread Alan Somers
Author: asomers Date: Thu Mar 21 22:40:05 2019 New Revision: 345397 URL: https://svnweb.freebsd.org/changeset/base/345397 Log: MFC r343530, r344559 r343530: ifconfig: fix endianness bug displaying pfsync interfaces Reviewed by: kp Differential Revision:https://reviews.free

svn commit: r345396 - svnadmin/conf

2019-03-21 Thread Mark Johnston
Author: markj Date: Thu Mar 21 22:30:44 2019 New Revision: 345396 URL: https://svnweb.freebsd.org/changeset/base/345396 Log: Welcome Mitchell Horne (mhorne@) to the ranks of src committers. Approved by: core Modified: svnadmin/conf/access svnadmin/conf/mentors Modified: svnadmin/conf

svn commit: r345395 - stable/11/tools/build/mk

2019-03-21 Thread Alan Somers
Author: asomers Date: Thu Mar 21 22:25:36 2019 New Revision: 345395 URL: https://svnweb.freebsd.org/changeset/base/345395 Log: MFC r300938, r342154 r300938: Remove the sa(8) tests if MK_ACCT == no when "make delete-old" is run sa(8) is conditionally installed based on MK_ACCT != no t

svn commit: r345394 - in stable/11/tests/sys/geom/class: . eli mirror

2019-03-21 Thread Alan Somers
Author: asomers Date: Thu Mar 21 22:23:52 2019 New Revision: 345394 URL: https://svnweb.freebsd.org/changeset/base/345394 Log: MFC r341390, r341392, r341667 r341390: Remove some dead code from the geli tests This is detritus in the Makefile, leftover from 327662. r341392: Unbr

svn commit: r345393 - stable/11/sys/kern

2019-03-21 Thread Alan Somers
Author: asomers Date: Thu Mar 21 22:18:22 2019 New Revision: 345393 URL: https://svnweb.freebsd.org/changeset/base/345393 Log: MFC r340988: vfs_aio.c: rename "physio" symbols to "bio". aio has two paths: an asynchronous "physio" path and a synchronous path. Confusingly, physio(9) isn

svn commit: r345391 - in stable/11: lib/libc/sys sbin/mount_fusefs

2019-03-21 Thread Alan Somers
Author: asomers Date: Thu Mar 21 21:56:03 2019 New Revision: 345391 URL: https://svnweb.freebsd.org/changeset/base/345391 Log: MFC r340455, r340525, r341598 r340455: fcntl.2: document an additional error condition r340525: mount_fusefs.8: expand HISTORY section Note that fuse

svn commit: r345388 - in head/share: examples/etc mk

2019-03-21 Thread Jung-uk Kim
Author: jkim Date: Thu Mar 21 21:45:02 2019 New Revision: 345388 URL: https://svnweb.freebsd.org/changeset/base/345388 Log: Catch up with Clang 8.0. Modified: head/share/examples/etc/make.conf head/share/mk/bsd.cpu.mk Modified: head/share/examples/etc/make.conf

svn commit: r345389 - in stable/11: libexec/tftpd usr.bin/tftp

2019-03-21 Thread Alan Somers
Author: asomers Date: Thu Mar 21 21:45:18 2019 New Revision: 345389 URL: https://svnweb.freebsd.org/changeset/base/345389 Log: MFC r336609: Fix several Coverity warnings in tftp Some of the changes are in the libexec/tftpd directory, but to functions that are only used by tftp(1) (th

svn commit: r345387 - in head/share: examples/etc mk

2019-03-21 Thread Jung-uk Kim
Author: jkim Date: Thu Mar 21 21:43:23 2019 New Revision: 345387 URL: https://svnweb.freebsd.org/changeset/base/345387 Log: Catch up with Clang 7.0. MFC after:3 days Modified: head/share/examples/etc/make.conf head/share/mk/bsd.cpu.mk Modified: head/share/examples/etc/make.conf ==

svn commit: r345385 - head/sys/dev/smartpqi

2019-03-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 21 21:14:25 2019 New Revision: 345385 URL: https://svnweb.freebsd.org/changeset/base/345385 Log: Fix smartpqi(4) malloc tag and description to match the driver name. No functional changes. Reviewed by: sbruno MFC after:2 weeks Sponsored by: Klara Inc.

svn commit: r345384 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Mark Johnston
Author: markj Date: Thu Mar 21 20:07:50 2019 New Revision: 345384 URL: https://svnweb.freebsd.org/changeset/base/345384 Log: Use an explicit comparison with VM_GUEST_NO. Reported by: jhb MFC with: r345359 Sponsored by: The FreeBSD Foundation Modified: head/sys/cddl/dev/dtrace/am

svn commit: r345382 - in head/sys: amd64/amd64 i386/i386 vm

2019-03-21 Thread Mark Johnston
Author: markj Date: Thu Mar 21 19:52:50 2019 New Revision: 345382 URL: https://svnweb.freebsd.org/changeset/base/345382 Log: Disallow preemptive creation of wired superpage mappings. There are some unusual cases where a process may cause an mlock()ed range of memory to be unmapped. If th

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Warner Losh
On Thu, Mar 21, 2019 at 1:32 PM Mark Johnston wrote: > On Thu, Mar 21, 2019 at 10:44:49PM +1100, Bruce Evans wrote: > > On Wed, 20 Mar 2019, Mark Johnston wrote: > > > > > On Wed, Mar 20, 2019 at 08:20:18PM -0700, Rodney W. Grimes wrote: > > >>> Author: markj > > >>> Date: Thu Mar 21 02:52:22 201

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Mark Johnston
On Thu, Mar 21, 2019 at 10:44:49PM +1100, Bruce Evans wrote: > On Wed, 20 Mar 2019, Mark Johnston wrote: > > > On Wed, Mar 20, 2019 at 08:20:18PM -0700, Rodney W. Grimes wrote: > >>> Author: markj > >>> Date: Thu Mar 21 02:52:22 2019 > >>> New Revision: 345359 > >>> URL: https://svnweb.freebsd.org

Re: svn commit: r345380 - head/lib/libc/gen

2019-03-21 Thread Bruce Evans
On Thu, 21 Mar 2019, Conrad Meyer wrote: Log: arc4random: Adjust example code to use uniform() API This changes the example from correct to broken. I see 4 bugs: 1. The log message says that the example uses uniform(), but it actually uses arc4random_uniform(). PR:236678

Re: svn commit: r345365 - head/bin/date

2019-03-21 Thread Warner Losh
On Thu, Mar 21, 2019 at 9:24 AM Ian Lepore wrote: > On Thu, 2019-03-21 at 06:47 +, Warner Losh wrote: > > Author: imp > > Date: Thu Mar 21 06:47:23 2019 > > New Revision: 345365 > > URL: https://svnweb.freebsd.org/changeset/base/345365 > > > > Log: > > Remove -n flag, fix setting date / tim

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread John Baldwin
On 3/20/19 7:52 PM, Mark Johnston wrote: > Author: markj > Date: Thu Mar 21 02:52:22 2019 > New Revision: 345359 > URL: https://svnweb.freebsd.org/changeset/base/345359 > > Log: > Don't attempt to measure TSC skew when running as a VM guest. > > It simply doesn't work in general since VCPUs

svn commit: r345381 - head/sys/netpfil/ipfw

2019-03-21 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 21 16:15:29 2019 New Revision: 345381 URL: https://svnweb.freebsd.org/changeset/base/345381 Log: Always create ipfw(4) hooks as long as module is loaded. Now enabling ipfw(4) with sysctls controls only linkage of hooks to default heads. When module is loaded

Re: svn commit: r345365 - head/bin/date

2019-03-21 Thread Ian Lepore
On Thu, 2019-03-21 at 06:47 +, Warner Losh wrote: > Author: imp > Date: Thu Mar 21 06:47:23 2019 > New Revision: 345365 > URL: https://svnweb.freebsd.org/changeset/base/345365 > > Log: > Remove -n flag, fix setting date / time > IMO, the -n flag should still be accepted, but ignored, to

svn commit: r345380 - head/lib/libc/gen

2019-03-21 Thread Conrad Meyer
Author: cem Date: Thu Mar 21 14:45:08 2019 New Revision: 345380 URL: https://svnweb.freebsd.org/changeset/base/345380 Log: arc4random: Adjust example code to use uniform() API PR: 236678 Reported by: Andras Farkas Modified: head/lib/libc/gen/arc4random.3 Modified: head/lib

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Bruce Evans
On Thu, 21 Mar 2019, Bruce Evans wrote: On Wed, 20 Mar 2019, Mark Johnston wrote: On Wed, Mar 20, 2019 at 08:20:18PM -0700, Rodney W. Grimes wrote: Author: markj Date: Thu Mar 21 02:52:22 2019 New Revision: 345359 URL: https://svnweb.freebsd.org/changeset/base/345359 Log: Don't attempt to

svn commit: r345378 - stable/11/sys/netpfil/pf

2019-03-21 Thread Kristof Provost
Author: kp Date: Thu Mar 21 14:17:12 2019 New Revision: 345378 URL: https://svnweb.freebsd.org/changeset/base/345378 Log: MFC r345366: pf: Ensure that IP addresses match in ICMP error packets States in pf(4) let ICMP and ICMP6 packets pass if they have a packet in their payload that

svn commit: r345379 - head/release/arm64

2019-03-21 Thread Glen Barber
Author: gjb Date: Thu Mar 21 14:17:55 2019 New Revision: 345379 URL: https://svnweb.freebsd.org/changeset/base/345379 Log: Bump the IMAGE_SIZE for arm64 SoC images to prevent failures due to full filesystem. This makes the size of the arm64 SoC images consistent with armv6 and armv7. M

svn commit: r345377 - in stable/12: sys/netpfil/pf tests/sys/netpfil/pf

2019-03-21 Thread Kristof Provost
Author: kp Date: Thu Mar 21 14:17:10 2019 New Revision: 345377 URL: https://svnweb.freebsd.org/changeset/base/345377 Log: MFC r345366: pf: Ensure that IP addresses match in ICMP error packets States in pf(4) let ICMP and ICMP6 packets pass if they have a packet in their payload that

svn commit: r345376 - head/sys/fs/nullfs

2019-03-21 Thread Konstantin Belousov
Author: kib Date: Thu Mar 21 13:30:48 2019 New Revision: 345376 URL: https://svnweb.freebsd.org/changeset/base/345376 Log: nullfs: fix unmounts when filesystem is active. If vflush() did not completely flushed the mount vnodes queue, either retry for forced unmounts, or give up for non-fo

Re: svn commit: r345359 - in head/sys/cddl/dev/dtrace: amd64 i386

2019-03-21 Thread Bruce Evans
On Wed, 20 Mar 2019, Mark Johnston wrote: On Wed, Mar 20, 2019 at 08:20:18PM -0700, Rodney W. Grimes wrote: Author: markj Date: Thu Mar 21 02:52:22 2019 New Revision: 345359 URL: https://svnweb.freebsd.org/changeset/base/345359 Log: Don't attempt to measure TSC skew when running as a VM gues

svn commit: r345375 - stable/11/usr.sbin/trim

2019-03-21 Thread Eugene Grosbein
Author: eugen Date: Thu Mar 21 11:32:52 2019 New Revision: 345375 URL: https://svnweb.freebsd.org/changeset/base/345375 Log: MFC r345130,r345184: trim(8): add another safety net and more user-friendly error message in verbose mode. Modified: stable/11/usr.sbin/trim/trim.c Directory Properti

svn commit: r345374 - stable/12/usr.sbin/trim

2019-03-21 Thread Eugene Grosbein
Author: eugen Date: Thu Mar 21 11:23:15 2019 New Revision: 345374 URL: https://svnweb.freebsd.org/changeset/base/345374 Log: MFC r345130,r345184: trim(8): add another safety net and more user-friendly error message in verbose mode. Modified: stable/12/usr.sbin/trim/trim.c Modified: stable/

svn commit: r345373 - head/sys/arm64/arm64

2019-03-21 Thread Marcin Wojtas
Author: mw Date: Thu Mar 21 10:51:36 2019 New Revision: 345373 URL: https://svnweb.freebsd.org/changeset/base/345373 Log: Add bus_release_resource() method to nexus on arm64 The nexus module was missing method for releasing bus resources. As a result, it couldn't be released and the bus_r

svn commit: r345372 - head/sys/dev/sdhci

2019-03-21 Thread Bjoern A. Zeeb
Author: bz Date: Thu Mar 21 10:50:36 2019 New Revision: 345372 URL: https://svnweb.freebsd.org/changeset/base/345372 Log: Whitespace cleanup in sdhci.c No functional changes. Replace whitespace by tabs, indent with 4 spaces, coalesce multi-line shorter than 80 characters, MFC after:

svn commit: r345371 - head/sys/dev/ena

2019-03-21 Thread Marcin Wojtas
Author: mw Date: Thu Mar 21 10:46:10 2019 New Revision: 345371 URL: https://svnweb.freebsd.org/changeset/base/345371 Log: Prevent double activation of admin interrupt in ENA The resource is already being activated in the bus_alloc_resource(), because the flag RF_ACTIVE is being passed.

svn commit: r345370 - head/sys/dev/sdhci

2019-03-21 Thread Bjoern A. Zeeb
Author: bz Date: Thu Mar 21 10:23:02 2019 New Revision: 345370 URL: https://svnweb.freebsd.org/changeset/base/345370 Log: Align struct sdhci_slot MMCCAM members. Whitespace only, no functional change. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/de

svn commit: r345369 - head/sys/dev/uart

2019-03-21 Thread Colin Percival
Author: cperciva Date: Thu Mar 21 08:54:34 2019 New Revision: 345369 URL: https://svnweb.freebsd.org/changeset/base/345369 Log: Recognize the Amazon PCI serial device found in a1.* EC2 instances as an NS8250 UART. This is the same as the UART found in EC2 "bare metal" instances, except

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

2019-03-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 21 08:51:32 2019 New Revision: 345368 URL: https://svnweb.freebsd.org/changeset/base/345368 Log: Attach the vmci(4) man page to the build. Looks like it's been missed by mistake. MFC after:2 weeks Sponsored by: DARPA, AFRL Modified: head/share/man/man

svn commit: r345367 - head/tests/sys/netpfil/pf

2019-03-21 Thread Kristof Provost
Author: kp Date: Thu Mar 21 08:15:46 2019 New Revision: 345367 URL: https://svnweb.freebsd.org/changeset/base/345367 Log: pf tests: Move Sniffer to its own file Make it easier to re-use the sniffer class in other test support scripts. Added: head/tests/sys/netpfil/pf/sniffer.py (cont

svn commit: r345366 - head/sys/netpfil/pf

2019-03-21 Thread Kristof Provost
Author: kp Date: Thu Mar 21 08:09:52 2019 New Revision: 345366 URL: https://svnweb.freebsd.org/changeset/base/345366 Log: pf: Ensure that IP addresses match in ICMP error packets States in pf(4) let ICMP and ICMP6 packets pass if they have a packet in their payload that matches an exiting