svn commit: r266408 - stable/10/sys/arm/include

2014-05-18 Thread Ian Lepore
Author: ian Date: Sun May 18 16:17:13 2014 New Revision: 266408 URL: http://svnweb.freebsd.org/changeset/base/266408 Log: MFC 257189: Fix an itt instruction. We need to execute both the mov and b instructions when building for Thumb. Modified: stable/10/sys/arm/include/atomic.h Dir

svn commit: r266409 - stable/10/sys/arm/include

2014-05-18 Thread Ian Lepore
Author: ian Date: Sun May 18 16:39:47 2014 New Revision: 266409 URL: http://svnweb.freebsd.org/changeset/base/266409 Log: MFC 257231: Make sure the PCB is aligned on 8 bytes, we may use ldrd/strd to access it, which may have strong alignment requirements. Modified: stable/10/sys/ar

svn commit: r266410 - stable/10/lib/csu/arm

2014-05-18 Thread Ian Lepore
Author: ian Date: Sun May 18 16:43:47 2014 New Revision: 266410 URL: http://svnweb.freebsd.org/changeset/base/266410 Log: MFC 257233: Use size of the MACHINE_ARCH string instead of sizeof(uint32_t). Modified: stable/10/lib/csu/arm/crt1.c Directory Properties: stable/10/ (props changed) M

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

2014-05-18 Thread Ian Lepore
Author: ian Date: Sun May 18 17:46:48 2014 New Revision: 266412 URL: http://svnweb.freebsd.org/changeset/base/266412 Log: MFC 258287: Implement pmap_align_superpage(). Modified: stable/10/sys/arm/arm/pmap-v6.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/arm/

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

2014-05-18 Thread Ian Lepore
Author: ian Date: Sun May 18 19:28:15 2014 New Revision: 266414 URL: http://svnweb.freebsd.org/changeset/base/266414 Log: MFC r256790: Fix the VCVT instruction. It must round towards zero when converting from a floating-point to an integer value. This was not the case causing issues

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

2014-05-22 Thread Ian Lepore
Author: ian Date: Thu May 22 23:38:17 2014 New Revision: 266565 URL: http://svnweb.freebsd.org/changeset/base/266565 Log: Map device memory using PTE_DEVICE attributes, and also ensure that the shared flag is set on normal-memory mappings made via pmap_kenter() for SMP. The "shared flag"

Re: svn commit: r266579 - head/release/picobsd/build

2014-05-23 Thread Ian Lepore
On Fri, 2014-05-23 at 08:10 +, Luigi Rizzo wrote: > Author: luigi > Date: Fri May 23 08:10:07 2014 > New Revision: 266579 > URL: http://svnweb.freebsd.org/changeset/base/266579 > > Log: > add libraries to the initial build for picobsd. > > add a -j option so we can tune the amount of pa

svn commit: r266621 - in head/sys/arm: arm include ti

2014-05-24 Thread Ian Lepore
Author: ian Date: Sat May 24 16:21:16 2014 New Revision: 266621 URL: http://svnweb.freebsd.org/changeset/base/266621 Log: Eliminate one of the causes of spurious interrupts on armv6. The arm weak memory ordering model allows writes to different devices to complete out of order, leading to a

Re: svn commit: r266553 - head/release/scripts

2014-05-24 Thread Ian Lepore
On Sat, 2014-05-24 at 18:53 +0200, Tijl Coosemans wrote: > On Sat, 24 May 2014 09:04:33 -0700 Nathan Whitehorn wrote: > > On 05/24/14 07:59, Tijl Coosemans wrote: > >> On Fri, 23 May 2014 17:29:48 -0600 Warner Losh wrote: > >>> On May 23, 2014, at 10:20 AM, Baptiste Daroussin wrote: > On Fri,

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

2014-05-25 Thread Ian Lepore
Author: ian Date: Sun May 25 14:01:30 2014 New Revision: 266651 URL: http://svnweb.freebsd.org/changeset/base/266651 Log: Fix whitespace glitches. Pointed out by: jhb Modified: head/sys/arm/arm/pmap-v6.c Modified: head/sys/arm/arm/pmap-v6.c

Re: svn commit: r266565 - head/sys/arm/arm

2014-05-25 Thread Ian Lepore
On Fri, 2014-05-23 at 09:12 -0400, John Baldwin wrote: > On Thursday, May 22, 2014 7:38:17 pm Ian Lepore wrote: > > Author: ian > > Date: Thu May 22 23:38:17 2014 > > New Revision: 266565 > > URL: http://svnweb.freebsd.org/changeset/base/266565 > > >

svn commit: r266717 - stable/10

2014-05-26 Thread Ian Lepore
Author: ian Date: Mon May 26 22:27:14 2014 New Revision: 266717 URL: http://svnweb.freebsd.org/changeset/base/266717 Log: MFC 263949, 265063: Add library dependencies for a couple bootstrap libs to fix build failures for high -jN values when building with gcc. Modified: stable/10/Makefile.i

svn commit: r266751 - in stable/10/sys: arm/conf arm/ti arm/ti/omap4 boot/fdt/dts/arm dev/sdhci

2014-05-27 Thread Ian Lepore
Author: ian Date: Tue May 27 15:30:24 2014 New Revision: 266751 URL: http://svnweb.freebsd.org/changeset/base/266751 Log: MFC r264096, r264097, r264099 r264100, r264101, r264102, r264119: Fixes to the ti_sdhci and sdhci drivers (fix clock divisor calcs). Use the ti_sdhci driver instead

svn commit: r266755 - in stable/10/sys/arm: arm include ti

2014-05-27 Thread Ian Lepore
Author: ian Date: Tue May 27 16:17:25 2014 New Revision: 266755 URL: http://svnweb.freebsd.org/changeset/base/266755 Log: MFC 266621: Eliminte spurious interrupts caused by ARM weak memory ordering. Modified: stable/10/sys/arm/arm/gic.c stable/10/sys/arm/arm/intr.c stable/10/sys/arm/inclu

Re: svn commit: r266970 - stable/10/sys/geom

2014-06-02 Thread Ian Lepore
On Mon, 2014-06-02 at 10:14 +, Andrey V. Elsukov wrote: > Author: ae > Date: Mon Jun 2 10:14:03 2014 > New Revision: 266970 > URL: http://svnweb.freebsd.org/changeset/base/266970 > > Log: > MFC r266444: > We have two functions from where a geom orphan method could be called: > g_orp

Re: svn commit: r266974 - in head/sys: dev/dc dev/fxp dev/mii dev/netmap kern net

2014-06-02 Thread Ian Lepore
On Mon, 2014-06-02 at 11:42 -0700, Marcel Moolenaar wrote: > On Jun 2, 2014, at 11:27 AM, Adrian Chadd wrote: > > > .. and actually, bikeshedding for a moment, would we be able to move a > > lot of these accessor methods over to inlines? Would that break the > > Juniper way of doing things? > >

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

2014-07-26 Thread Ian Lepore
Author: ian Date: Sat Jul 26 18:14:16 2014 New Revision: 269135 URL: http://svnweb.freebsd.org/changeset/base/269135 Log: Remove completely bogus alignment check -- it's the physical address that needs to be aligned, not the virtual, and it doesn't seem worth the cost of a vtophys() call jus

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

2014-07-26 Thread Ian Lepore
Author: ian Date: Sat Jul 26 18:19:43 2014 New Revision: 269136 URL: http://svnweb.freebsd.org/changeset/base/269136 Log: Pull in the armv4 "fast out" code for checking whether busdma can bounce due to an excluded region of physical memory. Modified: head/sys/arm/arm/busdma_machdep-v6.c Mo

Re: svn commit: r269143 - head/usr.bin/elfdump

2014-07-26 Thread Ian Lepore
On Sat, 2014-07-26 at 19:44 +, Andreas Tobler wrote: > Author: andreast > Date: Sat Jul 26 19:44:45 2014 > New Revision: 269143 > URL: http://svnweb.freebsd.org/changeset/base/269143 > > Log: > Further improvements on elfdump, to follow up r269092: > > - Add ARM specific section header

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:31:29 2014 New Revision: 269206 URL: http://svnweb.freebsd.org/changeset/base/269206 Log: Rename _bus_dma_can_bounce(), add new inline routines. DMA on arm can bounce for several reasons, and _bus_dma_can_bounce() only checks for the lowaddr/highaddr exclus

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:34:32 2014 New Revision: 269207 URL: http://svnweb.freebsd.org/changeset/base/269207 Log: The exclusion_bounce() routine compares unchanging values in the tag with unchanging values in the phys_avail array, so do the comparisons just once at tag creation time

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:35:44 2014 New Revision: 269208 URL: http://svnweb.freebsd.org/changeset/base/269208 Log: Correct the comparison logic when looking for intersections between exclusion zones and phsyical memory. The phys_avail[i] entries are the address of the first byte of r

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:09 2014 New Revision: 269210 URL: http://svnweb.freebsd.org/changeset/base/269210 Log: Propagate any alignment restriction from the parent tag to a new tag, keeping the more restrictive of the two values. Reviewed by: cognet Modified: head/sys/arm/ar

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:02 2014 New Revision: 269209 URL: http://svnweb.freebsd.org/changeset/base/269209 Log: Reformat some continuation lines. No functional changes. Reviewed by: cognet Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys/arm/arm/busdma_machd

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:27 2014 New Revision: 269211 URL: http://svnweb.freebsd.org/changeset/base/269211 Log: The run_filter() function doesn't just run dma tag exclusion filter functions, it has evolved to make a variety of decisions about whether the DMA needs to bounce, so ren

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:50 2014 New Revision: 269213 URL: http://svnweb.freebsd.org/changeset/base/269213 Log: Don't clear the DMAMAP_DMAMEM_ALLOC flag set a few lines earlier. Doh! Reviewed by: cognet Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys/arm/ar

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:36:41 2014 New Revision: 269212 URL: http://svnweb.freebsd.org/changeset/base/269212 Log: Memory belonging to an mbuf, or allocated by bus_dmamem_alloc(), never triggers a need to bounce due to cacheline alignment. These buffers are always aligned to cachelin

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:37:24 2014 New Revision: 269214 URL: http://svnweb.freebsd.org/changeset/base/269214 Log: Replace a bunch of double-indirection with a local pointer var (that is, (*mapp)->something becomes map->something). No functional changes. Reviewed by: cognet Modi

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:37:48 2014 New Revision: 269216 URL: http://svnweb.freebsd.org/changeset/base/269216 Log: A while back, the array of segments used for a load/mapping operation was moved from the stack into the tag structure. In retrospect that was a bad idea, because nothing

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:37:31 2014 New Revision: 269215 URL: http://svnweb.freebsd.org/changeset/base/269215 Log: We never need bounce pages for memory we allocate. We cleverly allocate memory the matches all the constraints of the dma tag so that bouncing will never be required.

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

2014-07-28 Thread Ian Lepore
Author: ian Date: Tue Jul 29 02:38:02 2014 New Revision: 269217 URL: http://svnweb.freebsd.org/changeset/base/269217 Log: Export some new busdma stats via sysctl for armv6. Added: hw.busdma.tags_total: 46 hw.busdma.maps_total: 1302 hw.busdma.maps_dmamem: 851 hw.busdma.maps_cohere

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

2014-07-30 Thread Ian Lepore
Author: ian Date: Thu Jul 31 03:59:00 2014 New Revision: 269321 URL: http://svnweb.freebsd.org/changeset/base/269321 Log: Switch to using counter(9) for the new 64-bit stats kept by armv6 busdma. Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys/arm/arm/busdma_machdep-v6.c ==

svn commit: r269341 - head/sys/dev/mmc

2014-07-31 Thread Ian Lepore
Author: ian Date: Thu Jul 31 16:54:54 2014 New Revision: 269341 URL: http://svnweb.freebsd.org/changeset/base/269341 Log: Export an mmc or sd card's serial number from the mmc layer as an ivar. In the mmcsd layer use this value to populate disk->d_ident. Also set disk->d_descr to the full s

svn commit: r269390 - in head/sys: arm/arm arm/include libkern/arm

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 18:24:44 2014 New Revision: 269390 URL: http://svnweb.freebsd.org/changeset/base/269390 Log: Fix unwind-info errors in our hand-written arm assembler code. We have functions nested within functions, and places where we start a function then never end it, we ju

svn commit: r269393 - head/contrib/binutils/gas/config

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 20:21:41 2014 New Revision: 269393 URL: http://svnweb.freebsd.org/changeset/base/269393 Log: Fix an bug in as(1) parsing of arm -march=arch+ext options. Compare the arch name to just the characters before the '+' in 'arch+ext'. Modified: head/contrib/binutils/g

svn commit: r269394 - head/contrib/binutils/gas/config

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 20:30:24 2014 New Revision: 269394 URL: http://svnweb.freebsd.org/changeset/base/269394 Log: Teach as(1) to handle the arm .arch_extension pseudo-op, which accepts the same values as the -march= command line option. Add support for the "sec" extension (security

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

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 20:32:29 2014 New Revision: 269395 URL: http://svnweb.freebsd.org/changeset/base/269395 Log: Tell the assembler we're building for armv7a with security extensions, so that the 'smc' (secure monitor call) opcode is valid. Submitted by: Stepan Dyatkovskiy Modi

svn commit: r269403 - head/sys/arm/include

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 22:28:36 2014 New Revision: 269403 URL: http://svnweb.freebsd.org/changeset/base/269403 Log: Add 64-bit atomic ops for armv6. The only safe way to access a 64-bit value shared across multiple cores is with atomic_load_64() and atomic_store_64(), because the norm

svn commit: r269405 - head/sys/arm/include

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 22:56:41 2014 New Revision: 269405 URL: http://svnweb.freebsd.org/changeset/base/269405 Log: Add 64-bit atomic ops for armv4, only for kernel code, mostly so that we don't need any #ifdef stuff to use atomic_load/store_64() elsewhere in the kernel. For armv4 the

svn commit: r269406 - head/sys/arm/include

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 23:06:38 2014 New Revision: 269406 URL: http://svnweb.freebsd.org/changeset/base/269406 Log: Use atomic_load/store_64() in the arm implementation of counter(9), and remove the XXX comments about non-atomic access to the counters. Modified: head/sys/arm/include/c

svn commit: r269410 - head/sys/cddl/compat/opensolaris/sys

2014-08-01 Thread Ian Lepore
Author: ian Date: Fri Aug 1 23:45:50 2014 New Revision: 269410 URL: http://svnweb.freebsd.org/changeset/base/269410 Log: Use the 64-bit atomics now provided by arm machine/atomic.h instead of (conflicting) local versions. Modified: head/sys/cddl/compat/opensolaris/sys/atomic.h Modified: h

svn commit: r269414 - in head/sys: arm/include cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys

2014-08-01 Thread Ian Lepore
Author: ian Date: Sat Aug 2 03:44:27 2014 New Revision: 269414 URL: http://svnweb.freebsd.org/changeset/base/269414 Log: When arm 64-bit atomic ops are available, define ARM_HAVE_ATOMIC64. Use that symbol (which will be correct in both kernel and userland contexts) rather than just __arm__

svn commit: r269528 - head/sys/gnu/dts/include/dt-bindings/clock

2014-08-04 Thread Ian Lepore
Author: ian Date: Mon Aug 4 20:50:46 2014 New Revision: 269528 URL: http://svnweb.freebsd.org/changeset/base/269528 Log: Bring in the latest standard defines for imx6 clocks referenced in dts files. Added: head/sys/gnu/dts/include/dt-bindings/clock/imx6sx-clock.h (contents, props changed)

svn commit: r269594 - in head/sys/dev: fdt ofw

2014-08-05 Thread Ian Lepore
Author: ian Date: Tue Aug 5 16:31:03 2014 New Revision: 269594 URL: http://svnweb.freebsd.org/changeset/base/269594 Log: Set ofwbus and simplebus to attach during BUS_PASS_BUS. Modified: head/sys/dev/fdt/simplebus.c head/sys/dev/ofw/ofwbus.c Modified: head/sys/dev/fdt/simplebus.c

svn commit: r269596 - head/sys/sys

2014-08-05 Thread Ian Lepore
Author: ian Date: Tue Aug 5 17:22:48 2014 New Revision: 269596 URL: http://svnweb.freebsd.org/changeset/base/269596 Log: Define names that drivers can use to adjust their position relative to other drivers within a BUS_PASS. Reviewed by: imp Modified: head/sys/sys/bus.h Modified: he

svn commit: r269597 - in head/sys/dev: fdt ofw

2014-08-05 Thread Ian Lepore
Author: ian Date: Tue Aug 5 17:32:47 2014 New Revision: 269597 URL: http://svnweb.freebsd.org/changeset/base/269597 Log: Adjust ofwbus and simplebus to attach at BUS_PASS_ORDER_MIDDLE, so that a platform can attach some other bus first if necessary. Modified: head/sys/dev/fdt/simplebus.c

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

2014-08-05 Thread Ian Lepore
Author: ian Date: Tue Aug 5 17:39:58 2014 New Revision: 269598 URL: http://svnweb.freebsd.org/changeset/base/269598 Log: Set the pl310 L2 cache driver to attach during the middle of BUS_PASS_CPU. Because that's earlier than interrupts are available, set up deferred configuration of interrup

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

2014-08-05 Thread Ian Lepore
Author: ian Date: Tue Aug 5 18:51:51 2014 New Revision: 269605 URL: http://svnweb.freebsd.org/changeset/base/269605 Log: Attach arm generic interrupt and timer drivers in the middle of BUS_PASS_INTERRUPT and BUS_PASS_TIMER, respectively. Modified: head/sys/arm/arm/generic_timer.c head/sy

svn commit: r269606 - in head/sys: arm/arm conf

2014-08-05 Thread Ian Lepore
Author: ian Date: Tue Aug 5 19:06:45 2014 New Revision: 269606 URL: http://svnweb.freebsd.org/changeset/base/269606 Log: Add an arm option, ARM_DEVICE_MULTIPASS, used to opt-in to multi-pass device attachment on arm platforms. If this is defined, nexus attaches early in BUS_PASS_BUS, and o

svn commit: r269607 - head/sys/arm/freescale/imx

2014-08-05 Thread Ian Lepore
Author: ian Date: Tue Aug 5 19:10:53 2014 New Revision: 269607 URL: http://svnweb.freebsd.org/changeset/base/269607 Log: Cache the imx6 SoC type in a static var so that it only has to be figured out by sniffing hardware registers once. Modified: head/sys/arm/freescale/imx/imx6_machdep.c M

svn commit: r269609 - head/sys/gnu/dts/include/dt-bindings/clock

2014-08-05 Thread Ian Lepore
Author: ian Date: Tue Aug 5 22:38:49 2014 New Revision: 269609 URL: http://svnweb.freebsd.org/changeset/base/269609 Log: Revert r269528; this was not the right way to bring these changes in. Deleted: head/sys/gnu/dts/include/dt-bindings/clock/imx6sx-clock.h Modified: head/sys/gnu/dts/inclu

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

2014-08-06 Thread Ian Lepore
Author: ian Date: Wed Aug 6 21:27:15 2014 New Revision: 269646 URL: http://svnweb.freebsd.org/changeset/base/269646 Log: Use a SYSINIT to init the array of interrupt names on arm. This was called from initarm() in arm/machdep.c, but many legacy arm platforms have their own private initarm(

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

2014-08-07 Thread Ian Lepore
Author: ian Date: Thu Aug 7 17:49:42 2014 New Revision: 269679 URL: http://svnweb.freebsd.org/changeset/base/269679 Log: MFC r256691, r256748: casuword fixes Use unsigned compare against KERNBASE addr. Use atomic ops on armv6. Modified: stable/10/sys/arm/arm/fusu.S Directory Prope

svn commit: r269688 - head

2014-08-07 Thread Ian Lepore
Author: ian Date: Thu Aug 7 21:37:03 2014 New Revision: 269688 URL: http://svnweb.freebsd.org/changeset/base/269688 Log: m4 now requires libohash, ensure it gets built when bootstrapping. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1 =

svn commit: r269697 - head/sys/conf

2014-08-07 Thread Ian Lepore
Author: ian Date: Fri Aug 8 01:21:52 2014 New Revision: 269697 URL: http://svnweb.freebsd.org/changeset/base/269697 Log: Add the dts include directory to the -I list when doing arm builds. Modified: head/sys/conf/Makefile.arm Modified: head/sys/conf/Makefile.arm

svn commit: r269698 - head/sys/arm/freescale/imx

2014-08-07 Thread Ian Lepore
Author: ian Date: Fri Aug 8 01:23:43 2014 New Revision: 269698 URL: http://svnweb.freebsd.org/changeset/base/269698 Log: Add a missing clock register definition. Modified: head/sys/arm/freescale/imx/imx6_ccmreg.h Modified: head/sys/arm/freescale/imx/imx6_ccmreg.h ===

svn commit: r269769 - head/sys/dev/ofw

2014-08-09 Thread Ian Lepore
Author: ian Date: Sun Aug 10 00:23:57 2014 New Revision: 269769 URL: http://svnweb.freebsd.org/changeset/base/269769 Log: Use a separate variable for resource id, because 'i' may increment at a rate greater than 1 on each iteration. Modified: head/sys/dev/ofw/ofwbus.c Modified: head/sys/de

svn commit: r269770 - head/sys/dev/ofw

2014-08-09 Thread Ian Lepore
Author: ian Date: Sun Aug 10 00:30:12 2014 New Revision: 269770 URL: http://svnweb.freebsd.org/changeset/base/269770 Log: Handle various ways that interrupt config data can be malformed by warning and assuming more or less reasonable values. Modified: head/sys/dev/ofw/ofwbus.c Modified: he

svn commit: r269792 - in stable/10: contrib/libstdc++/libsupc++ lib/libc lib/libc/arm lib/libc/arm/aeabi sys/arm/include sys/sys

2014-08-10 Thread Ian Lepore
lib/libc/arm/aeabi/aeabi_unwind_exidx.c Sun Aug 10 22:26:29 2014(r269792, copy of r268893, head/lib/libc/arm/aeabi/aeabi_unwind_exidx.c) @@ -0,0 +1,104 @@ +/*- + * Copyright (c) 2014 Ian Lepore + * All rights reserved. + * + * Redistribution and use in source and binary forms, with o

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

2014-08-10 Thread Ian Lepore
Author: ian Date: Mon Aug 11 01:10:15 2014 New Revision: 269794 URL: http://svnweb.freebsd.org/changeset/base/269794 Log: MFC r269206, r269207, r269208, r269209, r269210, r269211, r269212, r269213, r269214, r269215, r269216, r269217, r269221: busdma-v6 improvements, primarily: -

svn commit: r269795 - stable/10/sys/dev/mmc

2014-08-10 Thread Ian Lepore
Author: ian Date: Mon Aug 11 01:22:10 2014 New Revision: 269795 URL: http://svnweb.freebsd.org/changeset/base/269795 Log: MFC r269341: Populate disk->d_ident with the sd or mmc card's serial number. Modified: stable/10/sys/dev/mmc/mmc.c stable/10/sys/dev/mmc/mmcsd.c stable/10/sys/dev/mmc/

svn commit: r269796 - in stable/10/sys: arm/arm arm/include libkern/arm

2014-08-10 Thread Ian Lepore
Author: ian Date: Mon Aug 11 01:29:28 2014 New Revision: 269796 URL: http://svnweb.freebsd.org/changeset/base/269796 Log: MFC r269390: Fix unwind info in hand-written asm (avoid nested functions). Modified: stable/10/sys/arm/arm/cpufunc_asm_arm10.S stable/10/sys/arm/arm/cpufunc_asm_arm9.S

svn commit: r269797 - in stable/10: contrib/binutils/gas/config sys/arm/ti

2014-08-10 Thread Ian Lepore
Author: ian Date: Mon Aug 11 01:48:00 2014 New Revision: 269797 URL: http://svnweb.freebsd.org/changeset/base/269797 Log: MFC r269393, r269394, r269395: Fix parsing of arch extensions in binutils/gas. Use ".arch_extension sec" when compiling ARM TI code that uses the security exte

svn commit: r269798 - in stable/10/sys: arm/include cddl/compat/opensolaris/kern cddl/compat/opensolaris/sys

2014-08-10 Thread Ian Lepore
Author: ian Date: Mon Aug 11 02:20:24 2014 New Revision: 269798 URL: http://svnweb.freebsd.org/changeset/base/269798 Log: MFC r269403, r269405, r269410, r269414: Add 64-bit atomic ops for armv6, and also for armv4 only in kernel code. Use the new ops in the cddl code (and avoid defini

svn commit: r270065 - head/sys/arm/freescale/imx

2014-08-16 Thread Ian Lepore
Author: ian Date: Sat Aug 16 20:44:45 2014 New Revision: 270065 URL: http://svnweb.freebsd.org/changeset/base/270065 Log: Move the imx6 sysctl temperature info to hw.imx6 where all the other soc-wide info lives. It was under dev.imx6_anatop.0. What does anatop mean anyway? Nobody seems

svn commit: r270072 - stable/10/contrib/llvm/tools/clang/lib/Driver

2014-08-16 Thread Ian Lepore
Author: ian Date: Sun Aug 17 01:15:34 2014 New Revision: 270072 URL: http://svnweb.freebsd.org/changeset/base/270072 Log: MFC r269387: Update the ARMv6 core clang targets to be an arm1176jzf-s. Modified: stable/10/contrib/llvm/tools/clang/lib/Driver/ToolChain.cpp stable/10/contrib/llvm/tool

svn commit: r270075 - in stable/10/sys: arm/arm arm/include conf dev/fdt dev/ofw sys

2014-08-16 Thread Ian Lepore
Author: ian Date: Sun Aug 17 01:28:03 2014 New Revision: 270075 URL: http://svnweb.freebsd.org/changeset/base/270075 Log: MFC r269594, r269596, r269597, r269598, r269605, r269606: Set ofwbus and simplebus to attach during BUS_PASS_BUS. Define names that drivers can use to adjust th

svn commit: r270076 - stable/10/sys/arm/freescale/imx

2014-08-16 Thread Ian Lepore
Author: ian Date: Sun Aug 17 01:32:33 2014 New Revision: 270076 URL: http://svnweb.freebsd.org/changeset/base/270076 Log: MFC r269607, r269698: Cache the imx6 SoC type in a static var so that it only has to be figured out by sniffing hardware registers once. Add a missing clock

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

2014-08-16 Thread Ian Lepore
Author: ian Date: Sun Aug 17 01:48:12 2014 New Revision: 270077 URL: http://svnweb.freebsd.org/changeset/base/270077 Log: MFC r269646: Use a SYSINIT to init the array of interrupt names on arm. Modified: stable/10/sys/arm/arm/intr.c stable/10/sys/arm/arm/machdep.c Directory Properties: st

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

2014-08-16 Thread Ian Lepore
Author: ian Date: Sun Aug 17 01:59:54 2014 New Revision: 270078 URL: http://svnweb.freebsd.org/changeset/base/270078 Log: MFC r269769, r269770: Use a separate variable for resource id, because 'i' may increment at a rate greater than 1 on each iteration. Handle various ways tha

svn commit: r270079 - stable/10

2014-08-16 Thread Ian Lepore
Author: ian Date: Sun Aug 17 02:40:44 2014 New Revision: 270079 URL: http://svnweb.freebsd.org/changeset/base/270079 Log: MFC r269688: m4 now requires libohash, build it when bootstrapping. Modified: stable/10/Makefile.inc1 Directory Properties: stable/10/ (props changed) Modified: stabl

svn commit: r270080 - head/sys/arm/at91

2014-08-16 Thread Ian Lepore
Author: ian Date: Sun Aug 17 02:53:36 2014 New Revision: 270080 URL: http://svnweb.freebsd.org/changeset/base/270080 Log: Rename the old initarm_* functions to the new platform_* names. Also move the registration of the static device map table into the function intended to do devmap init st

svn commit: r270081 - head/sys/arm/include

2014-08-16 Thread Ian Lepore
Author: ian Date: Sun Aug 17 02:56:58 2014 New Revision: 270081 URL: http://svnweb.freebsd.org/changeset/base/270081 Log: When the initarm_* routines were renamed to platform_* and moved to their own header file, the lovely block of comments explaining what the generic init code expects of t

Re: svn commit: r270105 - head/sys/arm/at91

2014-08-17 Thread Ian Lepore
On Sun, 2014-08-17 at 16:53 +, Warner Losh wrote: > Author: imp > Date: Sun Aug 17 16:53:19 2014 > New Revision: 270105 > URL: http://svnweb.freebsd.org/changeset/base/270105 > > Log: > Add missing license to at91_common.c. It was committed w/o a license. > > Pointy hat to: imp@ > > Mo

svn commit: r270187 - in stable/10: . etc lib share/mk

2014-08-19 Thread Ian Lepore
Author: ian Date: Tue Aug 19 23:33:51 2014 New Revision: 270187 URL: http://svnweb.freebsd.org/changeset/base/270187 Log: MFC r266473,267331,267511: Use an intermediate target to associate with _SUBDIR which is marked .MAKE this allows make -n to do tree walks as expected without

svn commit: r270188 - stable/8

2014-08-19 Thread Ian Lepore
Author: ian Date: Wed Aug 20 00:06:54 2014 New Revision: 270188 URL: http://svnweb.freebsd.org/changeset/base/270188 Log: MFC r255286: don't stop the whole universe build if one kernel fails. Modified: stable/8/Makefile (contents, props changed) Modified: stable/8/Makefile

svn commit: r270190 - head/tools/build/make_check

2014-08-19 Thread Ian Lepore
Author: ian Date: Wed Aug 20 00:33:37 2014 New Revision: 270190 URL: http://svnweb.freebsd.org/changeset/base/270190 Log: Don't stop other legs of a parallel build due to a failure in make_check. The whole point is to see if there's any failure, which is handled by building a newer version o

svn commit: r270274 - in stable/10: . sys/conf sys/dev/aic7xxx/aicasm sys/modules/aic7xxx sys/modules/aic7xxx/ahc sys/modules/aic7xxx/ahd

2014-08-21 Thread Ian Lepore
Author: ian Date: Thu Aug 21 14:56:57 2014 New Revision: 270274 URL: http://svnweb.freebsd.org/changeset/base/270274 Log: MFC r257637, r257730, r257734, r25, r257825, r257838, r257873: Changes to how the aicasm tool is built. This series of changes results in the aicasm tool being bu

svn commit: r270284 - in stable/10: . sys/conf sys/dev/aic7xxx sys/modules/aic7xxx sys/modules/aic7xxx/ahc sys/modules/aic7xxx/ahc/ahc_eisa sys/modules/aic7xxx/ahc/ahc_isa sys/modules/aic7xxx/ahc/a...

2014-08-21 Thread Ian Lepore
Author: ian Date: Thu Aug 21 17:18:21 2014 New Revision: 270284 URL: http://svnweb.freebsd.org/changeset/base/270284 Log: MFC r260401 Remove aicasm as a build dependency. It made sense when the ahc and ahd drivers and their firmware were under active development, but those days h

svn commit: r270306 - stable/10/sys/modules/aic7xxx/ahc/ahc_eisa

2014-08-21 Thread Ian Lepore
Author: ian Date: Thu Aug 21 21:36:06 2014 New Revision: 270306 URL: http://svnweb.freebsd.org/changeset/base/270306 Log: This module requires pci_if.h, add it to the SRCS list. We haven't noticed that it was missing because eisa has been disabled for a while in -current, but it became ap

svn commit: r270311 - head/sys/modules/aic7xxx/ahc/ahc_eisa

2014-08-21 Thread Ian Lepore
Author: ian Date: Thu Aug 21 22:42:02 2014 New Revision: 270311 URL: http://svnweb.freebsd.org/changeset/base/270311 Log: This module requires pci_if.h, add it to the SRCS list. We haven't noticed that it was missing because eisa has been disabled for a while in -current, but it became ap

Re: svn commit: r270306 - stable/10/sys/modules/aic7xxx/ahc/ahc_eisa

2014-08-21 Thread Ian Lepore
On Thu, 2014-08-21 at 21:36 +, Ian Lepore wrote: > Author: ian > Date: Thu Aug 21 21:36:06 2014 > New Revision: 270306 > URL: http://svnweb.freebsd.org/changeset/base/270306 > > Log: > This module requires pci_if.h, add it to the SRCS list. > > We haven&#x

svn commit: r270314 - stable/10

2014-08-21 Thread Ian Lepore
Author: ian Date: Thu Aug 21 22:49:41 2014 New Revision: 270314 URL: http://svnweb.freebsd.org/changeset/base/270314 Log: Commit of mergeinfo only to record the fact that r270311 changes are in 10-stable (I did the commit to the wrong branch first). Modified: Directory Properties: stable/10

svn commit: r270600 - stable/10

2014-08-25 Thread Ian Lepore
Author: ian Date: Mon Aug 25 17:31:06 2014 New Revision: 270600 URL: http://svnweb.freebsd.org/changeset/base/270600 Log: Revert r270079 which was MFC of r269688, build libohash while bootstrapping. The changes to split the ohash code out of m4 into its own library haven't been MFC'd, so

svn commit: r270606 - stable/10/contrib/gcc/config/arm

2014-08-25 Thread Ian Lepore
Author: ian Date: Mon Aug 25 18:45:15 2014 New Revision: 270606 URL: http://svnweb.freebsd.org/changeset/base/270606 Log: MFC r268994: C++ exception/unwind handling fix Add FreeBSD to the list of environments that needs to handle R_ARM_TARGET2 relocations in unwind data as pc-relative

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

2014-08-30 Thread Ian Lepore
Author: ian Date: Sat Aug 30 22:21:57 2014 New Revision: 270862 URL: http://svnweb.freebsd.org/changeset/base/270862 Log: Fix the handling of MMU type in the AP entry code. The ARM_MMU_V6/V7 symbols are always #defined to 0 or 1, so use #if SYM not #if defined(SYM). Also, it helps if you in

svn commit: r270863 - head/sys/tools/fdt

2014-08-30 Thread Ian Lepore
Author: ian Date: Sat Aug 30 22:39:15 2014 New Revision: 270863 URL: http://svnweb.freebsd.org/changeset/base/270863 Log: Allow the make_dtb script to work outside of a "make buildkernel" context by setting MACHINE from uname -m if it's not set already. Reviewed by: imp, tuexen Modified

svn commit: r274268 - in stable/10/sys: arm/arm arm/at91 conf

2014-11-07 Thread Ian Lepore
Author: ian Date: Sat Nov 8 03:42:19 2014 New Revision: 274268 URL: https://svnweb.freebsd.org/changeset/base/274268 Log: MFC r273703: Remove the ARM_DEVICE_MULTIPASS option and make its effect be the default. Modified: stable/10/sys/arm/arm/nexus.c stable/10/sys/arm/at91/std.atmel

svn commit: r274269 - stable/10/sys/boot/fdt/dts/arm

2014-11-07 Thread Ian Lepore
Author: ian Date: Sat Nov 8 04:18:33 2014 New Revision: 274269 URL: https://svnweb.freebsd.org/changeset/base/274269 Log: MFC r268836: Fix a typo in a gpio node name. Modified: stable/10/sys/boot/fdt/dts/arm/wandboard-dual.dts stable/10/sys/boot/fdt/dts/arm/wandboard-quad.dts stable/10/s

svn commit: r274323 - stable/10/usr.sbin/pw

2014-11-09 Thread Ian Lepore
Author: ian Date: Sun Nov 9 19:56:26 2014 New Revision: 274323 URL: https://svnweb.freebsd.org/changeset/base/274323 Log: Fix an apparent mis-merge that happened in r274082. Before that, on the 10-stable branch, this makefile had WARNS=2, and on head the value is still 2, but in the MFC do

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

2014-11-11 Thread Ian Lepore
Author: ian Date: Wed Nov 12 02:38:25 2014 New Revision: 274413 URL: https://svnweb.freebsd.org/changeset/base/274413 Log: Remove an #ifdef DEBUG wrapper, and instead use if (bootverbose). Modified: head/sys/dev/fdt/fdt_pinctrl.c Modified: head/sys/dev/fdt/fdt_pinctrl.c =

svn commit: r274412 - head/sys/arm/freescale/imx

2014-11-11 Thread Ian Lepore
Author: ian Date: Wed Nov 12 02:37:27 2014 New Revision: 274412 URL: https://svnweb.freebsd.org/changeset/base/274412 Log: Bugfixes for the imx5/imx6 iomux fdt_pinctrl driver. I originally overlooked a couple flag bits defined in the fdt binding docs. One flag suppresses the pad configura

svn commit: r274414 - head/sys/arm/freescale/imx

2014-11-11 Thread Ian Lepore
Author: ian Date: Wed Nov 12 02:44:27 2014 New Revision: 274414 URL: https://svnweb.freebsd.org/changeset/base/274414 Log: Fix the reversed sense of the PADCONF_NONE test. Modified: head/sys/arm/freescale/imx/imx_iomux.c Modified: head/sys/arm/freescale/imx/imx_iomux.c ==

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

2014-11-14 Thread Ian Lepore
Author: ian Date: Sat Nov 15 02:58:17 2014 New Revision: 274536 URL: https://svnweb.freebsd.org/changeset/base/274536 Log: Use the standard powerof2() macro from param.h instead of a local one. Pointed out by:jhb@ Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys

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

2014-11-14 Thread Ian Lepore
Author: ian Date: Sat Nov 15 03:39:58 2014 New Revision: 274538 URL: https://svnweb.freebsd.org/changeset/base/274538 Log: When doing busdma sync ops for BUSDMA_COHERENT memory, there is no need for cache maintenance operations, but ensure that all prior writes have reached memory when doing

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

2014-11-14 Thread Ian Lepore
== --- head/sys/arm/arm/busdma_machdep-v6.cSat Nov 15 05:35:24 2014 (r274544) +++ head/sys/arm/arm/busdma_machdep-v6.cSat Nov 15 05:40:20 2014 (r274545) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2012 Ian Lepore

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

2014-11-16 Thread Ian Lepore
Author: ian Date: Sun Nov 16 20:34:14 2014 New Revision: 274596 URL: https://svnweb.freebsd.org/changeset/base/274596 Log: Indent a couple lines properly and expand a comment. No functional changes. Modified: head/sys/arm/arm/busdma_machdep-v6.c Modified: head/sys/arm/arm/busdma_machdep-v6.

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

2014-11-16 Thread Ian Lepore
Author: ian Date: Sun Nov 16 20:55:51 2014 New Revision: 274602 URL: https://svnweb.freebsd.org/changeset/base/274602 Log: Do not do a cache invalidate on a PREREAD sync that is also a PREWRITE sync. The PREWRITE handling does a writeback of any dirty cachelines, so there's no danger of an e

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

2014-11-16 Thread Ian Lepore
Author: ian Date: Sun Nov 16 20:59:27 2014 New Revision: 274603 URL: https://svnweb.freebsd.org/changeset/base/274603 Log: Do the cache invalidate sequence from the outermost to innermost, required for correct operation. Submitted by: Michal Meloun Modified: head/sys/arm/arm/busdma_ma

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

2014-11-16 Thread Ian Lepore
Author: ian Date: Sun Nov 16 21:22:42 2014 New Revision: 274604 URL: https://svnweb.freebsd.org/changeset/base/274604 Log: Correct the sequence of busdma sync ops involved with PRE/POSTREAD syncs. We used to invalidate the cache for PREREAD alone, or writeback+invalidate for PREREAD with

<    4   5   6   7   8   9   10   11   12   13   >