svn commit: r330014 - in stable/10/sys/dev/usb: . quirk

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 26 07:57:56 2018 New Revision: 330014 URL: https://svnweb.freebsd.org/changeset/base/330014 Log: MFC r329195: Add new USB quirk. PR: 225844 Sponsored by: Mellanox Technologies Modified: stable/10/sys/dev/usb/quirk/usb_quirk.c stable/10/sys/d

svn commit: r330013 - in stable/11/sys/dev/usb: . quirk

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 26 07:57:11 2018 New Revision: 330013 URL: https://svnweb.freebsd.org/changeset/base/330013 Log: MFC r329195: Add new USB quirk. PR: 225844 Sponsored by: Mellanox Technologies Modified: stable/11/sys/dev/usb/quirk/usb_quirk.c stable/11/sys/d

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: 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 tr

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 those

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

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: 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

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: 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 be

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 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&paste-o -- 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 tcp_va

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 c

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 effec

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: head/sys/

svn commit: r329998 - stable/11/sbin/savecore

2018-02-25 Thread Mike Silbersack
Author: silby Date: Mon Feb 26 02:12:09 2018 New Revision: 329998 URL: https://svnweb.freebsd.org/changeset/base/329998 Log: MFC r329362: Prevent savecore from reading bounds from the current directory. Modified: stable/11/sbin/savecore/savecore.c Directory Properties: stable/11/ (props

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 Modi

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: 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 +

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. lib/libcompiler_rt/Makefile.inc | 2 +- 1 file changed, 1 insert

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 wrote: > >> >> >> On Thu, Feb 1, 201

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 (mentor

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: 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 templa

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 remo

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: head/sys/dev/uart/uart_

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: Thom

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 contr

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 tha

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: 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 gen

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: GCC-

svn commit: r329980 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:51:39 2018 New Revision: 329980 URL: https://svnweb.freebsd.org/changeset/base/329980 Log: MFC r329471: Implement BUILD_BUG_ON_INVALID() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified:

svn commit: r329973 - in stable/11/sys/compat/linuxkpi/common: include/linux src

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:37:07 2018 New Revision: 329973 URL: https://svnweb.freebsd.org/changeset/base/329973 Log: MFC r329519: Implement support for radix_tree_for_each_slot() and radix_tree_exception() in the LinuxKPI and use unsigned long type for the radix tree index. S

svn commit: r329970 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:33:55 2018 New Revision: 329970 URL: https://svnweb.freebsd.org/changeset/base/329970 Log: MFC r329514: Implement the rcu_dereference_raw() function macro. Make sure all RCU dereferencing use the READ_ONCE() function macro. Submitted by: Johannes Lun

svn commit: r329956 - stable/11/sys/compat/linuxkpi/common/include/asm

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:21:31 2018 New Revision: 329956 URL: https://svnweb.freebsd.org/changeset/base/329956 Log: MFC r329447: Compile in the LinuxKPI. Flexible array members are not allowed in a union. Use a zero length array instead. Reported by: jbeich@ Sponsore

svn commit: r329954 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:18:49 2018 New Revision: 329954 URL: https://svnweb.freebsd.org/changeset/base/329954 Log: MFC r329377: Implement memdup_user_nul() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified: stable/11/sys/compa

svn commit: r329964 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:28:52 2018 New Revision: 329964 URL: https://svnweb.freebsd.org/changeset/base/329964 Log: MFC r329476: Stub more lockdep function macros in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified: stable/11/sys

svn commit: r329953 - in stable/11/sys/compat/linuxkpi/common: include/linux src

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:18:02 2018 New Revision: 329953 URL: https://svnweb.freebsd.org/changeset/base/329953 Log: MFC r329376: Implement tasklet_enable() and tasklet_disable() in the LinuxKPI. Requested by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified:

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, seems to have broken the mips64 build: >>

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 typedef" with GCC-6 > > Rep

svn commit: r329977 - in stable/11/sys/compat/linuxkpi/common: include/linux src

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:44:47 2018 New Revision: 329977 URL: https://svnweb.freebsd.org/changeset/base/329977 Log: MFC r329509: Update the ktime type in the LinuxKPI to be a signed 64-bit integer similarly to Linux, to avoid compilation issues. Implement ktime_get_real_seconds()

svn commit: r329978 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:47:33 2018 New Revision: 329978 URL: https://svnweb.freebsd.org/changeset/base/329978 Log: MFC r329472: Allow the put_user() function macro to put constant values by using the existing __put_user() macro. Submitted by: Johannes Lundberg Sponsored

svn commit: r329968 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:32:26 2018 New Revision: 329968 URL: https://svnweb.freebsd.org/changeset/base/329968 Log: MFC r329512: Implement __list_del_entry() helper functions in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Sponsored by

svn commit: r329961 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:25:47 2018 New Revision: 329961 URL: https://svnweb.freebsd.org/changeset/base/329961 Log: MFC r329468: Add support for kref_read() function in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified: stable/11/

svn commit: r329963 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:28:06 2018 New Revision: 329963 URL: https://svnweb.freebsd.org/changeset/base/329963 Log: MFC r329475: Implement get_task_pid() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified: stable/

svn commit: r329955 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:19:44 2018 New Revision: 329955 URL: https://svnweb.freebsd.org/changeset/base/329955 Log: MFC r329378: Implement mutex_trylock_recursive() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified: stable/11/s

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: > > Implement CTASSERT using _Static_a

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 thi

svn commit: r329982 - stable/10/sys/netinet

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 11:29:55 2018 New Revision: 329982 URL: https://svnweb.freebsd.org/changeset/base/329982 Log: Fix for LINT-{NOINET,NOINET6,NOIP} kernel builds. This is a direct commit. Reported by: rpokala@ Sponsored by: Mellanox Technologies Modified: stable/10

svn commit: r329979 - stable/11/sys/compat/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:48:52 2018 New Revision: 329979 URL: https://svnweb.freebsd.org/changeset/base/329979 Log: MFC r329703: Allow LinuxKPI character devices to receive mmap() calls from the Linux binary mode user-space emulation layer. This is a regression issue after r328

svn commit: r329975 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:39:39 2018 New Revision: 329975 URL: https://svnweb.freebsd.org/changeset/base/329975 Log: MFC r329584: Implement list_safe_reset_next() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Sponsored

svn commit: r329969 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:33:12 2018 New Revision: 329969 URL: https://svnweb.freebsd.org/changeset/base/329969 Log: MFC r329513: Implement __GFP_BITS_SHIFT and __GFP_BITS_MASK macros in the LinuxKPI. Add compile time asserts to catch conflicts with native defines. Submitted

svn commit: r329967 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:31:27 2018 New Revision: 329967 URL: https://svnweb.freebsd.org/changeset/base/329967 Log: MFC r329511: Implement file_inode() and call_mmap() helper functions in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Sp

svn commit: r329974 - stable/11/sys/compat/linuxkpi/common/include/asm

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:38:42 2018 New Revision: 329974 URL: https://svnweb.freebsd.org/changeset/base/329974 Log: MFC r329523 and r329524: Fix implementation of xchg() function macro in the LinuxKPI. The exchange operation must be atomic. Sponsored by: Mellanox Technologie

svn commit: r329965 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:29:43 2018 New Revision: 329965 URL: https://svnweb.freebsd.org/changeset/base/329965 Log: MFC r329477: Implement spin_trylock_irq() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified: sta

svn commit: r329957 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:22:27 2018 New Revision: 329957 URL: https://svnweb.freebsd.org/changeset/base/329957 Log: MFC r329464: Add checks for valid IRQ tag before setting up or tearing down an interrupt handler in the LinuxKPI. This is needed when the interrupt handler is disab

svn commit: r329960 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:24:59 2018 New Revision: 329960 URL: https://svnweb.freebsd.org/changeset/base/329960 Log: MFC r329467: Add support for mmgrab() function in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified: stable/11/sys

svn commit: r329962 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:26:44 2018 New Revision: 329962 URL: https://svnweb.freebsd.org/changeset/base/329962 Log: MFC r329470: Add support for printk_ratelimit() function macro and improve the existing printk_ratelimited() function macro to return a boolean stating if there w

svn commit: r329976 - in stable/11/sys/compat/linuxkpi/common: include/linux src

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:40:41 2018 New Revision: 329976 URL: https://svnweb.freebsd.org/changeset/base/329976 Log: MFC r329825: Return correct error code to user-space when a system call receives a signal in the LinuxKPI. The read(), write() and mmap() system calls can retu

svn commit: r329959 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:24:08 2018 New Revision: 329959 URL: https://svnweb.freebsd.org/changeset/base/329959 Log: MFC r329466: Add support for __percpu and __weak macros in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified: stab

svn commit: r329952 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:15:52 2018 New Revision: 329952 URL: https://svnweb.freebsd.org/changeset/base/329952 Log: MFC r329372: Implement enable_irq() and disable_irq() in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Modified: stable

svn commit: r329972 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:35:28 2018 New Revision: 329972 URL: https://svnweb.freebsd.org/changeset/base/329972 Log: MFC r329516: Implement the KMEM_CACHE() function macro in the LinuxKPI. Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies Sponsored by: Li

svn commit: r329971 - in stable/11/sys/compat/linuxkpi/common: include/linux src

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:34:47 2018 New Revision: 329971 URL: https://svnweb.freebsd.org/changeset/base/329971 Log: MFC r329515: Make the vm_fault structure in the LinuxKPI compatible with newer versions of the Linux kernel. No functional change. Submitted by: Johannes Lundb

svn commit: r329981 - stable/11/sys/sys

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:52:46 2018 New Revision: 329981 URL: https://svnweb.freebsd.org/changeset/base/329981 Log: Bump the FreeBSD version to conclude the recent LinuxKPI related updates. This is a direct commit. Sponsored by: Mellanox Technologies Modified: stable/1

svn commit: r329966 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:30:36 2018 New Revision: 329966 URL: https://svnweb.freebsd.org/changeset/base/329966 Log: MFC r329510: Refactor dentry structure into its own header file in the LinuxKPI similary to Linux. No functional change. Implement d_inode() helper function. S

svn commit: r329958 - stable/11/sys/compat/linuxkpi/common/include/linux

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:23:23 2018 New Revision: 329958 URL: https://svnweb.freebsd.org/changeset/base/329958 Log: MFC r329465: Move the IRQ_RETVAL() and irqreturn definitions to irqreturn.h in the LinuxKPI to be compatible with Linux. No functional change. Submitted by: Jo

svn commit: r329951 - stable/11/sys/compat/linuxkpi/common/include/asm

2018-02-25 Thread Hans Petter Selasky
Author: hselasky Date: Sun Feb 25 10:14:35 2018 New Revision: 329951 URL: https://svnweb.freebsd.org/changeset/base/329951 Log: MFC r329371: Allow the cmpxchg() macro in the LinuxKPI to work on pointers without generating compiler warnings, -Wint-conversion . Requested by: Johannes Lund

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 ot

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. K

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 sh

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 ha

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 ===