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

2015-07-15 Thread Andrew Turner
Author: andrew Date: Wed Jul 15 13:28:25 2015 New Revision: 285601 URL: https://svnweb.freebsd.org/changeset/base/285601 Log: Fix an infinite loop when a node doesn't have an interrupt-parent property. Submitted by: Aleksey Kuleshov rnd...@yandex.ru Differential Revision:

svn commit: r285537 - in head/sys/arm64: arm64 include

2015-07-14 Thread Andrew Turner
Author: andrew Date: Tue Jul 14 12:37:47 2015 New Revision: 285537 URL: https://svnweb.freebsd.org/changeset/base/285537 Log: Set memory to be inner-sharable. This isn't needed on device memory as the MMU will ignore the attribute there, howeverit simplifies to code to alwas set it.

Re: svn commit: r285563 - head/release/doc/en_US.ISO8859-1/relnotes

2015-07-14 Thread Andrew Turner
On Tue, 14 Jul 2015 20:10:10 + (UTC) Glen Barber g...@freebsd.org wrote: Author: gjb Date: Tue Jul 14 20:10:09 2015 New Revision: 285563 URL: https://svnweb.freebsd.org/changeset/base/285563 Log: Document r282727, support for booting relocatable kernels extended beyond non-EFI

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

2015-07-14 Thread Andrew Turner
Author: andrew Date: Tue Jul 14 19:11:16 2015 New Revision: 285551 URL: https://svnweb.freebsd.org/changeset/base/285551 Log: Also accept ok to enable a device, some vendor device trees use this when they mean okay Modified: head/sys/dev/ofw/ofw_bus_subr.c Modified:

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

2015-07-11 Thread Andrew Turner
Author: andrew Date: Sat Jul 11 16:02:06 2015 New Revision: 285389 URL: https://svnweb.freebsd.org/changeset/base/285389 Log: Always send a SIGSEGV on a map failure. Use the code to tell the reason for the signal. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/trap-v6.c

Re: svn commit: r285366 - in head: lib/libmd sys/crypto/sha2

2015-07-11 Thread Andrew Turner
On Sat, 11 Jul 2015 07:29:20 -0700 John-Mark Gurney j...@funkthat.com wrote: ... The closest I can see is that sha256hl.c (from mdXhl.c) is including sha256.h with double quotes, and getting the wrong header file.. I concur, the following fixes libmd to use the correct header. Andrew

svn commit: r285352 - in head/lib/libc: aarch64 aarch64/gen tests/sys

2015-07-10 Thread Andrew Turner
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. Redistributions of source code must retain the above

svn commit: r285334 - head/sys/arm64/arm64

2015-07-09 Thread Andrew Turner
Author: andrew Date: Thu Jul 9 17:26:56 2015 New Revision: 285334 URL: https://svnweb.freebsd.org/changeset/base/285334 Log: Clear the carry bit on the saved program state register when asked to clear the return value, it's used to indicate an error. Obtained from:ABT Systems

svn commit: r285313 - head/sys/arm64/include

2015-07-09 Thread Andrew Turner
Author: andrew Date: Thu Jul 9 12:51:50 2015 New Revision: 285313 URL: https://svnweb.freebsd.org/changeset/base/285313 Log: Clean up the types used in machine/ucontext.h on arm64. As some ports include this file without first including the headers needed for uint32_t and the like use the

svn commit: r285314 - head/sys/arm64/include

2015-07-09 Thread Andrew Turner
Author: andrew Date: Thu Jul 9 12:56:09 2015 New Revision: 285314 URL: https://svnweb.freebsd.org/changeset/base/285314 Log: Add the definition of the shareable bits in the pagetables Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

svn commit: r285315 - head/sys/arm64/arm64

2015-07-09 Thread Andrew Turner
Author: andrew Date: Thu Jul 9 13:07:12 2015 New Revision: 285315 URL: https://svnweb.freebsd.org/changeset/base/285315 Log: Add logging of synchronous exceptions. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/trap.c

svn commit: r285316 - in head/sys: arm64/arm64 arm64/conf arm64/include conf

2015-07-09 Thread Andrew Turner
9 13:23:29 2015 (r285316) @@ -0,0 +1,433 @@ +/*- + * Copyright (c) 2015 The FreeBSD 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

svn commit: r285337 - in head/sys: conf libkern/arm

2015-07-09 Thread Andrew Turner
(r285337) @@ -0,0 +1,40 @@ +/* + * Copyright (C) 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

svn commit: r285338 - head/sys/libkern/arm

2015-07-09 Thread Andrew Turner
Author: andrew Date: Thu Jul 9 21:02:40 2015 New Revision: 285338 URL: https://svnweb.freebsd.org/changeset/base/285338 Log: Remove checks for __ARM_EABI__, we only build for EABI now. Sponsored by: ABT Systems Ltd Modified: head/sys/libkern/arm/aeabi_unwind.c

svn commit: r285268 - head/sys/arm64/arm64

2015-07-08 Thread Andrew Turner
Author: andrew Date: Wed Jul 8 12:42:44 2015 New Revision: 285268 URL: https://svnweb.freebsd.org/changeset/base/285268 Log: Send the correct signal when vm_fault fails. While here also set the code and address fields. Sponsored by: ABT Systems Ltd Modified:

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

2015-07-08 Thread Andrew Turner
On Wed, 8 Jul 2015 13:53:00 + (UTC) Zbigniew Bodek z...@freebsd.org wrote: Author: zbb Date: Wed Jul 8 13:52:59 2015 New Revision: 285270 URL: https://svnweb.freebsd.org/changeset/base/285270 Log: Add memory barrier to bus_dmamap_sync() On platforms which are fully

svn commit: r285271 - head/sys/arm64/arm64

2015-07-08 Thread Andrew Turner
Author: andrew Date: Wed Jul 8 14:07:06 2015 New Revision: 285271 URL: https://svnweb.freebsd.org/changeset/base/285271 Log: Add an implementation of savectx that doesn't just call panic. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

svn commit: r285274 - head/sys/arm64/include

2015-07-08 Thread Andrew Turner
Author: andrew Date: Wed Jul 8 16:18:28 2015 New Revision: 285274 URL: https://svnweb.freebsd.org/changeset/base/285274 Log: Correctly set __WCHAR_MIN, there is no __UINT_MIN, it's 0. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/include/_types.h Modified:

svn commit: r285272 - head/sys/arm64/arm64

2015-07-08 Thread Andrew Turner
Author: andrew Date: Wed Jul 8 15:32:59 2015 New Revision: 285272 URL: https://svnweb.freebsd.org/changeset/base/285272 Log: Add support for ipi_all_but_self on arm64. Obtained from:ABT Systems Ltd Sponsored by: The freeBSD Foundation Modified:

svn commit: r285201 - head/lib/libc/aarch64

2015-07-06 Thread Andrew Turner
Author: andrew Date: Mon Jul 6 09:57:40 2015 New Revision: 285201 URL: https://svnweb.freebsd.org/changeset/base/285201 Log: Add hton and ntoh to the arm64 Symbols.map file, they exist but were not exported. Modified: head/lib/libc/aarch64/Symbol.map Modified:

svn commit: r285212 - head/sys/arm64/arm64

2015-07-06 Thread Andrew Turner
Author: andrew Date: Mon Jul 6 18:27:18 2015 New Revision: 285212 URL: https://svnweb.freebsd.org/changeset/base/285212 Log: Add more tlb invalidations. We currently invalidate when we may not need to, but with this I can boot on a simulator that models the tlb. Obtained from:

svn commit: r285159 - head/libexec/rtld-elf/aarch64

2015-07-05 Thread Andrew Turner
Author: andrew Date: Sun Jul 5 11:42:01 2015 New Revision: 285159 URL: https://svnweb.freebsd.org/changeset/base/285159 Log: Add on the addend when in the R_AARCH64_ABS64 and R_AARCH64_GLOB_DAT cases. This fixes at least sshd, and some of the boehm-gc tests. Sponsored by: ABT Systems

svn commit: r285171 - head/sys/arm64/arm64

2015-07-05 Thread Andrew Turner
Author: andrew Date: Sun Jul 5 18:16:06 2015 New Revision: 285171 URL: https://svnweb.freebsd.org/changeset/base/285171 Log: Add the kernel functions needed to enable threading. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/arm64/vm_machdep.c Modified:

svn commit: r285036 - head/share/mk

2015-07-02 Thread Andrew Turner
Author: andrew Date: Thu Jul 2 13:42:57 2015 New Revision: 285036 URL: https://svnweb.freebsd.org/changeset/base/285036 Log: Set MACHINE_CPU to arm64 when building for arm64. This is needed by the ports tree as they check this value in a number of ports. PR: 201259 Sponsored

svn commit: r285038 - head/libexec/rtld-elf/aarch64

2015-07-02 Thread Andrew Turner
Author: andrew Date: Thu Jul 2 14:00:07 2015 New Revision: 285038 URL: https://svnweb.freebsd.org/changeset/base/285038 Log: Save restore the floating-pont argument registers before calling _rtld_bind. The compiler may generate code using these registers and not save them. Unfortunately,

svn commit: r285044 - head/lib/csu/aarch64

2015-07-02 Thread Andrew Turner
Author: andrew Date: Thu Jul 2 15:02:59 2015 New Revision: 285044 URL: https://svnweb.freebsd.org/changeset/base/285044 Log: Force the dynamic linker to resolve _end early so we pick up the correct copy. Sponsored by: ABT Systems Ltd Modified: head/lib/csu/aarch64/crt1.c Modified:

svn commit: r285047 - head/sys/arm64/arm64

2015-07-02 Thread Andrew Turner
Author: andrew Date: Thu Jul 2 15:26:40 2015 New Revision: 285047 URL: https://svnweb.freebsd.org/changeset/base/285047 Log: Remove an old comment, the cache is enabled. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/pmap.c

svn commit: r285043 - in head/lib/libc/aarch64: . sys

2015-07-02 Thread Andrew Turner
Author: andrew Date: Thu Jul 2 14:54:21 2015 New Revision: 285043 URL: https://svnweb.freebsd.org/changeset/base/285043 Log: Cleanup brk and sbrk to use the same code to find curbrk and minbrk when both compiling for PIC and non-PIC. Sponsored by: ABT Systems Ltd Modified:

svn commit: r285045 - head/sys/arm64/arm64

2015-07-02 Thread Andrew Turner
Author: andrew Date: Thu Jul 2 15:17:30 2015 New Revision: 285045 URL: https://svnweb.freebsd.org/changeset/base/285045 Log: Use pmap_load to load table entries. This simplifies finding places where we access the tables. Obtained from:ABT Systems Ltd Sponsored by: The fReeBSD

svn commit: r285040 - head/sys/arm64/conf

2015-07-02 Thread Andrew Turner
Author: andrew Date: Thu Jul 2 14:35:30 2015 New Revision: 285040 URL: https://svnweb.freebsd.org/changeset/base/285040 Log: Enable kernel debugging on arm64, other than GDB as it fails to build. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/conf/GENERIC Modified:

svn commit: r285048 - head/sys/arm64/arm64

2015-07-02 Thread Andrew Turner
Author: andrew Date: Thu Jul 2 16:13:29 2015 New Revision: 285048 URL: https://svnweb.freebsd.org/changeset/base/285048 Log: Remove an unneeded define and old comment referencing amd64. Modified: head/sys/arm64/arm64/pmap.c Modified: head/sys/arm64/arm64/pmap.c

svn commit: r285014 - head/sys/arm64/arm64

2015-07-01 Thread Andrew Turner
Author: andrew Date: Wed Jul 1 17:27:44 2015 New Revision: 285014 URL: https://svnweb.freebsd.org/changeset/base/285014 Log: Fix the logic for when to restore the VFP registers. It should restore them when a different thread last used them, or when the thread was last run on a different

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

2015-06-26 Thread Andrew Turner
Author: andrew Date: Fri Jun 26 09:02:40 2015 New Revision: 284871 URL: https://svnweb.freebsd.org/changeset/base/284871 Log: pc_curpmap is only in the armv6 pcpu data. Modified: head/sys/arm/arm/genassym.c Modified: head/sys/arm/arm/genassym.c

Re: svn commit: r284817 - head/release/doc/en_US.ISO8859-1/relnotes

2015-06-26 Thread Andrew Turner
On Thu, 25 Jun 2015 18:44:06 + (UTC) Glen Barber g...@freebsd.org wrote: Author: gjb Date: Thu Jun 25 18:44:06 2015 New Revision: 284817 URL: https://svnweb.freebsd.org/changeset/base/284817 Log: Document r282779, Thumb-2 support for ARMv7 added. Sponsored by: The

svn commit: r284807 - in head/lib/libc/aarch64: . gen

2015-06-25 Thread Andrew Turner
) +++ head/lib/libc/aarch64/gen/fpgetmask.c Thu Jun 25 08:22:25 2015 (r284807) @@ -0,0 +1,47 @@ +/*- + * Copyright (c) 2015 The FreeBSD Foundation + * All rights reserved. + * + * This software was developed by Andrew Turner under + * sponsorship from the FreeBSD Foundation

svn commit: r284806 - head/lib/libc/aarch64

2015-06-25 Thread Andrew Turner
Author: andrew Date: Thu Jun 25 08:15:47 2015 New Revision: 284806 URL: https://svnweb.freebsd.org/changeset/base/284806 Log: Export __flt_rounds from the arm64 libc.so Modified: head/lib/libc/aarch64/Symbol.map Modified: head/lib/libc/aarch64/Symbol.map

svn commit: r284815 - head/share/mk

2015-06-25 Thread Andrew Turner
Author: andrew Date: Thu Jun 25 16:47:11 2015 New Revision: 284815 URL: https://svnweb.freebsd.org/changeset/base/284815 Log: Sort the cpu architectures by name rather than a combination of alphabetical order and appending new architectures to the end of the list. Obtained from:

svn commit: r284751 - head/sys/arm64/include

2015-06-24 Thread Andrew Turner
Author: andrew Date: Wed Jun 24 12:19:49 2015 New Revision: 284751 URL: https://svnweb.freebsd.org/changeset/base/284751 Log: Fix the floating-point exception values to line up with the hardware register bits. Nothing in base uses these as they are deprecated, however third-party

svn commit: r284768 - head/lib/libc/aarch64/gen

2015-06-24 Thread Andrew Turner
Author: andrew Date: Wed Jun 24 16:15:32 2015 New Revision: 284768 URL: https://svnweb.freebsd.org/changeset/base/284768 Log: Set the alignment of the setjmp magic values correctly. The alignment needs to be before the lavel, otherwise an extra word may be added between the label and the

svn commit: r284769 - in head/lib/libc/aarch64: . gen

2015-06-24 Thread Andrew Turner
(empty, because file is newly added) +++ head/lib/libc/aarch64/gen/fpsetmask.c Wed Jun 24 16:18:58 2015 (r284769) @@ -0,0 +1,52 @@ +/*- + * Copyright (c) 2015 The FreeBSD Foundation + * All rights reserved. + * + * This software was developed by Andrew Turner under + * sponsorship

svn commit: r284725 - head/libexec/rtld-elf/aarch64

2015-06-23 Thread Andrew Turner
Author: andrew Date: Tue Jun 23 10:32:26 2015 New Revision: 284725 URL: https://svnweb.freebsd.org/changeset/base/284725 Log: Also save x8. It may be passed into a function as the indirect result location pointer when the return value doesn't fit in a register, e.g. when returning a struct.

svn commit: r284707 - in head: lib/csu/aarch64 libexec/rtld-elf/aarch64

2015-06-22 Thread Andrew Turner
Author: andrew Date: Mon Jun 22 19:43:08 2015 New Revision: 284707 URL: https://svnweb.freebsd.org/changeset/base/284707 Log: Add a workaround to correctly align the stack before calling into C code. When enough time has passed for users to update their userland the kernel fix will be

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

2015-06-16 Thread Andrew Turner
Author: andrew Date: Tue Jun 16 16:40:25 2015 New Revision: 284451 URL: https://svnweb.freebsd.org/changeset/base/284451 Log: Export the ARM __aeabi_mem* functions from libc, they are needed by the gcc from ports as it doesn't include these in the copy of libgcc it installs uses.

svn commit: r284453 - head

2015-06-16 Thread Andrew Turner
Author: andrew Date: Tue Jun 16 17:27:53 2015 New Revision: 284453 URL: https://svnweb.freebsd.org/changeset/base/284453 Log: Add a comment to the end of the world and kernel cases in the universe target to help follow the make magic. Obtained from:ABT Systems Ltd Modified:

svn commit: r284456 - head

2015-06-16 Thread Andrew Turner
Author: andrew Date: Tue Jun 16 18:43:08 2015 New Revision: 284456 URL: https://svnweb.freebsd.org/changeset/base/284456 Log: Add a universe_${target}_worlds target to simplify the logic to find when to start building kernels. Obtained from:ABT Systems Ltd Modified:

svn commit: r284469 - head

2015-06-16 Thread Andrew Turner
Author: andrew Date: Tue Jun 16 21:11:31 2015 New Revision: 284469 URL: https://svnweb.freebsd.org/changeset/base/284469 Log: Remove unneeded dependencies, these are now handled through the _done target. Obtained from:ABT Systems Ltd Modified: head/Makefile Modified:

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

2015-06-16 Thread Andrew Turner
Author: andrew Date: Tue Jun 16 17:24:20 2015 New Revision: 284452 URL: https://svnweb.freebsd.org/changeset/base/284452 Log: Write to the PRRR (Primary Region Remap Register) rather than reading from it during the early boot. Found By: Patrick Wildt patr...@bitrig.org Sponsored

svn commit: r284471 - head

2015-06-16 Thread Andrew Turner
Author: andrew Date: Tue Jun 16 21:29:46 2015 New Revision: 284471 URL: https://svnweb.freebsd.org/changeset/base/284471 Log: Move the universe done dependency on the worlds completing out of the loop, we only need to add it once. Obtained from:ABT Systems Ltd Modified:

svn commit: r284457 - head

2015-06-16 Thread Andrew Turner
Author: andrew Date: Tue Jun 16 19:23:34 2015 New Revision: 284457 URL: https://svnweb.freebsd.org/changeset/base/284457 Log: Add a new target universe_${target}_done to print the completion message. Without this we could print this message in the wrong place when building with

svn commit: r284266 - head/sys/boot/efi/loader/arch/arm64

2015-06-11 Thread Andrew Turner
Author: andrew Date: Thu Jun 11 14:02:23 2015 New Revision: 284266 URL: https://svnweb.freebsd.org/changeset/base/284266 Log: Pass the ACPI table pointer to the arm64 kernel from loader.efi. Sponsored by: The FreeBSD Foundation Modified: head/sys/boot/efi/loader/arch/arm64/exec.c

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

2015-06-11 Thread Andrew Turner
Author: andrew Date: Thu Jun 11 13:54:18 2015 New Revision: 284264 URL: https://svnweb.freebsd.org/changeset/base/284264 Log: Fix the spelling of __ARM_ARCH = 6 in sys/arm/arm. Modified: head/sys/arm/arm/bcopyinout.S head/sys/arm/arm/bcopyinout_xscale.S head/sys/arm/arm/copystr.S

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

2015-06-11 Thread Andrew Turner
Author: andrew Date: Thu Jun 11 13:58:40 2015 New Revision: 284265 URL: https://svnweb.freebsd.org/changeset/base/284265 Log: Stop using VFP in pcpu.h when we mean ARMv6 and later. Modified: head/sys/arm/include/pcpu.h Modified: head/sys/arm/include/pcpu.h

svn commit: r284273 - in head/sys: arm/arm arm64/acpica arm64/arm64 arm64/conf arm64/include conf dev/acpica dev/acpica/Osd

2015-06-11 Thread Andrew Turner
11 15:45:33 2015 (r284273) @@ -0,0 +1,217 @@ +/*- + * Copyright (c) 2001 Mitsuru IWASAKI + * Copyright (c) 2015 The FreeBSD Foundation + * All rights reserved. + * + * This software was developed by Andrew Turner under + * sponsorship from the FreeBSD Foundation. + * + * Redistribution

svn commit: r284274 - head/share/mk

2015-06-11 Thread Andrew Turner
Author: andrew Date: Thu Jun 11 16:49:14 2015 New Revision: 284274 URL: https://svnweb.freebsd.org/changeset/base/284274 Log: Enable clang on armeb, it is now able to build targeting armeb. This is the last arm platform to move away from gcc. Tested by:jmg Modified:

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

2015-05-25 Thread Andrew Turner
On Mon, 25 May 2015 07:23:28 -0400 John Baldwin j...@freebsd.org wrote: On Saturday, May 23, 2015 10:28:59 PM Andrew Turner wrote: Author: andrew Date: Sat May 23 22:28:59 2015 New Revision: 283331 URL: https://svnweb.freebsd.org/changeset/base/283331 Log: Use the wait-for-event

svn commit: r283363 - head/sys/dev/psci

2015-05-24 Thread Andrew Turner
Author: andrew Date: Sun May 24 11:08:06 2015 New Revision: 283363 URL: https://svnweb.freebsd.org/changeset/base/283363 Log: Rework the PSCI cpu on code to allow it to work before device drivers have started. This allows this functions to be used with the regular ARM SMP initialisation

svn commit: r283362 - head/sys/arm/qemu

2015-05-24 Thread Andrew Turner
Author: andrew Date: Sun May 24 11:04:45 2015 New Revision: 283362 URL: https://svnweb.freebsd.org/changeset/base/283362 Log: Include the ofw cpu driver. This allows us to get a list of cpus enabled by qemu, however we may not be running on them. Modified: head/sys/arm/qemu/files.qemu

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

2015-05-24 Thread Andrew Turner
Author: andrew Date: Sun May 24 12:12:01 2015 New Revision: 283365 URL: https://svnweb.freebsd.org/changeset/base/283365 Log: Add more cp15_ functions, and use them in cpufunc.c where possible. Modified: head/sys/arm/arm/cpufunc.c head/sys/arm/include/cpu-v6.h

svn commit: r283367 - in head/sys/arm: conf qemu

2015-05-24 Thread Andrew Turner
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/qemu/virt_mp.c Sun May 24 12:33:12 2015(r283367) @@ -0,0 +1,119 @@ +/*- + * Copyright (c) 2015 Andrew Turner + * All rights reserved. + * + * Redistribution and use in source and binary forms

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

2015-05-24 Thread Andrew Turner
Author: andrew Date: Sun May 24 12:20:11 2015 New Revision: 283366 URL: https://svnweb.freebsd.org/changeset/base/283366 Log: Remove trailing whitespace from sys/arm/arm Modified: head/sys/arm/arm/bcopyinout.S head/sys/arm/arm/bcopyinout_xscale.S head/sys/arm/arm/blockio.S

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

2015-05-24 Thread Andrew Turner
Author: andrew Date: Sun May 24 16:11:30 2015 New Revision: 283426 URL: https://svnweb.freebsd.org/changeset/base/283426 Log: Add support for getting the memory map from EFI if it has been pased in by loader.efi. Modified: head/sys/arm/arm/machdep.c head/sys/arm/conf/VIRT

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

2015-05-23 Thread Andrew Turner
Author: andrew Date: Sat May 23 22:28:59 2015 New Revision: 283331 URL: https://svnweb.freebsd.org/changeset/base/283331 Log: Use the wait-for-event instruction to put the core we have just enabled to sleep while it waits to start scheduling. The boot core can then use the send-event

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

2015-05-23 Thread Andrew Turner
Author: andrew Date: Sat May 23 23:08:16 2015 New Revision: 283337 URL: https://svnweb.freebsd.org/changeset/base/283337 Log: Fix a lock up where we enter swapper() with interrupts disabled. In smp_rendezvous_cpus we expect to wait for all cpus to enter smp_rendezvous_action. If we call

svn commit: r283314 - in head/sys/arm/ti/omap4: . pandaboard

2015-05-23 Thread Andrew Turner
Author: andrew Date: Sat May 23 14:48:03 2015 New Revision: 283314 URL: https://svnweb.freebsd.org/changeset/base/283314 Log: Remove an unused header. Deleted: head/sys/arm/ti/omap4/omap4var.h Modified: head/sys/arm/ti/omap4/pandaboard/pandaboard.c Modified:

Re: svn commit: r283275 - head/sys/dev/fdt

2015-05-22 Thread Andrew Turner
On Fri, 22 May 2015 02:00:45 + (UTC) Oleksandr Tymoshenko go...@freebsd.org wrote: Author: gonzo Date: Fri May 22 02:00:44 2015 New Revision: 283275 URL: https://svnweb.freebsd.org/changeset/base/283275 Log: Add helper method fdt_find_child to make access to child nodes easier.

svn commit: r283287 - head/sys/arm/ti/cpsw

2015-05-22 Thread Andrew Turner
Author: andrew Date: Fri May 22 14:25:23 2015 New Revision: 283287 URL: https://svnweb.freebsd.org/changeset/base/283287 Log: Add a miibus_statchg and use it to enable Gigabit mode when appropriate. MFC after:1 week Modified: head/sys/arm/ti/cpsw/if_cpsw.c Modified:

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

2015-05-18 Thread Andrew Turner
Author: andrew Date: Mon May 18 08:12:08 2015 New Revision: 283052 URL: https://svnweb.freebsd.org/changeset/base/283052 Log: Clean up the style to be includespacetab and remove options already in std.armv6. Modified: head/sys/arm/conf/ALPINE Modified: head/sys/arm/conf/ALPINE

svn commit: r283057 - in head/sys: arm/amlogic/aml8726 arm/conf conf

2015-05-18 Thread Andrew Turner
Author: andrew Date: Mon May 18 11:04:07 2015 New Revision: 283057 URL: https://svnweb.freebsd.org/changeset/base/283057 Log: Clean up the Amlogic interrupt controller driver to handle the case where we have both the Amlogic pic and a GIC. This may be the case in some configurations.

Re: svn commit: r282415 - head/usr.sbin/ntp

2015-05-17 Thread Andrew Turner
On Mon, 4 May 2015 12:42:53 + (UTC) Cy Schubert c...@freebsd.org wrote: Author: cy Date: Mon May 4 12:42:52 2015 New Revision: 282415 URL: https://svnweb.freebsd.org/changeset/base/282415 Log: Restore CPU dependent compile time conditionals. MFC after: 1 month (with r281143

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

2015-05-17 Thread Andrew Turner
Author: andrew Date: Sun May 17 18:35:58 2015 New Revision: 283034 URL: https://svnweb.freebsd.org/changeset/base/283034 Log: Clean up struct syscall_args: 1. Align to a 64-bit address so 64-bit data will be correctly aligned. 2. Add a comment explaining why. 3. Remove an unneeded

svn commit: r282896 - head/sys/boot/efi/loader/arch/arm

2015-05-14 Thread Andrew Turner
Author: andrew Date: Thu May 14 12:43:39 2015 New Revision: 282896 URL: https://svnweb.freebsd.org/changeset/base/282896 Log: Remove OUTPUT_FORMAT from theARM EFI linker script, it breaks building for big-endian arm. Modified: head/sys/boot/efi/loader/arch/arm/ldscript.arm Modified:

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

2015-05-13 Thread Andrew Turner
Author: andrew Date: Wed May 13 16:02:55 2015 New Revision: 282864 URL: https://svnweb.freebsd.org/changeset/base/282864 Log: Use the correct node wen reading the compatible property. Modified: head/sys/dev/ofw/ofw_bus_subr.c Modified: head/sys/dev/ofw/ofw_bus_subr.c

svn commit: r282816 - in head/lib/libc/arm: . aeabi gen

2015-05-12 Thread Andrew Turner
Author: andrew Date: Tue May 12 10:03:14 2015 New Revision: 282816 URL: https://svnweb.freebsd.org/changeset/base/282816 Log: Teach bits of libc about Thumb. This adds the if-then instructions needed to handle the ARM conditional execution. While here fix a bug found by this in the

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

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 08:57:23 2015 New Revision: 282763 URL: https://svnweb.freebsd.org/changeset/base/282763 Log: Move to use __ARM_ARCH in more places in the kernel. Modified: head/sys/arm/arm/fusu.S head/sys/arm/arm/stdatomic.c Modified: head/sys/arm/arm/fusu.S

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

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 08:51:24 2015 New Revision: 282762 URL: https://svnweb.freebsd.org/changeset/base/282762 Log: Use the ACLE spelling of _ARM_ARCH_6: __ARM_ARCH = 6 Modified: head/sys/arm/arm/swtch.S Modified: head/sys/arm/arm/swtch.S

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

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 12:44:02 2015 New Revision: 282767 URL: https://svnweb.freebsd.org/changeset/base/282767 Log: cpu-v6.h should only be used in the kernel, add an error to enforce this. Modified: head/sys/arm/include/cpu-v6.h Modified: head/sys/arm/include/cpu-v6.h

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

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 14:10:54 2015 New Revision: 282770 URL: https://svnweb.freebsd.org/changeset/base/282770 Log: Add ofw_bus_find_compatible to find a compatible ofw node. This will be used on ARM to help find the correct node to use to start secondary CPUs as this happens

Re: svn commit: r282770 - head/sys/dev/ofw

2015-05-11 Thread Andrew Turner
On Mon, 11 May 2015 14:10:55 + (UTC) Andrew Turner and...@freebsd.org wrote: Author: andrew Date: Mon May 11 14:10:54 2015 New Revision: 282770 URL: https://svnweb.freebsd.org/changeset/base/282770 Log: Add ofw_bus_find_compatible to find a compatible ofw node. This will be used

svn commit: r282771 - head/sys/dev/acpica

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 14:36:34 2015 New Revision: 282771 URL: https://svnweb.freebsd.org/changeset/base/282771 Log: Hide code only used on i386 and amd64. Modified: head/sys/dev/acpica/acpi_cpu.c Modified: head/sys/dev/acpica/acpi_cpu.c

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

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 15:47:55 2015 New Revision: 282773 URL: https://svnweb.freebsd.org/changeset/base/282773 Log: Add the ofw_bus_subr.h change missed in r282770. Modified: head/sys/dev/ofw/ofw_bus_subr.h Modified: head/sys/dev/ofw/ofw_bus_subr.h

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

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 18:52:06 2015 New Revision: 282776 URL: https://svnweb.freebsd.org/changeset/base/282776 Log: List both registers to use in the 64-bit atomic instructions. We will need these to build for Thumb-2. Modified: head/sys/arm/include/atomic.h Modified:

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

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 19:04:32 2015 New Revision: 282778 URL: https://svnweb.freebsd.org/changeset/base/282778 Log: Mark thumb entry points as such when building for thumb, otherwise mark them as arm. Modified: head/sys/arm/include/asm.h Modified: head/sys/arm/include/asm.h

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

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 19:00:02 2015 New Revision: 282777 URL: https://svnweb.freebsd.org/changeset/base/282777 Log: Use the Thumb compliant version of the add instruction. We can only use add Rd, Rn, Rm from within an IT (if-then) block. Modified: head/sys/arm/include/asm.h

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

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 19:20:30 2015 New Revision: 282779 URL: https://svnweb.freebsd.org/changeset/base/282779 Log: Add the kernel support for Thumb-2. It is only supported on ARMv7 as the main ARMv6 target, the Raspberry Pi, doesn't support Thumb-2. This as been tested with a

svn commit: r282782 - head/lib/libc/arm/sys

2015-05-11 Thread Andrew Turner
Author: andrew Date: Mon May 11 20:33:46 2015 New Revision: 282782 URL: https://svnweb.freebsd.org/changeset/base/282782 Log: Use the GOT_* macros to help simplify the code, these work with both pic and non-pic code, and to build for Thumb. Modified: head/lib/libc/arm/sys/brk.S

svn commit: r282723 - in head/sys/arm: altera/socfpga amlogic/aml8726 conf freescale/imx freescale/vybrid rockchip samsung/exynos ti/omap4 xilinx

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 12:13:27 2015 New Revision: 282723 URL: https://svnweb.freebsd.org/changeset/base/282723 Log: Use the new gic option on all configs that need it. Modified: head/sys/arm/altera/socfpga/files.socfpga head/sys/arm/amlogic/aml8726/files.aml8726

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

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 09:23:49 2015 New Revision: 282714 URL: https://svnweb.freebsd.org/changeset/base/282714 Log: First pass clenup over the Marvell db-88f6xxx kernel configs. Modified: head/sys/arm/conf/DB-88F6XXX head/sys/arm/conf/DOCKSTAR head/sys/arm/conf/DREAMPLUG-1001

svn commit: r282707 - head/sys/arm/allwinner

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 08:48:00 2015 New Revision: 282707 URL: https://svnweb.freebsd.org/changeset/base/282707 Log: Clean up the style to use optionsspacetab. Modified: head/sys/arm/allwinner/std.a10 Modified: head/sys/arm/allwinner/std.a10

svn commit: r282715 - in head/sys: arm/allwinner/a20 arm/conf conf

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 09:33:03 2015 New Revision: 282715 URL: https://svnweb.freebsd.org/changeset/base/282715 Log: Add the gic to files.arm under device gic and use it with the CUBIEBOARD2 config. This is common across a few SoCs so should be a common option. Modified:

svn commit: r282717 - in head/sys/arm: conf qemu

2015-05-10 Thread Andrew Turner
Author: andrew Date: Sun May 10 09:37:54 2015 New Revision: 282717 URL: https://svnweb.freebsd.org/changeset/base/282717 Log: Use the new gic option. While here remove extra whitespace from the ned of a few lines. Modified: head/sys/arm/conf/VIRT head/sys/arm/qemu/files.qemu Modified:

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

2015-05-09 Thread Andrew Turner
Author: andrew Date: Sat May 9 21:24:55 2015 New Revision: 282694 URL: https://svnweb.freebsd.org/changeset/base/282694 Log: Pass over the at91 kernels to reduce the diff between them. Modified: head/sys/arm/conf/BWCT head/sys/arm/conf/EB9200 head/sys/arm/conf/ETHERNUT5

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

2015-05-07 Thread Andrew Turner
Author: andrew Date: Thu May 7 12:38:23 2015 New Revision: 282576 URL: https://svnweb.freebsd.org/changeset/base/282576 Log: Clean up the ARM kernel configs to use 'includespacetabfile'. Modified: head/sys/arm/conf/AML8726 head/sys/arm/conf/APALIS-IMX6 head/sys/arm/conf/ARMADAXP

svn commit: r282538 - head/sys/dev/acpica

2015-05-06 Thread Andrew Turner
Author: andrew Date: Wed May 6 14:14:14 2015 New Revision: 282538 URL: https://svnweb.freebsd.org/changeset/base/282538 Log: AcpiGbl_FACS will not be defined when building using the reduced hardware model. This may be the case on ARM. Modified: head/sys/dev/acpica/acpi.c Modified:

svn commit: r282537 - head/sys/dev/acpica

2015-05-06 Thread Andrew Turner
Author: andrew Date: Wed May 6 14:09:54 2015 New Revision: 282537 URL: https://svnweb.freebsd.org/changeset/base/282537 Log: If the power management timer is unsupported the PmTimerLength value will be zero. Modified: head/sys/dev/acpica/acpi_timer.c Modified:

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

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 14:17:15 2015 New Revision: 282483 URL: https://svnweb.freebsd.org/changeset/base/282483 Log: Update the comment on what CPUs this driver supports. Modified: head/sys/arm/arm/generic_timer.c Modified: head/sys/arm/arm/generic_timer.c

svn commit: r282484 - head/sys/conf

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 14:19:22 2015 New Revision: 282484 URL: https://svnweb.freebsd.org/changeset/base/282484 Log: Add DEV_ACPI to opt_acpi.h to be used to detect when ACPI is enabled in the kernel. Modified: head/sys/conf/options Modified: head/sys/conf/options

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

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 17:59:02 2015 New Revision: 282502 URL: https://svnweb.freebsd.org/changeset/base/282502 Log: Move the first batch of common armv6 options to std.armv6. Modified: head/sys/arm/conf/AML8726 head/sys/arm/conf/ARMADAXP head/sys/arm/conf/BEAGLEBONE

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

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 18:04:47 2015 New Revision: 282503 URL: https://svnweb.freebsd.org/changeset/base/282503 Log: The VIRT kernel config targets armv6. Modified: head/sys/arm/conf/VIRT Modified: head/sys/arm/conf/VIRT

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

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 18:29:51 2015 New Revision: 282504 URL: https://svnweb.freebsd.org/changeset/base/282504 Log: Start to reduce the diff between the Atmel kernel configs. Modified: head/sys/arm/conf/ATMEL head/sys/arm/conf/SAM9260EK head/sys/arm/conf/SAM9G20EK Modified:

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

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 10:35:29 2015 New Revision: 282471 URL: https://svnweb.freebsd.org/changeset/base/282471 Log: Copy new attribute types when linking. bfd will copy attributes as needed, however it will fail to output them if the type is not set correctly. This can happen when

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