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

2015-02-27 Thread Andrew Turner
On Fri, 27 Feb 2015 02:56:59 + (UTC) Warner Losh wrote: ... > /* > + * We need some randomness. Implement the classic Linear Congruential > + * generator X_{n+1}=(aX_n+c) mod m. These values are optimized for > + * m = 2^32, a = 69069 and c = 5. This is signed so that we can get > + * both po

svn commit: r279356 - head/sys/kern

2015-02-27 Thread Andrew Turner
Author: andrew Date: Fri Feb 27 12:38:24 2015 New Revision: 279356 URL: https://svnweb.freebsd.org/changeset/base/279356 Log: sched_random is only called for SMP, only define it there. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/sched_ule.c Modified: head/sys/kern/sched

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

2015-02-27 Thread Andrew Turner
Author: andrew Date: Fri Feb 27 12:40:44 2015 New Revision: 279357 URL: https://svnweb.freebsd.org/changeset/base/279357 Log: Remove SMP support from the Wandboard-Solo and have it run as part of universe as a config with sched_ule but without SMP. Sponsored by: The FreeBSD Foundation Mo

svn commit: r279358 - head/sys/kern

2015-02-27 Thread Andrew Turner
Author: andrew Date: Fri Feb 27 15:05:20 2015 New Revision: 279358 URL: https://svnweb.freebsd.org/changeset/base/279358 Log: Fix sched_ule on sparc64, gcc complains sched_random is not a correct prototype. Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/sched_ule.c Modif

svn commit: r279483 - head/sys/cddl/dev/dtrace/arm

2015-03-01 Thread Andrew Turner
Author: andrew Date: Sun Mar 1 10:04:14 2015 New Revision: 279483 URL: https://svnweb.freebsd.org/changeset/base/279483 Log: Fix the dtrace ARM atomic compare-and-set functions. These functions are expected to return the data in the memory location pointed at by target after the operation.

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

2015-03-03 Thread Andrew Turner
Author: andrew Date: Tue Mar 3 09:48:19 2015 New Revision: 279561 URL: https://svnweb.freebsd.org/changeset/base/279561 Log: Fix the pl011 driver to work when the uart will write in zero cycles. This is the case, depending on the options, in some of the ARM hardware simulators. In these cas

svn commit: r279667 - in head/sys: arm/arm cddl/contrib/opensolaris/uts/common/sys cddl/dev/dtrace/arm cddl/dev/fbt/arm

2015-03-05 Thread Andrew Turner
Author: andrew Date: Thu Mar 5 17:55:31 2015 New Revision: 279667 URL: https://svnweb.freebsd.org/changeset/base/279667 Log: Add the MD parts of dtrace needed to use fbt on ARM. For this we need to emulate the instructions used in function entry and exit. For function entry ARM will use

svn commit: r279669 - head/sys/cddl/dev/dtrace/arm

2015-03-05 Thread Andrew Turner
Author: andrew Date: Thu Mar 5 18:03:42 2015 New Revision: 279669 URL: https://svnweb.freebsd.org/changeset/base/279669 Log: dtrace_cas32 and dtrace_casptr should retrn the data loaded from target not the new value. Sponsored by: ABT Systems Ltd Modified: head/sys/cddl/dev/dtrace/arm/

Re: svn commit: r279692 - head/sys/modules/dtrace/dtraceall

2015-03-06 Thread Andrew Turner
On Fri, 6 Mar 2015 16:08:03 + (UTC) Ruslan Bukin wrote: > Author: br > Date: Fri Mar 6 16:08:03 2015 > New Revision: 279692 > URL: https://svnweb.freebsd.org/changeset/base/279692 > > Log: > Set a dependancy on fbt module for ARM. > > Modified: > head/sys/modules/dtrace/dtraceall/dtrac

svn commit: r279778 - in head/sys: arm/broadcom/bcm2835 dev/usb/controller

2015-03-08 Thread Andrew Turner
1,176 @@ +/* + * Copyright 2015 Andrew Turner. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * 1. Redistributions of source code must retain the above copy

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

2015-03-08 Thread Andrew Turner
Author: andrew Date: Sun Mar 8 14:15:57 2015 New Revision: 279780 URL: https://svnweb.freebsd.org/changeset/base/279780 Log: Call config_intrhook_disestablish on failure of the bcm2835 fb and fbd intr hooks. With this we can get through the boot even if these functions fail. Sponsored by

svn commit: r280047 - in head/sys/boot: amd64/efi efi/libefi

2015-03-15 Thread Andrew Turner
Author: andrew Date: Sun Mar 15 19:00:35 2015 New Revision: 280047 URL: https://svnweb.freebsd.org/changeset/base/280047 Log: Move the x86 specific files to be built in the amd64 loader.efi. This will help with importing the arm and arm64 versions of loader.efi. Modified: head/sys/boot/amd6

svn commit: r280219 - head/lib/libc/gen

2015-03-18 Thread Andrew Turner
Author: andrew Date: Wed Mar 18 13:54:53 2015 New Revision: 280219 URL: https://svnweb.freebsd.org/changeset/base/280219 Log: We won't support a.out on arm64/aarch64. As such there will be no need to support it in nlist(3). Reviewed by: emaste Sponsored by: The FreeBSD Foundation Modi

svn commit: r280220 - head/usr.bin/ldd

2015-03-18 Thread Andrew Turner
Author: andrew Date: Wed Mar 18 13:59:04 2015 New Revision: 280220 URL: https://svnweb.freebsd.org/changeset/base/280220 Log: Allowus to exclude a.out support from ldd and use it with arm64 as it won't support the a.out format. Reviewed by: emaste Sponsored by: The FreeBSD Foundation

Re: svn commit: r280219 - head/lib/libc/gen

2015-03-18 Thread Andrew Turner
On Wed, 18 Mar 2015 10:32:33 -0400 John Baldwin wrote: > On Wednesday, March 18, 2015 01:54:54 PM Andrew Turner wrote: > > Author: andrew > > Date: Wed Mar 18 13:54:53 2015 > > New Revision: 280219 > > URL: https://svnweb.freebsd.org/changeset/base/280219 > >

svn commit: r280248 - head/sys/contrib/vchiq/interface/vchiq_arm

2015-03-19 Thread Andrew Turner
Author: andrew Date: Thu Mar 19 11:34:51 2015 New Revision: 280248 URL: https://svnweb.freebsd.org/changeset/base/280248 Log: Use the dsb macro to use the correct instruction when building for ARMv7. Modified: head/sys/contrib/vchiq/interface/vchiq_arm/vchiq_kmod.c Modified: head/sys/contrib

svn commit: r280252 - head/sys/dev/ixgbe

2015-03-19 Thread Andrew Turner
Author: andrew Date: Thu Mar 19 13:00:02 2015 New Revision: 280252 URL: https://svnweb.freebsd.org/changeset/base/280252 Log: Fix building ixgbe with gcc, it doesn't like nested extern declarations. The fix is to move the extern declaration ix_crcstrip out of ixgbe_setup_hw_rsc. Modified:

svn commit: r280259 - in head: . etc/etc.aarch64 lib/csu/aarch64 lib/libc/aarch64 lib/libthr/arch/aarch64 lib/msun/aarch64 share/mk

2015-03-19 Thread Andrew Turner
h64/crt1.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/csu/aarch64/crt1.c Thu Mar 19 13:53:47 2015(r280259) @@ -0,0 +1,89 @@ +/* LINTLIBRARY */ +/*- + * Copyright 1996-1998 John

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

2015-03-20 Thread Andrew Turner
Author: andrew Date: Fri Mar 20 14:16:39 2015 New Revision: 280283 URL: https://svnweb.freebsd.org/changeset/base/280283 Log: Move the code to set the device power to the bcm2835 mailbox driver so it can be reused by other drivers. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_mbox.c he

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

2015-03-20 Thread Andrew Turner
Author: andrew Date: Fri Mar 20 14:23:40 2015 New Revision: 280284 URL: https://svnweb.freebsd.org/changeset/base/280284 Log: Remove now unneeded headers from the Broadcom DWC driver Modified: head/sys/arm/broadcom/bcm2835/bcm283x_dwc_fdt.c Modified: head/sys/arm/broadcom/bcm2835/bcm283x_dwc

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

2015-03-20 Thread Andrew Turner
Author: andrew Date: Fri Mar 20 14:25:51 2015 New Revision: 280285 URL: https://svnweb.freebsd.org/changeset/base/280285 Log: Split out the common bcm283x fixes from the bcm2835 specific files. Added: head/sys/arm/broadcom/bcm2835/files.bcm283x - copied, changed from r280125, head/sys/ar

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

2015-03-20 Thread Andrew Turner
Author: andrew Date: Fri Mar 20 16:54:21 2015 New Revision: 280294 URL: https://svnweb.freebsd.org/changeset/base/280294 Log: Add a helper function to read clock frequencies from videocore and use this to get the default frequency of the sdhci device. While here use a u_int to hold the fr

svn commit: r280351 - head/sys/boot/amd64/efi

2015-03-22 Thread Andrew Turner
Author: andrew Date: Sun Mar 22 18:17:55 2015 New Revision: 280351 URL: https://svnweb.freebsd.org/changeset/base/280351 Log: Stop calling x86_efi_copyin and x86_efi_getdev directly. This is to help port loader.efi to both 32 and 64-bit ARM where we can use this file with minimal changes.

svn commit: r280364 - in head/sys/arm64: . include

2015-03-23 Thread Andrew Turner
_t; /* time()... */ +typedef__uint64_t __uintfptr_t; +typedef__uint64_t __uintmax_t; +typedef__uint64_t __uintptr_t; +typedef__uint32_t __uint_fast8_t; +typedef__uint32_t __uint_fast16_t; +typedef __uint32_t __uint

Re: svn commit: r280364 - in head/sys/arm64: . include

2015-03-23 Thread Andrew Turner
On Mon, 23 Mar 2015 11:54:57 + (UTC) Andrew Turner wrote: > Author: andrew > Date: Mon Mar 23 11:54:56 2015 > New Revision: 280364 > URL: https://svnweb.freebsd.org/changeset/base/280364 > > Log: > Add the start of the arm64 machine headers. This is the subset >

svn commit: r280436 - head/secure/lib/libcrypto

2015-03-24 Thread Andrew Turner
Author: andrew Date: Tue Mar 24 14:16:14 2015 New Revision: 280436 URL: https://svnweb.freebsd.org/changeset/base/280436 Log: Add the openssl header for arm64. As it is based on MACHINE_CPUARCH it is named opensslconf-aarch64.h. Sponsored by: The FreeBSD Foundation Added: head/secure/l

svn commit: r280437 - head/contrib/gcc/config/aarch64

2015-03-24 Thread Andrew Turner
Author: andrew Date: Tue Mar 24 14:22:58 2015 New Revision: 280437 URL: https://svnweb.freebsd.org/changeset/base/280437 Log: Adda minimal gcc config. This is just enough to build the bits of csu we get from gcc, and libgcc_eh. Sponsored by: The FreeBSD Foundation Added: head/contrib/g

svn commit: r280452 - in head/sys: arm/broadcom/bcm2835 conf

2015-03-24 Thread Andrew Turner
Author: andrew Date: Tue Mar 24 18:46:01 2015 New Revision: 280452 URL: https://svnweb.freebsd.org/changeset/base/280452 Log: Add the SOC_BCM2835 and SOC_BCM2836 options for the arm kernel and add the former to std.bcm2835. These will be used to enable support for the Raspberry Pi 2. MF

svn commit: r280453 - in head/sys/arm: broadcom/bcm2835 conf

2015-03-24 Thread Andrew Turner
Author: andrew Date: Tue Mar 24 19:01:42 2015 New Revision: 280453 URL: https://svnweb.freebsd.org/changeset/base/280453 Log: Move including std.bcm2835 to the RPI-B kernel config. The std.rpi file will be shared between the existing Raspberry Pi config, and the new Raspberry Pi 2 config.

svn commit: r280520 - in head/sys: boot/fdt/dts/arm modules/dtb/rpi

2015-03-25 Thread Andrew Turner
Author: andrew Date: Wed Mar 25 10:26:07 2015 New Revision: 280520 URL: https://svnweb.freebsd.org/changeset/base/280520 Log: Add the Raspberry Pi 2 dtb, based on the existing rpi.dts, but with a different base address for the devces. MFC after:1 week Added: head/sys/boot/fdt/dts/a

svn commit: r280558 - in head/sys/arm: broadcom/bcm2835 conf

2015-03-25 Thread Andrew Turner
======= --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/broadcom/bcm2835/bcm2836.c Wed Mar 25 10:59:42 2015 (r280558) @@ -0,0 +1,184 @@ +/* + * Copyright 2015 Andrew Turner. + * All r

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

2015-03-25 Thread Andrew Turner
Author: andrew Date: Wed Mar 25 11:53:52 2015 New Revision: 280571 URL: https://svnweb.freebsd.org/changeset/base/280571 Log: Remove a debug #error from the bcm2835 sdhci driver. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_sdhci.c =

svn commit: r280704 - head/contrib/gcc/config/aarch64

2015-03-26 Thread Andrew Turner
Author: andrew Date: Thu Mar 26 18:25:53 2015 New Revision: 280704 URL: https://svnweb.freebsd.org/changeset/base/280704 Log: Also define DWARF_FRAME_REGISTERS. This is used to size arrays, without this exceptions could write over the stack. Sponsored by: The FreeBSD Foundation Modified:

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

2015-03-26 Thread Andrew Turner
2015 (r280711) @@ -0,0 +1,69 @@ +/*- + * Copyright (c) 2014 Andrew Turner + * Copyright (c) 2014 The FreeBSD Foundation + * All rights reserved. + * + * This software was developed by Andrew Turner under + * sponsorship from the FreeBSD Foundation. + * + * Redistribution and use in source

svn commit: r280808 - head/sys/boot

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 15:43:24 2015 New Revision: 280808 URL: https://svnweb.freebsd.org/changeset/base/280808 Log: Reorder to help with moving the efi loader parts to sys/boot/efi. As these will depend on ficl having been built, and are set via bsd.arch.inc.mk we need to place thi

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

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 17:13:44 2015 New Revision: 280809 URL: https://svnweb.freebsd.org/changeset/base/280809 Log: Remove support for CPU_ARM10. No kernel configs could possibly use this as it's not an available option. Along with this we will never support this cpu type as very f

svn commit: r280810 - in head/sys/arm: allwinner allwinner/a20 altera/socfpga freescale/vybrid rockchip samsung/exynos ti xilinx

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 17:33:03 2015 New Revision: 280810 URL: https://svnweb.freebsd.org/changeset/base/280810 Log: Stop building unused cpuvunc_* files, we don't need anything from these. Modified: head/sys/arm/allwinner/a20/files.a20 head/sys/arm/allwinner/files.a10 head/sys/a

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

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 17:42:32 2015 New Revision: 280811 URL: https://svnweb.freebsd.org/changeset/base/280811 Log: Remove unused arm10_* functions. The remaining functions are only used in mv configs. Modified: head/sys/arm/arm/cpufunc_asm_arm10.S head/sys/arm/include/cpufunc.h

svn commit: r280812 - in head/sys/arm: broadcom/bcm2835 freescale/imx lpc mv versatile

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 18:41:43 2015 New Revision: 280812 URL: https://svnweb.freebsd.org/changeset/base/280812 Log: We don't use cpufunc_asm_armv5.S in any of these configs, remove it. Modified: head/sys/arm/broadcom/bcm2835/files.bcm283x head/sys/arm/freescale/imx/files.imx51 h

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

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 18:44:15 2015 New Revision: 280813 URL: https://svnweb.freebsd.org/changeset/base/280813 Log: Remove unused cpufunc arm11 and armv6 code. While here only define the remaining functions in the context we use them in. Modified: head/sys/arm/arm/cpufunc_asm_arm1

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

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 18:46:12 2015 New Revision: 280815 URL: https://svnweb.freebsd.org/changeset/base/280815 Log: Remove the unused armv5 cpufunc code. Deleted: head/sys/arm/arm/cpufunc_asm_armv5.S ___ svn-src-head@freebsd.org mailing li

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

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 18:59:04 2015 New Revision: 280817 URL: https://svnweb.freebsd.org/changeset/base/280817 Log: Remove ARM9_CACHE_WRITE_THROUGH, none of our configs define it. Modified: head/sys/arm/arm/cpufunc.c head/sys/arm/arm/pmap.c head/sys/arm/include/pmap.h head/sys

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

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 20:21:59 2015 New Revision: 280821 URL: https://svnweb.freebsd.org/changeset/base/280821 Log: We only need cpufunc_asm_arm11.S on bcm2835, not bcm2836 Modified: head/sys/arm/broadcom/bcm2835/files.bcm2835 head/sys/arm/broadcom/bcm2835/files.bcm283x Modified:

svn commit: r280823 - in head: . sys/arm/arm sys/arm/at91 sys/arm/cavium/cns11xx sys/arm/include sys/arm/samsung/s3c2xx0 sys/arm/xscale/i80321 sys/arm/xscale/i8134x sys/arm/xscale/ixp425 sys/arm/xs...

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 20:37:28 2015 New Revision: 280823 URL: https://svnweb.freebsd.org/changeset/base/280823 Log: Remove the bootconfig parsing. We never used it and always passed either an empty string or NULL to the setup functions that called into it. Deleted: head/sys/arm/ar

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

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 21:12:59 2015 New Revision: 280824 URL: https://svnweb.freebsd.org/changeset/base/280824 Log: Remove arm1136 support. We don't have any configs that use it, and I don't expect us to add support for any more arm11 SoCs. Modified: head/sys/arm/arm/cpufunc.c h

svn commit: r280826 - in head/sys/arm: allwinner allwinner/a20 altera/socfpga freescale/imx freescale/vybrid rockchip samsung/exynos ti xilinx

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 21:45:28 2015 New Revision: 280826 URL: https://svnweb.freebsd.org/changeset/base/280826 Log: Remove cpufunc_asm_arm11.S from the ARMv7 configs, it's not used. Modified: head/sys/arm/allwinner/a20/files.a20 head/sys/arm/allwinner/files.a10 head/sys/arm/alte

svn commit: r280831 - in head/sys: arm/allwinner arm/allwinner/a20 arm/altera/socfpga arm/at91 arm/broadcom/bcm2835 arm/cavium/cns11xx arm/freescale/imx arm/freescale/vybrid arm/lpc arm/mv arm/rock...

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 22:43:39 2015 New Revision: 280831 URL: https://svnweb.freebsd.org/changeset/base/280831 Log: Build the cpufunc_asm_* files based on the cpu type, not which config file we happen to be building. Modified: head/sys/arm/allwinner/a20/files.a20 head/sys/arm/al

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

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 22:46:07 2015 New Revision: 280833 URL: https://svnweb.freebsd.org/changeset/base/280833 Log: arm11_sleep is no longer needed, remove it. Modified: head/sys/arm/arm/cpufunc_asm_arm11.S Modified: head/sys/arm/arm/cpufunc_asm_arm11.S

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

2015-03-29 Thread Andrew Turner
Author: andrew Date: Sun Mar 29 22:45:33 2015 New Revision: 280832 URL: https://svnweb.freebsd.org/changeset/base/280832 Log: pj4b_config and pj4bv7_setup are only used when CPU_MV_PJ4B is defined. Modified: head/sys/arm/include/cpufunc.h Modified: head/sys/arm/include/cpufunc.h

svn commit: r280841 - head/sys/conf

2015-03-30 Thread Andrew Turner
Author: andrew Date: Mon Mar 30 08:37:03 2015 New Revision: 280841 URL: https://svnweb.freebsd.org/changeset/base/280841 Log: Only build cpufunc_asm_armv4.S when needed. Modified: head/sys/conf/files.arm Modified: head/sys/conf/files.arm ==

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

2015-03-30 Thread Andrew Turner
Author: andrew Date: Mon Mar 30 08:38:18 2015 New Revision: 280842 URL: https://svnweb.freebsd.org/changeset/base/280842 Log: Remove support for CPU_FA626TE. It's unused by any of our kernel configs. Modified: head/sys/arm/arm/cpufunc.c head/sys/arm/arm/elf_trampoline.c head/sys/arm/inclu

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

2015-03-30 Thread Andrew Turner
Author: andrew Date: Mon Mar 30 09:29:45 2015 New Revision: 280847 URL: https://svnweb.freebsd.org/changeset/base/280847 Log: Remove support for CPU_XSCALE_80200. None of our configs support it, and there wasn;t an option to enable it. While here remove a check for CPU_ARM10 being defined

svn commit: r280862 - head/lib/libthr/arch/aarch64/include

2015-03-30 Thread Andrew Turner
Andrew Turner + * under sponsorship from the FreeBSD Foundation + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright

Re: svn commit: r270858 - head/sys/arm/conf

2014-08-31 Thread Andrew Turner
On Sat, 30 Aug 2014 20:00:18 + (UTC) Michael Tuexen wrote: > Author: tuexen > Date: Sat Aug 30 20:00:18 2014 > New Revision: 270858 > URL: http://svnweb.freebsd.org/changeset/base/270858 > > Log: > Remove FDT option, since it is in every file, which includes this > one. > It should be the

svn commit: r271179 - head/lib/libc/arm

2014-09-05 Thread Andrew Turner
Author: andrew Date: Fri Sep 5 18:11:36 2014 New Revision: 271179 URL: http://svnweb.freebsd.org/changeset/base/271179 Log: Add the fp{get,set}{mask,round} functions to the public symbols in the map. These are only exported for armv6hf as the soft-float ABIs have these in the softfloat Symb

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

2014-09-05 Thread Andrew Turner
Author: andrew Date: Fri Sep 5 19:00:30 2014 New Revision: 271181 URL: http://svnweb.freebsd.org/changeset/base/271181 Log: Add the virtual timer irq to the list of interrupts we enable on secondary cores. Modified: head/sys/arm/arm/gic.c Modified: head/sys/arm/arm/gic.c =

Re: svn commit: r271186 - in head/sys: arm/altera/socfpga boot/fdt/dts/arm

2014-09-06 Thread Andrew Turner
On Sat, 6 Sep 2014 08:48:58 + (UTC) Ruslan Bukin wrote: > Author: br > Date: Sat Sep 6 08:48:57 2014 > New Revision: 271186 > URL: http://svnweb.freebsd.org/changeset/base/271186 > > Log: > Add FPGA Manager driver. This driver allows to program FPGA core > from FreeBSD userspace running

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

2014-09-06 Thread Andrew Turner
Author: andrew Date: Sat Sep 6 13:21:07 2014 New Revision: 271189 URL: http://svnweb.freebsd.org/changeset/base/271189 Log: Allow us to use the virtual timer. It is currently disabled, but should be usable as the default timer in place of the physical timer. We are guaranteed to have acc

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

2014-09-06 Thread Andrew Turner
Author: andrew Date: Sat Sep 6 17:33:41 2014 New Revision: 271198 URL: http://svnweb.freebsd.org/changeset/base/271198 Log: Fixthe spelling of ehci Modified: head/sys/arm/freescale/imx/files.imx51 Modified: head/sys/arm/freescale/imx/files.imx51 =

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

2014-09-07 Thread Andrew Turner
Author: andrew Date: Sun Sep 7 08:16:27 2014 New Revision: 271220 URL: http://svnweb.freebsd.org/changeset/base/271220 Log: Create a common i.MX53 config and use it with the two existing i.MX53 boards. This is just intended to split the common config entries out, further cleanup is exp

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

2014-09-07 Thread Andrew Turner
Author: andrew Date: Sun Sep 7 18:32:42 2014 New Revision: 271232 URL: http://svnweb.freebsd.org/changeset/base/271232 Log: Generalise the va to pa code and use it when starting secondary cores Reviewed by: ian@, rpaulo@ Differential Revision: https://reviews.freebsd.org/D736 Modified:

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

2014-09-07 Thread Andrew Turner
Author: andrew Date: Sun Sep 7 19:33:38 2014 New Revision: 271235 URL: http://svnweb.freebsd.org/changeset/base/271235 Log: Remove Lvirtaddr and Lphysaddr, these don't appear to be used. Modified: head/sys/arm/arm/locore.S Modified: head/sys/arm/arm/locore.S

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

2014-09-07 Thread Andrew Turner
Author: andrew Date: Sun Sep 7 21:46:54 2014 New Revision: 271240 URL: http://svnweb.freebsd.org/changeset/base/271240 Log: When entering the kernel with the MMU off assume we are running from a va == pa map. I'm not sure the code would work if we are not running from the identity map

svn commit: r271377 - in head/sys: arm/versatile conf dev/smc

2014-09-10 Thread Andrew Turner
Author: andrew Date: Wed Sep 10 10:59:17 2014 New Revision: 271377 URL: http://svnweb.freebsd.org/changeset/base/271377 Log: Move if_smc_fdt.c to live in sys/dev/smc. It's not specific to the ARM Versatile hardware. Added: head/sys/dev/smc/if_smc_fdt.c - copied unchanged from r271375,

svn commit: r271389 - head/usr.bin/truss

2014-09-10 Thread Andrew Turner
Author: andrew Date: Wed Sep 10 13:07:01 2014 New Revision: 271389 URL: http://svnweb.freebsd.org/changeset/base/271389 Log: Stop accessing the saved stack pointer by looking past the end of the array of registers. Submitted by: Michal Meloun Modified: head/usr.bin/truss/arm-fbsd.c M

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

2014-09-10 Thread Andrew Turner
Author: andrew Date: Wed Sep 10 13:38:52 2014 New Revision: 271394 URL: http://svnweb.freebsd.org/changeset/base/271394 Log: Add more register values to armreg.h and remove CPU_CONTROL_32BP_ENABLE from asm.h as they were already defined in armreg.h. Submitted by: Michal Meloun Modified:

svn commit: r271398 - in head: sys/arm/arm sys/arm/at91 sys/arm/cavium/cns11xx sys/arm/include sys/arm/s3c2xx0 sys/arm/xscale/i80321 sys/arm/xscale/i8134x sys/arm/xscale/ixp425 sys/arm/xscale/pxa u...

2014-09-10 Thread Andrew Turner
Author: andrew Date: Wed Sep 10 15:25:15 2014 New Revision: 271398 URL: http://svnweb.freebsd.org/changeset/base/271398 Log: Unify interrupts bit definition and usage. While here remove PSR_C_bit. Submitted by: Svatopluk Kraus , Michal Meloun Differential Revision: https:

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

2014-09-11 Thread Andrew Turner
Author: andrew Date: Thu Sep 11 10:53:57 2014 New Revision: 271422 URL: http://svnweb.freebsd.org/changeset/base/271422 Log: Rename pmap_kenter_temp to pmap_kenter_temporary to be consistent with the other architectures with this function. Submitted by: Svatopluk Kraus Submitted by: Mi

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

2014-09-15 Thread Andrew Turner
On Sun, 14 Sep 2014 21:21:04 + (UTC) Ian Lepore wrote: ... > Modified: head/sys/arm/arm/gic.c > == > --- head/sys/arm/arm/gic.cSun Sep 14 20:13:07 2014 > (r271600) +++ head/sys/arm/arm/gic.c Sun Sep 14 21:21:03

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

2014-09-27 Thread Andrew Turner
Author: andrew Date: Sat Sep 27 09:57:34 2014 New Revision: 272209 URL: http://svnweb.freebsd.org/changeset/base/272209 Log: Add machine/sysreg.h to simplify accessing the system control coprocessor registers and use it in the ARMv7 CPU functions. The sysreg.h file has been checked by han

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

2014-09-30 Thread Andrew Turner
Author: andrew Date: Tue Sep 30 13:32:45 2014 New Revision: 272300 URL: http://svnweb.freebsd.org/changeset/base/272300 Log: Make sure __ARM_ARCH is defined in sysreg.h by including acle-compat.h Modified: head/sys/arm/include/sysreg.h Modified: head/sys/arm/include/sysreg.h

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

2014-09-30 Thread Andrew Turner
On Mon, 29 Sep 2014 20:31:42 +0200 Andreas Tobler wrote: > Hi Andrew, > > On 27.09.14 11:57, Andrew Turner wrote: > > Author: andrew > > Date: Sat Sep 27 09:57:34 2014 > > New Revision: 272209 > > URL: http://svnweb.freebsd.org/changeset/base/272209 > >

svn commit: r272350 - in head: . gnu/lib/csu gnu/lib/libgcc gnu/lib/libgcov gnu/lib/libstdc++ gnu/lib/libsupc++ gnu/usr.bin/cc gnu/usr.bin/cc/cc_tools lib/clang lib/libc/arm lib/libc/arm/gen lib/li...

2014-10-01 Thread Andrew Turner
Author: andrew Date: Wed Oct 1 08:26:51 2014 New Revision: 272350 URL: https://svnweb.freebsd.org/changeset/base/272350 Log: Remove MK_ARM_EABI, the armeb issues have been fixed. The code to support the oabi is still in the tree, but it is expected this will be removed as developers work on

svn commit: r272356 - in head/sys: arm/arm conf

2014-10-01 Thread Andrew Turner
Author: andrew Date: Wed Oct 1 12:44:16 2014 New Revision: 272356 URL: https://svnweb.freebsd.org/changeset/base/272356 Log: Split you the syscall handling to a separate file. Added: head/sys/arm/arm/syscall.c - copied, changed from r272349, head/sys/arm/arm/trap.c Modified: head/sys/

svn commit: r272357 - in head: . lib/clang

2014-10-01 Thread Andrew Turner
Author: andrew Date: Wed Oct 1 12:47:25 2014 New Revision: 272357 URL: https://svnweb.freebsd.org/changeset/base/272357 Log: Fix the TARGET_ABI value clang uses. It shpuld be gnueabi on all ARM soft-float architectures, and gnueabihf for hard-float. Modified: head/Makefile.inc1 head/lib/

svn commit: r272368 - head/share/mk

2014-10-01 Thread Andrew Turner
Author: andrew Date: Wed Oct 1 16:00:21 2014 New Revision: 272368 URL: https://svnweb.freebsd.org/changeset/base/272368 Log: Clean up detection of big-endian ARM. In all cases we follow the pattern arm*eb*. Check we are building for arm and if MACHINE_ARCH follows this pattern. Modified:

svn commit: r272369 - in head/lib: libc/arm libc/arm/aeabi libcompiler_rt

2014-10-01 Thread Andrew Turner
Author: andrew Date: Wed Oct 1 16:08:19 2014 New Revision: 272369 URL: https://svnweb.freebsd.org/changeset/base/272369 Log: Clean up detection of hard-float ABIs. As with big-endian in r272368 we can check against arm*hf*. Modified: head/lib/libc/arm/Makefile.inc head/lib/libc/arm/aeabi

svn commit: r272472 - head/contrib/binutils/gas/config

2014-10-03 Thread Andrew Turner
Author: andrew Date: Fri Oct 3 12:14:19 2014 New Revision: 272472 URL: https://svnweb.freebsd.org/changeset/base/272472 Log: Allow the optional limitation on dmb instructions as is already the case with dsb instructions. Modified: head/contrib/binutils/gas/config/tc-arm.c Modified: head/c

svn commit: r272473 - head/contrib/binutils/gas/config

2014-10-03 Thread Andrew Turner
Author: andrew Date: Fri Oct 3 12:20:37 2014 New Revision: 272473 URL: https://svnweb.freebsd.org/changeset/base/272473 Log: Add all the dmb/dsb optional limitations, including the alternative values. These are needed for some code llvm generates when targeting ARMv7. Modified: head/contri

svn commit: r272476 - head/contrib/binutils/gas/config

2014-10-03 Thread Andrew Turner
Author: andrew Date: Fri Oct 3 15:07:43 2014 New Revision: 272476 URL: https://svnweb.freebsd.org/changeset/base/272476 Log: Allow vld and vst instructions to use the canonical form from ARM ARM when including an alignment. Previously binutils would only allow instructions in the form "vld1

svn commit: r272519 - head/contrib/binutils/gas/config

2014-10-04 Thread Andrew Turner
Author: andrew Date: Sat Oct 4 13:14:37 2014 New Revision: 272519 URL: https://svnweb.freebsd.org/changeset/base/272519 Log: Add movw and movt relocations to the list of relocations against function names that must nnot be adjusted. This fixes a bug where code such as: movw r2, :lower16:sym

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

2014-10-04 Thread Andrew Turner
Author: andrew Date: Sat Oct 4 14:30:16 2014 New Revision: 272524 URL: https://svnweb.freebsd.org/changeset/base/272524 Log: Silence a warning about Tag_Virtualization_use being unknown. We don't handle merging this tag correctly, however it's unused. Modified: head/contrib/binutils/bfd/el

svn commit: r272564 - head/contrib/binutils/bfd

2014-10-05 Thread Andrew Turner
Author: andrew Date: Sun Oct 5 11:06:22 2014 New Revision: 272564 URL: https://svnweb.freebsd.org/changeset/base/272564 Log: Merge the big-endian ARM targets together, and the little-endian ARM targets. With this we assume any ARM target containing eb is big-endian, otherwise it is little-e

svn commit: r272605 - head/sys/conf

2014-10-06 Thread Andrew Turner
Author: andrew Date: Mon Oct 6 09:52:28 2014 New Revision: 272605 URL: https://svnweb.freebsd.org/changeset/base/272605 Log: Disable generating vfp and NEON instructions in the arm kernel. Modified: head/sys/conf/Makefile.arm Modified: head/sys/conf/Makefile.arm

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

2016-07-06 Thread Andrew Turner
Author: andrew Date: Wed Jul 6 16:20:10 2016 New Revision: 302375 URL: https://svnweb.freebsd.org/changeset/base/302375 Log: Remove the old pre-INTRNG arm64 interrupt framework. GENERIC was switched to INTRNG in r301565 with the old code no longer being built by default with no reports of i

Re: svn commit: r302372 - in head/sys: amd64/include cddl/compat/opensolaris/sys dev/cpuctl i386/include kern net netinet powerpc/include powerpc/powerpc vm

2016-07-06 Thread Andrew Turner
On Wed, 6 Jul 2016 14:09:49 + (UTC) Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Wed Jul 6 14:09:49 2016 > New Revision: 302372 > URL: https://svnweb.freebsd.org/changeset/base/302372 > > Log: > Replace a number of conflations of mp_ncpus and mp_maxid with either > mp_maxid or C

Re: svn commit: r302372 - in head/sys: amd64/include cddl/compat/opensolaris/sys dev/cpuctl i386/include kern net netinet powerpc/include powerpc/powerpc vm

2016-07-06 Thread Andrew Turner
On Wed, 6 Jul 2016 10:00:08 -0700 Nathan Whitehorn wrote: > On 07/06/16 09:57, Andrew Turner wrote: > > On Wed, 6 Jul 2016 14:09:49 + (UTC) > > Nathan Whitehorn wrote: > > > >> Author: nwhitehorn > >> Date: Wed Jul 6 14:09:49 2016 &g

svn commit: r302391 - head

2016-07-07 Thread Andrew Turner
Author: andrew Date: Thu Jul 7 15:25:14 2016 New Revision: 302391 URL: https://svnweb.freebsd.org/changeset/base/302391 Log: Stop deleting ofwdump.8.gz on arm and arm64 when running make delete-old, it is installed on these architectures. Approved by: re (kib) Sponsored by: ABT System

svn commit: r302498 - head/sys/arm/nvidia

2016-07-09 Thread Andrew Turner
Author: andrew Date: Sat Jul 9 13:27:14 2016 New Revision: 302498 URL: https://svnweb.freebsd.org/changeset/base/302498 Log: Remove an unneeded call to fdt_get_unit, the return value is unused. MFC after:1 month Sponsored by: ABT Systems Ltd Modified: head/sys/arm/nvidia/tegra_pci

Re: svn commit: r302601 - in head/sys: arm/include arm64/include

2016-07-12 Thread Andrew Turner
On Tue, 12 Jul 2016 00:37:48 + (UTC) "Andrey A. Chernov" wrote: > Author: ache > Date: Tue Jul 12 00:37:48 2016 > New Revision: 302601 > URL: https://svnweb.freebsd.org/changeset/base/302601 > > Log: > I don't know why unsigned int is choosed for wchar_t here, but > WCHAR_MAX should be <=

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

2016-07-13 Thread Andrew Turner
Author: andrew Date: Wed Jul 13 22:53:30 2016 New Revision: 302788 URL: https://svnweb.freebsd.org/changeset/base/302788 Log: Fix the type used to hold the value returned from getopt. On arm64 char is unsigned so will never be -1. Obtained from:ABT Systems Ltd MFC after:1 we

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

2016-07-13 Thread Andrew Turner
Author: andrew Date: Wed Jul 13 23:03:34 2016 New Revision: 302789 URL: https://svnweb.freebsd.org/changeset/base/302789 Log: Add memmmap on arm64 so we can mmap /dev/mem and /dev/kmem. Obtained from:ABT Systems Ltd MFC after:1 week Sponsored by: The FreeBSD Foundation Modi

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

2016-07-14 Thread Andrew Turner
Author: andrew Date: Thu Jul 14 16:52:18 2016 New Revision: 302847 URL: https://svnweb.freebsd.org/changeset/base/302847 Log: Remove support for the arm64 pre-INTRNG interrupt framework from the PCI driver. Support for this was removed in r302375. Obtained from:ABT Systems Ltd M

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

2016-07-14 Thread Andrew Turner
Author: andrew Date: Thu Jul 14 17:05:25 2016 New Revision: 302848 URL: https://svnweb.freebsd.org/changeset/base/302848 Log: Remove the non-INTRNG support from the GICv3 interrupt controller driver. This is no longer needed. Obtained from:ABT Systems Ltd MFC after:1 month

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

2016-07-14 Thread Andrew Turner
Author: andrew Date: Thu Jul 14 17:10:54 2016 New Revision: 302849 URL: https://svnweb.freebsd.org/changeset/base/302849 Log: Move structures only used by the GICv3 ITS driver from a shared header to the ITS driver file. There is no need for other drivers to need to know about these structur

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

2016-07-14 Thread Andrew Turner
Author: andrew Date: Thu Jul 14 17:16:51 2016 New Revision: 302851 URL: https://svnweb.freebsd.org/changeset/base/302851 Log: Move gic_v3_irqsrc into the GICv3 driver source as it's only needed there. Remove unused macros from the GICv3 header. Obtained from:ABT Systems Ltd MFC

svn commit: r302852 - head/sys/arm64/cavium

2016-07-14 Thread Andrew Turner
Author: andrew Date: Thu Jul 14 17:23:49 2016 New Revision: 302852 URL: https://svnweb.freebsd.org/changeset/base/302852 Log: Remove the non-INTRNG support from the ThunderX PCIe drivers. Obtained from:ABT Systems Ltd MFC after:1 month Sponsored by: The FreeBSD Foundation M

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

2016-07-14 Thread Andrew Turner
Author: andrew Date: Thu Jul 14 17:31:29 2016 New Revision: 302853 URL: https://svnweb.freebsd.org/changeset/base/302853 Log: Finish removing the non-INTRNG support from sys/arm64. Obtained from:ABT Systems Ltd MFC after:1 month Sponsored by: The FreeBSD Foundation Modified

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

2016-07-15 Thread Andrew Turner
Author: andrew Date: Fri Jul 15 13:25:47 2016 New Revision: 302896 URL: https://svnweb.freebsd.org/changeset/base/302896 Log: Implement bus_print_child to print the resources used by the ITS driver. Obtained from:ABT Systems Ltd MFC after:1 month Sponsored by: The FreeBSD Fo

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

2016-07-19 Thread Andrew Turner
Author: andrew Date: Tue Jul 19 16:02:07 2016 New Revision: 303026 URL: https://svnweb.freebsd.org/changeset/base/303026 Log: Add missing flags from acpidump. These are defined in the header, but not printed. The HW_REDUCED flag is useful as it should be set on arm64 to comply with the ARM S

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