svn commit: r279702 - head/sys/arm/arm

2015-03-06 Thread Ian Lepore
Author: ian Date: Fri Mar 6 20:52:05 2015 New Revision: 279702 URL: https://svnweb.freebsd.org/changeset/base/279702 Log: Update a comment that had drifted out of date with the last changes. Modified: head/sys/arm/arm/physmem.c Modified: head/sys/arm/arm/physmem.c ==

svn commit: r279723 - head/sys/dev/uart

2015-03-07 Thread Ian Lepore
Author: ian Date: Sat Mar 7 15:18:57 2015 New Revision: 279723 URL: https://svnweb.freebsd.org/changeset/base/279723 Log: Define new linker set, UART_FDT_CLASS_AND_DEVICE, for registering full (class and device) FDT UART. Define second one, UART_FDT_CLASS, for UART class only. This pav

svn commit: r279724 - in head/sys: arm/at91 arm/freescale/vybrid arm/samsung/exynos arm/samsung/s3c2xx0 arm/xilinx dev/uart

2015-03-07 Thread Ian Lepore
Author: ian Date: Sat Mar 7 15:24:15 2015 New Revision: 279724 URL: https://svnweb.freebsd.org/changeset/base/279724 Log: Move the uart_class definitions and fdt compat data into the individual uart implementations, and export them using the new linker-set mechanism. Differential Revisio

svn commit: r279766 - head/sys/arm/ti

2015-03-07 Thread Ian Lepore
Author: ian Date: Sun Mar 8 03:34:06 2015 New Revision: 279766 URL: https://svnweb.freebsd.org/changeset/base/279766 Log: Fix spurious interrupts on arm am335x (beaglebone), by doing the EOI in both the post-filter and post-thread callbacks. Also eliminate a completely unecessary write t

svn commit: r279810 - head/sys/arm/arm

2015-03-09 Thread Ian Lepore
Author: ian Date: Mon Mar 9 14:42:25 2015 New Revision: 279810 URL: https://svnweb.freebsd.org/changeset/base/279810 Log: Clean data cache before instruction cache in armv7_icache_sync_range(). Also ensure dsb precedes isb in all icache maintenance routines (first do a data sync, then stall

svn commit: r279811 - in head/sys/arm: arm include

2015-03-09 Thread Ian Lepore
Author: ian Date: Mon Mar 9 14:46:10 2015 New Revision: 279811 URL: https://svnweb.freebsd.org/changeset/base/279811 Log: Add minimum cache line sizes to struct cpuinfo, use them in the new cache maintenance routines. Also add a routine to invalidate the branch cache. Submitted by: Mich

svn commit: r279816 - head/sys/arm/ti/omap4

2015-03-09 Thread Ian Lepore
Author: ian Date: Mon Mar 9 15:54:14 2015 New Revision: 279816 URL: https://svnweb.freebsd.org/changeset/base/279816 Log: Attach the prcm clock driver early, so it can set the mpcore timer frequency. Submitted by: Svatopluk Kraus Modified: head/sys/arm/ti/omap4/omap4_prcm_clks.c Modifi

Re: svn commit: r279814 - head/sys/arm/conf

2015-03-09 Thread Ian Lepore
On Mon, 2015-03-09 at 15:43 +, Warner Losh wrote: > Author: imp > Date: Mon Mar 9 15:43:33 2015 > New Revision: 279814 > URL: https://svnweb.freebsd.org/changeset/base/279814 > > Log: > Add the DTrace modules to the build, rather than only build the dtrace > modules. > > Modified: > he

svn commit: r279824 - in head/sys/modules: . dtb/am335x

2015-03-09 Thread Ian Lepore
Author: ian Date: Mon Mar 9 21:50:10 2015 New Revision: 279824 URL: https://svnweb.freebsd.org/changeset/base/279824 Log: Add a dtb module for AM335x systems (just Beaglebone right now). Added: head/sys/modules/dtb/am335x/ head/sys/modules/dtb/am335x/Makefile (contents, props changed) Mo

svn commit: r279825 - head/sys/arm/conf

2015-03-09 Thread Ian Lepore
Author: ian Date: Mon Mar 9 21:54:27 2015 New Revision: 279825 URL: https://svnweb.freebsd.org/changeset/base/279825 Log: Remove the static DTB config and instead build modules/dtb/am335x. Also, remove WITHOUT_MODULES="ahc" which was added long ago to work around build problems that have

svn commit: r279826 - head/sys/arm/ti/am335x

2015-03-09 Thread Ian Lepore
Author: ian Date: Mon Mar 9 21:58:41 2015 New Revision: 279826 URL: https://svnweb.freebsd.org/changeset/base/279826 Log: Change the name of the dmtimer pps device from /dev/ppsN to /dev/dmtppsN. ntpd is hard-coded to use /dev/ppsN, and typically when multiple PPS sources are available t

svn commit: r279827 - head/sys/modules

2015-03-09 Thread Ian Lepore
Author: ian Date: Mon Mar 9 22:01:57 2015 New Revision: 279827 URL: https://svnweb.freebsd.org/changeset/base/279827 Log: Revert accidentally commited file from r279824. We're not quite ready to enable dtrace module building on all arm platforms yet. Modified: head/sys/modules/Makefile M

svn commit: r279828 - head/sys/dev/cadence

2015-03-09 Thread Ian Lepore
Author: ian Date: Mon Mar 9 22:39:58 2015 New Revision: 279828 URL: https://svnweb.freebsd.org/changeset/base/279828 Log: Use the new ifnet API. Also, allocate bus_dma_maps as needed instead of pre-allocating them all at start-up. Also fix a bug in cgem_stop(); before, it wasn't properly

svn commit: r279837 - head/sys/arm/conf

2015-03-09 Thread Ian Lepore
Author: ian Date: Tue Mar 10 02:33:51 2015 New Revision: 279837 URL: https://svnweb.freebsd.org/changeset/base/279837 Log: Remove MODULES_OVERRIDE="" and WITHOUT_MODULES="ahc" from armv6 configs. These are left over from long ago when there was no way to load modules on early armv6 platfo

svn commit: r279850 - head/sys/arm/conf

2015-03-10 Thread Ian Lepore
Author: ian Date: Tue Mar 10 14:36:51 2015 New Revision: 279850 URL: https://svnweb.freebsd.org/changeset/base/279850 Log: Remove MODULES_OVERRIDE="" for Marvel-based armv5 systems. Also add some #NO_UNIVERSE to configs that essentially duplicate DB-88F6XXX. Modified: head/sys/arm/conf/D

Re: svn commit: r279837 - head/sys/arm/conf

2015-03-10 Thread Ian Lepore
s, but I think for the high-functioning Marvel systems it makes sense, so I'll commit that today. -- Ian > > On Tue, 10 Mar 2015 03:33:52 +0100, Ian Lepore wrote: > > > Author: ian > > Date: Tue Mar 10 02:33:51 2015 > > New Revision: 279837 > > URL: http

Re: svn commit: r279828 - head/sys/dev/cadence

2015-03-10 Thread Ian Lepore
On Tue, 2015-03-10 at 13:25 +0300, Gleb Smirnoff wrote: > On Mon, Mar 09, 2015 at 10:39:59PM +0000, Ian Lepore wrote: > I> Author: ian > I> Date: Mon Mar 9 22:39:58 2015 > I> New Revision: 279828 > I> URL: https://svnweb.freebsd.org/changeset/base/279828 > I> &

Re: svn commit: r279828 - head/sys/dev/cadence

2015-03-10 Thread Ian Lepore
On Tue, 2015-03-10 at 13:33 -0600, Scott Long wrote: > > On Mar 9, 2015, at 4:39 PM, Ian Lepore wrote: > > > > Author: ian > > Date: Mon Mar 9 22:39:58 2015 > > New Revision: 279828 > > URL: https://svnweb.freebsd.org/changeset/base/279828 > >

svn commit: r279933 - head/sys/dev/wbwd

2015-03-12 Thread Ian Lepore
Author: ian Date: Thu Mar 12 18:09:39 2015 New Revision: 279933 URL: https://svnweb.freebsd.org/changeset/base/279933 Log: Nullterminate strings returned via sysctl. PR: 195668 Modified: head/sys/dev/wbwd/wbwd.c Modified: head/sys/dev/wbwd/wbwd.c ==

svn commit: r279932 - head/sys/vm

2015-03-12 Thread Ian Lepore
Author: ian Date: Thu Mar 12 18:06:30 2015 New Revision: 279932 URL: https://svnweb.freebsd.org/changeset/base/279932 Log: Nullterminate strings returned via sysctl. PR: 195668 Modified: head/sys/vm/vm_phys.c head/sys/vm/vm_reserv.c Modified: head/sys/vm/vm_phys.c ==

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

2015-03-12 Thread Ian Lepore
Author: ian Date: Thu Mar 12 18:22:20 2015 New Revision: 279934 URL: https://svnweb.freebsd.org/changeset/base/279934 Log: Nullterminate strings returned via sysctl. PR: 195668 Modified: head/sys/dev/cxgbe/t4_l2t.c head/sys/dev/cxgbe/t4_main.c Modified: head/sys/dev/cxgbe/t4

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

2015-03-12 Thread Ian Lepore
On Thu, 2015-03-12 at 17:02 -0400, Ryan Stone wrote: > On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore wrote: > > > Nullterminate strings returned via sysctl. > > > > PR: 195668 > > > > To quote the manpage: > > > The *sbuf* family o

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

2015-03-12 Thread Ian Lepore
Author: ian Date: Thu Mar 12 23:31:29 2015 New Revision: 279938 URL: https://svnweb.freebsd.org/changeset/base/279938 Log: Fix a paste-o, sb is already a pointer in this one. Modified: head/sys/dev/cxgbe/t4_l2t.c Modified: head/sys/dev/cxgbe/t4_l2t.c =

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

2015-03-12 Thread Ian Lepore
On Thu, 2015-03-12 at 15:54 -0700, Navdeep Parhar wrote: > On 03/12/2015 11:22, Ian Lepore wrote: > > Author: ian > > Date: Thu Mar 12 18:22:20 2015 > > New Revision: 279934 > > URL: https://svnweb.freebsd.org/changeset/base/279934 > > > > Log: > >

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

2015-03-13 Thread Ian Lepore
On Fri, 2015-03-13 at 06:24 -0400, John Baldwin wrote: > On Thursday, March 12, 2015 05:24:51 PM Ian Lepore wrote: > > On Thu, 2015-03-12 at 17:02 -0400, Ryan Stone wrote: > > > On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore wrote: > > > > > > > Nu

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

2015-03-13 Thread Ian Lepore
On Fri, 2015-03-13 at 13:19 -0400, John Baldwin wrote: > On Friday, March 13, 2015 10:14:27 AM Ian Lepore wrote: > > On Fri, 2015-03-13 at 06:24 -0400, John Baldwin wrote: > > > On Thursday, March 12, 2015 05:24:51 PM Ian Lepore wrote: [...] > > > > In general I&

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

2015-03-13 Thread Ian Lepore
On Fri, 2015-03-13 at 14:34 -0400, John Baldwin wrote: > On Friday, March 13, 2015 11:57:58 AM Ian Lepore wrote: > > On Fri, 2015-03-13 at 13:19 -0400, John Baldwin wrote: > > > On Friday, March 13, 2015 10:14:27 AM Ian Lepore wrote: > > > > On Fri, 2015-03-13 at 0

svn commit: r279982 - head/sys/vm

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 13:00:37 2015 New Revision: 279982 URL: https://svnweb.freebsd.org/changeset/base/279982 Log: Revert r279932; this is going to be fixed in the sbuf code instead. PR: 195668 Modified: head/sys/vm/vm_phys.c head/sys/vm/vm_reserv.c Modified: head/sy

svn commit: r279983 - head/sys/dev/wbwd

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 13:02:08 2015 New Revision: 279983 URL: https://svnweb.freebsd.org/changeset/base/279983 Log: Revert r279933; this is going to be fixed in sbuf instead. PR: 195668 Modified: head/sys/dev/wbwd/wbwd.c Modified: head/sys/dev/wbwd/wbwd.c ==

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

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 13:04:39 2015 New Revision: 279984 URL: https://svnweb.freebsd.org/changeset/base/279984 Log: Revert r279934, r279938; this is going to be fixed in sbuf instead. PR: 195668 Modified: head/sys/dev/cxgbe/t4_l2t.c head/sys/dev/cxgbe/t4_main.c Modifi

svn commit: r279992 - in head: share/man/man9 sys/kern sys/sys

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 16:02:11 2015 New Revision: 279992 URL: https://svnweb.freebsd.org/changeset/base/279992 Log: Add a new flag, SBUF_INCLUDENUL, and new get/set/clear functions for flags. The SBUF_INCLUDENUL flag causes the nulterm byte at the end of the string to be counted in

svn commit: r279993 - in head/sys: dev/cxgb dev/cxgbe kern vm

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 17:08:28 2015 New Revision: 279993 URL: https://svnweb.freebsd.org/changeset/base/279993 Log: Set the SBUF_INCLUDENUL flag in sbuf_new_for_sysctl() so that sysctl strings returned to userland include the nulterm byte. Some uses of sbuf_new_for_sysctl() write b

svn commit: r279997 - head/sys/netinet

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 18:11:24 2015 New Revision: 279997 URL: https://svnweb.freebsd.org/changeset/base/279997 Log: Use sbuf_new_for_sysctl() instead of plain sbuf_new() to ensure sysctl string returned to userland is nulterminated. PR: 195668 Modified: head/sys/netine

svn commit: r279999 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 18:42:30 2015 New Revision: 27 URL: https://svnweb.freebsd.org/changeset/base/27 Log: Use sbuf_new_for_sysctl() instead of plain sbuf_new() to ensure sysctl string returned to userland is nulterminated. PR: 195668 Modified: head/sys/kern/s

svn commit: r280000 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 18:46:33 2015 New Revision: 28 URL: https://svnweb.freebsd.org/changeset/base/28 Log: Use sbuf_new_for_sysctl() instead of plain sbuf_new() to ensure sysctl string returned to userland is nulterminated. PR: 195668 Modified: head/sys/kern/k

svn commit: r280005 - head/sys/sys

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:38:51 2015 New Revision: 280005 URL: https://svnweb.freebsd.org/changeset/base/280005 Log: Define a convenience macro, SYSCTL_OUT_STR() for handling strings the standard way (including the nulterm byte in the data returned to userland). This augments the ex

svn commit: r280006 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:40:01 2015 New Revision: 280006 URL: https://svnweb.freebsd.org/changeset/base/280006 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/kern/subr_bus.c head/sys/kern/subr_param.c Modified: head/sys/kern/subr_bus.c

svn commit: r280009 - head/sys/mips/rmi/dev/iic

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:40:51 2015 New Revision: 280009 URL: https://svnweb.freebsd.org/changeset/base/280009 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/mips/rmi/dev/iic/at24co2n.c Modified: head/sys/mips/rmi/dev/iic/at24co2n.c =

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

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:40:33 2015 New Revision: 280008 URL: https://svnweb.freebsd.org/changeset/base/280008 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/dev/usb/net/usb_ethernet.c Modified: head/sys/dev/usb/net/usb_ethernet.c ===

svn commit: r280010 - head/sys/net80211

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:41:00 2015 New Revision: 280010 URL: https://svnweb.freebsd.org/changeset/base/280010 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/net80211/ieee80211_freebsd.c Modified: head/sys/net80211/ieee80211_freebsd.c ===

svn commit: r280007 - head/sys/xen/xenbus

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 21:40:24 2015 New Revision: 280007 URL: https://svnweb.freebsd.org/changeset/base/280007 Log: Use SYSCTL_OUT_STR() to return strings. PR: 195668 Modified: head/sys/xen/xenbus/xenbusb.c Modified: head/sys/xen/xenbus/xenbusb.c ===

svn commit: r280011 - head/sys/dev/iscsi_initiator

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 22:32:15 2015 New Revision: 280011 URL: https://svnweb.freebsd.org/changeset/base/280011 Log: Use sysctl_handle_string() and the sbuf printf routines instead of large stack-allocated buffers and snprintf(). PR: 195668 Modified: head/sys/dev/iscsi_

svn commit: r280012 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 23:16:12 2015 New Revision: 280012 URL: https://svnweb.freebsd.org/changeset/base/280012 Log: Use sbuf_printf() for sysctl strings instead of stack buffers and snprintf(). Modified: head/sys/kern/kern_et.c head/sys/kern/kern_tc.c Modified: head/sys/kern/kern_et

svn commit: r280013 - in head/sys/mips: nlm rmi

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 23:30:03 2015 New Revision: 280013 URL: https://svnweb.freebsd.org/changeset/base/280013 Log: Use sbuf_printf() for sysctl strings instead of static buffers and snprintf. Modified: head/sys/mips/nlm/cms.c head/sys/mips/rmi/fmn.c Modified: head/sys/mips/nlm/cms.

svn commit: r280014 - head/sys/netinet

2015-03-14 Thread Ian Lepore
Author: ian Date: Sat Mar 14 23:57:33 2015 New Revision: 280014 URL: https://svnweb.freebsd.org/changeset/base/280014 Log: Go back to using sbuf_new() with a preallocated large buffer, to avoid triggering an sbuf auto-drain copyout while holding a lock. Pointed out by: jhb Poin

Re: svn commit: r279997 - head/sys/netinet

2015-03-14 Thread Ian Lepore
On Sat, 2015-03-14 at 17:52 -0400, John Baldwin wrote: > On Saturday, March 14, 2015 06:11:25 PM Ian Lepore wrote: > > Author: ian > > Date: Sat Mar 14 18:11:24 2015 > > New Revision: 279997 > > URL: https://svnweb.freebsd.org/changeset/base/279997 > > >

svn commit: r280015 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sun Mar 15 00:36:08 2015 New Revision: 280015 URL: https://svnweb.freebsd.org/changeset/base/280015 Log: Include the nulterm byte in the sysctl string. PR: 195668 Modified: head/sys/kern/kern_cons.c Modified: head/sys/kern/kern_cons.c

svn commit: r280016 - head/sys/kern

2015-03-14 Thread Ian Lepore
Author: ian Date: Sun Mar 15 00:39:18 2015 New Revision: 280016 URL: https://svnweb.freebsd.org/changeset/base/280016 Log: Add a nulterm byte to the returned sysctl string. PR: 195668 Modified: head/sys/kern/subr_prf.c Modified: head/sys/kern/subr_prf.c ===

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

2015-03-15 Thread Ian Lepore
Author: ian Date: Sun Mar 15 17:39:38 2015 New Revision: 280043 URL: https://svnweb.freebsd.org/changeset/base/280043 Log: Remove redundant sysctl_handle_string() calls, the sbuf auto-drain takes care of that. Reviewed by: erj@ Modified: head/sys/dev/ixl/if_ixl.c Modified: head/sys/d

Re: svn commit: r279993 - in head/sys: dev/cxgb dev/cxgbe kern vm

2015-03-16 Thread Ian Lepore
On Sun, 2015-03-15 at 23:53 +0200, Konstantin Belousov wrote: > On Sat, Mar 14, 2015 at 05:08:29PM +0000, Ian Lepore wrote: > > Author: ian > > Date: Sat Mar 14 17:08:28 2015 > > New Revision: 279993 > > URL: https://svnweb.freebsd.org/changeset/base/279993

svn commit: r280149 - head/sys/kern

2015-03-16 Thread Ian Lepore
Author: ian Date: Mon Mar 16 17:45:41 2015 New Revision: 280149 URL: https://svnweb.freebsd.org/changeset/base/280149 Log: Update an sbuf assertion to allow for the new SBUF_INCLUDENUL flag. If INCLUDENUL is set and sbuf_finish() has been called, the length has been incremented to count the

Re: svn commit: r279993 - in head/sys: dev/cxgb dev/cxgbe kern vm

2015-03-16 Thread Ian Lepore
On Sun, 2015-03-15 at 23:53 +0200, Konstantin Belousov wrote: > On Sat, Mar 14, 2015 at 05:08:29PM +0000, Ian Lepore wrote: > > Author: ian > > Date: Sat Mar 14 17:08:28 2015 > > New Revision: 279993 > > URL: https://svnweb.freebsd.org/changeset/base/279993

svn commit: r280150 - head/sys/kern

2015-03-16 Thread Ian Lepore
Author: ian Date: Mon Mar 16 19:18:45 2015 New Revision: 280150 URL: https://svnweb.freebsd.org/changeset/base/280150 Log: Use a regular sbuf + SYSCTL_OUT() rather than sbuf_new_for_sysctl() with auto-draining, to avoid a potential copyout fault while holding a lock. Pointed out by:

svn commit: r280151 - head/sys/kern

2015-03-16 Thread Ian Lepore
Author: ian Date: Mon Mar 16 19:25:03 2015 New Revision: 280151 URL: https://svnweb.freebsd.org/changeset/base/280151 Log: Modified: head/sys/kern/kern_et.c Modified: head/sys/kern/kern_et.c == --- head/sys/kern/ker

svn commit: r280152 - head/sys/kern

2015-03-16 Thread Ian Lepore
Author: ian Date: Mon Mar 16 19:29:19 2015 New Revision: 280152 URL: https://svnweb.freebsd.org/changeset/base/280152 Log: Trivial change / forced-commit to document prior change that slipped in without a commit message... Use sbuf_new() + SYSCTL_OUT() instead of wiring the userland buffe

svn commit: r280156 - head/sbin/dmesg

2015-03-16 Thread Ian Lepore
Author: ian Date: Mon Mar 16 21:09:11 2015 New Revision: 280156 URL: https://svnweb.freebsd.org/changeset/base/280156 Log: Fix minor fallout from sysctl strings being nulterminated now. The dmesg code can read the buffer via sysctl or from a core file. In the core file case there will be n

svn commit: r280192 - head/sys/kern

2015-03-17 Thread Ian Lepore
Author: ian Date: Tue Mar 17 20:56:24 2015 New Revision: 280192 URL: https://svnweb.freebsd.org/changeset/base/280192 Log: In sbuf_new_for_sysctl(), default the buffer size to 64 bytes if the passed-in pointer is NULL and the length is zero. Modified: head/sys/kern/kern_sysctl.c Modified:

svn commit: r280193 - head/sys/kern

2015-03-17 Thread Ian Lepore
Author: ian Date: Tue Mar 17 21:00:31 2015 New Revision: 280193 URL: https://svnweb.freebsd.org/changeset/base/280193 Log: The minimum sbuf buffer size is 2 bytes (a byte plus a nulterm), assert that. Values smaller than two lead to strange asserts that have nothing to do with the actual

svn commit: r280194 - in head/sys/boot/uboot: fdt lib

2015-03-17 Thread Ian Lepore
Author: ian Date: Tue Mar 17 21:15:24 2015 New Revision: 280194 URL: https://svnweb.freebsd.org/changeset/base/280194 Log: Fix fdt_platform_fixups() mem region handling. It turns out u-boot puts several types of data into the mem-info array (DRAM, SRAM, flash). We need to extract just the

svn commit: r280221 - head/share/man/man4

2015-03-18 Thread Ian Lepore
Author: ian Date: Wed Mar 18 14:49:16 2015 New Revision: 280221 URL: https://svnweb.freebsd.org/changeset/base/280221 Log: Update ucom(4) with information about the new PPS capture abilities. Differential Revision:https://reviews.freebsd.org/D2049 Modified: head/share/man/man4/uc

svn commit: r280355 - head/sys/kern

2015-03-22 Thread Ian Lepore
Author: ian Date: Sun Mar 22 21:18:44 2015 New Revision: 280355 URL: https://svnweb.freebsd.org/changeset/base/280355 Log: The sysctls that return process argv and envv return binary data, so clear the SBUF_INCLUDENUL flag. Pointed out by: tijl@ Modified: head/sys/kern/kern_p

Re: svn commit: r279993 - in head/sys: dev/cxgb dev/cxgbe kern vm

2015-03-22 Thread Ian Lepore
On Sun, 2015-03-22 at 17:11 +0100, Tijl Coosemans wrote: > On Sat, 14 Mar 2015 17:08:29 + (UTC) Ian Lepore wrote: > > Author: ian > > Date: Sat Mar 14 17:08:28 2015 > > New Revision: 279993 > > URL: https://svnweb.freebsd.org/changeset/base/279993 > > >

svn commit: r280402 - head/sys/arm/arm

2015-03-23 Thread Ian Lepore
Author: ian Date: Mon Mar 23 22:42:42 2015 New Revision: 280402 URL: https://svnweb.freebsd.org/changeset/base/280402 Log: Do not save/restore the TLS pointer on context switch for armv6. The pointer cannot be changed directly by userland code on armv6 (it can be on armv4), so there's no ne

svn commit: r280632 - in stable/10: sys/kern sys/sys usr.sbin/jail

2015-03-25 Thread Ian Lepore
Author: ian Date: Wed Mar 25 20:57:54 2015 New Revision: 280632 URL: https://svnweb.freebsd.org/changeset/base/280632 Log: MFC r279361, r279395, r279396: Allow the kern.osrelease and kern.osreldate sysctl values to be set in a jail's creation parameters. This allows the kernel versio

svn commit: r280709 - head/sys/arm/mv/armadaxp

2015-03-26 Thread Ian Lepore
Author: ian Date: Thu Mar 26 19:33:07 2015 New Revision: 280709 URL: https://svnweb.freebsd.org/changeset/base/280709 Log: Use pmap_mapdev()/unmapdev() to temporarily map on-chip sram while copying the startup trampoline code. The old code allocated a kva page, mapped it using using pmap_ke

svn commit: r280712 - in head/sys: arm/arm arm/include conf

2015-03-26 Thread Ian Lepore
Author: ian Date: Thu Mar 26 21:13:53 2015 New Revision: 280712 URL: https://svnweb.freebsd.org/changeset/base/280712 Log: New pmap code for armv6. Disabled by default, option ARM_NEW_PMAP enables it. This is pretty much a complete rewrite based on the existing i386 code. The patches hav

Re: svn commit: r280760 - head/sys/ufs/ffs

2015-03-27 Thread Ian Lepore
On Fri, 2015-03-27 at 13:55 +, Konstantin Belousov wrote: > Author: kib > Date: Fri Mar 27 13:55:56 2015 > New Revision: 280760 > URL: https://svnweb.freebsd.org/changeset/base/280760 > > Log: > Fix the hand after the immediate reboot when the following command > sequence is performed on U

svn commit: r280772 - in head/sys: conf dev/fdt dev/ofw

2015-03-27 Thread Ian Lepore
Author: ian Date: Fri Mar 27 23:10:15 2015 New Revision: 280772 URL: https://svnweb.freebsd.org/changeset/base/280772 Log: Make simplebus a base class of ofwbus. This allows the elimination of duplicated code in the two classes, and also allows devices in FDT-based systems to declare simple

Re: svn commit: r280790 - in head/sys: conf dev/hwpmc

2015-03-28 Thread Ian Lepore
On Sat, 2015-03-28 at 19:01 +, Bjoern A. Zeeb wrote: > > On 28 Mar 2015, at 18:57 , Bjoern A. Zeeb wrote: > > > > Author: bz > > Date: Sat Mar 28 18:57:13 2015 > > New Revision: 280790 > > URL: https://svnweb.freebsd.org/changeset/base/280790 > > > > Log: > > Remove all the handcrafted asse

Re: svn commit: r280759 - head/sys/netinet

2015-03-29 Thread Ian Lepore
On Mon, 2015-03-30 at 00:07 +0300, Gleb Smirnoff wrote: > On Sun, Mar 29, 2015 at 08:16:46AM -0700, Adrian Chadd wrote: > A> On 29 March 2015 at 01:13, Hans Petter Selasky wrote: > A> > On 03/28/15 20:16, Gleb Smirnoff wrote: > A> >> > A> >> +uint16_t > A> >> +ip_newid(void) > A> >> +{ > A> >> + >

Re: svn commit: r280955 - in head/sys: modules/notrandom dev/notrandom

2015-04-01 Thread Ian Lepore
On Wed, 2015-04-01 at 13:52 +0200, Mateusz Guzik wrote: > As a side note I'm surprised with the choice of 7. > > I would expect 3, no more, no less. 3 would be the number returned, > and the number readers receive would be 3. 5 would be right out. -- Ian ___

Re: svn commit: r280955 - in head/sys: modules/notrandom dev/notrandom

2015-04-01 Thread Ian Lepore
On Wed, 2015-04-01 at 23:13 +0800, Julian Elischer wrote: > On 4/1/15 11:11 PM, Julian Elischer wrote: > > On 4/1/15 10:18 PM, Ian Lepore wrote: > >> On Wed, 2015-04-01 at 13:52 +0200, Mateusz Guzik wrote: > >>> As a side note I'm surprised with the choice of

Re: svn commit: r280971 - in head: contrib/ipfilter/tools share/man/man4 sys/contrib/ipfilter/netinet sys/netinet sys/netipsec sys/netpfil/pf

2015-04-01 Thread Ian Lepore
On Wed, 2015-04-01 at 22:26 +, Gleb Smirnoff wrote: > Author: glebius > Date: Wed Apr 1 22:26:39 2015 > New Revision: 280971 > URL: https://svnweb.freebsd.org/changeset/base/280971 > > Log: > o Use new function ip_fillid() in all places throughout the kernel, > where we want to create a

Re: svn commit: r280971 - in head: contrib/ipfilter/tools share/man/man4 sys/contrib/ipfilter/netinet sys/netinet sys/netipsec sys/netpfil/pf

2015-04-02 Thread Ian Lepore
On Wed, Apr 01, 2015 at 05:07:56PM -0600, Ian Lepore wrote: > > M> > I> > Author: glebius > > M> > I> > Date: Wed Apr 1 22:26:39 2015 > > M> > I> > New Revision: 280971 > > M> > I> > URL: https://svnweb.freebsd.org/changes

Re: svn commit: r280971 - in head: contrib/ipfilter/tools share/man/man4 sys/contrib/ipfilter/netinet sys/netinet sys/netipsec sys/netpfil/pf

2015-04-02 Thread Ian Lepore
On Thu, 2015-04-02 at 15:35 +0300, Gleb Smirnoff wrote: > On Wed, Apr 01, 2015 at 05:07:56PM -0600, Ian Lepore wrote: > I> > Author: glebius > I> > Date: Wed Apr 1 22:26:39 2015 > I> > New Revision: 280971 > I> > URL: https://svnweb.freebsd.org/changeset/bas

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

2015-04-08 Thread Ian Lepore
On Wed, 2015-04-08 at 21:55 +0200, Mateusz Guzik wrote: > On Sun, Apr 05, 2015 at 09:54:19PM +0300, Chagin Dmitry wrote: > > On Sun, Apr 05, 2015 at 08:39:47PM +0200, Mateusz Guzik wrote: > > > On Sun, Apr 05, 2015 at 06:25:24PM +, Dmitry Chagin wrote: > > > > Author: dchagin > > > > Date: Sun

svn commit: r277989 - head/sys/dev/fdt

2015-01-31 Thread Ian Lepore
Author: ian Date: Sat Jan 31 18:57:45 2015 New Revision: 277989 URL: https://svnweb.freebsd.org/changeset/base/277989 Log: Fix whitespace glitch from prior comit. Modified: head/sys/dev/fdt/fdt_clock.c Modified: head/sys/dev/fdt/fdt_clock.c ===

svn commit: r278031 - head/sys/arm/arm

2015-02-01 Thread Ian Lepore
Author: ian Date: Sun Feb 1 17:19:57 2015 New Revision: 278031 URL: https://svnweb.freebsd.org/changeset/base/278031 Log: Remove a stale comment. The logic that deleted the map before other resources was removed long ago, but the comment stuck somehow. Modified: head/sys/arm/arm/busdma_ma

svn commit: r278032 - head/sys/boot/fdt

2015-02-01 Thread Ian Lepore
Author: ian Date: Sun Feb 1 18:21:16 2015 New Revision: 278032 URL: https://svnweb.freebsd.org/changeset/base/278032 Log: Do not skip setting the memory 'reg' property if the fdt data already contains one. Published dts source often includes a minimal default memory definition and expects

Re: svn commit: r278108 - head/sys/dev/gpio

2015-02-02 Thread Ian Lepore
On Mon, 2015-02-02 at 11:24 -0800, Nathan Whitehorn wrote: > Please don't condition things like this on FDT. They are useful on Open > Firmware systems too. > -Nathan > Is there something defined for OFW? The gpio code needs to work on hint-based (not-FDT and not-OFW) mips systems too. -- Ian

Re: svn commit: r278479 - in head: etc sys/kern

2015-02-09 Thread Ian Lepore
On Mon, 2015-02-09 at 18:29 -0500, Benjamin Kaduk wrote: > On Mon, Feb 9, 2015 at 6:22 PM, Rui Paulo wrote: > > > On Feb 09, 2015, at 03:16 PM, Benjamin Kaduk wrote: > > > > > > What advantage does putting this in devd have over a standalone daemon for > > crash reporting? Is it just the ease o

Re: svn commit: r278478 - head/sys/sys

2015-02-09 Thread Ian Lepore
On Mon, 2015-02-09 at 16:02 -0800, John-Mark Gurney wrote: > Rui Paulo wrote this message on Mon, Feb 09, 2015 at 23:04 +: > > Author: rpaulo > > Date: Mon Feb 9 23:04:30 2015 > > New Revision: 278478 > > URL: https://svnweb.freebsd.org/changeset/base/278478 > > > > Log: > > Add the ability

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

2015-02-09 Thread Ian Lepore
On Mon, 2015-02-09 at 20:46 -0800, Rui Paulo wrote: > On Feb 9, 2015, at 20:34, Rui Paulo wrote: > > > > Author: rpaulo > > Date: Tue Feb 10 04:34:39 2015 > > New Revision: 278494 > > URL: https://svnweb.freebsd.org/changeset/base/278494 > > > > Log: > > Sanitise the coredump file names sent to

Re: svn commit: r278479 - in head: etc sys/kern

2015-02-10 Thread Ian Lepore
On Tue, 2015-02-10 at 07:06 -0800, Adrian Chadd wrote: > On 10 February 2015 at 06:16, John Baldwin wrote: > > On Monday, February 09, 2015 11:13:51 PM Rui Paulo wrote: > >> Author: rpaulo > >> Date: Mon Feb 9 23:13:50 2015 > >> New Revision: 278479 > >> URL: https://svnweb.freebsd.org/changeset/

Re: svn commit: r278479 - in head: etc sys/kern

2015-02-10 Thread Ian Lepore
On Tue, 2015-02-10 at 12:15 -0800, John-Mark Gurney wrote: > John Baldwin wrote this message on Tue, Feb 10, 2015 at 10:36 -0500: > > > I think devd grows these things because it's easier than teaching the > > > devctl interface to support multiple listeners. > > > > That wasn't really my question

svn commit: r278599 - in stable/10/sys: arm/conf arm/samsung/exynos boot/fdt/dts/arm

2015-02-11 Thread Ian Lepore
Author: ian Date: Wed Feb 11 22:35:32 2015 New Revision: 278599 URL: https://svnweb.freebsd.org/changeset/base/278599 Log: MFC r266943, r266950, r267390: Add support for Exynos 5420 Octa - 8-core (big.LITTLE) ARM machine Enable SMP for both Exynos5 models we support. Added: stable/

svn commit: r278601 - in stable/10/sys/arm: allwinner allwinner/a20 broadcom/bcm2835 freescale/imx freescale/vybrid mv rockchip samsung/exynos ti xilinx

2015-02-11 Thread Ian Lepore
Author: ian Date: Wed Feb 11 22:47:48 2015 New Revision: 278601 URL: https://svnweb.freebsd.org/changeset/base/278601 Log: MFC r276047: Add -march=armv7a to the kernel compile for all v7a ARM systems. Modified: stable/10/sys/arm/allwinner/a20/std.a20 stable/10/sys/arm/allwinner/std.a10 st

svn commit: r278602 - in stable/10: lib/libstand sys/boot/common sys/boot/forth

2015-02-11 Thread Ian Lepore
Author: ian Date: Wed Feb 11 22:55:24 2015 New Revision: 278602 URL: https://svnweb.freebsd.org/changeset/base/278602 Log: MFC r276079, r276087: Add a divisor parameter to twiddle() so that callers can request that output only happen on every Nth call. Add a new loader(8) varia

svn commit: r278604 - in stable/10/sys/boot: arm/uboot powerpc/uboot

2015-02-11 Thread Ian Lepore
Author: ian Date: Wed Feb 11 23:05:58 2015 New Revision: 278604 URL: https://svnweb.freebsd.org/changeset/base/278604 Log: MFC r276145: Convert lingering NO_FORTH conditionals to test MK_FORTH. Modified: stable/10/sys/boot/arm/uboot/Makefile stable/10/sys/boot/powerpc/uboot/Makefile Direct

svn commit: r278608 - in stable/10/sys: arm/broadcom/bcm2835 boot/fdt/dts/arm conf dev/ofw powerpc/ofw

2015-02-11 Thread Ian Lepore
Author: ian Date: Thu Feb 12 00:25:33 2015 New Revision: 278608 URL: https://svnweb.freebsd.org/changeset/base/278608 Log: MFC r275779, r275963, r276101, r276161, r276297: Move ofw_cpu.c to sys/dev/ofw so that it can be used by other architectures. Add driver for CPU frequency/

svn commit: r278609 - stable/10/sys/dev/ofw

2015-02-11 Thread Ian Lepore
Author: ian Date: Thu Feb 12 00:35:58 2015 New Revision: 278609 URL: https://svnweb.freebsd.org/changeset/base/278609 Log: MFC r276162: Don't assume required FDT properties are present. Modified: stable/10/sys/dev/ofw/ofw_cpu.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r278612 - stable/10/contrib/binutils/gas/config

2015-02-11 Thread Ian Lepore
Author: ian Date: Thu Feb 12 03:16:57 2015 New Revision: 278612 URL: https://svnweb.freebsd.org/changeset/base/278612 Log: MFC r272519: Add movw and movt relocations to the list of relocations against function names that must not be adjusted. Modified: stable/10/contrib/binutils/ga

svn commit: r278613 - in stable/10: sys/arm/arm sys/arm/at91 sys/arm/cavium/cns11xx sys/arm/include sys/arm/s3c2xx0 sys/arm/xscale/i80321 sys/arm/xscale/i8134x sys/arm/xscale/ixp425 sys/arm/xscale/...

2015-02-11 Thread Ian Lepore
Author: ian Date: Thu Feb 12 03:50:33 2015 New Revision: 278613 URL: https://svnweb.freebsd.org/changeset/base/278613 Log: MFC r271394, r271398: Add more register values to armreg.h and remove CPU_CONTROL_32BP_ENABLE from asm.h as they were already defined in armreg.h. Unify in

svn commit: r278614 - in stable/10: gnu/usr.bin/gdb/kgdb sys/arm/arm sys/arm/include

2015-02-11 Thread Ian Lepore
Author: ian Date: Thu Feb 12 04:15:55 2015 New Revision: 278614 URL: https://svnweb.freebsd.org/changeset/base/278614 Log: MFC r276187, r276190, r271422: Rename pmap_kenter_temp to pmap_kenter_temporary to be consistent with the other architectures with this function. Eliminate

svn commit: r278626 - stable/10/sys/arm/arm

2015-02-12 Thread Ian Lepore
Author: ian Date: Thu Feb 12 17:01:54 2015 New Revision: 278626 URL: https://svnweb.freebsd.org/changeset/base/278626 Log: MFC r276191: Display correct value for cache level-of-coherency (needs +1). Modified: stable/10/sys/arm/arm/identcpu.c Directory Properties: stable/10/ (props change

svn commit: r278629 - in stable/10/sys/arm: arm include

2015-02-12 Thread Ian Lepore
Author: ian Date: Thu Feb 12 19:32:07 2015 New Revision: 278629 URL: https://svnweb.freebsd.org/changeset/base/278629 Log: MFC r276196, r276197, r276198, r276202, r276203, r276204: Change the style of the DO_AST macro to match the others Remove _PROF_PROLOGUE from the EENTRY() macr

svn commit: r278630 - in stable/10/sys/arm: arm include

2015-02-12 Thread Ian Lepore
Author: ian Date: Thu Feb 12 19:35:46 2015 New Revision: 278630 URL: https://svnweb.freebsd.org/changeset/base/278630 Log: MFC r276206: For data and instruction prefetch aborts, call the same handler in the C code, passing a 0/1 flag that indicates which type of abort it was. This

svn commit: r278637 - stable/10/sys/boot/common

2015-02-12 Thread Ian Lepore
Author: ian Date: Thu Feb 12 21:15:28 2015 New Revision: 278637 URL: https://svnweb.freebsd.org/changeset/base/278637 Log: MFC r276306: Use proper markup for quotes. Modified: stable/10/sys/boot/common/loader.8 Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/boo

svn commit: r278639 - stable/10/sys/arm/arm

2015-02-12 Thread Ian Lepore
2 21:20:28 2015 (r278639, copy of r276396, head/sys/arm/arm/locore-v6.S) @@ -0,0 +1,537 @@ +/*- + * Copyright 2004-2014 Olivier Houchard + * Copyright 2012-2014 Ian Lepore + * Copyright 2013-2014 Andrew Turner + * Copyright 2014 Svatopluk Kraus + * Copyright 2014 Michal Meloun + * A

svn commit: r278643 - stable/10/sys/arm/arm

2015-02-12 Thread Ian Lepore
/locore.S) @@ -0,0 +1,41 @@ +/*- + * Copyright (c) 2014 Ian Lepore + * All rights excluded. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyr

<    7   8   9   10   11   12   13   14   15   16   >