svn commit: r326051 - head/usr.sbin/efidp

2017-11-20 Thread Warner Losh
Author: imp Date: Tue Nov 21 07:35:29 2017 New Revision: 326051 URL: https://svnweb.freebsd.org/changeset/base/326051 Log: This program is more useful if it skips leading whitespace when parsing a textual UEFI Device Path, since otherwise it things the passed in path is a filename. While her

svn commit: r326050 - head/usr.sbin/efidp

2017-11-20 Thread Warner Losh
Author: imp Date: Tue Nov 21 07:35:24 2017 New Revision: 326050 URL: https://svnweb.freebsd.org/changeset/base/326050 Log: Document what the command line arguments actually do. List some of the size limitations. Sponsored by: Netflix Modified: head/usr.sbin/efidp/efidp.8 Modified: hea

Re: svn commit: r326045 - head/sys/powerpc/booke

2017-11-20 Thread Marcel Moolenaar
> On Nov 20, 2017, at 7:12 PM, Justin Hibbits wrote: > > Author: jhibbits > Date: Tue Nov 21 03:12:16 2017 > New Revision: 326045 > URL: https://svnweb.freebsd.org/changeset/base/326045 > > Log: > Check the page table before TLB1 in pmap_kextract() > > The vast majority of pmap_kextract() c

svn commit: r326049 - head/sys/geom/part

2017-11-20 Thread Warner Losh
Author: imp Date: Tue Nov 21 06:12:21 2017 New Revision: 326049 URL: https://svnweb.freebsd.org/changeset/base/326049 Log: While the EFI spec allows numbers to be in many forms, libefivar produces hex numbers for the dsn. Since that come is from EDK2, change this for symmetry, by generating

Re: svn commit: r326038 - in head/stand: . arm/uboot efi efi/fdt fdt i386 mips/beri mips/beri/boot2 mips/beri/loader mips/uboot ofw/libofw powerpc/boot1.chrp powerpc/kboot powerpc/ofw powerpc/ps3 powe

2017-11-20 Thread Warner Losh
On Mon, Nov 20, 2017 at 10:30 PM, Mark Millard wrote: > It looks to me like head/stand/powerpc/boot1.chrp/Makefile might > have += vs. = issues compared to the other examples: > > Warner Losh imp at FreeBSD.org wrote on > Mon Nov 20 22:42:21 UTC 2017 : > > Modified: head/stand/powerpc/boot1.chrp/

svn commit: r326048 - head/sys/geom/part

2017-11-20 Thread Warner Losh
Author: imp Date: Tue Nov 21 05:42:13 2017 New Revision: 326048 URL: https://svnweb.freebsd.org/changeset/base/326048 Log: Remove trailing whitespace (one I just introduced and a bunch of others in the same directory). Sponsored by: Netflix Modified: head/sys/geom/part/g_part.c head/

svn commit: r326047 - head/sys/geom/part

2017-11-20 Thread Warner Losh
Author: imp Date: Tue Nov 21 05:35:21 2017 New Revision: 326047 URL: https://svnweb.freebsd.org/changeset/base/326047 Log: Implement efi media tagging for MBR partitioning types. Sponsored by: Netflix Modified: head/sys/geom/part/g_part_mbr.c Modified: head/sys/geom/part/g_part_mbr.c ==

Re: svn commit: r326038 - in head/stand: . arm/uboot efi efi/fdt fdt i386 mips/beri mips/beri/boot2 mips/beri/loader mips/uboot ofw/libofw powerpc/boot1.chrp powerpc/kboot powerpc/ofw powerpc/ps3 powe

2017-11-20 Thread Mark Millard
It looks to me like head/stand/powerpc/boot1.chrp/Makefile might have += vs. = issues compared to the other examples: Warner Losh imp at FreeBSD.org wrote on Mon Nov 20 22:42:21 UTC 2017 : Modified: head/stand/powerpc/boot1.chrp/Makefile ===

svn commit: r326046 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2017-11-20 Thread Ed Maste
Author: emaste Date: Tue Nov 21 03:15:32 2017 New Revision: 326046 URL: https://svnweb.freebsd.org/changeset/base/326046 Log: dt_modtext: return error on archs lacking an implementation Reported by: mmel Reviewed by: markj MFC after:1 week MFC with: r325042 Sponsored by: T

svn commit: r326045 - head/sys/powerpc/booke

2017-11-20 Thread Justin Hibbits
Author: jhibbits Date: Tue Nov 21 03:12:16 2017 New Revision: 326045 URL: https://svnweb.freebsd.org/changeset/base/326045 Log: Check the page table before TLB1 in pmap_kextract() The vast majority of pmap_kextract() calls are looking for a physical memory address, not a device address.

Re: svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Alan Somers
On Mon, Nov 20, 2017 at 6:48 PM, Benjamin Kaduk wrote: > On Mon, Nov 20, 2017 at 7:36 PM, Alan Somers wrote: >> >> >> Are there any automated tools that care about the "Differential >> Revision" field? If so, they should be able to tell the difference >> between GitHub revisions and Phabricator

svn commit: r326043 - in head/sys/mips: include mips

2017-11-20 Thread Landon J. Fuller
Author: landonf Date: Tue Nov 21 01:54:48 2017 New Revision: 326043 URL: https://svnweb.freebsd.org/changeset/base/326043 Log: Preemptively map MIPS INTRNG interrupts on non-FDT MIPS targets This replaces a partial workaround introduced in r305527 that was incompatible with nested INTRNG

Re: svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Benjamin Kaduk
On Mon, Nov 20, 2017 at 7:36 PM, Alan Somers wrote: > > > Are there any automated tools that care about the "Differential > Revision" field? If so, they should be able to tell the difference > between GitHub revisions and Phabricator revisions based on the URL. > Yes, Phabricator itself uses th

Re: svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Warner Losh
On Nov 20, 2017 6:36 PM, "Alan Somers" wrote: On Mon, Nov 20, 2017 at 6:32 PM, Ed Maste wrote: > On 20 November 2017 at 17:55, Alan Somers wrote: >> Author: asomers >> Date: Mon Nov 20 22:55:02 2017 >> New Revision: 326039 >> URL: https://svnweb.freebsd.org/changeset/base/326039 >> >> Log: >>

Re: svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Alan Somers
On Mon, Nov 20, 2017 at 6:32 PM, Ed Maste wrote: > On 20 November 2017 at 17:55, Alan Somers wrote: >> Author: asomers >> Date: Mon Nov 20 22:55:02 2017 >> New Revision: 326039 >> URL: https://svnweb.freebsd.org/changeset/base/326039 >> >> Log: >> Add ATF tests for head(1) >> >> Submitted by:

Re: svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Ed Maste
On 20 November 2017 at 20:32, Ed Maste wrote: > I'd suggest we just go with: > Pull request: https://github.com/freebsd/freebsd/pull/127 In fact, imp@ has already used this format for a number of changes from pull requests, e.g. r314407, r314408, r314422... ___

Re: svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Ed Maste
On 20 November 2017 at 17:55, Alan Somers wrote: > Author: asomers > Date: Mon Nov 20 22:55:02 2017 > New Revision: 326039 > URL: https://svnweb.freebsd.org/changeset/base/326039 > > Log: > Add ATF tests for head(1) > > Submitted by: Fred Schlecter > Reviewed

svn commit: r326042 - head/sys/dev/cxgbe/cudbg

2017-11-20 Thread Navdeep Parhar
Author: np Date: Tue Nov 21 01:18:58 2017 New Revision: 326042 URL: https://svnweb.freebsd.org/changeset/base/326042 Log: cxgbe(4): Fix unsafe mailbox access in cudbg. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/cudbg/cudbg_lib.c Modified: he

svn commit: r326041 - head/usr.sbin/periodic

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 23:51:51 2017 New Revision: 326041 URL: https://svnweb.freebsd.org/changeset/base/326041 Log: periodic: fix exit status for nonexistent arguments When called with an absolute pathname, periodic should attempt to execute every script in that directory. If t

svn commit: r326040 - in head/sys/cam: ata scsi

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 23:45:42 2017 New Revision: 326040 URL: https://svnweb.freebsd.org/changeset/base/326040 Log: Quirk Seagate ST8000AS0003-2HH Like its predecessor ST8000AS0002, this is a drive-managed SMR drive, but doesn't declare that in its ATA identify data. MFC a

svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 22:55:02 2017 New Revision: 326039 URL: https://svnweb.freebsd.org/changeset/base/326039 Log: Add ATF tests for head(1) Submitted by: Fred Schlecter Reviewed by: asomers, jilles MFC after:3 weeks Differential Revisi

svn commit: r326038 - in head/stand: . arm/uboot efi efi/fdt fdt i386 mips/beri mips/beri/boot2 mips/beri/loader mips/uboot ofw/libofw powerpc/boot1.chrp powerpc/kboot powerpc/ofw powerpc/ps3 power...

2017-11-20 Thread Warner Losh
Author: imp Date: Mon Nov 20 22:42:17 2017 New Revision: 326038 URL: https://svnweb.freebsd.org/changeset/base/326038 Log: Move some more common stuff up to Makefile.inc. In particular, the no simd / no float stuff is centeralized here. Also centralise -ffreestanding since it is specified ev

svn commit: r326037 - head/share/mk

2017-11-20 Thread Warner Losh
Author: imp Date: Mon Nov 20 22:41:22 2017 New Revision: 326037 URL: https://svnweb.freebsd.org/changeset/base/326037 Log: Add -mno-avx2 for clang as well as -mno-avx. We don't want either of them when asking for no SIMD. Reviewed by: emaste@ Sponsored by: Netflix Modified: head/shar

Re: svn commit: r304443 - head/sys/cam

2017-11-20 Thread Alan Somers
Can we MFC this now? Perhaps in tandem with 326034 ? On Thu, Aug 18, 2016 at 10:30 PM, Warner Losh wrote: > Author: imp > Date: Fri Aug 19 04:30:29 2016 > New Revision: 304443 > URL: https://svnweb.freebsd.org/changeset/base/304443 > > Log: > Improve the pattern matching so that internal *'s w

svn commit: r326036 - head/sys/cam/scsi

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 22:27:33 2017 New Revision: 326036 URL: https://svnweb.freebsd.org/changeset/base/326036 Log: da(4): Short-circuit unnecessary BIO_FLUSH commands sys/cam/scsi/scsi_da.c Complete BIO_FLUSH commands immediately if the da(4) device hasn't been w

svn commit: r326035 - head/sys/mips/beri

2017-11-20 Thread Brooks Davis
Author: brooks Date: Mon Nov 20 22:18:24 2017 New Revision: 326035 URL: https://svnweb.freebsd.org/changeset/base/326035 Log: Remove a couple variables that are unused after r325790. Reported by: rpokala Modified: head/sys/mips/beri/beri_machdep.c Modified: head/sys/mips/beri/beri_mach

svn commit: r326034 - in head: lib/libcam/tests sys/cam

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 22:01:45 2017 New Revision: 326034 URL: https://svnweb.freebsd.org/changeset/base/326034 Log: Fix multiple bugs in cam_strmatch * Wrongly matches strings that are shorter than the pattern * Fails to match negative character sets * Fails to match characte

Re: svn commit: r325965 - head/libexec/rtld-elf

2017-11-20 Thread Brooks Davis
On Sat, Nov 18, 2017 at 01:21:22PM +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Sat Nov 18 13:21:22 2017 > New Revision: 325965 > URL: https://svnweb.freebsd.org/changeset/base/325965 > > Log: > Increase rtld initial memory pool size from 32kB to 128kB. > > The old value wa

svn commit: r326033 - head/sys/net

2017-11-20 Thread Stephen Hurd
Author: shurd Date: Mon Nov 20 21:57:04 2017 New Revision: 326033 URL: https://svnweb.freebsd.org/changeset/base/326033 Log: Fix off-by-one error in bit_nclear() usage bit_nclear() takes the bit numbers for the start and end bits, not the start and a count. This was resulting in memory c

svn commit: r326032 - head/sbin/camcontrol

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 21:56:25 2017 New Revision: 326032 URL: https://svnweb.freebsd.org/changeset/base/326032 Log: Print ZAC device type in "camcontrol identify" output ZAC (Zoned-device ATA Command set) is the standard for addressing SMR (shingled magnetic recording) devices

svn commit: r326031 - head/sys/fs/msdosfs

2017-11-20 Thread Conrad Meyer
Author: cem Date: Mon Nov 20 21:38:24 2017 New Revision: 326031 URL: https://svnweb.freebsd.org/changeset/base/326031 Log: msdosfs(5): Reflect READONLY attribute in file mode Msdosfs allows setting READONLY by clearing the owner write bit of the file mode. (While here, correct the misspe

svn commit: r326030 - in head: lib usr.bin

2017-11-20 Thread Ed Maste
Author: emaste Date: Mon Nov 20 20:55:41 2017 New Revision: 326030 URL: https://svnweb.freebsd.org/changeset/base/326030 Log: Install strings unconditionally Previously it was enabled by WITH_/WITHOUT_TOOLCHAIN, but it is commonly expected to be available and may have non-toolchain consum

svn commit: r326029 - head/sys/kern

2017-11-20 Thread Scott Long
Author: scottl Date: Mon Nov 20 20:53:03 2017 New Revision: 326029 URL: https://svnweb.freebsd.org/changeset/base/326029 Log: Update a comment in brelse() to match reality. Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c ===

svn commit: r326028 - head/lib/libc/iconv

2017-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Nov 20 20:05:30 2017 New Revision: 326028 URL: https://svnweb.freebsd.org/changeset/base/326028 Log: iconv: Fix a pointer mismatch. Catch NULL pointer earlier, check for empty string later. Apparently this fixes a GCC8 warning. Obtained from:NetBSD (CVS

svn commit: r326027 - in head: include/arpa sys/arm/xscale/ixp425 sys/conf

2017-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Nov 20 19:56:11 2017 New Revision: 326027 URL: https://svnweb.freebsd.org/changeset/base/326027 Log: Indent protection and some other oops from the prvious commits. Modified: head/include/arpa/tftp.h head/sys/arm/xscale/ixp425/if_npereg.h head/sys/conf/newvers.sh Mo

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

2017-11-20 Thread Navdeep Parhar
Author: np Date: Mon Nov 20 19:50:48 2017 New Revision: 326026 URL: https://svnweb.freebsd.org/changeset/base/326026 Log: cxgbe(4): Add a custom board to the device id list. MFC after:1 week Sponsored by: Chelsio Communications Modified: head/sys/dev/cxgbe/t4_main.c Modified: head

svn commit: r326025 - in head: bin/cat bin/chflags bin/chmod bin/cp bin/date bin/dd bin/df bin/domainname bin/echo bin/ed bin/hostname bin/kill bin/ln bin/ls bin/mkdir bin/mv bin/pax bin/ps bin/pwd...

2017-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Nov 20 19:49:47 2017 New Revision: 326025 URL: https://svnweb.freebsd.org/changeset/base/326025 Log: General further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a

svn commit: r326024 - in head/include: . arpa protocols rpc rpcsvc

2017-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Nov 20 19:45:28 2017 New Revision: 326024 URL: https://svnweb.freebsd.org/changeset/base/326024 Log: include: further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides

svn commit: r326023 - in head/sys: amd64/amd64 amd64/ia32 amd64/include amd64/vmm arm/arm arm/freescale/imx arm/include arm/mv arm/mv/discovery arm/mv/kirkwood arm/mv/orion arm/ti arm/versatile arm...

2017-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Nov 20 19:43:44 2017 New Revision: 326023 URL: https://svnweb.freebsd.org/changeset/base/326023 Log: sys: further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a sp

svn commit: r326022 - in head/sys/dev: bce bwi bxe cfi cy dpms e1000 et fb fdc fxp ic ixgb ixgbe md mge mii mps mpt mpt/mpilib nmdm oce ofw sio tws usb usb/controller usb/misc usb/net virtio virtio...

2017-11-20 Thread Pedro F. Giffuni
Author: pfg Date: Mon Nov 20 19:36:21 2017 New Revision: 326022 URL: https://svnweb.freebsd.org/changeset/base/326022 Log: sys/dev: further adoption of SPDX licensing ID tags. Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides

svn commit: r326021 - head/sys/dev/evdev

2017-11-20 Thread Vladimir Kondratyev
Author: wulf Date: Mon Nov 20 19:25:22 2017 New Revision: 326021 URL: https://svnweb.freebsd.org/changeset/base/326021 Log: evdev: change USB scancode 0x54 from KEY_SLASH to KEY_KPSLASH Submitted by: dumbbell Reviewed by: gonzo, wulf Approved by: gonzo (mentor)

svn commit: r326020 - head/sys/dev/evdev

2017-11-20 Thread Vladimir Kondratyev
Author: wulf Date: Mon Nov 20 19:20:05 2017 New Revision: 326020 URL: https://svnweb.freebsd.org/changeset/base/326020 Log: Fix evdev codes for slash and asterisk numpad keys of AT-keyboards Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:2 weeks Modified: head/sys/dev

svn commit: r326019 - head/sys/dev/evdev

2017-11-20 Thread Vladimir Kondratyev
Author: wulf Date: Mon Nov 20 19:17:43 2017 New Revision: 326019 URL: https://svnweb.freebsd.org/changeset/base/326019 Log: evdev: Export EVDEV_SUPPORT kernel option through feature facility Suggested by: netchild Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:1 week

Re: svn commit: r325988 - head/sys/libkern

2017-11-20 Thread Warner Losh
On Nov 20, 2017 9:57 AM, "Ed Maste" wrote: Hi Bruce, notes on a few of the points you raised (I'll look at others later): On 19 November 2017 at 04:07, Bruce Evans wrote: > > The vendor version is in libc/string. It has been ANSIfied, but the > libkern version has large churning to "optimize"

Re: svn commit: r325988 - head/sys/libkern

2017-11-20 Thread Ed Maste
Hi Bruce, notes on a few of the points you raised (I'll look at others later): On 19 November 2017 at 04:07, Bruce Evans wrote: > > The vendor version is in libc/string. It has been ANSIfied, but the > libkern version has large churning to "optimize" it. It is the libkern > version that should

svn commit: r326013 - head/release/arm64

2017-11-20 Thread Glen Barber
Author: gjb Date: Mon Nov 20 15:03:03 2017 New Revision: 326013 URL: https://svnweb.freebsd.org/changeset/base/326013 Log: Use chroot(8) when invoking realpath(1) when setting BOOTFILES, otherwise realpath(1) exits due to a nonexistent directory. Sponsored by: The FreeBSD Foundation Modi

svn commit: r326010 - in head: contrib/less usr.bin/less

2017-11-20 Thread Xin LI
Author: delphij Date: Mon Nov 20 08:52:33 2017 New Revision: 326010 URL: https://svnweb.freebsd.org/changeset/base/326010 Log: MFV r326007: less v529. MFC after:2 weeks Added: head/contrib/less/fmt.uni - copied unchanged from r326007, vendor/less/dist/fmt.uni Deleted: head/con