svn commit: r329999 - in head/sys: arm/freescale/imx modules/imx modules/imx/imx_spi

2018-02-25 Thread Ian Lepore
Author: ian Date: Mon Feb 26 02:28:32 2018 New Revision: 32 URL: https://svnweb.freebsd.org/changeset/base/32 Log: Add a SPI driver for imx5 and imx6. It can be compiled into the kernel with "device imx_spi" or loaded as a module, which is also named "imx_spi". Added:

svn commit: r330000 - head/sys/netinet

2018-02-25 Thread Patrick Kelsey
Author: pkelsey Date: Mon Feb 26 02:43:26 2018 New Revision: 33 URL: https://svnweb.freebsd.org/changeset/base/33 Log: Fix harmless locking bug in tfp_fastopen_check_cookie(). The keylist lock was not being acquired early enough. The only side effect of this bug is that the

svn commit: r330001 - in head/sys: conf netinet

2018-02-25 Thread Patrick Kelsey
Author: pkelsey Date: Mon Feb 26 02:53:22 2018 New Revision: 330001 URL: https://svnweb.freebsd.org/changeset/base/330001 Log: This is an implementation of the client side of TCP Fast Open (TFO) [RFC7413]. It also includes a pre-shared key mode of operation in which the server requires the

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

2018-02-25 Thread Justin Hibbits
Author: jhibbits Date: Mon Feb 26 03:05:36 2018 New Revision: 330003 URL: https://svnweb.freebsd.org/changeset/base/330003 Log: Correct a copy -- altivec assist interrupt, not watchdog Modified: head/sys/powerpc/booke/trap_subr.S Modified: head/sys/powerpc/booke/trap_subr.S

svn commit: r330002 - in head/sys: amd64/conf arm64/conf netinet

2018-02-25 Thread Patrick Kelsey
Author: pkelsey Date: Mon Feb 26 03:03:41 2018 New Revision: 330002 URL: https://svnweb.freebsd.org/changeset/base/330002 Log: Greatly reduce the number of #ifdefs supporting the TCP_RFC7413 kernel option. The conditional compilation support is now centralized in tcp_fastopen.h and

svn commit: r330006 - head/stand/defaults

2018-02-25 Thread Warner Losh
Author: imp Date: Mon Feb 26 03:16:53 2018 New Revision: 330006 URL: https://svnweb.freebsd.org/changeset/base/330006 Log: Take a meat cleaver to defaults/loader.conf Remove almost all of the _load=XXX options (kept only those relevant to splash screens, since there were other settings).

svn commit: r330004 - in head/stand: . arm efi forth i386 mips powerpc sparc64

2018-02-25 Thread Warner Losh
Author: imp Date: Mon Feb 26 03:16:04 2018 New Revision: 330004 URL: https://svnweb.freebsd.org/changeset/base/330004 Log: Add NO_OBJ to those directories that don't make anything. For directories that don't many anything, add NO_OBJ=t just before we include bsd.init.mk. This prevents

svn commit: r330005 - in head/stand: . arm/loader defaults forth mips/uboot

2018-02-25 Thread Warner Losh
Author: imp Date: Mon Feb 26 03:16:47 2018 New Revision: 330005 URL: https://svnweb.freebsd.org/changeset/base/330005 Log: Go back to one loader.conf We really only need one loader.conf. The other loader.conf was created because the current one took forever to parse in FORTH. That will

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

2018-02-25 Thread Andrew Turner
Author: andrew Date: Sun Feb 25 19:33:27 2018 New Revision: 329990 URL: https://svnweb.freebsd.org/changeset/base/329990 Log: Rename the FDT compat_data array to a bus-specific name. Sponsored by: DARPA, AFRL Modified: head/sys/dev/uart/uart_dev_pl011.c Modified:

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

2018-02-25 Thread Andrew Turner
Author: andrew Date: Sun Feb 25 19:43:00 2018 New Revision: 329991 URL: https://svnweb.freebsd.org/changeset/base/329991 Log: Teach the Arm pl011 driver to attach to a SBSA uart. This is defined in the Server Base System Architecture to be a subset of the pl011 r1p5. As we don't use the

svn commit: r329992 - head/libexec/getty

2018-02-25 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Feb 25 20:15:06 2018 New Revision: 329992 URL: https://svnweb.freebsd.org/changeset/base/329992 Log: Prevent getty(8) from looping indefinitely if the device node doesn't exist. This behaviour makes no sense for eg USB serial adapters, or USB device-side serial

svn commit: r330007 - head/stand/defaults

2018-02-25 Thread Warner Losh
Author: imp Date: Mon Feb 26 03:16:57 2018 New Revision: 330007 URL: https://svnweb.freebsd.org/changeset/base/330007 Log: loader.conf is loader agnostic, so remove 4th references. Modified: head/stand/defaults/loader.conf.5 Modified: head/stand/defaults/loader.conf.5

svn commit: r329993 - head

2018-02-25 Thread Brooks Davis
Author: brooks Date: Sun Feb 25 20:21:30 2018 New Revision: 329993 URL: https://svnweb.freebsd.org/changeset/base/329993 Log: Allow CROSS_TOOLCHAIN to be a path to a file. This allows working with custom cross toolchains without the need to create files in /usr/local/share/toolchains.

svn commit: r329988 - in head/sys/modules/i2c: . iicbus ofw_iicbus

2018-02-25 Thread Ian Lepore
Author: ian Date: Sun Feb 25 18:26:50 2018 New Revision: 329988 URL: https://svnweb.freebsd.org/changeset/base/329988 Log: Instead of building ofw_iicbus as a separate module, just compile it in to the iicbus module for FDT-based systems. The primary motivation for this is that host

svn commit: r329989 - head/sys/arm/arm

2018-02-25 Thread Ian Lepore
Author: ian Date: Sun Feb 25 18:42:59 2018 New Revision: 329989 URL: https://svnweb.freebsd.org/changeset/base/329989 Log: Add support for booting into kdb on arm platforms when the RB_KDB is set (using "boot -d" at the loader propmt or setting boot_ddb in loader.conf). Submitted by:

svn commit: r330008 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Mon Feb 26 03:46:17 2018 New Revision: 330008 URL: https://svnweb.freebsd.org/changeset/base/330008 Log: lualoader: A little more general menu cleanup Instead of a single-letter parameter ('m'), use something a little more descriptive and meaningful: 'menudef' ("menu

Re: svn commit: r315449 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2018-02-25 Thread Allan Jude
On 2017-03-17 08:34, Steven Hartland wrote: > Author: smh > Date: Fri Mar 17 12:34:57 2017 > New Revision: 315449 > URL: https://svnweb.freebsd.org/changeset/base/315449 > > Log: > Reduce ARC fragmentation threshold > > As ZFS can request up to SPA_MAXBLOCKSIZE memory block e.g. during zfs

svn commit: r330009 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Mon Feb 26 04:08:54 2018 New Revision: 330009 URL: https://svnweb.freebsd.org/changeset/base/330009 Log: lualoader: More argument name expansion, part 2 screen also has some instances, but it also has other cleanup to go with it. Because of this, I will be committing

svn commit: r330010 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Mon Feb 26 04:12:54 2018 New Revision: 330010 URL: https://svnweb.freebsd.org/changeset/base/330010 Log: lualoader: screen argument fixes screen was also guilty of not-so-great argument names, but it was also guilty of handling color sequences on its own. Change

svn commit: r330011 - head

2018-02-25 Thread Kyle Evans
Author: kevans Date: Mon Feb 26 04:33:05 2018 New Revision: 330011 URL: https://svnweb.freebsd.org/changeset/base/330011 Log: Add MAINTAINERS note for lualoader (stand/lua, specifically) While it's a work in progress, at least, I would like a chance to review any lua that goes into the

svn commit: r330012 - head/share/man/man9

2018-02-25 Thread Kyle Evans
Author: kevans Date: Mon Feb 26 04:55:08 2018 New Revision: 330012 URL: https://svnweb.freebsd.org/changeset/base/330012 Log: style.lua(9): Add some additional notes about naming and commas camelCase tends to be preferred for function identifiers, while internal_underscores are preferred

svn commit: r329995 - head/cddl/lib/libdtrace

2018-02-25 Thread Devin Teske
Author: dteske Date: Sun Feb 25 23:59:47 2018 New Revision: 329995 URL: https://svnweb.freebsd.org/changeset/base/329995 Log: Updates and enhancements to signal.d to aid DTrace scripting + Add missing signals SIGTHR (32) and SIGLIBRT (33) + Add inline for converting SIG* int to string

svn commit: r329996 - head/cddl/lib/libdtrace

2018-02-25 Thread Devin Teske
Author: dteske Date: Mon Feb 26 00:04:21 2018 New Revision: 329996 URL: https://svnweb.freebsd.org/changeset/base/329996 Log: Consistent casing for fallback SIGCHLD (s/Unknown/unknown/) Modified: head/cddl/lib/libdtrace/signal.d Modified: head/cddl/lib/libdtrace/signal.d

svn commit: r329994 - head/sys/security/mac_portacl

2018-02-25 Thread Eugene Grosbein
Author: eugen Date: Sun Feb 25 23:10:13 2018 New Revision: 329994 URL: https://svnweb.freebsd.org/changeset/base/329994 Log: mac_portacl(4): stop panicing INVARIANTS-enabled kernel by loading .ko when kernel already has options MAC_PORTACL. PR: 183817 Approved by: avg

Re: svn commit: r328612 - head/lib/libc/stdlib

2018-02-25 Thread Warner Losh
I "fixed" this with r328768: On Sun, Feb 25, 2018 at 7:52 AM, Alan Somers wrote: > I'm seeing the same error during the build of usr.sbin/nologin for > riscv.riscv64sf. Has anybody figured out a solution yet? > > On Thu, Feb 1, 2018 at 9:09 PM, Warner Losh

Re: svn commit: r328612 - head/lib/libc/stdlib

2018-02-25 Thread Warner Losh
Sorry for top posting... I fixed this with r328768 Author: imp Date: Fri Feb 2 05:04:43 2018 + The routines defined in comparedf2 and comparesf2 are defined in libc for softfloat mips. No need to include them here.

svn commit: r329997 - head/sys/ufs/ffs

2018-02-25 Thread Kirk McKusick
Author: mckusick Date: Mon Feb 26 00:34:56 2018 New Revision: 329997 URL: https://svnweb.freebsd.org/changeset/base/329997 Log: Use a more straight-forward approach to relaxing the location restraints when validating one of the backup superblocks. Modified: head/sys/ufs/ffs/ffs_subr.c

svn commit: r329945 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Sun Feb 25 03:33:25 2018 New Revision: 329945 URL: https://svnweb.freebsd.org/changeset/base/329945 Log: lualoader: menu: Terminate final values in tables with a comma Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua

svn commit: r329949 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Sun Feb 25 05:14:06 2018 New Revision: 329949 URL: https://svnweb.freebsd.org/changeset/base/329949 Log: lualoader: Explain deviation from naming guidelines cli_execute is likely the only exception that we should make, due to it being a global. We don't really need

svn commit: r329944 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Sun Feb 25 03:30:24 2018 New Revision: 329944 URL: https://svnweb.freebsd.org/changeset/base/329944 Log: lualoader: Don't explicitly index tables without reason These indices were assigned the same values as they would've been implicitly assigned anyways. While

svn commit: r329947 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Sun Feb 25 04:44:45 2018 New Revision: 329947 URL: https://svnweb.freebsd.org/changeset/base/329947 Log: lualoader: Pull menu redrawing specifics out of menu.process In general, every menu redraw is going to require a screen clear and cursor reset. Each redraw also

svn commit: r329948 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Sun Feb 25 05:00:54 2018 New Revision: 329948 URL: https://svnweb.freebsd.org/changeset/base/329948 Log: lualoader: Pull autoboot handling out into menu.run() There's no reason for autoboot handling to be mixed in with menu processing. It is a distinct process that

svn commit: r329946 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Sun Feb 25 04:11:08 2018 New Revision: 329946 URL: https://svnweb.freebsd.org/changeset/base/329946 Log: lualoader: Clean up menu handling a little bit This is driven by an urge to separate out the bits that really only need to happen when the menu system starts up.

svn commit: r329987 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Sun Feb 25 17:02:50 2018 New Revision: 329987 URL: https://svnweb.freebsd.org/changeset/base/329987 Log: lualoader: Track the menu currently drawn, instead of validity This cleans up the odd approach to menu drawing. Instead of tracking validity, we track the menu

Re: svn commit: r329910 - head/sys/cddl/contrib/opensolaris/uts/common/sys

2018-02-25 Thread Dimitry Andric
On 24 Feb 2018, at 17:01, Alan Somers wrote: > > Author: asomers > Date: Sat Feb 24 16:01:21 2018 > New Revision: 329910 > URL: https://svnweb.freebsd.org/changeset/base/329910 > > Log: > Implement CTASSERT using _Static_assert > > Prevents warnings about "unused

Re: svn commit: r329910 - head/sys/cddl/contrib/opensolaris/uts/common/sys

2018-02-25 Thread Alan Somers
On Sun, Feb 25, 2018 at 6:52 AM, Dimitry Andric wrote: > On 24 Feb 2018, at 17:01, Alan Somers wrote: > > > > Author: asomers > > Date: Sat Feb 24 16:01:21 2018 > > New Revision: 329910 > > URL: https://svnweb.freebsd.org/changeset/base/329910 > > > > Log:

svn commit: r329983 - in head: contrib/llvm/include/llvm/Bitcode contrib/llvm/include/llvm/MC contrib/llvm/include/llvm/Transforms/Utils contrib/llvm/lib/Analysis contrib/llvm/lib/Bitcode/Reader co...

2018-02-25 Thread Dimitry Andric
Author: dim Date: Sun Feb 25 13:20:32 2018 New Revision: 329983 URL: https://svnweb.freebsd.org/changeset/base/329983 Log: Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to 6.0.0 (branches/release_60 r325932). This corresponds to 6.0.0 rc3. MFC after:3 months

Re: svn commit: r328612 - head/lib/libc/stdlib

2018-02-25 Thread Alan Somers
I'm seeing the same error during the build of usr.sbin/nologin for riscv.riscv64sf. Has anybody figured out a solution yet? On Thu, Feb 1, 2018 at 9:09 PM, Warner Losh wrote: > > > On Thu, Feb 1, 2018 at 8:34 PM, Steve Wills wrote: > >> This, somehow,

svn commit: r329986 - head/stand/lua

2018-02-25 Thread Kyle Evans
Author: kevans Date: Sun Feb 25 16:29:02 2018 New Revision: 329986 URL: https://svnweb.freebsd.org/changeset/base/329986 Log: lualoader: Invalidate the screen from menu perspective upon mnu exit In the common case, this will effectively do nothing as the menu will get redrawn as we leave

svn commit: r329984 - in head: cddl/contrib/opensolaris/lib/libzpool/common sys/cddl/compat/opensolaris/sys

2018-02-25 Thread Alan Somers
Author: asomers Date: Sun Feb 25 14:29:43 2018 New Revision: 329984 URL: https://svnweb.freebsd.org/changeset/base/329984 Log: Don't declare __assfail as static It gets called by dmu_buf_init_user, which is inline but not static. So it needs global linkage itself. Reported by:

svn commit: r329950 - in head/sys: net netpfil/pf

2018-02-25 Thread Kristof Provost
Author: kp Date: Sun Feb 25 08:56:44 2018 New Revision: 329950 URL: https://svnweb.freebsd.org/changeset/base/329950 Log: pf: Cope with overly large net.pf.states_hashsize If the user configures a states_hashsize or source_nodes_hashsize value we may not have enough memory to allocate

svn commit: r329985 - head/sys/kern

2018-02-25 Thread Mateusz Guzik
Author: mjg Date: Sun Feb 25 15:16:58 2018 New Revision: 329985 URL: https://svnweb.freebsd.org/changeset/base/329985 Log: Don't generate data in sysctl_out_proc unless we intend to copy out. The first call is used to gauge how much spaces is needed. Just computing the size instead of