svn commit: r215474 - head/usr.bin/netstat

2010-11-18 Thread Ryan Stone
Author: rstone Date: Thu Nov 18 23:46:55 2010 New Revision: 215474 URL: http://svn.freebsd.org/changeset/base/215474 Log: When netstat was run with -i/-I and -w1 to produce running counters, the idrop field printed an absolute value rather than the delta from the last value Approved by:

svn commit: r240923 - head/sys/dev/aac

2012-09-25 Thread Ryan Stone
Author: rstone Date: Tue Sep 25 19:12:12 2012 New Revision: 240923 URL: http://svn.freebsd.org/changeset/base/240923 Log: Some aac(4) adapters will always report that a direct access device is offline in response to a INQUIRY command that does not retreive vital product data(I personally

svn commit: r241009 - head/sys/netgraph

2012-09-27 Thread Ryan Stone
Author: rstone Date: Thu Sep 27 20:12:51 2012 New Revision: 241009 URL: http://svn.freebsd.org/changeset/base/241009 Log: Ensure that all cases that enqueue a netgraph item for delivery by a ngthread properly set the item's depth to 1. In particular, prior to this change if ng_snd_item

svn commit: r207484 - head/sys/dev/hwpmc

2010-05-01 Thread Ryan Stone
Author: rstone Date: Sat May 1 22:04:58 2010 New Revision: 207484 URL: http://svn.freebsd.org/changeset/base/207484 Log: When configuring a system-wide couting PMC, hwpmc was incorrectly logging process mappings for that PMC. Nothing ever reads pmc logs out of a counting PMC, so the log

svn commit: r212282 - head/sys/vm

2010-09-06 Thread Ryan Stone
Author: rstone Date: Tue Sep 7 02:51:11 2010 New Revision: 212282 URL: http://svn.freebsd.org/changeset/base/212282 Log: Fix a typo in r212281. uintptr - uintptr_t Pointy hat to: rstone Approved by:emaste (mentor) MFC after: 2 weeks Modified: head/sys/vm/vm_mmap.c

Re: svn commit: r212281 - head/sys/vm

2010-09-06 Thread Ryan Stone
On Mon, Sep 6, 2010 at 8:23 PM, Ryan Stone rst...@freebsd.org wrote: +       if (pkm.pm_address != (uintptr) NULL) I have no idea how this snuck past me. I must have deleted some characters after building and testing this. I'll fix it as soon as I can track down one of my mentors

Re: svn commit: r239193 - head/lib/libc/gen

2012-08-11 Thread Ryan Stone
On Sat, Aug 11, 2012 at 8:07 AM, Ed Schouten e...@freebsd.org wrote: On Windows, AUX is the auxiliary device, usually pointing to COM1. Therefore it is forbidden to create a file named aux.c. To make it a bit easier for Windows users to check out our source code, rename this file to

svn commit: r227290 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2011-11-06 Thread Ryan Stone
Author: rstone Date: Mon Nov 7 01:53:25 2011 New Revision: 227290 URL: http://svn.freebsd.org/changeset/base/227290 Log: Fix the DTrace pid return trap interrupt vector. Previously we were using 31, but that vector is reserved. Without this fix, running dtrace -p pid would either cause

svn commit: r227291 - head/sys/cddl/contrib/opensolaris/uts/intel/dtrace

2011-11-06 Thread Ryan Stone
Author: rstone Date: Mon Nov 7 01:55:58 2011 New Revision: 227291 URL: http://svn.freebsd.org/changeset/base/227291 Log: Replace fasttrap_copyout() with uwrite(). FreeBSD copyout() is not able to write to the .text section of a process. Obtained from:rpaulo MFC after:3

svn commit: r227342 - head/sys/kern

2011-11-08 Thread Ryan Stone
Author: rstone Date: Tue Nov 8 15:17:54 2011 New Revision: 227342 URL: http://svn.freebsd.org/changeset/base/227342 Log: The in-kernel CTF parser caches the result of its first attempt to parse CTF data from a module. On subsequent attempts to retrieve CTF data for a module, return an

svn commit: r227429 - head/usr.sbin/config

2011-11-10 Thread Ryan Stone
Author: rstone Date: Thu Nov 10 21:07:14 2011 New Revision: 227429 URL: http://svn.freebsd.org/changeset/base/227429 Log: The generated Makefile for the kernel was not running ctfconvert on object files corresponding to source files that had the compile-with option set in conf/files. This

svn commit: r227430 - head/sys/cddl/dev/dtrace/i386

2011-11-10 Thread Ryan Stone
Author: rstone Date: Thu Nov 10 22:03:35 2011 New Revision: 227430 URL: http://svn.freebsd.org/changeset/base/227430 Log: On i386, fbt probes are implemented by writing an invalid opcode over certain instructions in a function prologue or epilogue. DTrace has a hook into the invalid opcode

svn commit: r227441 - in head/sys: amd64/linux32 cddl/dev/systrace compat/freebsd32 i386/linux kern

2011-11-10 Thread Ryan Stone
Author: rstone Date: Fri Nov 11 03:49:42 2011 New Revision: 227441 URL: http://svn.freebsd.org/changeset/base/227441 Log: Correct the types of the arguments to return probes of the syscall provider. Previously we were erroneously supplying the argument types of the corresponding entry

Re: svn commit: r223917 - head/etc/rc.d

2011-07-12 Thread Ryan Stone
I can confirm that on a 8.2-RELEASE derived system, the loader is setting module_path correctly: (TPC-F4-42:wheel)# cat /boot/loader.conf.local kernel=STOCK module_path=/boot/kernel;/boot/modules;/modules (TPC-F4-42:wheel)# sysctl kern.module_path kern.module_path:

svn commit: r224156 - head/sys/kern

2011-07-17 Thread Ryan Stone
Author: rstone Date: Sun Jul 17 21:53:42 2011 New Revision: 224156 URL: http://svn.freebsd.org/changeset/base/224156 Log: Fix a LOR between hwpmc and the kernel linker. When a system-wide sampling mode PMC is allocated, hwpmc calls linker_hwpmc_list_objects() while already holding an

Re: svn commit: r222853 - in head: . sys/amd64/amd64 sys/amd64/include sys/i386/i386 sys/i386/include sys/pc98/pc98

2011-08-11 Thread Ryan Stone
On Wed, Jun 8, 2011 at 4:12 AM, Andriy Gapon a...@freebsd.org wrote: Author: avg Date: Wed Jun  8 08:12:15 2011 New Revision: 222853 URL: http://svn.freebsd.org/changeset/base/222853 Log:  remove code for dynamic offlining/onlining of CPUs on x86  The code has definitely been broken for

svn commit: r225640 - head/sys/dev/e1000

2011-09-17 Thread Ryan Stone
Author: rstone Date: Sat Sep 17 13:48:09 2011 New Revision: 225640 URL: http://svn.freebsd.org/changeset/base/225640 Log: Clear transmit checksum offload context state upon lem(4) interface initialization. Prior to this change packets may be transmitted with an incorrect checksum.

svn commit: r219377 - head/lib/libc/stdlib

2011-03-07 Thread Ryan Stone
Author: rstone Date: Mon Mar 7 15:19:17 2011 New Revision: 219377 URL: http://svn.freebsd.org/changeset/base/219377 Log: Correct a typo in the malloc(3) manpage. Malloc options are set in the MALLOC_OPTIONS environment variable, not JEMALLOC_OPTIONS. Reviewed by: jasone Approved by:

svn commit: r233552 - in head/sys: cddl/dev/sdt kern sys

2012-03-27 Thread Ryan Stone
Author: rstone Date: Tue Mar 27 15:07:43 2012 New Revision: 233552 URL: http://svn.freebsd.org/changeset/base/233552 Log: Instead of only iterating over the set of known SDT probes when sdt.ko is loaded and unloaded, also have sdt.ko register callbacks with kern_sdt.c that will be called

Re: svn commit: r233552 - in head/sys: cddl/dev/sdt kern sys

2012-03-28 Thread Ryan Stone
On Tue, Mar 27, 2012 at 6:27 PM, Alexander Leidinger alexan...@leidinger.net wrote: Great! Is this automatic, or do I need to do something in the newly loaded KLD? Nothing special. You can follow exactly the same set of steps as for adding probes to the kernel itself:

Re: svn commit: r234504 - in head/sys: amd64/conf i386/conf

2012-04-21 Thread Ryan Stone
On Fri, Apr 20, 2012 at 5:37 PM, Brooks Davis bro...@freebsd.org wrote: Author: brooks Date: Fri Apr 20 21:37:42 2012 New Revision: 234504 URL: http://svn.freebsd.org/changeset/base/234504 Log:  Enable DTrace hooks in GENERIC.  Reviewed by:  gnn  Approved by:  core (jhb, imp)  Requested

svn commit: r234691 - in head: cddl/contrib/opensolaris/lib/libdtrace/common sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contrib/opensolaris/uts/common/sys

2012-04-25 Thread Ryan Stone
Author: rstone Date: Thu Apr 26 01:07:03 2012 New Revision: 234691 URL: http://svn.freebsd.org/changeset/base/234691 Log: Implement the D cpu variable, which returns curcpu. I have chosen not to follow the example of OpenSolaris and its descendants, which implemented cpu as an inline that

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

2012-05-14 Thread Ryan Stone
Author: rstone Date: Tue May 15 01:30:25 2012 New Revision: 235459 URL: http://svn.freebsd.org/changeset/base/235459 Log: Implement the DTrace sched provider. This implementation aims to be compatible with the sched provider implemented by Solaris and its open- source derivatives. Full

svn commit: r206945 - head/share/misc

2010-04-20 Thread Ryan Stone
\nrpa...@freebsd.org\n2007/09/25] rrs [label=Randall R stewart\n...@freebsd.org\n2007/02/08] rse [label=Ralf S. engelschall\n...@freebsd.org\n1997/07/31] +rstone [label=Ryan stone\nrst...@freebsd.org\n2010/04/19] ru [label=Ruslan ermilov\...@freebsd.org\n1999/05/27] rwatson [label=Robert N. M

svn commit: r220453 - in head/sys: amd64/amd64 i386/i386

2011-04-08 Thread Ryan Stone
Author: rstone Date: Fri Apr 8 14:39:41 2011 New Revision: 220453 URL: http://svn.freebsd.org/changeset/base/220453 Log: Add tunables that mirror the functionality of sysctls machdep.panic_on_nmi and machdep.kdb_on_nmi. Approved by: emaste (mentor) MFC after:1 week Modified:

svn commit: r220888 - head/lib/libthr/thread

2011-04-20 Thread Ryan Stone
Author: rstone Date: Wed Apr 20 14:19:34 2011 New Revision: 220888 URL: http://svn.freebsd.org/changeset/base/220888 Log: r179417 introduced a bug into pthread_once(). Previously pthread_once() used a global pthread_mutex_t for synchronization. r179417 replaced that with an implementation

svn commit: r230984 - head/sys/kern

2012-02-04 Thread Ryan Stone
Author: rstone Date: Sat Feb 4 16:49:29 2012 New Revision: 230984 URL: http://svn.freebsd.org/changeset/base/230984 Log: Whenever a new kernel thread is spawned, explicitly clear any CPU affinity set on the new thread. This prevents the thread from inadvertently inheriting affinity from a

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

2012-02-06 Thread Ryan Stone
On Mon, Feb 6, 2012 at 6:34 AM, Ivan Voras ivo...@freebsd.org wrote: Shouldn't new threads inherit affinity from the threads which spawned them? Kernel threads were not inheriting affinity from the thread that spawned them. They were inheriting affinity from an arbitrary sibling thread in the

Re: svn commit: r251024 - in head: lib/msun lib/msun/ld128 lib/msun/ld80 lib/msun/src tools/regression/lib/msun

2013-05-27 Thread Ryan Stone
On Mon, May 27, 2013 at 1:23 PM, David Schultz d...@freebsd.org wrote: If someone were to write or import a good test framework, get all the tests to use it, and put together a test tinderbox, that would have a lot of impact. People are working on bringing ATF into FreeBSD:

svn commit: r252342 - head/sys/kern

2013-06-28 Thread Ryan Stone
Author: rstone Date: Fri Jun 28 15:55:30 2013 New Revision: 252342 URL: http://svnweb.freebsd.org/changeset/base/252342 Log: Correct a bug that prevented deadlkres from (almost) ever firing. deadlkres was using a reversed test to check whether ticks had rolled over. This meant that

svn commit: r263109 - head/sys/dev/puc

2014-03-13 Thread Ryan Stone
Author: rstone Date: Thu Mar 13 15:57:25 2014 New Revision: 263109 URL: http://svnweb.freebsd.org/changeset/base/263109 Log: Add MSI support to puc(9) Add support for MSI interrupts in the puc(9) driver. By default the driver will prefer MSI interrupts to legacy interrupts. A tunable,

svn commit: r264001 - in head/sys: conf dev/pci

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 14:49:25 2014 New Revision: 264001 URL: http://svnweb.freebsd.org/changeset/base/264001 Log: Add a method to get the PCI Routing ID for a device Reviewed by: kib Sponsored by: Sandvine, Inc Added: head/sys/dev/pci/pcib_support.c (contents, props

svn commit: r264002 - head/sys/x86/iommu

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 14:51:45 2014 New Revision: 264002 URL: http://svnweb.freebsd.org/changeset/base/264002 Log: Re-implement the DMAR I/O MMU code in terms of PCI RIDs Under the hood the VT-d spec is really implemented in terms of PCI RIDs instead of bus/slot/function, even

svn commit: r264003 - in head/sys/amd64/vmm: amd intel io

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 14:54:43 2014 New Revision: 264003 URL: http://svnweb.freebsd.org/changeset/base/264003 Log: Re-write bhyve's I/O MMU handling in terms of PCI RIDs Reviewed by: neel Sponsored by: Sandvine Inc Modified: head/sys/amd64/vmm/amd/amdv.c

svn commit: r264006 - in head/sys: amd64/vmm/amd amd64/vmm/intel amd64/vmm/io conf dev/pci x86/iommu

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 15:06:03 2014 New Revision: 264006 URL: http://svnweb.freebsd.org/changeset/base/264006 Log: Revert PCI RID changes. My PCI RID changes somehow got intermixed with my PCI ARI patch when I committed it. I may have accidentally applied a patch to a

svn commit: r264007 - in head/sys: conf dev/pci

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 15:47:24 2014 New Revision: 264007 URL: http://svnweb.freebsd.org/changeset/base/264007 Log: Add a method to get the PCI RID for a device. Reviewed by: kib MFC after:2 months Sponsored by: Sandvine Inc. Added: head/sys/dev/pci/pcib_support.c

svn commit: r264008 - head/sys/x86/iommu

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 15:48:46 2014 New Revision: 264008 URL: http://svnweb.freebsd.org/changeset/base/264008 Log: Re-implement the DMAR I/O MMU code in terms of PCI RIDs Under the hood the VT-d spec is really implemented in terms of PCI RIDs instead of bus/slot/function, even

svn commit: r264009 - in head/sys/amd64/vmm: amd intel io

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 15:54:03 2014 New Revision: 264009 URL: http://svnweb.freebsd.org/changeset/base/264009 Log: Re-write bhyve's I/O MMU handling in terms of PCI RID. Reviewed by: neel MFC after:2 months Sponsored by: Sandvine Inc. Modified:

svn commit: r264011 - head/sys/dev/pci

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 16:02:02 2014 New Revision: 264011 URL: http://svnweb.freebsd.org/changeset/base/264011 Log: Add support for PCIe ARI PCIe Alternate RID Interpretation (ARI) is an optional feature that allows devices to have up to 256 different functions. It is

svn commit: r264013 - head/sys/dev/pci

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 17:35:31 2014 New Revision: 264013 URL: http://svnweb.freebsd.org/changeset/base/264013 Log: Add missing copyright date. MFC after:2 months Modified: head/sys/dev/pci/pcib_support.c Modified: head/sys/dev/pci/pcib_support.c

svn commit: r264091 - head/sys/dev/pci

2014-04-03 Thread Ryan Stone
Author: rstone Date: Thu Apr 3 22:32:12 2014 New Revision: 264091 URL: http://svnweb.freebsd.org/changeset/base/264091 Log: Correct a PCI enumeration bug introduced in r264011 Ensure that first_func is set to 0 on every iteration of the PCI slot enumeration loop after the first. There

svn commit: r265107 - head/sys/dev/pci

2014-04-29 Thread Ryan Stone
Author: rstone Date: Tue Apr 29 20:49:47 2014 New Revision: 265107 URL: http://svnweb.freebsd.org/changeset/base/265107 Log: Be consistent with the whitespace in the rest of these files. X-MFC-With: r264007 Modified: head/sys/dev/pci/pci_if.m head/sys/dev/pci/pcib_if.m Modified:

svn commit: r266351 - head/lib/libnv

2014-05-17 Thread Ryan Stone
Author: rstone Date: Sat May 17 20:39:39 2014 New Revision: 266351 URL: http://svnweb.freebsd.org/changeset/base/266351 Log: Correct a typo. MFC after:1 week Modified: head/lib/libnv/nv.3 Modified: head/lib/libnv/nv.3

svn commit: r254100 - head/sys/kern

2013-08-08 Thread Ryan Stone
Author: rstone Date: Thu Aug 8 19:30:49 2013 New Revision: 254100 URL: http://svnweb.freebsd.org/changeset/base/254100 Log: Allow drivers to return BUS_PROBE_NOWILDCARD from their attach routine to match devices where the driver class was fixed but the unit number was wildcarded. This

Re: svn commit: r247460 - head/sys/dev/acpica

2013-02-28 Thread Ryan Stone
On Thu, Feb 28, 2013 at 11:25 AM, Alexey Dokuchaev da...@freebsd.orgwrote: On Thu, Feb 28, 2013 at 11:27:02AM +, Davide Italiano wrote: New Revision: 247460 URL: http://svnweb.freebsd.org/changeset/base/247460 Log: MFcalloutng (r247427 by mav): We don't need any precision

svn commit: r248340 - head/sys/dev/puc

2013-03-15 Thread Ryan Stone
Author: rstone Date: Fri Mar 15 19:58:44 2013 New Revision: 248340 URL: http://svnweb.freebsd.org/changeset/base/248340 Log: Add support for Exar XR17V358 8-port serial device to puc(4) Reviewed by: marius Sponsored by: Sandvine Inc. MFC after:1 week Modified:

svn commit: r248472 - head/sys/dev/puc

2013-03-18 Thread Ryan Stone
Author: rstone Date: Mon Mar 18 19:22:51 2013 New Revision: 248472 URL: http://svnweb.freebsd.org/changeset/base/248472 Log: Correct the definition for Exar XR17V258IV: we must use a config_function to specify the offset into the PCI memory spare at which each serial port will find its

Re: svn commit: r247570 - head/sys/dev/aac

2013-03-22 Thread Ryan Stone
On Fri, Mar 1, 2013 at 2:55 PM, Marius Strobl mar...@freebsd.org wrote: Author: marius Date: Fri Mar 1 19:55:10 2013 New Revision: 247570 URL: http://svnweb.freebsd.org/changeset/base/247570 Log: - Make tables, device ID strings etc const. This includes #ifdef'ing 0

svn commit: r249428 - head/sys/dev/hwpmc

2013-04-12 Thread Ryan Stone
Author: rstone Date: Fri Apr 12 20:43:14 2013 New Revision: 249428 URL: http://svnweb.freebsd.org/changeset/base/249428 Log: Cosmetic change: make a comment reference Sandy Bridge *Xeon* Reviewed by: sbruno MFC after:1 week Modified: head/sys/dev/hwpmc/hwpmc_core.c Modified:

Re: svn commit: r242497 - head/sys/dev/mfi

2012-11-03 Thread Ryan Stone
Does this apply to only to JBOD, or are RAID arrays 2TB also affected? On Fri, Nov 2, 2012 at 6:07 PM, Xin LI delp...@freebsd.org wrote: Author: delphij Date: Fri Nov 2 22:07:45 2012 New Revision: 242497 URL: http://svn.freebsd.org/changeset/base/242497 Log: Copy code from

Re: svn commit: r242497 - head/sys/dev/mfi

2012-11-03 Thread Ryan Stone
not exhibit itself there. Thank goodness. That would have ruined my whole month. Thanks everybody. On Sat, Nov 3, 2012 at 2:36 PM, Peter Wemm pe...@wemm.org wrote: On Sat, Nov 3, 2012 at 11:23 AM, Ryan Stone ryst...@gmail.com wrote: Does this apply to only to JBOD, or are RAID arrays 2TB also

Re: svn commit: r244445 - in head/sys: kern sys tools

2012-12-22 Thread Ryan Stone
This appears to have broken the build on arm. I see the following build failure building an arm LINT kernel: cc1: warnings being treated as errors In file included from /usr/home/rstone/freebsd/head_2/sys/arn/arm/trap.c:900: /usr/home/rstone/freebsd/head_2/sys/arm/arm/../../kern/subr_syscall.c:

svn commit: r244631 - head/sys/cddl/dev/dtrace

2012-12-23 Thread Ryan Stone
Author: rstone Date: Sun Dec 23 15:50:37 2012 New Revision: 244631 URL: http://svnweb.freebsd.org/changeset/base/244631 Log: Correct a series of errors in the hand-rolled locking for drace_debug.c: - Use spinlock_enter()/spinlock_exit() to prevent a thread holding a debug lock from

svn commit: r258572 - head/lib/libpmc

2013-11-25 Thread Ryan Stone
Author: rstone Date: Mon Nov 25 18:31:13 2013 New Revision: 258572 URL: http://svnweb.freebsd.org/changeset/base/258572 Log: pmc(3) does not document a dependency on sys/types.h but pmc.h requires it, so include it explicitly from pmc.h. MFC after:1 month Modified:

svn commit: r272284 - head/usr.bin/systat

2014-09-29 Thread Ryan Stone
Author: rstone Date: Mon Sep 29 17:38:50 2014 New Revision: 272284 URL: http://svnweb.freebsd.org/changeset/base/272284 Log: Fix integer truncation in affecting systat -ifstat The systat -ifstat command was using a u_int to store byte counters. With a 10Gbps or faster interface, this

svn commit: r272285 - head/sys/dev/ixl

2014-09-29 Thread Ryan Stone
Author: rstone Date: Mon Sep 29 17:51:39 2014 New Revision: 272285 URL: http://svnweb.freebsd.org/changeset/base/272285 Log: Ensure that ixl_flush() uses a defined register on VFs In some code that is shared between the ixl(4) and ixlv(4) drivers, a macro hard-coded a register offset

Re: svn commit: r273112 - head/sys/dev/ixgbe

2014-11-06 Thread Ryan Stone
On Thu, Nov 6, 2014 at 12:21 PM, Adrian Chadd adr...@freebsd.org wrote: Hm, are there any other hardware counters that we can use to see what was dropped? On the 82599 and later you need to configure the RQSMR register to map queue pools to indices and then the QPRDC[i] register will contain

Re: svn commit: r275422 - in head/sys: amd64/conf i386/conf pc98/conf powerpc/conf sparc64/conf

2014-12-03 Thread Ryan Stone
Why is DEADLKRES also excluded? It was designed to be safe to run in production without a noticeable perf hit. On Tue, Dec 2, 2014 at 2:55 PM, George V. Neville-Neil g...@freebsd.org wrote: Author: gnn Date: Tue Dec 2 19:55:43 2014 New Revision: 275422 URL:

svn commit: r277649 - head/sys/vm

2015-01-24 Thread Ryan Stone
Author: rstone Date: Sat Jan 24 16:59:38 2015 New Revision: 277649 URL: https://svnweb.freebsd.org/changeset/base/277649 Log: vmspace_release() may sleep if the last reference is being released, so add a WITNESS_WARN() to catch cases where it is called with a non-sleepable lock held.

svn commit: r277524 - in head/sys: dev/hwpmc sys

2015-01-21 Thread Ryan Stone
Author: rstone Date: Thu Jan 22 03:56:23 2015 New Revision: 277524 URL: https://svnweb.freebsd.org/changeset/base/277524 Log: style(9) cleanup Modified: head/sys/dev/hwpmc/hwpmc_core.c head/sys/dev/hwpmc/pmc_events.h head/sys/sys/pmc.h Modified: head/sys/dev/hwpmc/hwpmc_core.c

svn commit: r277352 - in head/usr.sbin: mountd rpc.lockd rpc.statd

2015-01-18 Thread Ryan Stone
Author: rstone Date: Mon Jan 19 00:33:32 2015 New Revision: 277352 URL: https://svnweb.freebsd.org/changeset/base/277352 Log: When mountd is creating sockets, it iterates over all addresses specified in the hosts array and eventually looks up the network address with getaddrinfo(). At one

Re: svn commit: r280120 - head/sys/dev/wpi

2015-03-15 Thread Ryan Stone
On Sun, Mar 15, 2015 at 5:35 PM, Adrian Chadd adr...@freebsd.org wrote: .. promise I'm done for now. (God, it'd be nice to use git, or some web ui that lets me batch review and commit things like this.) I have a script that takes a series of git commits and makes a separate Differential

Re: svn commit: r280120 - head/sys/dev/wpi

2015-03-15 Thread Ryan Stone
Anyone want to review them before I commit them? (I'm going to put them in tools/tools/git/) On Sun, Mar 15, 2015 at 5:45 PM, Adrian Chadd adr...@freebsd.org wrote: On 15 March 2015 at 14:44, Ryan Stone ryst...@gmail.com wrote: On Sun, Mar 15, 2015 at 5:35 PM, Adrian Chadd adr...@freebsd.org

Re: svn commit: r280120 - head/sys/dev/wpi

2015-03-15 Thread Ryan Stone
I've thrown them up for review here: https://reviews.freebsd.org/D2071 Comments are welcome. I'll commit it all later this week. ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any

svn commit: r279834 - head/sys/dev/hwpmc

2015-03-09 Thread Ryan Stone
Author: rstone Date: Tue Mar 10 01:24:02 2015 New Revision: 279834 URL: https://svnweb.freebsd.org/changeset/base/279834 Log: Support architectural events on Haswell/Ivy Bridge Differential Revision:https://reviews.freebsd.org/D1589 MFC after:1 month Sponsored by: Sandvine

svn commit: r279835 - in head: lib/libpmc sys/dev/hwpmc

2015-03-09 Thread Ryan Stone
Author: rstone Date: Tue Mar 10 01:24:08 2015 New Revision: 279835 URL: https://svnweb.freebsd.org/changeset/base/279835 Log: Fix Ivy Bridge+ MEM_UOPS_RETIRED counters The MEM_UOPS_RETIRED actually work the same way as the Sandy Bridge counters, but the counters were documented in a

svn commit: r279836 - head/sys/dev/hwpmc

2015-03-09 Thread Ryan Stone
Author: rstone Date: Tue Mar 10 01:24:16 2015 New Revision: 279836 URL: https://svnweb.freebsd.org/changeset/base/279836 Log: Add missing counter definitions Differential Revision:https://reviews.freebsd.org/D1591 MFC after:1 month Sponsored by: Sandvine Inc Modified:

svn commit: r279830 - head/sys/dev/hwpmc

2015-03-09 Thread Ryan Stone
Author: rstone Date: Tue Mar 10 01:23:34 2015 New Revision: 279830 URL: https://svnweb.freebsd.org/changeset/base/279830 Log: Fix various bugs in Haswell counter definitions 1) The WALK_COMPLETED_2M_4M event incorrectly referenced 4K pages. 2) The umask for RING0 and RING123 events was

svn commit: r279832 - in head: lib/libpmc sys/dev/hwpmc

2015-03-09 Thread Ryan Stone
Author: rstone Date: Tue Mar 10 01:23:47 2015 New Revision: 279832 URL: https://svnweb.freebsd.org/changeset/base/279832 Log: Fix Sandy Bridge+ hwpmc branch counters On Sandy Bridge and later, to count branch-related events you have to or together a mask indicating the type of branch

svn commit: r279833 - head/lib/libpmc

2015-03-09 Thread Ryan Stone
Author: rstone Date: Tue Mar 10 01:23:55 2015 New Revision: 279833 URL: https://svnweb.freebsd.org/changeset/base/279833 Log: Use the correct event table for Haswell Xeon events Differential Revision:https://reviews.freebsd.org/D1588 MFC after:1 month Sponsored by: Sandvine

svn commit: r279829 - head/lib/libpmc

2015-03-09 Thread Ryan Stone
Author: rstone Date: Tue Mar 10 01:22:43 2015 New Revision: 279829 URL: https://svnweb.freebsd.org/changeset/base/279829 Log: Add manpage for Haswell Xeon pmc implementation Differential Revision:https://reviews.freebsd.org/D1584 Reviewed by: gnn MFC After:1 month

svn commit: r279831 - head/sys/dev/hwpmc

2015-03-09 Thread Ryan Stone
Author: rstone Date: Tue Mar 10 01:23:40 2015 New Revision: 279831 URL: https://svnweb.freebsd.org/changeset/base/279831 Log: Fix pmc unit restrictions to match documentation A couple of pmc counters did not work because there were being restricted to the wrong PMC unit. I've verified

Re: svn commit: r279932 - head/sys/vm

2015-03-12 Thread Ryan Stone
On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore i...@freebsd.org wrote: Nullterminate strings returned via sysctl. PR: 195668 To quote the manpage: The *sbuf* family of functions allows one to safely allocate, construct and release bounded null-terminated strings in kernel

svn commit: r279939 - head/sys/dev/hwpmc

2015-03-12 Thread Ryan Stone
Author: rstone Date: Thu Mar 12 23:44:28 2015 New Revision: 279939 URL: https://svnweb.freebsd.org/changeset/base/279939 Log: hwpmc: Fix event number to match enum name Differential revision:https://reviews.freebsd.org/D1592 Reviewed by: Joseph Kong MFC after:1 month

svn commit: r279868 - in head/sys: dev/pci kern sys

2015-03-10 Thread Ryan Stone
Author: rstone Date: Tue Mar 10 23:27:13 2015 New Revision: 279868 URL: https://svnweb.freebsd.org/changeset/base/279868 Log: Fix SR-IOV passthrough devices to allow ppt to attach A late change to the SR-IOV infrastructure broke passthrough of VFs. device_set_devclass() was being used

svn commit: r280957 - in head/sys: amd64/amd64 i386/i386 kern mips/mips powerpc/aim sparc64/sparc64 sys vm

2015-04-01 Thread Ryan Stone
Author: rstone Date: Wed Apr 1 12:42:26 2015 New Revision: 280957 URL: https://svnweb.freebsd.org/changeset/base/280957 Log: Fix integer truncation bug in malloc(9) A couple of internal functions used by malloc(9) and uma truncated a size_t down to an int. This could cause any number

Re: svn commit: r279444 - in head/sys/amd64/vmm: . io

2015-03-02 Thread Ryan Stone
Yes, I expect that it will, although you will have to set the new tunable before loading vmm.ko ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to

svn commit: r279421 - head/lib/libnv

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:01:36 2015 New Revision: 279421 URL: https://svnweb.freebsd.org/changeset/base/279421 Log: Make libnv headers includable from C++ Differential Revision:https://reviews.freebsd.org/D1868 Reviewed by: jfv, pjd MFC after:

svn commit: r279422 - head/lib/libnv/tests

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:01:44 2015 New Revision: 279422 URL: https://svnweb.freebsd.org/changeset/base/279422 Log: Tests of basic nvlist add functions Differential Revision:https://reviews.freebsd.org/D1869 Reviewed by: jfv, pjd MFC after:

svn commit: r279436 - in head/lib/libnv: . tests

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:22:38 2015 New Revision: 279436 URL: https://svnweb.freebsd.org/changeset/base/279436 Log: Prevent creation of an invalid nvlist If an nvlist is set as a child of another nvlist with nvlist_move_nvlist then fail the operation and set the parent nvlist

svn commit: r279455 - head/usr.sbin

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:44:15 2015 New Revision: 279455 URL: https://svnweb.freebsd.org/changeset/base/279455 Log: Revert r279454. The new directory didn't get added to svn properly. Pointy hat to: rstone Modified: head/usr.sbin/Makefile Modified: head/usr.sbin/Makefile

svn commit: r279461 - in head/usr.sbin: . iovctl

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:52:41 2015 New Revision: 279461 URL: https://svnweb.freebsd.org/changeset/base/279461 Log: Add main() for iovctl and hook iovctl into build Differential Revision:https://reviews.freebsd.org/D87 Reviewed by: jhb MFC after:1

svn commit: r279460 - head/usr.sbin/iovctl

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:52:34 2015 New Revision: 279460 URL: https://svnweb.freebsd.org/changeset/base/279460 Log: Add functions for parsing the iovctl config file Add two functions for parsing the iovctl config file. The config file is parsed using libucl[1], which accepts

svn commit: r279459 - head/usr.sbin/iovctl

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:52:28 2015 New Revision: 279459 URL: https://svnweb.freebsd.org/changeset/base/279459 Log: Add iovctl functions for validating config Add an function to iovctl that validates the configuration against a schema. This function is able to assume that the

svn commit: r279458 - head/usr.sbin/iovctl

2015-02-28 Thread Ryan Stone
: ix0; + num_vfs : 3; +} + +DEFAULT { + passthrough : true; +} + +VF-0 { + mac-addr : 02:56:48:7e:d9:f7; + passthrough : false; +} +.Ed +.Sh SEE ALSO +.Xr iovctl 8 , +.Xr rc.conf 5 +.Sh AUTHORS +This manual page was written by +.An Ryan Stone Aq Mt rst...@freebsd.org

svn commit: r279449 - head/sys/dev/pci

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:40:26 2015 New Revision: 279449 URL: https://svnweb.freebsd.org/changeset/base/279449 Log: Allocate PCI I/O memory spaces for VFs When creating VFs, we must size each SR-IOV BAR on the PF and allocate a configuous I/O memory window large enough for

svn commit: r279447 - in head/sys: amd64/conf conf dev/acpica dev/pci i386/conf sys

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:40:09 2015 New Revision: 279447 URL: https://svnweb.freebsd.org/changeset/base/279447 Log: Implement interface to create SR-IOV Virtual Functions Implement the interace to create SR-IOV Virtual Functions (VFs). When a driver registers that they support

svn commit: r279451 - in head/sys: conf dev/pci sys

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:40:42 2015 New Revision: 279451 URL: https://svnweb.freebsd.org/changeset/base/279451 Log: Add infrastructure for exporting config schema from PF drivers Differential Revision:https://reviews.freebsd.org/D80 MFC after:1 month

svn commit: r279452 - in head/sys: dev/pci sys

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:40:51 2015 New Revision: 279452 URL: https://svnweb.freebsd.org/changeset/base/279452 Log: Add function to validate the consistency of SR-IOV config Add a function that validates that the user-provided SR-IOV configuration is valid. This includes basic

svn commit: r279448 - head/sys/dev/pci

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:40:19 2015 New Revision: 279448 URL: https://svnweb.freebsd.org/changeset/base/279448 Log: Emulate the Device ID and Vendor ID registers for VFs The SR-IOV standard requires VFs to read all-ones when the VID and DID registers are read. The VMM

svn commit: r279410 - head/sys/kern

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sat Feb 28 21:49:59 2015 New Revision: 279410 URL: https://svnweb.freebsd.org/changeset/base/279410 Log: Correct the use of an unitialized variable in sendfind_getobj() When sendfile_getobj() is called on a DTYPE_SHM file, it never initializes error, which is

svn commit: r279413 - head/sys/dev/watchdog

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sat Feb 28 22:37:48 2015 New Revision: 279413 URL: https://svnweb.freebsd.org/changeset/base/279413 Log: Add a missing include of an options header. watchdog.c does an #ifdef DDB but does not #include opt_ddb.h. Fixing this turned up a missing include file. MFC

svn commit: r279427 - head/lib/libnv/tests

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:21:37 2015 New Revision: 279427 URL: https://svnweb.freebsd.org/changeset/base/279427 Log: Add test cases for nvlist_move_* Differential Revision:https://reviews.freebsd.org/D1872 Reviewed by: jfv, pjd MFC after:

svn commit: r279428 - head/lib/libnv/tests

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:21:43 2015 New Revision: 279428 URL: https://svnweb.freebsd.org/changeset/base/279428 Log: Add tests for nvlist_take_* Differential Revision:https://reviews.freebsd.org/D1873 Reviewed by: jfv, pjd MFC after:

svn commit: r279426 - head/lib/libnv/tests

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:21:30 2015 New Revision: 279426 URL: https://svnweb.freebsd.org/changeset/base/279426 Log: Add tests for nvlist_pack/unpack Differential Revision:https://reviews.freebsd.org/D1871 Reviewed by: jfv, pjd MFC after:

svn commit: r279440 - head/lib/libnv/tests

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:37:23 2015 New Revision: 279440 URL: https://svnweb.freebsd.org/changeset/base/279440 Log: Fix build of nv_tests.cc nv_tests.cc managed to get two copies of several functions due to me applying a patch in an unclean working tree. My kingdom for an

svn commit: r279446 - head/share/man/man9

2015-02-28 Thread Ryan Stone
-IOV will be enabled on +the PF. +.Sh SEE ALSO +.Xr nv 9 , +.Xr pci 9 , +.Xr pci_iov_schema 9 , +.Xr PCI_INIT_IOV 9 , +.Xr PCI_UNINIT_IOV 9 +.Sh AUTHORS +This manual page was written by +.An Ryan Stone Aq Mt rst...@freebsd.org . Added: head/share/man/man9/PCI_INIT_IOV.9

svn commit: r279445 - head/share/man/man9

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:39:55 2015 New Revision: 279445 URL: https://svnweb.freebsd.org/changeset/base/279445 Log: Document pci_iov_attach/detach in pci.9 Differential Revision:https://reviews.freebsd.org/D74 Reviewed by: bcr, wblock, emaste MFC after:

svn commit: r279441 - head/sys/dev/pci

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:39:26 2015 New Revision: 279441 URL: https://svnweb.freebsd.org/changeset/base/279441 Log: Refactor PCI device creation Refactor creation of PCI devices into helper methods that can be used by the VF creation code. Differential Revision:

svn commit: r279444 - in head/sys/amd64/vmm: . io

2015-02-28 Thread Ryan Stone
Author: rstone Date: Sun Mar 1 00:39:48 2015 New Revision: 279444 URL: https://svnweb.freebsd.org/changeset/base/279444 Log: Allow passthrough devices to be hinted. Allow the ppt driver to attach to devices that were hinted to be passthrough devices by the PCI code creating them with a

  1   2   >