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

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

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: 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: r287031 - head/sys/arm64/arm64

2015-08-23 Thread Andrew Turner
Author: andrew Date: Sun Aug 23 13:18:56 2015 New Revision: 287031 URL: https://svnweb.freebsd.org/changeset/base/287031 Log: Handle the breakpoint instruction in userland by sending a SIGTRAP signal. Modified: head/sys/arm64/arm64/trap.c Modified: head/sys/arm64/arm64/trap.c

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

2015-08-23 Thread Andrew Turner
Author: andrew Date: Sun Aug 23 21:10:20 2015 New Revision: 287083 URL: https://svnweb.freebsd.org/changeset/base/287083 Log: Enable KDTRACE_HOOKS by default on all armv6 kernels to get more testing. Modified: head/sys/arm/conf/BEAGLEBONE head/sys/arm/conf/std.armv6 Modified:

svn commit: r287106 - head/lib/libproc

2015-08-24 Thread Andrew Turner
Author: andrew Date: Mon Aug 24 12:17:15 2015 New Revision: 287106 URL: https://svnweb.freebsd.org/changeset/base/287106 Log: Fix libproc on architectures that don't need the program counter to be adjusted. This seems to be the case on all non-x86 architectures libproc supports.

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

2015-08-24 Thread Andrew Turner
Author: andrew Date: Mon Aug 24 17:28:19 2015 New Revision: 287113 URL: https://svnweb.freebsd.org/changeset/base/287113 Log: Check the frame pointer is within the kernel before accessing it. Modified: head/sys/arm64/arm64/unwind.c Modified: head/sys/arm64/arm64/unwind.c

svn commit: r286953 - head/lib/libkvm

2015-08-20 Thread Andrew Turner
Foundation + * Copyright (C) 2006 Bruce M. Simpson. + * Copyright (c) 2015 The FreeBSD Foundation * All rights reserved. * * This software was developed by Andrew Turner under @@ -27,38 +28,78 @@ * SUCH DAMAGE. */ +/* + * arm64 (AArch64) machine dependent routines for kvm. + */ + #include

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

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 12:07:44 2015 New Revision: 286957 URL: https://svnweb.freebsd.org/changeset/base/286957 Log: Remove pmap_kenter from pmap.h, the function doesn't exist. Modified: head/sys/arm64/include/md_var.h head/sys/arm64/include/pmap.h Modified:

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

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 11:26:26 2015 New Revision: 286954 URL: https://svnweb.freebsd.org/changeset/base/286954 Log: Add the arm64 minidump header. This was missed from r286953. Added: head/sys/arm64/include/minidump.h - copied, changed from r286130,

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

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 12:05:42 2015 New Revision: 286956 URL: https://svnweb.freebsd.org/changeset/base/286956 Log: Add pmap_get_tables to get the page tables for a given virtual address. This will be used for minidump support. Obtained from:ABT Systems Ltd Sponsored

svn commit: r286958 - in head/sys: arm64/arm64 vm

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 12:49:56 2015 New Revision: 286958 URL: https://svnweb.freebsd.org/changeset/base/286958 Log: Add the kernel support for minidumps on arm64. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Differential Revision:

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

2015-08-20 Thread Andrew Turner
Author: andrew Date: Thu Aug 20 13:11:52 2015 New Revision: 286959 URL: https://svnweb.freebsd.org/changeset/base/286959 Log: Add the definitions of __infinity and __nan. Added: head/lib/libc/aarch64/gen/infinity.c - copied, changed from r286954, head/lib/libc/amd64/gen/infinity.c

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

2015-08-24 Thread Andrew Turner
Author: andrew Date: Mon Aug 24 10:55:54 2015 New Revision: 287104 URL: https://svnweb.freebsd.org/changeset/base/287104 Log: Add pages used by the PV entries to minidumps. Modified: head/sys/arm64/arm64/pmap.c Modified: head/sys/arm64/arm64/pmap.c

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

2015-08-24 Thread Andrew Turner
Author: andrew Date: Mon Aug 24 12:01:39 2015 New Revision: 287105 URL: https://svnweb.freebsd.org/changeset/base/287105 Log: Add support for pmap_sync_icache on arm64. Reviewed by: emaste, imp (both earlier version) Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD

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: r286127 - head/sys/arm64/include

2015-07-31 Thread Andrew Turner
Author: andrew Date: Fri Jul 31 13:32:25 2015 New Revision: 286127 URL: https://svnweb.freebsd.org/changeset/base/286127 Log: Add VIRT_IN_DMAP to check if a virtual address is from the DMAP range. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

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

2015-07-31 Thread Andrew Turner
Author: andrew Date: Fri Jul 31 13:39:51 2015 New Revision: 286129 URL: https://svnweb.freebsd.org/changeset/base/286129 Log: Add memrw. This has had minimal testing, and will likely panic the kernel when trying to read data from outside the DMAP region. I expect this panic to be from

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

2015-07-31 Thread Andrew Turner
Author: andrew Date: Fri Jul 31 13:34:43 2015 New Revision: 286128 URL: https://svnweb.freebsd.org/changeset/base/286128 Log: Add more atomic_swap_* functions. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/include/atomic.h

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

2015-07-31 Thread Andrew Turner
Author: andrew Date: Fri Jul 31 14:17:26 2015 New Revision: 286130 URL: https://svnweb.freebsd.org/changeset/base/286130 Log: Add support for uma_small_alloc and uma_small_free, and make use of these. This is copied from the amd64 version with minor changes. These should be merged into a

svn commit: r286133 - in head/sys: arm64/arm64 conf

2015-07-31 Thread Andrew Turner
Author: andrew Date: Fri Jul 31 15:32:32 2015 New Revision: 286133 URL: https://svnweb.freebsd.org/changeset/base/286133 Log: Load the stack in stack_save and stack_save_td. This uses the generalised unwind_frame function to read each stack frame until either the pc or stack are no longer

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

2015-07-31 Thread Andrew Turner
Author: andrew Date: Fri Jul 31 15:54:34 2015 New Revision: 286134 URL: https://svnweb.freebsd.org/changeset/base/286134 Log: Try to put the CPU into a low power state if we failed to otherwise halt the system. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation

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

2015-08-03 Thread Andrew Turner
Author: andrew Date: Mon Aug 3 11:05:02 2015 New Revision: 286225 URL: https://svnweb.freebsd.org/changeset/base/286225 Log: Pass the pcb to store the vfp state in to vfp_save_state. This fixes a bug in savectx where it will be used to store the current state however will pass in a pcb

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

2015-07-30 Thread Andrew Turner
Author: andrew Date: Thu Jul 30 16:17:44 2015 New Revision: 286080 URL: https://svnweb.freebsd.org/changeset/base/286080 Log: Add enough of pmap_page_set_memattr to run gstat. It still needs to split the DMAP 1G pages so we set the attributes only on the specified page. Obtained from:

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

2015-08-11 Thread Andrew Turner
Author: andrew Date: Tue Aug 11 12:32:17 2015 New Revision: 286627 URL: https://svnweb.freebsd.org/changeset/base/286627 Log: Check the correct value in db_validate_address, pmap_extract returns 0 on failure. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/arm64/db_interface.c

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

2015-08-11 Thread Andrew Turner
Author: andrew Date: Tue Aug 11 13:42:58 2015 New Revision: 286630 URL: https://svnweb.freebsd.org/changeset/base/286630 Log: Start to support PSCI 1.0. For all the functions we currently support this can be seen as the same as 0.2. There are changes with the data passed to CPU_SUSPEND,

svn commit: r286408 - head/sys/dev/mmc/host

2015-08-07 Thread Andrew Turner
Author: andrew Date: Fri Aug 7 08:57:58 2015 New Revision: 286408 URL: https://svnweb.freebsd.org/changeset/base/286408 Log: Attach dwmmc to the ofwbus, som devicetrees place it here. Sponsored by: ABT Systems Ltd Modified: head/sys/dev/mmc/host/dwmmc.c Modified:

svn commit: r286407 - head/sys/dev/mmc/host

2015-08-07 Thread Andrew Turner
Author: andrew Date: Fri Aug 7 08:54:50 2015 New Revision: 286407 URL: https://svnweb.freebsd.org/changeset/base/286407 Log: Stop including machine/fdt.h, it's unneeded, and purposefully unimplemented on arm64. Sponsored by: ABT Systems Ltd Modified: head/sys/dev/mmc/host/dwmmc.c

svn commit: r286779 - head/contrib/compiler-rt/lib/builtins

2015-08-14 Thread Andrew Turner
Author: andrew Date: Fri Aug 14 14:17:04 2015 New Revision: 286779 URL: https://svnweb.freebsd.org/changeset/base/286779 Log: Use __builtin_clzll to count the leading zero bits, the data is based on long long so __builtin_clz will return an incorrect value. Reviewed by: emaste

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

2015-08-12 Thread Andrew Turner
Author: andrew Date: Wed Aug 12 17:06:22 2015 New Revision: 286674 URL: https://svnweb.freebsd.org/changeset/base/286674 Log: Set the counter-timer virtual offset to a know value, it may not have been set by the boot code and are reset to an implementation defined value that may be unknown.

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

2015-08-12 Thread Andrew Turner
Author: andrew Date: Wed Aug 12 17:09:57 2015 New Revision: 286675 URL: https://svnweb.freebsd.org/changeset/base/286675 Log: Add the CNTHCTL_EL2 register bits missed in r286674 Modified: head/sys/arm64/include/armreg.h Modified: head/sys/arm64/include/armreg.h

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

2015-08-06 Thread Andrew Turner
Author: andrew Date: Thu Aug 6 14:49:23 2015 New Revision: 286366 URL: https://svnweb.freebsd.org/changeset/base/286366 Log: Fill in dump_avail based on the physical memory from EFI. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

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

2015-08-14 Thread Andrew Turner
Author: andrew Date: Fri Aug 14 09:55:25 2015 New Revision: 286768 URL: https://svnweb.freebsd.org/changeset/base/286768 Log: Add support for bus_space_read_region and bus_space_write_region. This is needed for the dwc USB controller driver. Sponsored by: ABT Systems Ltd Modified:

Re: svn commit: r285752 - in head/sys: arm64/arm64 dev/pci

2015-07-21 Thread Andrew Turner
On Tue, 21 Jul 2015 14:47:24 + (UTC) Zbigniew Bodek z...@freebsd.org wrote: Author: zbb Date: Tue Jul 21 14:47:23 2015 New Revision: 285752 URL: https://svnweb.freebsd.org/changeset/base/285752 Log: Add support for vendor specific function for PCI devid acquisition in ITS It is

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

2015-07-21 Thread Andrew Turner
Author: andrew Date: Tue Jul 21 18:08:10 2015 New Revision: 285761 URL: https://svnweb.freebsd.org/changeset/base/285761 Log: Teach the GICv2 driver about the Qualcomm GICv2 compatible string. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

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: r285631 - head/sys/arm/include

2015-07-16 Thread Andrew Turner
Author: andrew Date: Thu Jul 16 13:33:03 2015 New Revision: 285631 URL: https://svnweb.freebsd.org/changeset/base/285631 Log: Split out the arm and armv6 parts of atomic.h to new files. While here use __ARM_ARCH to determine which revision of the architecture is applicable. Sponsored by:

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

2015-07-19 Thread Andrew Turner
Author: andrew Date: Sun Jul 19 13:10:47 2015 New Revision: 285687 URL: https://svnweb.freebsd.org/changeset/base/285687 Log: Sort the ARM atomic functions to be in alphabetical order. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/include/atomic-v4.h

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

2015-07-19 Thread Andrew Turner
Author: andrew Date: Sun Jul 19 15:44:51 2015 New Revision: 285689 URL: https://svnweb.freebsd.org/changeset/base/285689 Log: Clean up the style of the armv6 atomic code. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/include/atomic-v6.h Modified: head/sys/arm/include/atomic-v6.h

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

2015-07-19 Thread Andrew Turner
Author: andrew Date: Sun Jul 19 16:55:47 2015 New Revision: 285694 URL: https://svnweb.freebsd.org/changeset/base/285694 Log: Fix atomic_store_64, it should write the value passed in, not the value read by the load. Pointy Hat: andrew Modified: head/sys/arm/include/atomic-v6.h

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: r287134 - head/sys/arm64/arm64

2015-08-25 Thread Andrew Turner
Author: andrew Date: Tue Aug 25 16:49:10 2015 New Revision: 287134 URL: https://svnweb.freebsd.org/changeset/base/287134 Log: Call into kdb on a data abort when it's enabled. This is needed to correctly handle trying to access an invalid address in the debugger. While here document that

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

2015-08-25 Thread Andrew Turner
Author: andrew Date: Tue Aug 25 16:43:32 2015 New Revision: 287133 URL: https://svnweb.freebsd.org/changeset/base/287133 Log: Correctly update the address to write to after storing the stack pointer in the kernels setjmp function. Sponsored by: ABT Systems Ltd Modified:

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

2015-08-25 Thread Andrew Turner
Author: andrew Date: Tue Aug 25 17:02:28 2015 New Revision: 287136 URL: https://svnweb.freebsd.org/changeset/base/287136 Log: Use kdb_jmpbuf and setjmp to handle accessing invalid addresses in the debugger memory access functions. This allows us to correctly reenter into the debugger on

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

2015-08-25 Thread Andrew Turner
Author: andrew Date: Tue Aug 25 16:50:25 2015 New Revision: 287135 URL: https://svnweb.freebsd.org/changeset/base/287135 Log: Use nitems to count the number of items in a static array. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/arm64/db_interface.c Modified:

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

2015-10-28 Thread Andrew Turner
Author: andrew Date: Wed Oct 28 13:07:56 2015 New Revision: 290105 URL: https://svnweb.freebsd.org/changeset/base/290105 Log: Start to remove support for the XScale i80321. As far as I can tell nobody uses this which makes it difficult to support. Deleted: head/sys/arm/conf/EP80219

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

2015-10-27 Thread Andrew Turner
Author: andrew Date: Tue Oct 27 22:24:57 2015 New Revision: 290079 URL: https://svnweb.freebsd.org/changeset/base/290079 Log: Mark functions as such. This means we call them directly rather than have the dynamic linker copy them, but not relocate them at the new location. This allows us to

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

2015-10-27 Thread Andrew Turner
Author: andrew Date: Tue Oct 27 23:37:54 2015 New Revision: 290085 URL: https://svnweb.freebsd.org/changeset/base/290085 Log: Start to remove support for the Samsung s3c24x0 SoCs by removing the kernel config, and support from NOTES. Deleted: head/sys/arm/conf/LN2410SBC Modified:

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

2015-11-17 Thread Andrew Turner
Author: andrew Date: Tue Nov 17 11:26:35 2015 New Revision: 290974 URL: https://svnweb.freebsd.org/changeset/base/290974 Log: Make pl310_print_config static, it's not called out of pl310.c Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/pl310.c head/sys/arm/include/pl310.h

Re: svn commit: r290192 - head/contrib/gdb/gdb

2015-10-30 Thread Andrew Turner
On Fri, 30 Oct 2015 12:21:37 + (UTC) Zbigniew Bodek wrote: > Author: zbb > Date: Fri Oct 30 12:21:37 2015 > New Revision: 290192 > URL: https://svnweb.freebsd.org/changeset/base/290192 > > Log: > Workaround KGDB issues on ARM by ignoring ARM EABI version higher > than 5

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

2015-10-31 Thread Andrew Turner
Author: andrew Date: Sat Oct 31 10:16:44 2015 New Revision: 290227 URL: https://svnweb.freebsd.org/changeset/base/290227 Log: We have long double on arm64, and the tests pass so enable them. Sponsored by: ABT Systems Ltd Modified: head/lib/msun/tests/Makefile Modified:

svn commit: r290397 - in head/sys: cddl/contrib/opensolaris/common/atomic/aarch64 conf

2015-11-05 Thread Andrew Turner
@@ +/*- + * 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 the above copyright

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

2015-11-02 Thread Andrew Turner
Author: andrew Date: Mon Nov 2 16:43:26 2015 New Revision: 290272 URL: https://svnweb.freebsd.org/changeset/base/290272 Log: Make the arm64_cpu driver quiet as it adds no new information. Only report the register used to start each cpu in bootverbose. Sponsored by: ABT Systems Ltd

Re: svn commit: r290245 - in head/sys/contrib/vchiq/interface: vchi vchiq_arm

2015-11-02 Thread Andrew Turner
On Sun, 1 Nov 2015 22:17:39 + (UTC) Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Sun Nov 1 22:17:39 2015 > New Revision: 290245 > URL: https://svnweb.freebsd.org/changeset/base/290245 > > Log: > Synchronize with latest upstream VCHI code: > > - Add

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

2015-11-06 Thread Andrew Turner
Author: andrew Date: Fri Nov 6 14:36:21 2015 New Revision: 290447 URL: https://svnweb.freebsd.org/changeset/base/290447 Log: Mark the arm64 nexus devices to be attached early. This allows multipass to work correctly. Without it the pass quickly moves to the final pass before the nexus

svn commit: r290448 - head/sys/dev/vnic

2015-11-06 Thread Andrew Turner
Author: andrew Date: Fri Nov 6 14:40:51 2015 New Revision: 290448 URL: https://svnweb.freebsd.org/changeset/base/290448 Log: Mark the thunder_mdio_fdt driver as early, the bgx needs it to exist so it can find the network phy. Sponsored by: ABT Systems Ltd Modified:

Re: svn commit: r289550 - head/sys/dev/vnic

2015-10-18 Thread Andrew Turner
On Sun, 18 Oct 2015 21:39:15 + (UTC) Zbigniew Bodek wrote: > Author: zbb > Date: Sun Oct 18 21:39:15 2015 > New Revision: 289550 > URL: https://svnweb.freebsd.org/changeset/base/289550 > > Log: > Raw import of ThunderX VNIC networking driver components > > This

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

2015-10-19 Thread Andrew Turner
Author: andrew Date: Mon Oct 19 13:20:23 2015 New Revision: 289581 URL: https://svnweb.freebsd.org/changeset/base/289581 Log: Use 4 levels of page tables when enabling the MMU. This will allow us to boot on an SoC that places physical memory at an address past where three levels of page

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

2015-10-18 Thread Andrew Turner
Author: andrew Date: Sun Oct 18 13:23:21 2015 New Revision: 289502 URL: https://svnweb.freebsd.org/changeset/base/289502 Log: Correctly align the stack. The early csu assumed we passed the aux vector in through the stack pointer, however this may have been misaligned causing some userland

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

2015-10-17 Thread Andrew Turner
Author: andrew Date: Sat Oct 17 14:07:47 2015 New Revision: 289455 URL: https://svnweb.freebsd.org/changeset/base/289455 Log: Rename build_block_pagetable to build_l2_block_pagetable in preperation for adding support for 4 levels of page tables. Obtained from:Patrick Wildt

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

2015-10-17 Thread Andrew Turner
Author: andrew Date: Sat Oct 17 19:52:17 2015 New Revision: 289466 URL: https://svnweb.freebsd.org/changeset/base/289466 Log: Replace build_section_pagetable with build_l1_block_pagetable as it takes an extra argument to specify the number of 1GiB pages to map. This should be a nop as we

svn commit: r288992 - in head/sys: arm/ti conf

2015-10-07 Thread Andrew Turner
Author: andrew Date: Wed Oct 7 13:19:44 2015 New Revision: 288992 URL: https://svnweb.freebsd.org/changeset/base/288992 Log: Move pmu.c to files.arm and rename the option to pmu. This is not hwpmc specific as we may use the pmu registers for other uses. No configs seem to currently build

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

Re: svn commit: r290821 - head/usr.sbin/ctld

2015-11-14 Thread Andrew Turner
On Sat, 14 Nov 2015 09:22:30 -0800 Bryan Drewery <bdrew...@freebsd.org> wrote: > On 11/14/2015 9:20 AM, Andrew Turner wrote: > > On Sat, 14 Nov 2015 16:06:01 + (UTC) > > Edward Tomasz Napierala <tr...@freebsd.org> wrote: > > > >> Author: trasz &g

Re: svn commit: r290821 - head/usr.sbin/ctld

2015-11-14 Thread Andrew Turner
On Sat, 14 Nov 2015 16:06:01 + (UTC) Edward Tomasz Napierala wrote: > Author: trasz > Date: Sat Nov 14 16:06:01 2015 > New Revision: 290821 > URL: https://svnweb.freebsd.org/changeset/base/290821 > > Log: > Don't try to avoid calling free(3) with NULL argument. Why?

svn commit: r287202 - head/sys/dev/mmc/host

2015-08-27 Thread Andrew Turner
Author: andrew Date: Thu Aug 27 13:08:45 2015 New Revision: 287202 URL: https://svnweb.freebsd.org/changeset/base/287202 Log: Allow us to select the transfer count. This allows us to work with hardware that seems to only work with a single block at a time. Sponsored by: ABT Systems Ltd

svn commit: r287169 - in head/sys: arm64/conf conf

2015-08-26 Thread Andrew Turner
Author: andrew Date: Wed Aug 26 18:09:17 2015 New Revision: 287169 URL: https://svnweb.freebsd.org/changeset/base/287169 Log: Add the SOC_HISI_HI6220 option. This will be used to enable drivers for the HiSilicon hi6220 SoC used in the HiKey 96boards board. Sponsored by: ABT Systems Ltd

svn commit: r287213 - head/sys/dev/mmc/host

2015-08-27 Thread Andrew Turner
Author: andrew Date: Thu Aug 27 16:24:30 2015 New Revision: 287213 URL: https://svnweb.freebsd.org/changeset/base/287213 Log: Limit the speed to the bus frequency. Sponsored by: ABT Systems Ltd Modified: head/sys/dev/mmc/host/dwmmc.c Modified: head/sys/dev/mmc/host/dwmmc.c

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