svn commit: r307955 - in head/sys/boot/i386: gptboot gptzfsboot

2016-10-25 Thread Warner Losh
Author: imp Date: Wed Oct 26 05:26:59 2016 New Revision: 307955 URL: https://svnweb.freebsd.org/changeset/base/307955 Log: LIBSTAND goes last, so put it last here too. Modified: head/sys/boot/i386/gptboot/Makefile head/sys/boot/i386/gptzfsboot/Makefile Modified: head/sys/boot/i386/gptboot/

svn commit: r307954 - head/sys/boot/i386

2016-10-25 Thread Warner Losh
Author: imp Date: Wed Oct 26 05:26:58 2016 New Revision: 307954 URL: https://svnweb.freebsd.org/changeset/base/307954 Log: Back out the move to the loader script from -N. This should fix the crypto-using boot problems. Modified: head/sys/boot/i386/Makefile.inc Modified: head/sys/boot/i386/

svn commit: r307953 - head/sys/dev/hyperv/vmbus

2016-10-25 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 26 05:06:23 2016 New Revision: 307953 URL: https://svnweb.freebsd.org/changeset/base/307953 Log: hyperv/vmbus: Implement vmbus_chan_printf. And use it for vmbus channel logging, which can log the channel owner's name properly, instead of vmbus0. Submitted

svn commit: r307952 - head/sys/dev/hyperv/vmbus

2016-10-25 Thread Sepherosa Ziehau
Author: sephe Date: Wed Oct 26 04:26:17 2016 New Revision: 307952 URL: https://svnweb.freebsd.org/changeset/base/307952 Log: hyperv/vmbus: Add missing white space. Submitted by: QianYue You MFC after:1 week Sponsored by: Microsoft Modified: head/sys/dev/hyperv/vmbus/vmbus.c Mod

Re: svn commit: r307861 - in head: contrib/libarchive contrib/libarchive/cat/test contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar/t

2016-10-25 Thread Shawn Webb
Cool. Thanks! Also, does this need an SA like the previous libarchive updates? Thanks, Shawn On Tue, Oct 25, 2016 at 11:56:40PM +0200, Martin Matuska wrote: > Hi Shawn, > > I forgot to mention it in the commit message: MFC to stable/11 and > stable/10 is 1 week. > > Cheers, > mm > > > On 25.

Re: svn commit: r307861 - in head: contrib/libarchive contrib/libarchive/cat/test contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar/t

2016-10-25 Thread Martin Matuska
Hi Shawn, I forgot to mention it in the commit message: MFC to stable/11 and stable/10 is 1 week. Cheers, mm On 25.10.2016 17:16, Shawn Webb wrote: > On Mon, Oct 24, 2016 at 02:08:06PM +, Martin Matuska wrote: >> Author: mm >> Date: Mon Oct 24 14:08:05 2016 >> New Revision: 307861 >> URL: h

Re: svn commit: r307936 - head/sys/amd64/amd64

2016-10-25 Thread Oliver Pinter
On 10/25/16, Tijl Coosemans wrote: > On Tue, 25 Oct 2016 17:13:46 + (UTC) Gleb Smirnoff > wrote: >> Author: glebius >> Date: Tue Oct 25 17:13:46 2016 >> New Revision: 307936 >> URL: https://svnweb.freebsd.org/changeset/base/307936 >> >> Log: >> The argument validation in r296956 was not eno

Re: svn commit: r307936 - head/sys/amd64/amd64

2016-10-25 Thread Tijl Coosemans
On Tue, 25 Oct 2016 17:13:46 + (UTC) Gleb Smirnoff wrote: > Author: glebius > Date: Tue Oct 25 17:13:46 2016 > New Revision: 307936 > URL: https://svnweb.freebsd.org/changeset/base/307936 > > Log: > The argument validation in r296956 was not enough to close all possible > overflows in sy

svn commit: r307950 - head/sys/boot

2016-10-25 Thread Warner Losh
Author: imp Date: Tue Oct 25 19:04:42 2016 New Revision: 307950 URL: https://svnweb.freebsd.org/changeset/base/307950 Log: Add it to the right place Added: head/sys/boot/Makefile.ficl - copied, changed from r307949, head/Makefile.ficl Copied and modified: head/sys/boot/Makefile.ficl (fr

svn commit: r307951 - in head: . sys/boot/efi/libefi

2016-10-25 Thread Warner Losh
Author: imp Date: Tue Oct 25 19:04:44 2016 New Revision: 307951 URL: https://svnweb.freebsd.org/changeset/base/307951 Log: Fix two backwards tests. CID: 1365227, 1365228 Deleted: head/Makefile.ficl Modified: head/sys/boot/efi/libefi/env.c Modified: head/sys/boot/efi/libefi/env.c =

svn commit: r307949 - head

2016-10-25 Thread Warner Losh
Author: imp Date: Tue Oct 25 18:57:25 2016 New Revision: 307949 URL: https://svnweb.freebsd.org/changeset/base/307949 Log: Add missing file Added: head/Makefile.ficl (contents, props changed) Added: head/Makefile.ficl

svn commit: r307948 - head/lib/libsysdecode

2016-10-25 Thread John Baldwin
Author: jhb Date: Tue Oct 25 18:45:14 2016 New Revision: 307948 URL: https://svnweb.freebsd.org/changeset/base/307948 Log: Use binary and (&) instead of logical to extract the mask of a capability. CID: 1365227 Submitted by: cem Modified: head/lib/libsysdecode/flags.c Modifie

svn commit: r307947 - head/tests/sys/geom/class/uzip

2016-10-25 Thread Ruslan Bukin
Author: br Date: Tue Oct 25 18:43:36 2016 New Revision: 307947 URL: https://svnweb.freebsd.org/changeset/base/307947 Log: Change fs image name so it will not be regenerated (we have both big and little-endian images in tree). Also we don't known the endianness of the platform the image was

svn commit: r307946 - head/sys/dev/usb/net

2016-10-25 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 25 18:36:15 2016 New Revision: 307946 URL: https://svnweb.freebsd.org/changeset/base/307946 Log: uhso(4): Fix a null pointer dereference The directly following m_defrag() call can wait, so there is no reason this call can't as well. Reported by: Coverity

svn commit: r307944 - in head/sys/arm/ti: . am335x

2016-10-25 Thread Andrew Turner
Author: andrew Date: Tue Oct 25 18:01:19 2016 New Revision: 307944 URL: https://svnweb.freebsd.org/changeset/base/307944 Log: Add MULTIDELAY support to the am335x dmtimer. This will be useful for testing Cortex-A8 support in GENERIC. Sponsored by: ABT Systems Ltd Modified: head/sys/arm

svn commit: r307943 - head/sys/arm/include

2016-10-25 Thread Andrew Turner
Author: andrew Date: Tue Oct 25 17:57:31 2016 New Revision: 307943 URL: https://svnweb.freebsd.org/changeset/base/307943 Log: Remove the need for the delay to be zero when MULTIDELAY is undefined, it may be useful to only enable this in some configs. Sponsored by: ABT Systems Ltd Modifie

svn commit: r307942 - in head/sys/boot: common efi/libefi ficl ficl32 i386/libi386 i386/loader

2016-10-25 Thread Warner Losh
Author: imp Date: Tue Oct 25 17:31:57 2016 New Revision: 307942 URL: https://svnweb.freebsd.org/changeset/base/307942 Log: Really make WITHOUT_FORTH (MK_FORTH==no) work. The recent inclusion of FICL definitions not in ficl/ficl32 files broke this generally. This makes that stuff conditional

svn commit: r307937 - head/usr.sbin/bhyve

2016-10-25 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 25 17:13:58 2016 New Revision: 307937 URL: https://svnweb.freebsd.org/changeset/base/307937 Log: Fix unchecked array reference in the VGA device emulation code. Submitted by: Ilja Van Sprundel Patch by: tychon Security: SA-16:32 Modified: he

svn commit: r307936 - head/sys/amd64/amd64

2016-10-25 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 25 17:13:46 2016 New Revision: 307936 URL: https://svnweb.freebsd.org/changeset/base/307936 Log: The argument validation in r296956 was not enough to close all possible overflows in sysarch(2). Submitted by: Kun Yang Patch by: kib Security: SA-16

svn commit: r307927 - in head/usr.sbin/makefs: . cd9660 ffs

2016-10-25 Thread Marcel Moolenaar
Author: marcel Date: Tue Oct 25 16:29:15 2016 New Revision: 307927 URL: https://svnweb.freebsd.org/changeset/base/307927 Log: Be more precise when including headers so that we're less likely to depend on namespace pollution and as such become more portable. This means including headers like

svn commit: r307928 - head/sys/arm/include

2016-10-25 Thread Andrew Turner
Author: andrew Date: Tue Oct 25 16:33:05 2016 New Revision: 307928 URL: https://svnweb.freebsd.org/changeset/base/307928 Log: Remove armadaxp_idcache_wbinv_all, it's a static function in the ELF trampoline and not used outside this. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/

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

2016-10-25 Thread Gleb Smirnoff
Author: glebius Date: Tue Oct 25 16:28:30 2016 New Revision: 307926 URL: https://svnweb.freebsd.org/changeset/base/307926 Log: Check m_getcl() return value. CID: 611376 Modified: head/sys/dev/bfe/if_bfe.c Modified: head/sys/dev/bfe/if_bfe.c =

svn commit: r307925 - in head/sys/arm: arm include

2016-10-25 Thread Andrew Turner
Author: andrew Date: Tue Oct 25 16:25:06 2016 New Revision: 307925 URL: https://svnweb.freebsd.org/changeset/base/307925 Log: Remove arm11x6_setttb and armv7_setttb as they are unused. While here remove unneeded code from the ARMv7 cpu assembly code. Sponsored by: ABT Systems Ltd Modifie

svn commit: r307923 - in head/usr.sbin/makefs: . cd9660 ffs

2016-10-25 Thread Marcel Moolenaar
Author: marcel Date: Tue Oct 25 16:21:38 2016 New Revision: 307923 URL: https://svnweb.freebsd.org/changeset/base/307923 Log: Allow building makefs(8) from another Makefile (such as one in a seperate directory hierarchy used to build tools). This boils down to replacing the use of ${.CURDIR}

svn commit: r307917 - head/usr.sbin/bhyve

2016-10-25 Thread Baptiste Daroussin
Author: bapt Date: Tue Oct 25 15:20:06 2016 New Revision: 307917 URL: https://svnweb.freebsd.org/changeset/base/307917 Log: accept4 actually expect SOCK_NONBLOCK and not O_NONBLOCK Reported by: jhb Pointyhat to: bapt Modified: head/usr.sbin/bhyve/dbgport.c Modified: head/usr.sbin/bhy

svn commit: r307918 - head/sys/arm/allwinner/clk

2016-10-25 Thread Emmanuel Vadot
Author: manu Date: Tue Oct 25 15:21:08 2016 New Revision: 307918 URL: https://svnweb.freebsd.org/changeset/base/307918 Log: allwinner A10 Pll1 allow changing freq PLL1 is used by the cpu core, allowing changing freq is needed for cpufreq. The factors table contains all the frequencies in

Re: svn commit: r307861 - in head: contrib/libarchive contrib/libarchive/cat/test contrib/libarchive/cpio/test contrib/libarchive/libarchive contrib/libarchive/libarchive/test contrib/libarchive/tar/t

2016-10-25 Thread Shawn Webb
On Mon, Oct 24, 2016 at 02:08:06PM +, Martin Matuska wrote: > Author: mm > Date: Mon Oct 24 14:08:05 2016 > New Revision: 307861 > URL: https://svnweb.freebsd.org/changeset/base/307861 > > Log: > MFV r307859: > Update libarchive to 3.2.2 Hey Martin, Thanks for doing this upgrade! Any pla

svn commit: r307911 - head/sys/boot/efi/loader

2016-10-25 Thread Warner Losh
Author: imp Date: Tue Oct 25 14:42:09 2016 New Revision: 307911 URL: https://svnweb.freebsd.org/changeset/base/307911 Log: Add better comment... Modified: head/sys/boot/efi/loader/main.c Modified: head/sys/boot/efi/loader/main.c ===

svn commit: r307910 - in head/sys: arm64/arm64 dev/psci

2016-10-25 Thread Andrew Turner
Author: andrew Date: Tue Oct 25 14:18:27 2016 New Revision: 307910 URL: https://svnweb.freebsd.org/changeset/base/307910 Log: Create a new PSCI error code and use it to signal that starting the CPU is impossible as the PSCI firmware is missing. Sponsored by: ABT Systmes Ltd Modified: h

svn commit: r307909 - in head/sys: arm64/arm64 conf

2016-10-25 Thread Andrew Turner
Author: andrew Date: Tue Oct 25 14:04:35 2016 New Revision: 307909 URL: https://svnweb.freebsd.org/changeset/base/307909 Log: Import the Cortex String memcpy and memmove into the kernel. On ThunderX these show a 9-10% reduction in user and system time for a buildworld -j48. Obtained from:

svn commit: r307908 - in head/sys/boot/efi: libefi loader

2016-10-25 Thread Andrew Turner
Author: andrew Date: Tue Oct 25 14:01:13 2016 New Revision: 307908 URL: https://svnweb.freebsd.org/changeset/base/307908 Log: Fix the build on both arm64 and when WITHOUT_FORTH is defined. * On arm64 we need to use the ${MACHINE_CPUARCH} subdirectory. * env.c is only needed when using f

svn commit: r307904 - head/sys/amd64/vmm/amd

2016-10-25 Thread Andriy Gapon
Author: avg Date: Tue Oct 25 10:59:21 2016 New Revision: 307904 URL: https://svnweb.freebsd.org/changeset/base/307904 Log: fix up r307903, use correct max address definition MFC after:1 week X-MFC with: r307903 Modified: head/sys/amd64/vmm/amd/svm.c Modified: head/sys/amd64/vmm/

svn commit: r307903 - head/sys/amd64/vmm/amd

2016-10-25 Thread Andriy Gapon
Author: avg Date: Tue Oct 25 10:34:14 2016 New Revision: 307903 URL: https://svnweb.freebsd.org/changeset/base/307903 Log: vmm/svm: iopm_bitmap and msr_bitmap must be contiguous in physical memory To achieve that the whole svm_softc is allocated with contigmalloc now. It would be more eff

svn commit: r307902 - head/sys/dev/usb

2016-10-25 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Oct 25 07:48:19 2016 New Revision: 307902 URL: https://svnweb.freebsd.org/changeset/base/307902 Log: Make the USB attach strings in dmesg include product name. Note to self: MFC this to 9 and 8. Reviewed by: hselasky@, imp@ MFC after:1 month Differentia