svn commit: r340914 - head/sys/kern

2018-11-24 Thread Alan Cox
Author: alc Date: Sat Nov 24 21:52:10 2018 New Revision: 340914 URL: https://svnweb.freebsd.org/changeset/base/340914 Log: blist_meta_alloc assumes that mask=scan->bm_bitmap is nonzero. But if the cursor lies in the middle of the space that the meta node represents, then blanking the low

svn commit: r340913 - head/sys/dev/atkbdc

2018-11-24 Thread Vladimir Kondratyev
Author: wulf Date: Sat Nov 24 21:23:12 2018 New Revision: 340913 URL: https://svnweb.freebsd.org/changeset/base/340913 Log: psm(4): Add minimal support for active AUX port multiplexers Active PS/2 multiplexing is a method for attaching up to four PS/2 pointing devices to a computer.

svn commit: r340912 - head/sys/dev/atkbdc

2018-11-24 Thread Vladimir Kondratyev
Author: wulf Date: Sat Nov 24 21:17:51 2018 New Revision: 340912 URL: https://svnweb.freebsd.org/changeset/base/340912 Log: Revert r328640: Add kludge for 0x46 identity middle byte Synaptics touchpads. It appeared that "0x46 identity middle byte" response is caused by so called "Active

svn commit: r340911 - head/lib/csu/tests

2018-11-24 Thread Andrew Turner
Author: andrew Date: Sat Nov 24 18:25:00 2018 New Revision: 340911 URL: https://svnweb.freebsd.org/changeset/base/340911 Log: Re-enable the dynamiclib tests. These should be fixed by r340910. Modified: head/lib/csu/tests/Makefile Modified: head/lib/csu/tests/Makefile

svn commit: r340910 - head/lib/csu/common

2018-11-24 Thread Andrew Turner
Author: andrew Date: Sat Nov 24 18:23:53 2018 New Revision: 340910 URL: https://svnweb.freebsd.org/changeset/base/340910 Log: Add the missing 0 at the end of the .jcr section. Without this the dynamic library test was failing as it was calling _Jv_RegisterClasses multiple times.

svn commit: r340909 - head/sys/contrib/ipfilter/netinet

2018-11-24 Thread Cy Schubert
Author: cy Date: Sat Nov 24 18:23:05 2018 New Revision: 340909 URL: https://svnweb.freebsd.org/changeset/base/340909 Log: Combine two lines into one following unifdef for r255332. MFC after:1 week Modified: head/sys/contrib/ipfilter/netinet/ip_fil_freebsd.c Modified:

svn commit: r340908 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 18:13:34 2018 New Revision: 340908 URL: https://svnweb.freebsd.org/changeset/base/340908 Log: sfxge(4): allow to request inner classes for Rx packets If HW/FW supports tunnel encapsulations, Rx event may contain either inner or outer packet classes. By

svn commit: r340906 - in head/sys/dev/sfxge: . common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 18:13:07 2018 New Revision: 340906 URL: https://svnweb.freebsd.org/changeset/base/340906 Log: sfxge(4): control RxQ scatter using flag instead of type Rx scatter may be applicable to different Rx queue types. Sponsored by: Solarflare Communications,

svn commit: r340907 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 18:13:21 2018 New Revision: 340907 URL: https://svnweb.freebsd.org/changeset/base/340907 Log: sfxge(4): add function to create packed stream RxQ Encoding packed stream buffer size in RxQ type is not a future-proof idea taking into account a new RxQ types

svn commit: r340900 - in head/sys: compat/linux kern sys

2018-11-24 Thread Mark Johnston
Author: markj Date: Sat Nov 24 17:06:01 2018 New Revision: 340900 URL: https://svnweb.freebsd.org/changeset/base/340900 Log: Pass malloc flags directly through kevent(2) subroutines. Some kevent functions have a boolean "waitok" parameter for use when calling malloc(9). Replace them

svn commit: r340899 - head/sys/kern

2018-11-24 Thread Mark Johnston
Author: markj Date: Sat Nov 24 17:02:31 2018 New Revision: 340899 URL: https://svnweb.freebsd.org/changeset/base/340899 Log: Plug some kernel memory disclosures via kevent(2). The kernel may register for events on behalf of a userspace process, in which case it must be careful to zero

svn commit: r340898 - head/sys/kern

2018-11-24 Thread Mark Johnston
Author: markj Date: Sat Nov 24 16:58:34 2018 New Revision: 340898 URL: https://svnweb.freebsd.org/changeset/base/340898 Log: Ensure that knotes do not get registered when KQ_CLOSING is set. KQ_CLOSING is set before draining the knotes associated with a kqueue, so we must ensure that new

svn commit: r340897 - head/sys/kern

2018-11-24 Thread Mark Johnston
Author: markj Date: Sat Nov 24 16:41:29 2018 New Revision: 340897 URL: https://svnweb.freebsd.org/changeset/base/340897 Log: Lock the knlist before releasing the in-flux state in knote_fork(). Otherwise there is a window, before iteration is resumed, during which the knote may be freed.

svn commit: r340893 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:31:08 2018 New Revision: 340893 URL: https://svnweb.freebsd.org/changeset/base/340893 Log: sfxge(4): expand on comment on number of queues field Expand on comment on RSS_CONTEXT_ALLOC_IN_NUM_QUEUES field. Submitted by: Mark Spender Sponsored

svn commit: r340896 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:31:43 2018 New Revision: 340896 URL: https://svnweb.freebsd.org/changeset/base/340896 Log: sfxge(4): remove Falcon-specific concurrency check Falcon support has been withdrawn from libefx, however, there is still an obsolete Falcon-specific assertion

svn commit: r340895 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:31:31 2018 New Revision: 340895 URL: https://svnweb.freebsd.org/changeset/base/340895 Log: sfxge(4): move BIU test code into Siena-specific file Submitted by: Mark Spender Sponsored by: Solarflare Communications, Inc. Differential Revision:

svn commit: r340891 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:46 2018 New Revision: 340891 URL: https://svnweb.freebsd.org/changeset/base/340891 Log: sfxge(4): fix warnings from VS2015 C compiler (C4214) Fix multiple level 4 warnings "C4214: nonstandard extension used: bit field types other than int"; no

svn commit: r340894 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:31:20 2018 New Revision: 340894 URL: https://svnweb.freebsd.org/changeset/base/340894 Log: sfxge(4): fix PreFAST static analysis warning (C6001) Fix warning "C6001: Using uninitialized memory '*sensor_maskp'" which could occur when the npages

svn commit: r340892 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:57 2018 New Revision: 340892 URL: https://svnweb.freebsd.org/changeset/base/340892 Log: sfxge(4): remove obsolete check for pre-Siena hardware The fail4 label was used twice, so it doesn't need removing. Submitted by: Mark Spender Sponsored

svn commit: r340890 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:34 2018 New Revision: 340890 URL: https://svnweb.freebsd.org/changeset/base/340890 Log: sfxge(4): fix warnings from VS2015 C compiler (C4057) Fix two level 4 warnings "C4057: 'function': 'const uint8_t *' differs in indirection to slightly

svn commit: r340889 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:22 2018 New Revision: 340889 URL: https://svnweb.freebsd.org/changeset/base/340889 Log: sfxge(4): fix warnings from VS2015 C compiler (C4189) Fix multiple level 4 warnings "C4189: 'xxx': local variable is initialized but not referenced"; no

svn commit: r340888 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:30:09 2018 New Revision: 340888 URL: https://svnweb.freebsd.org/changeset/base/340888 Log: sfxge(4): fix warnings from VS2015 C compiler (C4100) Fix multiple level 4 warnings "C4100: 'xxx': unreferenced formal parameter" no functional changes.

svn commit: r340887 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:58 2018 New Revision: 340887 URL: https://svnweb.freebsd.org/changeset/base/340887 Log: sfxge(4): fix warnings from VS2015 C compiler (C4245) Fix level 4 warning "C4245: 'initializing': conversion from 'int' to 'uint32_t', signed/unsigned

svn commit: r340886 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:46 2018 New Revision: 340886 URL: https://svnweb.freebsd.org/changeset/base/340886 Log: sfxge(4): fix warnings from VS2015 C compiler (C4244) Fix level 4 warning "C4244: '+=': conversion from 'unsigned int' to 'uint16_t', possible loss of data";

svn commit: r340882 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:28:58 2018 New Revision: 340882 URL: https://svnweb.freebsd.org/changeset/base/340882 Log: sfxge(4): allow to use PHY stats on Huntington/Medford EFSYS_OPT_PHY_STATS can be used with Huntington or Medford, not just Siena. Submitted by: Mark

svn commit: r340885 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:35 2018 New Revision: 340885 URL: https://svnweb.freebsd.org/changeset/base/340885 Log: sfxge(4): fix warnings from VS2015 C compiler (C4310) Fix level 4 warning "C4310: cast truncates constant value"; no functional changes. Submitted by:

svn commit: r340884 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:23 2018 New Revision: 340884 URL: https://svnweb.freebsd.org/changeset/base/340884 Log: sfxge(4): fix probes in licensing support EFSYS_PROBE1 takes one typed value (in addition to the probe name), whereas EFSYS_PROBE has just the probe name.

svn commit: r340883 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 16:29:11 2018 New Revision: 340883 URL: https://svnweb.freebsd.org/changeset/base/340883 Log: sfxge(4): fix diagnostics support build without Siena The compilation failed because __efx_sram_pattern_fns was used in efx_nic.c, but defined in efx_sram.c

svn commit: r340881 - head/lib/csu/tests

2018-11-24 Thread Andrew Turner
Author: andrew Date: Sat Nov 24 16:05:40 2018 New Revision: 340881 URL: https://svnweb.freebsd.org/changeset/base/340881 Log: Disable the dynamiclib test until a failure can be debugged Modified: head/lib/csu/tests/Makefile Modified: head/lib/csu/tests/Makefile

svn commit: r340877 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:24:12 2018 New Revision: 340877 URL: https://svnweb.freebsd.org/changeset/base/340877 Log: sfxge(4): add new sensors Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision:

svn commit: r340880 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:24:47 2018 New Revision: 340880 URL: https://svnweb.freebsd.org/changeset/base/340880 Log: sfxge(4): fix coding style Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision:

svn commit: r340876 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:58 2018 New Revision: 340876 URL: https://svnweb.freebsd.org/changeset/base/340876 Log: sfxge(4): move Siena-specific defs to right header Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision:

svn commit: r340875 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:46 2018 New Revision: 340875 URL: https://svnweb.freebsd.org/changeset/base/340875 Log: sfxge(4): fix build issue with PHY LED control enabled Fixed build issue with the EFSYS_OPT_PHY_LED_CONTROL for Huntigton and Medford. Submitted by:

svn commit: r340878 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:24:23 2018 New Revision: 340878 URL: https://svnweb.freebsd.org/changeset/base/340878 Log: sfxge(4): support new sensors Submitted by: Andrew Jackson Sponsored by: Solarflare Communications, Inc. Differential Revision:

svn commit: r340874 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:34 2018 New Revision: 340874 URL: https://svnweb.freebsd.org/changeset/base/340874 Log: sfxge(4): improve names for TXQ descriptor counts Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision:

svn commit: r340879 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:24:35 2018 New Revision: 340879 URL: https://svnweb.freebsd.org/changeset/base/340879 Log: sfxge(4): remove unused defined for WPTR alignment MEDFORD_RX_WPTR_ALIGN is not used. Submitted by: Andy Moreton Sponsored by: Solarflare

svn commit: r340871 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:22:57 2018 New Revision: 340871 URL: https://svnweb.freebsd.org/changeset/base/340871 Log: sfxge(4): remove assertion on no longer used define MC_CMD_INIT_RXQ_OUT_LEN is not used any more. Submitted by: Mark Spender Sponsored by: Solarflare

svn commit: r340872 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:09 2018 New Revision: 340872 URL: https://svnweb.freebsd.org/changeset/base/340872 Log: sfxge(4): improve names for EVQ descriptor counts Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision:

svn commit: r340873 - head/sys/dev/sfxge/common

2018-11-24 Thread Andrew Rybchenko
Author: arybchik Date: Sat Nov 24 15:23:22 2018 New Revision: 340873 URL: https://svnweb.freebsd.org/changeset/base/340873 Log: sfxge(4): improve names for RXQ descriptor counts Submitted by: Andy Moreton Sponsored by: Solarflare Communications, Inc. Differential Revision:

Re: svn commit: r340702 - in head/lib/csu: amd64 common i386

2018-11-24 Thread Alexey Dokuchaev
On Tue, Nov 20, 2018 at 09:04:20PM +, Ed Maste wrote: > New Revision: 340702 > URL: https://svnweb.freebsd.org/changeset/base/340702 > > Log: > csu: use BSD-1-clause license on csu files > > Copyright on these files is held by kib@ and/or the Foundation, > and both agree to this