svn commit: r321321 - head/sys/dev/netmap

2017-07-20 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 21 03:59:56 2017 New Revision: 321321 URL: https://svnweb.freebsd.org/changeset/base/321321 Log: Restore the changes done in r313982: Replace zero with NULL for pointers. Spotted by: Harry Schmalzbauer MFC after:1 week Sponsored by: Rubicon

svn commit: r321320 - head/sys/conf

2017-07-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Jul 21 03:48:09 2017 New Revision: 321320 URL: https://svnweb.freebsd.org/changeset/base/321320 Log: Compile the atomic64 emulation for powerpcspe With this, ZFS builds for and runs (not quite stablely) on powerpcspe. Modified: head/sys/conf/files.powerpc

svn commit: r321319 - head/sys/net

2017-07-20 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 21 03:42:09 2017 New Revision: 321319 URL: https://svnweb.freebsd.org/changeset/base/321319 Log: Update netmap_user.h with the current version of netmap. This file should have been committed together with r319881. MFC after:1 week MFC with: r319881

svn commit: r321318 - in head/sys: conf powerpc/cpufreq

2017-07-20 Thread Justin Hibbits
Author: jhibbits Date: Fri Jul 21 03:40:05 2017 New Revision: 321318 URL: https://svnweb.freebsd.org/changeset/base/321318 Log: Add cpufreq support for P1022 and MPC8536 P1022 and MPC8536 include a 'jog' feature for clock control (jog being a slower form of run mode). This is done by

svn commit: r321317 - head/sys/dev/netmap

2017-07-20 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 21 03:28:35 2017 New Revision: 321317 URL: https://svnweb.freebsd.org/changeset/base/321317 Log: Do not allow the use of the loopback interface in netmap. The generic support in netmap send the packets using if_transmit() and the loopback do not support packets

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

2017-07-20 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 21 03:04:55 2017 New Revision: 321316 URL: https://svnweb.freebsd.org/changeset/base/321316 Log: Fix a couple of typos in a comment. MFC after:1 week Sponsored by: Rubicon Communications, LLC (Netgate) Modified: head/sys/netpfil/ipfw/ip_fw_table.c

svn commit: r321315 - head/contrib/netbsd-tests/lib/libc/regex/data

2017-07-20 Thread Kyle Evans
Author: kevans Date: Fri Jul 21 01:35:55 2017 New Revision: 321315 URL: https://svnweb.freebsd.org/changeset/base/321315 Log: Add regression test for recent regex(3) breakage BREs recently became prematurely sensitive to the branching operator, which outright broke expressions that used

svn commit: r321314 - head/sys/fs/nfsclient

2017-07-20 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 21 00:14:43 2017 New Revision: 321314 URL: https://svnweb.freebsd.org/changeset/base/321314 Log: r320062 introduced a bug when doing NFSv4.1 mounts against some non-FreeBSD servers. r320062 used nm_rsize, nm_wsize to set the maximum request/response sizes

svn commit: r321313 - head/sys/fs/nfsclient

2017-07-20 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 20 23:59:47 2017 New Revision: 321313 URL: https://svnweb.freebsd.org/changeset/base/321313 Log: Revert r321308. I'll commit a better fix soon. Modified: head/sys/fs/nfsclient/nfs_clrpcops.c Modified: head/sys/fs/nfsclient/nfs_clrpcops.c

svn commit: r321308 - head/sys/fs/nfsclient

2017-07-20 Thread Rick Macklem
Author: rmacklem Date: Thu Jul 20 23:15:50 2017 New Revision: 321308 URL: https://svnweb.freebsd.org/changeset/base/321308 Log: r320062 introduced a bug when doing NFSv4.1 mounts against some non-FreeBSD servers. r320062 used nm_rsize, nm_wsize to set the maximum request/response sizes

Re: svn commit: r321284 - in head/sys: amd64/include sys

2017-07-20 Thread Ryan Libby
On Thu, Jul 20, 2017 at 3:33 AM, Konstantin Belousov wrote: > On Thu, Jul 20, 2017 at 02:08:30AM -0700, Ryan Libby wrote: >> On Thu, Jul 20, 2017 at 1:01 AM, Bruce Evans wrote: [...] >> > This bug is not very common. There seem to be no instances of it

svn commit: r321306 - head/sys/net

2017-07-20 Thread Dimitry Andric
Author: dim Date: Thu Jul 20 20:28:31 2017 New Revision: 321306 URL: https://svnweb.freebsd.org/changeset/base/321306 Log: Fix printf format warning in iflib.c Clang 5.0.0 got better warnings about printf format strings using %zd, and this leads to the following -Werror warning on e.g.

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

2017-07-20 Thread Dimitry Andric
Author: dim Date: Thu Jul 20 20:27:19 2017 New Revision: 321305 URL: https://svnweb.freebsd.org/changeset/base/321305 Log: Fix printf format warning in zfs_module.c Clang 5.0.0 got better warnings about print format strings using %zd, and this leads to the following -Werror warning on

svn commit: r321302 - head/sys/conf

2017-07-20 Thread Ed Maste
Author: emaste Date: Thu Jul 20 18:22:49 2017 New Revision: 321302 URL: https://svnweb.freebsd.org/changeset/base/321302 Log: add arm64 objcopy output target for embedfs PR: 220877 Submitted by: David NewHamlet MFC after:1 week Modified: head/sys/conf/kern.pre.mk

svn commit: r321301 - head/share/misc

2017-07-20 Thread Matt Joras
Author: mjoras Date: Thu Jul 20 18:14:27 2017 New Revision: 321301 URL: https://svnweb.freebsd.org/changeset/base/321301 Log: Add myself and mentor line to committers-src.dot. Approved by: rstone (mentor) Differential Revision:https://reviews.freebsd.org/D11672 Modified:

svn commit: r321299 - head/usr.sbin/acpi/acpidump

2017-07-20 Thread Ed Maste
Author: emaste Date: Thu Jul 20 17:36:17 2017 New Revision: 321299 URL: https://svnweb.freebsd.org/changeset/base/321299 Log: acpidump: add GIC ITS srat type From ACPI 6.2, 5.2.16.5 MFC after:1 week Sponsored by: The FreeBSD Foundation Modified:

svn commit: r321298 - head/usr.sbin/acpi/acpidump

2017-07-20 Thread Ed Maste
Author: emaste Date: Thu Jul 20 17:31:27 2017 New Revision: 321298 URL: https://svnweb.freebsd.org/changeset/base/321298 Log: acpidump: add ACPI NFIT (NVDIMM Firmware Interface Table) Submitted by: Guangyuan Yang MFC after:3 weeks Sponsored by: The FreeBSD

svn commit: r321295 - in head/lib: libc/sys librt

2017-07-20 Thread Alan Somers
Author: asomers Date: Thu Jul 20 16:24:29 2017 New Revision: 321295 URL: https://svnweb.freebsd.org/changeset/base/321295 Log: Remove some private symbols from librt Private functions like __aio_read and _aio_read were exposed in FBSDprivate_1.0 by r169090, even though they've never been

svn commit: r321294 - head/usr.sbin/acpi/acpidump

2017-07-20 Thread Ed Maste
Author: emaste Date: Thu Jul 20 15:52:36 2017 New Revision: 321294 URL: https://svnweb.freebsd.org/changeset/base/321294 Log: acpidump: use C99 designated initializers Submitted by: Guangyuan Yang Sponsored by: The FreeBSD Foundation Differential Revision:

svn commit: r321293 - head/bin/date

2017-07-20 Thread Ed Maste
Author: emaste Date: Thu Jul 20 15:28:48 2017 New Revision: 321293 URL: https://svnweb.freebsd.org/changeset/base/321293 Log: date: avoid crash on invalid time localtime(3) returns NULL when passed an invalid time_t but date(1) previously did not handle it. Exit with an error in that

svn commit: r321292 - head/sys/netinet

2017-07-20 Thread Michael Tuexen
Author: tuexen Date: Thu Jul 20 14:50:13 2017 New Revision: 321292 URL: https://svnweb.freebsd.org/changeset/base/321292 Log: Deal with listening socket correctly. Modified: head/sys/netinet/sctp_os_bsd.h Modified: head/sys/netinet/sctp_os_bsd.h

svn commit: r321289 - head/sys/netinet

2017-07-20 Thread Michael Tuexen
Author: tuexen Date: Thu Jul 20 11:09:33 2017 New Revision: 321289 URL: https://svnweb.freebsd.org/changeset/base/321289 Log: Fix the explicit EOR mode. If the final messages is not complete, send an ABORT. Joint work with rrs@ MFC after:1 week Modified:

Re: svn commit: r321284 - in head/sys: amd64/include sys

2017-07-20 Thread Konstantin Belousov
On Thu, Jul 20, 2017 at 02:08:30AM -0700, Ryan Libby wrote: > On Thu, Jul 20, 2017 at 1:01 AM, Bruce Evans wrote: > > On Thu, 20 Jul 2017, Ryan Libby wrote: > >> Modified: head/sys/amd64/include/efi.h > >> > >>

Re: svn commit: r321284 - in head/sys: amd64/include sys

2017-07-20 Thread Bruce Evans
On Thu, 20 Jul 2017, Ryan Libby wrote: On Thu, Jul 20, 2017 at 1:01 AM, Bruce Evans wrote: On Thu, 20 Jul 2017, Ryan Libby wrote: Modified: head/sys/amd64/include/efi.h == ---

Re: svn commit: r321284 - in head/sys: amd64/include sys

2017-07-20 Thread Ryan Libby
On Thu, Jul 20, 2017 at 1:01 AM, Bruce Evans wrote: > On Thu, 20 Jul 2017, Ryan Libby wrote: >> Modified: head/sys/amd64/include/efi.h >> >> == >> --- head/sys/amd64/include/efi.hThu Jul 20

Re: svn commit: r321284 - in head/sys: amd64/include sys

2017-07-20 Thread Bruce Evans
On Thu, 20 Jul 2017, Ryan Libby wrote: Log: efi: restrict visibility of EFIABI_ATTR-declared functions In-tree gcc (4.2) doesn't understand __attribute__((ms_abi)) (EFIABI_ATTR). Avoid declaring functions with that attribute when the compiler is detected to be gcc < 4.4. Thanks. I used

svn commit: r321286 - head/sys/dev/hyperv/storvsc

2017-07-20 Thread Sepherosa Ziehau
Author: sephe Date: Thu Jul 20 07:13:26 2017 New Revision: 321286 URL: https://svnweb.freebsd.org/changeset/base/321286 Log: hyperv/storvsc: Force SPC3 for CDROM attached. This unbreaks the CDROM attaching on GEN2 VMs. On GEN1 VMs, CDROM is attached to emulated ATA controller. PR:

svn commit: r321284 - in head/sys: amd64/include sys

2017-07-20 Thread Ryan Libby
Author: rlibby Date: Thu Jul 20 06:47:06 2017 New Revision: 321284 URL: https://svnweb.freebsd.org/changeset/base/321284 Log: efi: restrict visibility of EFIABI_ATTR-declared functions In-tree gcc (4.2) doesn't understand __attribute__((ms_abi)) (EFIABI_ATTR). Avoid declaring functions