svn commit: r294577 - in head/contrib/compiler-rt/lib: builtins sanitizer_common

2016-01-22 Thread Ruslan Bukin
Author: br Date: Fri Jan 22 16:59:06 2016 New Revision: 294577 URL: https://svnweb.freebsd.org/changeset/base/294577 Log: Add support for RISC-V ISA. Reviewed by: emaste Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision:https://reviews.freebsd.org/D5021

svn commit: r294571 - in head/usr.bin/xlint: arch/riscv lint1

2016-01-22 Thread Ruslan Bukin
Author: br Date: Fri Jan 22 16:32:22 2016 New Revision: 294571 URL: https://svnweb.freebsd.org/changeset/base/294571 Log: Add support for RISC-V ISA. Reviewed by: andrew Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision:https://reviews.freebsd.org/D5014

svn commit: r294262 - head/lib/libc

2016-01-18 Thread Ruslan Bukin
Author: br Date: Mon Jan 18 09:36:10 2016 New Revision: 294262 URL: https://svnweb.freebsd.org/changeset/base/294262 Log: Fix compilation on MIPS (typo introduced in r294227). Modified: head/lib/libc/Makefile Modified: head/lib/libc/Makefile

svn commit: r294282 - head/sys/riscv/include

2016-01-18 Thread Ruslan Bukin
Author: br Date: Mon Jan 18 17:49:32 2016 New Revision: 294282 URL: https://svnweb.freebsd.org/changeset/base/294282 Log: Correct RISC-V exception types. Modified: head/sys/riscv/include/riscvreg.h Modified: head/sys/riscv/include/riscvreg.h

svn commit: r294279 - head/sys/sys

2016-01-18 Thread Ruslan Bukin
Author: br Date: Mon Jan 18 16:54:26 2016 New Revision: 294279 URL: https://svnweb.freebsd.org/changeset/base/294279 Log: Add RISC-V relocation types. Reviewed by: emaste Modified: head/sys/sys/elf_common.h Modified: head/sys/sys/elf_common.h

svn commit: r294227 - in head/lib: libc libc/gen libc/riscv libc/riscv/gen libc/riscv/sys libc/xdr libstand

2016-01-17 Thread Ruslan Bukin
}/riscv/Symbol.map Added: head/lib/libc/riscv/SYS.h == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libc/riscv/SYS.h Sun Jan 17 15:21:23 2016(r294227) @@ -0,0 +1,68 @@ +/*- + * Co

svn commit: r292691 - in head/libexec/rtld-elf: . riscv

2015-12-24 Thread Ruslan Bukin
@@ +/*- + * Copyright (c) 2015 Ruslan Bukin <b...@bsdpad.com> + * All rights reserved. + * + * This software was developed by SRI International and the University of + * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237 + * ("CTSRD"), as part of the DARPA CRASH re

svn commit: r292407 - in head/sys/riscv: . include

2015-12-17 Thread Ruslan Bukin
__uintptr_t; +typedef__uint32_t __uint_fast8_t; +typedef__uint32_t __uint_fast16_t; +typedef__uint32_t __uint_fast32_t; +typedef __uint64_t __uint_fast64_t; +typedef__uint8_t __uint_least8_t; +typedef__uint16_t

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

2015-12-11 Thread Ruslan Bukin
PIC -S -o ${.TARGET} ${.CURDIR}/crt1.c + sed ${SED_FIX_NOTE} ${.TARGET} + +Scrt1.o: Scrt1.s + ${CC} ${ACFLAGS} -c -o ${.TARGET} Scrt1.s + +.include Added: head/lib/csu/riscv/crt1.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/c

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

2015-10-05 Thread Ruslan Bukin
Author: br Date: Mon Oct 5 13:15:21 2015 New Revision: 288824 URL: https://svnweb.freebsd.org/changeset/base/288824 Log: Attach interrupt controller device before other devices. Sponsored by: University of Cambridge Modified: head/sys/arm/ti/aintc.c Modified: head/sys/arm/ti/aintc.c

svn commit: r285095 - in head/sys: boot/fdt/dts/mips mips/conf

2015-07-03 Thread Ruslan Bukin
Author: br Date: Fri Jul 3 14:46:57 2015 New Revision: 285095 URL: https://svnweb.freebsd.org/changeset/base/285095 Log: o Add a description for virtio block device implemented in PISM (Bluespec C-interface device) o Add a kernel config Sponsored by: HEIF5 Added:

svn commit: r285093 - head/sys/dev/beri/virtio

2015-07-03 Thread Ruslan Bukin
/sys/dev/beri/virtio/virtio_mmio_platform.c Fri Jul 3 14:27:28 2015(r285093) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * Copyright (c) 2014-2015 Ruslan Bukin b...@bsdpad.com * All rights reserved. * * This software was developed by SRI

svn commit: r285091 - head/sys/dev/virtio/mmio

2015-07-03 Thread Ruslan Bukin
Author: br Date: Fri Jul 3 14:13:16 2015 New Revision: 285091 URL: https://svnweb.freebsd.org/changeset/base/285091 Log: Add 'prewrite' method allowing us to run some platform-specific code before each write happens, e.g. write-back caches. This will help booting in Bluespec simulator of

svn commit: r285003 - head/lib/libproc

2015-07-01 Thread Ruslan Bukin
Author: br Date: Wed Jul 1 13:59:26 2015 New Revision: 285003 URL: https://svnweb.freebsd.org/changeset/base/285003 Log: Make libproc compilable on AArch64. Modified: head/lib/libproc/proc_bkpt.c head/lib/libproc/proc_regs.c Modified: head/lib/libproc/proc_bkpt.c

svn commit: r285004 - head/sys/cddl/dev/fbt

2015-07-01 Thread Ruslan Bukin
Author: br Date: Wed Jul 1 14:09:59 2015 New Revision: 285004 URL: https://svnweb.freebsd.org/changeset/base/285004 Log: Add a central location for exclusion checks. We check here if function is excluded from FBT instrumentation. Reviewed by: andrew, emaste, markj Differential

svn commit: r285009 - in head: . cddl/contrib/opensolaris/lib/libdtrace/aarch64 cddl/contrib/opensolaris/lib/libdtrace/common cddl/lib cddl/lib/libdtrace cddl/usr.sbin lib sys/arm64/arm64 sys/cddl/...

2015-07-01 Thread Ruslan Bukin
: Portions Copyright [] [name of copyright owner] + * + * CDDL HEADER END + */ +/* + * Copyright 2005 Sun Microsystems, Inc. All rights reserved. + * Use is subject to license terms. + * Copyright 2014 Howard Su + * Copyright 2015 George V. Neville-Neil + * Copyright 2015 Ruslan Bukin b...@bsdpad.com

svn commit: r284544 - head/sys/dev/virtio/mmio

2015-06-18 Thread Ruslan Bukin
Author: br Date: Thu Jun 18 10:33:04 2015 New Revision: 284544 URL: https://svnweb.freebsd.org/changeset/base/284544 Log: Remove duplicate defines. Sponsored by: HEIF5 Modified: head/sys/dev/virtio/mmio/virtio_mmio.h Modified: head/sys/dev/virtio/mmio/virtio_mmio.h

svn commit: r284317 - in head/sys: conf dev/pci

2015-06-12 Thread Ruslan Bukin
@@ +/*- + * Copyright (c) 2015 Ruslan Bukin b...@bsdpad.com + * Copyright (c) 2014 The FreeBSD Foundation + * All rights reserved. + * + * This software was developed by Semihalf under + * the sponsorship of the FreeBSD Foundation. + * + * Redistribution and use in source and binary forms

svn commit: r284319 - in head/sys: conf dev/pci

2015-06-12 Thread Ruslan Bukin
(r284319, copy of r284318, head/sys/dev/pci/pci-host-generic.c) @@ -0,0 +1,626 @@ +/*- + * Copyright (c) 2015 Ruslan Bukin b...@bsdpad.com + * Copyright (c) 2014 The FreeBSD Foundation + * All rights reserved. + * + * This software was developed by Semihalf under + * the sponsorship of the FreeBSD

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

2015-06-11 Thread Ruslan Bukin
Author: br Date: Thu Jun 11 12:47:13 2015 New Revision: 284257 URL: https://svnweb.freebsd.org/changeset/base/284257 Log: Split out db_unwind_frame() so it can be used by DTrace. Sponsored by: ARM Ltd. Differential Revision:https://reviews.freebsd.org/D2741 Added:

svn commit: r284258 - head/sys/conf

2015-06-11 Thread Ruslan Bukin
Author: br Date: Thu Jun 11 13:00:20 2015 New Revision: 284258 URL: https://svnweb.freebsd.org/changeset/base/284258 Log: Consider sorting. Modified: head/sys/conf/files.arm64 Modified: head/sys/conf/files.arm64 ==

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

2015-06-10 Thread Ruslan Bukin
Author: br Date: Wed Jun 10 09:59:26 2015 New Revision: 284213 URL: https://svnweb.freebsd.org/changeset/base/284213 Log: Don't re-define LOCORE when dtrace is built-in to the kernel. Modified: head/sys/cddl/dev/dtrace/arm/dtrace_asm.S Modified: head/sys/cddl/dev/dtrace/arm/dtrace_asm.S

svn commit: r284218 - in head: lib/libpmc sys/dev/hwpmc sys/sys

2015-06-10 Thread Ruslan Bukin
Author: br Date: Wed Jun 10 12:42:30 2015 New Revision: 284218 URL: https://svnweb.freebsd.org/changeset/base/284218 Log: o Rework ARMv7 events list using aliases - same way as we have for arm64. o Extend it with Cortex A9-specific events. Modified: head/lib/libpmc/libpmc.c

svn commit: r284227 - in head/sys: amd64/conf arm/conf conf i386/conf powerpc/conf

2015-06-10 Thread Ruslan Bukin
Author: br Date: Wed Jun 10 15:53:39 2015 New Revision: 284227 URL: https://svnweb.freebsd.org/changeset/base/284227 Log: Allow DTrace to be compiled-in to the kernel. This will require for AArch64 as we dont have modules yet. Sponsored by: HEIF5 Sponsored by: ARM Ltd. Differential

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

2015-06-09 Thread Ruslan Bukin
On Mon, Jun 08, 2015 at 02:04:45PM -0400, John Baldwin wrote: On Monday, June 08, 2015 03:46:29 PM Ruslan Bukin wrote: For some reason it hangs for me after 'random' lines on arm64 Are you using dtrace? It looks like sdt was using the public symbol before but in a context where the caller

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

2015-06-08 Thread Ruslan Bukin
For some reason it hangs for me after 'random' lines on arm64 FreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525 CPU: ARM Cortex-A57 r1p0 IMPLEMENT ME: dtrace_toxic_ranges random: entropy device infrastructure driver random: selecting highest priority adaptor Dummy On Mon, Jun

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

2015-06-06 Thread Ruslan Bukin
Author: br Date: Sat Jun 6 14:26:40 2015 New Revision: 284077 URL: https://svnweb.freebsd.org/changeset/base/284077 Log: Include a header required for vtophys(). Modified: head/sys/arm/freescale/imx/imx6_sdma.c Modified: head/sys/arm/freescale/imx/imx6_sdma.c

svn commit: r283112 - in head: lib/libpmc sys/arm/arm sys/arm64/arm64 sys/arm64/include sys/conf sys/dev/hwpmc sys/sys

2015-05-19 Thread Ruslan Bukin
Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by the University of Cambridge Computer + * Laboratory with support from ARM Ltd. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

svn commit: r282972 - in head/sys: dev/fdt dev/gpio dev/ofw mips/beri powerpc/ofw powerpc/pseries

2015-05-15 Thread Ruslan Bukin
Author: br Date: Fri May 15 13:55:18 2015 New Revision: 282972 URL: https://svnweb.freebsd.org/changeset/base/282972 Log: Provide the number of interrupt resources added to the list by using extra argument, so caller will know that. Modified: head/sys/dev/fdt/simplebus.c

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

2015-04-28 Thread Ruslan Bukin
Author: br Date: Tue Apr 28 20:33:31 2015 New Revision: 282200 URL: https://svnweb.freebsd.org/changeset/base/282200 Log: o Fix bus_space_read_multi functions: correct increment value o Use these functions for streaming Tested with ATA (PCI bus) / Gem5 simulator Reviewed by: andrew

svn commit: r281019 - head/sys/dev/dwc

2015-04-03 Thread Ruslan Bukin
Author: br Date: Fri Apr 3 11:37:23 2015 New Revision: 281019 URL: https://svnweb.freebsd.org/changeset/base/281019 Log: o Remove superfluous includes o Avoid NULL pointer access o Fix 'set but not used' warning Submitted by: Sebastian Huber sebastian.hu...@embedded-brains.de

svn commit: r280691 - in head/sys/mips: include mips

2015-03-26 Thread Ruslan Bukin
Author: br Date: Thu Mar 26 14:51:24 2015 New Revision: 280691 URL: https://svnweb.freebsd.org/changeset/base/280691 Log: Add 64 byte linesize cache flushing routines for L1 instruction, L1 data and L2 data caches. Sponsored by: HEIF5 Modified: head/sys/mips/include/cache_mipsNN.h

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

2015-03-06 Thread Ruslan Bukin
Author: br Date: Fri Mar 6 16:23:30 2015 New Revision: 279696 URL: https://svnweb.freebsd.org/changeset/base/279696 Log: Fix style. Modified: head/sys/arm/conf/BEAGLEBONE Modified: head/sys/arm/conf/BEAGLEBONE ==

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

2015-03-06 Thread Ruslan Bukin
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/dtraceall.c Modified: head/sys/modules/dtrace/dtraceall/dtraceall.c

svn commit: r279533 - head/sys/boot/amd64/boot1.efi

2015-03-02 Thread Ruslan Bukin
Author: br Date: Mon Mar 2 18:08:39 2015 New Revision: 279533 URL: https://svnweb.freebsd.org/changeset/base/279533 Log: o Add more room for EFI boot blocks o Specify the filename as argument Differential Revision:https://reviews.freebsd.org/D1999 Reviewed by: emaste@

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

2015-02-24 Thread Ruslan Bukin
Author: br Date: Tue Feb 24 15:35:26 2015 New Revision: 279239 URL: https://svnweb.freebsd.org/changeset/base/279239 Log: Enable 'receive timeout' interrupt allowing us to not loose 'rx buffer full' event. This fixes operation on ARMv8 Foundation Model. Sponsored by: DARPA, AFRL

Re: svn commit: r279210 - head/sys/dev/usb/controller

2015-02-23 Thread Ruslan Bukin
On Mon, Feb 23, 2015 at 05:01:39PM +, Hans Petter Selasky wrote: Author: hselasky Date: Mon Feb 23 17:01:38 2015 New Revision: 279210 URL: https://svnweb.freebsd.org/changeset/base/279210 Log: Add support for the DWC OTG v2 chipset found in the STM32F4 series of processors. Make

svn commit: r278670 - head/sys/dev/dwc

2015-02-13 Thread Ruslan Bukin
Author: br Date: Fri Feb 13 11:00:13 2015 New Revision: 278670 URL: https://svnweb.freebsd.org/changeset/base/278670 Log: o Correct the condition in reset procedure o Setup interrupt hander after reset, not before This fixes operation on ODROID-C1 (Amlogic S805) Submitted by: John

svn commit: r278671 - head/sys/dev/smc

2015-02-13 Thread Ruslan Bukin
Author: br Date: Fri Feb 13 11:13:08 2015 New Revision: 278671 URL: https://svnweb.freebsd.org/changeset/base/278671 Log: o Correct the calculation how many pages we need o Ensure we use correct bank for MSK register o Save and restore current bank in interrupt handler o Stop TX watchdog

svn commit: r277835 - in head: lib/libpmc sys/arm/arm sys/arm/include sys/arm/ti sys/conf sys/dev/hwpmc sys/sys

2015-01-28 Thread Ruslan Bukin
@@ +/*- + * Copyright (c) 2015 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI International and the University of + * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) + * (CTSRD), as part of the DARPA CRASH research programme

Re: svn commit: r277835 - in head: lib/libpmc sys/arm/arm sys/arm/include sys/arm/ti sys/conf sys/dev/hwpmc sys/sys

2015-01-28 Thread Ruslan Bukin
On Wed, Jan 28, 2015 at 09:35:03AM -0700, Ian Lepore wrote: On Wed, 2015-01-28 at 16:08 +, Ruslan Bukin wrote: Author: br Date: Wed Jan 28 16:08:07 2015 New Revision: 277835 URL: https://svnweb.freebsd.org/changeset/base/277835 Log: Add ARMv7 performance monitoring counters

svn commit: r277745 - in head/sys: arm/arm boot/fdt/dts/arm

2015-01-26 Thread Ruslan Bukin
/arm/arm/pmu.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/arm/pmu.c Mon Jan 26 10:31:17 2015(r277745) @@ -0,0 +1,157 @@ +/*- + * Copyright (c) 2015 Ruslan Bukin b

svn commit: r277644 - in head/sys: arm/freescale/imx boot/fdt/dts/arm

2015-01-24 Thread Ruslan Bukin
, because file is newly added) +++ head/sys/arm/freescale/imx/imx6_audmux.cSat Jan 24 13:07:07 2015 (r277644) @@ -0,0 +1,159 @@ +/*- + * Copyright (c) 2015 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without

svn commit: r277414 - in head/sys/mips: include mips

2015-01-20 Thread Ruslan Bukin
Author: br Date: Tue Jan 20 11:10:25 2015 New Revision: 277414 URL: https://svnweb.freebsd.org/changeset/base/277414 Log: Add 128-byte cache flushing routines. Leave CNMIPS untouched as these functions depends on config2 register. Modified: head/sys/mips/include/cache_mipsNN.h

svn commit: r277422 - head/sys/dev/usb/net

2015-01-20 Thread Ruslan Bukin
Author: br Date: Tue Jan 20 16:30:02 2015 New Revision: 277422 URL: https://svnweb.freebsd.org/changeset/base/277422 Log: o Restore 'goto tr_setup;' when operating in host mode mistakenly removed in r277414. o Remove extra parentheses around cases. Modified:

svn commit: r277420 - head/sys/dev/usb/net

2015-01-20 Thread Ruslan Bukin
Author: br Date: Tue Jan 20 15:45:09 2015 New Revision: 277420 URL: https://svnweb.freebsd.org/changeset/base/277420 Log: o Do notify USB host each time we receive 'set packet filter' request. This makes Mac OS X happy when it returns back from suspending. o Switch notify state after data

svn commit: r277298 - head/sys/dev/usb/net

2015-01-17 Thread Ruslan Bukin
Author: br Date: Sat Jan 17 12:31:26 2015 New Revision: 277298 URL: https://svnweb.freebsd.org/changeset/base/277298 Log: o Notify USB host about connection when operating in device mode. Required when communicating to Mac OS X USB host stack. o Also don't set stall bit to TX pipe in

svn commit: r277129 - in head/sys: conf dev/usb dev/usb/template

2015-01-13 Thread Ruslan Bukin
is newly added) +++ head/sys/dev/usb/template/usb_template_serialnet.c Tue Jan 13 14:03:56 2015(r277129) @@ -0,0 +1,387 @@ +/*- + * Copyright (c) 2015 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI International and the University

svn commit: r277132 - in head/sys: arm/samsung/exynos dev/uart

2015-01-13 Thread Ruslan Bukin
Author: br Date: Tue Jan 13 15:04:28 2015 New Revision: 277132 URL: https://svnweb.freebsd.org/changeset/base/277132 Log: Rename Exynos UART driver. No functional change. Submitted by: Michal Meloun mel...@miracle.cz Modified: head/sys/arm/samsung/exynos/exynos_uart.c

svn commit: r276710 - in head/sys/dev/beri/virtio: . network

2015-01-05 Thread Ruslan Bukin
Author: br Date: Mon Jan 5 16:43:22 2015 New Revision: 276710 URL: https://svnweb.freebsd.org/changeset/base/276710 Log: o Switch to use non-mergeable RX buffers to avoid mbuf adjustment needs o Operate with copy of iov as we expect later it was not modified Modified:

svn commit: r276670 - in head/sys/dev: altera/pio beri/virtio

2015-01-04 Thread Ruslan Bukin
Author: br Date: Sun Jan 4 23:14:04 2015 New Revision: 276670 URL: https://svnweb.freebsd.org/changeset/base/276670 Log: Do not configure Altera PIO device on ARM startup. PIO is a device implemented in soft-core and becomes available after flashing FPGA only. Modified:

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

2015-01-02 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/altera/socfpga/socfpga_gpio.c Fri Jan 2 13:15:36 2015 (r276533) @@ -0,0 +1,437 @@ +/*- + * Copyright (c) 2015 Ruslan Bukin b...@bsdpad.com

svn commit: r275936 - head/sys/mips/beri

2014-12-19 Thread Ruslan Bukin
Author: br Date: Fri Dec 19 12:09:29 2014 New Revision: 275936 URL: https://svnweb.freebsd.org/changeset/base/275936 Log: Correct the end address of the memory regions. Pointed out by: ian Modified: head/sys/mips/beri/beri_machdep.c Modified: head/sys/mips/beri/beri_machdep.c

svn commit: r275858 - head/sys/mips/beri

2014-12-17 Thread Ruslan Bukin
Author: br Date: Wed Dec 17 09:34:54 2014 New Revision: 275858 URL: https://svnweb.freebsd.org/changeset/base/275858 Log: Use memory regions information provided in FDT. Reviewed by: brooks Sponsored by: DARPA, AFRL Modified: head/sys/mips/beri/beri_machdep.c Modified:

svn commit: r275859 - head/sys/boot/fdt/dts/arm

2014-12-17 Thread Ruslan Bukin
Author: br Date: Wed Dec 17 10:48:53 2014 New Revision: 275859 URL: https://svnweb.freebsd.org/changeset/base/275859 Log: o Add PIO[2,3] devices information o Enable Virtio Block Modified: head/sys/boot/fdt/dts/arm/socfpga-sockit-beri.dts Modified:

svn commit: r275860 - head/sys/boot/fdt/dts/mips

2014-12-17 Thread Ruslan Bukin
Author: br Date: Wed Dec 17 11:05:44 2014 New Revision: 275860 URL: https://svnweb.freebsd.org/changeset/base/275860 Log: Move memory node to the root, so fdt_get_mem_regions() can find it. Modified: head/sys/boot/fdt/dts/mips/beri-netfpga.dts head/sys/boot/fdt/dts/mips/beri-sim.dts

svn commit: r275861 - in head/sys: boot/fdt/dts/mips mips/beri mips/conf

2014-12-17 Thread Ruslan Bukin
International + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI International and the University of + * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) + * (CTSRD), as part of the DARPA CRASH research

Re: svn commit: r275858 - head/sys/mips/beri

2014-12-17 Thread Ruslan Bukin
On Wed, Dec 17, 2014 at 05:51:14AM -0700, Ian Lepore wrote: Modified: head/sys/mips/beri/beri_machdep.c == --- head/sys/mips/beri/beri_machdep.c Wed Dec 17 07:47:25 2014 (r275857) +++

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

2014-12-15 Thread Ruslan Bukin
Author: br Date: Mon Dec 15 09:40:25 2014 New Revision: 275792 URL: https://svnweb.freebsd.org/changeset/base/275792 Log: Eliminate fdt_data_verify(). The verification it proceed is wrong disallowing us to encode 64-bit register numbers. Discussed with: nwhitehorn, andrew

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

2014-12-15 Thread Ruslan Bukin
Author: br Date: Mon Dec 15 11:57:39 2014 New Revision: 275799 URL: https://svnweb.freebsd.org/changeset/base/275799 Log: Follow r275792 eliminating fdt_data_verify(). Modified: head/sys/arm/mv/mv_common.c head/sys/arm/mv/mv_pci.c Modified: head/sys/arm/mv/mv_common.c

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

2014-12-15 Thread Ruslan Bukin
Author: br Date: Mon Dec 15 12:15:18 2014 New Revision: 275802 URL: https://svnweb.freebsd.org/changeset/base/275802 Log: Fix typo. Modified: head/sys/arm/mv/mv_pci.c Modified: head/sys/arm/mv/mv_pci.c == ---

svn commit: r275728 - in head/sys/dev: beri/virtio virtio virtio/mmio

2014-12-12 Thread Ruslan Bukin
Author: br Date: Fri Dec 12 11:19:10 2014 New Revision: 275728 URL: https://svnweb.freebsd.org/changeset/base/275728 Log: Add virtio bus 'poll' method allowing us to inform backend we are going to poll virtqueue. Use on BERI soft-core to invalidate cpu caches. Reviewed by: bryanv

svn commit: r275676 - head/sys/dev/mii

2014-12-10 Thread Ruslan Bukin
Author: br Date: Wed Dec 10 11:35:10 2014 New Revision: 275676 URL: https://svnweb.freebsd.org/changeset/base/275676 Log: o Put () for p to avoid unexpected macro expansion o style(9) fix Submitted by: Yonghyeon PYUN pyu...@gmail.com Modified: head/sys/dev/mii/micphy.c Modified:

svn commit: r275647 - in head/sys: arm/altera/socfpga arm/conf boot/fdt/dts/arm dev/beri/virtio dev/beri/virtio/network dev/virtio/mmio

2014-12-09 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/beri/virtio/network/if_vtbe.c Tue Dec 9 16:39:21 2014 (r275647) @@ -0,0 +1,655 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-27 Thread Ruslan Bukin
subtle bugs and this isn't yet fully understood. Thanks, -adrian On 25 November 2014 at 09:38, Ruslan Bukin b...@freebsd.org wrote: On Tue, Nov 25, 2014 at 06:29:22PM +0300, Gleb Smirnoff wrote: R Un-unioning helps partially: I receive much less panics and able to boot until

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-27 Thread Ruslan Bukin
On Thu, Nov 27, 2014 at 11:28:31AM -0800, Adrian Chadd wrote: On 27 November 2014 at 10:36, Ruslan Bukin b...@freebsd.org wrote: Hi, There is a theory that a problem is related to CPU caches, and it can be BERI-cpu specific only. And sorry I didn't realized virtio was still

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-25 Thread Ruslan Bukin
On Tue, Nov 25, 2014 at 10:31:45AM +0300, Gleb Smirnoff wrote: On Mon, Nov 24, 2014 at 09:16:20PM +, Ruslan Bukin wrote: R On Mon, Nov 24, 2014 at 10:29:02PM +0300, Gleb Smirnoff wrote: R On Mon, Nov 24, 2014 at 06:03:56PM +, Ruslan Bukin wrote: R R I this on stock kernel

svn commit: r275048 - head/sys/dev/beri/virtio

2014-11-25 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/beri/virtio/virtio.c Tue Nov 25 15:58:59 2014 (r275048) @@ -0,0 +1,183 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI

svn commit: r275049 - in head/sys: arm/altera/socfpga boot/fdt/dts/arm dev/beri/virtio

2014-11-25 Thread Ruslan Bukin
Author: br Date: Tue Nov 25 16:06:19 2014 New Revision: 275049 URL: https://svnweb.freebsd.org/changeset/base/275049 Log: o Add PIO and vtblk mmio device info to the tree o Add FPGA memory window to static dev mappings o Fix whitespace Modified:

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

2014-11-25 Thread Ruslan Bukin
Author: br Date: Tue Nov 25 16:24:31 2014 New Revision: 275050 URL: https://svnweb.freebsd.org/changeset/base/275050 Log: Add new devices to the config. Modified: head/sys/arm/altera/socfpga/files.socfpga head/sys/arm/conf/SOCKIT-BERI head/sys/conf/files Modified:

svn commit: r275053 - head/sys/conf

2014-11-25 Thread Ruslan Bukin
Author: br Date: Tue Nov 25 16:53:22 2014 New Revision: 275053 URL: https://svnweb.freebsd.org/changeset/base/275053 Log: o Add Virtio MMIO bus driver to config o Move Virtio-related to common config file Modified: head/sys/conf/files head/sys/conf/files.amd64 head/sys/conf/files.i386

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-25 Thread Ruslan Bukin
On Tue, Nov 25, 2014 at 06:29:22PM +0300, Gleb Smirnoff wrote: R Un-unioning helps partially: I receive much less panics and able to boot until login prompt in ~ 1/3 attempts with patch attached. What happens then? Same panic as w/o patch? Same random panics: [..] Starting file system

Re: svn commit: r274752 - in head/sys/mips: include mips

2014-11-24 Thread Ruslan Bukin
); but +void +mipsNN_sdcache_wbinv_range_ 32(vm_offset_t va, vm_size_t size) .. did you test this with a make universe pass? Thanks, -adrian On 20 November 2014 at 09:06, Ruslan Bukin b...@freebsd.org wrote: Author: br Date: Thu Nov 20 17:06:41 2014 New Revision: 274752

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Ruslan Bukin
Hi, Gleb, I get some problems with it: I'm working on block device emulation using virtio(4) in heterogeneous environment (FreeBSD/ARM frontend provide block to FreeBSD/MIPS64 soft core). On a MIPS side I now permanently receive panic below Any idea ? [...] crypto: cryptosoft0 registers alg 22

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Ruslan Bukin
On Mon, Nov 24, 2014 at 07:37:33PM +0200, Konstantin Belousov wrote: On Mon, Nov 24, 2014 at 11:05:37AM +, Ruslan Bukin wrote: Hi, Gleb, I get some problems with it: I'm working on block device emulation using virtio(4) in heterogeneous environment (FreeBSD/ARM frontend provide

Re: svn commit: r274914 - in head/sys: kern sys ufs/ffs vm

2014-11-24 Thread Ruslan Bukin
On Mon, Nov 24, 2014 at 10:29:02PM +0300, Gleb Smirnoff wrote: On Mon, Nov 24, 2014 at 06:03:56PM +, Ruslan Bukin wrote: R I this on stock kernel or on kernel with your modifications ? R R Stock one. I also checked with no virtio but MDROOT - same problems. I could expect a panic

svn commit: r274928 - head/sys/mips/include

2014-11-23 Thread Ruslan Bukin
Author: br Date: Sun Nov 23 22:09:05 2014 New Revision: 274928 URL: https://svnweb.freebsd.org/changeset/base/274928 Log: Correct the functions declaration. Modified: head/sys/mips/include/cache_mipsNN.h Modified: head/sys/mips/include/cache_mipsNN.h

svn commit: r274752 - in head/sys/mips: include mips

2014-11-20 Thread Ruslan Bukin
Author: br Date: Thu Nov 20 17:06:41 2014 New Revision: 274752 URL: https://svnweb.freebsd.org/changeset/base/274752 Log: Add L2-cache writeback/flush operations. Supported 32,128-byte line-size, else ignored. Cavium Networks also ignored as it has non-standard config registers.

svn commit: r274714 - head/sys/dev/beri/virtio

2014-11-19 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/beri/virtio/virtio_mmio_platform.c Wed Nov 19 14:49:29 2014(r274714) @@ -0,0 +1,227 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All

svn commit: r274655 - in head/sys/dev/virtio: block mmio

2014-11-18 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/virtio/mmio/virtio_mmio.c Tue Nov 18 14:11:14 2014 (r274655) @@ -0,0 +1,800 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved

svn commit: r274656 - head/sys/dev/altera/pio

2014-11-18 Thread Ruslan Bukin
added) +++ head/sys/dev/altera/pio/pio.c Tue Nov 18 14:12:19 2014 (r274656) @@ -0,0 +1,215 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI International and the University of + * Cambridge Computer

svn commit: r273469 - in head/sys: arm/altera/socfpga arm/conf boot/fdt/dts/arm dev/beri

2014-10-22 Thread Ruslan Bukin
/beri/beri_mem.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/beri/beri_mem.cWed Oct 22 11:30:03 2014 (r273469) @@ -0,0 +1,186 @@ +/*- + * Copyright (c) 2014 Ruslan

svn commit: r273380 - in head/sys: arm/altera/socfpga arm/conf boot/fdt/dts/arm dev/mii

2014-10-21 Thread Ruslan Bukin
(empty, because file is newly added) +++ head/sys/dev/mii/micphy.c Tue Oct 21 09:14:16 2014(r273380) @@ -0,0 +1,215 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI International and the University

svn commit: r273278 - in head/sys: arm/altera/socfpga arm/conf boot/fdt/dts/arm dev/beri

2014-10-19 Thread Ruslan Bukin
/socfpga-sockit-beri.dts Sun Oct 19 16:26:49 2014(r273278) @@ -0,0 +1,109 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI International and the University of + * Cambridge Computer Laboratory under DARPA/AFRL

svn commit: r272896 - in head/sys: arm/altera/socfpga arm/conf boot/fdt/dts/arm

2014-10-10 Thread Ruslan Bukin
/socfpga_mp.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/altera/socfpga/socfpga_mp.cFri Oct 10 14:35:51 2014 (r272896) @@ -0,0 +1,180 @@ +/*- + * Copyright (c) 2014 Ruslan

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

2014-10-08 Thread Ruslan Bukin
Author: br Date: Wed Oct 8 08:51:05 2014 New Revision: 272736 URL: https://svnweb.freebsd.org/changeset/base/272736 Log: Always wait 'command done' interrupt status bit before proceeding next command. Sponsored by: DARPA, AFRL Modified: head/sys/dev/mmc/host/dwmmc.c Modified:

svn commit: r272712 - in head/sys: arm/altera/socfpga arm/conf arm/samsung/exynos boot/fdt/dts/arm dev/mmc dev/mmc/host

2014-10-07 Thread Ruslan Bukin
, because file is newly added) +++ head/sys/dev/mmc/host/dwmmc.c Tue Oct 7 17:39:30 2014 (r272712) @@ -0,0 +1,1103 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI International and the University

svn commit: r272120 - in head/sys: arm/altera/socfpga arm/conf boot/fdt/dts/arm dev/dwc

2014-09-25 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/dwc/if_dwc.c Thu Sep 25 18:03:14 2014(r272120) @@ -0,0 +1,1324 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com

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

2014-09-11 Thread Ruslan Bukin
) @@ -0,0 +1,54 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI International and the University of + * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) + * (CTSRD), as part of the DARPA CRASH

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

2014-09-06 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/altera/socfpga/socfpga_common.hSat Sep 6 08:48:57 2014(r271186) @@ -0,0 +1,44 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved

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

2014-09-06 Thread Ruslan Bukin
On Sat, Sep 06, 2014 at 11:45:14AM +0100, Andrew Turner wrote: +#defineWRITE1(_sc, _reg, _val) \ + bus_space_write_1(_sc-bst, _sc-bsh, _reg, _val) Why are these in a header when the softc is in a .c file? Also why not use bus_read_n, e.g. READ4 would become: #define READ4(_sc,

svn commit: r271200 - head/sys/arm/altera/socfpga

2014-09-06 Thread Ruslan Bukin
Author: br Date: Sat Sep 6 18:08:21 2014 New Revision: 271200 URL: http://svnweb.freebsd.org/changeset/base/271200 Log: o Remove __unused attribute on variables which actually used o Unmagic 'configuration done' bit o Move probe() to place before attach() for better navigation o Use

svn commit: r271093 - in head/sys: arm/altera arm/altera/socfpga arm/conf boot/fdt/dts/arm

2014-09-04 Thread Ruslan Bukin
/altera/socfpga/socfpga_common.cThu Sep 4 12:44:40 2014(r271093) @@ -0,0 +1,83 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * This software was developed by SRI International and the University of + * Cambridge Computer Laboratory under

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

2014-08-31 Thread Ruslan Bukin
Author: br Date: Sun Aug 31 17:40:19 2014 New Revision: 270884 URL: http://svnweb.freebsd.org/changeset/base/270884 Log: GIC (Cortex A's interrupt controller) supports up to 1020 IRQs. Modified: head/sys/arm/include/intr.h Modified: head/sys/arm/include/intr.h

svn commit: r269369 - in head/sys: arm/conf arm/samsung/exynos boot/fdt/dts/arm

2014-08-01 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/arm/samsung/exynos/chrome_ec_spi.c Fri Aug 1 06:20:25 2014 (r269369) @@ -0,0 +1,230 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights

svn commit: r269385 - in head/sys: arm/conf boot/fdt/dts/arm

2014-08-01 Thread Ruslan Bukin
, head/sys/boot/fdt/dts/arm/exynos5250-chromebook-snow.dts) @@ -0,0 +1,82 @@ +/*- + * Copyright (c) 2014 Ruslan Bukin b...@bsdpad.com + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

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

2014-07-29 Thread Ruslan Bukin
Author: br Date: Tue Jul 29 12:44:19 2014 New Revision: 269234 URL: http://svnweb.freebsd.org/changeset/base/269234 Log: Remove unused option. Modified: head/sys/arm/conf/CHROMEBOOK head/sys/arm/conf/VYBRID Modified: head/sys/arm/conf/CHROMEBOOK

svn commit: r269178 - head/sys/arm/samsung/exynos

2014-07-27 Thread Ruslan Bukin
Author: br Date: Mon Jul 28 05:37:10 2014 New Revision: 269178 URL: http://svnweb.freebsd.org/changeset/base/269178 Log: Add the rest of combined interrupt groups. Modified: head/sys/arm/samsung/exynos/exynos5_combiner.c Modified: head/sys/arm/samsung/exynos/exynos5_combiner.c

svn commit: r268973 - in head/sys/arm/freescale: imx vybrid

2014-07-21 Thread Ruslan Bukin
Author: br Date: Tue Jul 22 03:59:14 2014 New Revision: 268973 URL: http://svnweb.freebsd.org/changeset/base/268973 Log: Rename i.MX I2C driver file. Added: head/sys/arm/freescale/imx/imx_i2c.c - copied unchanged from r268972, head/sys/arm/freescale/imx/i2c.c Deleted:

svn commit: r268977 - in head/sys: arm/conf arm/freescale/imx boot/fdt/dts/arm

2014-07-21 Thread Ruslan Bukin
Author: br Date: Tue Jul 22 04:39:32 2014 New Revision: 268977 URL: http://svnweb.freebsd.org/changeset/base/268977 Log: Enable Freescale i.MX I2C driver for i.MX6. Modified: head/sys/arm/conf/IMX6 head/sys/arm/freescale/imx/files.imx6 head/sys/arm/freescale/imx/imx_i2c.c

<    1   2   3   4   5   6   7   >