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

2018-02-01 Thread Andrew Turner
Author: andrew Date: Thu Feb 1 14:26:26 2018 New Revision: 328658 URL: https://svnweb.freebsd.org/changeset/base/328658 Log: Only promote userspace mappings to superpages. This was dropped in r328510, however due to the break-before-make requirement on arm64 is is currently unsafe to promot

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

2018-02-01 Thread Andrew Turner
Author: andrew Date: Thu Feb 1 15:05:17 2018 New Revision: 328662 URL: https://svnweb.freebsd.org/changeset/base/328662 Log: Disable EARLY_PRINTF from the Armada 3700 uart, it breaks when we want to use EARLY_PRINTF on other SoCs. Sponsored by: DARPA, AFRL Modified: head/sys/dev/uart/

Re: svn commit: r328916 - in head/sys: kern vm

2018-02-06 Thread Andrew Turner
> On 6 Feb 2018, at 04:16, Gleb Smirnoff wrote: > > Author: glebius > Date: Tue Feb 6 04:16:00 2018 > New Revision: 328916 > URL: https://svnweb.freebsd.org/changeset/base/328916 > > Log: > Followup on r302393 by cperciva, improving calculation of boot pages required > for UMA startup. > >

svn commit: r329382 - head/release/arm64

2018-02-16 Thread Andrew Turner
Author: andrew Date: Fri Feb 16 16:22:54 2018 New Revision: 329382 URL: https://svnweb.freebsd.org/changeset/base/329382 Log: Put the pine64 root filesystem on teh correct partition. The Pine64 root filesystem was incorrectly created directly on the MBR partition. This can cause the loade

Re: svn commit: r329612 - in head/sys: kern sys

2018-02-21 Thread Andrew Turner
> On 20 Feb 2018, at 00:06, Jeff Roberson wrote: > > Author: jeff > Date: Tue Feb 20 00:06:07 2018 > New Revision: 329612 > URL: https://svnweb.freebsd.org/changeset/base/329612 > > Log: > Further parallelize the buffer cache. > > Provide multiple clean queues partitioned into 'domains'. Ea

Re: svn commit: r329612 - in head/sys: kern sys

2018-02-21 Thread Andrew Turner
Yes, I’m still getting it on r329721. Andrew > On 21 Feb 2018, at 17:02, Conrad Meyer wrote: > > Do you have r329672 yet? > > Best, > Conrad > > On Wed, Feb 21, 2018 at 7:11 AM, Andrew Turner wrote: >> >>> On 20 Feb 2018, at 00:06, Jeff Roberson wro

Re: svn commit: r329822 - head/sbin

2018-02-22 Thread Andrew Turner
This commit message is missing why these are needed on powerpc, e.g. why aren’t you able to use gpart. Andrew > On 22 Feb 2018, at 12:31, Wojciech Macek wrote: > > Author: wma > Date: Thu Feb 22 12:31:28 2018 > New Revision: 329822 > URL: https://svnweb.freebsd.org/changeset/base/329822 > > L

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

2018-02-24 Thread Andrew Turner
Author: andrew Date: Sat Feb 24 10:33:31 2018 New Revision: 329906 URL: https://svnweb.freebsd.org/changeset/base/329906 Log: Correctly set the 16kB page size field in the ITS BASER register. Some new arm64 hardware, e.g. ThunderX2, seems to use this page size so was failing to attach as the

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

2018-02-25 Thread Andrew Turner
Author: andrew Date: Sun Feb 25 19:33:27 2018 New Revision: 329990 URL: https://svnweb.freebsd.org/changeset/base/329990 Log: Rename the FDT compat_data array to a bus-specific name. Sponsored by: DARPA, AFRL Modified: head/sys/dev/uart/uart_dev_pl011.c Modified: head/sys/dev/uart/uart_

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

2018-02-25 Thread Andrew Turner
Author: andrew Date: Sun Feb 25 19:43:00 2018 New Revision: 329991 URL: https://svnweb.freebsd.org/changeset/base/329991 Log: Teach the Arm pl011 driver to attach to a SBSA uart. This is defined in the Server Base System Architecture to be a subset of the pl011 r1p5. As we don't use the remo

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

2018-02-26 Thread Andrew Turner
Author: andrew Date: Mon Feb 26 08:45:38 2018 New Revision: 330016 URL: https://svnweb.freebsd.org/changeset/base/330016 Log: Check all entries in the ACPI uart compat table and not just the first. Sponsored by: DARPA, AFRL Modified: head/sys/dev/uart/uart_cpu_arm64.c Modified: head/sys

Re: svn commit: r330041 - in head/sys/dev/cxgbe: . crypto

2018-02-27 Thread Andrew Turner
> On 26 Feb 2018, at 22:12, John Baldwin wrote: > > Author: jhb > Date: Mon Feb 26 22:12:31 2018 > New Revision: 330041 > URL: https://svnweb.freebsd.org/changeset/base/330041 > > Log: > Move ccr_aes_getdeckey() from ccr(4) to the cxgbe(4) driver. > > This routine will also be used by the T

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

2018-02-28 Thread Andrew Turner
Author: andrew Date: Wed Feb 28 15:02:27 2018 New Revision: 330111 URL: https://svnweb.freebsd.org/changeset/base/330111 Log: The Arm pl011 driver assumes it's running a devicetree based system. It calls OF_* functions to check if it needs to implement workarounds. This may not be the case o

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

2018-02-28 Thread Andrew Turner
Author: andrew Date: Wed Feb 28 15:18:31 2018 New Revision: 330113 URL: https://svnweb.freebsd.org/changeset/base/330113 Log: Only check the ProducerConsumer flag on extended memory. As per the ACPI 6.0 spec 6.4.3.5 bit 0 is ignored on QWord, DWord, and Word Address Space Descriptors, but no

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

2018-02-28 Thread Andrew Turner
Author: andrew Date: Wed Feb 28 15:25:47 2018 New Revision: 330114 URL: https://svnweb.freebsd.org/changeset/base/330114 Log: Count the number of GIC redistributors in the ACPI tables. The GICv3 driver needs this to allocate memory, and connect the CPUs to the interrupt controller. Spon

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

2018-02-28 Thread Andrew Turner
Author: andrew Date: Wed Feb 28 16:03:40 2018 New Revision: 330120 URL: https://svnweb.freebsd.org/changeset/base/330120 Log: Allow releasing APs to take more time, as long as we are making progress. On large core count machines this can be slow while all the CPUs update the online counter.

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

2018-03-02 Thread Andrew Turner
Author: andrew Date: Fri Mar 2 13:04:21 2018 New Revision: 330276 URL: https://svnweb.freebsd.org/changeset/base/330276 Log: Count the number of children in the GICv3 ACPI attachment. This is needed later for assigning IRQ vector space. Sponsored by: DARPA, AFRL Sponsored by: Cavium (H

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

2018-03-03 Thread Andrew Turner
Author: andrew Date: Sat Mar 3 13:19:08 2018 New Revision: 330336 URL: https://svnweb.freebsd.org/changeset/base/330336 Log: Add the missing GICv3 dev info struct to the ACPI dev info.Previously we would read from the resource list when querying from this. Sponsored by: ABT Systems Ltd

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

2018-03-03 Thread Andrew Turner
Author: andrew Date: Sat Mar 3 13:20:44 2018 New Revision: 330337 URL: https://svnweb.freebsd.org/changeset/base/330337 Log: Move setting the IRQ base and length into the common GICv3 ITS attach function. This is common across both ACPI and FDT. Sponsored by: ABT Systems Ltd Sponsored

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

2018-03-05 Thread Andrew Turner
Author: andrew Date: Mon Mar 5 10:09:18 2018 New Revision: 330488 URL: https://svnweb.freebsd.org/changeset/base/330488 Log: In the ACPI GICv3 attach function call device_get_children to get the list of children. We expect this to be populated when configuring the secondary cores. Spon

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

2018-03-05 Thread Andrew Turner
Author: andrew Date: Mon Mar 5 10:11:30 2018 New Revision: 330489 URL: https://svnweb.freebsd.org/changeset/base/330489 Log: Register each GICv3 ITS driver with a useful cross reference. We currently only use the first driver, however this may change in the future and hardware exists with m

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

2018-03-07 Thread Andrew Turner
Author: andrew Date: Wed Mar 7 09:58:36 2018 New Revision: 330574 URL: https://svnweb.freebsd.org/changeset/base/330574 Log: Restrict the arm64 DMAP region to the 1G blocks where we have at least one physical page. This is in preparation for limiting it further as this is needed on some har

svn commit: r330575 - in head/sys: conf dev/acpica dev/pci

2018-03-07 Thread Andrew Turner
Author: andrew Date: Wed Mar 7 10:47:27 2018 New Revision: 330575 URL: https://svnweb.freebsd.org/changeset/base/330575 Log: Add an acpi attachment to the pci_host_generic driver and have the ACPI bus provide it with its needed memory resources. This allows us to use PCIe on the ThunderX

svn commit: r330582 - in head/sys: arm64/arm64 arm64/include dev/pci

2018-03-07 Thread Andrew Turner
Author: andrew Date: Wed Mar 7 13:16:03 2018 New Revision: 330582 URL: https://svnweb.freebsd.org/changeset/base/330582 Log: Create macros for the ACPI interrupt cross references. This is considered a band aid until a better solution to find the correct interrupt controller can be found.

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

2018-03-07 Thread Andrew Turner
Author: andrew Date: Wed Mar 7 13:54:44 2018 New Revision: 330593 URL: https://svnweb.freebsd.org/changeset/base/330593 Log: Bump MAXCPUS on arm64. We are starting to see hardware with more than 96 cores so increase it to the same as amd64. Sponsored by: DARPA, AFRL Sponsored by: Caviu

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

2018-03-09 Thread Andrew Turner
Author: andrew Date: Fri Mar 9 10:34:44 2018 New Revision: 330687 URL: https://svnweb.freebsd.org/changeset/base/330687 Log: Use the correct address to write back to memory in the GICv3 ITS driver. This seems to no be needed on supported hardware as they are cache-coherent, however this may

svn commit: r331241 - head/sys/dev/efidev

2018-03-20 Thread Andrew Turner
Author: andrew Date: Tue Mar 20 13:35:20 2018 New Revision: 331241 URL: https://svnweb.freebsd.org/changeset/base/331241 Log: Check if the gettime runtime service is valid. The U-Boot efi runtime service expects us to set the address map before calling any runtime services. It will then r

svn commit: r331242 - head

2018-03-20 Thread Andrew Turner
Author: andrew Date: Tue Mar 20 13:39:41 2018 New Revision: 331242 URL: https://svnweb.freebsd.org/changeset/base/331242 Log: Remove the entry about loader.efi needing to be updated before the kernel. The kernel now handles the situation it's warning against as of r331241. Sponsored by: D

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

2018-03-21 Thread Andrew Turner
Author: andrew Date: Wed Mar 21 15:17:54 2018 New Revision: 331306 URL: https://svnweb.freebsd.org/changeset/base/331306 Log: Use a table to find the endpoint configuration On the Allwinner SoCs we need to set a custom endpoint configuration. To allow for this use a table to store the con

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

2016-08-24 Thread Andrew Turner
Author: andrew Date: Wed Aug 24 12:57:40 2016 New Revision: 304749 URL: https://svnweb.freebsd.org/changeset/base/304749 Log: Add support to promote and demote managed superpages. This is the last part needed before enabling superpages on arm64. This code is based on the amd64 pmap with chan

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

2016-08-24 Thread Andrew Turner
Author: andrew Date: Wed Aug 24 13:00:50 2016 New Revision: 304750 URL: https://svnweb.freebsd.org/changeset/base/304750 Log: Allow superpages on arm64 to be enabled. It is disabled for now to allow for more testing across more hardware. Obtained from:ABT Systems Ltd MFC after:

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

2016-08-25 Thread Andrew Turner
Author: andrew Date: Thu Aug 25 10:53:03 2016 New Revision: 304799 URL: https://svnweb.freebsd.org/changeset/base/304799 Log: Map coherent memory in a non-coherent dma tag as uncached. This is similar to what the 32-bit arm code does, with the exception that it always assumes the tag is non-

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

2016-08-25 Thread Andrew Turner
Author: andrew Date: Thu Aug 25 12:42:41 2016 New Revision: 304801 URL: https://svnweb.freebsd.org/changeset/base/304801 Log: Don't set *dev in the zfs root case, it may be NULL and will correctly be set later in the function. This fixes a potential NULL pointer dereference found on arm64.

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

2016-08-25 Thread Andrew Turner
Author: andrew Date: Thu Aug 25 14:42:29 2016 New Revision: 304806 URL: https://svnweb.freebsd.org/changeset/base/304806 Log: Fix an assert, it should check if, when moving from 1 l1 to 512 l2 blocks, the l2 entry is a block type and not an l3 page. While here fix the string to correct th

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

2016-08-27 Thread Andrew Turner
Author: andrew Date: Sat Aug 27 10:30:20 2016 New Revision: 304892 URL: https://svnweb.freebsd.org/changeset/base/304892 Log: Print both the kernel read and write translation in DDB when asking for a virtual to physical translation. These may be different, e.g. when a page is mapped as read-

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

2016-08-30 Thread Andrew Turner
Author: andrew Date: Tue Aug 30 16:45:15 2016 New Revision: 305071 URL: https://svnweb.freebsd.org/changeset/base/305071 Log: Because we need to use a break-before-make sequence when promoting pages there is a short period where functions that walk the kernel page table without locking them

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

2016-08-31 Thread Andrew Turner
Author: andrew Date: Wed Aug 31 13:58:32 2016 New Revision: 305128 URL: https://svnweb.freebsd.org/changeset/base/305128 Log: Also handle instruction traps. We might hit these when the page we are executing is being promoted to a superpage. Obtained from:ABT Systems Ltd MFC afte

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

2016-09-01 Thread Andrew Turner
Author: andrew Date: Thu Sep 1 10:26:06 2016 New Revision: 305191 URL: https://svnweb.freebsd.org/changeset/base/305191 Log: Fix arm64 superpages bugs in pmap_enter: * Pass the correct virtual address when demoting a superpage * Use the correct l3 table after demoting a superpage * Rem

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

2016-09-02 Thread Andrew Turner
Author: andrew Date: Fri Sep 2 10:13:51 2016 New Revision: 305285 URL: https://svnweb.freebsd.org/changeset/base/305285 Log: Add a pc_clock pcpu field and use it to implement cpu_est_clockrate. This will allow drivers that manage the clock frequency to communicate this with the reset of the

svn commit: r305355 - head/sys/conf

2016-09-03 Thread Andrew Turner
Author: andrew Date: Sat Sep 3 17:23:24 2016 New Revision: 305355 URL: https://svnweb.freebsd.org/changeset/base/305355 Log: Explicitly include all .rodata.* sections in the kernel .rodata. This helps link the kernel with lld as it will then put all these into a single .rodata section.

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

2016-09-04 Thread Andrew Turner
Author: andrew Date: Sun Sep 4 17:50:23 2016 New Revision: 305391 URL: https://svnweb.freebsd.org/changeset/base/305391 Log: Enable superpages on arm64 by default. These seem to be stable, having survived multiple world and kernel builds, and of poudriere building full package sets. I

svn commit: r305471 - head/usr.sbin/acpi/acpidump

2016-09-06 Thread Andrew Turner
Author: andrew Date: Tue Sep 6 10:13:49 2016 New Revision: 305471 URL: https://svnweb.freebsd.org/changeset/base/305471 Log: Teach acpidump how to parse ACPI 5.1 tables found on the development ThunderX units in the netperf cluster. Approved by: jkim Obtained from:ABT Systems

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

2016-09-07 Thread Andrew Turner
Author: andrew Date: Wed Sep 7 16:22:05 2016 New Revision: 305545 URL: https://svnweb.freebsd.org/changeset/base/305545 Log: Only call cpu_icache_sync_range when inserting an executable page. If the page is non-executable the contents of the i-cache are unimportant so this call is just addi

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

2016-09-07 Thread Andrew Turner
Author: andrew Date: Wed Sep 7 16:46:54 2016 New Revision: 305546 URL: https://svnweb.freebsd.org/changeset/base/305546 Log: When synchronising the instruction and data caches we only need to clean the data cache to the point of unification. This is the point where the two caches are unifie

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

2016-09-08 Thread Andrew Turner
Author: andrew Date: Thu Sep 8 12:39:03 2016 New Revision: 305605 URL: https://svnweb.freebsd.org/changeset/base/305605 Log: Don't panic when we don't handle a userland exception, not all we may see are currently handled. Obtained from:ABT Systems Ltd MFC after:3 days Spo

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

2016-09-08 Thread Andrew Turner
Author: andrew Date: Thu Sep 8 12:53:01 2016 New Revision: 305607 URL: https://svnweb.freebsd.org/changeset/base/305607 Log: Trap msr/mrs instructions. These are privileged arm64 instructions and shouldn't normally be used. Obtained from:ABT Systems Ltd MFC after:1 week S

Re: svn commit: r305607 - head/sys/arm64/arm64

2016-09-08 Thread Andrew Turner
On Thu, 8 Sep 2016 16:48:45 +0200 Ed Schouten wrote: > Hi Andrew, > > 2016-09-08 14:53 GMT+02:00 Andrew Turner : > > Trap msr/mrs instructions. These are privileged arm64 > > instructions and shouldn't normally be used. > > It depends on which system regis

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

2016-09-13 Thread Andrew Turner
Author: andrew Date: Tue Sep 13 14:10:49 2016 New Revision: 305767 URL: https://svnweb.freebsd.org/changeset/base/305767 Log: Add a warning about a known erratum we have observed on ThunderX pass 1.1. As this is evaluation hardware with only a few users, and there is a lack of information ad

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

2016-09-13 Thread Andrew Turner
Author: andrew Date: Tue Sep 13 15:45:22 2016 New Revision: 305771 URL: https://svnweb.freebsd.org/changeset/base/305771 Log: Fix the arm64 kernel build when DDB is disabled, debug_monitor.c depends on DDB, and is unused when it's disabled. Obtained from:ABT Systems Ltd MFC afte

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

2016-09-13 Thread Andrew Turner
Author: andrew Date: Tue Sep 13 16:20:31 2016 New Revision: 305772 URL: https://svnweb.freebsd.org/changeset/base/305772 Log: Add a missing opt_ddb.h include from places that include debug_moditor.h to fix the build. Obtained from:ABT Systems Ltd X-MFC with: r305771 Sponsore

svn commit: r305972 - in head/contrib/cortex-strings: . reference tests

2016-09-19 Thread Andrew Turner
Author: andrew Date: Mon Sep 19 13:12:09 2016 New Revision: 305972 URL: https://svnweb.freebsd.org/changeset/base/305972 Log: Import the Linaro Cortex Strings library into contrib. Sponsored by: The FreeBSD Foundation Added: head/contrib/cortex-strings/ - copied from r305970, vendor

svn commit: r305973 - head/contrib/cortex-strings/src/aarch64

2016-09-19 Thread Andrew Turner
Author: andrew Date: Mon Sep 19 14:36:16 2016 New Revision: 305973 URL: https://svnweb.freebsd.org/changeset/base/305973 Log: Fix the asm on the memchr and strchr functions. Add an alias from index to strchr as is done in the libc C implementation. Obtained from:ABT Systems Ltd

svn commit: r305974 - head/lib/libc/aarch64/string

2016-09-19 Thread Andrew Turner
Author: andrew Date: Mon Sep 19 15:08:03 2016 New Revision: 305974 URL: https://svnweb.freebsd.org/changeset/base/305974 Log: Attach the cortex strings library to the build. Only a subset of functions have been added as some don't seem to be improvements over the libc C implementation.

svn commit: r306083 - in head/sys/gnu/dts: arm include/dt-bindings/clock include/dt-bindings/gpio include/dt-bindings/mfd include/dt-bindings/pinctrl include/dt-bindings/reset

2016-09-21 Thread Andrew Turner
Author: andrew Date: Wed Sep 21 08:54:08 2016 New Revision: 306083 URL: https://svnweb.freebsd.org/changeset/base/306083 Log: Update the device tree source files to a Linux 4.7-RC. MFC after:2 weeks Sponsored by: ABT Systems Ltd Added: head/sys/gnu/dts/arm/am335x-baltos-ir2110.dts

svn commit: r306262 - in head/sys/arm: allwinner altera/socfpga amlogic/aml8726 annapurna/alpine arm broadcom/bcm2835 freescale/imx freescale/vybrid include mv nvidia/tegra124 qemu rockchip samsung...

2016-09-23 Thread Andrew Turner
Author: andrew Date: Fri Sep 23 12:38:05 2016 New Revision: 306262 URL: https://svnweb.freebsd.org/changeset/base/306262 Log: Remove bus_dma_get_range and bus_dma_get_range_nb on armv6. We only need this on a few earlier arm SoCs. Reviewed by: manu (earlier version) Sponsored by: ABT S

svn commit: r306263 - in head/sys/arm: allwinner arm broadcom/bcm2835 freescale/imx nvidia/tegra124 qemu ti

2016-09-23 Thread Andrew Turner
Author: andrew Date: Fri Sep 23 13:08:15 2016 New Revision: 306263 URL: https://svnweb.freebsd.org/changeset/base/306263 Log: Move cpu_reset to be a platform method to allow multiple implementations. Reviewed by: mmel Sponsored by: ABT Systems Ltd Differential Revision:https://

svn commit: r306267 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/at91 arm/broadcom/bcm2835 arm/freescale/imx arm/freescale/vybrid arm/lpc arm/nvidia/...

2016-09-23 Thread Andrew Turner
Author: andrew Date: Fri Sep 23 14:11:23 2016 New Revision: 306267 URL: https://svnweb.freebsd.org/changeset/base/306267 Log: Restrict where we need to define fdt_fixup_table to just PowerPC and Marvell. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/allwinner/a10_common.c head

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

2016-09-23 Thread Andrew Turner
Author: andrew Date: Fri Sep 23 15:28:15 2016 New Revision: 306268 URL: https://svnweb.freebsd.org/changeset/base/306268 Log: Also implement platform_cpu_reset on bcm2836 Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_machdep.c =

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

2016-09-25 Thread Andrew Turner
Author: andrew Date: Sun Sep 25 07:48:08 2016 New Revision: 306307 URL: https://svnweb.freebsd.org/changeset/base/306307 Log: Add the start of a GENERIC armv6 kernel config. This supports the Allwinner SMP SoCs and qemu virt. Further SoCs can be supported if they support the PLATFORM, PLATFO

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

2016-09-29 Thread Andrew Turner
Author: andrew Date: Thu Sep 29 08:49:12 2016 New Revision: 306439 URL: https://svnweb.freebsd.org/changeset/base/306439 Log: Remove struct platform_data, it was never used. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/include/platformvar.h Modified: head/sys/arm/include/platfor

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

2016-09-29 Thread Andrew Turner
Author: andrew Date: Thu Sep 29 17:13:17 2016 New Revision: 306455 URL: https://svnweb.freebsd.org/changeset/base/306455 Log: Use SV_ABI_ERRNO to set the syscall return value. The Linuxulator will need this. Submitted by: Grégory Soutadé Differential Revision:https://reviews.fr

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

2016-09-30 Thread Andrew Turner
Author: andrew Date: Fri Sep 30 10:20:53 2016 New Revision: 306490 URL: https://svnweb.freebsd.org/changeset/base/306490 Log: Add support for Tegra to the armv6 GENERIC kernel. Reviewed by: imp, mmel Sponsored by: ABT Systems Ltd Differential Revision:https://reviews.freebsd.or

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

2016-09-30 Thread Andrew Turner
Author: andrew Date: Fri Sep 30 10:22:50 2016 New Revision: 306492 URL: https://svnweb.freebsd.org/changeset/base/306492 Log: Remove the duplicate ukbd device from the armv6 GENERIC Sponsored by: ABT Systems Ltd Modified: head/sys/arm/conf/GENERIC Modified: head/sys/arm/conf/GENERIC ===

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

2016-10-03 Thread Andrew Turner
Author: andrew Date: Mon Oct 3 11:57:10 2016 New Revision: 306631 URL: https://svnweb.freebsd.org/changeset/base/306631 Log: Use C99 designated initializers to create the armv6 cpu_functions structs. This will help with a later cleanup of what functions we implement. Sponsored by: ABT Sy

svn commit: r306639 - head/sys/conf

2016-10-03 Thread Andrew Turner
Author: andrew Date: Mon Oct 3 14:18:13 2016 New Revision: 306639 URL: https://svnweb.freebsd.org/changeset/base/306639 Log: Split the compiler command line for building the arm elf trampoline code so common parts of the command are on separate lines. Sponsored by: ABT Systems Ltd Modif

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

2016-10-03 Thread Andrew Turner
Author: andrew Date: Mon Oct 3 14:26:55 2016 New Revision: 306640 URL: https://svnweb.freebsd.org/changeset/base/306640 Log: Only define the CF_* macros on ARMv4/v5. They are unused on armv6. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/genassym.c Modified: head/sys/arm/arm

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

2016-10-03 Thread Andrew Turner
Author: andrew Date: Mon Oct 3 14:43:57 2016 New Revision: 306641 URL: https://svnweb.freebsd.org/changeset/base/306641 Log: Remove the parts of cpu_functions from armv6 that are unused on that architecture. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/arm/cpufunc.c head/sys

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

2016-10-03 Thread Andrew Turner
Author: andrew Date: Mon Oct 3 16:10:38 2016 New Revision: 306645 URL: https://svnweb.freebsd.org/changeset/base/306645 Log: Remove unused functions on armv6. Some of the cache handling code is still used in the elf trampoline so add a macro to handle this. Sponsored by: ABT Systems Ltd

svn commit: r306646 - in head/sys/arm/allwinner: a20 a31 a83t h3

2016-10-03 Thread Andrew Turner
Author: andrew Date: Mon Oct 3 16:47:46 2016 New Revision: 306646 URL: https://svnweb.freebsd.org/changeset/base/306646 Log: Remove the old Allwinner std.* files, these are not part of the common Allwinner kernel configs. Sponsored by: ABT Systems Ltd Deleted: head/sys/arm/allwinner/a

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

2016-10-03 Thread Andrew Turner
Author: andrew Date: Mon Oct 3 18:00:10 2016 New Revision: 306650 URL: https://svnweb.freebsd.org/changeset/base/306650 Log: Add the Cortex-A{53,57,72} ID register values. These can all run 32-bit code so could run a 32-bit kernel. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/

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

2016-10-03 Thread Andrew Turner
Author: andrew Date: Mon Oct 3 20:05:33 2016 New Revision: 306656 URL: https://svnweb.freebsd.org/changeset/base/306656 Log: Use the cortex functions when booting on one of the Cortex-A ARMv8 CPUs. This list is incomplete, however we don't have the ID values for the missing Cortex-A32 or A3

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

2016-10-04 Thread Andrew Turner
Author: andrew Date: Tue Oct 4 12:01:08 2016 New Revision: 306671 URL: https://svnweb.freebsd.org/changeset/base/306671 Log: Read the Multiprocessing Extensions bit from the Multiprocessor Affinity register. Sponsored by: ABT Systems Ltd X-Differential Revision: https://reviews.fr

svn commit: r306672 - in head/sys: arm/allwinner arm/altera/socfpga arm/amlogic/aml8726 arm/annapurna/alpine arm/arm arm/broadcom/bcm2835 arm/conf arm/freescale/imx arm/freescale/vybrid arm/include...

2016-10-04 Thread Andrew Turner
Author: andrew Date: Tue Oct 4 12:25:44 2016 New Revision: 306672 URL: https://svnweb.freebsd.org/changeset/base/306672 Log: Split CPU_CORTEXA into CPU_CORTEXA8, for the Cortex-A8, and CPU_CORTEXA_MP, for later Cortex-A CPUs that support the Multiprocessor Extensions. This will be needed to

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

2016-10-05 Thread Andrew Turner
Author: andrew Date: Wed Oct 5 14:00:05 2016 New Revision: 306705 URL: https://svnweb.freebsd.org/changeset/base/306705 Log: We don't use cpu_control on armv6, remove the macro there. Modified: head/sys/arm/include/cpufunc.h Modified: head/sys/arm/include/cpufunc.h =

svn commit: r306812 - head/sys/boot/common

2016-10-07 Thread Andrew Turner
Author: andrew Date: Fri Oct 7 16:17:51 2016 New Revision: 306812 URL: https://svnweb.freebsd.org/changeset/base/306812 Log: The bootloader self relocation code was slightly wrong for the R_AARCH64_RELATIVE relocation found on arm64. It would try to add the contents of the memory location b

svn commit: r306928 - head/sys/conf

2016-10-09 Thread Andrew Turner
Author: andrew Date: Sun Oct 9 21:47:20 2016 New Revision: 306928 URL: https://svnweb.freebsd.org/changeset/base/306928 Log: Set INLINE_LIMIT in the aarch64 case for gcc. Submitted by: andreast MFC after:1 week Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk =

svn commit: r307149 - head/release/arm

2016-10-12 Thread Andrew Turner
Author: andrew Date: Wed Oct 12 15:29:22 2016 New Revision: 307149 URL: https://svnweb.freebsd.org/changeset/base/307149 Log: Use the armv6 GENERIC kernel in the release images on hardware this kernel config supports. Approved by: gjb Sponsored by: ABT Systems Ltd Differential Revisi

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

2016-10-13 Thread Andrew Turner
Author: andrew Date: Thu Oct 13 09:06:29 2016 New Revision: 307210 URL: https://svnweb.freebsd.org/changeset/base/307210 Log: Move printing the AArch64 ID registers to a new SYSINIT, the previous location only prints them when booting on SMP with multiple cores. MFC after:1 week Spo

Re: svn commit: r307257 - in head/sys: arm/broadcom/bcm2835 arm64/broadcom arm64/broadcom/bcm2837 arm64/conf conf

2016-10-14 Thread Andrew Turner
On Fri, 14 Oct 2016 03:37:36 + (UTC) Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Fri Oct 14 03:37:35 2016 > New Revision: 307257 > URL: https://svnweb.freebsd.org/changeset/base/307257 > > Log: > Add initial Raspberry Pi 3 support > > RPI3 kernel config builds kernel compatibl

Re: svn commit: r307252 - head/sys/arm/broadcom/bcm2835

2016-10-14 Thread Andrew Turner
On Fri, 14 Oct 2016 03:00:53 + (UTC) Oleksandr Tymoshenko wrote: > Author: gonzo > Date: Fri Oct 14 03:00:53 2016 > New Revision: 307252 > URL: https://svnweb.freebsd.org/changeset/base/307252 > > Log: > Make bcm2835_machdep.c optional > > bcm2835_machdep.c contains only bits enabled

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

2016-10-14 Thread Andrew Turner
Author: andrew Date: Fri Oct 14 15:53:48 2016 New Revision: 307321 URL: https://svnweb.freebsd.org/changeset/base/307321 Log: Rework how we store the VFP registers in the pcb. This will be used when creating a floating-point context within the kernel without having to move the stored values

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

2016-10-14 Thread Andrew Turner
Author: andrew Date: Fri Oct 14 22:20:14 2016 New Revision: 307334 URL: https://svnweb.freebsd.org/changeset/base/307334 Log: Create macros for the MAIR memory attributes. While here add an uncached memory type, however the VM code still needs to be taught about this. MFC after:1 week

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

2016-10-15 Thread Andrew Turner
Author: andrew Date: Sat Oct 15 09:54:22 2016 New Revision: 307349 URL: https://svnweb.freebsd.org/changeset/base/307349 Log: Check we are in a critical section when calling vfp_discard. As we may call it with a NULL thread pointer only check when it is non-NULL. Obtained from:ABT

Re: svn commit: r307257 - in head/sys: arm/broadcom/bcm2835 arm64/broadcom arm64/broadcom/bcm2837 arm64/conf conf

2016-10-15 Thread Andrew Turner
On Fri, 14 Oct 2016 10:23:24 -0700 Oleksandr Tymoshenko wrote: > > On Oct 14, 2016, at 1:31 AM, Andrew Turner > > wrote: > > > > On Fri, 14 Oct 2016 03:37:36 + (UTC) > > Oleksandr Tymoshenko mailto:go...@freebsd.org>> > > wrote: > >> &g

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

2016-10-15 Thread Andrew Turner
Author: andrew Date: Sat Oct 15 16:29:06 2016 New Revision: 307377 URL: https://svnweb.freebsd.org/changeset/base/307377 Log: Fix the build, struct vfpstate needs to be visible to userspace as it's part of struct pcb which is in a header used in libutil. Obtained from:ABT Systems

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

2017-02-03 Thread Andrew Turner
Author: andrew Date: Fri Feb 3 10:04:17 2017 New Revision: 313141 URL: https://svnweb.freebsd.org/changeset/base/313141 Log: Only define atomic_fcmpset_long in the kernel. We may include machine/atomic.h in userspace, however atomic_fcmpset_32 is unimplemented there. Sponsored by: ABT

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

2017-02-03 Thread Andrew Turner
Author: andrew Date: Fri Feb 3 11:47:57 2017 New Revision: 313145 URL: https://svnweb.freebsd.org/changeset/base/313145 Log: Remove an old use of _ARM_ARCH_6, we are moving to using the standard __ARM_ARCH >= 6 spelling. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/include/asm

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

2017-02-03 Thread Andrew Turner
Author: andrew Date: Fri Feb 3 11:51:06 2017 New Revision: 313146 URL: https://svnweb.freebsd.org/changeset/base/313146 Log: Fix the comment showing the meaning of the first argument to sigprocmask. Sponsored by: ABT Systems Ltd Modified: head/lib/libc/aarch64/gen/setjmp.S Modified: he

svn commit: r313339 - head/sys/kern

2017-02-06 Thread Andrew Turner
Author: andrew Date: Mon Feb 6 13:08:48 2017 New Revision: 313339 URL: https://svnweb.freebsd.org/changeset/base/313339 Log: Only allow the pic type to be either a PIC or MSI type. All interrupt controller drivers handle either MSI/MSI-X interrupts, or regular interrupts, as such enforce th

svn commit: r313342 - head/sys/conf

2017-02-06 Thread Andrew Turner
Author: andrew Date: Mon Feb 6 14:41:34 2017 New Revision: 313342 URL: https://svnweb.freebsd.org/changeset/base/313342 Log: Only build the ACPI PCI drivers on x86, they are unlikely to be used on arm64 without dignificant changes. Obtained from:ABT Systems Ltd Sponsored by: Th

svn commit: r313344 - head/sys/conf

2017-02-06 Thread Andrew Turner
Author: andrew Date: Mon Feb 6 15:24:52 2017 New Revision: 313344 URL: https://svnweb.freebsd.org/changeset/base/313344 Log: Temporary disable gicv3_its.c when FDT is missing from the kernel until INTRNG supports ACPI. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Fou

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

2017-02-06 Thread Andrew Turner
Author: andrew Date: Mon Feb 6 17:50:09 2017 New Revision: 313347 URL: https://svnweb.freebsd.org/changeset/base/313347 Log: Remove arm64_tlb_flushID_SE, it's unused and may be wrong. Sponsored by: ABT Systems Ltd Modified: head/sys/arm64/arm64/cpufunc_asm.S head/sys/arm64/include/cpu

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

2017-02-07 Thread Andrew Turner
ollers in different spaces. > On Mon, Feb 6, 2017 at 2:08 PM, Andrew Turner > wrote: > > Author: andrew > > Date: Mon Feb 6 13:08:48 2017 > > New Revision: 313339 > > URL: https://svnweb.freebsd.org/changeset/base/313339 > > > > Log: > > On

svn commit: r313385 - in head/sys/arm: altera/socfpga conf

2017-02-07 Thread Andrew Turner
tart_ap(void) +socfpga_mp_start_ap(platform_t plat) { bus_space_handle_t scu, rst, ram; int reg; Added: head/sys/arm/altera/socfpga/socfpga_mp.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/altera/socfpga/socfpga_mp.hTue Feb 7 12:04:

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

2017-02-07 Thread Andrew Turner
Author: andrew Date: Tue Feb 7 18:19:11 2017 New Revision: 313396 URL: https://svnweb.freebsd.org/changeset/base/313396 Log: Push reading of ESR_EL1 to assembly. Among other uses this will allow us to expose this to signal handlers, e.g. for the clang sanitizers. Sponsored by: DARPA, AFR

Re: svn commit: r313342 - head/sys/conf

2017-02-07 Thread Andrew Turner
On Mon, 06 Feb 2017 10:43:09 -0800 John Baldwin wrote: > On Monday, February 06, 2017 02:41:34 PM Andrew Turner wrote: > > Author: andrew > > Date: Mon Feb 6 14:41:34 2017 > > New Revision: 313342 > > URL: https://svnweb.freebsd.org/changeset/base/313342 > > &

svn commit: r313476 - head/sys/dev/e1000

2017-02-09 Thread Andrew Turner
Author: andrew Date: Thu Feb 9 17:48:33 2017 New Revision: 313476 URL: https://svnweb.freebsd.org/changeset/base/313476 Log: Add support for the Intel 82572EI back to em(4), it seems it was dropped when oving to iflib. Reviewed by: sbruno Sponsored by: ABT Systems Ltd Differential R

svn commit: r313767 - head/sys/dev/axgbe

2017-02-15 Thread Andrew Turner
Author: andrew Date: Wed Feb 15 13:37:32 2017 New Revision: 313767 URL: https://svnweb.freebsd.org/changeset/base/313767 Log: Import the AMD 10G ethernet driver for the AMD Opteron A1100. This is from Linux git as of 5eb4dce3b3471ec9d1ea2945fa3d2bab4ac7e100 Obtained from:Linux

svn commit: r313768 - in head/sys: arm64/conf conf dev/axgbe

2017-02-15 Thread Andrew Turner
) +++ head/sys/dev/axgbe/if_axgbe.c Wed Feb 15 13:56:04 2017 (r313768) @@ -0,0 +1,619 @@ +/*- + * Copyright (c) 2016,2017 SoftIron Inc. + * All rights reserved. + * + * This software was developed by Andrew Turner under + * the sponsorship of SoftIron Inc. + * + * Redistribution and use

Re: svn commit: r313768 - in head/sys: arm64/conf conf dev/axgbe

2017-02-15 Thread Andrew Turner
On Wed, 15 Feb 2017 13:56:04 + (UTC) Andrew Turner wrote: > Author: andrew > Date: Wed Feb 15 13:56:04 2017 > New Revision: 313768 > URL: https://svnweb.freebsd.org/changeset/base/313768 > > Log: > Port the Linux AMX 10G network driver to FreeBSD as axgbe. It is >

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