svn commit: r227945 - in stable/9/sys: amd64/amd64 amd64/include cddl/contrib/opensolaris/uts/intel/dtrace i386/i386 i386/include

2011-11-24 Thread Ryan Stone
Author: rstone Date: Thu Nov 24 18:44:09 2011 New Revision: 227945 URL: http://svn.freebsd.org/changeset/base/227945 Log: MFC r227290 and r227291: r227290: Fix the DTrace pid return trap interrupt vector. Previously we were using 31, but that vector is reserved. Without this fi

svn commit: r227946 - in releng/9.0/sys: amd64/amd64 amd64/include cddl/contrib/opensolaris/uts/intel/dtrace i386/i386 i386/include

2011-11-24 Thread Ryan Stone
Author: rstone Date: Thu Nov 24 18:44:14 2011 New Revision: 227946 URL: http://svn.freebsd.org/changeset/base/227946 Log: MFC r227290 and r227291: r227290: Fix the DTrace pid return trap interrupt vector. Previously we were using 31, but that vector is reserved. Without this fi

svn commit: r227950 - in stable/8/sys: amd64/amd64 amd64/include cddl/contrib/opensolaris/uts/intel/dtrace i386/i386 i386/include

2011-11-24 Thread Ryan Stone
Author: rstone Date: Thu Nov 24 19:02:04 2011 New Revision: 227950 URL: http://svn.freebsd.org/changeset/base/227950 Log: MFC r227290 and r227291: r227290: Fix the DTrace pid return trap interrupt vector. Previously we were using 31, but that vector is reserved. Without this fi

svn commit: r227969 - releng/9.0/sys/kern

2011-11-25 Thread Ryan Stone
Author: rstone Date: Fri Nov 25 12:43:34 2011 New Revision: 227969 URL: http://svn.freebsd.org/changeset/base/227969 Log: MFC r227342. Note that the original commit message, reproduced below, has error. The final sentence should read "*without* CTF data". The in-kernel CTF parser cache

svn commit: r227971 - stable/9/sys/kern

2011-11-25 Thread Ryan Stone
Author: rstone Date: Fri Nov 25 13:34:27 2011 New Revision: 227971 URL: http://svn.freebsd.org/changeset/base/227971 Log: MFC r227342. Note that the original commit message, reproduced below, has error. The final sentence should read "*without* CTF data". The in-kernel CTF parser cach

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: r215507 - head/sbin/camcontrol

2010-11-18 Thread Ryan Stone
Author: rstone Date: Fri Nov 19 03:47:10 2010 New Revision: 215507 URL: http://svn.freebsd.org/changeset/base/215507 Log: When doing a camcontrol rescan all or a camcontrol reset all, use the wildcard path id for enumerating the available busses. Previously camcontrol was implicitly passing

Re: svn commit: r215507 - head/sbin/camcontrol

2010-11-19 Thread Ryan Stone
I asked about this on freebsd-scsi and CAM_BUS_WILDCARD was what was suggested to me. I'm happy to make the change if the other way is correct. ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe,

svn commit: r215551 - stable/8/sys/vm

2010-11-19 Thread Ryan Stone
Author: rstone Date: Sat Nov 20 04:54:58 2010 New Revision: 215551 URL: http://svn.freebsd.org/changeset/base/215551 Log: MFC r212281 and 212282 In munmap() downgrade the vm_map_lock to a read lock before taking a read lock on the pmc-sx lock. This prevents a deadlock with pmc_log_proc

svn commit: r215827 - stable/8/usr.bin/netstat

2010-11-25 Thread Ryan Stone
Author: rstone Date: Thu Nov 25 18:32:02 2010 New Revision: 215827 URL: http://svn.freebsd.org/changeset/base/215827 Log: MFC 215474 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

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. Em(4

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 would either cause the

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 day

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 erro

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 m

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: r227436 - stable/8/sbin/camcontrol

2011-11-10 Thread Ryan Stone
Author: rstone Date: Fri Nov 11 01:37:48 2011 New Revision: 227436 URL: http://svn.freebsd.org/changeset/base/227436 Log: MFC 215507: When doing a camcontrol rescan all or a camcontrol reset all, use the wildcard path id for enumerating the available busses. Previously camcontrol was

svn commit: r227437 - stable/8/sys/tools

2011-11-10 Thread Ryan Stone
Author: rstone Date: Fri Nov 11 02:02:55 2011 New Revision: 227437 URL: http://svn.freebsd.org/changeset/base/227437 Log: MFC 220227: GNU awk does not output escaped newlines in multi-line printc statements. This leads to compile errors when trying to compile firmware(9) stubs create

svn commit: r227438 - stable/8/lib/libthr/thread

2011-11-10 Thread Ryan Stone
Author: rstone Date: Fri Nov 11 02:10:24 2011 New Revision: 227438 URL: http://svn.freebsd.org/changeset/base/227438 Log: MFC 220888 r179417 introduced a bug into pthread_once(). Previously pthread_once() used a global pthread_mutex_t for synchronization. r179417 replaced that with

svn commit: r227439 - stable/8/sys/kern

2011-11-10 Thread Ryan Stone
Author: rstone Date: Fri Nov 11 02:13:35 2011 New Revision: 227439 URL: http://svn.freebsd.org/changeset/base/227439 Log: MFC 221081: If the 4BSD scheduler tries to schedule a thread that has been pinned or bound to an AP before SMP has started, the system will panic when we try to t

svn commit: r227440 - stable/8/sys/kern

2011-11-10 Thread Ryan Stone
Author: rstone Date: Fri Nov 11 02:15:44 2011 New Revision: 227440 URL: http://svn.freebsd.org/changeset/base/227440 Log: MFC 224156: 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 alrea

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 probe

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: /boot/STOCK;/boot/kernel;/b

svn commit: r224150 - head/sbin/fdisk

2011-07-17 Thread Ryan Stone
Author: rstone Date: Sun Jul 17 21:08:16 2011 New Revision: 224150 URL: http://svn.freebsd.org/changeset/base/224150 Log: The MBR uses a 32-bit unsigned integer to store the size of a slice, but fdisk(1) internally uses a signed int. Should a user attempt to specify a slice containing more

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 exclus

Re: svn commit: r224150 - head/sbin/fdisk

2011-07-17 Thread Ryan Stone
On Sun, Jul 17, 2011 at 7:09 PM, Bruce Evans wrote: > There was no need to further break the style. Ack. Should have caught that. Will fix. >> >> @@ -990,7 +990,7 @@ parse_config_line(char *line, CMD *comma >>            if (isalpha(*cp)) >>                command->args[command->n_args].argtyp

Re: svn commit: r224490 - in stable/8/sys/dev/ata: . chipsets

2011-07-30 Thread Ryan Stone
On Sat, Jul 30, 2011 at 1:26 PM, Andriy Gapon wrote: > Maybe my question was not clear enough, so I'll ask it differently. > Why do we have mergeinfo on stable/8/sys/geom/label now? Looks like r224301 was improperly merged. http://svn.freebsd.org/changeset/base/224301 ___

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 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 SCHED_ULE

Re: svn commit: r219107 - in stable/8/sys: amd64/amd64 amd64/include boot/common cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/dtrace cddl/contrib/openso

2011-03-01 Thread Ryan Stone
I'm a bit confused. The 8.2 release notes claim that userland dtrace support was added to 8.2. Is this incorrect? http://www.freebsd.org/releases/8.2R/relnotes.html Userland support for the dtrace(1) subsystem has been added. This allows inspection of userland software itself and its correlatio

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: r220227 - head/sys/tools

2011-03-31 Thread Ryan Stone
Author: rstone Date: Thu Mar 31 21:33:33 2011 New Revision: 220227 URL: http://svn.freebsd.org/changeset/base/220227 Log: GNU awk does not output escaped newlines in multi-line printc statements. This leads to compile errors when trying to compile firmware(9) stubs created with gawk, as mult

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: he

svn commit: r220684 - in stable/8/sys: amd64/amd64 i386/i386

2011-04-15 Thread Ryan Stone
Author: rstone Date: Sat Apr 16 00:10:55 2011 New Revision: 220684 URL: http://svn.freebsd.org/changeset/base/220684 Log: MFC r220453: Add tunables that mirror the functionality of sysctls machdep.panic_on_nmi and machdep.kdb_on_nmi. Approved by: emaste (mentor) Modified: stable/8

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: r221081 - head/sys/kern

2011-04-26 Thread Ryan Stone
Author: rstone Date: Tue Apr 26 20:34:30 2011 New Revision: 221081 URL: http://svn.freebsd.org/changeset/base/221081 Log: If the 4BSD scheduler tries to schedule a thread that has been pinned or bound to an AP before SMP has started, the system will panic when we try to touch per-CPU state f

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 chang

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 t

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 head/sys/amd64/vmm

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 non-clean

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 (co

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 t

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: head/sys/amd64/vmm/amd/a

svn commit: r264012 - head/usr.sbin/pciconf

2014-04-01 Thread Ryan Stone
Author: rstone Date: Tue Apr 1 16:03:52 2014 New Revision: 264012 URL: http://svnweb.freebsd.org/changeset/base/264012 Log: Print status of ARI capability in pciconf -c Teach pciconf how to print out the status (enabled/disabled) of the ARI capability on PCI Root Complexes and Downstream

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 implemen

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 i

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: head/

Re: svn commit: r265478 - stable/9/sys/dev/cxgbe

2014-05-06 Thread Ryan Stone
On Tue, May 6, 2014 at 10:13 PM, Navdeep Parhar wrote: > + SYSCTL_ADD_PROC(ctx, children, OID_AUTO, "temperature", CTLTYPE_INT | > + CTLFLAG_RD, sc, 0, sysctl_temperature, "A", > + "chip temperature (in Celsius)"); I believe that this is incorrect. "A" is used for strin

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 deadlk

svn commit: r248063 - stable/9/sys/dev/aac

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 19:01:26 2013 New Revision: 248063 URL: http://svnweb.freebsd.org/changeset/base/248063 Log: MFC r240923 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 pro

svn commit: r248064 - stable/8/sys/dev/aac

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 19:02:45 2013 New Revision: 248064 URL: http://svnweb.freebsd.org/changeset/base/248064 Log: MFC r240923 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 pro

svn commit: r248066 - stable/9/sys/netgraph

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 19:36:36 2013 New Revision: 248066 URL: http://svnweb.freebsd.org/changeset/base/248066 Log: MFC r241009 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 cha

svn commit: r248067 - stable/8/sys/netgraph

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 19:36:44 2013 New Revision: 248067 URL: http://svnweb.freebsd.org/changeset/base/248067 Log: MFC r241009 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 cha

svn commit: r248071 - stable/9/sys/cddl/dev/dtrace

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 21:03:35 2013 New Revision: 248071 URL: http://svnweb.freebsd.org/changeset/base/248071 Log: MFC r226452 (by marcel@) Define dtrace_cmpset_long in terms of atomic_cmpset_long and not by virtue of inline assembly. Now this file compiles on all suppor

svn commit: r248072 - stable/8/sys/cddl/dev/dtrace

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 21:04:16 2013 New Revision: 248072 URL: http://svnweb.freebsd.org/changeset/base/248072 Log: MFC r226452 (by marcel@) Define dtrace_cmpset_long in terms of atomic_cmpset_long and not by virtue of inline assembly. Now this file compiles on all suppor

svn commit: r248073 - stable/9/sys/cddl/dev/dtrace

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 21:07:01 2013 New Revision: 248073 URL: http://svnweb.freebsd.org/changeset/base/248073 Log: MFC r244631 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

svn commit: r248074 - stable/8/sys/cddl/dev/dtrace

2013-03-08 Thread Ryan Stone
Author: rstone Date: Fri Mar 8 21:07:31 2013 New Revision: 248074 URL: http://svnweb.freebsd.org/changeset/base/248074 Log: MFC r244631 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

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: head/sys/dev/puc/p

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 regis

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 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 > aac_command_status_table,

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: head

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: 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 bett

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 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: https://wiki.freebsd.org/Tes

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 but requires it, so include it explicitly from . MFC after:1 month Modified: head/lib/libpmc/pmc.h Modified: head

svn commit: r232756 - stable/9/sys/kern

2012-03-09 Thread Ryan Stone
Author: rstone Date: Sat Mar 10 02:26:12 2012 New Revision: 232756 URL: http://svn.freebsd.org/changeset/base/232756 Log: MFC r230984: Whenever a new kernel thread is spawned, explicitly clear any CPU affinity set on the new thread. This prevents the thread from inadvertently inheri

svn commit: r232757 - stable/8/sys/kern

2012-03-09 Thread Ryan Stone
Author: rstone Date: Sat Mar 10 02:27:04 2012 New Revision: 232757 URL: http://svn.freebsd.org/changeset/base/232757 Log: MFC r230984: Whenever a new kernel thread is spawned, explicitly clear any CPU affinity set on the new thread. This prevents the thread from inadvertently inheritin

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 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 same kernel process

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: I

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 bein

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 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 scsi_read_write() as m

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

2012-11-03 Thread Ryan Stone
g does 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 wrote: > On Sat, Nov 3, 2012 at 11:23 AM, Ryan Stone wrote: > > Does this apply to only to JBOD, or are RAID arrays > 2TB also affected?

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 doc

svn commit: r236030 - stable/8/sys/kern

2012-05-25 Thread Ryan Stone
Author: rstone Date: Fri May 25 23:24:16 2012 New Revision: 236030 URL: http://svn.freebsd.org/changeset/base/236030 Log: MFC r227342 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 mo

svn commit: r236132 - stable/8/usr.sbin/config

2012-05-26 Thread Ryan Stone
Author: rstone Date: Sun May 27 00:34:56 2012 New Revision: 236132 URL: http://svn.freebsd.org/changeset/base/236132 Log: MFC 227429 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

svn commit: r236133 - stable/8/sys/cddl/dev/dtrace/i386

2012-05-26 Thread Ryan Stone
Author: rstone Date: Sun May 27 00:38:36 2012 New Revision: 236133 URL: http://svn.freebsd.org/changeset/base/236133 Log: MFC 227430 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

svn commit: r236151 - in stable/8/sys: amd64/linux32 cddl/dev/systrace compat/freebsd32 i386/linux kern

2012-05-27 Thread Ryan Stone
Author: rstone Date: Sun May 27 14:25:16 2012 New Revision: 236151 URL: http://svn.freebsd.org/changeset/base/236151 Log: MFC r227441 Correct the types of the arguments to return probes of the syscall provider. Previously we were erroneously supplying the argument types of the corre

svn commit: r236152 - in stable/9/sys: cddl/dev/sdt kern sys

2012-05-27 Thread Ryan Stone
Author: rstone Date: Sun May 27 14:48:14 2012 New Revision: 236152 URL: http://svn.freebsd.org/changeset/base/236152 Log: MFC r233552 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 tha

svn commit: r236153 - in stable/8/sys: cddl/dev/sdt kern sys

2012-05-27 Thread Ryan Stone
Author: rstone Date: Sun May 27 14:52:31 2012 New Revision: 236153 URL: http://svn.freebsd.org/changeset/base/236153 Log: MFC r233552 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 tha

svn commit: r236160 - in stable/9: cddl/contrib/opensolaris/lib/libdtrace/common sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contrib/opensolaris/uts/common/sys

2012-05-27 Thread Ryan Stone
Author: rstone Date: Sun May 27 18:55:23 2012 New Revision: 236160 URL: http://svn.freebsd.org/changeset/base/236160 Log: MFC r234691 Implement the D "cpu" variable, which returns curcpu. I have chosen not to follow the example of OpenSolaris and its descendants, which implemented c

svn commit: r236161 - in stable/8: cddl/contrib/opensolaris/lib/libdtrace/common sys/cddl/contrib/opensolaris/uts/common/dtrace sys/cddl/contrib/opensolaris/uts/common/sys

2012-05-27 Thread Ryan Stone
Author: rstone Date: Sun May 27 18:57:20 2012 New Revision: 236161 URL: http://svn.freebsd.org/changeset/base/236161 Log: MFC r234691 Implement the D "cpu" variable, which returns curcpu. I have chosen not to follow the example of OpenSolaris and its descendants, which implemented c

svn commit: r236162 - stable/8/sys/dev/e1000

2012-05-27 Thread Ryan Stone
Author: rstone Date: Sun May 27 19:03:16 2012 New Revision: 236162 URL: http://svn.freebsd.org/changeset/base/236162 Log: MFC r225640 Clear transmit checksum offload context state upon lem(4) interface initialization. Prior to this change packets may be transmitted with an incorrect

svn commit: r236344 - in stable/9/sys: kern sys

2012-05-30 Thread Ryan Stone
Author: rstone Date: Wed May 30 23:22:52 2012 New Revision: 236344 URL: http://svn.freebsd.org/changeset/base/236344 Log: MFC r235459 and r235471 r235459: Implement the DTrace sched provider. This implementation aims to be compatible with the sched provider implemented by Solaris and

svn commit: r236345 - in stable/8/sys: kern sys

2012-05-30 Thread Ryan Stone
Author: rstone Date: Wed May 30 23:42:48 2012 New Revision: 236345 URL: http://svn.freebsd.org/changeset/base/236345 Log: MFC r235459 and r235471 r235459: Implement the DTrace sched provider. This implementation aims to be compatible with the sched provider implemented by Solaris

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 whe

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 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: http://wiki.freebsd.org/DTrace/HowToAddSDTProbes

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 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 by: a c

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

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

2012-05-07 Thread Ryan Stone
On Sun, May 6, 2012 at 2:03 PM, Bjoern A. Zeeb wrote: > root@bz1:/home/bz # procstat -k 34611 >  PID    TID COMM             TDNAME           KSTACK > 34611 100228 ctfmerge         -                mi_switch sleepq_catch_signals > sleepq_wait_sig _sleep _do_lock_umutex do_lock_umutex __umtx_op_wa

Re: svn commit: r245896 - stable/8

2013-01-25 Thread Ryan Stone
On Thu, Jan 24, 2013 at 7:46 PM, Glen Barber wrote: > echo > "--" ; \ > echo ">>> Updating ${.CURDIR} from CVS repository" > ${CVSROOT} ; \ > echo > "---

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 wrote: > 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 here. Le

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 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 auxv.c. I have

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 hav

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 fail

svn commit: r212281 - head/sys/vm

2010-09-06 Thread Ryan Stone
Author: rstone Date: Tue Sep 7 00:23:45 2010 New Revision: 212281 URL: http://svn.freebsd.org/changeset/base/212281 Log: In munmap() downgrade the vm_map_lock to a read lock before taking a read lock on the pmc-sx lock. This prevents a deadlock with pmc_log_process_mappings, which has an e

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 Mo

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

2010-09-06 Thread Ryan Stone
On Mon, Sep 6, 2010 at 8:23 PM, Ryan Stone 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, but if somebody want

svn commit: r208517 - stable/8/sys/dev/hwpmc

2010-05-24 Thread Ryan Stone
Author: rstone Date: Mon May 24 18:21:42 2010 New Revision: 208517 URL: http://svn.freebsd.org/changeset/base/208517 Log: MFC r207484: When configuring a system-wide couting PMC, hwpmc was incorrectly logging process mappings for that PMC. Nothing ever reads pmc logs out of a counti

svn commit: r208520 - stable/8/lib/libpmc

2010-05-24 Thread Ryan Stone
Author: rstone Date: Mon May 24 19:42:27 2010 New Revision: 208520 URL: http://svn.freebsd.org/changeset/base/208520 Log: MFC r207482 When configuring hwpmc to use the EXT_SNOOP event, only send a default cachestate qualifier on the Atom processor. Other Intel processors do not acce

  1   2   3   >