Re: svn commit: r330782 - head/sys/x86/isa

2018-03-11 Thread Ian Lepore
On Sun, 2018-03-11 at 19:56 +, Ian Lepore wrote: > Author: ian > Date: Sun Mar 11 19:56:07 2018 > New Revision: 330782 > URL: https://svnweb.freebsd.org/changeset/base/330782 > > Log: >   Remove MTX_NOPROFILE from atrtc_lock, it was inappropriately copy/pasted >   from the i8254 driver when I

svn commit: r330781 - head/lib/libipsec

2018-03-11 Thread Andrey V. Elsukov
Author: ae Date: Sun Mar 11 19:26:34 2018 New Revision: 330781 URL: https://svnweb.freebsd.org/changeset/base/330781 Log: Update pfkey_open() function to set socket's write buffer size to 128k and receive buffer size to 2MB. In case if system has bigger default values, do not lower them.

Re: svn commit: r330780 - in head/sys: amd64/include isa x86/isa

2018-03-11 Thread Konstantin Belousov
On Sun, Mar 11, 2018 at 07:22:58PM +, Ian Lepore wrote: > Author: ian > Date: Sun Mar 11 19:22:58 2018 > New Revision: 330780 > URL: https://svnweb.freebsd.org/changeset/base/330780 > > Log: > Eliminate atrtc_time_lock, and use atrtc_lock for efirtc locking. > > Modified: >

svn commit: r330783 - in head/sys: amd64/include isa x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 20:13:15 2018 New Revision: 330783 URL: https://svnweb.freebsd.org/changeset/base/330783 Log: Revert r330780, it was improperly tested and results in taking a spin mutex before acquiring sleep mutexes. Reported by: kib@ Modified:

svn commit: r330785 - head/sys/arm/conf

2018-03-11 Thread Emmanuel Vadot
Author: manu Date: Sun Mar 11 23:14:50 2018 New Revision: 330785 URL: https://svnweb.freebsd.org/changeset/base/330785 Log: arm: Remove SoC Specific -MMCCAM kernelconfig One should use the GENERIC-MMCCAM for this. Deleted: head/sys/arm/conf/BEAGLEBONE-MMCCAM

svn commit: r330778 - head/sys/x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 18:54:45 2018 New Revision: 330778 URL: https://svnweb.freebsd.org/changeset/base/330778 Log: Everywhere that multiple registers are accessed in sequence, lock/unlock just once around the whole group of accesses. Modified: head/sys/x86/isa/atrtc.c Modified:

svn commit: r330780 - in head/sys: amd64/include isa x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 19:22:58 2018 New Revision: 330780 URL: https://svnweb.freebsd.org/changeset/base/330780 Log: Eliminate atrtc_time_lock, and use atrtc_lock for efirtc locking. Modified: head/sys/amd64/include/efi.h head/sys/isa/rtc.h head/sys/x86/isa/atrtc.c Modified:

svn commit: r330782 - head/sys/x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 19:56:07 2018 New Revision: 330782 URL: https://svnweb.freebsd.org/changeset/base/330782 Log: Remove MTX_NOPROFILE from atrtc_lock, it was inappropriately copy/pasted from the i8254 driver when I created separate mutexes for each. The i8254 driver could be the

svn commit: r330787 - head/usr.sbin/lpr/common_source

2018-03-11 Thread Garance A Drosehn
Author: gad Date: Mon Mar 12 01:41:16 2018 New Revision: 330787 URL: https://svnweb.freebsd.org/changeset/base/330787 Log: Fix the resource leak of a 'FILE *' which could happen in routine ctl_readcf() if a call to malloc failed. PR: 204955 Reported by: David Binderman

Re: svn commit: r330780 - in head/sys: amd64/include isa x86/isa

2018-03-11 Thread Ian Lepore
On Sun, 2018-03-11 at 21:58 +0200, Konstantin Belousov wrote: > On Sun, Mar 11, 2018 at 07:22:58PM +, Ian Lepore wrote: > > > > Author: ian > > Date: Sun Mar 11 19:22:58 2018 > > New Revision: 330780 > > URL: https://svnweb.freebsd.org/changeset/base/330780 > > > > Log: > >   Eliminate

svn commit: r330779 - head/sys/netipsec

2018-03-11 Thread Andrey V. Elsukov
Author: ae Date: Sun Mar 11 19:14:01 2018 New Revision: 330779 URL: https://svnweb.freebsd.org/changeset/base/330779 Log: Rework key_sendup_mbuf() a bit: o count in_nomem counter when we have failed to allocate mbuf for promisc socket; o count in_msgtarget counter when we have

Re: svn commit: r330780 - in head/sys: amd64/include isa x86/isa

2018-03-11 Thread Konstantin Belousov
On Sun, Mar 11, 2018 at 02:20:39PM -0600, Ian Lepore wrote: > On Sun, 2018-03-11 at 21:58 +0200, Konstantin Belousov wrote: > > On Sun, Mar 11, 2018 at 07:22:58PM +, Ian Lepore wrote: > > > > > > Author: ian > > > Date: Sun Mar 11 19:22:58 2018 > > > New Revision: 330780 > > > URL:

Re: svn commit: r328554 - head/sys/cam/scsi

2018-03-11 Thread Dexuan-BSD Cui
Hi imp and all, I think this patch is very important, because it can fix a panic I noticed recently when I try to hot-remove a SCSI disk from a VM running on Azure/Hyper-V. The panic is almost 100% reproducible with stable/11, but not in the latest CURRENT code, so finally I identified this fix

svn commit: r330766 - head/sys/i386/include

2018-03-11 Thread Brooks Davis
Author: brooks Date: Sun Mar 11 16:17:53 2018 New Revision: 330766 URL: https://svnweb.freebsd.org/changeset/base/330766 Log: Remove obsolete pcaudioio.h. Nothing uses the #define's values or the types. (Some NTP code does use an audio_info_t, but it is in #ifdef'd support for Solaris

svn commit: r330771 - head/sys/netipsec

2018-03-11 Thread Andrey V. Elsukov
Author: ae Date: Sun Mar 11 18:03:55 2018 New Revision: 330771 URL: https://svnweb.freebsd.org/changeset/base/330771 Log: Remove obsoleted and unused key_sendup() function. Also remove declaration for nonexistend key_usrreq() function. MFC after:2 weeks Modified:

svn commit: r330777 - head/sys/netipsec

2018-03-11 Thread Andrey V. Elsukov
Author: ae Date: Sun Mar 11 18:46:40 2018 New Revision: 330777 URL: https://svnweb.freebsd.org/changeset/base/330777 Log: Add KASSERT to check that proper targed was used. MFC after:2 weeks Modified: head/sys/netipsec/keysock.c Modified: head/sys/netipsec/keysock.c

svn commit: r330765 - head/share/misc

2018-03-11 Thread Fernando Apesteguía
Author: fernape (ports committer) Date: Sun Mar 11 10:47:40 2018 New Revision: 330765 URL: https://svnweb.freebsd.org/changeset/base/330765 Log: Add myself (fernape) to commiters-port.dot Approved by: tcberner (mentor) Differential Revision:https://reviews.freebsd.org/D14639

svn commit: r330775 - head/sys/netipsec

2018-03-11 Thread Andrey V. Elsukov
Author: ae Date: Sun Mar 11 18:37:55 2018 New Revision: 330775 URL: https://svnweb.freebsd.org/changeset/base/330775 Log: Replace panic() with KASSERTs. MFC after:2 weeks Modified: head/sys/netipsec/keysock.c Modified: head/sys/netipsec/keysock.c

svn commit: r330767 - head/sys/x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 16:57:14 2018 New Revision: 330767 URL: https://svnweb.freebsd.org/changeset/base/330767 Log: Convert atrtc the new style rtc debugging output. Remove the db show command handler which provided much the same information. Removing the possibility of accessing

svn commit: r330772 - head/sys/netipsec

2018-03-11 Thread Andrey V. Elsukov
Author: ae Date: Sun Mar 11 18:10:59 2018 New Revision: 330772 URL: https://svnweb.freebsd.org/changeset/base/330772 Log: Check that we have PF_KEY sockets before iterating over all RAW sockets. MFC after:2 weeks Modified: head/sys/netipsec/keysock.c Modified:

svn commit: r330773 - in head/sys: isa x86/isa

2018-03-11 Thread Ian Lepore
Author: ian Date: Sun Mar 11 18:20:49 2018 New Revision: 330773 URL: https://svnweb.freebsd.org/changeset/base/330773 Log: Use separate mutexes for atrtc and i8254 locking. Change all the strange un-function-like RTC_LOCK/UNLOCK macro usage into normal function calls. Since there is no

svn commit: r330768 - head/usr.bin/calendar/calendars

2018-03-11 Thread Fernando Apesteguía
Author: fernape (ports committer) Date: Sun Mar 11 17:21:48 2018 New Revision: 330768 URL: https://svnweb.freebsd.org/changeset/base/330768 Log: Add myself (fernape) to calendar.freebsd As indicated in Committers guide Chapter 6, point 9 "Optional: Update Ports with Personal Information"

svn commit: r330791 - head/sys/conf

2018-03-11 Thread Conrad Meyer
Author: cem Date: Mon Mar 12 05:41:27 2018 New Revision: 330791 URL: https://svnweb.freebsd.org/changeset/base/330791 Log: Implement NO_WCAST_QUAL for gcc4.2 architectures Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk

svn commit: r330788 - in head/stand/mips/beri: boot2 common loader

2018-03-11 Thread Kyle Evans
Author: kevans Date: Mon Mar 12 03:54:38 2018 New Revision: 330788 URL: https://svnweb.freebsd.org/changeset/base/330788 Log: beri loader: Replace getc/putc with beri_ prefixed versions This matches a convention that we use, at least in ubldr, to prefix getc/putc with a loader-specific

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

2018-03-11 Thread Scott Long
Author: scottl Date: Mon Mar 12 05:02:22 2018 New Revision: 330789 URL: https://svnweb.freebsd.org/changeset/base/330789 Log: Implement a sysctl to dump in-flight I/O state for debugging. The tool to parse it will be committed in a separate action. Sponsored by: Netflix Modified:

svn commit: r330790 - head/usr.sbin/mpsutil

2018-03-11 Thread Scott Long
Author: scottl Date: Mon Mar 12 05:03:32 2018 New Revision: 330790 URL: https://svnweb.freebsd.org/changeset/base/330790 Log: Add a new 'debug' command tree and 'dump_reqs' command to grab and parse command and chain frames of in-flight I/O from the driver. Sponsored by: Netflix Added:

svn commit: r330763 - head/share/misc

2018-03-11 Thread Jochen Neumeister
Author: joneum (ports committer) Date: Sun Mar 11 08:07:40 2018 New Revision: 330763 URL: https://svnweb.freebsd.org/changeset/base/330763 Log: sorry for that. Fix next typo Pointy hat to:joneum Modified: head/share/misc/committers-ports.dot Modified:

Re: svn commit: r330745 - head/sys/kern

2018-03-11 Thread Bruce Evans
On Sat, 10 Mar 2018, Ian Lepore wrote: Author: ian ... Log: Make root mount timeout logic work for filesystems other than ufs. ... These changes are based on the patch attached to the PR, but it's rewritten enough that all mistakes belong to me. PR:208882 X-MFC after:

svn commit: r330760 - head/sys/dev/nvme

2018-03-11 Thread Alexander Motin
Author: mav Date: Sun Mar 11 06:30:09 2018 New Revision: 330760 URL: https://svnweb.freebsd.org/changeset/base/330760 Log: Add new opcodes and statuses from NVMe 1.3a. MFC after:2 weeks Sponsored by: iXsystems, Inc. Modified: head/sys/dev/nvme/nvme.h

svn commit: r330764 - head/usr.sbin/bhyvectl

2018-03-11 Thread Peter Grehan
Author: grehan Date: Sun Mar 11 08:27:11 2018 New Revision: 330764 URL: https://svnweb.freebsd.org/changeset/base/330764 Log: Add CR2 get/set support. Reported/Tested by: Fabian Freyer Reviewed by: araujo Differential Revision:https://reviews.freebsd.org/D14648 MFC after:

svn commit: r330762 - head/share/misc

2018-03-11 Thread Jochen Neumeister
Author: joneum (ports committer) Date: Sun Mar 11 08:02:14 2018 New Revision: 330762 URL: https://svnweb.freebsd.org/changeset/base/330762 Log: Fix typo Reported by: tcberner Modified: head/share/misc/committers-ports.dot Modified: head/share/misc/committers-ports.dot