svn commit: r273086 - in head/sys/arm/ti: am335x omap4

2014-10-14 Thread Andrew Turner
Author: andrew Date: Tue Oct 14 13:24:25 2014 New Revision: 273086 URL: https://svnweb.freebsd.org/changeset/base/273086 Log: Make the ti_padstate_devmap arrays ststic, they are only used with the file where they are defined. Modified: head/sys/arm/ti/am335x/am335x_scm_padconf.c

svn commit: r273088 - head/lib/libc/arm/aeabi

2014-10-14 Thread Andrew Turner
) +++ head/lib/libc/arm/aeabi/aeabi_asm_double.S Tue Oct 14 14:27:51 2014 (r273088) @@ -0,0 +1,117 @@ +/* + * Copyright (C) 2014 Andrew Turner + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

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

2014-10-14 Thread Andrew Turner
Author: andrew Date: Tue Oct 14 14:32:58 2014 New Revision: 273089 URL: https://svnweb.freebsd.org/changeset/base/273089 Log: Uncomment general options from the Pandaboard config. These are in other configs and there is no reason for them not to be here. Modified:

svn commit: r273166 - head/lib/libkvm

2014-10-16 Thread Andrew Turner
Author: andrew Date: Thu Oct 16 13:49:54 2014 New Revision: 273166 URL: https://svnweb.freebsd.org/changeset/base/273166 Log: Fix the type of pte_pa as when it is passed into _kvm_pa2off it is either a uint64_t or a pointer to an off_t. With it being a u_long can result in incorrect values

Re: svn commit: r273248 - head/sys/boot/fdt/dts/arm

2014-10-18 Thread Andrew Turner
On Sat, 18 Oct 2014 07:40:38 + (UTC) Rui Paulo rpa...@freebsd.org wrote: Modified: head/sys/boot/fdt/dts/arm/am335x.dtsi == --- head/sys/boot/fdt/dts/arm/am335x.dtsi Sat Oct 18 07:38:46 2014 (r273247) +++

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

2014-10-18 Thread Andrew Turner
/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/arm/elf_note.S Sat Oct 18 13:38:04 2014(r273251) @@ -0,0 +1,36 @@ +/*- + * Copyright (c) 2014 Andrew Turner and...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms

svn commit: r273262 - in head/sys/arm/ti: . am335x omap4

2014-10-18 Thread Andrew Turner
...@freebsd.org + * Copyright (c) 2014 Andrew Turner and...@freebsd.org * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -44,276 +45,45 @@ __FBSDID($FreeBSD$); #include machine/intr.h #include sys/gpio.h -#include arm/ti/tivar.h +#include dev/fdt

svn commit: r273284 - in head: lib/libkvm sys/arm/arm sys/sys

2014-10-19 Thread Andrew Turner
Author: andrew Date: Sun Oct 19 20:23:31 2014 New Revision: 273284 URL: https://svnweb.freebsd.org/changeset/base/273284 Log: Allow libkvm to get the kernel va to pa delta without the need for physaddr. This should allow for a kernel where PHYSADDR and KERNPHYSADDR are both undefined.

svn commit: r273287 - head/sys/conf

2014-10-19 Thread Andrew Turner
Author: andrew Date: Sun Oct 19 20:56:05 2014 New Revision: 273287 URL: https://svnweb.freebsd.org/changeset/base/273287 Log: Only build the ARM tranpoline when KERNPHYSADDR is defined as it is otherwise unneeded in armv6 kernels. MFC after:1 week Modified:

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

2014-10-19 Thread Andrew Turner
Author: andrew Date: Sun Oct 19 21:03:42 2014 New Revision: 273288 URL: https://svnweb.freebsd.org/changeset/base/273288 Log: Allow the armv6 kernel to be build with PHYSADDR undefined. The kernel will now find the virtual to physical mapping for libkvm to use at runtime. This makes

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

2014-10-31 Thread Andrew Turner
Author: andrew Date: Fri Oct 31 18:20:39 2014 New Revision: 273913 URL: https://svnweb.freebsd.org/changeset/base/273913 Log: Clean up the types of a few strings to make them const when they are never written to. Modified: head/sys/boot/fdt/fdt_loader_cmd.c Modified:

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

2014-10-31 Thread Andrew Turner
Author: andrew Date: Fri Oct 31 18:35:03 2014 New Revision: 273914 URL: https://svnweb.freebsd.org/changeset/base/273914 Log: The command name is a constant, use the correct type. MFC after:1 week Modified: head/sys/boot/fdt/fdt_loader_cmd.c Modified:

svn commit: r273934 - in head/sys/boot: arm/uboot fdt powerpc/uboot uboot uboot/fdt

2014-11-01 Thread Andrew Turner
Author: andrew Date: Sat Nov 1 17:12:44 2014 New Revision: 273934 URL: https://svnweb.freebsd.org/changeset/base/273934 Log: Start to allow platforms other than U-Boot to use the FDT code in loader by moving U-Boot specific code from libfdt.a to a new libuboot_fdt.a. This needs to be a new

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

2014-11-04 Thread Andrew Turner
On Tue, 4 Nov 2014 12:40:41 +0100 Mateusz Guzik mjgu...@gmail.com wrote: On Tue, Nov 04, 2014 at 11:29:49AM +, Hans Petter Selasky wrote: Author: hselasky Date: Tue Nov 4 11:29:49 2014 New Revision: 274088 URL: https://svnweb.freebsd.org/changeset/base/274088 Log: Simplify

svn commit: r274439 - head/sys/boot/efi/include

2014-11-12 Thread Andrew Turner
Author: andrew Date: Wed Nov 12 17:56:38 2014 New Revision: 274439 URL: https://svnweb.freebsd.org/changeset/base/274439 Log: Add the FDT table GUID. This is used to pass the device tree blob from UEFI to the loader in a similar way to the ACPI tables. This will be used on arm64 but is

svn commit: r274503 - head/share/mk

2014-11-14 Thread Andrew Turner
Author: andrew Date: Fri Nov 14 14:45:36 2014 New Revision: 274503 URL: https://svnweb.freebsd.org/changeset/base/274503 Log: Add OBJDUMP to sys.mk. The EFI loader uses it however without this it can be set but empty. Obtained from:ABT Systems Sponsored by: The FreeBSD

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

2014-11-20 Thread Andrew Turner
The FreeBSD Foundation * All rights reserved. * + * This software was developed by Andrew Turner under sponsorship from + * the FreeBSD Foundation. * This software was developed by Semihalf under sponsorship from * the FreeBSD Foundation. * @@ -64,12 +66,84 @@ vm_offset_t fdt_immr_size; struct

Re: svn commit: r274655 - in head/sys/dev/virtio: block mmio

2014-11-21 Thread Andrew Turner
On Tue, 18 Nov 2014 14:11:15 + (UTC) Ruslan Bukin b...@freebsd.org wrote: Author: br Date: Tue Nov 18 14:11:14 2014 New Revision: 274655 URL: https://svnweb.freebsd.org/changeset/base/274655 Log: Add Virtio MMIO bus driver. This is missing a config option to allow it to be built. I

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

2014-11-28 Thread Andrew Turner
Author: andrew Date: Fri Nov 28 11:45:53 2014 New Revision: 275207 URL: https://svnweb.freebsd.org/changeset/base/275207 Log: We don't use the hypervisor interrupt, make it optional in the device tree. Submitted by: Julien Grall julien.grall AT linaro.org MFC after:1 week Modified:

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

2014-11-28 Thread Andrew Turner
Author: andrew Date: Fri Nov 28 11:49:26 2014 New Revision: 275208 URL: https://svnweb.freebsd.org/changeset/base/275208 Log: Some device tree configurations place the generic timer under the root of the tree and not under simplebus. Update the driver to handle this. Submitted by: Julien

svn commit: r275256 - head/lib/libc/arm/string

2014-11-29 Thread Andrew Turner
Author: andrew Date: Sat Nov 29 15:56:52 2014 New Revision: 275256 URL: https://svnweb.freebsd.org/changeset/base/275256 Log: Switch to the ARM unified assembly language as the clang integrated as only supports it. Binutils supports it when the .syntax unified directive is set.

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

2014-11-29 Thread Andrew Turner
Author: andrew Date: Sat Nov 29 19:31:23 2014 New Revision: 275264 URL: https://svnweb.freebsd.org/changeset/base/275264 Log: Update _ENTRY to use _EENTRY to reduce the common code. Modified: head/sys/arm/include/asm.h Modified: head/sys/arm/include/asm.h

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

2014-11-30 Thread Andrew Turner
Author: andrew Date: Sun Nov 30 12:20:24 2014 New Revision: 275321 URL: https://svnweb.freebsd.org/changeset/base/275321 Log: Remove extra labels, ENTRY_NP already provides them. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/cpufunc_asm_armv5.S

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

2014-11-30 Thread Andrew Turner
Author: andrew Date: Sun Nov 30 12:25:04 2014 New Revision: 275322 URL: https://svnweb.freebsd.org/changeset/base/275322 Log: Correctly a few incorrect uses of ENTRY/EENTRY and END/EEND Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/fusu.S head/sys/arm/arm/support.S

svn commit: r275336 - head/contrib/binutils/bfd

2014-11-30 Thread Andrew Turner
Author: andrew Date: Sun Nov 30 17:27:24 2014 New Revision: 275336 URL: https://svnweb.freebsd.org/changeset/base/275336 Log: Use llabs when getting the absolute value of a long long. Sponsored by: ABT Ststems Ltd Modified: head/contrib/binutils/bfd/elf32-arm.c Modified:

svn commit: r275337 - head/contrib/gcc/config/arm

2014-11-30 Thread Andrew Turner
Author: andrew Date: Sun Nov 30 17:29:49 2014 New Revision: 275337 URL: https://svnweb.freebsd.org/changeset/base/275337 Log: There is no need to use FUNC_END with aeabi_ldiv0 or aeabi_idiv0 as they are aliases. Sponsored by: ABT Systems Ltd Modified:

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

2014-12-01 Thread Andrew Turner
Author: andrew Date: Mon Dec 1 21:04:26 2014 New Revision: 275378 URL: https://svnweb.freebsd.org/changeset/base/275378 Log: Pull in the NetBSD global offset table handling code. Clang 3.5 creates relocations the linker complains about. Obtained from:NetBSD MFC after:1

svn commit: r275379 - head/share/mk

2014-12-01 Thread Andrew Turner
Author: andrew Date: Mon Dec 1 21:07:36 2014 New Revision: 275379 URL: https://svnweb.freebsd.org/changeset/base/275379 Log: Set the correct architecture when targeting ARMv7 MFC after:1 Week Sponsored by: ABT Systems Ltd Modified: head/share/mk/bsd.cpu.mk Modified:

svn commit: r275380 - head/contrib/gcc/config/arm

2014-12-01 Thread Andrew Turner
Author: andrew Date: Mon Dec 1 21:13:47 2014 New Revision: 275380 URL: https://svnweb.freebsd.org/changeset/base/275380 Log: Use the floating-point instruction on ARMv7 as the clang 3.5 integrated assembler doesn't allow these two instructions to use co-processor 11. MFC after:1

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

2014-12-01 Thread Andrew Turner
On Mon, 01 Dec 2014 14:36:22 -0700 Ian Lepore i...@freebsd.org wrote: On Mon, 2014-12-01 at 21:07 +, Andrew Turner wrote: Author: andrew Date: Mon Dec 1 21:07:36 2014 New Revision: 275379 URL: https://svnweb.freebsd.org/changeset/base/275379 Log: Set the correct

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

2014-12-02 Thread Andrew Turner
Author: andrew Date: Tue Dec 2 18:12:16 2014 New Revision: 275415 URL: https://svnweb.freebsd.org/changeset/base/275415 Log: Allow the UAL APSR_nzcv format for the mrc and mrc2 instructions. The clang integrated assembler only allows these forms so binutils will need to support them.

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

2014-12-02 Thread Andrew Turner
Author: andrew Date: Tue Dec 2 18:20:53 2014 New Revision: 275416 URL: https://svnweb.freebsd.org/changeset/base/275416 Log: Fix the name of the coprocessor to include the p prefix, the clang integrated assembler expects this. MFC after:1 Week Sponsored by: ABT Systems Ltd

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

2014-12-02 Thread Andrew Turner
Author: andrew Date: Tue Dec 2 18:35:34 2014 New Revision: 275417 URL: https://svnweb.freebsd.org/changeset/base/275417 Log: Use the APSR_nzcv format of mrc. The clang integrated assembler doesn't support the old usage of r15. Sponsored by: ABT Systems Ltd Modified:

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

2014-12-02 Thread Andrew Turner
Author: andrew Date: Tue Dec 2 18:37:04 2014 New Revision: 275418 URL: https://svnweb.freebsd.org/changeset/base/275418 Log: Switch to unified syntax so these can be built with clang 3.5. MFC after:1 week Sponsored by: ABT Systems Ltd Modified:

svn commit: r275519 - head/sys/arm/xscale/ixp425

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:04:08 2014 New Revision: 275519 URL: https://svnweb.freebsd.org/changeset/base/275519 Log: Add missing END macros to some of the xscale functions. MFC after:1 week Sponsored by: ABT Systems Ltd Modified: head/sys/arm/xscale/ixp425/ixp425_a4x_io.S

svn commit: r275520 - in head/sys: arm/arm libkern/arm

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:08:36 2014 New Revision: 275520 URL: https://svnweb.freebsd.org/changeset/base/275520 Log: Use the unified syntax in a few more assembly files MFC after:1 week Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/fusu.S

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

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:11:25 2014 New Revision: 275521 URL: https://svnweb.freebsd.org/changeset/base/275521 Log: Set the alignment to 4-bytes after a string as clang 3.5 can switch to thumb mode if this is incorrect. MFC after:1 week Sponsored by: ABT Systems Ltd

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

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:14:05 2014 New Revision: 275522 URL: https://svnweb.freebsd.org/changeset/base/275522 Log: Place the literal pool after a RET otherwise clang 3.5 tries to put it too far away from a ldr psuedo instruction. With this clang will place the literal value here

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

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:19:17 2014 New Revision: 275523 URL: https://svnweb.freebsd.org/changeset/base/275523 Log: Switch to an armv6k cpu, without this clang 3.5 complains bx lr is unsupported as it needs a newer cpu. MFC after:1 week Sponsored by: ABT Systems Ltd

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

2014-12-05 Thread Andrew Turner
Author: andrew Date: Fri Dec 5 19:23:51 2014 New Revision: 275524 URL: https://svnweb.freebsd.org/changeset/base/275524 Log: Switch to a .cpu directive. These will work when clang 3.5 is imported where the .arch directive is a nop. MFC after:1 week Sponsored by: ABT Systems Ltd

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

2014-12-06 Thread Andrew Turner
Author: andrew Date: Sat Dec 6 11:59:35 2014 New Revision: 275564 URL: https://svnweb.freebsd.org/changeset/base/275564 Log: Use the unified syntax when generating assembly for clang. The clang 3.5 integrated assembler only accepts it. MFC after:1 week Sponsored by: ABT Systems

svn commit: r275565 - head/sys/cddl/contrib/opensolaris/uts/common/sys

2014-12-06 Thread Andrew Turner
Author: andrew Date: Sat Dec 6 12:03:09 2014 New Revision: 275565 URL: https://svnweb.freebsd.org/changeset/base/275565 Log: Apply the same fix in r274697 to the ARM case. Modified: head/sys/cddl/contrib/opensolaris/uts/common/sys/isa_defs.h Modified:

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

2014-12-06 Thread Andrew Turner
On Sat, 6 Dec 2014 16:15:55 +0100 Dimitry Andric d...@freebsd.org wrote: On 06 Dec 2014, at 12:59, Andrew Turner and...@freebsd.org wrote: Author: andrew Date: Sat Dec 6 11:59:35 2014 New Revision: 275564 URL: https://svnweb.freebsd.org/changeset/base/275564 Log: Use

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

2014-12-07 Thread Andrew Turner
Author: andrew Date: Sun Dec 7 21:47:19 2014 New Revision: 275584 URL: https://svnweb.freebsd.org/changeset/base/275584 Log: Fix mrc and mrc2 with APSR_nzcv. Binutils encodes it internally as 0 where we need it to be set to 15 for it to be equivalent to r15. MFC after:1 week X-MFC

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

2014-12-09 Thread Andrew Turner
Author: andrew Date: Tue Dec 9 10:21:31 2014 New Revision: 275639 URL: https://svnweb.freebsd.org/changeset/base/275639 Log: Include sys/kernel.h to pick up the definition of hz. subr_syscall.c uses it after r275616. X-MFC with: r275616 Modified: head/sys/arm/arm/syscall.c

svn commit: r275640 - head/sys/dev/virtio/mmio

2014-12-09 Thread Andrew Turner
of * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) * (CTSRD), as part of the DARPA CRASH research programme. * + * Portions of this software were developed by Andrew Turner + * under sponsorship from the FreeBSD Foundation. + * * Redistribution and use in source

svn commit: r275903 - head/sys/sys

2014-12-18 Thread Andrew Turner
Author: andrew Date: Thu Dec 18 14:31:30 2014 New Revision: 275903 URL: https://svnweb.freebsd.org/changeset/base/275903 Log: Add AArch64 64-bit relocation values. These will be needed by rtld when we import it along with utilities in elftoolchain. Differential Revision:

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

2014-12-19 Thread Andrew Turner
Author: andrew Date: Fri Dec 19 13:07:36 2014 New Revision: 275937 URL: https://svnweb.freebsd.org/changeset/base/275937 Log: Add support for empty ranges properties within the tree, some vendor device trees have these, for example the ARM AArch64 Foundation Model. Sponsored by: The

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

2014-12-20 Thread Andrew Turner
Author: andrew Date: Sat Dec 20 18:15:23 2014 New Revision: 275961 URL: https://svnweb.freebsd.org/changeset/base/275961 Log: Clean up to use the standard style of options \t and device\t\t Modified: head/sys/arm/conf/IMX6 Modified: head/sys/arm/conf/IMX6

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

2014-12-20 Thread Andrew Turner
Author: andrew Date: Sat Dec 20 18:42:20 2014 New Revision: 275962 URL: https://svnweb.freebsd.org/changeset/base/275962 Log: Clean up the style of the CUBIEBOARD2 config file Modified: head/sys/arm/conf/CUBIEBOARD2 Modified: head/sys/arm/conf/CUBIEBOARD2

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

2014-12-21 Thread Andrew Turner
Author: andrew Date: Sun Dec 21 11:37:00 2014 New Revision: 276003 URL: https://svnweb.freebsd.org/changeset/base/276003 Log: tart to clean up the armv6 kernel configs by reducing the diff between them in the first sections and the later FDT support. Differential Revision:

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

2014-12-21 Thread Andrew Turner
Author: andrew Date: Sun Dec 21 11:55:40 2014 New Revision: 276004 URL: https://svnweb.freebsd.org/changeset/base/276004 Log: Fix the indentation to simplify comparing the ARM config files. Modified: head/sys/arm/conf/APALIS-IMX6 head/sys/arm/conf/BEAGLEBONE

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

2014-12-21 Thread Andrew Turner
Author: andrew Date: Sun Dec 21 16:21:56 2014 New Revision: 276015 URL: https://svnweb.freebsd.org/changeset/base/276015 Log: Reduce the diff to the arm_intrng project branch by having the read/write macros take the softc they are accessing. Modified: head/sys/arm/arm/gic.c Modified:

svn commit: r276017 - head/sys/arm/broadcom/bcm2835

2014-12-21 Thread Andrew Turner
Author: andrew Date: Sun Dec 21 16:35:42 2014 New Revision: 276017 URL: https://svnweb.freebsd.org/changeset/base/276017 Log: Reduce the diff between head and arm_intrng with the bcm2835 interrupt controller. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_intr.c Modified:

svn commit: r276023 - head/sys/arm/lpc

2014-12-21 Thread Andrew Turner
Author: andrew Date: Sun Dec 21 16:59:41 2014 New Revision: 276023 URL: https://svnweb.freebsd.org/changeset/base/276023 Log: Reduce the diff between the lpc interrupt controller in head and arm_intrng Modified: head/sys/arm/lpc/lpc_intc.c Modified: head/sys/arm/lpc/lpc_intc.c

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

2014-12-21 Thread Andrew Turner
Author: andrew Date: Sun Dec 21 17:25:21 2014 New Revision: 276028 URL: https://svnweb.freebsd.org/changeset/base/276028 Log: Further reduce the diff between the arm_intrng gic driver and the version in head. Modified: head/sys/arm/arm/gic.c Modified: head/sys/arm/arm/gic.c

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

2014-12-21 Thread Andrew Turner
Author: andrew Date: Sun Dec 21 21:27:12 2014 New Revision: 276032 URL: https://svnweb.freebsd.org/changeset/base/276032 Log: Pull out the fdt mapping code into intr.c. The arm_intrng branch also defines this function allowing the mapping method to change when we move to it. Modified:

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

2014-12-21 Thread Andrew Turner
Author: andrew Date: Sun Dec 21 21:38:12 2014 New Revision: 276033 URL: https://svnweb.freebsd.org/changeset/base/276033 Log: Fix the unwinder to get past functions with no stack but may cause an exception. In this case no registers will be updated but the link register will be copied to

Re: svn commit: r276031 - head/sys/dev/beri/virtio

2014-12-21 Thread Andrew Turner
On Sun, 21 Dec 2014 21:24:20 + (UTC) Ian Lepore i...@freebsd.org wrote: Author: ian Date: Sun Dec 21 21:24:19 2014 New Revision: 276031 URL: https://svnweb.freebsd.org/changeset/base/276031 Log: Eliminate a cast discards qualifiers warning when building with gcc. Modified:

svn commit: r276177 - in head/sys/arm: conf freescale/imx

2014-12-24 Thread Andrew Turner
Author: andrew Date: Wed Dec 24 12:26:43 2014 New Revision: 276177 URL: https://svnweb.freebsd.org/changeset/base/276177 Log: Switch i.MX to use the platform code to help with a single Freescale kernel. Differential Revision:https://reviews.freebsd.org/D1349 Reviewed by: ian,

svn commit: r276180 - in head/sys/arm: arm include mv

2014-12-24 Thread Andrew Turner
Author: andrew Date: Wed Dec 24 15:25:18 2014 New Revision: 276180 URL: https://svnweb.freebsd.org/changeset/base/276180 Log: Rename pic_ipi_get to pic_ipi_read for intrng. Modified: head/sys/arm/arm/gic.c head/sys/arm/arm/mp_machdep.c head/sys/arm/include/smp.h head/sys/arm/mv/mpic.c

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

2014-12-24 Thread Andrew Turner
On Wed, 24 Dec 2014 17:12:52 + (UTC) Ian Lepore i...@freebsd.org wrote: Author: ian Date: Wed Dec 24 17:12:51 2014 New Revision: 276187 URL: https://svnweb.freebsd.org/changeset/base/276187 Log: Eliminate unnecessary references to pte.h internals by using the standard

Re: svn commit: r276212 - head/sys/arm/include

2014-12-26 Thread Andrew Turner
On Thu, 25 Dec 2014 19:08:40 + (UTC) Ian Lepore i...@freebsd.org wrote: Author: ian Date: Thu Dec 25 19:08:39 2014 New Revision: 276212 URL: https://svnweb.freebsd.org/changeset/base/276212 Log: Add macros for asm barrier instructions with arch-specific implementations.

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

2014-12-26 Thread Andrew Turner
On Wed, 24 Dec 2014 18:05:47 -0800 Rui Paulo rpa...@me.com wrote: On Dec 24, 2014, at 17:31, Ian Lepore i...@freebsd.org wrote: In every architecture and every place it's used, or just arm just here? You're right, it can be found at least in MIPS and amd64. This appears to be an

svn commit: r276358 - head/sys/dev/virtio/mmio

2014-12-29 Thread Andrew Turner
Author: andrew Date: Mon Dec 29 11:02:18 2014 New Revision: 276358 URL: https://svnweb.freebsd.org/changeset/base/276358 Log: Allow virtio_mmio to attach to ofwbus. Qemu places these here on at least the AArch64 virtual platform with the Linaro UEFI. Sponsored by: The FreeBSD Foundation

svn commit: r276367 - head/sys/dev/virtio/network

2014-12-29 Thread Andrew Turner
Author: andrew Date: Mon Dec 29 17:17:01 2014 New Revision: 276367 URL: https://svnweb.freebsd.org/changeset/base/276367 Log: Attach vtnet to virtio_mmio. Qemu provides this as an option with AArch64. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/virtio/network/if_vtnet.c

svn commit: r276409 - head/sys/dev/virtio/mmio

2014-12-30 Thread Andrew Turner
Author: andrew Date: Tue Dec 30 12:47:44 2014 New Revision: 276409 URL: https://svnweb.freebsd.org/changeset/base/276409 Log: Set the page size in the virtio-mmio driver. Some backends, e.g QEMU, assume a 1 byte page size until told otherwise. Sponsored by: The FreeBSD Foundation

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

2015-01-20 Thread Andrew Turner
Author: andrew Date: Tue Jan 20 11:11:32 2015 New Revision: 277415 URL: https://svnweb.freebsd.org/changeset/base/277415 Log: Add the User and PL1 read only and reqd write thread ID registers. Sponsored by: The FreeBSD Foundation Modified: head/sys/arm/include/cpu-v6.h Modified:

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

2015-01-20 Thread Andrew Turner
Author: andrew Date: Tue Jan 20 11:32:48 2015 New Revision: 277416 URL: https://svnweb.freebsd.org/changeset/base/277416 Log: Remove the SMP code from locore-v4. These will never use the SMP code as there is no multi-core hardware prior to ARMv6. Sponsored by: The FreeBSD Foundation

svn commit: r277490 - in head/lib/libthr: . arch/amd64 arch/amd64/amd64 arch/amd64/include arch/arm arch/arm/arm arch/arm/include arch/common arch/i386 arch/i386/i386 arch/i386/include arch/mips ar...

2015-01-21 Thread Andrew Turner
Author: andrew Date: Wed Jan 21 16:41:05 2015 New Revision: 277490 URL: https://svnweb.freebsd.org/changeset/base/277490 Log: Merge all the copies of _tcb_ctor and _tcb_dtor. The amd64, i386, and sparc64 versions were identical, with the one difference where the former two used inline

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

2015-01-21 Thread Andrew Turner
Author: andrew Date: Wed Jan 21 16:52:24 2015 New Revision: 277491 URL: https://svnweb.freebsd.org/changeset/base/277491 Log: Update the parsing of the cpu node. We are unable to use the reg property as the cpu id on arm64 as it may use two cells. In it's place we can use the device id.

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

2015-01-19 Thread Andrew Turner
(C) 2009 Nathan Whitehorn + * Copyright (C) 2015 The FreeBSD Foundation * All rights reserved. * + * Portions of this software were developed by Andrew Turner + * under sponsorship from the FreeBSD Foundation. + * * Redistribution and use in source and binary forms, with or without

Re: svn commit: r277467 - in head/sys/arm: arm at91 cavium/cns11xx mv samsung/s3c2xx0 versatile xscale/i80321 xscale/i8134x xscale/ixp425 xscale/pxa

2015-01-21 Thread Andrew Turner
On Wed, 21 Jan 2015 02:56:14 + (UTC) Ian Lepore i...@freebsd.org wrote: Author: ian Date: Wed Jan 21 02:56:13 2015 New Revision: 277467 URL: https://svnweb.freebsd.org/changeset/base/277467 Log: For some reason, all the arm bus_space functions that work with uint16 values have

svn commit: r278797 - head/sys/arm/broadcom/bcm2835

2015-02-15 Thread Andrew Turner
Author: andrew Date: Sun Feb 15 11:23:27 2015 New Revision: 278797 URL: https://svnweb.freebsd.org/changeset/base/278797 Log: Add the structures needed to get/set the power state. These can be used when, for example, we boot without U-Boot and wish to enable USB, or to suspend an unneeded

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

2015-02-19 Thread Andrew Turner
Author: andrew Date: Thu Feb 19 12:06:57 2015 New Revision: 278996 URL: https://svnweb.freebsd.org/changeset/base/278996 Log: Allow the ARM unwinder to work through modules. This will be used to add support for unwinding from dtrace. Tested by:gnn (with dtrace) Sponsored by: ABT

svn commit: r278998 - in head/sys: dev/ofw sys

2015-02-19 Thread Andrew Turner
Author: andrew Date: Thu Feb 19 12:47:48 2015 New Revision: 278998 URL: https://svnweb.freebsd.org/changeset/base/278998 Log: Add support to get the cpu ID from its device driver in a generic way. This will be needed by arm64 to find the value to pass to the psci (Power State Coordination

svn commit: r278997 - in head/sys: cddl/dev/dtrace/arm conf

2015-02-19 Thread Andrew Turner
Author: andrew Date: Thu Feb 19 12:20:21 2015 New Revision: 278997 URL: https://svnweb.freebsd.org/changeset/base/278997 Log: Use the ARM unwinder with dtrace to extract the stack when asked. With this dtrace is able to display a stack trace similar to the one below. # dtrace -p 603 -n

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

2015-02-19 Thread Andrew Turner
Foundation + * All rights reserved. + * + * This software was developed by Andrew Turner under + * sponsorship from the FreeBSD Foundation. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1

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

2015-02-17 Thread Andrew Turner
Andrew Turner. + * Copyright 2013-2014 Ian Lepore. + * Copyright 2013-2014 Rui Paulo. + * Copyright 2013 Eitan Adler. + * All rights reserved. * - * Carnegie Mellon requests users of this software to return to + * Redistribution and use in source and binary forms, with or without + * modification

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

2015-01-31 Thread Andrew Turner
Author: andrew Date: Sat Jan 31 19:55:12 2015 New Revision: 277998 URL: https://svnweb.freebsd.org/changeset/base/277998 Log: Stop using load-multiple with lr and pc. This has been deprecated in ARMv7 and clang 3.6 warns about it. As this is used in libc and we build it with -Werror this

svn commit: r278023 - head/contrib/gcc/config/arm

2015-02-01 Thread Andrew Turner
Author: andrew Date: Sun Feb 1 09:50:33 2015 New Revision: 278023 URL: https://svnweb.freebsd.org/changeset/base/278023 Log: FreeBSD expects _Unwind_GetGR, _Unwind_SetGR, and _Unwind_SetIP to be symbols and not macros. Make this so. This fixes a few ports that try to link against these

Re: svn commit: r277835 - in head: lib/libpmc sys/arm/arm sys/arm/include sys/arm/ti sys/conf sys/dev/hwpmc sys/sys

2015-01-28 Thread Andrew Turner
On Wed, 28 Jan 2015 18:39:13 + Ruslan Bukin b...@freebsd.org wrote: On Wed, Jan 28, 2015 at 09:35:03AM -0700, Ian Lepore wrote: Just from a quick glance at the part that wasn't truncated, I notice all the inline asm stuff is wrong -- it duplicates what's already available in cpu-v6.h.

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

2015-01-11 Thread Andrew Turner
Author: andrew Date: Sun Jan 11 10:26:49 2015 New Revision: 276963 URL: https://svnweb.freebsd.org/changeset/base/276963 Log: Rework the GIC driver to ease the import of the arm_intrng branch. The common code has been pulled out to static functions. Modified: head/sys/arm/arm/gic.c

svn commit: r276984 - in head/sys/arm: allwinner/a20 altera/socfpga arm freescale/imx include rockchip samsung/exynos ti/omap4 xilinx

2015-01-11 Thread Andrew Turner
Author: andrew Date: Sun Jan 11 16:46:43 2015 New Revision: 276984 URL: https://svnweb.freebsd.org/changeset/base/276984 Log: Rename gic_init_secondary to arm_init_secondary_ic to help with the merge of the arm_intrng project branch. Modified: head/sys/arm/allwinner/a20/a20_mp.c

svn commit: r276895 - head/lib/libcompiler_rt

2015-01-09 Thread Andrew Turner
Author: andrew Date: Fri Jan 9 20:00:37 2015 New Revision: 276895 URL: https://svnweb.freebsd.org/changeset/base/276895 Log: With the update of compiler-rt we try to build a number of files that don't build on some ARM platforms, provide symbols we already provide in libc, or don't exist.

svn commit: r276764 - head/usr.sbin/crunch/crunchide

2015-01-06 Thread Andrew Turner
Author: andrew Date: Tue Jan 6 20:10:42 2015 New Revision: 276764 URL: https://svnweb.freebsd.org/changeset/base/276764 Log: Add support to crunchide for handling AArch64 (arm64) ELF files. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/crunch/crunchide/exec_elf32.c

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

2015-02-11 Thread Andrew Turner
Author: andrew Date: Wed Feb 11 10:40:49 2015 New Revision: 278578 URL: https://svnweb.freebsd.org/changeset/base/278578 Log: Remove the non-EABI code from the DDB stack unwinder, we only support the ARM EABI now. Modified: head/sys/arm/arm/db_trace.c Modified: head/sys/arm/arm/db_trace.c

svn commit: r278577 - in head/sys: arm/xscale/ixp425 dev/hwpmc

2015-02-11 Thread Andrew Turner
Author: andrew Date: Wed Feb 11 10:37:55 2015 New Revision: 278577 URL: https://svnweb.freebsd.org/changeset/base/278577 Log: The cpu_id macro was renamed in r278529, catch up with this new name. Modified: head/sys/arm/xscale/ixp425/if_npe.c head/sys/dev/hwpmc/hwpmc_armv7.c Modified:

svn commit: r280219 - head/lib/libc/gen

2015-03-18 Thread Andrew Turner
Author: andrew Date: Wed Mar 18 13:54:53 2015 New Revision: 280219 URL: https://svnweb.freebsd.org/changeset/base/280219 Log: We won't support a.out on arm64/aarch64. As such there will be no need to support it in nlist(3). Reviewed by: emaste Sponsored by: The FreeBSD Foundation

svn commit: r280220 - head/usr.bin/ldd

2015-03-18 Thread Andrew Turner
Author: andrew Date: Wed Mar 18 13:59:04 2015 New Revision: 280220 URL: https://svnweb.freebsd.org/changeset/base/280220 Log: Allowus to exclude a.out support from ldd and use it with arm64 as it won't support the a.out format. Reviewed by: emaste Sponsored by: The FreeBSD Foundation

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

2015-03-18 Thread Andrew Turner
On Wed, 18 Mar 2015 10:32:33 -0400 John Baldwin j...@freebsd.org wrote: On Wednesday, March 18, 2015 01:54:54 PM Andrew Turner wrote: Author: andrew Date: Wed Mar 18 13:54:53 2015 New Revision: 280219 URL: https://svnweb.freebsd.org/changeset/base/280219 Log: We won't support

svn commit: r280047 - in head/sys/boot: amd64/efi efi/libefi

2015-03-15 Thread Andrew Turner
Author: andrew Date: Sun Mar 15 19:00:35 2015 New Revision: 280047 URL: https://svnweb.freebsd.org/changeset/base/280047 Log: Move the x86 specific files to be built in the amd64 loader.efi. This will help with importing the arm and arm64 versions of loader.efi. Modified:

svn commit: r280248 - head/sys/contrib/vchiq/interface/vchiq_arm

2015-03-19 Thread Andrew Turner
Author: andrew Date: Thu Mar 19 11:34:51 2015 New Revision: 280248 URL: https://svnweb.freebsd.org/changeset/base/280248 Log: Use the dsb macro to use the correct instruction when building for ARMv7. Modified: head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c Modified:

svn commit: r280285 - head/sys/arm/broadcom/bcm2835

2015-03-20 Thread Andrew Turner
Author: andrew Date: Fri Mar 20 14:25:51 2015 New Revision: 280285 URL: https://svnweb.freebsd.org/changeset/base/280285 Log: Split out the common bcm283x fixes from the bcm2835 specific files. Added: head/sys/arm/broadcom/bcm2835/files.bcm283x - copied, changed from r280125,

svn commit: r280259 - in head: . etc/etc.aarch64 lib/csu/aarch64 lib/libc/aarch64 lib/libthr/arch/aarch64 lib/msun/aarch64 share/mk

2015-03-19 Thread Andrew Turner
) @@ -0,0 +1,89 @@ +/* LINTLIBRARY */ +/*- + * Copyright 1996-1998 John D. Polstra. + * Copyright 2014 Andrew Turner. + * Copyright 2014-2015 The FreeBSD Foundation. + * All rights reserved. + * + * Portions of this software were developed by Andrew Turner + * under sponsorship from the FreeBSD Foundation

svn commit: r280252 - head/sys/dev/ixgbe

2015-03-19 Thread Andrew Turner
Author: andrew Date: Thu Mar 19 13:00:02 2015 New Revision: 280252 URL: https://svnweb.freebsd.org/changeset/base/280252 Log: Fix building ixgbe with gcc, it doesn't like nested extern declarations. The fix is to move the extern declaration ix_crcstrip out of ixgbe_setup_hw_rsc. Modified:

svn commit: r280294 - head/sys/arm/broadcom/bcm2835

2015-03-20 Thread Andrew Turner
Author: andrew Date: Fri Mar 20 16:54:21 2015 New Revision: 280294 URL: https://svnweb.freebsd.org/changeset/base/280294 Log: Add a helper function to read clock frequencies from videocore and use this to get the default frequency of the sdhci device. While here use a u_int to hold the

Re: svn commit: r279692 - head/sys/modules/dtrace/dtraceall

2015-03-06 Thread Andrew Turner
On Fri, 6 Mar 2015 16:08:03 + (UTC) Ruslan Bukin b...@freebsd.org wrote: Author: br Date: Fri Mar 6 16:08:03 2015 New Revision: 279692 URL: https://svnweb.freebsd.org/changeset/base/279692 Log: Set a dependancy on fbt module for ARM. Modified:

svn commit: r279778 - in head/sys: arm/broadcom/bcm2835 dev/usb/controller

2015-03-08 Thread Andrew Turner
@@ +/* + * Copyright 2015 Andrew Turner. + * All rights reserved. + * + * 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 copyright

svn commit: r280436 - head/secure/lib/libcrypto

2015-03-24 Thread Andrew Turner
Author: andrew Date: Tue Mar 24 14:16:14 2015 New Revision: 280436 URL: https://svnweb.freebsd.org/changeset/base/280436 Log: Add the openssl header for arm64. As it is based on MACHINE_CPUARCH it is named opensslconf-aarch64.h. Sponsored by: The FreeBSD Foundation Added:

<    1   2   3   4   5   6   7   8   9   10   >