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

2016-02-12 Thread Andrew Turner
Author: andrew Date: Fri Feb 12 12:38:04 2016 New Revision: 295563 URL: https://svnweb.freebsd.org/changeset/base/295563 Log: Only update curthread and curpcb after we have finished using the old values. If switching from a thread that used floating-point registers to a thread that is

svn commit: r295567 - head/sys/arm/mv

2016-02-12 Thread Andrew Turner
Author: andrew Date: Fri Feb 12 17:04:03 2016 New Revision: 295567 URL: https://svnweb.freebsd.org/changeset/base/295567 Log: Stop adding an extra null terminator to strings, OF_getprop already returns a null terminated string. Modified: head/sys/arm/mv/twsi.c Modified:

svn commit: r295509 - in head/sys/arm: altera/socfpga amlogic/aml8726 annapurna/alpine at91 broadcom/bcm2835 freescale/imx freescale/vybrid lpc mv rockchip samsung/exynos versatile xilinx

2016-02-11 Thread Andrew Turner
Author: andrew Date: Thu Feb 11 11:49:27 2016 New Revision: 295509 URL: https://svnweb.freebsd.org/changeset/base/295509 Log: Stop defining fdt_pic_table when building for ARM_INTRNG. Modified: head/sys/arm/altera/socfpga/socfpga_common.c head/sys/arm/amlogic/aml8726/aml8726_machdep.c

svn commit: r295507 - in head/sys/arm: conf xilinx/zedboard

2016-02-11 Thread Andrew Turner
Author: andrew Date: Thu Feb 11 10:48:15 2016 New Revision: 295507 URL: https://svnweb.freebsd.org/changeset/base/295507 Log: Remove unused Zedboard config files. files.zedboard was empty other than comments, and std.zedboard just pointed to files.zedboard and std.xilinx. Deleted:

svn commit: r295527 - head/sys/mips/mips

2016-02-11 Thread Andrew Turner
Author: andrew Date: Thu Feb 11 16:43:23 2016 New Revision: 295527 URL: https://svnweb.freebsd.org/changeset/base/295527 Log: Include the correct header to get a phandle_t needed by ofw_bus_if.h. While here only include opt_platform.h once. Sponsored by: ABT Systems Ltd Modified:

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

2016-02-11 Thread Andrew Turner
Author: andrew Date: Thu Feb 11 18:01:10 2016 New Revision: 295540 URL: https://svnweb.freebsd.org/changeset/base/295540 Log: Enable ARM_INTRNG on all kernel configs where we use the Generic Interrupt Controller. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/conf/ALPINE

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

2016-02-10 Thread Andrew Turner
Author: andrew Date: Wed Feb 10 15:56:52 2016 New Revision: 295470 URL: https://svnweb.freebsd.org/changeset/base/295470 Log: Use OF_getencprop to read a property, it already handles the endian conversion so we don't need to pass the data through fdt32_to_cpu. Modified:

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

2016-02-10 Thread Andrew Turner
Author: andrew Date: Wed Feb 10 16:39:02 2016 New Revision: 295472 URL: https://svnweb.freebsd.org/changeset/base/295472 Log: Only use fdt_pic_table when not using ARM_INTRNG Modified: head/sys/arm/qemu/virt_common.c Modified: head/sys/arm/qemu/virt_common.c

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

2016-02-10 Thread Andrew Turner
Author: andrew Date: Wed Feb 10 16:49:20 2016 New Revision: 295474 URL: https://svnweb.freebsd.org/changeset/base/295474 Log: Explicitly include . Previously we were pulling it in due to header pollution. Modified: head/sys/dev/uart/uart_bus_fdt.c Modified:

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

2016-02-10 Thread Andrew Turner
Author: andrew Date: Wed Feb 10 16:44:20 2016 New Revision: 295473 URL: https://svnweb.freebsd.org/changeset/base/295473 Log: Fix a logic inversion when checking for ARM_INTRNG Pointy hat to:andrew Modified: head/sys/arm/qemu/virt_common.c Modified:

Re: svn commit: r295459 - in head/sys: arm/include sys

2016-02-10 Thread Andrew Turner
On Wed, 10 Feb 2016 04:43:08 + (UTC) Adrian Chadd wrote: > Author: adrian > Date: Wed Feb 10 04:43:08 2016 > New Revision: 295459 > URL: https://svnweb.freebsd.org/changeset/base/295459 > > Log: > Break out the shared bits of the arm intrng definitions into >

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

2016-02-10 Thread Andrew Turner
Author: andrew Date: Wed Feb 10 10:28:33 2016 New Revision: 295466 URL: https://svnweb.freebsd.org/changeset/base/295466 Log: Revert an arm64 change that sneaked in with r295464. Modified: head/sys/arm64/arm64/swtch.S Modified: head/sys/arm64/arm64/swtch.S

svn commit: r295464 - in head/sys: arm/allwinner arm/allwinner/a20 arm/conf arm64/arm64 boot/fdt/dts/arm modules/dtb/allwinner

2016-02-10 Thread Andrew Turner
Author: andrew Date: Wed Feb 10 09:19:29 2016 New Revision: 295464 URL: https://svnweb.freebsd.org/changeset/base/295464 Log: Update of the Allwinner drivers to: * Use the Linux compat string * Use EARLY_DRIVER_MODULE to attach at the right time * Add a generic A10 kernel config file

svn commit: r295431 - head/tools/tools/nanobsd/embedded

2016-02-09 Thread Andrew Turner
$ #- -# Copyright (c) 2015 Andrew Turner. All Rights Reserved. +# Copyright (c) 2016 Andrew Turner. All Rights Reserved. # Copyright (c) 2015 Warner Losh. All Rights Reserved. # Copyright (c) 2010-2011 iXsystems, Inc., All rights reserved. # ___ svn-src-head

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

2016-02-09 Thread Andrew Turner
Author: andrew Date: Tue Feb 9 10:18:22 2016 New Revision: 295432 URL: https://svnweb.freebsd.org/changeset/base/295432 Log: Use designated initialisers for the db disassembler interface to help with finding the struct when searching for one of its members. Modified:

svn commit: r295430 - head/tools/tools/nanobsd/embedded

2016-02-09 Thread Andrew Turner
9 09:57:50 2016(r295430) @@ -0,0 +1,48 @@ +# $FreeBSD$ + +#- +# Copyright (c) 2015 Andrew Turner. All Rights Reserved. +# Copyright (c) 2015 Warner Losh. All Rights Reserved. +# Copyright (c) 2010-2011 iXsystems, Inc., All rights reserved. +# +# Redistribution and use in source and binary

svn commit: r295436 - in head/sys/gnu/dts: arm include/dt-bindings/clk include/dt-bindings/clock include/dt-bindings/dma include/dt-bindings/gpio include/dt-bindings/i2c include/dt-bindings/iio inc...

2016-02-09 Thread Andrew Turner
Author: andrew Date: Tue Feb 9 16:42:32 2016 New Revision: 295436 URL: https://svnweb.freebsd.org/changeset/base/295436 Log: Update our copy of the Linux dts files to be in sync with Linux 4.5-rc1. We now uave a full copy of the arm device tree sources to help when adding support for newer

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

2016-02-09 Thread Andrew Turner
Author: andrew Date: Tue Feb 9 18:19:24 2016 New Revision: 295444 URL: https://svnweb.freebsd.org/changeset/base/295444 Log: Remove unneeded whitespace, and fix a license for a new file. Extracted from a larger patch. Submitted by: Emmanuel Vadot X-Differential

svn commit: r295421 - head/sys/boot

2016-02-08 Thread Andrew Turner
Author: andrew Date: Tue Feb 9 00:15:41 2016 New Revision: 295421 URL: https://svnweb.freebsd.org/changeset/base/295421 Log: Stop clang from generating movt/movw sequences. These don't get relocated so will access data from an unrelocated address. This is only needed for self relocating

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

2016-02-08 Thread Andrew Turner
Author: andrew Date: Tue Feb 9 00:01:43 2016 New Revision: 295420 URL: https://svnweb.freebsd.org/changeset/base/295420 Log: Ensure the bss is aligned to a 4-byte address as we use 4-byte aligned stores to clear it. While here reduce the alignment of the data from 4k to 16 byte aligned.

Re: svn commit: r295377 - head/tools/tools/nanobsd/embedded

2016-02-07 Thread Andrew Turner
On Sun, 7 Feb 2016 16:44:14 + (UTC) Warner Losh wrote: > Author: imp > Date: Sun Feb 7 16:44:13 2016 > New Revision: 295377 > URL: https://svnweb.freebsd.org/changeset/base/295377 > > Log: > Use new NANO_LOG to put the logs some place reasonable. Also, share > the

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

2016-02-05 Thread Andrew Turner
Author: andrew Date: Fri Feb 5 15:38:28 2016 New Revision: 295321 URL: https://svnweb.freebsd.org/changeset/base/295321 Log: Implement kdb_cpu_sync_icache on arm64. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/include/kdb.h Modified: head/sys/arm64/include/kdb.h

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

2016-02-04 Thread Andrew Turner
Author: andrew Date: Thu Feb 4 17:22:15 2016 New Revision: 295270 URL: https://svnweb.freebsd.org/changeset/base/295270 Log: Enable checking of the stack alignment. The stack should be aligned to a 16-byte value. With this the hardware will check if a memory access uses an incorrectly

svn commit: r295210 - head/sys/boot/efi/libefi

2016-02-03 Thread Andrew Turner
Author: andrew Date: Wed Feb 3 14:34:25 2016 New Revision: 295210 URL: https://svnweb.freebsd.org/changeset/base/295210 Log: Still open the network interface when EFI_OPEN_PROTOCOL_EXCLUSIVE failed. Not all UEFI implementations support this protocol. Modified:

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

2016-02-03 Thread Andrew Turner
Author: andrew Date: Wed Feb 3 17:00:19 2016 New Revision: 295214 URL: https://svnweb.freebsd.org/changeset/base/295214 Log: Handle a misaligned stack pointer exception from userspace. The exception still needs to be enabled, but this will help with testing. Sponsored by: ABT Systems

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

2016-02-02 Thread Andrew Turner
Author: andrew Date: Tue Feb 2 10:11:56 2016 New Revision: 295140 URL: https://svnweb.freebsd.org/changeset/base/295140 Log: Correctly handle the case where copystr(9) is given a string longer than the passed in length. In this case we need to return ENAMETOOLONG. Modified:

svn commit: r295144 - head/sys/boot/efi/libefi

2016-02-02 Thread Andrew Turner
Author: andrew Date: Tue Feb 2 10:39:18 2016 New Revision: 295144 URL: https://svnweb.freebsd.org/changeset/base/295144 Log: Add suppor to loader.efi to load files off hte network. For this we need to open the device in exclusive mode as, without this, the firmware may also be reading

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

2016-02-02 Thread Andrew Turner
Author: andrew Date: Tue Feb 2 10:28:56 2016 New Revision: 295142 URL: https://svnweb.freebsd.org/changeset/base/295142 Log: Implement single stepping on arm64. We need to set the single step bits in the processor and debug state registers. A flag has been added to the pcb to tell us when

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

2016-02-02 Thread Andrew Turner
Author: andrew Date: Tue Feb 2 16:35:37 2016 New Revision: 295154 URL: https://svnweb.freebsd.org/changeset/base/295154 Log: Increase the space we use after the kernel to 8MiB. On 2GiB HiKey board we would try to access data past this point stopping the boot. Sponsored by: ABT Systems

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

2016-02-02 Thread Andrew Turner
Author: andrew Date: Tue Feb 2 16:32:44 2016 New Revision: 295153 URL: https://svnweb.freebsd.org/changeset/base/295153 Log: Only look for the ranges property when we have children. This fixes booting on systems with a gicv2, but no PCIe so no gicv2m. Sponsored by: ABT Systems Ltd

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

2016-02-02 Thread Andrew Turner
Author: andrew Date: Tue Feb 2 17:57:15 2016 New Revision: 295157 URL: https://svnweb.freebsd.org/changeset/base/295157 Log: Ensure we don't overflow the phys_avail array. Some firmware may provide more memory locations than we have space to record. Sponsored by: ABT Systems Ltd

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

2016-02-02 Thread Andrew Turner
Author: andrew Date: Tue Feb 2 17:59:43 2016 New Revision: 295158 URL: https://svnweb.freebsd.org/changeset/base/295158 Log: Increase the size of PHYS_AVAIL_SIZE to allow firmware to provide a large number of physical memory locations we can access. This is the case on some HiKey boards

svn commit: r295098 - head/sys/kern

2016-01-31 Thread Andrew Turner
Author: andrew Date: Sun Jan 31 17:32:20 2016 New Revision: 295098 URL: https://svnweb.freebsd.org/changeset/base/295098 Log: Fix the logic in the ddb command 'show ktr /a'. Prior to r118269 it would print until cncheckc returned a non -1, i.e. a character had been entered. After this

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

2016-01-27 Thread Andrew Turner
Author: andrew Date: Wed Jan 27 17:47:07 2016 New Revision: 294928 URL: https://svnweb.freebsd.org/changeset/base/294928 Log: Fix the value we print when the size is too large. While here fix the types we cast to to be unsigned as the data is unsigned. Reviewed by: ian Modified:

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

2016-01-27 Thread Andrew Turner
Author: andrew Date: Wed Jan 27 17:33:31 2016 New Revision: 294927 URL: https://svnweb.freebsd.org/changeset/base/294927 Log: When finding the physical address of a device allow intermediate addresses to be 64-bit on 32-bit architectures. It is not uncommon for device trees to use the upper

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

2016-01-25 Thread Andrew Turner
On Mon, 25 Jan 2016 17:44:53 +0200 Konstantin Belousov wrote: > On Mon, Jan 25, 2016 at 02:09:36PM +, Svatopluk Kraus wrote: > > Author: skra > > Date: Mon Jan 25 14:09:35 2016 > > New Revision: 294727 > > URL: https://svnweb.freebsd.org/changeset/base/294727 > > > >

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

2016-01-25 Thread Andrew Turner
On Mon, 25 Jan 2016 10:28:46 -0700 Ian Lepore <i...@freebsd.org> wrote: > On Mon, 2016-01-25 at 17:00 +0000, Andrew Turner wrote: > > On Mon, 25 Jan 2016 17:44:53 +0200 > > Konstantin Belousov <kostik...@gmail.com> wrote: > > > > > On Mon, Jan 25,

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

2016-01-25 Thread Andrew Turner
Author: andrew Date: Mon Jan 25 23:04:40 2016 New Revision: 294754 URL: https://svnweb.freebsd.org/changeset/base/294754 Log: Allow us to be told about memory past the first 4GB point, but ignore it. This allows, for example, UEFI pass a memory map with some ram in this region, but for us

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

2016-01-25 Thread Andrew Turner
Author: andrew Date: Mon Jan 25 08:19:16 2016 New Revision: 294707 URL: https://svnweb.freebsd.org/changeset/base/294707 Log: Add allwinner_machdep.h, it was missed in r294698. Added: head/sys/arm/allwinner/allwinner_machdep.h (contents, props changed) Added:

Re: svn commit: r294698 - in head/sys/arm: allwinner conf

2016-01-25 Thread Andrew Turner
On Mon, 25 Jan 2016 16:11:26 +0800 Kevin Lo wrote: > Hi Andrew, > > The allwinner_machdep.h file seems to be missing. > Fixed in r294707. Andrew ___ svn-src-head@freebsd.org mailing list

Re: svn commit: r294698 - in head/sys/arm: allwinner conf

2016-01-24 Thread Andrew Turner
On Mon, 25 Jan 2016 00:24:57 + (UTC) Andrew Turner <and...@freebsd.org> wrote: > Author: andrew > Date: Mon Jan 25 00:24:57 2016 > New Revision: 294698 > URL: https://svnweb.freebsd.org/changeset/base/294698 > > Log: > Update the Allwinner kernels: >*

svn commit: r294698 - in head/sys/arm: allwinner conf

2016-01-24 Thread Andrew Turner
Author: andrew Date: Mon Jan 25 00:24:57 2016 New Revision: 294698 URL: https://svnweb.freebsd.org/changeset/base/294698 Log: Update the Allwinner kernels: * Use the ARM PLATFORM framework * Use ARM_INTRNG on teh A20 as it has a GICv2 * Add a method to find which Allwinner SoC we are

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

2016-01-24 Thread Andrew Turner
Author: andrew Date: Sun Jan 24 17:09:11 2016 New Revision: 294668 URL: https://svnweb.freebsd.org/changeset/base/294668 Log: Fix the style of the reading of a nodes xref to make it readable. Modified: head/sys/dev/ofw/openfirm.c Modified: head/sys/dev/ofw/openfirm.c

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

2016-01-24 Thread Andrew Turner
Author: andrew Date: Sun Jan 24 19:12:16 2016 New Revision: 294676 URL: https://svnweb.freebsd.org/changeset/base/294676 Log: Remove an extra newline that crept in. Modified: head/sys/arm/allwinner/a10_clk.c Modified: head/sys/arm/allwinner/a10_clk.c

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

2016-01-24 Thread Andrew Turner
Author: andrew Date: Sun Jan 24 19:10:30 2016 New Revision: 294675 URL: https://svnweb.freebsd.org/changeset/base/294675 Log: Add support for controlling the clocks for the audio codec and DMA engines. Submitted by: Jared McNeill Differential Revision:

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

2016-01-22 Thread Andrew Turner
Author: andrew Date: Fri Jan 22 12:51:12 2016 New Revision: 294561 URL: https://svnweb.freebsd.org/changeset/base/294561 Log: Stop defining fdt_pic_table with ARM_INTRNG, it's unused. Modified: head/sys/arm/ti/ti_common.c Modified: head/sys/arm/ti/ti_common.c

svn commit: r294559 - head/sys/mips/nlm

2016-01-22 Thread Andrew Turner
Author: andrew Date: Fri Jan 22 12:00:56 2016 New Revision: 294559 URL: https://svnweb.freebsd.org/changeset/base/294559 Log: Stop calling fdt_immr_addr from the xlp startup code. It's used to set fdt_immr_{va,pa,size}, but these are not used outside a single ARM SoC. Modified:

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

2016-01-22 Thread Andrew Turner
Author: andrew Date: Fri Jan 22 13:09:43 2016 New Revision: 294562 URL: https://svnweb.freebsd.org/changeset/base/294562 Log: Only define fdt_pic_table on arm, and when not using intrng as this is the only place that uses it. Modified: head/sys/dev/fdt/fdt_common.h Modified:

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

2016-01-22 Thread Andrew Turner
Author: andrew Date: Fri Jan 22 16:35:01 2016 New Revision: 294572 URL: https://svnweb.freebsd.org/changeset/base/294572 Log: Stop including fdt_common.h in the arm64 code. We don't use anything from it, however may have relied on header pollution to pull in the needed headers through it

svn commit: r294499 - head/lib/clang

2016-01-21 Thread Andrew Turner
Author: andrew Date: Thu Jan 21 12:59:54 2016 New Revision: 294499 URL: https://svnweb.freebsd.org/changeset/base/294499 Log: Disable -mlong-calls for the clang libraries for now, it increases the size of the clang binary for people with a crt1.o from before r293832. Modified:

svn commit: r294511 - in head/sys: conf dev/fdt dev/ofw

2016-01-21 Thread Andrew Turner
Author: andrew Date: Thu Jan 21 16:48:01 2016 New Revision: 294511 URL: https://svnweb.freebsd.org/changeset/base/294511 Log: Remove fdt_fixup_table from architectures where it's unneeded. We only make use of fdt_fixup_table on PowerPC and ARM. As such we can remove it from other

svn commit: r294510 - head/sys/arm/mv

2016-01-21 Thread Andrew Turner
Author: andrew Date: Thu Jan 21 16:42:52 2016 New Revision: 294510 URL: https://svnweb.freebsd.org/changeset/base/294510 Log: Remove an extra '!' found by clang 3.8. Modified: head/sys/arm/mv/mv_pci.c Modified: head/sys/arm/mv/mv_pci.c

Re: svn commit: r294266 - head/sys/arm64/cavium

2016-01-18 Thread Andrew Turner
On Mon, 18 Jan 2016 13:31:29 + (UTC) Zbigniew Bodek wrote: > Author: zbb > Date: Mon Jan 18 13:31:29 2016 > New Revision: 294266 > URL: https://svnweb.freebsd.org/changeset/base/294266 > > Log: > Update ThunderX PCIe driver to fit new DTS layout > > In recent EFI

Re: svn commit: r294267 - head/sys/arm64/conf

2016-01-18 Thread Andrew Turner
On Mon, 18 Jan 2016 14:11:34 + (UTC) Zbigniew Bodek wrote: > Author: zbb > Date: Mon Jan 18 14:11:34 2016 > New Revision: 294267 > URL: https://svnweb.freebsd.org/changeset/base/294267 > > Log: > Enable AIO interface on ARM64 platforms > > Add VFS_AIO to generic

Re: svn commit: r294280 - head/sys/dev/uart

2016-01-18 Thread Andrew Turner
On Mon, 18 Jan 2016 09:29:43 -0800 Nathan Whitehorn wrote: > Nice work! You can remove the #include in this file > now, since it no longer depends on anything in dev/fdt. > -Nathan I think we can also remove setting uart_bus_space_mem in uart_cpu_fdt.c. Andrew > > On

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

2016-01-18 Thread Andrew Turner
Author: andrew Date: Mon Jan 18 20:22:51 2016 New Revision: 294291 URL: https://svnweb.freebsd.org/changeset/base/294291 Log: Reset the filesystem cache before reading from a potentially new filesystem. Without this we only read from the first UFS filesystem we find, caching the result.

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

2016-01-17 Thread Andrew Turner
Author: andrew Date: Mon Jan 18 00:07:04 2016 New Revision: 294238 URL: https://svnweb.freebsd.org/changeset/base/294238 Log: Add extra checks to make sure the size is valid. We may get an integer underflow when we have small blocks of memory at the start and end of the 32-bit address

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

2016-01-16 Thread Andrew Turner
Author: andrew Date: Sat Jan 16 10:12:50 2016 New Revision: 294138 URL: https://svnweb.freebsd.org/changeset/base/294138 Log: Use __ARM_ARCH to decide when ARM_TP_ADDRESS needs to be set. This fixes an issue with clang 3.8.0 where none of the __ARM_ARCH_*__ macros were defined on some ARMv6

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

2016-01-15 Thread Andrew Turner
Author: andrew Date: Fri Jan 15 11:40:41 2016 New Revision: 294087 URL: https://svnweb.freebsd.org/changeset/base/294087 Log: Remove the commented out sc device from the i.MX kernels, they both use vt(4). Modified: head/sys/arm/conf/IMX53 head/sys/arm/conf/IMX6 Modified:

Re: svn commit: r293903 - in head/sys/boot: arm/uboot efi/fdt efi/libefi

2016-01-14 Thread Andrew Turner
On Thu, 14 Jan 2016 09:22:01 + (UTC) Steven Hartland wrote: > Author: smh > Date: Thu Jan 14 09:22:01 2016 > New Revision: 293903 > URL: https://svnweb.freebsd.org/changeset/base/293903 > > Log: > Fix GCC warnings causing build failure after r293724 > > Disable some

Re: svn commit: r293903 - in head/sys/boot: arm/uboot efi/fdt efi/libefi

2016-01-14 Thread Andrew Turner
On Thu, 14 Jan 2016 10:16:37 + Steven Hartland <ste...@multiplay.co.uk> wrote: > On 14/01/2016 10:13, Andrew Turner wrote: > > On Thu, 14 Jan 2016 09:22:01 + (UTC) > > Steven Hartland <s...@freebsd.org> wrote: > > > >> Author: smh > >&g

svn commit: r294031 - in head: lib/clang lib/libc++ usr.bin/clang/clang usr.bin/clang/lldb

2016-01-14 Thread Andrew Turner
Author: andrew Date: Thu Jan 14 19:00:13 2016 New Revision: 294031 URL: https://svnweb.freebsd.org/changeset/base/294031 Log: Set -mlong-calls where needed to get a static clang and lldb 3.8.0 linking. These are too large for a branch instruction to branch from an earlier point in the code

svn commit: r293852 - head/usr.sbin/kldxref

2016-01-13 Thread Andrew Turner
Author: andrew Date: Wed Jan 13 21:34:15 2016 New Revision: 293852 URL: https://svnweb.freebsd.org/changeset/base/293852 Log: Add support for relocating AArch64 modules to kldxref. This fixes an error message where it fails to read the module as the unrelocated addresses are zero.

Re: svn commit: r293852 - head/usr.sbin/kldxref

2016-01-13 Thread Andrew Turner
On Wed, 13 Jan 2016 13:36:02 -0800 NGie Cooper <yaneurab...@gmail.com> wrote: > On Wed, Jan 13, 2016 at 1:34 PM, Andrew Turner <and...@freebsd.org> > wrote: > > Author: andrew > > Date: Wed Jan 13 21:34:15 2016 > > New Revision: 293852 > > URL: https:

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

2016-01-13 Thread Andrew Turner
Author: andrew Date: Wed Jan 13 15:54:17 2016 New Revision: 293832 URL: https://svnweb.freebsd.org/changeset/base/293832 Log: Remove the compat code to handle the kernel passing us an unalinged stackpointer. Userland expects the kernel to pass it an aligned sp and pass a pointer to the

svn commit: r293648 - head/lib/csu/arm

2016-01-10 Thread Andrew Turner
Author: andrew Date: Sun Jan 10 23:41:31 2016 New Revision: 293648 URL: https://svnweb.freebsd.org/changeset/base/293648 Log: Use -mlong-calls to build crt1.o and gcrt1.o. This tells the compiler to generate code to branch based on an address in a register. This allows us to have binaries

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

2015-12-30 Thread Andrew Turner
Author: andrew Date: Wed Dec 30 17:36:34 2015 New Revision: 292954 URL: https://svnweb.freebsd.org/changeset/base/292954 Log: Decode and print the ID_AA64* registers on boot. These registers hold information on what the core supports. In most cases these will be identical across most CPUs

svn commit: r292683 - head/sys/dev/usb/controller

2015-12-24 Thread Andrew Turner
Author: andrew Date: Thu Dec 24 09:40:29 2015 New Revision: 292683 URL: https://svnweb.freebsd.org/changeset/base/292683 Log: Ads support to the xhci pci attachment to use MSI-X interrupts when available. As with MSI interrupts these can be disabled by setting hw.usb.xhci.msix to 0 in the

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

2015-12-23 Thread Andrew Turner
Author: andrew Date: Wed Dec 23 15:22:44 2015 New Revision: 292659 URL: https://svnweb.freebsd.org/changeset/base/292659 Log: Increase the size and alignment of the setjmp buffer. This will allow for possible future CPU extentions with larger registers. jmp_buf's size and alignment are

svn commit: r292663 - head/sys/cddl/dev/fbt/arm

2015-12-23 Thread Andrew Turner
Author: andrew Date: Wed Dec 23 17:54:19 2015 New Revision: 292663 URL: https://svnweb.freebsd.org/changeset/base/292663 Log: Be stricter on which functions we can probe with FBT. We now only check the first instruction to see if it's either a pushm with lr, or a sub with sp. The former is

svn commit: r292591 - in head/sys: arm/at91 arm/cavium/cns11xx arm/conf arm/lpc arm/mv/discovery arm/mv/orion arm/xscale/ixp425 conf

2015-12-22 Thread Andrew Turner
Author: andrew Date: Tue Dec 22 09:08:21 2015 New Revision: 292591 URL: https://svnweb.freebsd.org/changeset/base/292591 Log: Remove the arm KERNPHYSADDR option as it is no longer used. The make option is still in existance as it is used to build the trampoline code. Modified:

svn commit: r292611 - head/contrib/llvm/tools/lldb/source/Plugins/Process/FreeBSD

2015-12-22 Thread Andrew Turner
Author: andrew Date: Tue Dec 22 17:18:40 2015 New Revision: 292611 URL: https://svnweb.freebsd.org/changeset/base/292611 Log: Don't adjust the program counter to an invalid address after reaching a breakpoint. The value doesn't need to be adjusted as it is already correctly returned from

svn commit: r292405 - in head/sys: arm64/include dev/ofw

2015-12-17 Thread Andrew Turner
Author: andrew Date: Thu Dec 17 17:00:04 2015 New Revision: 292405 URL: https://svnweb.freebsd.org/changeset/base/292405 Log: Support the variant of the interrupt-map property where the parent bus has the #address-cells property set. For this we need to read more data before the parent

svn commit: r292197 - head/sys/dev/atkbdc

2015-12-14 Thread Andrew Turner
Author: andrew Date: Mon Dec 14 11:13:50 2015 New Revision: 292197 URL: https://svnweb.freebsd.org/changeset/base/292197 Log: When exiting two-finger scroll the Synaptics device may report a jump in absolute position. This seems to be correlated with only removing a single finger. To work

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

2015-12-14 Thread Andrew Turner
Author: andrew Date: Mon Dec 14 16:07:20 2015 New Revision: 292214 URL: https://svnweb.freebsd.org/changeset/base/292214 Log: Add support for MSI interrupts to the gicv2m controller. The allocation is still quite simplistic, it just increments a counter to use the next interrupt.

svn commit: r292215 - head/sys/dev/pci

2015-12-14 Thread Andrew Turner
Author: andrew Date: Mon Dec 14 17:08:40 2015 New Revision: 292215 URL: https://svnweb.freebsd.org/changeset/base/292215 Log: Update the handling of interrupts on the generic PCIe driver: * Use the interrupt-map property to route interrupts * Remove the IRQ rman, it's now unneeded *

svn commit: r292186 - head

2015-12-14 Thread Andrew Turner
Author: andrew Date: Mon Dec 14 09:52:09 2015 New Revision: 292186 URL: https://svnweb.freebsd.org/changeset/base/292186 Log: Split KNOWN_ARCHES so we have one per line to simplify merging future architectures. Modified: head/Makefile.inc1 Modified: head/Makefile.inc1

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

2015-12-14 Thread Andrew Turner
Author: andrew Date: Mon Dec 14 10:06:01 2015 New Revision: 292194 URL: https://svnweb.freebsd.org/changeset/base/292194 Log: Skip restoring more registers when returning from an exception taken in the kernel. These registers are all callee saved, and as such will be restored before

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

2015-12-11 Thread Andrew Turner
Author: andrew Date: Fri Dec 11 15:25:47 2015 New Revision: 292112 URL: https://svnweb.freebsd.org/changeset/base/292112 Log: Sort the list of NICs after the mii options. While here add the msk driver as it has now been tested. Sponsored by: SoftIron Inc Modified:

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

2015-12-10 Thread Andrew Turner
Author: andrew Date: Thu Dec 10 16:40:38 2015 New Revision: 292064 URL: https://svnweb.freebsd.org/changeset/base/292064 Log: Add support for the GICv2M extension to the GICv2 interrupt controller. This is (oddly) specified in the ARM Server Base System Architecture. It extends the GICv2 to

svn commit: r292062 - in head/sys/arm64: arm64 cavium include

2015-12-10 Thread Andrew Turner
Author: andrew Date: Thu Dec 10 13:19:30 2015 New Revision: 292062 URL: https://svnweb.freebsd.org/changeset/base/292062 Log: Reduce the numbers of levels of indirection in arm64 pcib drivers by making the MSI & MSI-X handler functions be directly callable from the driver methods.

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

2015-12-10 Thread Andrew Turner
Author: andrew Date: Thu Dec 10 15:51:02 2015 New Revision: 292063 URL: https://svnweb.freebsd.org/changeset/base/292063 Log: Remove pic_map_msix from ARM64, it is unneeded as all mappings happen through pic_map_msi (without the x). Sponsored by: ABT Systems Ltd Modified:

svn commit: r292001 - head/sys/modules/ahci

2015-12-08 Thread Andrew Turner
Author: andrew Date: Tue Dec 8 20:05:27 2015 New Revision: 292001 URL: https://svnweb.freebsd.org/changeset/base/292001 Log: ahci_generic.c needs ofw_bus_if.h, add it to the module. Modified: head/sys/modules/ahci/Makefile Modified: head/sys/modules/ahci/Makefile

svn commit: r291855 - head/sys/cddl/dev/profile

2015-12-05 Thread Andrew Turner
Author: andrew Date: Sat Dec 5 10:00:01 2015 New Revision: 291855 URL: https://svnweb.freebsd.org/changeset/base/291855 Log: Allow the artificial profile frames to be adjusted as needed by the user. While here update for armv6 to a tested value. Submitted by: Howard Su

svn commit: r291852 - in head/sys: arm/arm arm/include cddl/dev/fbt/arm

2015-12-05 Thread Andrew Turner
Author: andrew Date: Sat Dec 5 09:32:36 2015 New Revision: 291852 URL: https://svnweb.freebsd.org/changeset/base/291852 Log: Move the check to see if we are tracing a function with the DTrace Function Boundary Trace to assembly to reduce the overhead of these checks. Submitted by:

Re: svn commit: r291741 - head/sys/geom

2015-12-04 Thread Andrew Turner
On Fri, 4 Dec 2015 23:42:51 +1100 (EST) Bruce Evans wrote: ... > This looks like 5 style bugs and 0 issues: > > 3 old style bugs: > - use of bool I don't seem to see where in style(9) we disallow the use of bool. Can you point me where this is specified? Andrew

Re: svn commit: r291689 - in head/sys: conf dev/ahci

2015-12-04 Thread Andrew Turner
On Thu, 3 Dec 2015 13:34:07 +0200 Konstantin Belousov <kostik...@gmail.com> wrote: > On Thu, Dec 03, 2015 at 11:24:11AM +0000, Andrew Turner wrote: > > Author: andrew > > Date: Thu Dec 3 11:24:11 2015 > > New Revision: 291689 > > URL: https://svnweb.freebsd.org/c

svn commit: r291768 - head/sys/modules/ahci

2015-12-04 Thread Andrew Turner
Author: andrew Date: Fri Dec 4 13:32:00 2015 New Revision: 291768 URL: https://svnweb.freebsd.org/changeset/base/291768 Log: Add ahci_generic to the ahci module on arm64. Pointed out by: kib Modified: head/sys/modules/ahci/Makefile Modified: head/sys/modules/ahci/Makefile

svn commit: r291689 - in head/sys: conf dev/ahci

2015-12-03 Thread Andrew Turner
Author: andrew Date: Thu Dec 3 11:24:11 2015 New Revision: 291689 URL: https://svnweb.freebsd.org/changeset/base/291689 Log: Add support for a generic AHCI attachment. This allows us to attach to a typically memory mapped bus, for example on the AMD Opteron A1100 the AHCI device is mapped

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

2015-12-01 Thread Andrew Turner
Author: andrew Date: Tue Dec 1 09:52:41 2015 New Revision: 291577 URL: https://svnweb.freebsd.org/changeset/base/291577 Log: Print useful information when we hit a data abort we can't handle. This prints the trap frame, along with the exception syndrome and fault address registers. Even

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

2015-12-01 Thread Andrew Turner
Author: andrew Date: Tue Dec 1 12:37:04 2015 New Revision: 291581 URL: https://svnweb.freebsd.org/changeset/base/291581 Log: Rework the exception entry/return functions to make them valid frames to be unwound through. For this we need the frame pointer (x29) to point to the location on the

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

2015-12-01 Thread Andrew Turner
Author: andrew Date: Tue Dec 1 12:27:36 2015 New Revision: 291580 URL: https://svnweb.freebsd.org/changeset/base/291580 Log: Rework the atomic code to reduce the repetition. This merges some of the atomic functions where they are almost identical, or have acquire/release semantics.

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

2015-11-24 Thread Andrew Turner
Author: andrew Date: Tue Nov 24 11:01:43 2015 New Revision: 291246 URL: https://svnweb.freebsd.org/changeset/base/291246 Log: Add support for moving the DMAP range. This is needed as some AMD SoCs place physical memory at an address outside the old DMAP range. This is an issue as we rely on

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

2015-11-23 Thread Andrew Turner
Author: andrew Date: Mon Nov 23 18:20:32 2015 New Revision: 291216 URL: https://svnweb.freebsd.org/changeset/base/291216 Log: Use #ifdef to get the file compiling without errors Modified: head/sys/arm/arm/pmu.c Modified: head/sys/arm/arm/pmu.c

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

2015-11-23 Thread Andrew Turner
Author: andrew Date: Mon Nov 23 17:05:28 2015 New Revision: 291210 URL: https://svnweb.freebsd.org/changeset/base/291210 Log: Only enable the first interrupt for now, we don't correctly configure or route interrupts to the needed cpu. Sponsored by: ABT Systems Ltd Modified:

svn commit: r291136 - in head/sys: arm/ti/am335x conf

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 16:25:03 2015 New Revision: 291136 URL: https://svnweb.freebsd.org/changeset/base/291136 Log: Move hdmi_if.m to files.arm so other kernel configs can use it. Modified: head/sys/arm/ti/am335x/files.am335x head/sys/conf/files.arm Modified:

svn commit: r291131 - in head/sys/arm: arm include versatile

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 13:02:34 2015 New Revision: 291131 URL: https://svnweb.freebsd.org/changeset/base/291131 Log: Limit arm_base_bs_tag to ARMv4 and ARMv5, we only used it in one place in armv6 and that can use fdtbus_bs_tag. Modified: head/sys/arm/arm/bus_space_base.c

svn commit: r291130 - head/sys/modules

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 12:53:44 2015 New Revision: 291130 URL: https://svnweb.freebsd.org/changeset/base/291130 Log: Fix a logic inversion, we should build dtrace on armv6, not on arm and armeb. Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

svn commit: r291133 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/at91 arm/broadcom/bcm2835 arm/cavium/cns11xx arm/freescale/imx arm/freescale/vybrid ...

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 15:30:08 2015 New Revision: 291133 URL: https://svnweb.freebsd.org/changeset/base/291133 Log: Move more bus_space_* files to be built by files.arm. This leaves the definition in a file.* file under sys/arm/arm in the few cases we need it for non-fdt

svn commit: r291135 - in head/sys: arm/altera/socfpga arm/broadcom/bcm2835 arm/conf arm/freescale/imx arm/freescale/vybrid arm/qemu arm/rockchip arm/samsung/exynos arm/ti/omap4 arm/xilinx conf

2015-11-21 Thread Andrew Turner
Author: andrew Date: Sat Nov 21 16:23:56 2015 New Revision: 291135 URL: https://svnweb.freebsd.org/changeset/base/291135 Log: Create device options for the two common ARM timers. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/altera/socfpga/files.socfpga

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