svn commit: r332854 - in head/sys/powerpc: include powerpc

2018-04-20 Thread Justin Hibbits
Author: jhibbits Date: Sat Apr 21 04:18:17 2018 New Revision: 332854 URL: https://svnweb.freebsd.org/changeset/base/332854 Log: Sync powerpc feature flags with Linux Not all feature flags are synced. Those for processors we don't currently support are ignored currently. Those that are

svn commit: r332853 - in head/sys: conf modules/blake2 modules/crypto

2018-04-20 Thread Conrad Meyer
Author: cem Date: Sat Apr 21 02:08:56 2018 New Revision: 332853 URL: https://svnweb.freebsd.org/changeset/base/332853 Log: blake2: Disable warnings (not just error) for code we will not modify Leave libb2 pristine and silence the warnings for mjg. Modified: head/sys/conf/files

svn commit: r332852 - head/usr.bin/grep

2018-04-20 Thread Kyle Evans
Author: kevans Date: Sat Apr 21 01:42:02 2018 New Revision: 332852 URL: https://svnweb.freebsd.org/changeset/base/332852 Log: bsdgrep: if chain => switch This makes some of this a little easier to follow (in my opinion). Modified: head/usr.bin/grep/file.c Modified:

svn commit: r332851 - head/usr.bin/grep

2018-04-20 Thread Kyle Evans
Author: kevans Date: Sat Apr 21 01:33:13 2018 New Revision: 332851 URL: https://svnweb.freebsd.org/changeset/base/332851 Log: bsdgrep: More trivial cleanup/style cleanup We can avoid branching for these easily reduced patterns Modified: head/usr.bin/grep/util.c Modified:

svn commit: r332850 - head/usr.bin/grep

2018-04-20 Thread Kyle Evans
Author: kevans Date: Sat Apr 21 01:02:35 2018 New Revision: 332850 URL: https://svnweb.freebsd.org/changeset/base/332850 Log: bsdgrep: Some light cleanup There's no point checking for a bunch of file modes if we're not a practicing believer of DIR_SKIP or DEV_SKIP. This also reduces

svn commit: r332849 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2018-04-20 Thread Ed Maste
Author: emaste Date: Sat Apr 21 00:34:46 2018 New Revision: 332849 URL: https://svnweb.freebsd.org/changeset/base/332849 Log: lldb: propagate error to user if memory read fails Previously, an attempt to read an unreadable access reported zeros: (lldb) memory read -format hex -size 8 0

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

2018-04-20 Thread Ed Maste
Author: emaste Date: Fri Apr 20 22:23:38 2018 New Revision: 332844 URL: https://svnweb.freebsd.org/changeset/base/332844 Log: makefs: tidy up reach-over source - cd9660 relies on an #include "iso.h" but does not build any .c files out of source, so remove reach-over .PATH - ffs does

Re: svn commit: r332833 - in head: contrib/llvm/include/llvm/CodeGen contrib/llvm/lib/CodeGen contrib/llvm/lib/Target/X86 contrib/llvm/lib/Target/X86/Disassembler contrib/llvm/tools/clang/include/clan

2018-04-20 Thread Jonathan T. Looney
On Fri, Apr 20, 2018 at 2:20 PM, Dimitry Andric wrote: > > Author: dim > Date: Fri Apr 20 18:20:55 2018 > New Revision: 332833 > URL: https://svnweb.freebsd.org/changeset/base/332833 > > Log: > Recommit r332501, with an additional upstream fix for "Cannot lower > EFLAGS copy

svn commit: r332843 - head/sys/dev/extres/regulator

2018-04-20 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 20 20:30:33 2018 New Revision: 332843 URL: https://svnweb.freebsd.org/changeset/base/332843 Log: regulator: Check status before disabling When disabling regulator when they are unused, check before is they are enabled. While here don't check the enable_cnt on

svn commit: r332839 - in head/sys/gnu/dts: arm include/dt-bindings/bus include/dt-bindings/clock include/dt-bindings/gpio include/dt-bindings/input include/dt-bindings/memory include/dt-bindings/pi...

2018-04-20 Thread Emmanuel Vadot
Author: manu Date: Fri Apr 20 19:37:08 2018 New Revision: 332839 URL: https://svnweb.freebsd.org/changeset/base/332839 Log: gnu/dts: Update our copy of arm dts from Linux 4.16 Added: head/sys/gnu/dts/arm/am572x-idk-common.dtsi - copied unchanged from r332836,

Re: svn commit: r332813 - head/sys/fs/nfsclient

2018-04-20 Thread Conrad Meyer
On Fri, Apr 20, 2018 at 4:38 AM, Rick Macklem wrote: > Author: rmacklem > Date: Fri Apr 20 11:38:29 2018 > New Revision: 332813 > URL: https://svnweb.freebsd.org/changeset/base/332813 > > Log: > Fix use of pointer after being set NULL. > > Using a pointer after setting

svn commit: r332833 - in head: contrib/llvm/include/llvm/CodeGen contrib/llvm/lib/CodeGen contrib/llvm/lib/Target/X86 contrib/llvm/lib/Target/X86/Disassembler contrib/llvm/tools/clang/include/clang...

2018-04-20 Thread Dimitry Andric
Author: dim Date: Fri Apr 20 18:20:55 2018 New Revision: 332833 URL: https://svnweb.freebsd.org/changeset/base/332833 Log: Recommit r332501, with an additional upstream fix for "Cannot lower EFLAGS copy that lives out of a basic block!" errors on i386. Pull in r325446 from upstream clang

svn commit: r332832 - head/usr.bin/grep

2018-04-20 Thread Kyle Evans
Author: kevans Date: Fri Apr 20 18:06:03 2018 New Revision: 332832 URL: https://svnweb.freebsd.org/changeset/base/332832 Log: bsdgrep: Break procmatches down a little bit more Split the matching and non-matching cases out into their own functions to reduce future complexity. As the name

Re: svn commit: r332735 - head/sys/x86/x86

2018-04-20 Thread John Baldwin
I need to rework the layout of IRQ values to be more dynamic (per a thread on current@) as I've seen at least a few systems now that have more than 256 I/O APIC pins. Currently we kind of depend on interrupt_sources[] being statically sized, but I could rework this to support dynamic sizing as a

svn commit: r332825 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern sys/sys tests/sys/kern

2018-04-20 Thread Konstantin Belousov
Author: kib Date: Fri Apr 20 15:19:27 2018 New Revision: 332825 URL: https://svnweb.freebsd.org/changeset/base/332825 Log: Rename PROC_PDEATHSIG_SET -> PROC_PDEATHSIG_CTL and PROC_PDEATHSIG_GET -> PROC_PDEATHSIG_STATUS for consistency with other procctl(2) operations names. Requested

svn commit: r332816 - head/sys/kern

2018-04-20 Thread Andriy Gapon
Author: avg Date: Fri Apr 20 13:08:04 2018 New Revision: 332816 URL: https://svnweb.freebsd.org/changeset/base/332816 Log: call racct_proc_ucred_changed() under the proc lock The lock is required to ensure that the switch to the new credentials and the transfer of the process's

svn commit: r332813 - head/sys/fs/nfsclient

2018-04-20 Thread Rick Macklem
Author: rmacklem Date: Fri Apr 20 11:38:29 2018 New Revision: 332813 URL: https://svnweb.freebsd.org/changeset/base/332813 Log: Fix use of pointer after being set NULL. Using a pointer after setting it NULL is probably not a good plan. Spotted by inspection during changes for Flexible

svn commit: r332812 - head/sys/net

2018-04-20 Thread Andrey V. Elsukov
Author: ae Date: Fri Apr 20 09:57:31 2018 New Revision: 332812 URL: https://svnweb.freebsd.org/changeset/base/332812 Log: Add dead_bpf_if structure, that should be used as fake bpf_if during ifnet detach. Since destroying interface is not atomic operation and due to the lack of