svn commit: r336121 - head/usr.bin/gzip

2018-07-08 Thread Xin LI
Author: delphij Date: Mon Jul 9 06:19:33 2018 New Revision: 336121 URL: https://svnweb.freebsd.org/changeset/base/336121 Log: Don't delete outfile unconditionally. MFC after:1 month Modified: head/usr.bin/gzip/gzip.c Modified: head/usr.bin/gzip/gzip.c ==

svn commit: r336120 - stable/11/sbin/fsck_msdosfs

2018-07-08 Thread Xin LI
Author: delphij Date: Mon Jul 9 06:02:45 2018 New Revision: 336120 URL: https://svnweb.freebsd.org/changeset/base/336120 Log: MFC r335559: Don't bail out when we find primary and secondary bootblocks miscompare. We do not have code to fix this situation, and the mismatch does not preve

svn commit: r336119 - stable/11/usr.bin/systat

2018-07-08 Thread Xin LI
Author: delphij Date: Mon Jul 9 05:56:13 2018 New Revision: 336119 URL: https://svnweb.freebsd.org/changeset/base/336119 Log: MFC r335469: Don't leak tmpstr. Modified: stable/11/usr.bin/systat/cmds.c Directory Properties: stable/11/ (props changed) Modified: stable/11/usr.bin/systat/cmd

svn commit: r336118 - in head/stand: zfs zfs32

2018-07-08 Thread Warner Losh
Author: imp Date: Mon Jul 9 03:57:23 2018 New Revision: 336118 URL: https://svnweb.freebsd.org/changeset/base/336118 Log: Remove dirs that git svn should have removed but didn't. Deleted: head/stand/zfs/ head/stand/zfs32/ ___ svn-src-all@freebsd.

Re: svn commit: r336113 - head/usr.bin/gzip

2018-07-08 Thread Pedro Giffuni
On 07/08/18 17:45, Poul-Henning Kamp wrote: In message <201807082239.w68mdxwd053...@repo.freebsd.org>, "Pedro F. Giffuni" writes: New version: usize = buf[4]; usize |= (unsigned int)buf[5] << 8; usize |= (unsigned int)buf[6] << 16; usize |= (unsigned i

svn commit: r336115 - head/lib/libiconv_modules/mapper_std

2018-07-08 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jul 8 23:22:04 2018 New Revision: 336115 URL: https://svnweb.freebsd.org/changeset/base/336115 Log: libiconv: correct undefined behavior. Detected on NetBSD: # nm /usr/lib/libc.so|grep sanit /public/src.git/lib/libc/citrus/modules/citrus_mapper_std.c:173:8:

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

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 23:12:27 2018 New Revision: 336114 URL: https://svnweb.freebsd.org/changeset/base/336114 Log: Remove stray space from PNP string. Modified: head/sys/dev/ena/ena.c Modified: head/sys/dev/ena/ena.c ===

Re: svn commit: r336025 - in head/sys: amd64/include i386/include

2018-07-08 Thread Peter Jeremy
On 2018-Jul-06 09:47:00 -0600, Warner Losh wrote: >On UP systems, these additional opcodes are harmless. They take a few extra >cycles (since they lock an uncontested bus) and add a couple extra memory >barriers (which will be NOPs). On MP systems, atomics now work by default. Atomics in modules

Re: svn commit: r336113 - head/usr.bin/gzip

2018-07-08 Thread Poul-Henning Kamp
In message <201807082239.w68mdxwd053...@repo.freebsd.org>, "Pedro F. Giffuni" writes: > New version: > > usize = buf[4]; > usize |= (unsigned int)buf[5] << 8; > usize |= (unsigned int)buf[6] << 16; > usize |= (unsigned int)buf[7] << 24; Why not use the functions i

svn commit: r336113 - head/usr.bin/gzip

2018-07-08 Thread Pedro F. Giffuni
Author: pfg Date: Sun Jul 8 22:39:33 2018 New Revision: 336113 URL: https://svnweb.freebsd.org/changeset/base/336113 Log: gzip: fix for undefined behavior. Unportable left shift reported with MKSANITIZER=yes USE_SANITIZER=undefined: # progress -zf ./games.tgz tar -xp -C "./" -f -

svn commit: r336112 - head/sys/arm/conf

2018-07-08 Thread Ian Lepore
Author: ian Date: Sun Jul 8 21:14:43 2018 New Revision: 336112 URL: https://svnweb.freebsd.org/changeset/base/336112 Log: Oops, fix a typo: imx_snvs should be imx6_snvs. Modified: head/sys/arm/conf/GENERIC head/sys/arm/conf/IMX6 Modified: head/sys/arm/conf/GENERIC ===

svn commit: r336111 - in head/sys/arm: conf freescale/imx

2018-07-08 Thread Ian Lepore
Author: ian Date: Sun Jul 8 21:09:52 2018 New Revision: 336111 URL: https://svnweb.freebsd.org/changeset/base/336111 Log: Move device statements out of std.imx* and into kernel config files. In the armv4/5 world device statements in these files were common, but in the v6/7 world, other s

svn commit: r336110 - head/sys/dev/et

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:40:28 2018 New Revision: 336110 URL: https://svnweb.freebsd.org/changeset/base/336110 Log: Add PNP info to PCI attachment of et driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Differential Revi

svn commit: r336109 - head/sys/dev/ipw

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:40:23 2018 New Revision: 336109 URL: https://svnweb.freebsd.org/changeset/base/336109 Log: Add PNP info to PCI attachment of ipw driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Differential Rev

svn commit: r336106 - head/sys/dev/ciss

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:40:10 2018 New Revision: 336106 URL: https://svnweb.freebsd.org/changeset/base/336106 Log: Add PNP info to PCI attachments of ciss driver Move the module declaration so that it's after the device table. The PNP_INFO must come after the module declaration.

svn commit: r336108 - head/sys/dev/ixgbe

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:40:19 2018 New Revision: 336108 URL: https://svnweb.freebsd.org/changeset/base/336108 Log: Add PNP info to PCI attachment of ixv driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Differential Rev

svn commit: r336107 - head/sys/dev/ixgbe

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:40:14 2018 New Revision: 336107 URL: https://svnweb.freebsd.org/changeset/base/336107 Log: Add PNP info to PCI attachment of ix driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Differential Revi

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

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:39:38 2018 New Revision: 336099 URL: https://svnweb.freebsd.org/changeset/base/336099 Log: Add PNP info to PCI attachment of ena driver Make unsigned values uint16_t for pnp table. They are properly uint16_t befause they are 16-bit PCI IDs. The PNP_INFO lan

svn commit: r336104 - head/sys/dev/bge

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:40:01 2018 New Revision: 336104 URL: https://svnweb.freebsd.org/changeset/base/336104 Log: Add PNP info to PCI attachments of bge driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Differential Re

svn commit: r336105 - head/sys/dev/dc

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:40:06 2018 New Revision: 336105 URL: https://svnweb.freebsd.org/changeset/base/336105 Log: Add PNP info to PCI attachment of dc driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Differential Revi

svn commit: r336101 - head/sys/dev/gem

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:39:48 2018 New Revision: 336101 URL: https://svnweb.freebsd.org/changeset/base/336101 Log: Add PNP info to PCI attachment of gem driver Move device table earlier in the file so we can reference it in the PNP_INFO macro. Reviewed by: imp, chuck Submit

svn commit: r336103 - head/sys/dev/bfe

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:39:57 2018 New Revision: 336103 URL: https://svnweb.freebsd.org/changeset/base/336103 Log: Add PNP info to PCI attachments of bfe driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Differential Re

svn commit: r336102 - head/sys/dev/alc

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:39:52 2018 New Revision: 336102 URL: https://svnweb.freebsd.org/changeset/base/336102 Log: Add PNP info to PCI attachment of alc driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Pull Request: ht

svn commit: r336100 - head/sys/dev/fxp

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:39:43 2018 New Revision: 336100 URL: https://svnweb.freebsd.org/changeset/base/336100 Log: Add PNP info to PCI attachment of fxp driver Reviewed by: imp, chuck Submitted by: Lakhan Shiva Kamireddy Sponsored by: Google, Inc. (GSoC 2018) Pull Request: ht

svn commit: r336098 - head/sys/dev/cas

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 20:39:23 2018 New Revision: 336098 URL: https://svnweb.freebsd.org/changeset/base/336098 Log: Add PNP info to PCI attachment of cas driver Move module delcaration to be after device table. The PNP_INFO must follow the module declaration. Reviewed by: imp,

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

2018-07-08 Thread Mark Johnston
Author: markj Date: Sun Jul 8 20:38:46 2018 New Revision: 336097 URL: https://svnweb.freebsd.org/changeset/base/336097 Log: Reuse the PV entry when updating a mapping in pmap_enter(). This addresses a problem described in r335784, where memory pressure forces reclamation of a PV chunk an

svn commit: r336096 - in head: share/man/man4/man4.arm sys/arm/freescale/imx sys/modules/imx sys/modules/imx/imx6_snvs

2018-07-08 Thread Ian Lepore
Author: ian Date: Sun Jul 8 19:35:41 2018 New Revision: 336096 URL: https://svnweb.freebsd.org/changeset/base/336096 Log: Make the imx6_snvs driver usable as a module, add pnp info. Add a manpage. Added: head/share/man/man4/man4.arm/imx6_snvs.4 (contents, props changed) head/sys/modules

svn commit: r336095 - head/sys/sys

2018-07-08 Thread Matt Macy
Author: mmacy Date: Sun Jul 8 19:35:29 2018 New Revision: 336095 URL: https://svnweb.freebsd.org/changeset/base/336095 Log: critical_{enter, exit}: add missing compiler barrier Reported by: markj Modified: head/sys/sys/systm.h Modified: head/sys/sys/systm.h ===

Re: svn commit: r335879 - in head/sys: conf kern sys

2018-07-08 Thread Matthew Macy
On Sun, Jul 8, 2018 at 7:22 AM, Mark Johnston wrote: > On Tue, Jul 03, 2018 at 01:55:10AM +, Matt Macy wrote: >> Author: mmacy >> Date: Tue Jul 3 01:55:09 2018 >> New Revision: 335879 >> URL: https://svnweb.freebsd.org/changeset/base/335879 >> >> Log: >> make critical_{enter, exit} inline >

svn commit: r336094 - head/sys/arm/freescale/imx

2018-07-08 Thread Ian Lepore
Author: ian Date: Sun Jul 8 18:44:42 2018 New Revision: 336094 URL: https://svnweb.freebsd.org/changeset/base/336094 Log: Catch up with improvements in RTC handling... It's no longer necessary to ignore the timestamp passed in to settime() due to inaccuracy, the core routines now pass in a

svn commit: r336093 - head/sys/fs/nfsserver

2018-07-08 Thread Rick Macklem
Author: rmacklem Date: Sun Jul 8 18:15:55 2018 New Revision: 336093 URL: https://svnweb.freebsd.org/changeset/base/336093 Log: Fix the kernel part of pnfsdscopymr() to handle holes in the file being copied. If a mirrored DS is being recovered that has a lot of large sparse files, pnfsds

svn commit: r336092 - head/sys/i386/i386

2018-07-08 Thread Alan Cox
Author: alc Date: Sun Jul 8 16:51:54 2018 New Revision: 336092 URL: https://svnweb.freebsd.org/changeset/base/336092 Log: Invalidate the mapping before updating its physical address. Doing so ensures that all threads sharing the pmap have a consistent view of the mapping. This fixes the

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Ian Lepore
On Sun, 2018-07-08 at 12:14 -0400, Mark Johnston wrote: > On Sun, Jul 08, 2018 at 09:58:35AM -0600, Warner Losh wrote: > > > > On Sun, Jul 8, 2018 at 9:55 AM, Sean Bruno > > wrote: > > > > > > > > > > > > > > On 07/08/18 09:26, Mark Johnston wrote: > > > > > > > > On Sun, Jul 08, 2018 at 09:

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Mark Johnston
On Sun, Jul 08, 2018 at 10:23:52AM -0600, Warner Losh wrote: > On Sun, Jul 8, 2018 at 10:14 AM, Mark Johnston wrote: > > Being unfamiliar with FDT, could I ask you to explain how the code could > > be using phandles to find the PHYs? > > > > Allwinner provides a good example, and says it in code

svn commit: r336091 - stable/11/share/man/man9

2018-07-08 Thread Mark Johnston
Author: markj Date: Sun Jul 8 16:37:50 2018 New Revision: 336091 URL: https://svnweb.freebsd.org/changeset/base/336091 Log: MFC r335660: Add missing MLINK. Modified: stable/11/share/man/man9/Makefile Directory Properties: stable/11/ (props changed) Modified: stable/11/share/man/man9/M

svn commit: r336090 - head/lib/msun/src

2018-07-08 Thread Mark Johnston
Author: markj Date: Sun Jul 8 16:33:58 2018 New Revision: 336090 URL: https://svnweb.freebsd.org/changeset/base/336090 Log: Reduce diff between msun/src/e_pow.c and msun/src/e_powf.c. Remove unnecessary casts, use integer literal constants instead of floating point constants where possib

svn commit: r336089 - head/lib/msun/src

2018-07-08 Thread Mark Johnston
Author: markj Date: Sun Jul 8 16:26:13 2018 New Revision: 336089 URL: https://svnweb.freebsd.org/changeset/base/336089 Log: Fix whitespace issues in bessel function routines. PR: 229423 Submitted by: Steve Kargl MFC after:3 days Modified: head/lib/msun/src/e_j0.c he

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Warner Losh
On Sun, Jul 8, 2018 at 10:14 AM, Mark Johnston wrote: > On Sun, Jul 08, 2018 at 09:58:35AM -0600, Warner Losh wrote: > > On Sun, Jul 8, 2018 at 9:55 AM, Sean Bruno wrote: > > > > > > > > > > > On 07/08/18 09:26, Mark Johnston wrote: > > > > On Sun, Jul 08, 2018 at 09:10:27AM -0600, Sean Bruno wr

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Mark Johnston
On Sun, Jul 08, 2018 at 09:58:35AM -0600, Warner Losh wrote: > On Sun, Jul 8, 2018 at 9:55 AM, Sean Bruno wrote: > > > > > > > On 07/08/18 09:26, Mark Johnston wrote: > > > On Sun, Jul 08, 2018 at 09:10:27AM -0600, Sean Bruno wrote: > > >> > > >> > > >> On 07/07/18 11:43, Mark Johnston wrote: > >

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Sean Bruno
> > ofwdump isn't very useful, you'll get much nicer output with: > >   sysctl -b hw.fdt.dtb | dtc -I dtb -O dts >somefile.dts > > BTW, the whole idea of searching for a phy by walking the node > hierarchy doing string comparisons on node names sounds pretty > antithetical to the whole design o

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Warner Losh
On Sun, Jul 8, 2018 at 9:55 AM, Sean Bruno wrote: > > > On 07/08/18 09:26, Mark Johnston wrote: > > On Sun, Jul 08, 2018 at 09:10:27AM -0600, Sean Bruno wrote: > >> > >> > >> On 07/07/18 11:43, Mark Johnston wrote: > >>> On Sat, Jun 09, 2018 at 02:47:49PM +, Andrew Turner wrote: > Author

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Sean Bruno
On 07/08/18 09:26, Mark Johnston wrote: > On Sun, Jul 08, 2018 at 09:10:27AM -0600, Sean Bruno wrote: >> >> >> On 07/07/18 11:43, Mark Johnston wrote: >>> On Sat, Jun 09, 2018 at 02:47:49PM +, Andrew Turner wrote: Author: andrew Date: Sat Jun 9 14:47:49 2018 New Revision: 3348

svn commit: r336088 - head/include

2018-07-08 Thread Konstantin Belousov
Author: kib Date: Sun Jul 8 15:48:47 2018 New Revision: 336088 URL: https://svnweb.freebsd.org/changeset/base/336088 Log: Add a missed chunk r335939. Noted by: David Carlier MFC after:9 days Differential revision:https://reviews.freebsd.org/D16178 Modified: head/incl

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Ian Lepore
On Sun, 2018-07-08 at 11:26 -0400, Mark Johnston wrote: > On Sun, Jul 08, 2018 at 09:10:27AM -0600, Sean Bruno wrote: > > > > > > > > On 07/07/18 11:43, Mark Johnston wrote: > > > > > > On Sat, Jun 09, 2018 at 02:47:49PM +, Andrew Turner wrote: > > > > > > > > Author: andrew > > > > Date:

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Mark Johnston
On Sun, Jul 08, 2018 at 09:10:27AM -0600, Sean Bruno wrote: > > > On 07/07/18 11:43, Mark Johnston wrote: > > On Sat, Jun 09, 2018 at 02:47:49PM +, Andrew Turner wrote: > >> Author: andrew > >> Date: Sat Jun 9 14:47:49 2018 > >> New Revision: 334880 > >> URL: https://svnweb.freebsd.org/chang

Re: svn commit: r334880 - head/sys/dev/vnic

2018-07-08 Thread Sean Bruno
On 07/07/18 11:43, Mark Johnston wrote: > On Sat, Jun 09, 2018 at 02:47:49PM +, Andrew Turner wrote: >> Author: andrew >> Date: Sat Jun 9 14:47:49 2018 >> New Revision: 334880 >> URL: https://svnweb.freebsd.org/changeset/base/334880 >> >> Log: >> In the ThunderX BGX network driver we were

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

2018-07-08 Thread Rodney W. Grimes
> On Sat, Jul 7, 2018 at 7:06 PM, Rodney W. Grimes < > free...@pdx.rh.cn85.dnsmgr.net> wrote: > > > > On Sat, Jul 7, 2018, 5:40 PM Eugene Grosbein wrote: > > > > > > > 08.07.2018 4:38, Warner Losh wrote: > > > > > > > > > On Sat, Jul 7, 2018, 4:14 PM Eugene Grosbein > > >

Re: svn commit: r335879 - in head/sys: conf kern sys

2018-07-08 Thread Mark Johnston
On Tue, Jul 03, 2018 at 01:55:10AM +, Matt Macy wrote: > Author: mmacy > Date: Tue Jul 3 01:55:09 2018 > New Revision: 335879 > URL: https://svnweb.freebsd.org/changeset/base/335879 > > Log: > make critical_{enter, exit} inline > > Avoid pulling in all of the dependencies by > autom

svn commit: r336087 - in stable/11/sys/modules: pflog pfsync

2018-07-08 Thread Kristof Provost
Author: kp Date: Sun Jul 8 10:54:11 2018 New Revision: 336087 URL: https://svnweb.freebsd.org/changeset/base/336087 Log: pflog/pfsync: Fix module build with VIMAGE=yes pflog and pfsync's module Makefile fails to include opt_global.h to SRCS leading to build error for VIMAGE case. Re

svn commit: r336086 - head/usr.sbin/newsyslog

2018-07-08 Thread Ed Schouten
Author: ed Date: Sun Jul 8 10:08:24 2018 New Revision: 336086 URL: https://svnweb.freebsd.org/changeset/base/336086 Log: Use the FQDN in the newsyslog log message when RFC 5424 is enabled. The RFC 5424 spec mentions that logging FQDNs over short hostnames is preferred. Alter this code, s

svn commit: r336084 - in head/stand: . efi/boot1 efi/loader i386/gptzfsboot i386/loader i386/zfsboot i386/zfsloader libsa libsa/zfs sparc64/loader sparc64/zfsloader userboot/userboot zfs zfs32

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 07:42:49 2018 New Revision: 336084 URL: https://svnweb.freebsd.org/changeset/base/336084 Log: Move ZFS files into libsa Move the libzfs stuff into libsa. There's no need for it to be a separate library. The separate library adds to the issues of build orderi

svn commit: r336085 - in head/stand: common i386/libi386 i386/loader ofw/libofw sparc64/loader userboot/userboot

2018-07-08 Thread Warner Losh
Author: imp Date: Sun Jul 8 07:42:58 2018 New Revision: 336085 URL: https://svnweb.freebsd.org/changeset/base/336085 Log: Stop using ../zfs/libzfs.h but instead use libzfs.h. While ../zfs/libzfs.h mostly works, there are a few situations where it does not. Eliminate the problem by using