Re: svn commit: r355045 - head/libexec/rtld-elf/powerpc

2019-11-24 Thread Konstantin Belousov
On Sun, Nov 24, 2019 at 04:35:29AM +, Justin Hibbits wrote: > Author: jhibbits > Date: Sun Nov 24 04:35:29 2019 > New Revision: 355045 > URL: https://svnweb.freebsd.org/changeset/base/355045 > > Log: > rtld/powerpc: Fix _rtld_bind_start for powerpcspe > > Summary: > We need to save of

Re: svn commit: r355037 - head/sys/dev/pci

2019-11-24 Thread Konstantin Belousov
On Sat, Nov 23, 2019 at 11:43:52PM +, Warner Losh wrote: > Author: imp > Date: Sat Nov 23 23:43:52 2019 > New Revision: 355037 > URL: https://svnweb.freebsd.org/changeset/base/355037 > > Log: > Push Giant down one layer > > The /dev/pci device doesn't need GIANT, per se. However, one ro

svn commit: r355054 - head/sys/netpfil/pf

2019-11-24 Thread Kristof Provost
Author: kp Date: Sun Nov 24 13:53:36 2019 New Revision: 355054 URL: https://svnweb.freebsd.org/changeset/base/355054 Log: pf: Add endline to all DPFPRINTF() DPFPRINTF() doesn't automatically add an endline, so be consistent and always add it. Modified: head/sys/netpfil/pf/pf.c head/s

Re: svn commit: r355037 - head/sys/dev/pci

2019-11-24 Thread Warner Losh
On Sun, Nov 24, 2019, 6:10 AM Konstantin Belousov wrote: > On Sat, Nov 23, 2019 at 11:43:52PM +, Warner Losh wrote: > > Author: imp > > Date: Sat Nov 23 23:43:52 2019 > > New Revision: 355037 > > URL: https://svnweb.freebsd.org/changeset/base/355037 > > > > Log: > > Push Giant down one laye

svn commit: r355055 - head/tests/sys/sys

2019-11-24 Thread Li-Wen Hsu
Author: lwhsu Date: Sun Nov 24 15:03:35 2019 New Revision: 355055 URL: https://svnweb.freebsd.org/changeset/base/355055 Log: Fix gcc build We have -Werror=strict-overflow so gcc complains: In file included from /tmp/obj/workspace/src/amd64.amd64/tmp/usr/include/bitstring.h:36:0,

Re: svn commit: r355047 - head/libexec/rtld-elf/powerpc

2019-11-24 Thread Justin Hibbits
On Sun, Nov 24, 2019, 00:43 Brandon Bergren wrote: > Author: bdragon > Date: Sun Nov 24 06:43:03 2019 > New Revision: 355047 > URL: https://svnweb.freebsd.org/changeset/base/355047 > > Log: > [PowerPC] Fix stack padding issue on ppc32. > > Four bytes of padding are needed in the regular power

svn commit: r355056 - in head/sys/dev: mpr mps

2019-11-24 Thread Warner Losh
Author: imp Date: Sun Nov 24 15:24:05 2019 New Revision: 355056 URL: https://svnweb.freebsd.org/changeset/base/355056 Log: Fix leak in state machine for commands. When we get a device departed message from the firmware, we send a TARGET_REST to the device to let the firmware know we're do

svn commit: r355058 - in head/sys/dev: aac aacraid

2019-11-24 Thread Warner Losh
Author: imp Date: Sun Nov 24 15:37:19 2019 New Revision: 355058 URL: https://svnweb.freebsd.org/changeset/base/355058 Log: Don't need giant for these drivers dev nodes. Also, Giant isn't required to busy / unbusy a device, so drop that too while I'm here. It's not done elsewhere in the t

svn commit: r355057 - head/sys/dev/pci

2019-11-24 Thread Warner Losh
Author: imp Date: Sun Nov 24 15:37:14 2019 New Revision: 355057 URL: https://svnweb.freebsd.org/changeset/base/355057 Log: Hoist locking giant back up into the ioctl handler Move the locking back into the ioctl handler. This "fixes" the race where we hve a hot plug event just after the d

Re: svn commit: r355045 - head/libexec/rtld-elf/powerpc

2019-11-24 Thread Brandon Bergren
On Sun, Nov 24, 2019, at 7:04 AM, Konstantin Belousov wrote: > On Sun, Nov 24, 2019 at 04:35:29AM +, Justin Hibbits wrote: > > Author: jhibbits > > Date: Sun Nov 24 04:35:29 2019 > > New Revision: 355045 > > URL: https://svnweb.freebsd.org/changeset/base/355045 > > > > Log: > > rtld/powerpc:

svn commit: r355059 - head/sys/dev/cxgbe

2019-11-24 Thread Navdeep Parhar
Author: np Date: Sun Nov 24 16:40:54 2019 New Revision: 355059 URL: https://svnweb.freebsd.org/changeset/base/355059 Log: cxgbe(4): sysctl to reset the temperature/voltage sensor. # sysctl dev...reset_sensor=1 # sysctl dev.t6nex.0.reset_sensor=1 MFC after:1 week Sponsored by: C

Re: svn commit: r355037 - head/sys/dev/pci

2019-11-24 Thread Konstantin Belousov
On Sun, Nov 24, 2019 at 07:37:01AM -0700, Warner Losh wrote: > On Sun, Nov 24, 2019, 6:10 AM Konstantin Belousov > wrote: > > > On Sat, Nov 23, 2019 at 11:43:52PM +, Warner Losh wrote: > > > Author: imp > > > Date: Sat Nov 23 23:43:52 2019 > > > New Revision: 355037 > > > URL: https://svnweb.

Re: svn commit: r355045 - head/libexec/rtld-elf/powerpc

2019-11-24 Thread Konstantin Belousov
On Sun, Nov 24, 2019 at 10:32:23AM -0600, Brandon Bergren wrote: > On Sun, Nov 24, 2019, at 7:04 AM, Konstantin Belousov wrote: > > On Sun, Nov 24, 2019 at 04:35:29AM +, Justin Hibbits wrote: > > > Author: jhibbits > > > Date: Sun Nov 24 04:35:29 2019 > > > New Revision: 355045 > > > URL: https

Re: svn commit: r355045 - head/libexec/rtld-elf/powerpc

2019-11-24 Thread Brandon Bergren
On Sun, Nov 24, 2019, at 10:47 AM, Konstantin Belousov wrote: > On Sun, Nov 24, 2019 at 10:32:23AM -0600, Brandon Bergren wrote: > > On Sun, Nov 24, 2019, at 7:04 AM, Konstantin Belousov wrote: > > > On Sun, Nov 24, 2019 at 04:35:29AM +, Justin Hibbits wrote: > > > > Author: jhibbits > > > >

Re: svn commit: r355045 - head/libexec/rtld-elf/powerpc

2019-11-24 Thread Justin Hibbits
On Sun, 24 Nov 2019 18:47:14 +0200 Konstantin Belousov wrote: > On Sun, Nov 24, 2019 at 10:32:23AM -0600, Brandon Bergren wrote: > > On Sun, Nov 24, 2019, at 7:04 AM, Konstantin Belousov wrote: > > > On Sun, Nov 24, 2019 at 04:35:29AM +, Justin Hibbits wrote: > > > > Author: jhibbits > >

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

2019-11-24 Thread Konstantin Belousov
Author: kib Date: Sun Nov 24 19:02:13 2019 New Revision: 355060 URL: https://svnweb.freebsd.org/changeset/base/355060 Log: amd64: assert that EARLY_COUNTER does not corrupt memory. Reviewed by: imp Sponsored by: The FreeBSD Foundation MFC after:1 week Differential revision:

svn commit: r355061 - head/sys/fs/tmpfs

2019-11-24 Thread Konstantin Belousov
Author: kib Date: Sun Nov 24 19:06:38 2019 New Revision: 355061 URL: https://svnweb.freebsd.org/changeset/base/355061 Log: tmpfs: resolve deadlock between rename and unmount. Top-level kern_renameat() increases the writecount on the mount point, which, together with tmpfs unmount suspendi

svn commit: r355062 - in head/sys: kern vm

2019-11-24 Thread Konstantin Belousov
Author: kib Date: Sun Nov 24 19:12:23 2019 New Revision: 355062 URL: https://svnweb.freebsd.org/changeset/base/355062 Log: Record part of the owner struct thread pointer into busy_lock. Record as much bits from curthread into busy_lock as fits. Low bits for struct thread * representation

svn commit: r355063 - head/share/misc

2019-11-24 Thread Eitan Adler
Author: eadler Date: Sun Nov 24 19:16:57 2019 New Revision: 355063 URL: https://svnweb.freebsd.org/changeset/base/355063 Log: bsd-family-tree: correct macOS release date Reported by: Herbert J. Skuhra Reported by: Maxim Konovalov Modified: head/share/misc/bsd-family-tree Modified: h

svn commit: r355064 - head/sys/vm

2019-11-24 Thread Konstantin Belousov
Author: kib Date: Sun Nov 24 19:18:12 2019 New Revision: 355064 URL: https://svnweb.freebsd.org/changeset/base/355064 Log: Ignore object->handle for OBJ_ANON objects. Note that the change in vm_object_collapse() is arguably a correctness fix. We must not collapse into content-identity ca

Re: svn commit: r355037 - head/sys/dev/pci

2019-11-24 Thread Warner Losh
On Sun, Nov 24, 2019, 9:45 AM Konstantin Belousov wrote: > On Sun, Nov 24, 2019 at 07:37:01AM -0700, Warner Losh wrote: > > On Sun, Nov 24, 2019, 6:10 AM Konstantin Belousov > > wrote: > > > > > On Sat, Nov 23, 2019 at 11:43:52PM +, Warner Losh wrote: > > > > Author: imp > > > > Date: Sat No

svn commit: r355065 - head/sys/compat/linux

2019-11-24 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 24 20:41:47 2019 New Revision: 355065 URL: https://svnweb.freebsd.org/changeset/base/355065 Log: Linux epoll: Don't deregister file descriptor after EPOLLONESHOT is fired Linux epoll does not remove descriptor after one-shot event has been triggered. Set EV_DIS

svn commit: r355066 - head/sys/compat/linux

2019-11-24 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 24 20:44:14 2019 New Revision: 355066 URL: https://svnweb.freebsd.org/changeset/base/355066 Log: Linux epoll: Check both read and write kqueue events existence in EPOLL_CTL_ADD Linux epoll EPOLL_CTL_ADD op handler should always check registration of both EVFILT

svn commit: r355067 - head/sys/compat/linux

2019-11-24 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 24 20:47:40 2019 New Revision: 355067 URL: https://svnweb.freebsd.org/changeset/base/355067 Log: Linux epoll: Register events with zero event mask Such an events are legal and should be interpreted as EPOLLERR | EPOLLHUP. Register a disabled kqueue event in that

svn commit: r355068 - head/sys/compat/linux

2019-11-24 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 24 20:51:09 2019 New Revision: 355068 URL: https://svnweb.freebsd.org/changeset/base/355068 Log: Linux epoll: Allow passing of any negative timeout value to epoll_wait Linux epoll allow passing of any negative timeout value to epoll_wait() to cause unbound block

Re: svn commit: r355024 - in head/sys: kern net sys

2019-11-24 Thread Conrad Meyer
Sorry, should be: Differential Revision: https://reviews.freebsd.org/D22504 On Sat, Nov 23, 2019 at 2:57 AM Bjoern A. Zeeb wrote: > > On 22 Nov 2019, at 23:23, Conrad Meyer wrote: > > > Author: cem > > Date: Fri Nov 22 23:23:40 2019 > > New Revision: 355024 > > URL: https://svnweb.freebsd.org/c

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

2019-11-24 Thread Ian Lepore
Author: ian Date: Sun Nov 24 21:08:56 2019 New Revision: 355069 URL: https://svnweb.freebsd.org/changeset/base/355069 Log: When doing ARM stack unwinding as part of stack_save(9), do not search loaded modules (pass 0/false for the can_lock arg). Searching the unwind info in modules acquires

Re: svn commit: r355055 - head/tests/sys/sys

2019-11-24 Thread Conrad Meyer
Don't we already build with -fwrapv for this class of problem? The GCC docs claim that warning is only active when signed overflow is undefined. It seems that -fno-strict-overflow has similar semantics to -fwrapv, but we should probably be consistent about the flag we use. Also, if GCC is produc

svn commit: r355070 - head/sys/net

2019-11-24 Thread Bjoern A. Zeeb
Author: bz Date: Sun Nov 24 23:21:47 2019 New Revision: 355070 URL: https://svnweb.freebsd.org/changeset/base/355070 Log: Allow kernel to compile without BPF. r297816 added some bpf magic for VIMAGE unconditionally which no longer allows kernels to compile without bpf (but with other netw

svn commit: r355074 - head/sys/dev/ntb/ntb_hw

2019-11-24 Thread Alexander Motin
Author: mav Date: Mon Nov 25 01:00:51 2019 New Revision: 355074 URL: https://svnweb.freebsd.org/changeset/base/355074 Log: Report XLAT0 register for completeness. Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c Modified: head/sys/dev/ntb/ntb_hw/ntb_hw_intel.c ===

svn commit: r355076 - head/sys/vm

2019-11-24 Thread Doug Moore
Author: dougm Date: Mon Nov 25 02:19:47 2019 New Revision: 355076 URL: https://svnweb.freebsd.org/changeset/base/355076 Log: Where 'current' is used to index over vm_map entries, use 'entry'. Where 'entry' is used to identify the starting point for iteration, use 'first_entry'. These are the

svn commit: r355082 - head/sys/vm

2019-11-24 Thread Jeff Roberson
Author: jeff Date: Mon Nov 25 07:13:05 2019 New Revision: 355082 URL: https://svnweb.freebsd.org/changeset/base/355082 Log: Move anonymous object copying for fork into its own routine and so that we can avoid locking non-anonymous objects. Reviewed by: kib Differential Revision:

svn commit: r355083 - head/sys/kern

2019-11-24 Thread Ryan Libby
Author: rlibby Date: Mon Nov 25 07:38:27 2019 New Revision: 355083 URL: https://svnweb.freebsd.org/changeset/base/355083 Log: sysctl sysctls: wire old buf before output with sysctl lock Several sysctl sysctls output to a user buffer while holding a non-sleepable lock that protects the sys

svn commit: r355084 - head/sys/vm

2019-11-24 Thread Ryan Libby
Author: rlibby Date: Mon Nov 25 07:38:31 2019 New Revision: 355084 URL: https://svnweb.freebsd.org/changeset/base/355084 Log: vm_object_collapse_scan_wait: drop locks before reacquiring Regression from r352174. In the vm_page_rename() failure case we forgot to unlock the vm object locks

svn commit: r355085 - in head: contrib/expat contrib/expat/doc contrib/expat/examples contrib/expat/lib contrib/expat/tests contrib/expat/tests/benchmark contrib/expat/xmlwf lib/libexpat

2019-11-24 Thread Xin LI
Author: delphij Date: Mon Nov 25 07:48:16 2019 New Revision: 355085 URL: https://svnweb.freebsd.org/changeset/base/355085 Log: MFV r355071: libbsdxml (expat) 2.2.9. MFC after:2 weeks Relnotes: yes Added: head/contrib/expat/fix-xmltest-log.sh - copied unchanged from r355071