svn commit: r334200 - in head/sys: cam cam/nvme dev/nvme

2018-05-24 Thread Alexander Motin
Author: mav Date: Fri May 25 03:34:33 2018 New Revision: 334200 URL: https://svnweb.freebsd.org/changeset/base/334200 Log: Refactor NVMe CAM integration. - Remove layering violation, when NVMe SIM code accessed CAM internal device structures to set pointers on controller and namespace

svn commit: r334199 - head/usr.sbin/bhyve

2018-05-24 Thread Marcelo Araujo
Author: araujo Date: Fri May 25 02:07:05 2018 New Revision: 334199 URL: https://svnweb.freebsd.org/changeset/base/334199 Log: Fix a memory leak on topology_parse(). strdup(3) allocates memory for a copy of the string, does the copy and returns a pointer to it. If there is no sufficient

Re: svn commit: r334171 - head

2018-05-24 Thread Bruce Evans
On Thu, 24 May 2018, Ed Maste wrote: Log: UPDATING: remove EOL whitespace in 20180523 entry This file has many other formatting errors. There are 2 more on just the line changed by this commit, and 1 of these is another implementation of EOL whitespace. Modified: head/UPDATING

Re: svn commit: r333407 - head/share/mk

2018-05-24 Thread Brad Davis
On Thu, May 24, 2018, at 4:16 PM, Bryan Drewery wrote: > On 5/24/2018 1:41 PM, Renato Botelho wrote: > > On 09/05/18 10:44, Brad Davis wrote: > >> Author: brd > >> Date: Wed May 9 13:44:54 2018 > >> New Revision: 333407 > >> URL: https://svnweb.freebsd.org/changeset/base/333407 > >> > >> Log: >

svn commit: r334198 - in head: share/man/man5 tools/build/options

2018-05-24 Thread Rebecca Cran
Author: bcran Date: Fri May 25 01:38:59 2018 New Revision: 334198 URL: https://svnweb.freebsd.org/changeset/base/334198 Log: Remove extra space before parenthesis in src.conf(5) Reviewed by: eadler Differential Revision:https://reviews.freebsd.org/D15528 Modified:

svn commit: r334197 - in head/sys: contrib/dev/ath/ath_hal/ar9300 dev/ath/ath_hal dev/ath/ath_hal/ar5416

2018-05-24 Thread Adrian Chadd
Author: adrian Date: Fri May 25 01:27:39 2018 New Revision: 334197 URL: https://svnweb.freebsd.org/changeset/base/334197 Log: [ath_hal] migrate the shared HAL_RESET_* pieces out into ath_hal. I'm in the process of reworking how the reset path works with an eye to better recovery when the

svn commit: r334197 - head/sys/kern

2018-05-24 Thread Mateusz Guzik
Author: mjg Date: Thu May 25 23:58:57 2018 New Revision: 334197 URL: https://svnweb.freebsd.org/changeset/base/334197 Log: Implement Mostly Exclusive locks. High lock contention is one of the biggest scalability bottlenecks on multicore systems. Although the real fix consists of making

Re: Deorbiting i386

2018-05-24 Thread Mark Linimon
On Thu, May 24, 2018 at 12:22:37PM -0700, Matthew Macy wrote: > All you need to know about sparc64 vitality is that HEAD didn't boot > for 3 months until last week. All you need to know is that -11 works fine, but, after so much drama from various places, I haven't even bothered upgrading any of

Re: svn commit: r334173 - in head: share/man/man4 sys/dev/usb/template

2018-05-24 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: trasz > Date: Thu May 24 18:02:02 2018 > New Revision: 334173 > URL: https://svnweb.freebsd.org/changeset/base/334173 > > Log: > Clarify that USB bus power consumption is measured in mA at 5V. Thank you. > > MFC after: 2 weeks >

svn commit: r334195 - head/sys/mips/conf

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 23:58:57 2018 New Revision: 334195 URL: https://svnweb.freebsd.org/changeset/base/334195 Log: MALTA64EL: disable modules until objcopy is fixed Modified: head/sys/mips/conf/MALTA64EL Modified: head/sys/mips/conf/MALTA64EL

svn commit: r334194 - head/sys/netipsec

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 23:47:27 2018 New Revision: 334194 URL: https://svnweb.freebsd.org/changeset/base/334194 Log: netipsec/!VIMAGE: don't declare/define spdcache_destroy on non-VIMAGE builds this breaks MIPS compiles in universe Modified: head/sys/netipsec/key.c Modified:

svn commit: r334193 - in head/sys: dev/hwpmc net netinet netinet6

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 23:21:23 2018 New Revision: 334193 URL: https://svnweb.freebsd.org/changeset/base/334193 Log: CK: update consumers to use CK macros across the board r334189 changed the fields to have names distinct from those in queue.h in order to expose the oversights as

svn commit: r334192 - head/sys/libkern

2018-05-24 Thread Warner Losh
Author: imp Date: Thu May 24 23:20:10 2018 New Revision: 334192 URL: https://svnweb.freebsd.org/changeset/base/334192 Log: Protect bzero call against macro expansion Shortly, we'll be moving to defining bzero and memset in terms of __builting_memset. To do that, we can't have macro calls

Re: svn commit: r334189 - head/sys/contrib/ck/include

2018-05-24 Thread Matthew Macy
I asked for this, so working on a fix. Let me know if you're already about to commit. On Thu, May 24, 2018 at 3:14 PM, John Baldwin wrote: > On Thursday, May 24, 2018 09:38:18 PM Olivier Houchard wrote: >> Author: cognet >> Date: Thu May 24 21:38:18 2018 >> New Revision: 334189

Re: svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcsta

2018-05-24 Thread Matthew Macy
On Thu, May 24, 2018 at 3:36 PM, John Baldwin wrote: > On Thursday, May 24, 2018 04:30:06 AM Matt Macy wrote: >> Author: mmacy >> Date: Thu May 24 04:30:06 2018 >> New Revision: 334128 >> URL: https://svnweb.freebsd.org/changeset/base/334128 >> >> Log: >> libpmcstat: compile

Re: svn commit: r334189 - head/sys/contrib/ck/include

2018-05-24 Thread John Baldwin
On Thursday, May 24, 2018 09:38:18 PM Olivier Houchard wrote: > Author: cognet > Date: Thu May 24 21:38:18 2018 > New Revision: 334189 > URL: https://svnweb.freebsd.org/changeset/base/334189 > > Log: > Import CK as of commit 0f017230ccc86929f56bf44ef2dca93d7df8076b. > This brings us the

Re: svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcsta

2018-05-24 Thread John Baldwin
On Thursday, May 24, 2018 04:30:06 AM Matt Macy wrote: > Author: mmacy > Date: Thu May 24 04:30:06 2018 > New Revision: 334128 > URL: https://svnweb.freebsd.org/changeset/base/334128 > > Log: > libpmcstat: compile in events based on json description Please provide more detail for commits like

Re: svn commit: r333407 - head/share/mk

2018-05-24 Thread Bryan Drewery
On 5/24/2018 1:41 PM, Renato Botelho wrote: > On 09/05/18 10:44, Brad Davis wrote: >> Author: brd >> Date: Wed May 9 13:44:54 2018 >> New Revision: 333407 >> URL: https://svnweb.freebsd.org/changeset/base/333407 >> >> Log: >> Enable directory creation with FILESDIR. >> >> This is part of

svn commit: r334190 - head/usr.bin/grep

2018-05-24 Thread Bryan Drewery
Author: bdrewery Date: Thu May 24 22:15:47 2018 New Revision: 334190 URL: https://svnweb.freebsd.org/changeset/base/334190 Log: Fix exit code for mismatches after r333013. The -c flag still does the wrong thing versus the older version due to lack of pipefail support. Reported by:

Re: svn commit: r334189 - head/sys/contrib/ck/include

2018-05-24 Thread Gleb Smirnoff
On Thu, May 24, 2018 at 09:38:18PM +, Olivier Houchard wrote: O> Author: cognet O> Date: Thu May 24 21:38:18 2018 O> New Revision: 334189 O> URL: https://svnweb.freebsd.org/changeset/base/334189 O> O> Log: O> Import CK as of commit 0f017230ccc86929f56bf44ef2dca93d7df8076b. O> This brings

Re: svn commit: r333407 - head/share/mk

2018-05-24 Thread Brad Davis
On Thu, May 24, 2018, at 2:41 PM, Renato Botelho wrote: > On 09/05/18 10:44, Brad Davis wrote: > > Author: brd > > Date: Wed May 9 13:44:54 2018 > > New Revision: 333407 > > URL: https://svnweb.freebsd.org/changeset/base/333407 > > > > Log: > > Enable directory creation with FILESDIR. > > >

svn commit: r334189 - head/sys/contrib/ck/include

2018-05-24 Thread Olivier Houchard
Author: cognet Date: Thu May 24 21:38:18 2018 New Revision: 334189 URL: https://svnweb.freebsd.org/changeset/base/334189 Log: Import CK as of commit 0f017230ccc86929f56bf44ef2dca93d7df8076b. This brings us the renaming of fields in ck_queue, so that our own LIST/SLIST/TAILQ/etc won't

svn commit: r334186 - in head: . lib/libpmcstat

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 21:22:03 2018 New Revision: 334186 URL: https://svnweb.freebsd.org/changeset/base/334186 Log: libpmcstat: Don't build pmu tables on !amd64 until the corresponding util routines have been written and tested. Currently building them breaks the build on power64

svn commit: r334185 - head/sys/kern

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 21:13:46 2018 New Revision: 334185 URL: https://svnweb.freebsd.org/changeset/base/334185 Log: AF_UNIX: It is possible for UNIX datagram sockets to be connected to themselves. The updated code assumed that that could not happen and would try to lock the unp

svn commit: r334184 - head/sys/libkern

2018-05-24 Thread Warner Losh
Author: imp Date: Thu May 24 21:11:38 2018 New Revision: 334184 URL: https://svnweb.freebsd.org/changeset/base/334184 Log: This is no unreferenced, so retire it. Differential Revision: https://reviews.freebsd.org/D15374 Deleted: head/sys/libkern/memmove.c

svn commit: r334183 - in head/sys: conf i386/i386

2018-05-24 Thread Warner Losh
Author: imp Date: Thu May 24 21:11:33 2018 New Revision: 334183 URL: https://svnweb.freebsd.org/changeset/base/334183 Log: Make memmove and bcopy share code Make memmove the primary interface, but have bcopy be an alternative entry point that jumps into memmove. This will slightly

svn commit: r334182 - in head/sys: conf sparc64/sparc64

2018-05-24 Thread Warner Losh
Author: imp Date: Thu May 24 21:11:28 2018 New Revision: 334182 URL: https://svnweb.freebsd.org/changeset/base/334182 Log: Define memmove and make bcopy alt entry point Make a memmove entry point just before bcopy and have it swap its args before continuing into the body of bcopy. Adjust

svn commit: r334181 - in head/sys: conf mips/mips

2018-05-24 Thread Warner Losh
Author: imp Date: Thu May 24 21:11:24 2018 New Revision: 334181 URL: https://svnweb.freebsd.org/changeset/base/334181 Log: Make memmove an alias for memcpy memcpy was an alias for bcopy with arg swap. This code handles overlapping copies, so making memmove an alias is safe. We can

svn commit: r334180 - head/sys/vm

2018-05-24 Thread Alan Cox
Author: alc Date: Thu May 24 20:43:41 2018 New Revision: 334180 URL: https://svnweb.freebsd.org/changeset/base/334180 Log: Eliminate an unused parameter from vm_fault_populate(). Reviewed by: kib MFC after:10 days Modified: head/sys/vm/vm_fault.c Modified: head/sys/vm/vm_fault.c

Re: svn commit: r333407 - head/share/mk

2018-05-24 Thread Renato Botelho
On 09/05/18 10:44, Brad Davis wrote: > Author: brd > Date: Wed May 9 13:44:54 2018 > New Revision: 333407 > URL: https://svnweb.freebsd.org/changeset/base/333407 > > Log: > Enable directory creation with FILESDIR. > > This is part of packaging base work. > > Reviewed by:will

Re: Deorbiting i386

2018-05-24 Thread Matthew Macy
On Thu, May 24, 2018 at 8:51 AM, Andrew Gallatin wrote: > On 05/23/18 20:09, Pedro Giffuni wrote: >> >> FWIW; >> >> On 23/05/2018 17:18, Cy Schubert wrote: >>> >>> In message <20180523202228.gc58...@spindle.one-eyed-alien.net>, Brooks >>> Davis wr >>> ites:

svn commit: r334179 - head/sys/vm

2018-05-24 Thread Mark Johnston
Author: markj Date: Thu May 24 20:26:37 2018 New Revision: 334179 URL: https://svnweb.freebsd.org/changeset/base/334179 Log: Update r334154 with review feedback from D15490. An old revision was committed by accident. Differential Revision:https://reviews.freebsd.org/D15490

svn commit: r334177 - head/share/mk

2018-05-24 Thread Bryan Drewery
Author: bdrewery Date: Thu May 24 18:49:19 2018 New Revision: 334177 URL: https://svnweb.freebsd.org/changeset/base/334177 Log: rescue: Restore 'make depend' call to fix WITH_META_MODE after r334008. The rescue/crunchgen build avoids linking binaries for the objects it is building by

svn commit: r334176 - head/lib/libc/sys

2018-05-24 Thread Brooks Davis
Author: brooks Date: Thu May 24 18:32:54 2018 New Revision: 334176 URL: https://svnweb.freebsd.org/changeset/base/334176 Log: Indicate the brk/sbrk are deprecated and not portable. More firmly suggest mmap(2) instead. Include the history of arm64 and riscv shipping without brk/sbrk.

svn commit: r334175 - head/sys/kern

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 18:22:13 2018 New Revision: 334175 URL: https://svnweb.freebsd.org/changeset/base/334175 Log: AF_UNIX: evidently Samba likes to connect a unix socket to itself, fix locking Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/kern/uipc_usrreq.c

svn commit: r334174 - head/sys/kern

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 18:22:05 2018 New Revision: 334174 URL: https://svnweb.freebsd.org/changeset/base/334174 Log: AF_UNIX in connectat unp and unp2 can be the same Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/kern/uipc_usrreq.c

svn commit: r334173 - in head: share/man/man4 sys/dev/usb/template

2018-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 24 18:02:02 2018 New Revision: 334173 URL: https://svnweb.freebsd.org/changeset/base/334173 Log: Clarify that USB bus power consumption is measured in mA at 5V. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r334115 - in head: share/man/man4 sys/dev/usb/template

2018-05-24 Thread Edward Napierala
2018-05-24 11:01 GMT+01:00 Hans Petter Selasky : > On 05/24/18 11:59, Edward Napierala wrote: > >> 2018-05-24 8:41 GMT+01:00 H. Schmalzbauer - OmniLAN < >> h.schmalzba...@omnilan.de>: >> >> Am 23.05.2018 um 22:35 schrieb Ravi Pokala: >>> >>> Hi Traz, You're referring

svn commit: r334172 - head/sys/net

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 17:54:08 2018 New Revision: 334172 URL: https://svnweb.freebsd.org/changeset/base/334172 Log: if_delgroups: add missed unlock introduced by r334118 Modified: head/sys/net/if.c Modified: head/sys/net/if.c

Re: Deorbiting i386

2018-05-24 Thread Mark Linimon
On Thu, May 24, 2018 at 11:18:38AM -0500, Pedro Giffuni wrote: > And while I like to see sparc64s still kicking around, they are stopping us > from getting rid of GCC once and for all. False. mips and powerpc still build with gcc. I understand there will be an effort at BSDCan to work out the

svn commit: r334171 - head

2018-05-24 Thread Ed Maste
Author: emaste Date: Thu May 24 17:08:55 2018 New Revision: 334171 URL: https://svnweb.freebsd.org/changeset/base/334171 Log: UPDATING: remove EOL whitespace in 20180523 entry Modified: head/UPDATING Modified: head/UPDATING

svn commit: r334169 - head

2018-05-24 Thread Brooks Davis
Author: brooks Date: Thu May 24 17:05:41 2018 New Revision: 334169 URL: https://svnweb.freebsd.org/changeset/base/334169 Log: exect() was removed in 2018, not 2017. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

svn commit: r334170 - in head/sys: arm/conf conf dev/asmc kern modules/asmc

2018-05-24 Thread Conrad Meyer
Author: cem Date: Thu May 24 17:06:00 2018 New Revision: 334170 URL: https://svnweb.freebsd.org/changeset/base/334170 Log: Yank crufty INTR_FILTER option It was introduced to the tree in r169320 and r169321 in May 2007. It never got much use and never became a kernel default. The

svn commit: r334168 - head/sys/vm

2018-05-24 Thread Brooks Davis
Author: brooks Date: Thu May 24 17:04:27 2018 New Revision: 334168 URL: https://svnweb.freebsd.org/changeset/base/334168 Log: Don't implement break(2) at all on aarch64 and riscv. This should have been done when they were removed from libc, but was overlooked in the runup to 11.0. No

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

2018-05-24 Thread Matthew Macy
> > False positives are compiler bugs. No they're not. No more than missed optimization opportunities. They're limitations in the control flow analysis. > > It does happen, with GCC more than with clang, that the compiler has too > many bugs and it's a bad practice to pessimize code to work

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

2018-05-24 Thread Ed Maste
Author: emaste Date: Thu May 24 16:34:06 2018 New Revision: 334167 URL: https://svnweb.freebsd.org/changeset/base/334167 Log: if_muge: Add LAN78xx family USB ids but attach only to LAN7800 This driver was developed for the LAN7800 and the register-compatible LAN7515 and has only been

svn commit: r334166 - head/sys/cam/nvme

2018-05-24 Thread Warner Losh
Author: imp Date: Thu May 24 16:31:18 2018 New Revision: 334166 URL: https://svnweb.freebsd.org/changeset/base/334166 Log: We can't release the refcount outside of the periph lock. We're dropping the periph lock then dropping the refcount. However, that violates the locking protocol and

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

2018-05-24 Thread Pedro Giffuni
On 05/24/18 11:00, Matthew Macy wrote: On Thu, May 24, 2018 at 8:58 AM, Warner Losh wrote: On Thu, May 24, 2018 at 12:53 AM, Matthew Macy wrote: On Wed, May 23, 2018 at 11:42 PM, Michael Tuexen wrote: On 24. May 2018,

Re: svn commit: r334054 - in head: sys/kern sys/netipsec tools/tools/crypto usr.bin/netstat

2018-05-24 Thread Conrad Meyer
On Thu, May 24, 2018 at 5:30 AM, Emeric POUPON wrote: > Actually we just store traffic profiles and the associated security policy > (SP). > A SP is basically just a bunch of traffic selectors, there is no key or other > sensitive information involved. Ok, thanks!

svn commit: r334165 - in head/sys: amd64/linux amd64/linux32 i386/linux kern sys

2018-05-24 Thread Brooks Davis
Author: brooks Date: Thu May 24 16:25:18 2018 New Revision: 334165 URL: https://svnweb.freebsd.org/changeset/base/334165 Log: Avoid two suword() calls per auxarg entry. Instead, construct an auxargs array and copy it out all at once. Use an array of Elf_Auxinfo rather than pairs of

svn commit: r334164 - head/sys/arm64/include

2018-05-24 Thread Andrew Turner
Author: andrew Date: Thu May 24 16:07:47 2018 New Revision: 334164 URL: https://svnweb.freebsd.org/changeset/base/334164 Log: Remove physmap from the arm64 machdep.h. This was missed in r334162. Modified: head/sys/arm64/include/machdep.h Modified: head/sys/arm64/include/machdep.h

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

2018-05-24 Thread Matthew Macy
On Thu, May 24, 2018 at 8:58 AM, Warner Losh wrote: > > > On Thu, May 24, 2018 at 12:53 AM, Matthew Macy wrote: >> >> On Wed, May 23, 2018 at 11:42 PM, Michael Tuexen >> wrote: >> >> On 24. May 2018, at 08:36, Matthew Macy

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

2018-05-24 Thread Warner Losh
On Thu, May 24, 2018 at 12:53 AM, Matthew Macy wrote: > On Wed, May 23, 2018 at 11:42 PM, Michael Tuexen > wrote: > >> On 24. May 2018, at 08:36, Matthew Macy wrote: > >> > >> On Wed, May 23, 2018 at 11:35 PM, Michael

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

2018-05-24 Thread Matthew Macy
On Thu, May 24, 2018 at 8:54 AM, Warner Losh wrote: > > > On Thu, May 24, 2018 at 12:36 AM, Matthew Macy wrote: >> >> On Wed, May 23, 2018 at 11:35 PM, Michael Tuexen >> wrote: >> >> On 24. May 2018, at 06:51, Matthew Macy

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

2018-05-24 Thread Warner Losh
On Thu, May 24, 2018 at 12:36 AM, Matthew Macy wrote: > On Wed, May 23, 2018 at 11:35 PM, Michael Tuexen > wrote: > >> On 24. May 2018, at 06:51, Matthew Macy wrote: > >> > >> Warnings find bugs PERIOD. Although most are

svn commit: r334163 - head/sys/dev/usb

2018-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 15:47:15 2018 New Revision: 334163 URL: https://svnweb.freebsd.org/changeset/base/334163 Log: Add Peraso Technologies, Inc. to the list. Sponsored by: Turing Robotic Industries Modified: head/sys/dev/usb/usbdevs Modified: head/sys/dev/usb/usbdevs

svn commit: r334162 - in head/sys: arm/arm arm/include arm64/arm64

2018-05-24 Thread Andrew Turner
Author: andrew Date: Thu May 24 15:32:49 2018 New Revision: 334162 URL: https://svnweb.freebsd.org/changeset/base/334162 Log: Allow us to read the physmap data into our own array and use this to build the DMAP region on arm64. We already have the needed information to build these tables,

svn commit: r334161 - head/sys/kern

2018-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 15:31:05 2018 New Revision: 334161 URL: https://svnweb.freebsd.org/changeset/base/334161 Log: Try to be consistent and spell "vnet" lower case like all the other options (and as we do on command line). Sponsored by: iXsystems, Inc. Modified:

Re: svn commit: r334143 - head/sys/dev/cxgbe

2018-05-24 Thread Andrew Gallatin
On 05/24/18 06:18, Navdeep Parhar wrote: Log: cxgbe(4): Data path for rate-limited tx. This is hardware support for the SO_MAX_PACING_RATE sockopt (see setsockopt(2)), which is available in kernels built with "options RATELIMIT". Relnotes: Yes Sponsored by:

svn commit: r334160 - head/sys/kern

2018-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Thu May 24 15:28:21 2018 New Revision: 334160 URL: https://svnweb.freebsd.org/changeset/base/334160 Log: Improve the KASSERT to also have the prison pointer. Helpful when debugging from ddb. Sponsored by: iXsystems, Inc. Modified: head/sys/kern/kern_jail.c

svn commit: r334159 - head/sys/kern

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 15:28:16 2018 New Revision: 334159 URL: https://svnweb.freebsd.org/changeset/base/334159 Log: AF_UNIX: assert that we're not acquiring the same lock Modified: head/sys/kern/uipc_usrreq.c Modified: head/sys/kern/uipc_usrreq.c

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

2018-05-24 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 24 15:24:42 2018 New Revision: 334158 URL: https://svnweb.freebsd.org/changeset/base/334158 Log: Add function to wait for USB ethernet attach to complete. MFC after:1 week Sponsored by: Mellanox Technologies Modified:

svn commit: r334157 - head/sys/arm64/arm64

2018-05-24 Thread Andrew Turner
Author: andrew Date: Thu May 24 15:07:53 2018 New Revision: 334157 URL: https://svnweb.freebsd.org/changeset/base/334157 Log: Print the physmem tables under a verbose boot. Obtained from:ABT Systems Ltd Sponsored by: Turing Robotic Industries Modified:

svn commit: r334156 - head/lib/libpmcstat

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 15:04:44 2018 New Revision: 334156 URL: https://svnweb.freebsd.org/changeset/base/334156 Log: remove All Rights Reserved from new libpmcstat file Modified: head/lib/libpmcstat/libpmcstat_pmu_util.c Modified: head/lib/libpmcstat/libpmcstat_pmu_util.c

svn commit: r334155 - head/sys/arm64/arm64

2018-05-24 Thread Andrew Turner
Author: andrew Date: Thu May 24 14:55:50 2018 New Revision: 334155 URL: https://svnweb.freebsd.org/changeset/base/334155 Log: Exclude memory from the /reserved-memory mappings with the no-map property set. This memory must not be mapped by the operating system other than under control of

Re: svn commit: r333388 - in head: . share/man/man4 sys/confsys/dev/nxge sys/modules sys/modules/nxge tools/kerneldoc/subsys tools/toolstools/tools/nxge usr.sbin/bsdconfig/share

2018-05-24 Thread Ian Lepore
On Wed, 2018-05-23 at 12:30 -0700, Cy Schubert wrote: > Except for old computers and old software that segfaults on 64-bit, > how many people still use i386? > > Full disclosure: I'd like to see i386 deorbited before I retire. > > --- > Sent using a tiny phone keyboard. > Apologies for any typos

Re: svn commit: r333388 - in head: . share/man/man4 sys/conf sys/dev/nxge sys/modules sys/modules/nxge tools/kerneldoc/subsys tools/tools tools/tools/nxge usr.sbin/bsdconfig/share

2018-05-24 Thread Ian Lepore
On Thu, 2018-05-24 at 01:34 +0700, Eugene Grosbein wrote: > 24.05.2018 1:14, Rodney W. Grimes wrote: > > > > > > > > > On Wed, May 23, 2018 at 10:41:17AM -0700, Gleb Smirnoff wrote: > > > > > > > > If end of sales and support is enough to remove 10g driver from the > > > > kernel, > > > > can

Re: svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcsta

2018-05-24 Thread Matthew Macy
Ugh. Not intentional On Thu, May 24, 2018 at 02:35 Sergey Kandaurov wrote: > On 24 May 2018 at 07:30, Matt Macy wrote: > >> Author: mmacy >> Date: Thu May 24 04:30:06 2018 >> New Revision: 334128 >> URL: https://svnweb.freebsd.org/changeset/base/334128 >>

Re: svn commit: r334129 - head/sys/amd64/conf

2018-05-24 Thread Rodney W. Grimes
> On 24 May 2018 at 01:36, Matthew Macy wrote: > > On Wed, May 23, 2018 at 10:32 PM, Ravi Pokala wrote: > >>> > >>> Author: mmacy > >>> Date: Thu May 24 04:31:53 2018 > >>> New Revision: 334129 > >>> URL: https://svnweb.freebsd.org/changeset/base/334129 >

svn commit: r334154 - head/sys/vm

2018-05-24 Thread Mark Johnston
Author: markj Date: Thu May 24 14:16:22 2018 New Revision: 334154 URL: https://svnweb.freebsd.org/changeset/base/334154 Log: Split the active and inactive queue scans into separate subroutines. The scans are largely independent, so this helps make the code marginally neater, and makes it

Re: svn commit: r334129 - head/sys/amd64/conf

2018-05-24 Thread Ed Maste
On 24 May 2018 at 01:36, Matthew Macy wrote: > On Wed, May 23, 2018 at 10:32 PM, Ravi Pokala wrote: >>> >>> Author: mmacy >>> Date: Thu May 24 04:31:53 2018 >>> New Revision: 334129 >>> URL: https://svnweb.freebsd.org/changeset/base/334129 >>> >>> Log: >>>

svn commit: r334153 - head

2018-05-24 Thread Ed Maste
Author: emaste Date: Thu May 24 14:01:22 2018 New Revision: 334153 URL: https://svnweb.freebsd.org/changeset/base/334153 Log: Restore arm, riscv, sparc64, and mips to UNIVERSE after r334128 Modified: head/Makefile Modified: head/Makefile

Re: svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcsta

2018-05-24 Thread Rodney W. Grimes
[ Charset UTF-8 unsupported, converting... ] > Author: mmacy > Date: Thu May 24 04:30:06 2018 > New Revision: 334128 > URL: https://svnweb.freebsd.org/changeset/base/334128 > > Log: > libpmcstat: compile in events based on json description Most of this has no copyright or license attached to

Re: svn commit: r334077 - in head/sbin/devd: . tests

2018-05-24 Thread Rodney W. Grimes
> On 23 May 2018 at 13:09, Warner Losh wrote: > > > > > > On Wed, May 23, 2018 at 1:39 AM, Eitan Adler wrote: > >> > >> Author: eadler > >> Date: Wed May 23 07:39:02 2018 > >> New Revision: 334077 > >> URL: https://svnweb.freebsd.org/changeset/base/334077 >

Re: svn commit: r334054 - in head: sys/kern sys/netipsec tools/tools/crypto usr.bin/netstat

2018-05-24 Thread Emeric POUPON
- Original Message - > From: "Conrad Meyer" > To: "Emeric POUPON" > Cc: svn-src-head@freebsd.org, svn-src-...@freebsd.org, "src-committers" > > Sent: Wednesday, 23 May, 2018 18:47:57 > Subject: Re: svn commit:

svn commit: r334148 - head/sys/dev/cxgbe

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 10:55:26 2018 New Revision: 334148 URL: https://svnweb.freebsd.org/changeset/base/334148 Log: cxgbe(4): Report IFCAP_TXRTLMT to kernels built with RATELIMIT if the firmware has provisioned resources for this feature. Sponsored by: Chelsio Communications

svn commit: r334147 - head/sys/x86/xen

2018-05-24 Thread Roger Pau Monné
Author: royger Date: Thu May 24 10:22:57 2018 New Revision: 334147 URL: https://svnweb.freebsd.org/changeset/base/334147 Log: xen/pvh: allocate dbg_stack Or else init_secondary will hit a page fault (or write garbage somewhere). Sponsored by: Citrix Systems R Modified:

svn commit: r334146 - head/sys/dev/xen/evtchn

2018-05-24 Thread Roger Pau Monné
Author: royger Date: Thu May 24 10:20:42 2018 New Revision: 334146 URL: https://svnweb.freebsd.org/changeset/base/334146 Log: xen/evtchn: fix LOR in evtchn device Remove the device from the list before unbinding it. Doing it in this order allows calling xen_intr_unbind without holding

svn commit: r334145 - head/sys/dev/xen/blkback

2018-05-24 Thread Roger Pau Monné
Author: royger Date: Thu May 24 10:19:54 2018 New Revision: 334145 URL: https://svnweb.freebsd.org/changeset/base/334145 Log: xen-blkback: don't unbind the interrupt while holding the lock There's no need to perform the interrupt unbind while holding the blkback lock, and doing so leads

svn commit: r334144 - head/sys/dev/xen/xenstore

2018-05-24 Thread Roger Pau Monné
Author: royger Date: Thu May 24 10:18:31 2018 New Revision: 334144 URL: https://svnweb.freebsd.org/changeset/base/334144 Log: dev/xenstore: prevent transaction hijacking The user-space xenstore device is currently lacking a check to make sure that the caller is only using transaction ids

svn commit: r334143 - head/sys/dev/cxgbe

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 10:18:14 2018 New Revision: 334143 URL: https://svnweb.freebsd.org/changeset/base/334143 Log: cxgbe(4): Data path for rate-limited tx. This is hardware support for the SO_MAX_PACING_RATE sockopt (see setsockopt(2)), which is available in kernels built with

svn commit: r334142 - head/sys/dev/xen/xenstore

2018-05-24 Thread Roger Pau Monné
Author: royger Date: Thu May 24 10:17:49 2018 New Revision: 334142 URL: https://svnweb.freebsd.org/changeset/base/334142 Log: dev/xenstore: add support for watches Allow user-space applications to register watches using the xenstore device. This is needed in order to run toolstack

svn commit: r334141 - head/sys/dev/xen/xenstore

2018-05-24 Thread Roger Pau Monné
Author: royger Date: Thu May 24 10:17:03 2018 New Revision: 334141 URL: https://svnweb.freebsd.org/changeset/base/334141 Log: xenstore: don't wait with the PCATCH flag Due to the current synchronous xenstore implementation in FreeBSD, we cannot return from xs_read_reply without reading a

svn commit: r334140 - head/sys/dev/xen/xenstore

2018-05-24 Thread Roger Pau Monné
Author: royger Date: Thu May 24 10:16:11 2018 New Revision: 334140 URL: https://svnweb.freebsd.org/changeset/base/334140 Log: xenstore: remove the suspend sx lock There's no need to prevent suspend while doing xenstore transactions, callers of transactions are supposed to be prepared for

Re: svn commit: r334115 - in head: share/man/man4 sys/dev/usb/template

2018-05-24 Thread Hans Petter Selasky
On 05/24/18 11:59, Edward Napierala wrote: 2018-05-24 8:41 GMT+01:00 H. Schmalzbauer - OmniLAN < h.schmalzba...@omnilan.de>: Am 23.05.2018 um 22:35 schrieb Ravi Pokala: Hi Traz, You're referring to power consumption in terms of (milli)Amps. That's not right; power is measured in Watts. What

Re: svn commit: r334115 - in head: share/man/man4 sys/dev/usb/template

2018-05-24 Thread Edward Napierala
2018-05-24 8:41 GMT+01:00 H. Schmalzbauer - OmniLAN < h.schmalzba...@omnilan.de>: > Am 23.05.2018 um 22:35 schrieb Ravi Pokala: > >> Hi Traz, >> >> You're referring to power consumption in terms of (milli)Amps. That's not >> right; power is measured in Watts. What you're actually talking about is

Re: svn commit: r334128 - in head: . lib/libpmcstat lib/libpmcstat/pmu-events lib/libpmcstat/pmu-events/arch lib/libpmcstat/pmu-events/arch/arm64 lib/libpmcstat/pmu-events/arch/arm64/arm lib/libpmcsta

2018-05-24 Thread Sergey Kandaurov
On 24 May 2018 at 07:30, Matt Macy wrote: > Author: mmacy > Date: Thu May 24 04:30:06 2018 > New Revision: 334128 > URL: https://svnweb.freebsd.org/changeset/base/334128 > > Log: > libpmcstat: compile in events based on json description > [...] > > Modified: head/Makefile >

We are designing TestCon 2018 with you in Mind

2018-05-24 Thread TestCon 2018
Hi TestCon Friends, The wait is over. International TestCon Conference is back again this October in Vilnius, Lithuania! Over the course of 3 jam-packed days, 50+ thought-provoking sessions and 10 full-day technical workshops, experts will be gracing the stages to spotlight the future of

svn commit: r334139 - head/sys/dev/cxgbe/tom

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 08:32:02 2018 New Revision: 334139 URL: https://svnweb.freebsd.org/changeset/base/334139 Log: cxgbe/t4_tom: ABORT_RPL_RSS is a shared CPL and t4_tom shouldn't remove the global handler when it's being unloaded. Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c

svn commit: r334138 - in head/sys/dev/cxgbe: . common tom

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 08:21:43 2018 New Revision: 334138 URL: https://svnweb.freebsd.org/changeset/base/334138 Log: cxgbe(4): Make FW4_ACK a shared CPL. ETHOFLD in the base driver will use it for per-flow rate limiting. Sponsored by: Chelsio Communications Modified:

Re: svn commit: r333388 - in head: . share/man/man4 sys/confsys/dev/nxge sys/modules sys/modules/nxge tools/kerneldoc/subsys tools/toolstools/tools/nxge usr.sbin/bsdconfig/share

2018-05-24 Thread Alexey Dokuchaev
On Wed, May 23, 2018 at 12:30:26PM -0700, Cy Schubert wrote: > Except for old computers and old software that segfaults on 64-bit, > how many people still use i386? i386 is my primary development machine at $work and home; I have one amd64 laptop and one i386, and a Mac mini G4 (powerpc32). Most

svn commit: r334137 - in head/sys/dev/cxgbe: . common

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 08:02:11 2018 New Revision: 334137 URL: https://svnweb.freebsd.org/changeset/base/334137 Log: cxgbe(4): Fix range checks in is_etid. Modified: head/sys/dev/cxgbe/common/common.h head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/common/common.h

Re: svn commit: r334115 - in head: share/man/man4 sys/dev/usb/template

2018-05-24 Thread H. Schmalzbauer - OmniLAN
Am 23.05.2018 um 22:35 schrieb Ravi Pokala: Hi Traz, You're referring to power consumption in terms of (milli)Amps. That's not right; power is measured in Watts. What you're actually talking about is *current*. And it looks like in some situations USB devices can draw more than 500mA.

svn commit: r334136 - head/sys/dev/cxgbe

2018-05-24 Thread Navdeep Parhar
Author: np Date: Thu May 24 07:38:46 2018 New Revision: 334136 URL: https://svnweb.freebsd.org/changeset/base/334136 Log: cxgbe(4): Slightly simpler needs_ functions. Modified: head/sys/dev/cxgbe/t4_sge.c Modified: head/sys/dev/cxgbe/t4_sge.c

svn commit: r334135 - head/usr.sbin/pmcstat

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 07:18:49 2018 New Revision: 334135 URL: https://svnweb.freebsd.org/changeset/base/334135 Log: pmcstat: add usage strings for -L and -I Modified: head/usr.sbin/pmcstat/pmcstat.c Modified: head/usr.sbin/pmcstat/pmcstat.c

Re: svn commit: r334134 - head/lib/libpmcstat

2018-05-24 Thread Matthew Macy
Bugs in the code I'd just imported because I imported from the wrong branch :-/ On Wed, May 23, 2018 at 11:50 PM, Cy Schubert wrote: > In message <201805240647.w4o6lesd071...@repo.freebsd.org>, Matt Macy > writes: >> Author: mmacy >> Date: Thu May 24 06:47:40 2018 >>

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

2018-05-24 Thread Matthew Macy
On Wed, May 23, 2018 at 11:42 PM, Michael Tuexen wrote: >> On 24. May 2018, at 08:36, Matthew Macy wrote: >> >> On Wed, May 23, 2018 at 11:35 PM, Michael Tuexen >> wrote: On 24. May 2018, at 06:51,

Re: svn commit: r334134 - head/lib/libpmcstat

2018-05-24 Thread Cy Schubert
In message <201805240647.w4o6lesd071...@repo.freebsd.org>, Matt Macy writes: > Author: mmacy > Date: Thu May 24 06:47:40 2018 > New Revision: 334134 > URL: https://svnweb.freebsd.org/changeset/base/334134 > > Log: > libpmcstat: import aliases table and bug fixes Which bugs? > > Modified: >

svn commit: r334133 - head/usr.sbin/pmcstat

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 06:47:04 2018 New Revision: 334133 URL: https://svnweb.freebsd.org/changeset/base/334133 Log: pmcstat top mode + -I - use fully qualified address Modified: head/usr.sbin/pmcstat/pmcpl_callgraph.c Modified: head/usr.sbin/pmcstat/pmcpl_callgraph.c

svn commit: r334134 - head/lib/libpmcstat

2018-05-24 Thread Matt Macy
Author: mmacy Date: Thu May 24 06:47:40 2018 New Revision: 334134 URL: https://svnweb.freebsd.org/changeset/base/334134 Log: libpmcstat: import aliases table and bug fixes Modified: head/lib/libpmcstat/libpmcstat_pmu_util.c Modified: head/lib/libpmcstat/libpmcstat_pmu_util.c

  1   2   >