svn commit: r352989 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:43:49 2019 New Revision: 352989 URL: https://svnweb.freebsd.org/changeset/base/352989 Log: Seal transmit path with regards to using destroyed mutex in mlx5en(4). It may happen during link down that the running state may be observed non-zero in the

svn commit: r352992 - head/usr.sbin/mlx5tool

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:58:27 2019 New Revision: 352992 URL: https://svnweb.freebsd.org/changeset/base/352992 Log: Use size_t for byte_to_write variable when comparing to eeprom_info_out_len which is also size_t in mlx5tool(8). Submitted by: slavash@ MFC after:3 days

svn commit: r352993 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:59:44 2019 New Revision: 352993 URL: https://svnweb.freebsd.org/changeset/base/352993 Log: Randomize the delay when waiting for VSC flag in mlx5core. The PRM suggests random 0 - 10ms to prevent multiple waiters on the same interval in order to avoid

svn commit: r352997 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 11:06:01 2019 New Revision: 352997 URL: https://svnweb.freebsd.org/changeset/base/352997 Log: Print numeric error_type and module_status in mlx5core in case the strings are not available. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox

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

2019-10-02 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 2 11:40:40 2019 New Revision: 352999 URL: https://svnweb.freebsd.org/changeset/base/352999 Log: Rename etc/rc.d/abi to etc/rc.d/linux; after moving out the SysV IPC stuff it's entirely linux-specific. Reviewed by: emaste MFC after:2 weeks Sponsored

svn commit: r353001 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 12:45:39 2019 New Revision: 353001 URL: https://svnweb.freebsd.org/changeset/base/353001 Log: Fix build failure for gcc after r352983, due to not using static variable declared by net/sff8472.h . MFC after:3 days Sponsored by: Mellanox Technologies

svn commit: r353000 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 12:02:14 2019 New Revision: 353000 URL: https://svnweb.freebsd.org/changeset/base/353000 Log: Fix build failure for 32-bit platforms after r352991, due to incorrect printf() formatter string. MFC after:3 days Sponsored by: Mellanox Technologies

Re: svn commit: r338679 - head/lib/libusb

2019-10-02 Thread Kyle Evans
On Wed, Oct 2, 2019 at 7:55 AM Kyle Evans wrote: > > On Fri, Sep 14, 2018 at 8:41 AM Hans Petter Selasky > wrote: > > > > Author: hselasky > > Date: Fri Sep 14 13:41:37 2018 > > New Revision: 338679 > > URL: https://svnweb.freebsd.org/changeset/base/338679 > > > > Log: > > Improve LibUSB

Re: svn commit: r338679 - head/lib/libusb

2019-10-02 Thread Hans Petter Selasky
On 2019-10-02 14:55, Kyle Evans wrote: On Fri, Sep 14, 2018 at 8:41 AM Hans Petter Selasky wrote: Author: hselasky Date: Fri Sep 14 13:41:37 2018 New Revision: 338679 URL: https://svnweb.freebsd.org/changeset/base/338679 Log: Improve LibUSB debugging by simultaneously allowing both

svn commit: r352990 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:46:57 2019 New Revision: 352990 URL: https://svnweb.freebsd.org/changeset/base/352990 Log: Fix regression issue about bad refcounting of unlimited send tags in mlx5en(4) after r348254. The unlimited send tags are shared amount multiple connections and

svn commit: r352996 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 11:05:05 2019 New Revision: 352996 URL: https://svnweb.freebsd.org/changeset/base/352996 Log: Add print to show user a reason for rejecting buffer size change in mlx5en(4). Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies

svn commit: r352998 - in head/sys/dev/mlx5: mlx5_core mlx5_en mlx5_ib

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 11:15:35 2019 New Revision: 352998 URL: https://svnweb.freebsd.org/changeset/base/352998 Log: Bump driver version for mlx5core, mlx5en(4) and mlx5ib(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified:

Re: svn commit: r352953 - in head/usr.bin: killall split

2019-10-02 Thread Kyle Evans
Sorry for the crap formatting, mobile. We can perhaps also fix this class with a proper modelling file. koobs was going to send out an email about it, but I haven't seen anything. On Wed, Oct 2, 2019, 02:03 Conrad Meyer wrote: > Hi Alexander, > > Coverity has millions of spurious warnings of

svn commit: r353002 - in head/usr.sbin: etcupdate mergemaster

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 12:46:28 2019 New Revision: 353002 URL: https://svnweb.freebsd.org/changeset/base/353002 Log: Unbreak etcupdate(8) and mergemaster(8) after r352950 r352950 introduced improper case fall-through for shell scripts. Fix it with a pipe. Reported by:

svn commit: r353003 - releng/12.1/cddl/contrib/opensolaris/lib/libzfs/common

2019-10-02 Thread Andriy Gapon
Author: avg Date: Wed Oct 2 13:25:28 2019 New Revision: 353003 URL: https://svnweb.freebsd.org/changeset/base/353003 Log: MFS12 r352721: print summary line for space estimate of zfs send from bookmark This should have been merged as a part of r352901 but I missed it. Approved by: re

svn commit: r352991 - in head/sys/dev/mlx5: . mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:53:28 2019 New Revision: 352991 URL: https://svnweb.freebsd.org/changeset/base/352991 Log: Wait for FW readiness before initializing command interface in mlx5core. Before attempting to initialize the command interface we must wait till the

svn commit: r352994 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 11:01:05 2019 New Revision: 352994 URL: https://svnweb.freebsd.org/changeset/base/352994 Log: Improve mlx5_fwdump_prep logging in mlx5core. Submitted by: slavash@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

Re: svn commit: r338679 - head/lib/libusb

2019-10-02 Thread Kyle Evans
On Fri, Sep 14, 2018 at 8:41 AM Hans Petter Selasky wrote: > > Author: hselasky > Date: Fri Sep 14 13:41:37 2018 > New Revision: 338679 > URL: https://svnweb.freebsd.org/changeset/base/338679 > > Log: > Improve LibUSB debugging by simultaneously allowing both function > and transfer prints.

svn commit: r352995 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 11:02:54 2019 New Revision: 352995 URL: https://svnweb.freebsd.org/changeset/base/352995 Log: Only update lossy buffers config when manual PFC configuration was done in mlx5en(4). Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox

Re: svn commit: r338679 - head/lib/libusb

2019-10-02 Thread Hans Petter Selasky
On 2019-10-02 14:58, Kyle Evans wrote: Sorry, I missed that the (ctx)->debug checks just moved a little further in... debugging a little better, because LIBUSB_DEBUG=0 doesn't seem to do the trick for this person. I believe the prints are off by default, unless you call libusb_set_debug() in

Re: svn commit: r352925 - head/sys/dev/xen/control

2019-10-02 Thread Roger Pau Monné
On Tue, Oct 01, 2019 at 06:42:14PM -0700, Ravi Pokala wrote: > Hi Roger, > > If I'm understanding this diff correctly, all of (poweroff, reboot, suspend) > will use the common string "shutdown", rather than an event-specific string. > Is that what we want? I think there's some misunderstanding

svn commit: r352957 - head/sys/dev/mlx5/mlx5_ib

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:11:01 2019 New Revision: 352957 URL: https://svnweb.freebsd.org/changeset/base/352957 Log: Update warning and error print formats in mlx5ib. Submitted by: slavash@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352970 - head/sys/dev/mlx5

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:34:34 2019 New Revision: 352970 URL: https://svnweb.freebsd.org/changeset/base/352970 Log: Define MLX5_VSC_DOMAIN_SCAN_CRSPACE. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_ifc.h

svn commit: r352969 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:33:38 2019 New Revision: 352969 URL: https://svnweb.freebsd.org/changeset/base/352969 Log: Use the MLX5_VSC_DOMAIN_SEMAPHORES constant instead of hand-rolled symbol in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox

svn commit: r352973 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:45:07 2019 New Revision: 352973 URL: https://svnweb.freebsd.org/changeset/base/352973 Log: Add missing blank line at the end of the print in mlx5core. Submitted by: slavash@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352976 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:49:44 2019 New Revision: 352976 URL: https://svnweb.freebsd.org/changeset/base/352976 Log: Unify prints in mlx5en(4). All prints in mlx5en(4) should use on of the macros: mlx5_en_err/dbg/warn Submitted by: slavash@ MFC after:3 days

svn commit: r352985 - in head/sys/dev/mlx5: . mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:22:15 2019 New Revision: 352985 URL: https://svnweb.freebsd.org/changeset/base/352985 Log: Add sysctl(8) to get and set forward error correction, FEC, configuration in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352958 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:12:53 2019 New Revision: 352958 URL: https://svnweb.freebsd.org/changeset/base/352958 Log: Make sure the number of IRQ vectors doesn't exceed 256 in mlx5core. The "intr" field in "struct mlx5_ifc_eqc_bits" is only 8 bits wide. MFC after:3 days

svn commit: r352965 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:27:56 2019 New Revision: 352965 URL: https://svnweb.freebsd.org/changeset/base/352965 Log: Correct and update some counter names in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_en/en.h

svn commit: r352971 - in head/sys/dev/mlx5: . mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:40:23 2019 New Revision: 352971 URL: https://svnweb.freebsd.org/changeset/base/352971 Log: Read rege map from crdump scan space in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352986 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:24:13 2019 New Revision: 352986 URL: https://svnweb.freebsd.org/changeset/base/352986 Log: Return an error from ioctl(MLX5_FW_RESET) if reset was rejected in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies

svn commit: r352954 - head/sys/contrib/rdma/krping

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:03:48 2019 New Revision: 352954 URL: https://svnweb.freebsd.org/changeset/base/352954 Log: Notify all sleeping threads of device removal in krping. Implement d_purge for krping_cdevsw. Submitted by: slavash@ MFC after:3 days Sponsored by:

svn commit: r352960 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:15:07 2019 New Revision: 352960 URL: https://svnweb.freebsd.org/changeset/base/352960 Log: Fix for missing cleanup code in error case in mlx5en. MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352959 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:14:01 2019 New Revision: 352959 URL: https://svnweb.freebsd.org/changeset/base/352959 Log: Check return value of mlx5_vector2eqn() function in mlx5en. MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352975 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:48:01 2019 New Revision: 352975 URL: https://svnweb.freebsd.org/changeset/base/352975 Log: Unify prints in mlx5core. All prints in mlx5core should use on of the macros: mlx5_core_err/dbg/warn Submitted by: slavash@ MFC after:3 days

svn commit: r352981 - in head/sys: conf dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_en modules/mlx5en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:05:34 2019 New Revision: 352981 URL: https://svnweb.freebsd.org/changeset/base/352981 Log: Import Linux code to query/set buffer state in mlx5en(4). Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Added:

svn commit: r352983 - in head: share/man/man4 sys/dev/mlx5 sys/dev/mlx5/mlx5_core sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:14:55 2019 New Revision: 352983 URL: https://svnweb.freebsd.org/changeset/base/352983 Log: Move EEPROM information query from a sysctl in mlx5en(4) to an ioctl in mlx5core. The EEPROM information is not only a property of the mlx5en(4) driver.

Re: svn commit: r352795 - head/lib/libc/sys

2019-10-02 Thread Bruce Evans
On Tue, 1 Oct 2019, Ed Maste wrote: On Tue, 1 Oct 2019 at 12:23, Brooks Davis wrote: This isn't true with CHERI and as a result I've moved the variadic argument handling (except for syscall() and __syscall()) into libc. My grep found: open, openat, fcntl, semsys, msgsys, shmsys Is that the

svn commit: r352988 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:26:26 2019 New Revision: 352988 URL: https://svnweb.freebsd.org/changeset/base/352988 Log: Remove unused cpu field from channel structure in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352987 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:25:47 2019 New Revision: 352987 URL: https://svnweb.freebsd.org/changeset/base/352987 Log: Remove mkey_be from channel structure in mlx5en(4). Use value from priv structure instead. This saves some space in the channel structure. MFC after:3

svn commit: r352961 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:16:17 2019 New Revision: 352961 URL: https://svnweb.freebsd.org/changeset/base/352961 Log: Implement macro for asserting priv lock in mlx5en. MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_en/en.h

svn commit: r352962 - in head/sys: conf dev/mlx5 dev/mlx5/mlx5_core dev/mlx5/mlx5_en modules/mlx5

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:22:22 2019 New Revision: 352962 URL: https://svnweb.freebsd.org/changeset/base/352962 Log: Add support for Multi-Physical Function Switch, MPFS, in mlx5en. MPFS is a logical switch in the Mellanox device which forward packets based on a hardware

svn commit: r352963 - in head/sys/dev/mlx5: . mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:23:33 2019 New Revision: 352963 URL: https://svnweb.freebsd.org/changeset/base/352963 Log: Cleanup naming of IRQ vectors in mlx5en. Remove unused IRQ naming functions and arrays. MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352972 - in head/sys: conf dev/mlx5/mlx5_core modules/mlx5

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:43:48 2019 New Revision: 352972 URL: https://svnweb.freebsd.org/changeset/base/352972 Log: Remove no longer needed fwdump register tables from mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Deleted:

svn commit: r352980 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:59:42 2019 New Revision: 352980 URL: https://svnweb.freebsd.org/changeset/base/352980 Log: Add mlx5e_dbg() compatibility macro. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified: head/sys/dev/mlx5/mlx5_en/en.h

svn commit: r352982 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:08:04 2019 New Revision: 352982 URL: https://svnweb.freebsd.org/changeset/base/352982 Log: Add support for buffer parameter manipulations in mlx5en(4). The following sysctls are added: dev.mce.N.conf.qos.cable_length dev.mce.N.conf.qos.buffers_size

svn commit: r352984 - head/usr.sbin/mlx5tool

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 10:19:17 2019 New Revision: 352984 URL: https://svnweb.freebsd.org/changeset/base/352984 Log: Add the ability to query the EEPROM information in mlx5tool(8). Submitted by: slavash@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352953 - in head/usr.bin: killall split

2019-10-02 Thread Alexander Kabaev
Author: kan Date: Wed Oct 2 06:15:30 2019 New Revision: 352953 URL: https://svnweb.freebsd.org/changeset/base/352953 Log: Convert pnmatch to single element array in regexec calls The regexec function is declared as taking an array of regmatch_t elements, and passing in the pointer to

svn commit: r352956 - head/sys/dev/mlx5/mlx5_ib

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:09:28 2019 New Revision: 352956 URL: https://svnweb.freebsd.org/changeset/base/352956 Log: Fix reported max SGE calculation in mlx5ib. Add the 512 bytes limit of RDMA READ and the size of remote address to the max SGE calculation. Submitted by:

svn commit: r352966 - in head/sys/dev/mlx5: . mlx5_core mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:29:55 2019 New Revision: 352966 URL: https://svnweb.freebsd.org/changeset/base/352966 Log: Add port module event software counters in mlx5core. While at it, fixup PME based on latest PRM defines. Submitted by: slavash@ MFC after:3 days

Re: svn commit: r352953 - in head/usr.bin: killall split

2019-10-02 Thread Conrad Meyer
Hi Alexander, Coverity has millions of spurious warnings of this class and they're basically all false positives. I think we should instead try to figure out how to disable this class of warning on our codebase, since it is largely incorrect. I would encourage reverting this change, because it

svn commit: r352955 - head/sys/ofed/drivers/infiniband/ulp/ipoib

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:06:13 2019 New Revision: 352955 URL: https://svnweb.freebsd.org/changeset/base/352955 Log: Make sure the transmit loop doesn't get starved in ipoib. When the software send queue gets filled up, callbacks to if_transmit will stop. Make sure the

svn commit: r352964 - head/sys/dev/mlx5/mlx5_en

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:27:08 2019 New Revision: 352964 URL: https://svnweb.freebsd.org/changeset/base/352964 Log: Export channel IRQ number as part of the "hw_ctx_debug" sysctl(8) in mlx5en(4). MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352968 - in head/sys/dev/mlx5: . mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:32:41 2019 New Revision: 352968 URL: https://svnweb.freebsd.org/changeset/base/352968 Log: Move mlx5_ifc_vsc_space_bits and mlx5_ifc_vsc_addr_bits to mlx5_ifc.h. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352967 - in head/sys/dev/mlx5: . mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:31:36 2019 New Revision: 352967 URL: https://svnweb.freebsd.org/changeset/base/352967 Log: Make the mlx5_vsc_wait_on_flag(9) function global. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352974 - head/sys/dev/mlx5/mlx5_core

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:46:14 2019 New Revision: 352974 URL: https://svnweb.freebsd.org/changeset/base/352974 Log: Add proper print in case of 0x0 health syndrome in mlx5core. In case of health counter fails to increment it indicates a bad device health. In case when the

svn commit: r352979 - head/sys/dev/mlx5

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:58:00 2019 New Revision: 352979 URL: https://svnweb.freebsd.org/changeset/base/352979 Log: Update definitons for PPTB and PBMC registers layouts in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352978 - head/sys/dev/mlx5

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:57:12 2019 New Revision: 352978 URL: https://svnweb.freebsd.org/changeset/base/352978 Log: Add definition for the Port Buffer Status Register in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r352977 - head/sys/dev/mlx5

2019-10-02 Thread Hans Petter Selasky
Author: hselasky Date: Wed Oct 2 09:56:27 2019 New Revision: 352977 URL: https://svnweb.freebsd.org/changeset/base/352977 Log: Sort the ports registers definitions numerically in mlx5core. Submitted by: kib@ MFC after:3 days Sponsored by: Mellanox Technologies Modified:

svn commit: r353006 - stable/12/sys/x86/x86

2019-10-02 Thread Konstantin Belousov
Author: kib Date: Wed Oct 2 13:43:24 2019 New Revision: 353006 URL: https://svnweb.freebsd.org/changeset/base/353006 Log: MFC r352684: x86: Fall back to leaf 0x16 if TSC frequency is obtained by CPUID and leaf 0x15 is not functional. Modified: stable/12/sys/x86/x86/tsc.c Directory

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

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 15:13:40 2019 New Revision: 353008 URL: https://svnweb.freebsd.org/changeset/base/353008 Log: mips: fcmpset: do not spin on sc failure For ll/sc architectures, atomic(9) allows failure modes where *old == val due to write failure and callers should

Re: svn commit: r352953 - in head/usr.bin: killall split

2019-10-02 Thread Rodney W. Grimes
> Hi Alexander, > > Coverity has millions of spurious warnings of this class and they're > basically all false positives. I think we should instead try to > figure out how to disable this class of warning on our codebase, since > it is largely incorrect. > > I would encourage reverting this

svn commit: r353009 - head/lib/libusb

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 15:19:39 2019 New Revision: 353009 URL: https://svnweb.freebsd.org/changeset/base/353009 Log: libusb: LIBUSB_DEBUG environment variable override of libusb_set_debug The debug level generally just controls verbosity of libusb for debugging libusb

svn commit: r353007 - stable/11/sys/x86/x86

2019-10-02 Thread Konstantin Belousov
Author: kib Date: Wed Oct 2 13:46:40 2019 New Revision: 353007 URL: https://svnweb.freebsd.org/changeset/base/353007 Log: MFC r352684: x86: Fall back to leaf 0x16 if TSC frequency is obtained by CPUID and leaf 0x15 is not functional. Modified: stable/11/sys/x86/x86/tsc.c Directory

Re: svn commit: r352312 - in head: lib/geom/nop sys/geom/nop

2019-10-02 Thread Alan Somers
On Fri, Sep 13, 2019 at 5:04 PM Chuck Silvers wrote: > Author: chs > Date: Fri Sep 13 23:03:56 2019 > New Revision: 352312 > URL: https://svnweb.freebsd.org/changeset/base/352312 > > Log: > Add a "count_until_fail" option to gnop, which says to start failing > I/O requests after the given

svn commit: r353004 - head/usr.sbin/bsdinstall/scripts

2019-10-02 Thread Glen Barber
Author: gjb Date: Wed Oct 2 13:30:17 2019 New Revision: 353004 URL: https://svnweb.freebsd.org/changeset/base/353004 Log: Explicitly add opensolaris_load="YES" to loader.conf through the installer when installing the system on a ZFS root filesystem. For arm64, zfs_load="YES" does not

svn commit: r353005 - releng/12.1/sys/dev/vt

2019-10-02 Thread Andriy Gapon
Author: avg Date: Wed Oct 2 13:36:54 2019 New Revision: 353005 URL: https://svnweb.freebsd.org/changeset/base/353005 Log: MFS12 r352896: vt: fix problems with trying to switch to a closed VT Approved by: re (gjb) Modified: releng/12.1/sys/dev/vt/vt_core.c Directory Properties:

Re: svn commit: r352938 - head/sys/arm/include

2019-10-02 Thread Konstantin Belousov
On Tue, Oct 01, 2019 at 01:53:05PM -0600, Ian Lepore wrote: > On Tue, 2019-10-01 at 22:49 +0300, Konstantin Belousov wrote: > > On Tue, Oct 01, 2019 at 07:39:00PM +, Ian Lepore wrote: > > > Author: ian > > > Date: Tue Oct 1 19:39:00 2019 > > > New Revision: 352938 > > > URL:

svn commit: r353010 - head/sys/kern

2019-10-02 Thread Mark Johnston
Author: markj Date: Wed Oct 2 15:45:49 2019 New Revision: 353010 URL: https://svnweb.freebsd.org/changeset/base/353010 Log: Disallow fcntl(F_READAHEAD) when the vnode is not a regular file. The mountpoint may not have defined an iosize parameter, so an attempt to configure readahead on

Re: svn commit: r353012 - head/usr.sbin/bsdinstall/scripts

2019-10-02 Thread Rodney W. Grimes
> On Wed, 2019-10-02 at 16:09 +, Glen Barber wrote: > > Author: gjb > > Date: Wed Oct 2 16:09:28 2019 > > New Revision: 353012 > > URL: https://svnweb.freebsd.org/changeset/base/353012 > > > > Log: > > Add a comment explaining why the opensolaris_load line in loader.conf > > is

Re: svn commit: r352925 - head/sys/dev/xen/control

2019-10-02 Thread Ravi Pokala
-Original Message- From: Roger Pau Monné Date: 2019-10-02, Wednesday at 00:53 To: Ravi Pokala Cc: , , Subject: Re: svn commit: r352925 - head/sys/dev/xen/control On Tue, Oct 01, 2019 at 06:42:14PM -0700, Ravi Pokala wrote: > Hi Roger, > > If I'm understanding this

svn commit: r353013 - head/sys/modules/hptmv

2019-10-02 Thread Mark Johnston
Author: markj Date: Wed Oct 2 16:18:50 2019 New Revision: 353013 URL: https://svnweb.freebsd.org/changeset/base/353013 Log: Harmonize the hptmv blob's build rule with that of other hpt* drivers. No functional change intended. Reviewed by: emaste MFC after:1 week Differential

Re: svn commit: r353012 - head/usr.sbin/bsdinstall/scripts

2019-10-02 Thread Glen Barber
On Wed, Oct 02, 2019 at 10:13:01AM -0600, Ian Lepore wrote: > On Wed, 2019-10-02 at 16:09 +, Glen Barber wrote: > > Author: gjb > > Date: Wed Oct 2 16:09:28 2019 > > New Revision: 353012 > > URL: https://svnweb.freebsd.org/changeset/base/353012 > > > > Log: > > Add a comment explaining why

svn commit: r353014 - head/sys/kern

2019-10-02 Thread Mark Johnston
Author: markj Date: Wed Oct 2 16:34:42 2019 New Revision: 353014 URL: https://svnweb.freebsd.org/changeset/base/353014 Log: Use OBJT_PHYS VM objects for kernel modules. OBJT_DEFAULT incurs some unnecessary overhead given that kernel module pages cannot be paged out. Reviewed by:

svn commit: r353019 - head/share/mk

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 17:18:18 2019 New Revision: 353019 URL: https://svnweb.freebsd.org/changeset/base/353019 Log: Override the TLS model when building mips64 binaries and static libraries GCC uses "dynamic" TLS models when -fpic or -fPIC is explicitly specified on the command

svn commit: r353011 - in head/usr.bin: killall split

2019-10-02 Thread Alexander Kabaev
Author: kan Date: Wed Oct 2 16:08:01 2019 New Revision: 353011 URL: https://svnweb.freebsd.org/changeset/base/353011 Log: Revert r352953: Convert pnmatch to single element array in regexec calls Requested by: cem Modified: head/usr.bin/killall/killall.c head/usr.bin/split/split.c

svn commit: r353012 - head/usr.sbin/bsdinstall/scripts

2019-10-02 Thread Glen Barber
Author: gjb Date: Wed Oct 2 16:09:28 2019 New Revision: 353012 URL: https://svnweb.freebsd.org/changeset/base/353012 Log: Add a comment explaining why the opensolaris_load line in loader.conf is explicitly added. Requested by: rgrimes MFC after:3 days MFC with: r353004

svn commit: r353017 - head/sys/sparc64/include

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 17:08:20 2019 New Revision: 353017 URL: https://svnweb.freebsd.org/changeset/base/353017 Log: sparc64: use generic sub-word atomic *cmpset Most of this diff is refactoring to reduce duplication between the different acq_ and rel_ variants.

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

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 17:07:59 2019 New Revision: 353016 URL: https://svnweb.freebsd.org/changeset/base/353016 Log: mips: use generic sub-word atomic *cmpset Most of this diff is refactoring to reduce duplication between the different acq_ and rel_ variants. Differential

svn commit: r353018 - head/usr.bin/clang

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 17:15:38 2019 New Revision: 353018 URL: https://svnweb.freebsd.org/changeset/base/353018 Log: clang: use -mxgot for 32-bit mips Various bits in usr.bin/clang/* will fail to compile without -mxgot due to truncated relocations. -mxgot entails a speed

Re: svn commit: r353012 - head/usr.sbin/bsdinstall/scripts

2019-10-02 Thread Ian Lepore
On Wed, 2019-10-02 at 16:09 +, Glen Barber wrote: > Author: gjb > Date: Wed Oct 2 16:09:28 2019 > New Revision: 353012 > URL: https://svnweb.freebsd.org/changeset/base/353012 > > Log: > Add a comment explaining why the opensolaris_load line in loader.conf > is explicitly added. > >

Re: svn commit: r353012 - head/usr.sbin/bsdinstall/scripts

2019-10-02 Thread Rodney W. Grimes
> Author: gjb > Date: Wed Oct 2 16:09:28 2019 > New Revision: 353012 > URL: https://svnweb.freebsd.org/changeset/base/353012 > > Log: > Add a comment explaining why the opensolaris_load line in loader.conf > is explicitly added. Thank you, Rod > > Requested by: rgrimes > MFC

svn commit: r353015 - head/sys/sys

2019-10-02 Thread Kyle Evans
Author: kevans Date: Wed Oct 2 17:06:28 2019 New Revision: 353015 URL: https://svnweb.freebsd.org/changeset/base/353015 Log: Provide generic sub-word atomic *cmpset Provide *cmpset_{8,16} as wrappers around atomic_fcmpset_32. Initial users will be mips and sparc64, and perhaps parts of

svn commit: r353020 - head/sys/dev/nvdimm

2019-10-02 Thread Conrad Meyer
Author: cem Date: Wed Oct 2 19:13:35 2019 New Revision: 353020 URL: https://svnweb.freebsd.org/changeset/base/353020 Log: nvdimm: Fix error path mis-free Regression introduced in r343629 when malloc result was renamed from spa to spa_mapping and the 'spa' name was instead used to

Re: svn commit: r352396 - stable/12/sys/arm64/arm64

2019-10-02 Thread Ed Maste
On Mon, 16 Sep 2019 at 10:07, Andrew Turner wrote: > > Author: andrew > Date: Mon Sep 16 14:07:30 2019 > New Revision: 352396 > URL: https://svnweb.freebsd.org/changeset/base/352396 > > Log: > MFC r343876: > > Add missing data barriers after storeing a new valid pagetable entry. Will you

Re: svn commit: r352396 - stable/12/sys/arm64/arm64

2019-10-02 Thread Ed Maste
On Wed, 2 Oct 2019 at 15:04, Ed Maste wrote: > > Will you merge this to releng/12.0? Oops, I meant 12.1, and it's already there. ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any

svn commit: r353021 - head/sys/kern

2019-10-02 Thread Ed Maste
Author: emaste Date: Wed Oct 2 21:01:23 2019 New Revision: 353021 URL: https://svnweb.freebsd.org/changeset/base/353021 Log: simplify path handling in sysctl_try_reclaim_vnode MAXPATHLEN / PATH_MAX includes space for the terminating NUL, and namei verifies the presence of the NUL. Thus

svn commit: r353022 - head/release/tools

2019-10-02 Thread Colin Percival
Author: cperciva Date: Wed Oct 2 21:35:39 2019 New Revision: 353022 URL: https://svnweb.freebsd.org/changeset/base/353022 Log: Switch EC2 AMIs from using the dual-dhclient script to using the new dual-dhclient-daemon daemon. This makes it possible to stop/restart the dhclients. MFC

svn commit: r353023 - head/sys/conf

2019-10-02 Thread John Baldwin
Author: jhb Date: Wed Oct 2 21:49:39 2019 New Revision: 353023 URL: https://svnweb.freebsd.org/changeset/base/353023 Log: Fix the EMBEDFS_FORMAT helper variable for riscv64. It was defined with the wrong MACHINE_ARCH previously. This permits using an MFS image without defining

Re: svn commit: r352312 - in head: lib/geom/nop sys/geom/nop

2019-10-02 Thread Chuck Silvers
On Wed, Oct 02, 2019 at 08:11:57AM -0600, Alan Somers wrote: > On Fri, Sep 13, 2019 at 5:04 PM Chuck Silvers wrote: > > > Author: chs > > Date: Fri Sep 13 23:03:56 2019 > > New Revision: 352312 > > URL: https://svnweb.freebsd.org/changeset/base/352312 > > > > Log: > > Add a "count_until_fail"

svn commit: r353024 - head/usr.sbin/daemon

2019-10-02 Thread Ian Lepore
Author: ian Date: Wed Oct 2 23:06:17 2019 New Revision: 353024 URL: https://svnweb.freebsd.org/changeset/base/353024 Log: Clarify how the -f option for daemon(8) interacts with other options related to redirecting stdout and stderr. Modified: head/usr.sbin/daemon/daemon.8 Modified:

svn commit: r353025 - head/usr.sbin/daemon

2019-10-02 Thread Ian Lepore
Author: ian Date: Wed Oct 2 23:19:34 2019 New Revision: 353025 URL: https://svnweb.freebsd.org/changeset/base/353025 Log: Bump .Dd for earlier update (should have been part of r353024). Modified: head/usr.sbin/daemon/daemon.8 Modified: head/usr.sbin/daemon/daemon.8

svn commit: r353028 - releng/12.1/lib/libkvm

2019-10-02 Thread Mike Karels
Author: karels Date: Thu Oct 3 02:51:48 2019 New Revision: 353028 URL: https://svnweb.freebsd.org/changeset/base/353028 Log: MFC r352867: Add support for ps -H on corefiles in libkvm Add support for kernel threads in kvm_getprocs() and the underlying kvm_proclist() in libkvm when

svn commit: r353026 - in head: share/man/man4 sys/netgraph

2019-10-02 Thread Gleb Smirnoff
Author: glebius Date: Thu Oct 3 02:32:55 2019 New Revision: 353026 URL: https://svnweb.freebsd.org/changeset/base/353026 Log: - Remove the compile time limit for number of links a ng_bridge node can handle. Instead using an array on node private data, use per-hook private data. -

svn commit: r353030 - head/sys/netgraph

2019-10-02 Thread Gleb Smirnoff
Author: glebius Date: Thu Oct 3 04:41:57 2019 New Revision: 353030 URL: https://svnweb.freebsd.org/changeset/base/353030 Log: Fix build failure from r353026. Somehow module build allowed this. Pointy hat to:glebius Modified: head/sys/netgraph/ng_bridge.c Modified:

svn commit: r353027 - head/sys/netgraph

2019-10-02 Thread Gleb Smirnoff
Author: glebius Date: Thu Oct 3 02:34:51 2019 New Revision: 353027 URL: https://svnweb.freebsd.org/changeset/base/353027 Log: Protect access to seq->xwin[] with the seq mutex. MFC after:5 weeks Modified: head/sys/netgraph/ng_l2tp.c Modified: head/sys/netgraph/ng_l2tp.c