svn commit: r281048 - in head/contrib/binutils: bfd include/elf

2015-04-03 Thread Andrew Turner
Author: andrew Date: Fri Apr 3 19:33:26 2015 New Revision: 281048 URL: https://svnweb.freebsd.org/changeset/base/281048 Log: More ARM EABI object attributes in binutils. This adds support to binutils to include the Unaligned Access and Floating-point Half-precision attributes. the former ma

Re: svn commit: r281048 - in head/contrib/binutils: bfd include/elf

2015-04-03 Thread Andrew Turner
On Fri, 3 Apr 2015 19:33:27 + (UTC) Andrew Turner wrote: > Author: andrew > Date: Fri Apr 3 19:33:26 2015 > New Revision: 281048 > URL: https://svnweb.freebsd.org/changeset/base/281048 > > Log: > More ARM EABI object attributes in binutils. This adds support to This

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

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 09:07:31 2015 New Revision: 281072 URL: https://svnweb.freebsd.org/changeset/base/281072 Log: Add support for arm64 to the existing arm generic timer driver: - Add macros to handle the differences in accessing these registers on arm and arm64. - Use the

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

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 09:21:56 2015 New Revision: 281073 URL: https://svnweb.freebsd.org/changeset/base/281073 Log: Use OF_getencprop over OF_getprop and fdt32_to_cpu. The latter may give us the wrong data in the failure case if shift was not zero. Sponsored by: The FreeBSD Foun

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

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 09:57:52 2015 New Revision: 281074 URL: https://svnweb.freebsd.org/changeset/base/281074 Log: Remove the extra copy of uart_fdt_get_clock and uart_fdt_get_shift. While here also use OF_getencprop in uart_fdt_get_clock. Sponsored by: The FreeBSD Foundation

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

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 18:45:25 2015 New Revision: 281077 URL: https://svnweb.freebsd.org/changeset/base/281077 Log: Move uart_fdt_get_clock and uart_fdt_get_shift to uart_bus_fdt.c, we may not build uart_cpu_fdt.c in all configs. Modified: head/sys/dev/uart/uart_bus_fdt.c head/s

svn commit: r281085 - in head/sys/arm: allwinner allwinner/a20 altera/socfpga broadcom/bcm2835 freescale/imx freescale/vybrid mv rockchip ti ti/am335x versatile

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 21:34:26 2015 New Revision: 281085 URL: https://svnweb.freebsd.org/changeset/base/281085 Log: Stop using machine/fdt.h in the arm kernel code when we don't need it. Modified: head/sys/arm/allwinner/a10_clk.c head/sys/arm/allwinner/a10_common.c head/sys/arm/

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

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 22:05:43 2015 New Revision: 281087 URL: https://svnweb.freebsd.org/changeset/base/281087 Log: Move the definition of fdt_localbus_devmap to a Marvell specific file as it's only used there. Modified: head/sys/arm/include/fdt.h head/sys/arm/mv/mv_localbus.c

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

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 22:22:04 2015 New Revision: 281089 URL: https://svnweb.freebsd.org/changeset/base/281089 Log: Don't include unneeded files in the arm machine/fdt.h. While here, remove it from more files. Modified: head/sys/arm/arm/intr.c head/sys/arm/arm/mpcore_timer.c h

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

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 23:00:37 2015 New Revision: 281091 URL: https://svnweb.freebsd.org/changeset/base/281091 Log: Include machine/intr.h for arm_post_filter. Modified: head/sys/arm/at91/at91_common.c Modified: head/sys/arm/at91/at91_common.c ==

svn commit: r281092 - in head/sys/arm: allwinner/a20 altera/socfpga amlogic/aml8726 broadcom/bcm2835 freescale/imx freescale/vybrid mv/armadaxp rockchip samsung/exynos ti/omap4 versatile xilinx

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 23:03:11 2015 New Revision: 281092 URL: https://svnweb.freebsd.org/changeset/base/281092 Log: Include vm/pmap.h for pmap_kextract. Modified: head/sys/arm/allwinner/a20/a20_mp.c head/sys/arm/altera/socfpga/socfpga_mp.c head/sys/arm/amlogic/aml8726/aml8726_fb

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

2015-04-04 Thread Andrew Turner
Author: andrew Date: Sat Apr 4 23:10:13 2015 New Revision: 281093 URL: https://svnweb.freebsd.org/changeset/base/281093 Log: Re-add machine/bus.h to machine/fdt.h on arm, it's still needed. Modified: head/sys/arm/include/fdt.h Modified: head/sys/arm/include/fdt.h ===

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

2015-04-05 Thread Andrew Turner
Author: andrew Date: Sun Apr 5 09:50:22 2015 New Revision: 281106 URL: https://svnweb.freebsd.org/changeset/base/281106 Log: dev/ofw/openfirm.h is not needed in the arm machine/fdt.h Modified: head/sys/arm/include/fdt.h Modified: head/sys/arm/include/fdt.h ==

svn commit: r281114 - in head/sys/boot/efi: . loader

2015-04-05 Thread Andrew Turner
Author: andrew Date: Sun Apr 5 18:37:39 2015 New Revision: 281114 URL: https://svnweb.freebsd.org/changeset/base/281114 Log: Add FDT support to loader.efi. This will be used on arm and arm64. Differential Revision:https://reviews.freebsd.org/D2219 Modified: head/sys/boot/efi/Mak

svn commit: r281115 - head/sys/boot/efi

2015-04-05 Thread Andrew Turner
Author: andrew Date: Sun Apr 5 18:42:43 2015 New Revision: 281115 URL: https://svnweb.freebsd.org/changeset/base/281115 Log: Spell MACHINE_CPUARCH correctly Modified: head/sys/boot/efi/Makefile Modified: head/sys/boot/efi/Makefile

svn commit: r281117 - head/sys/boot/efi/boot1

2015-04-05 Thread Andrew Turner
Author: andrew Date: Sun Apr 5 18:57:58 2015 New Revision: 281117 URL: https://svnweb.freebsd.org/changeset/base/281117 Log: Move boot1.efi to the global CLEANFILES list, it's not x86 specific. Modified: head/sys/boot/efi/boot1/Makefile Modified: head/sys/boot/efi/boot1/Makefile ===

svn commit: r281141 - head/etc

2015-04-06 Thread Andrew Turner
Author: andrew Date: Mon Apr 6 08:37:40 2015 New Revision: 281141 URL: https://svnweb.freebsd.org/changeset/base/281141 Log: Respect DESTDIR when creating the directory structure when NO_ROOT is set. Reviewed by: bapt MFC after:1 Week Modified: head/etc/Makefile Modified: head/e

svn commit: r281156 - in head/sys: arm/include boot/efi boot/efi/boot1 boot/efi/include/arm boot/efi/loader boot/efi/loader/arch/arm

2015-04-06 Thread Andrew Turner
+ case R_ARM_RELATIVE: + /* Address relative to the base address. */ + newaddr = (unsigned long *)(ImageBase + rel->r_offset); + *newaddr += ImageBase; + break; + default: + /* XXX: do we need other relocations ? */ +

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

2015-04-06 Thread Andrew Turner
Author: andrew Date: Mon Apr 6 16:27:22 2015 New Revision: 281157 URL: https://svnweb.freebsd.org/changeset/base/281157 Log: Split out the _acq and _rel functions. These were the same, but there is no need for them to be this strong, we only need to provide one or the other. While here

svn commit: r281169 - head/sys/boot/efi/boot1

2015-04-06 Thread Andrew Turner
Author: andrew Date: Mon Apr 6 19:58:28 2015 New Revision: 281169 URL: https://svnweb.freebsd.org/changeset/base/281169 Log: Make global variabled only used in this file static. Modified: head/sys/boot/efi/boot1/boot1.c Modified: head/sys/boot/efi/boot1/boot1.c =

svn commit: r281197 - in head: lib/libc lib/libc/aarch64 lib/libc/aarch64/gen lib/libc/aarch64/sys lib/libc/gen lib/libc/xdr lib/libstand share/mk

2015-04-07 Thread Andrew Turner
=== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/aarch64/SYS.h Tue Apr 7 09:52:14 2015(r281197) @@ -0,0 +1,63 @@ +/*- + * Copyright (c) 2014 Andrew Turner + * Copyright (c) 2015 The FreeBSD

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

2015-04-07 Thread Andrew Turner
Author: andrew Date: Tue Apr 7 12:42:06 2015 New Revision: 281200 URL: https://svnweb.freebsd.org/changeset/base/281200 Log: Fix uart_fdt_get_clock. It should have beed using the cell variable passed in, not value on the stack. Modified: head/sys/dev/uart/uart_bus_fdt.c Modified: head/sys

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

2015-04-07 Thread Andrew Turner
Author: andrew Date: Tue Apr 7 13:17:28 2015 New Revision: 281201 URL: https://svnweb.freebsd.org/changeset/base/281201 Log: We will have fueword on arm64, mark as such in machine/param.h. Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/include/param.h Modified: head/sys/

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

2015-04-07 Thread Andrew Turner
Author: andrew Date: Tue Apr 7 15:12:03 2015 New Revision: 281204 URL: https://svnweb.freebsd.org/changeset/base/281204 Log: Get the fdt uart driver working on arm64, there is no machine/fdt.h, and the default shift should be 2 for the SoCs we support. Sponsored by: The FreeBSD Foundatio

svn commit: r281307 - head/sys/boot/efi/boot1

2015-04-09 Thread Andrew Turner
Author: andrew Date: Thu Apr 9 10:15:47 2015 New Revision: 281307 URL: https://svnweb.freebsd.org/changeset/base/281307 Log: Print error values with hex to make it easier to find the EFI error type. Modified: head/sys/boot/efi/boot1/boot1.c Modified: head/sys/boot/efi/boot1/boot1.c

svn commit: r281300 - head/sys/boot/efi/boot1

2015-04-09 Thread Andrew Turner
Author: andrew Date: Thu Apr 9 10:08:10 2015 New Revision: 281300 URL: https://svnweb.freebsd.org/changeset/base/281300 Log: Only use -fPIC when building boot1.efi for x86. Sponsored by: The FreeBSD Foundation Modified: head/sys/boot/efi/boot1/Makefile Modified: head/sys/boot/efi/boot1

svn commit: r281297 - head/sys/boot/ficl/aarch64

2015-04-09 Thread Andrew Turner
Author: andrew Date: Thu Apr 9 10:00:26 2015 New Revision: 281297 URL: https://svnweb.freebsd.org/changeset/base/281297 Log: Add the arm64 machine dependent parts of ficl. This is not machine dependent, as most copies of these files are identical, but unfortunately this is still needed.

svn commit: r281308 - head/sys/sys

2015-04-09 Thread Andrew Turner
Author: andrew Date: Thu Apr 9 10:28:05 2015 New Revision: 281308 URL: https://svnweb.freebsd.org/changeset/base/281308 Log: Add R_AARCH64_NONE, the null relocation. Modified: head/sys/sys/elf_common.h Modified: head/sys/sys/elf_common.h =

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

2015-04-11 Thread Andrew Turner
Author: andrew Date: Sat Apr 11 10:07:58 2015 New Revision: 281431 URL: https://svnweb.freebsd.org/changeset/base/281431 Log: Update the arm efi ldscript to generate a valid efi binary Modified: head/sys/boot/efi/loader/arch/arm/ldscript.arm Modified: head/sys/boot/efi/loader/arch/arm/ldscri

svn commit: r281433 - in head/sys/boot/efi/loader: . arch/amd64 arch/arm arch/i386

2015-04-11 Thread Andrew Turner
Author: andrew Date: Sat Apr 11 10:21:26 2015 New Revision: 281433 URL: https://svnweb.freebsd.org/changeset/base/281433 Log: Move reloc.c to the top level Makefile as it has become generic. Modified: head/sys/boot/efi/loader/Makefile head/sys/boot/efi/loader/arch/amd64/Makefile.inc head/

svn commit: r281434 - in head/sys/boot/efi/loader: . arch/amd64 arch/i386

2015-04-11 Thread Andrew Turner
Author: andrew Date: Sat Apr 11 10:36:48 2015 New Revision: 281434 URL: https://svnweb.freebsd.org/changeset/base/281434 Log: Only add -fPIC to CFLAGS and -Wl,-znocombreloc to LDFLAGS on x86, they shouldn't be used on arm. Modified: head/sys/boot/efi/loader/Makefile head/sys/boot/efi/load

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

2015-04-11 Thread Andrew Turner
Author: andrew Date: Sat Apr 11 11:00:53 2015 New Revision: 281435 URL: https://svnweb.freebsd.org/changeset/base/281435 Log: Add fdt support to the arm loader.efi Modified: head/sys/boot/efi/loader/arch/arm/Makefile.inc Modified: head/sys/boot/efi/loader/arch/arm/Makefile.inc ==

svn commit: r281438 - in head/sys: arm/amlogic/aml8726 arm/freescale/vybrid arm/samsung/exynos arm/samsung/s3c2xx0 dev/uart mips/adm5120 mips/atheros mips/cavium mips/rt305x sparc64/pci

2015-04-11 Thread Andrew Turner
Author: andrew Date: Sat Apr 11 17:16:23 2015 New Revision: 281438 URL: https://svnweb.freebsd.org/changeset/base/281438 Log: Add support for the uart classes to set their default register shift value. This is needed with the pl011 driver. Before this change it would default to a shift of 0,

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

2015-04-11 Thread Andrew Turner
Added: head/sys/arm/qemu/virt_common.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/qemu/virt_common.c Sat Apr 11 17:52:47 2015 (r281439) @@ -0,0 +1,45 @@ +/*- + * Copyright (c) 2015 Andrew Turner + * All

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

2015-04-11 Thread Andrew Turner
Author: andrew Date: Sat Apr 11 20:44:21 2015 New Revision: 281443 URL: https://svnweb.freebsd.org/changeset/base/281443 Log: Change the virtual address used to not be 0xc000, the arm loader doesn't handle this address. Modified: head/sys/arm/qemu/std.virt Modified: head/sys/arm/qemu/s

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

2015-04-12 Thread Andrew Turner
Author: andrew Date: Sun Apr 12 08:10:18 2015 New Revision: 281459 URL: https://svnweb.freebsd.org/changeset/base/281459 Log: Switch to the new v6 pmap code to increase its testing. It will now be built as part of universe. Modified: head/sys/arm/conf/VIRT Modified: head/sys/arm/conf/VIRT

svn commit: r281466 - in head/sys: arm/conf conf dev/psci

2015-04-12 Thread Andrew Turner
INOR(v) ((v) & 0xFF) + +enum psci_fn { + PSCI_FN_VERSION, + PSCI_FN_CPU_SUSPEND, + PSCI_FN_CPU_OFF, + PSCI_FN_CPU_ON, + PSCI_FN_AFFINITY_INFO, + PSCI_FN_MIGRATE, + PSCI_FN_MIGRATE_INFO_TYPE, + PSCI_FN_MIGRATE_INFO_UP_CPU, + PSC

Re: svn commit: r281307 - head/sys/boot/efi/boot1

2015-04-13 Thread Andrew Turner
On Thu, 9 Apr 2015 21:38:02 +1000 (EST) Bruce Evans wrote: > On Thu, 9 Apr 2015, Andrew Turner wrote: > > > Log: > > Print error values with hex to make it easier to find the EFI > > error type. > > > > Modified: > > head/sys/boot/efi/boot1/boot1.c

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

2015-04-13 Thread Andrew Turner
Author: andrew Date: Mon Apr 13 13:21:27 2015 New Revision: 281493 URL: https://svnweb.freebsd.org/changeset/base/281493 Log: Update the arm devmap code to also work with arm64. There are a few differences between the two. On arm we need to provide a list of addresses we may be mapping be

svn commit: r281494 - in head/sys: arm64/arm64 arm64/conf arm64/include conf dev/fdt sys

2015-04-13 Thread Andrew Turner
2015 (r281494) @@ -0,0 +1,90 @@ +/*- + * 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, with or without

svn commit: r281496 - in head/sys/boot/efi: boot1 loader

2015-04-13 Thread Andrew Turner
Author: andrew Date: Mon Apr 13 16:00:09 2015 New Revision: 281496 URL: https://svnweb.freebsd.org/changeset/base/281496 Log: Create the correct symlinks for the machine directory, and only create the x86 symlink on i386 and amd64. Before this incorrect symlinks were being created on armi an

svn commit: r281497 - in head/sys: arm64/conf conf dev/psci

2015-04-13 Thread Andrew Turner
(r281497) @@ -0,0 +1,49 @@ +/*- + * Copyright (c) 2013, 2014 Robin Randhawa + * 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 a

svn commit: r281522 - head/usr.bin

2015-04-14 Thread Andrew Turner
Author: andrew Date: Tue Apr 14 10:15:58 2015 New Revision: 281522 URL: https://svnweb.freebsd.org/changeset/base/281522 Log: Disable truss, gprof, and lint on arm64, they don't build. Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile =

svn commit: r281524 - in head/sys/boot/efi: boot1 fdt libefi loader

2015-04-14 Thread Andrew Turner
Author: andrew Date: Tue Apr 14 10:40:37 2015 New Revision: 281524 URL: https://svnweb.freebsd.org/changeset/base/281524 Log: Use MACHINE in the efi loader when it is what we mean, it may not be the same as MACHINE_CPUARCH, it just happened to be the case the architectures this code currentl

svn commit: r281525 - head/sys/boot/efi/fdt

2015-04-14 Thread Andrew Turner
Author: andrew Date: Tue Apr 14 10:41:57 2015 New Revision: 281525 URL: https://svnweb.freebsd.org/changeset/base/281525 Log: Fix the arm64 MACHINE_CPUARCH value in the efi fdt glue code. Sponsored by: The FreeBSD Foundation Modified: head/sys/boot/efi/fdt/Makefile Modified: head/sys/bo

svn commit: r281526 - in head/sys: arm64/include boot boot/arm64 boot/arm64/libarm64 boot/common boot/efi boot/efi/boot1 boot/efi/include/arm64 boot/efi/loader boot/efi/loader/arch/arm64

2015-04-14 Thread Andrew Turner
*(.rela.sdata .rela.sdata.* .rela.gnu.linkonce.s.*) +*(.rela.sbss .rela.sbss.* .rela.gnu.linkonce.sb.*) +*(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*) +*(.rela.sbss2 .rela.sbss2.* .rela.gnu.linkonce.sb2.*) +*(.rela.bss .rela.bss.* .rela.gnu.linkonce.b.*) + *(.rela.plt) +*(.relset_*) +

Re: svn commit: r281526 - in head/sys: arm64/include boot boot/arm64 boot/arm64/libarm64 boot/common boot/efi boot/efi/boot1 boot/efi/include/arm64 boot/efi/loader boot/efi/loader/arch/arm64

2015-04-14 Thread Andrew Turner
On Tue, 14 Apr 2015 13:55:02 + (UTC) Andrew Turner wrote: > Author: andrew > Date: Tue Apr 14 13:55:01 2015 > New Revision: 281526 > URL: https://svnweb.freebsd.org/changeset/base/281526 > > Log: > Add support for arm64 to loader.efi and boot1.efi > >

svn commit: r281527 - in head/sys/boot: . efi/loader/arch/arm

2015-04-14 Thread Andrew Turner
Author: andrew Date: Tue Apr 14 14:15:14 2015 New Revision: 281527 URL: https://svnweb.freebsd.org/changeset/base/281527 Log: * Remove the wfi when the efi loader returns, it's unneeded and is not available on older designs. * Enable the efi loader on arm Modified: head/sys/boot/Makefil

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

2015-04-15 Thread Andrew Turner
Author: andrew Date: Wed Apr 15 14:18:25 2015 New Revision: 281554 URL: https://svnweb.freebsd.org/changeset/base/281554 Log: Ensure the userland thread and floating-point state has been saved before copying the pcb. These values may have been changed just before the call to fork and without

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

2015-04-15 Thread Andrew Turner
Author: andrew Date: Wed Apr 15 14:20:12 2015 New Revision: 281556 URL: https://svnweb.freebsd.org/changeset/base/281556 Log: Use the correct value to get the offset of the objects tls data. Sponsored by: The FreeBSD Foundation Modified: head/libexec/rtld-elf/aarch64/reloc.c Modified: h

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

2015-04-15 Thread Andrew Turner
Author: andrew Date: Wed Apr 15 14:30:07 2015 New Revision: 281557 URL: https://svnweb.freebsd.org/changeset/base/281557 Log: Enter a critical section when storing the vfp registers, we don't want to be preempted here as this will enter back into this function, but the hardware could be in a

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

2015-04-17 Thread Andrew Turner
Author: andrew Date: Fri Apr 17 09:14:58 2015 New Revision: 281647 URL: https://svnweb.freebsd.org/changeset/base/281647 Log: Use cp15_ifar_get to get the instruction fault address. When using Thumb-2 the instruction may be over two pages so the program counter could point to the wrong page.

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

2015-04-17 Thread Andrew Turner
Author: andrew Date: Fri Apr 17 09:17:35 2015 New Revision: 281648 URL: https://svnweb.freebsd.org/changeset/base/281648 Log: Remove support for reading the syscall code in OABI. This is unneeded now we can only build for EABI. Modified: head/sys/arm/arm/vm_machdep.c Modified: head/sys/arm

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

2015-04-17 Thread Andrew Turner
Author: andrew Date: Fri Apr 17 12:58:09 2015 New Revision: 281654 URL: https://svnweb.freebsd.org/changeset/base/281654 Log: Use the address of fsu_intr_fault, not the first two instructions in it as the address to check if we are handling a trap for fuswintr or suswintr. Sponsored by: T

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

2015-04-22 Thread Andrew Turner
Author: andrew Date: Wed Apr 22 09:52:51 2015 New Revision: 281846 URL: https://svnweb.freebsd.org/changeset/base/281846 Log: Remove the calls to panic from pmap_object_init_pt and pmap_clear_modify. Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/pmap.c Modified: he

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

2015-04-22 Thread Andrew Turner
Author: andrew Date: Wed Apr 22 12:24:38 2015 New Revision: 281850 URL: https://svnweb.freebsd.org/changeset/base/281850 Log: Add the null implementation of stack_save and stack_save_td. Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/stack_machdep.c Modified: head/s

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

2015-04-23 Thread Andrew Turner
Author: andrew Date: Thu Apr 23 20:28:56 2015 New Revision: 281902 URL: https://svnweb.freebsd.org/changeset/base/281902 Log: Update the ODROIDC1 and VSATV102 to reduce the diff to the other armv6 kernel config files. Modified: head/sys/arm/conf/ODROIDC1 head/sys/arm/conf/VSATV102 Modifi

svn commit: r281903 - head/sys/arm/amlogic/aml8726

2015-04-23 Thread Andrew Turner
Author: andrew Date: Thu Apr 23 20:39:40 2015 New Revision: 281903 URL: https://svnweb.freebsd.org/changeset/base/281903 Log: - Move files selected in files.smp to files.aml8726 and remove it. - Remove a redundant file from files.aml8726 Deleted: head/sys/arm/amlogic/aml8726/files.smp Mod

svn commit: r281904 - head/sys/arm/amlogic/aml8726

2015-04-23 Thread Andrew Turner
Author: andrew Date: Thu Apr 23 20:43:24 2015 New Revision: 281904 URL: https://svnweb.freebsd.org/changeset/base/281904 Log: Move KERNVIRTADDR to the common std.aml8726. Modified: head/sys/arm/amlogic/aml8726/std.aml8726 head/sys/arm/amlogic/aml8726/std.odroidc1 head/sys/arm/amlogic/aml8

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

2015-04-23 Thread Andrew Turner
Author: andrew Date: Thu Apr 23 20:53:29 2015 New Revision: 281905 URL: https://svnweb.freebsd.org/changeset/base/281905 Log: Remove the need for board specific std files on aml8726 by moving the options they set to the main kernel config. Deleted: head/sys/arm/amlogic/aml8726/std.odroidc1

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

2015-04-23 Thread Andrew Turner
Author: andrew Date: Thu Apr 23 21:31:06 2015 New Revision: 281906 URL: https://svnweb.freebsd.org/changeset/base/281906 Log: Pull out the common parts of the ODROIDC1 and VSATV102 kernels to a new kernel config. This also removes the per-board config files from universe. Added: head/sys/ar

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

2015-04-23 Thread Andrew Turner
Author: andrew Date: Thu Apr 23 21:39:32 2015 New Revision: 281907 URL: https://svnweb.freebsd.org/changeset/base/281907 Log: Reduce the diff between files.imx51 and files.imx53 Modified: head/sys/arm/freescale/imx/files.imx51 head/sys/arm/freescale/imx/files.imx53 Modified: head/sys/arm/f

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

2015-04-23 Thread Andrew Turner
Author: andrew Date: Thu Apr 23 22:20:43 2015 New Revision: 281909 URL: https://svnweb.freebsd.org/changeset/base/281909 Log: Add the SOC_IMX51, SOC_IMX53, and SOC_IMX6 options. These are used to select which SoCs the kernel config will support. Use these options to merge files.imx51 and

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

2015-04-26 Thread Andrew Turner
Author: andrew Date: Sun Apr 26 11:54:25 2015 New Revision: 282019 URL: https://svnweb.freebsd.org/changeset/base/282019 Log: Use ARMv7 style unaligned access on ARMv6. We set this bit in locore, but it was missing from here. Modified: head/sys/arm/arm/cpufunc.c Modified: head/sys/arm/arm/

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

2015-04-26 Thread Andrew Turner
Author: andrew Date: Sun Apr 26 15:57:02 2015 New Revision: 282023 URL: https://svnweb.freebsd.org/changeset/base/282023 Log: Remove the armv6 code from locore-v4.S, it's not needed there. Modified: head/sys/arm/arm/locore-v4.S Modified: head/sys/arm/arm/locore-v4.S =

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

2015-04-26 Thread Andrew Turner
Author: andrew Date: Sun Apr 26 16:18:41 2015 New Revision: 282024 URL: https://svnweb.freebsd.org/changeset/base/282024 Log: Fix the style of locore-v4.S and locore-v6.S to help find any common code. Modified: head/sys/arm/arm/locore-v4.S head/sys/arm/arm/locore-v6.S Modified: head/sys/ar

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

2015-04-26 Thread Andrew Turner
Author: andrew Date: Sun Apr 26 16:37:27 2015 New Revision: 282025 URL: https://svnweb.freebsd.org/changeset/base/282025 Log: Cleanup a little more: - Remove whitespace at the end of lines - Use a tab after instructions, not spaces Modified: head/sys/arm/arm/locore-v4.S head/sys/arm/a

svn commit: r282083 - head/share/mk

2015-04-27 Thread Andrew Turner
Author: andrew Date: Mon Apr 27 10:19:21 2015 New Revision: 282083 URL: https://svnweb.freebsd.org/changeset/base/282083 Log: Add GCC to the list of broken options on arm64. Modified: head/share/mk/src.opts.mk Modified: head/share/mk/src.opts.mk ==

svn commit: r282091 - in head/lib: libc/tests/sys libthr/tests

2015-04-27 Thread Andrew Turner
Author: andrew Date: Mon Apr 27 13:56:20 2015 New Revision: 282091 URL: https://svnweb.freebsd.org/changeset/base/282091 Log: Disable the tests that use makecontext on arm64, it still needs to be written. Modified: head/lib/libc/tests/sys/Makefile head/lib/libthr/tests/Makefile Modified:

svn commit: r282092 - head/lib/msun/tests

2015-04-27 Thread Andrew Turner
Author: andrew Date: Mon Apr 27 13:57:39 2015 New Revision: 282092 URL: https://svnweb.freebsd.org/changeset/base/282092 Log: Correct the spelling of MACHINE_CPUARCH, MACHINE_CPU is not set on arm64. Modified: head/lib/msun/tests/Makefile Modified: head/lib/msun/tests/Makefile ==

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

2015-04-27 Thread Andrew Turner
Author: andrew Date: Mon Apr 27 15:16:51 2015 New Revision: 282096 URL: https://svnweb.freebsd.org/changeset/base/282096 Log: Return NULL on failure from nexus_alloc_resource as it reutrns a pointer. Modified: head/sys/arm64/arm64/nexus.c Modified: head/sys/arm64/arm64/nexus.c ==

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

2015-04-28 Thread Andrew Turner
Author: andrew Date: Tue Apr 28 16:06:58 2015 New Revision: 282149 URL: https://svnweb.freebsd.org/changeset/base/282149 Log: There may not be an FACS table, check for this before accessing it. Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/acpica/acpi.c Modified: head/sys/

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

2015-04-28 Thread Andrew Turner
Author: andrew Date: Tue Apr 28 16:47:34 2015 New Revision: 282151 URL: https://svnweb.freebsd.org/changeset/base/282151 Log: Fix pmap_dcache_wb_pou in the new armv6 pmap to correctly achieve icache consistency from ptrace. PR: 199739 Submitted by: Jurgen Weiss (original vers

svn commit: r282153 - head/sys/conf

2015-04-28 Thread Andrew Turner
Author: andrew Date: Tue Apr 28 16:51:48 2015 New Revision: 282153 URL: https://svnweb.freebsd.org/changeset/base/282153 Log: Only enable the hpet driver on x86 hardware, it doesn't exist on arm64. Sponsored by: The FreeBSD Foundation Modified: head/sys/conf/files head/sys/conf/files.a

svn commit: r282154 - head/sys/conf

2015-04-28 Thread Andrew Turner
Author: andrew Date: Tue Apr 28 17:02:43 2015 New Revision: 282154 URL: https://svnweb.freebsd.org/changeset/base/282154 Log: Allow the arm64 config file to define SOCDEV_PA and SOCDEV_VA that may be used in locore.S to map an extra range when enabling the MMU. Modified: head/sys/conf/optio

Re: svn commit: r282156 - head

2015-04-28 Thread Andrew Turner
On Tue, 28 Apr 2015 10:53:57 -0700 Garrett Cooper wrote: > > > On Apr 28, 2015, at 10:13, Ed Maste wrote: > > > > Author: emaste > > Date: Tue Apr 28 17:13:05 2015 > > New Revision: 282156 > > URL: https://svnweb.freebsd.org/changeset/base/282156 > > > > Log: > > Don't add arm64 to universe

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

2015-04-29 Thread Andrew Turner
Author: andrew Date: Wed Apr 29 15:00:43 2015 New Revision: 282221 URL: https://svnweb.freebsd.org/changeset/base/282221 Log: Add pmap_mapbios and pmap_unmapbios. These will be needed to support acpi. Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/pmap.c head/sys/a

Re: svn commit: r282221 - in head/sys/arm64: arm64 include

2015-04-29 Thread Andrew Turner
On Wed, 29 Apr 2015 11:33:22 -0400 John Baldwin wrote: > On Wednesday, April 29, 2015 03:00:44 PM Andrew Turner wrote: > > Author: andrew > > Date: Wed Apr 29 15:00:43 2015 > > New Revision: 282221 > > URL: https://svnweb.freebsd.org/changeset/base/282221 > > &g

svn commit: r282470 - head/sys/boot/efi/loader

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 10:32:59 2015 New Revision: 282470 URL: https://svnweb.freebsd.org/changeset/base/282470 Log: When cross-building ${LIBSTAND} may be set to the host copy. Point to the version built with the toolchain. Differential Revision:https://reviews.freebsd.o

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

Re: svn commit: r282470 - head/sys/boot/efi/loader

2015-05-05 Thread Andrew Turner
On Tue, 5 May 2015 10:33:00 + (UTC) Andrew Turner wrote: > Author: andrew > Date: Tue May 5 10:32:59 2015 > New Revision: 282470 > URL: https://svnweb.freebsd.org/changeset/base/282470 > > Log: > When cross-building ${LIBSTAND} may be set to the host copy. Point &

svn commit: r282474 - in head/sys/boot/efi: boot1 libefi loader/arch/arm64

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 11:00:50 2015 New Revision: 282474 URL: https://svnweb.freebsd.org/changeset/base/282474 Log: Disable the use of floating-point and vector registers in the loader. They need the vfp unit to be enabled which may not be the case. Modified: head/sys/boot/efi/boo

svn commit: r282477 - head/sys/boot/efi/loader

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 11:07:43 2015 New Revision: 282477 URL: https://svnweb.freebsd.org/changeset/base/282477 Log: Add FDT to the list of known GUIDs. Modified: head/sys/boot/efi/loader/main.c Modified: head/sys/boot/efi/loader/main.c ==

svn commit: r282480 - in head/sys: arm64/arm64 dev/ofw

2015-05-05 Thread Andrew Turner
Author: andrew Date: Tue May 5 11:13:16 2015 New Revision: 282480 URL: https://svnweb.freebsd.org/changeset/base/282480 Log: Move the point we attach the ofw driver on arm64 to nexus.c. This will allow us to have a single place to decide to use ofw or acpi. Modified: head/sys/arm64/arm64/n

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 head/sys/a

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

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: head/sys/dev/acpica/acpi_tim

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

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 'include"file"'. Modified: head/sys/arm/conf/AML8726 head/sys/arm/conf/APALIS-IMX6 head/sys/arm/conf/ARMADAXP head/sys/arm

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 head/sys/arm/co

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 "options". Modified: head/sys/arm/allwinner/std.a10 Modified: head/sys/arm/allwinner/std.a10 ===

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

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

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 head/sys/arm/con

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

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