Re: svn commit: r329371 - head/sys/compat/linuxkpi/common/include/asm

2018-02-16 Thread Hans Petter Selasky
On 02/17/18 01:42, Jan Beich wrote: Hans Petter Selasky writes: Author: hselasky Date: Fri Feb 16 15:20:21 2018 New Revision: 329371 URL: https://svnweb.freebsd.org/changeset/base/329371 Log: Allow the cmpxchg() macro in the LinuxKPI to work on pointers without

Re: svn commit: r329371 - head/sys/compat/linuxkpi/common/include/asm

2018-02-16 Thread Hans Petter Selasky
On 02/17/18 01:42, Jan Beich wrote: To generate errors instead ? Which compiler are you using? This was tested with clang over here. --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To

svn commit: r329445 - head/etc/devd

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:38 2018 New Revision: 329445 URL: https://svnweb.freebsd.org/changeset/base/329445 Log: Pass in the NOMATCH event to devmatch In devd/devmatch.conf, we need to pass the event to the devmatch serivce. It gets passed to devmatch -p for matching. We always

svn commit: r329446 - head/sbin/devmatch

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:43 2018 New Revision: 329446 URL: https://svnweb.freebsd.org/changeset/base/329446 Log: Implement --hints to read hints file directly In testing, it's often useful to copy a few files into a directory and kldxref them to ensure that particular cases are

svn commit: r329443 - head/sbin/devmatch

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:30 2018 New Revision: 329443 URL: https://svnweb.freebsd.org/changeset/base/329443 Log: Tweak the 'I' flagged value 'I' was omitting 'zero' values. This is not quite correct, and was put in as a hack but not documented. Remove it. If we find what the

svn commit: r329444 - head/sbin/devmatch

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:34 2018 New Revision: 329444 URL: https://svnweb.freebsd.org/changeset/base/329444 Log: Add option to parse NOMATCH event and suggest modules to load Add --nomatch/-p to search for individual drivers based on a NOMATCH event from devd. Submitted

svn commit: r329442 - head/sbin/devmatch

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:25 2018 New Revision: 329442 URL: https://svnweb.freebsd.org/changeset/base/329442 Log: Implement 'T' field matching. Implement 'T' field matching. This is needed to prevent false positives. However, it's not general enough. It only handles one field

svn commit: r329441 - head/etc/rc.d

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:21 2018 New Revision: 329441 URL: https://svnweb.freebsd.org/changeset/base/329441 Log: If we're passed an argument, then treat it as a single NOMATCH event to parse rather than searching for all events. Pass with new -p arg to devmatch. devmatch will use

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

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:17 2018 New Revision: 329440 URL: https://svnweb.freebsd.org/changeset/base/329440 Log: Correct the PNP information generated by the usb driver to match the artificial NOMATCH usb does in lieu of creating a device_t for devices with no drivers. Also,

svn commit: r329439 - head/sbin/devmatch

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:12 2018 New Revision: 329439 URL: https://svnweb.freebsd.org/changeset/base/329439 Log: Warn when we encounter unknown PNP field specifiers. The 'T' field went unimplemented for months due to a lack of warning. Add a warnings to detect mistakes sooner.

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

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:08 2018 New Revision: 329438 URL: https://svnweb.freebsd.org/changeset/base/329438 Log: Add description for T specifier. It's for PNP keys that are checked programatically that must be true for a device to match, but aren't in the table as discrete fields.

svn commit: r329437 - in head: sys/sys usr.sbin/kldxref

2018-02-16 Thread Warner Losh
Author: imp Date: Sat Feb 17 06:57:03 2018 New Revision: 329437 URL: https://svnweb.freebsd.org/changeset/base/329437 Log: Fixup minor nits in the PNP_INFO protocol. Sponsored by: Netflix Modified: head/sys/sys/module.h head/usr.sbin/kldxref/kldxref.c Modified: head/sys/sys/module.h

Re: svn commit: r329436 - head/stand/lua

2018-02-16 Thread Kyle Evans
On Fri, Feb 16, 2018 at 11:53 PM, Kyle Evans wrote: > Author: kevans > Date: Sat Feb 17 05:53:41 2018 > New Revision: 329436 > URL: https://svnweb.freebsd.org/changeset/base/329436 > > Log: > stand/lua: Debugging string snuck in... > > Modified: >

svn commit: r329436 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 05:53:41 2018 New Revision: 329436 URL: https://svnweb.freebsd.org/changeset/base/329436 Log: stand/lua: Debugging string snuck in... Modified: head/stand/lua/password.lua Modified: head/stand/lua/password.lua

svn commit: r329435 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 05:52:25 2018 New Revision: 329435 URL: https://svnweb.freebsd.org/changeset/base/329435 Log: stand/lua: Style pass These are the style points that I'd like to try and maintain in our lua scripts: - Parentheses around conditionals - Trailing

svn commit: r329434 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 05:28:06 2018 New Revision: 329434 URL: https://svnweb.freebsd.org/changeset/base/329434 Log: stand/lua: Check for nil (GELI prompt) Modified: head/stand/lua/password.lua Modified: head/stand/lua/password.lua

svn commit: r329433 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 05:26:28 2018 New Revision: 329433 URL: https://svnweb.freebsd.org/changeset/base/329433 Log: stand/lua: Add optional GELI passphrase prompt Prompt for GELI passphrase when geom_eli_passphrase_prompt has been set to "YES" in loader.conf(5). This

svn commit: r329432 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 05:02:38 2018 New Revision: 329432 URL: https://svnweb.freebsd.org/changeset/base/329432 Log: stand/lua: Try to load alternate kernels as directories first This is the procedure that config.loadkernel tries to go through, but reloading kernel config didn't

svn commit: r329429 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 04:33:37 2018 New Revision: 329429 URL: https://svnweb.freebsd.org/changeset/base/329429 Log: stand/lua: Add debug method to dump modules Modified: head/stand/lua/config.lua Modified: head/stand/lua/config.lua

svn commit: r329431 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 04:46:06 2018 New Revision: 329431 URL: https://svnweb.freebsd.org/changeset/base/329431 Log: stand/lua: Correct test sense, this should have been 'not nil' Modified: head/stand/lua/config.lua Modified: head/stand/lua/config.lua

svn commit: r329430 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 04:43:41 2018 New Revision: 329430 URL: https://svnweb.freebsd.org/changeset/base/329430 Log: stand/lua: Address some nits 1.) Instead of string.function(s, ...), use s:function(...) 2.) Don't try to concatenate `res`, it was just tested to be nil 3.)

svn commit: r329427 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 04:07:16 2018 New Revision: 329427 URL: https://svnweb.freebsd.org/changeset/base/329427 Log: stand/lua: Color non-default kernels blue Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua

svn commit: r329428 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 04:22:36 2018 New Revision: 329428 URL: https://svnweb.freebsd.org/changeset/base/329428 Log: stand/lua: Correct some trivial errors in config An empty module_path to start with isn't ideal, but if all modules are contained within a kernel directory (which

svn commit: r329425 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 03:13:05 2018 New Revision: 329425 URL: https://svnweb.freebsd.org/changeset/base/329425 Log: stand/lua: Enable menu autoboot; it seems to work Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua

svn commit: r329424 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 03:12:35 2018 New Revision: 329424 URL: https://svnweb.freebsd.org/changeset/base/329424 Log: stand/lua: Don't set autoboot_delay=NO in menu autoboot sequence We'll set it later if "Escape to loader prompt" is actually chosen, there's no need to be setting

svn commit: r329426 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 03:39:55 2018 New Revision: 329426 URL: https://svnweb.freebsd.org/changeset/base/329426 Log: stand/lua: Correct interpretation of autoboot_delay autoboot_delay=NO is documented to wait for input and *not* autoboot, which is the exact opposite of the

svn commit: r329423 - stable/11/stand/libsa

2018-02-16 Thread Kyle Evans
Author: kevans Date: Sat Feb 17 02:14:01 2018 New Revision: 329423 URL: https://svnweb.freebsd.org/changeset/base/329423 Log: MFC r329264: libsa: Fix IP recv timeout [This is slightly modified to not set `t` in the middle of the loop so that the connection will eventually timeout after

Re: svn commit: r329371 - head/sys/compat/linuxkpi/common/include/asm

2018-02-16 Thread Jan Beich
Hans Petter Selasky writes: > Author: hselasky > Date: Fri Feb 16 15:20:21 2018 > New Revision: 329371 > URL: https://svnweb.freebsd.org/changeset/base/329371 > > Log: > Allow the cmpxchg() macro in the LinuxKPI to work on pointers without > generating compiler

svn commit: r329422 - head/sys/kern

2018-02-16 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 17 00:24:50 2018 New Revision: 329422 URL: https://svnweb.freebsd.org/changeset/base/329422 Log: On process exit signal the parent after dropping the proctree lock. Modified: head/sys/kern/kern_exit.c Modified: head/sys/kern/kern_exit.c

svn commit: r329421 - head/sys/kern

2018-02-16 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 17 00:23:56 2018 New Revision: 329421 URL: https://svnweb.freebsd.org/changeset/base/329421 Log: Unref the prison after proctree is dropped. Modified: head/sys/kern/kern_exit.c Modified: head/sys/kern/kern_exit.c

svn commit: r329420 - head/sys/kern

2018-02-16 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 17 00:23:28 2018 New Revision: 329420 URL: https://svnweb.freebsd.org/changeset/base/329420 Log: Postpone sx_sunlock(_lock) on fork until after allproc is dropped. There is a significant contention on the lock during -j 128 package build. This change drops total

svn commit: r329419 - head/sys/kern

2018-02-16 Thread Mateusz Guzik
Author: mjg Date: Sat Feb 17 00:21:50 2018 New Revision: 329419 URL: https://svnweb.freebsd.org/changeset/base/329419 Log: Tidy up kern_wait6 - don't relock curproc in msleep - don't relock proctree if P_STATCHILD is spotted - reformat the proc_to_reap call in the main loop Modified:

svn commit: r329418 - head/stand/i386/boot2

2018-02-16 Thread Benno Rice
Author: benno Date: Sat Feb 17 00:12:30 2018 New Revision: 329418 URL: https://svnweb.freebsd.org/changeset/base/329418 Log: Revert r329269. I tried to rework a section to fit inside 80 columns but the change ended up being functional. Back this out so I can readdress. Modified:

svn commit: r329417 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 23:59:50 2018 New Revision: 329417 URL: https://svnweb.freebsd.org/changeset/base/329417 Log: stand/lua: Make CAROUSEL_ENTRY func parameters consistent with name We have no need for the index yet, but add it anyways to keep signatures consistent.

svn commit: r329416 - head/sys/x86/x86

2018-02-16 Thread Konstantin Belousov
Author: kib Date: Fri Feb 16 23:18:42 2018 New Revision: 329416 URL: https://svnweb.freebsd.org/changeset/base/329416 Log: Remove unused symbols. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/x86/x86/mp_x86.c Modified: head/sys/x86/x86/mp_x86.c

svn commit: r329415 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 22:57:52 2018 New Revision: 329415 URL: https://svnweb.freebsd.org/changeset/base/329415 Log: stand/lua: Don't reload kernel config if we only have one kernel Don't move this into config.reload because we may want to force reloads if /boot changes out from

svn commit: r329414 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 22:51:08 2018 New Revision: 329414 URL: https://svnweb.freebsd.org/changeset/base/329414 Log: stand/lua: Don't try to divide by 0; do nothing Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua

svn commit: r329413 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 22:17:30 2018 New Revision: 329413 URL: https://svnweb.freebsd.org/changeset/base/329413 Log: stand/lua: Allow MENU_RETURN items to have a func, fix escape to prompt Modified: head/stand/lua/menu.lua Modified: head/stand/lua/menu.lua

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

2018-02-16 Thread Alan Somers
Author: asomers Date: Fri Feb 16 21:59:08 2018 New Revision: 329412 URL: https://svnweb.freebsd.org/changeset/base/329412 Log: zfs: fix formatting in a log statement Submitted by: Dave Baukus MFC after:3 weeks Sponsored by: Spectra Logic Corp Modified:

svn commit: r329411 - head/usr.sbin/trpt

2018-02-16 Thread Conrad Meyer
Author: cem Date: Fri Feb 16 20:46:44 2018 New Revision: 329411 URL: https://svnweb.freebsd.org/changeset/base/329411 Log: trpt(8): Clean up build hack to detect ancient compiler Detect ancient GCC specifically, rather than using target architecture as a crude heuristic. Side note:

svn commit: r329410 - in head: contrib/compiler-rt/lib/asan contrib/llvm/include/llvm/IR contrib/llvm/include/llvm/MC contrib/llvm/include/llvm/Support contrib/llvm/lib/CodeGen contrib/llvm/lib/Cod...

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 20:45:32 2018 New Revision: 329410 URL: https://svnweb.freebsd.org/changeset/base/329410 Log: Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to 6.0.0 (branches/release_60 r325330). MFC after:3 months X-MFC-With: r327952 PR:

svn commit: r329407 - head/tools/boot

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 20:26:18 2018 New Revision: 329407 URL: https://svnweb.freebsd.org/changeset/base/329407 Log: lua-test: Image the loader test directory if it doesn't exist yet Modified: head/tools/boot/lua-test.sh Modified: head/tools/boot/lua-test.sh

svn commit: r329406 - head/tools/boot

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 20:23:48 2018 New Revision: 329406 URL: https://svnweb.freebsd.org/changeset/base/329406 Log: Default to /tmp/loadertest for lua test scripts Modified: head/tools/boot/lua-img.sh head/tools/boot/lua-test.sh Modified: head/tools/boot/lua-img.sh

svn commit: r329404 - in vendor/lldb/dist-release_60/source/Plugins: Platform/NetBSD Process/NetBSD

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:57 2018 New Revision: 329404 URL: https://svnweb.freebsd.org/changeset/base/329404 Log: Vendor import of lldb release_60 branch r325330: https://llvm.org/svn/llvm-project/lldb/branches/release_60@325330 Modified:

svn commit: r329400 - in vendor/libc++/dist-release_60: . test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area test/std/utilities/meta/meta.unary/meta.unary.prop

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:44 2018 New Revision: 329400 URL: https://svnweb.freebsd.org/changeset/base/329400 Log: Vendor import of libc++ release_60 branch r325330: https://llvm.org/svn/llvm-project/libcxx/branches/release_60@325330 Modified:

svn commit: r329401 - vendor/libc++/libc++-release_60-r325330

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:47 2018 New Revision: 329401 URL: https://svnweb.freebsd.org/changeset/base/329401 Log: Tag libc++ release_60 branch r325330. Added: vendor/libc++/libc++-release_60-r325330/ - copied from r329400, vendor/libc++/dist-release_60/

svn commit: r329405 - vendor/lldb/lldb-release_60-r325330

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:11:00 2018 New Revision: 329405 URL: https://svnweb.freebsd.org/changeset/base/329405 Log: Tag lldb release_60 branch r325330. Added: vendor/lldb/lldb-release_60-r325330/ - copied from r329404, vendor/lldb/dist-release_60/

svn commit: r329403 - vendor/lld/lld-release_60-r325330

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:54 2018 New Revision: 329403 URL: https://svnweb.freebsd.org/changeset/base/329403 Log: Tag lld release_60 branch r325330. Added: vendor/lld/lld-release_60-r325330/ - copied from r329402, vendor/lld/dist-release_60/

svn commit: r329396 - in vendor/clang/dist-release_60: docs include/clang/AST lib/AST lib/CodeGen lib/Format lib/Headers lib/Lex lib/Sema test/CodeGen test/CodeGenCXX test/Lexer test/Sema test/Sema...

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:26 2018 New Revision: 329396 URL: https://svnweb.freebsd.org/changeset/base/329396 Log: Vendor import of clang release_60 branch r325330: https://llvm.org/svn/llvm-project/cfe/branches/release_60@325330 Added:

svn commit: r329399 - vendor/compiler-rt/compiler-rt-release_60-r325330

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:40 2018 New Revision: 329399 URL: https://svnweb.freebsd.org/changeset/base/329399 Log: Tag compiler-rt release_60 branch r325330. Added: vendor/compiler-rt/compiler-rt-release_60-r325330/ - copied from r329398, vendor/compiler-rt/dist-release_60/

svn commit: r329402 - in vendor/lld/dist-release_60: COFF ELF test/COFF test/ELF test/ELF/Inputs

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:49 2018 New Revision: 329402 URL: https://svnweb.freebsd.org/changeset/base/329402 Log: Vendor import of lld release_60 branch r325330: https://llvm.org/svn/llvm-project/lld/branches/release_60@325330 Added:

svn commit: r329395 - vendor/llvm/llvm-release_60-r325330

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:22 2018 New Revision: 329395 URL: https://svnweb.freebsd.org/changeset/base/329395 Log: Tag llvm release_60 branch r325330. Added: vendor/llvm/llvm-release_60-r325330/ - copied from r329394, vendor/llvm/dist-release_60/

svn commit: r329397 - vendor/clang/clang-release_60-r325330

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:34 2018 New Revision: 329397 URL: https://svnweb.freebsd.org/changeset/base/329397 Log: Tag clang release_60 branch r325330. Added: vendor/clang/clang-release_60-r325330/ - copied from r329396, vendor/clang/dist-release_60/

svn commit: r329398 - vendor/compiler-rt/dist-release_60/lib/asan

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:37 2018 New Revision: 329398 URL: https://svnweb.freebsd.org/changeset/base/329398 Log: Vendor import of compiler-rt release_60 branch r325330: https://llvm.org/svn/llvm-project/compiler-rt/branches/release_60@325330 Modified:

svn commit: r329394 - in vendor/llvm/dist-release_60: docs include/llvm/IR include/llvm/MC include/llvm/Support lib/CodeGen lib/CodeGen/AsmPrinter lib/CodeGen/SelectionDAG lib/IR lib/MC/MCParser li...

2018-02-16 Thread Dimitry Andric
Author: dim Date: Fri Feb 16 19:10:15 2018 New Revision: 329394 URL: https://svnweb.freebsd.org/changeset/base/329394 Log: Vendor import of llvm release_60 branch r325330: https://llvm.org/svn/llvm-project/llvm/branches/release_60@325330 Added:

svn commit: r329393 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 18:50:06 2018 New Revision: 329393 URL: https://svnweb.freebsd.org/changeset/base/329393 Log: stand/lua: Use escaped dot instead of single character class Modified: head/stand/lua/screen.lua Modified: head/stand/lua/screen.lua

svn commit: r329392 - stable/11/usr.sbin/mountd

2018-02-16 Thread Brad Davis
Author: brd (doc,ports committer) Date: Fri Feb 16 18:49:50 2018 New Revision: 329392 URL: https://svnweb.freebsd.org/changeset/base/329392 Log: MFC r329009 mountd(8): Produce vaguely meaningful error messages Approved by: cem, will Modified: stable/11/usr.sbin/mountd/mountd.c

Re: svn commit: r329269 - head/stand/i386/boot2

2018-02-16 Thread John Baldwin
On Friday, February 16, 2018 11:44:45 AM Mark Johnston wrote: > On Wed, Feb 14, 2018 at 06:07:27PM +, Benno Rice wrote: > > Author: benno > > Date: Wed Feb 14 18:07:27 2018 > > New Revision: 329269 > > URL: https://svnweb.freebsd.org/changeset/base/329269 > > > > Log: > > Reformat to come

svn commit: r329391 - stable/11/sys/dev/cxgbe/iw_cxgbe

2018-02-16 Thread Navdeep Parhar
Author: np Date: Fri Feb 16 18:23:27 2018 New Revision: 329391 URL: https://svnweb.freebsd.org/changeset/base/329391 Log: iw_cxgbe: Follow-up fix to r329017, which updated the code associated with QP flush. This is a direct commit to stable/11. Sponsored by: Chelsio Communications

svn commit: r329390 - head/usr.bin/ipcs

2018-02-16 Thread Li-Wen Hsu
Author: lwhsu (ports committer) Date: Fri Feb 16 18:07:04 2018 New Revision: 329390 URL: https://svnweb.freebsd.org/changeset/base/329390 Log: Follow r329348 in ipcs for getting rid of the requirement to include SysV IPC headers with _KERNEL Reviewed by: jhb Differential Revision:

svn commit: r329389 - head/sys/x86/xen

2018-02-16 Thread Roger Pau Monné
Author: royger Date: Fri Feb 16 18:04:27 2018 New Revision: 329389 URL: https://svnweb.freebsd.org/changeset/base/329389 Log: xen/pv: remove the attach of the ISA bus from the Xen PV bus There's no need to attach the ISA bus from the Xen PV one. Sponsored by: Citrix Systems

svn commit: r329388 - head/sys/contrib/ck/include

2018-02-16 Thread Olivier Houchard
Author: cognet Date: Fri Feb 16 17:50:06 2018 New Revision: 329388 URL: https://svnweb.freebsd.org/changeset/base/329388 Log: Define CK_MD_TSO for the relevant arches (i386, amd64 and sparc64). Defaulting to CK_MD_RMO has the unfortunate side effect of generating memory barriers that are

svn commit: r329387 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 17:46:07 2018 New Revision: 329387 URL: https://svnweb.freebsd.org/changeset/base/329387 Log: stand/lua: Chop off the decimal for numbers passed to setcursor Decimals screw up the escape sequence and the cursor will not get set. Right now this only affects

svn commit: r329386 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 17:42:38 2018 New Revision: 329386 URL: https://svnweb.freebsd.org/changeset/base/329386 Log: stand/lua: Correct usage and acceptance of BACKSPACE/DELETE keys Modified: head/stand/lua/core.lua head/stand/lua/menu.lua head/stand/lua/password.lua Modified:

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

2018-02-16 Thread Alan Somers
Author: asomers Date: Fri Feb 16 16:56:09 2018 New Revision: 329384 URL: https://svnweb.freebsd.org/changeset/base/329384 Log: Handle generic pathconf attributes in the .zfs ctldir MFC instructions: change the value of _PC_LINK_MAX to INT_MAX Reported by: jhb MFC after:19 days

Re: svn commit: r329269 - head/stand/i386/boot2

2018-02-16 Thread Mark Johnston
On Wed, Feb 14, 2018 at 06:07:27PM +, Benno Rice wrote: > Author: benno > Date: Wed Feb 14 18:07:27 2018 > New Revision: 329269 > URL: https://svnweb.freebsd.org/changeset/base/329269 > > Log: > Reformat to come significantly closer to style(9). > > Reviewed by:imp,

svn commit: r329383 - in stable/11: share/man/man9 sys/amd64/include sys/i386/include

2018-02-16 Thread Mark Johnston
Author: markj Date: Fri Feb 16 16:41:19 2018 New Revision: 329383 URL: https://svnweb.freebsd.org/changeset/base/329383 Log: MFC r315718, r316031: Add support for 8- and 16-bit atomic_(f)cmpset to x86. Modified: stable/11/share/man/man9/atomic.9 stable/11/sys/amd64/include/atomic.h

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

2018-02-16 Thread Alan Somers
On Thu, Feb 15, 2018 at 12:18 PM, John Baldwin wrote: > On Wednesday, February 14, 2018 03:49:31 PM Alan Somers wrote: > > Author: asomers > > Date: Wed Feb 14 15:49:31 2018 > > New Revision: 329265 > > URL: https://svnweb.freebsd.org/changeset/base/329265 > > > > Log: > >

Re: svn commit: r329349 - head/stand/lua

2018-02-16 Thread Warner Losh
On Feb 16, 2018 6:58 AM, "Kyle Evans" wrote: On Thu, Feb 15, 2018 at 9:12 PM, Kyle Evans wrote: > Author: kevans > Date: Fri Feb 16 03:12:24 2018 > New Revision: 329349 > URL: https://svnweb.freebsd.org/changeset/base/329349 > > Log: > stand/lua: Reduce

svn commit: r329382 - head/release/arm64

2018-02-16 Thread Andrew Turner
Author: andrew Date: Fri Feb 16 16:22:54 2018 New Revision: 329382 URL: https://svnweb.freebsd.org/changeset/base/329382 Log: Put the pine64 root filesystem on teh correct partition. The Pine64 root filesystem was incorrectly created directly on the MBR partition. This can cause the

svn commit: r329381 - in stable/11/sys: sys vm

2018-02-16 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 16 16:16:33 2018 New Revision: 329381 URL: https://svnweb.freebsd.org/changeset/base/329381 Log: MFC r324610: Reduce traffic on vm_cnt.v_free_count The variable is modified with the highly contended page free queue lock. It unnecessarily shares

svn commit: r329380 - stable/11/sys/kern

2018-02-16 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 16 16:07:58 2018 New Revision: 329380 URL: https://svnweb.freebsd.org/changeset/base/329380 Log: MFC r327875,r327905,r327914: mtx: use fcmpset to cover setting MTX_CONTESTED === rwlock: try regular read unlock even in the hard path Saves

svn commit: r329379 - stable/11/sys/kern

2018-02-16 Thread Mateusz Guzik
Author: mjg Date: Fri Feb 16 16:05:02 2018 New Revision: 329379 URL: https://svnweb.freebsd.org/changeset/base/329379 Log: MFC r327874: vfs: tidy up vdrop Skip vfs_refcount_release_if_not_last if the interlock is held and just go straight to refcount_release.

svn commit: r329378 - head/sys/compat/linuxkpi/common/include/linux

2018-02-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 16 16:01:39 2018 New Revision: 329378 URL: https://svnweb.freebsd.org/changeset/base/329378 Log: Implement mutex_trylock_recursive() in the LinuxKPI. MFC after:1 week Submitted by: Johannes Lundberg Sponsored by: Mellanox

svn commit: r329377 - head/sys/compat/linuxkpi/common/include/linux

2018-02-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 16 15:52:28 2018 New Revision: 329377 URL: https://svnweb.freebsd.org/changeset/base/329377 Log: Implement memdup_user_nul() in the LinuxKPI. MFC after:1 week Submitted by: Johannes Lundberg Sponsored by: Mellanox Technologies

svn commit: r329376 - in head/sys/compat/linuxkpi/common: include/linux src

2018-02-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 16 15:41:16 2018 New Revision: 329376 URL: https://svnweb.freebsd.org/changeset/base/329376 Log: Implement tasklet_enable() and tasklet_disable() in the LinuxKPI. MFC after:1 week Requested by: Johannes Lundberg Sponsored by:

svn commit: r329375 - in head: lib/libufs stand/libsa sys/geom sys/geom/journal sys/geom/label sys/ufs/ffs

2018-02-16 Thread Mark Johnston
Author: markj Date: Fri Feb 16 15:41:03 2018 New Revision: 329375 URL: https://svnweb.freebsd.org/changeset/base/329375 Log: Fix a memory leak introduced in r328426. ffs_sbget() may return a superblock buffer even if it fails, so the caller must be prepared to free it in this case.

svn commit: r329374 - head/sys/vm

2018-02-16 Thread Mark Johnston
Author: markj Date: Fri Feb 16 15:38:22 2018 New Revision: 329374 URL: https://svnweb.freebsd.org/changeset/base/329374 Log: Use the conventional name for an array of pages. No functional change intended. Discussed with: kib MFC after:3 days Modified:

svn commit: r329373 - head/sys/conf

2018-02-16 Thread Ed Maste
Author: emaste Date: Fri Feb 16 15:38:02 2018 New Revision: 329373 URL: https://svnweb.freebsd.org/changeset/base/329373 Log: Correct module symbol export handling EXPORT_SYMS can be set to YES, NO, a list of symbols to export from a module, or to a filename containing such a list. For

svn commit: r329372 - head/sys/compat/linuxkpi/common/include/linux

2018-02-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 16 15:37:33 2018 New Revision: 329372 URL: https://svnweb.freebsd.org/changeset/base/329372 Log: Implement enable_irq() and disable_irq() in the LinuxKPI. MFC after:1 week Submitted by: Johannes Lundberg Sponsored by: Mellanox

svn commit: r329371 - head/sys/compat/linuxkpi/common/include/asm

2018-02-16 Thread Hans Petter Selasky
Author: hselasky Date: Fri Feb 16 15:20:21 2018 New Revision: 329371 URL: https://svnweb.freebsd.org/changeset/base/329371 Log: Allow the cmpxchg() macro in the LinuxKPI to work on pointers without generating compiler warnings, -Wint-conversion . Requested by: Johannes Lundberg

svn commit: r329370 - in head/sys: amd64/linux32 compat/linux i386/linux

2018-02-16 Thread Ed Maste
Author: emaste Date: Fri Feb 16 15:00:14 2018 New Revision: 329370 URL: https://svnweb.freebsd.org/changeset/base/329370 Log: Rationalize license text on Linuxolator files Many licenses on Linuxolator files contained small variations from the standard FreeBSD license text. To avoid

svn commit: r329369 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 14:59:11 2018 New Revision: 329369 URL: https://svnweb.freebsd.org/changeset/base/329369 Log: stand/lua: Remove sneaky kernel assignment Modified: head/stand/lua/core.lua Modified: head/stand/lua/core.lua

svn commit: r329368 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 14:57:42 2018 New Revision: 329368 URL: https://svnweb.freebsd.org/changeset/base/329368 Log: stand/lua: Create/use some MENU_ constants where applicable Modified: head/stand/lua/core.lua head/stand/lua/drawer.lua head/stand/lua/menu.lua Modified:

svn commit: r329367 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 14:39:41 2018 New Revision: 329367 URL: https://svnweb.freebsd.org/changeset/base/329367 Log: stand/lua: Create a "carousel" menu entry type This is a pre-cursor to boot environment support in lualoader. Create a new menu item type, "carousel_entry", that

Re: svn commit: r329269 - head/stand/i386/boot2

2018-02-16 Thread Bruce Evans
On Wed, 14 Feb 2018, Benno Rice wrote: Log: Reformat to come significantly closer to style(9). This gives unreadable diffs. It does more than reformatting. Bugs have been reported. They must be in the non-reformatting changes. Modified: head/stand/i386/boot2/boot2.c

Re: svn commit: r329349 - head/stand/lua

2018-02-16 Thread Kyle Evans
On Thu, Feb 15, 2018 at 9:12 PM, Kyle Evans wrote: > Author: kevans > Date: Fri Feb 16 03:12:24 2018 > New Revision: 329349 > URL: https://svnweb.freebsd.org/changeset/base/329349 > > Log: > stand/lua: Reduce magic numbers > > Enter/backspace values are hardcoded in both

svn commit: r329366 - head/stand/lua

2018-02-16 Thread Kyle Evans
Author: kevans Date: Fri Feb 16 13:57:43 2018 New Revision: 329366 URL: https://svnweb.freebsd.org/changeset/base/329366 Log: stand/lua: Set ACPI's default the proper way (setACPI) Modified: head/stand/lua/core.lua Modified: head/stand/lua/core.lua

svn commit: r329365 - head/sys/amd64/include

2018-02-16 Thread Konstantin Belousov
Author: kib Date: Fri Feb 16 13:32:46 2018 New Revision: 329365 URL: https://svnweb.freebsd.org/changeset/base/329365 Log: Use local symbol for offset. Small global symbols confuse ddb which matches them against small unrelated displacements and makes the disassembly ugly. Reported

Re: svn commit: r329269 - head/stand/i386/boot2

2018-02-16 Thread Olivier Cochard-Labbé
On Wed, Feb 14, 2018 at 7:07 PM, Benno Rice wrote: > Author: benno > Date: Wed Feb 14 18:07:27 2018 > New Revision: 329269 > URL: https://svnweb.freebsd.org/changeset/base/329269 > > Log: > Reformat to come significantly closer to style(9). > > Reviewed by: imp,