Author: andrew
Date: Mon Nov 21 19:14:46 2016
New Revision: 308936
URL: https://svnweb.freebsd.org/changeset/base/308936
Log:
Mark virtio_mmio as FDT only, it lacks an ACPI attachment.
Obtained from:ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
Modified:
Author: andrew
Date: Mon Nov 21 19:03:51 2016
New Revision: 308934
URL: https://svnweb.freebsd.org/changeset/base/308934
Log:
Mark extres as FDT only. Much of this assumes FDT and fails to build
without it.
Obtained from:ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
Author: andrew
Date: Mon Nov 21 18:50:45 2016
New Revision: 308933
URL: https://svnweb.freebsd.org/changeset/base/308933
Log:
Mark the Allwinner drivers as FDT only. These are mobile and embedded parts
so are unlikely to use ACPI.
Obtained from:ABT Systems Ltd
Sponsored by: The
t, rman_res_t, rman_res_t, u_int);
-int pci_host_generic_attach(device_t);
-int generic_pcie_get_id(device_t, device_t, enum pci_id_type, uintptr_t *);
+int pci_host_generic_core_attach(device_t);
+struct resource *pci_host_generic_core_alloc_resource(device_t, device_t, int,
+int *, rman_
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/dev/uart/uart_cpu_arm64.c Mon Nov 21 11:27:14 2016
(r308922)
@@ -0,0 +1,117 @@
+/*-
+ * Copyright (c) 2016 The FreeBSD Foundation
+ * All rights reserved.
+ *
+ * This software was developed by Andrew
Foundation
+.\" All rights reserved.
+.\"
+.\" This software was developed by Andrew Turner under
+.\" sponsorship from the FreeBSD Foundation.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that th
Author: andrew
Date: Sat Nov 19 13:57:21 2016
New Revision: 308830
URL: https://svnweb.freebsd.org/changeset/base/308830
Log:
Make fdt_is_compatible a static function. It's only used in fdt_common.c.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/dev/fdt/fdt_common.c
On Sat, 19 Nov 2016 00:55:46 + (UTC)
Olivier Houchard wrote:
...
> @@ -265,6 +269,16 @@ omap_ehci_probe(device_t dev)
> if (!ofw_bus_is_compatible(dev, "ti,ehci-omap"))
> return (ENXIO);
>
> +#ifdef SOC_OMAP4
> + /*
> + * If we're running a
On Fri, 18 Nov 2016 08:15:46 + (UTC)
Dexuan Cui wrote:
> Author: dexuan
> Date: Fri Nov 18 08:15:45 2016
> New Revision: 308799
> URL: https://svnweb.freebsd.org/changeset/base/308799
>
> Log:
> fix share/man/man4/Makefile for hv_ata_pci_disengage.4
>
> We need to
s/dev/dme/if_dme.cThu Nov 17 11:48:07
> 2016 (r308747) @@ -0,0 +1,1070 @@
> +/*
> + * Copyright (C) 2015 Alexander Kabaev
> + * Copyright (C) 2010 Andrew Turner
> + * All rights reserved.
...
> +/*
> + * A driver for the DM9000 MAC
> + *
> + * TODO:
> + * Get
Author: andrew
Date: Wed Nov 16 11:37:43 2016
New Revision: 308727
URL: https://svnweb.freebsd.org/changeset/base/308727
Log:
Include the SMSC LAN91C111 driver, this is found in some of the ARM models.
Modified:
head/sys/arm64/conf/GENERIC
Modified: head/sys/arm64/conf/GENERIC
Author: andrew
Date: Wed Nov 16 11:31:53 2016
New Revision: 308726
URL: https://svnweb.freebsd.org/changeset/base/308726
Log:
Use the correct OF_getencprop to get the height.
Reported by: jmcneill
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm/broadcom/bcm2835/bcm2835_fb.c
Author: andrew
Date: Mon Nov 14 12:03:08 2016
New Revision: 308640
URL: https://svnweb.freebsd.org/changeset/base/308640
Log:
Use the correct OF_getencprop over OF_getprop + fdt32_to_cpu to read
integer data from the device tree.
Sponsored by: ABT Systems Ltd
Modified:
Author: andrew
Date: Mon Nov 14 11:52:22 2016
New Revision: 308639
URL: https://svnweb.freebsd.org/changeset/base/308639
Log:
Move including fdt_pinctrl.h after openfirm.h to get th edefinition of
phandle_t and remove the need for including fdt_common.h.
Sponsored by: ABT Systems Ltd
Author: andrew
Date: Mon Nov 14 11:41:22 2016
New Revision: 308638
URL: https://svnweb.freebsd.org/changeset/base/308638
Log:
Stop including fdt_common.h from the arm code when it's unneeded.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm/allwinner/a10/a10_intc.c
Author: andrew
Date: Sun Nov 13 09:33:41 2016
New Revision: 308610
URL: https://svnweb.freebsd.org/changeset/base/308610
Log:
Use the new ofw_bus_node_is_compatible function in the mips code.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/mips/mediatek/mtk_soc.c
Modified:
Author: andrew
Date: Sun Nov 13 08:42:02 2016
New Revision: 308609
URL: https://svnweb.freebsd.org/changeset/base/308609
Log:
Remove bcm2835_common.c from files.arm64, it no longer exists.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/conf/files.arm64
Modified:
Author: andrew
Date: Fri Nov 11 15:42:12 2016
New Revision: 308533
URL: https://svnweb.freebsd.org/changeset/base/308533
Log:
Use ofw_bus_node_is_compatible in more drivers used on arm.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/dev/fdt/fdt_arm_platform.c
Author: andrew
Date: Fri Nov 11 15:13:30 2016
New Revision: 308531
URL: https://svnweb.freebsd.org/changeset/base/308531
Log:
Use the modern spelling of ofw_bus_node_is_compatible in sys/arm.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm/allwinner/aw_ccu.c
Author: andrew
Date: Fri Nov 11 14:30:09 2016
New Revision: 308526
URL: https://svnweb.freebsd.org/changeset/base/308526
Log:
Fix ata_at91_alloc_resource to use rman_res_t.
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm/at91/at91_cfata.c
Modified: head/sys/arm/at91/at91_cfata.c
Author: andrew
Date: Fri Nov 11 14:22:35 2016
New Revision: 308525
URL: https://svnweb.freebsd.org/changeset/base/308525
Log:
Remove more unneeded users of the fdt_pic_decode_t table.
Sponsored by: ABT Systems Ltd
Deleted:
head/sys/arm/rockchip/rk30xx_common.c
Modified:
Author: andrew
Date: Fri Nov 11 14:19:12 2016
New Revision: 308524
URL: https://svnweb.freebsd.org/changeset/base/308524
Log:
Replace OF_getprop ... fdt32_to_cpu with OF_getencprop. The latter
correctly adjusts for the endian.
MFC after:1 week
Sponsored by: ABT Systems Ltd
Author: andrew
Date: Tue Nov 8 12:15:57 2016
New Revision: 308444
URL: https://svnweb.freebsd.org/changeset/base/308444
Log:
Start to remove the old pre-INTRNG code from the arm platforms. These have
all moved to use INTRNG.
Reviewed by: manu, mmel
Sponsored by: ABT Systems Ltd
Author: andrew
Date: Mon Nov 7 14:07:11 2016
New Revision: 308419
URL: https://svnweb.freebsd.org/changeset/base/308419
Log:
Use the armv6 GENERIC in the qemu nanobsd image.
Sponsored by: ABT Systems Ltd
Modified:
head/tools/tools/nanobsd/embedded/qemu-armv7.cfg
Modified:
Author: andrew
Date: Mon Nov 7 11:56:18 2016
New Revision: 308417
URL: https://svnweb.freebsd.org/changeset/base/308417
Log:
Fix the order of includes so machine/asm.h is first.
MFC after:1 week
Sponsored by: ABT Systems Ltd
Modified:
head/sys/arm/ti/ti_smc.S
Modified:
Author: andrew
Date: Mon Nov 7 11:01:09 2016
New Revision: 308408
URL: https://svnweb.freebsd.org/changeset/base/308408
Log:
Include machine/armreg.h after machine/asm.h to ensure __ARM_ARCH is
defined.
MFC after:1 week
Sponsored by: ABT Systems Ltd
Modified:
Author: andrew
Date: Mon Nov 7 10:26:44 2016
New Revision: 308405
URL: https://svnweb.freebsd.org/changeset/base/308405
Log:
Start to deorbit the kernel configs in GENERIC by marking them with
NO_UNIVERSE. This stops them from being built with the universe,
tinderbox, and related targets.
Author: andrew
Date: Wed Nov 2 13:11:19 2016
New Revision: 308214
URL: https://svnweb.freebsd.org/changeset/base/308214
Log:
Add BeagleBone Black support to GENERIC on armv6.
Reviewed by: mmel, imp
Relnotes: yes
Sponsored by: ABT Systems Ltd
Differential Revision:
Author: andrew
Date: Mon Oct 31 11:13:36 2016
New Revision: 308124
URL: https://svnweb.freebsd.org/changeset/base/308124
Log:
On arm64 build the efi loader with -fPIC. Without this clang 3.9 will
generate relocation in the self relocation code.
MFC after:1 week
Sponsored by: ABT
Author: andrew
Date: Wed Oct 26 16:03:26 2016
New Revision: 307968
URL: https://svnweb.freebsd.org/changeset/base/307968
Log:
Use the new fdt_intr.h constants in the Allwinner NMI driver.
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm/allwinner/aw_nmi.c
Modified:
wly added)
+++ head/sys/dev/fdt/fdt_intr.h Wed Oct 26 15:18:08 2016(r307965)
@@ -0,0 +1,44 @@
+/*-
+ * Copyright (c) 2016 Andrew Turner <and...@freebsd.org>
+ * All rights reserved.
+ *
+ * This software was developed by SRI International and the University of
+ * Cambridge Comput
Author: andrew
Date: Wed Oct 26 14:09:30 2016
New Revision: 307963
URL: https://svnweb.freebsd.org/changeset/base/307963
Log:
Define the Allwinner PLL FDT constants in the file that uses them rather
than including a file from under sys/gnu.
Sponsored by: DARPA, AFRL
Modified:
Author: andrew
Date: Wed Oct 26 12:41:44 2016
New Revision: 307962
URL: https://svnweb.freebsd.org/changeset/base/307962
Log:
Stop including a possibly GPLd header from the GPIO code. Add the only
needed macro to ofw_gpiobus.c.
Reported by: emaste
Sponsored by: DARPA, AFRL
Modified:
Author: andrew
Date: Wed Oct 26 12:30:53 2016
New Revision: 307961
URL: https://svnweb.freebsd.org/changeset/base/307961
Log:
Only release CPUs when they exist.
MFC after:1 week
Sponsored by: DARPA, AFRL
Modified:
head/sys/arm64/arm64/mp_machdep.c
Modified:
Author: andrew
Date: Wed Oct 26 12:29:56 2016
New Revision: 307960
URL: https://svnweb.freebsd.org/changeset/base/307960
Log:
Use nitems to get the correct number of registers to read when dumping
them. Previously this would walk past the end of the array and print
whatever happened to be
Author: andrew
Date: Tue Oct 25 18:01:19 2016
New Revision: 307944
URL: https://svnweb.freebsd.org/changeset/base/307944
Log:
Add MULTIDELAY support to the am335x dmtimer. This will be useful for
testing Cortex-A8 support in GENERIC.
Sponsored by: ABT Systems Ltd
Modified:
Author: andrew
Date: Tue Oct 25 17:57:31 2016
New Revision: 307943
URL: https://svnweb.freebsd.org/changeset/base/307943
Log:
Remove the need for the delay to be zero when MULTIDELAY is undefined,
it may be useful to only enable this in some configs.
Sponsored by: ABT Systems Ltd
Author: andrew
Date: Tue Oct 25 16:33:05 2016
New Revision: 307928
URL: https://svnweb.freebsd.org/changeset/base/307928
Log:
Remove armadaxp_idcache_wbinv_all, it's a static function in the ELF
trampoline and not used outside this.
Sponsored by: ABT Systems Ltd
Modified:
Author: andrew
Date: Tue Oct 25 16:25:06 2016
New Revision: 307925
URL: https://svnweb.freebsd.org/changeset/base/307925
Log:
Remove arm11x6_setttb and armv7_setttb as they are unused. While here
remove unneeded code from the ARMv7 cpu assembly code.
Sponsored by: ABT Systems Ltd
Author: andrew
Date: Tue Oct 25 14:18:27 2016
New Revision: 307910
URL: https://svnweb.freebsd.org/changeset/base/307910
Log:
Create a new PSCI error code and use it to signal that starting the CPU is
impossible as the PSCI firmware is missing.
Sponsored by: ABT Systmes Ltd
Modified:
Author: andrew
Date: Tue Oct 25 14:04:35 2016
New Revision: 307909
URL: https://svnweb.freebsd.org/changeset/base/307909
Log:
Import the Cortex String memcpy and memmove into the kernel. On ThunderX
these show a 9-10% reduction in user and system time for a buildworld -j48.
Obtained
Author: andrew
Date: Tue Oct 25 14:01:13 2016
New Revision: 307908
URL: https://svnweb.freebsd.org/changeset/base/307908
Log:
Fix the build on both arm64 and when WITHOUT_FORTH is defined.
* On arm64 we need to use the ${MACHINE_CPUARCH} subdirectory.
* env.c is only needed when using
Author: andrew
Date: Mon Oct 24 13:44:24 2016
New Revision: 307858
URL: https://svnweb.freebsd.org/changeset/base/307858
Log:
Increase CACHE_LINE_SHIFT to 7 as cache lines are 128 bytes on ThunderX.
MFC after:1 week
Sponsored by: ABT Systems Ltd
Modified:
md64, and arm64 architectures.
.Pp
There is no way to handle floating point exceptions raised from
kernel mode.
@@ -208,3 +208,5 @@ The
.Nm
facitily and this manual page were written by
.An Konstantin Belousov Aq Mt k...@freebsd.org .
+The arm64 support was added by
+.An Andrew Turner Aq Mt and...@freebsd.
Author: andrew
Date: Tue Oct 18 13:39:55 2016
New Revision: 307565
URL: https://svnweb.freebsd.org/changeset/base/307565
Log:
Add PCB_FP_USERMASK so we can mask off floating point flags that should
not be sent to userspace, for example the future flag to tell when we are
using floating
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
On Fri, 14 Oct 2016 10:23:24 -0700
Oleksandr Tymoshenko <go...@freebsd.org> wrote:
> > On Oct 14, 2016, at 1:31 AM, Andrew Turner <and...@fubar.geek.nz>
> > wrote:
> >
> > On Fri, 14 Oct 2016 03:37:36 + (UTC)
> > Oleksandr Tymoshenko <go...@free
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:
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
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
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
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
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
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
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
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
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
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
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:
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
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:
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:
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
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
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:
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
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
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:
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:
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:
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,
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
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
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:
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
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
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.
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
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,
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
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
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
On Thu, 8 Sep 2016 16:48:45 +0200
Ed Schouten <e...@nuxi.nl> wrote:
> Hi Andrew,
>
> 2016-09-08 14:53 GMT+02:00 Andrew Turner <and...@freebsd.org>:
> > Trap msr/mrs instructions. These are privileged arm64
> > instructions and shouldn't normally be used.
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
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
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
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
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
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
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.
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
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
*
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
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
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
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
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.
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
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:
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
601 - 700 of 1739 matches
Mail list logo