svn commit: r351245 - in head/sys/powerpc: booke include

2019-08-19 Thread Justin Hibbits
Author: jhibbits Date: Tue Aug 20 01:26:02 2019 New Revision: 351245 URL: https://svnweb.freebsd.org/changeset/base/351245 Log: powerpc: Link Book-E kernels at the same address as AIM kernels Summary: Reduce the diff between AIM and Book-E even more. This also cleans up vmparam.h

svn commit: r351244 - head/sys/dev/usb/net

2019-08-19 Thread Stephen J. Kiernan
Author: stevek Date: Tue Aug 20 01:06:43 2019 New Revision: 351244 URL: https://svnweb.freebsd.org/changeset/base/351244 Log: usb_ethernet.h includes a number of mii headers, but only does so in order to have struct mii_data available. However, it only really needs a forward declaration of

svn commit: r351241 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern vm

2019-08-19 Thread Jeff Roberson
Author: jeff Date: Mon Aug 19 23:09:38 2019 New Revision: 351241 URL: https://svnweb.freebsd.org/changeset/base/351241 Log: Use an atomic reference count for paging in progress so that callers do not require the object lock. Reviewed by: markj Tested by:pho (as part of a larger

svn commit: r351240 - head/sys/gdb

2019-08-19 Thread Conrad Meyer
Author: cem Date: Mon Aug 19 23:01:59 2019 New Revision: 351240 URL: https://svnweb.freebsd.org/changeset/base/351240 Log: Fix stylistic nit in r351239 Meant to fix this before committing, but forgot. Modified: head/sys/gdb/gdb_main.c Modified: head/sys/gdb/gdb_main.c

svn commit: r351239 - head/sys/gdb

2019-08-19 Thread Conrad Meyer
Author: cem Date: Mon Aug 19 22:58:30 2019 New Revision: 351239 URL: https://svnweb.freebsd.org/changeset/base/351239 Log: gdb(4): Support "qC" query Sometimes GDB gets confused about what the current thread is. When it does, it asks the remote: "Who am I?" Answer it. Modified:

svn commit: r351238 - head/sys/gdb

2019-08-19 Thread Conrad Meyer
Author: cem Date: Mon Aug 19 22:57:03 2019 New Revision: 351238 URL: https://svnweb.freebsd.org/changeset/base/351238 Log: gdb(4): Pack 'info threads' responses into fewer packets We suffer at least one round trip ACK latency every command / packet that GDB has to send and receive, and

svn commit: r351237 - in head/sys: conf libkern sys

2019-08-19 Thread Conrad Meyer
Author: cem Date: Mon Aug 19 22:53:05 2019 New Revision: 351237 URL: https://svnweb.freebsd.org/changeset/base/351237 Log: libkern: Implement strchrnul(3) Added: head/sys/libkern/strchrnul.c (contents, props changed) Modified: head/sys/conf/files head/sys/sys/libkern.h Modified:

svn commit: r351235 - head/sys/vm

2019-08-19 Thread Jeff Roberson
Author: jeff Date: Mon Aug 19 22:25:28 2019 New Revision: 351235 URL: https://svnweb.freebsd.org/changeset/base/351235 Log: Permit vm_pager_has_page() to run with a shared lock. Introduce VM_OBJECT_DROP/VM_OBJECT_PICKUP to handle functions that are called with uncertain lock state.

svn commit: r351233 - head/sys/dev/sound/pci/hda

2019-08-19 Thread Jung-uk Kim
Author: jkim Date: Mon Aug 19 21:45:25 2019 New Revision: 351233 URL: https://svnweb.freebsd.org/changeset/base/351233 Log: Partially revert the previous commit. It was an experiment and not meant to be committed. :-( Modified: head/sys/dev/sound/pci/hda/hdaa_patches.c Modified:

svn commit: r351232 - head/usr.sbin/makefs

2019-08-19 Thread Ed Maste
Author: emaste Date: Mon Aug 19 21:38:10 2019 New Revision: 351232 URL: https://svnweb.freebsd.org/changeset/base/351232 Log: makefs.8: expand description of image size Submitted by: ryan_freqlabs.com, Siva Mahadevan Differential Revision:https://reviews.freebsd.org/D21316

svn commit: r351231 - head/sys/dev/sound/pci/hda

2019-08-19 Thread Jung-uk Kim
Author: jkim Date: Mon Aug 19 21:30:12 2019 New Revision: 351231 URL: https://svnweb.freebsd.org/changeset/base/351231 Log: Fix sound on headset jack for Lenovo Thinkpad X1 Carbon Gen 6 (model 20KH). Note this commit was inspired by r350433. MFC after:2 weeks Modified:

svn commit: r351230 - head/usr.sbin/makefs

2019-08-19 Thread Ed Maste
Author: emaste Date: Mon Aug 19 21:21:32 2019 New Revision: 351230 URL: https://svnweb.freebsd.org/changeset/base/351230 Log: makefs.8: style updates from igor Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/makefs/makefs.8 Modified: head/usr.sbin/makefs/makefs.8

svn commit: r351229 - head/sys/net

2019-08-19 Thread Kyle Evans
Author: kevans Date: Mon Aug 19 19:01:59 2019 New Revision: 351229 URL: https://svnweb.freebsd.org/changeset/base/351229 Log: tuntap: belatedly add MODULE_VERSION for if_tun and if_tap When tun/tap were merged, appropriate MODULE_VERSION should have been added for things like modfind(2)

svn commit: r351227 - head/sys/mips/include

2019-08-19 Thread Kyle Evans
Author: kevans Date: Mon Aug 19 18:15:17 2019 New Revision: 351227 URL: https://svnweb.freebsd.org/changeset/base/351227 Log: mips: avoid empty mdproc struct Compiling with a more modern toolchain than GCC 4.2 in base warns about the empty struct. Take a hint and comment from

svn commit: r351226 - head/sbin/ping

2019-08-19 Thread Alan Somers
Author: asomers Date: Mon Aug 19 17:54:40 2019 New Revision: 351226 URL: https://svnweb.freebsd.org/changeset/base/351226 Log: Fix uninitialized variable warnings when MK_CASPER=no Submitted by: Ján Sučan MFC after:2 weeks Sponsored by: Google, inc. (Google Summer of Code 2019)

svn commit: r351225 - in head/sys/dev: acpica nvdimm

2019-08-19 Thread D Scott Phillips
Author: scottph Date: Mon Aug 19 17:51:06 2019 New Revision: 351225 URL: https://svnweb.freebsd.org/changeset/base/351225 Log: Don't set the string "unknown" as a device's location_str Return an empty string when the location is unknown instead of the string "unknown". This ensures that

svn commit: r351223 - head/sbin/ping

2019-08-19 Thread Alan Somers
Author: asomers Date: Mon Aug 19 17:28:12 2019 New Revision: 351223 URL: https://svnweb.freebsd.org/changeset/base/351223 Log: ping: fix -Wformat-truncating warning with GCC Increase buffer size for the string representation of n_time ICMP timestamp is a 32-bit number. In pr_ntime(),

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

2019-08-19 Thread John Baldwin
Author: jhb Date: Mon Aug 19 17:28:12 2019 New Revision: 351224 URL: https://svnweb.freebsd.org/changeset/base/351224 Log: Trim a spurious blank line I added in r348969. I did not bump .Dd since there is no content change. MFC after:3 days Modified: head/share/man/man9/sysctl.9

svn commit: r351221 - head/share/man/man4

2019-08-19 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Aug 19 17:26:04 2019 New Revision: 351221 URL: https://svnweb.freebsd.org/changeset/base/351221 Log: link ptnet(4) man page to the build system Reported by: kevans Reviewed by: kevans, bcr MFC after:1 week Differential Revision:

svn commit: r351220 - head/sys/net

2019-08-19 Thread Vincenzo Maffione
Author: vmaffione Date: Mon Aug 19 17:23:22 2019 New Revision: 351220 URL: https://svnweb.freebsd.org/changeset/base/351220 Log: if_tuntap: minor improvements Rewrite a loop to avoid duplicating the exit condition. Simplify mask processing in tunpoll(). Fix minor typos. Reviewed

svn commit: r351219 - head/sys/netinet/netdump

2019-08-19 Thread Mark Johnston
Author: markj Date: Mon Aug 19 16:29:51 2019 New Revision: 351219 URL: https://svnweb.freebsd.org/changeset/base/351219 Log: Fix netdump buffering after r348473. nd_buf is used to buffer headers (for both the kernel dump itself and for EKCD) before the final call to netdump_dumper(),

svn commit: r351218 - head/sys/arm/ti

2019-08-19 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 19 14:33:22 2019 New Revision: 351218 URL: https://svnweb.freebsd.org/changeset/base/351218 Log: ti: sdhci: Correct voltage caps ti,dual-volt property say that the eMMC support 1.8V and 3.3V not 3.0V Use the correct caps for the mmc stack. Note that the

svn commit: r351217 - head/sys/arm/mv

2019-08-19 Thread Emmanuel Vadot
Author: manu Date: Mon Aug 19 14:28:54 2019 New Revision: 351217 URL: https://svnweb.freebsd.org/changeset/base/351217 Log: arm64: a37x0_gpio: Use syscon instead of MMIO region The fdt node for this driver is a simple-mfd and syscon compatible one meaning that simplemfd will be the

svn commit: r351216 - head/sbin/ping6

2019-08-19 Thread Alan Somers
Author: asomers Date: Mon Aug 19 14:20:26 2019 New Revision: 351216 URL: https://svnweb.freebsd.org/changeset/base/351216 Log: ping6: revert r350857 Some socket options require root privileges to set. The old code did indeed drop privileges at the earliest opportunity. Submitted

svn commit: r351215 - head/sys/kern

2019-08-19 Thread Mateusz Guzik
Author: mjg Date: Mon Aug 19 14:11:54 2019 New Revision: 351215 URL: https://svnweb.freebsd.org/changeset/base/351215 Log: vfs: fix up r351193 ("stop always overwriting ->mnt_stat in VFS_STATFS") fs-specific part of vfs_statfs routines only fill in small portion of the structure.

svn commit: r351214 - head/sys/kern

2019-08-19 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 19 12:42:03 2019 New Revision: 351214 URL: https://svnweb.freebsd.org/changeset/base/351214 Log: Use TAILQ_FOREACH_SAFE() macro to avoid use after free in soclose(). PR: 239893 MFC after:1 week Modified: head/sys/kern/uipc_socket.c Modified:

Re: svn commit: r351200 - in head/sys: amd64/amd64 dev/acpica

2019-08-19 Thread Andrew Gallatin
On 2019-08-18 19:44, Jeff Roberson wrote: Author: jeff Date: Sun Aug 18 23:44:23 2019 New Revision: 351200 <..> Log: Allocate all per-cpu datastructures in domain correct memory. Reviewed by: kib, gallatin (some objections) No objection to what you actually committed. The only

svn commit: r351213 - head/sys/kern

2019-08-19 Thread Andriy Gapon
Author: avg Date: Mon Aug 19 11:18:36 2019 New Revision: 351213 URL: https://svnweb.freebsd.org/changeset/base/351213 Log: assert that td_lk_slocks is not leaked upon return from kernel This is similar to checks for td_sx_slocks and td_rw_rlocks. Although td_lk_slocks is an

svn commit: r351212 - in head: . tests/sys/netpfil/common tests/sys/netpfil/pf

2019-08-19 Thread Kristof Provost
Author: kp Date: Mon Aug 19 10:48:27 2019 New Revision: 351212 URL: https://svnweb.freebsd.org/changeset/base/351212 Log: netpfil tests: Move pft_ping.py and sniffer.py to the common test directory The pft_ping.py and sniffer.py tool is moved from tests/sys/netpfil/pf to

svn commit: r351211 - head/tests/sys/kern

2019-08-19 Thread Konstantin Belousov
Author: kib Date: Mon Aug 19 09:33:09 2019 New Revision: 351211 URL: https://svnweb.freebsd.org/changeset/base/351211 Log: sys.kern.pdeathsig.signal_delivered_ptrace: fix startup. Inform D that C executed procctl(PROC_PDEATHSIG_CTL). Otherwise D might allow B to exit before C is set up

svn commit: r351210 - head/tests/sys/kern

2019-08-19 Thread Konstantin Belousov
Author: kib Date: Mon Aug 19 09:29:27 2019 New Revision: 351210 URL: https://svnweb.freebsd.org/changeset/base/351210 Log: sys.kern.pdeathsig.signal_delivered_ptrace: fix debugger detach ptrace(PT_DETACH) requires stopped debuggee, otherwise it fails. When the call fails, the C process