svn commit: r355258 - head/sys/amd64/vmm/amd

2019-11-30 Thread Anish Gupta
Author: anish Date: Sun Dec 1 04:00:08 2019 New Revision: 355258 URL: https://svnweb.freebsd.org/changeset/base/355258 Log: bhyve amd: amdvi_dump_cmds() log the command for which the command completion failed. Completion is checked in poll mode although it can be done using interrupts. No

svn commit: r355257 - head/sys/dev/usb/input

2019-11-30 Thread Kyle Evans
Author: kevans Date: Sun Dec 1 03:56:18 2019 New Revision: 355257 URL: https://svnweb.freebsd.org/changeset/base/355257 Log: usb: remove some extraneous tty.h includes Modified: head/sys/dev/usb/input/uep.c head/sys/dev/usb/input/ukbd.c head/sys/dev/usb/input/ums.c Modified:

svn commit: r355256 - in head/sys: kern sys

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sun Dec 1 00:35:08 2019 New Revision: 355256 URL: https://svnweb.freebsd.org/changeset/base/355256 Log: lockmgr: remove more remnants of adaptive spinning Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_lock.c head/sys/sys/lockmgr.h Modified:

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

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sun Dec 1 00:34:49 2019 New Revision: 355255 URL: https://svnweb.freebsd.org/changeset/base/355255 Log: tmpfs: use proper macros for permission values in tmpfs_access While here group them in one var to prevent overy long lines. Perhaps a general macro of the same sort

svn commit: r355254 - in head/sys: netinet netinet6 netipsec

2019-11-30 Thread Bjoern A. Zeeb
Author: bz Date: Sun Dec 1 00:22:04 2019 New Revision: 355254 URL: https://svnweb.freebsd.org/changeset/base/355254 Log: Fix m_pullup() problem after removing PULLDOWN_TESTs and KAME EXT_*macros. r354748-354750 replaced the KAME macros with m_pulldown() calls. Contrary to the rest of

Re: svn commit: r355227 - head/sys/fs/tmpfs

2019-11-30 Thread Mateusz Guzik
On 12/1/19, Konstantin Belousov wrote: > On Sun, Dec 01, 2019 at 12:15:06AM +0100, Mateusz Guzik wrote: >> On 12/1/19, Konstantin Belousov wrote: >> > On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote: >> >> Author: mjg >> >> Date: Sat Nov 30 16:41:47 2019 >> >> New Revision: 355227

Re: svn commit: r355227 - head/sys/fs/tmpfs

2019-11-30 Thread Konstantin Belousov
On Sun, Dec 01, 2019 at 12:15:06AM +0100, Mateusz Guzik wrote: > On 12/1/19, Konstantin Belousov wrote: > > On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote: > >> Author: mjg > >> Date: Sat Nov 30 16:41:47 2019 > >> New Revision: 355227 > >> URL:

Re: svn commit: r355227 - head/sys/fs/tmpfs

2019-11-30 Thread Mateusz Guzik
On 12/1/19, Konstantin Belousov wrote: > On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote: >> Author: mjg >> Date: Sat Nov 30 16:41:47 2019 >> New Revision: 355227 >> URL: https://svnweb.freebsd.org/changeset/base/355227 >> >> Log: >> tmpfs: add fast path to tmpfs_access for common

Re: svn commit: r355227 - head/sys/fs/tmpfs

2019-11-30 Thread Konstantin Belousov
On Sat, Nov 30, 2019 at 04:41:48PM +, Mateusz Guzik wrote: > Author: mjg > Date: Sat Nov 30 16:41:47 2019 > New Revision: 355227 > URL: https://svnweb.freebsd.org/changeset/base/355227 > > Log: > tmpfs: add fast path to tmpfs_access for common case lookup > > VEXEC consists of vast

svn commit: r355253 - stable/11/sys/dev/cxgbe

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 21:11:17 2019 New Revision: 355253 URL: https://svnweb.freebsd.org/changeset/base/355253 Log: MFC r354742: cxgbev(4): Catch up with the pciids in the PF driver. Sponsored by: Chelsio Communications Modified: stable/11/sys/dev/cxgbe/t4_iov.c

svn commit: r355252 - stable/11/sys/dev/cxgbe

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 20:51:47 2019 New Revision: 355252 URL: https://svnweb.freebsd.org/changeset/base/355252 Log: MFC r354522: cxgbe(4): Query Vdd from the firmware if its last known value is 0. TVSENSE may not be ready by the time t4_fw_initialize returns and the firmware

svn commit: r355251 - stable/11/share/man/man4

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 20:43:30 2019 New Revision: 355251 URL: https://svnweb.freebsd.org/changeset/base/355251 Log: MFC r354110: Fix typo in cxgbe.4. Modified: stable/11/share/man/man4/cxgbe.4 Directory Properties: stable/11/ (props changed) Modified:

svn commit: r355250 - in stable/11/sys/dev/cxgbe: . common iw_cxgbe

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 20:42:18 2019 New Revision: 355250 URL: https://svnweb.freebsd.org/changeset/base/355250 Log: MFC r354106: cxgbe(4): Use correct FetchBurstMin values for T6. Sponsored by: Chelsio Communications Modified: stable/11/sys/dev/cxgbe/common/t4_regs_values.h

svn commit: r355249 - stable/11/sys/dev/cxgbe/tom

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 20:22:03 2019 New Revision: 355249 URL: https://svnweb.freebsd.org/changeset/base/355249 Log: MFC r351524: cxgbe/t4_tom: Limit work requests with immediate payload to a single descriptor. The per-tid tx credits are in demand during active Tx and it's best

svn commit: r355248 - in head: share/man/man4 sys/fs/devfs sys/kern

2019-11-30 Thread Kyle Evans
Author: kevans Date: Sat Nov 30 20:10:50 2019 New Revision: 355248 URL: https://svnweb.freebsd.org/changeset/base/355248 Log: tty: implement TIOCNOTTY Generally, it's preferred that an application fork/setsid if it doesn't want to keep its controlling TTY, but it could be that a debugger

svn commit: r355247 - head/libexec/save-entropy

2019-11-30 Thread Xin LI
Author: delphij Date: Sat Nov 30 20:06:53 2019 New Revision: 355247 URL: https://svnweb.freebsd.org/changeset/base/355247 Log: Reduce disk write load in /usr/libexec/save-entropy. Before this commit, the save-entropy script rotates entropy files like logs. This involves creating a new

svn commit: r355246 - stable/11/sys/dev/cxgbe/tom

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 20:04:40 2019 New Revision: 355246 URL: https://svnweb.freebsd.org/changeset/base/355246 Log: MFC r351446: cxgbe/t4_tom: Any invalid scaling factor in the hardware's wsf field implies that window scaling is not in use. Sponsored by: Chelsio Communications

svn commit: r355245 - stable/11/sys/dev/cxgbe/tom

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 19:54:45 2019 New Revision: 355245 URL: https://svnweb.freebsd.org/changeset/base/355245 Log: MFC r351445: whitespace nit. Modified: stable/11/sys/dev/cxgbe/tom/t4_listen.c Directory Properties: stable/11/ (props changed) Modified:

svn commit: r355244 - stable/11/sys/dev/cxgbe/common

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 19:52:47 2019 New Revision: 355244 URL: https://svnweb.freebsd.org/changeset/base/355244 Log: MFC r349956: cxgbe(4): Completely ignore all top level interrupts that are not enabled. The driver used to log any non-zero cause and when running with a single

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Ian Lepore
On Sat, 2019-11-30 at 11:25 -0800, Enji Cooper wrote: > > On Nov 30, 2019, at 11:01 AM, Warner Losh wrote: > > > > On Sat, Nov 30, 2019 at 11:58 AM Enji Cooper > > wrote: > > > > > On Nov 30, 2019, at 10:03 AM, Warner Losh > > > wrote: >

svn commit: r355243 - stable/11/sys/dev/cxgbe

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 19:35:20 2019 New Revision: 355243 URL: https://svnweb.freebsd.org/changeset/base/355243 Log: MFC r349865: cxgbe(4): Use the simplest configuration possible when falling back from the default configuration. Sponsored by: Chelsio Communications Modified:

svn commit: r355242 - stable/11/sys/dev/cxgbe/tom

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 19:33:14 2019 New Revision: 355242 URL: https://svnweb.freebsd.org/changeset/base/355242 Log: MFC r349500: cxgbe/t4_tom: Fix regression in t_maxseg usage within t4_tom. t_maxseg was changed in r293284 to not have any adjustment for TCP timestamps. t4_tom

svn commit: r355241 - head/sys/kern

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 19:33:02 2019 New Revision: 355241 URL: https://svnweb.freebsd.org/changeset/base/355241 Log: smp: cast the read in quiesce_all_critical through void * Fixes compilation on some 32-bit arm platforms. Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Enji Cooper
> On Nov 30, 2019, at 11:01 AM, Warner Losh wrote: > > On Sat, Nov 30, 2019 at 11:58 AM Enji Cooper > wrote: > >> On Nov 30, 2019, at 10:03 AM, Warner Losh > > wrote: >> >> >> >> On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper >

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

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 19:21:29 2019 New Revision: 355240 URL: https://svnweb.freebsd.org/changeset/base/355240 Log: MFC r349499: cxgbe/iw_cxgbe: Remove unused field from the endpoint structure. Modified: stable/11/sys/dev/cxgbe/iw_cxgbe/cm.c

svn commit: r355239 - head/sys/dev/ofw

2019-11-30 Thread Ian Lepore
Author: ian Date: Sat Nov 30 19:16:44 2019 New Revision: 355239 URL: https://svnweb.freebsd.org/changeset/base/355239 Log: Add an OFWBUS_PNP_INFO() macro for devices that hang directly off the root ofwbus. Also, apply some style(9) whitespace fixing to the SIMPLEBUS_PNP_INFO() macro (no

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Warner Losh
On Sat, Nov 30, 2019 at 11:58 AM Enji Cooper wrote: > > On Nov 30, 2019, at 10:03 AM, Warner Losh wrote: > > > > On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper > wrote: > >> >> > On Nov 27, 2019, at 6:32 PM, Scott Long wrote: >> > >> > Author: scottl >> > Date: Thu Nov 28 02:32:17 2019 >> > New

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Enji Cooper
> On Nov 30, 2019, at 10:03 AM, Warner Losh wrote: > > > > On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper > wrote: > > > On Nov 27, 2019, at 6:32 PM, Scott Long wrote: > > > > Author: scottl > > Date: Thu Nov 28 02:32:17 2019 > > New Revision: 355164 > > URL:

svn commit: r355238 - stable/11/sys/dev/cxgbe/tom

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 18:55:50 2019 New Revision: 355238 URL: https://svnweb.freebsd.org/changeset/base/355238 Log: MFC r349242: cxgbe/t4_tom: DDP_DEAD is a ddp flag and not a toepcb flag. The driver was in effect setting TPF_ABORT_SHUTDOWN on the toepcb instead of what was

svn commit: r355237 - stable/12/sys/dev/cxgbe

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 18:05:38 2019 New Revision: 355237 URL: https://svnweb.freebsd.org/changeset/base/355237 Log: MFC r354742: cxgbev(4): Catch up with the pciids in the PF driver. Sponsored by: Chelsio Communications Modified: stable/12/sys/dev/cxgbe/t4_iov.c

svn commit: r355236 - stable/12/sys/dev/cxgbe

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 18:03:53 2019 New Revision: 355236 URL: https://svnweb.freebsd.org/changeset/base/355236 Log: MFC r354522: cxgbe(4): Query Vdd from the firmware if its last known value is 0. TVSENSE may not be ready by the time t4_fw_initialize returns and the firmware

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Warner Losh
On Sat, Nov 30, 2019 at 10:47 AM Enji Cooper wrote: > > > On Nov 27, 2019, at 6:32 PM, Scott Long wrote: > > > > Author: scottl > > Date: Thu Nov 28 02:32:17 2019 > > New Revision: 355164 > > URL: https://svnweb.freebsd.org/changeset/base/355164 > > > > Log: > > Remove the trm(4) driver > > >

svn commit: r355235 - stable/12/share/man/man4

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 17:57:37 2019 New Revision: 355235 URL: https://svnweb.freebsd.org/changeset/base/355235 Log: MFC r354110: Fix typo in cxgbe.4. Modified: stable/12/share/man/man4/cxgbe.4 Directory Properties: stable/12/ (props changed) Modified:

svn commit: r355234 - in stable/12/sys/dev/cxgbe: . common iw_cxgbe

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 17:56:04 2019 New Revision: 355234 URL: https://svnweb.freebsd.org/changeset/base/355234 Log: MFC r354106: cxgbe(4): Use correct FetchBurstMin values for T6. Sponsored by: Chelsio Communications Modified: stable/12/sys/dev/cxgbe/common/t4_regs_values.h

svn commit: r355233 - stable/12/sys/dev/cxgbe

2019-11-30 Thread Navdeep Parhar
Author: np Date: Sat Nov 30 17:51:08 2019 New Revision: 355233 URL: https://svnweb.freebsd.org/changeset/base/355233 Log: MFC r353578: cxgbe(4): An EQ update can be requested in a TX_PKTS2 work request. Sponsored by: Chelsio Communications Modified: stable/12/sys/dev/cxgbe/t4_sge.c

Re: svn commit: r355164 - in head: . share/man/man4 sys/amd64/conf sys/conf sys/dev/trm sys/i386/conf sys/modules sys/modules/trm

2019-11-30 Thread Enji Cooper
> On Nov 27, 2019, at 6:32 PM, Scott Long wrote: > > Author: scottl > Date: Thu Nov 28 02:32:17 2019 > New Revision: 355164 > URL: https://svnweb.freebsd.org/changeset/base/355164 > > Log: > Remove the trm(4) driver > > Differential Revision: https://reviews.freebsd.org/D22575 Hi

svn commit: r355232 - head/libexec/rc/rc.d

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 17:30:01 2019 New Revision: 355232 URL: https://svnweb.freebsd.org/changeset/base/355232 Log: ldconfig: fetch hw.machine_arch only once This happens to be of significance with poudriere which runs the script a lot when installing packages. Modified:

svn commit: r355231 - head/sys/kern

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 17:24:42 2019 New Revision: 355231 URL: https://svnweb.freebsd.org/changeset/base/355231 Log: lockprof: use IPI-injecetd fences to fix hangs on stat dump and reset The previously used quiesce_all_cpus walks all CPUs and waits until curthread can run on them.

svn commit: r355230 - in head/sys: kern sys

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 17:22:10 2019 New Revision: 355230 URL: https://svnweb.freebsd.org/changeset/base/355230 Log: Add a way to inject fences using IPIs A variant of this facility was already used by rmlocks where IPIs would enforce ordering. This allows to elide fences

svn commit: r355228 - in head/sys: fs/devfs kern

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 16:46:19 2019 New Revision: 355228 URL: https://svnweb.freebsd.org/changeset/base/355228 Log: devfs: introduce a per-dev lock to protect ->si_devsw This allows bumping threadcount without taking the global devmtx lock. In particular this eliminates

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

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 16:41:47 2019 New Revision: 355227 URL: https://svnweb.freebsd.org/changeset/base/355227 Log: tmpfs: add fast path to tmpfs_access for common case lookup VEXEC consists of vast majority of all calls and almost all targets have at least 0111. Modified:

svn commit: r355226 - head/sys/sys

2019-11-30 Thread Mateusz Guzik
Author: mjg Date: Sat Nov 30 16:40:16 2019 New Revision: 355226 URL: https://svnweb.freebsd.org/changeset/base/355226 Log: vfs: swap placement between v_type and v_tag The former is frequently accessed (e.g., in vfs_cache_lookup) and shares the cacheline with v_usecount, avoidably adding

svn commit: r355225 - head/sbin/bectl

2019-11-30 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Sat Nov 30 14:17:45 2019 New Revision: 355225 URL: https://svnweb.freebsd.org/changeset/base/355225 Log: Capitalize some user-visible output messages in the bectl utility. No functional changes. Approved by: imp@ MFC after:7 days

svn commit: r355224 - in head/stand/efi: include libefi

2019-11-30 Thread Toomas Soome
Author: tsoome Date: Sat Nov 30 09:11:28 2019 New Revision: 355224 URL: https://svnweb.freebsd.org/changeset/base/355224 Log: loader.efi: efipart needs better support detecting nested partitions Just as disks can have nested partitions, the same happens with cd devices, so we need to