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

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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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@

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: 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

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: 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: 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: 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: 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

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

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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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: 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: r300680 - in head: contrib/netbsd-tests/lib/libc/gen contrib/netbsd-tests/lib/libc/sys lib/libc/riscv lib/libc/riscv/sys

2016-05-25 Thread Ruslan Bukin
Author: br Date: Wed May 25 14:08:21 2016 New Revision: 300680 URL: https://svnweb.freebsd.org/changeset/base/300680 Log: Remove legacy brk and sbrk from RISC-V. Discussed with: andrew Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Deleted: head/lib/libc/riscv/sys/brk.S

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

2016-06-08 Thread Ruslan Bukin
Author: br Date: Wed Jun 8 13:57:18 2016 New Revision: 301621 URL: https://svnweb.freebsd.org/changeset/base/301621 Log: Remove duplicate define. Modified: head/sys/riscv/include/riscvreg.h Modified: head/sys/riscv/include/riscvreg.h

svn commit: r300859 - head/sys/cddl/dev/dtrace/riscv

2016-05-27 Thread Ruslan Bukin
Author: br Date: Fri May 27 17:58:10 2016 New Revision: 300859 URL: https://svnweb.freebsd.org/changeset/base/300859 Log: Correct the implementation of dtrace_interrupt_disable/enable. Pointed out by: andrew Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified:

svn commit: r301205 - head/sys/riscv/riscv

2016-06-02 Thread Ruslan Bukin
== --- head/sys/riscv/riscv/elf_machdep.c Thu Jun 2 14:25:10 2016 (r301204) +++ head/sys/riscv/riscv/elf_machdep.c Thu Jun 2 15:14:40 2016 (r301205) @@ -1,7 +1,7 @@ /*- * Copyright 1996-1998 John D. Polstra. * Copyright (c) 2015 Ruslan Bukin <b...@bsdpad.

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

2016-05-26 Thread Ruslan Bukin
Author: br Date: Thu May 26 10:03:30 2016 New Revision: 300726 URL: https://svnweb.freebsd.org/changeset/base/300726 Log: Increase the size and alignment of the setjmp buffer. This is required for future CPU extentions. Reviewed by: brooks Sponsored by: DARPA, AFRL Sponsored by:

svn commit: r301120 - head/sys/riscv/conf

2016-06-01 Thread Ruslan Bukin
Author: br Date: Wed Jun 1 12:19:00 2016 New Revision: 301120 URL: https://svnweb.freebsd.org/changeset/base/301120 Log: * Enable KDTRACE options as we support DTrace now. * Add bpf device to kernel config. Modified: head/sys/riscv/conf/GENERIC Modified: head/sys/riscv/conf/GENERIC

svn commit: r301121 - head/sys/modules

2016-06-01 Thread Ruslan Bukin
Author: br Date: Wed Jun 1 13:43:43 2016 New Revision: 301121 URL: https://svnweb.freebsd.org/changeset/base/301121 Log: Don't build some modules on RISC-V. Submitted by: Yukishige Shibata Modified: head/sys/modules/Makefile Modified:

svn commit: r301123 - head/sys/dev/sym

2016-06-01 Thread Ruslan Bukin
Author: br Date: Wed Jun 1 14:03:13 2016 New Revision: 301123 URL: https://svnweb.freebsd.org/changeset/base/301123 Log: Add a riscv define. Submitted by: Yukishige Shibata Modified: head/sys/dev/sym/sym_hipd.c Modified: head/sys/dev/sym/sym_hipd.c

svn commit: r301124 - head/sys/conf

2016-06-01 Thread Ruslan Bukin
Author: br Date: Wed Jun 1 14:05:32 2016 New Revision: 301124 URL: https://svnweb.freebsd.org/changeset/base/301124 Log: Build riscv modules as PIC. Submitted by: Yukishige Shibata Modified: head/sys/conf/kmod.mk Modified: head/sys/conf/kmod.mk

svn commit: r301126 - in head/sys/riscv: conf riscv

2016-06-01 Thread Ruslan Bukin
1996-1998 John D. Polstra. * Copyright (c) 2015 Ruslan Bukin <b...@bsdpad.com> + * Copyright (c) 2016 Yukishige SHibata <y-shi...@mtd.biglobe.ne.jp> * All rights reserved. * * Portions of this software were developed by SRI International and the @@ -43,6 +44,7 @@ __FBSDID("$

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: r295251 - in head/sys: arm/arm sparc64/sparc64

2016-02-04 Thread Ruslan Bukin
Author: br Date: Thu Feb 4 12:06:06 2016 New Revision: 295251 URL: https://svnweb.freebsd.org/changeset/base/295251 Log: Fix build. Modified: head/sys/arm/arm/vm_machdep.c head/sys/sparc64/sparc64/vm_machdep.c Modified: head/sys/arm/arm/vm_machdep.c

svn commit: r295253 - in head/sys/riscv: include riscv

2016-02-04 Thread Ruslan Bukin
Author: br Date: Thu Feb 4 12:49:28 2016 New Revision: 295253 URL: https://svnweb.freebsd.org/changeset/base/295253 Log: Reuse gp register for pcpu pointer. gp (global pointer) is used by compiler in userland only, so re-use it for pcpup in kernel, save it on stack on switching out to

svn commit: r295250 - in head/sys: arm64/arm64 mips/mips riscv/riscv

2016-02-04 Thread Ruslan Bukin
Author: br Date: Thu Feb 4 11:52:53 2016 New Revision: 295250 URL: https://svnweb.freebsd.org/changeset/base/295250 Log: Fix build. Modified: head/sys/arm64/arm64/vm_machdep.c head/sys/mips/mips/vm_machdep.c head/sys/riscv/riscv/vm_machdep.c Modified: head/sys/arm64/arm64/vm_machdep.c

svn commit: r295258 - in head/sys/riscv: include riscv

2016-02-04 Thread Ruslan Bukin
Author: br Date: Thu Feb 4 14:30:46 2016 New Revision: 295258 URL: https://svnweb.freebsd.org/changeset/base/295258 Log: Access pcpup using gp register. Modified: head/sys/riscv/include/asm.h head/sys/riscv/riscv/exception.S head/sys/riscv/riscv/swtch.S Modified:

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

2016-02-12 Thread Ruslan Bukin
Author: br Date: Fri Feb 12 14:29:14 2016 New Revision: 295564 URL: https://svnweb.freebsd.org/changeset/base/295564 Log: Use __uint64_t type for floating point registers as compiler don't know about __uint128_t yet. Discussed with: theraven, kib Modified:

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Ruslan Bukin
On Fri, Feb 12, 2016 at 04:13:53PM +0200, Konstantin Belousov wrote: > On Fri, Feb 12, 2016 at 01:22:04PM +0000, Ruslan Bukin wrote: > > On RISC-V it fails with __uint128_t: > > > > struct fpregs { > > __uint128_t fp_x[32]; > > > > how to fix?

Re: svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-12 Thread Ruslan Bukin
On RISC-V it fails with __uint128_t: struct fpregs { __uint128_t fp_x[32]; how to fix? Ruslan On Fri, Feb 12, 2016 at 07:38:20AM +, Konstantin Belousov wrote: > Author: kib > Date: Fri Feb 12 07:38:19 2016 > New Revision: 295561 > URL:

svn commit: r295508 - head/sys/riscv/htif

2016-02-11 Thread Ruslan Bukin
Author: br Date: Thu Feb 11 11:21:45 2016 New Revision: 295508 URL: https://svnweb.freebsd.org/changeset/base/295508 Log: Stop device enumeration when we see first empty slot. This fixes operation in QEMU and saves some booting time as well. Pointed out by: Sagar Karandikar

svn commit: r295521 - in head/sys: boot/fdt/dts/riscv riscv/conf

2016-02-11 Thread Ruslan Bukin
) @@ -0,0 +1,92 @@ +/*- + * Copyright (c) 2016 Ruslan Bukin <b...@bsdpad.com> + * All rights reserved. + * + * Portions of this software were developed by SRI International and the + * University of Cambridge Computer Laboratory under DARPA/AFRL contract + * FA8750-10-C-0237 ("CTSRD"), as p

svn commit: r295041 - in head/sys: boot/fdt/dts/riscv boot/ficl/riscv cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/sys conf dev/hwpmc riscv/conf riscv/htif riscv/riscv sys

2016-01-29 Thread Ruslan Bukin
:00:00 1970 (empty, because file is newly added) +++ head/sys/boot/fdt/dts/riscv/spike.dts Fri Jan 29 15:12:31 2016 (r295041) @@ -0,0 +1,92 @@ +/*- + * Copyright (c) 2015 Ruslan Bukin <b...@bsdpad.com> + * All rights reserved. + * + * Portions of this software were developed

svn commit: r295972 - in head/sys: boot/fdt/dts/riscv conf riscv/conf riscv/htif riscv/include riscv/riscv

2016-02-24 Thread Ruslan Bukin
# Enable kernel debugger support. Modified: head/sys/riscv/htif/htif.c == --- head/sys/riscv/htif/htif.c Wed Feb 24 15:15:46 2016(r295971) +++ head/sys/riscv/htif/htif.c Wed Feb 24 16:50:34 2016

svn commit: r295893 - head/sys/riscv/riscv

2016-02-22 Thread Ruslan Bukin
Author: br Date: Mon Feb 22 14:54:50 2016 New Revision: 295893 URL: https://svnweb.freebsd.org/changeset/base/295893 Log: Add basic trap handlers for illegal instruction and breakpoint exceptions. Modified: head/sys/riscv/riscv/trap.c Modified: head/sys/riscv/riscv/trap.c

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

2016-02-22 Thread Ruslan Bukin
Author: br Date: Mon Feb 22 14:13:05 2016 New Revision: 295891 URL: https://svnweb.freebsd.org/changeset/base/295891 Log: Remove duplicates. Modified: head/sys/riscv/include/atomic.h Modified: head/sys/riscv/include/atomic.h

svn commit: r295892 - head/sys/riscv/riscv

2016-02-22 Thread Ruslan Bukin
Author: br Date: Mon Feb 22 14:19:45 2016 New Revision: 295892 URL: https://svnweb.freebsd.org/changeset/base/295892 Log: Fix comment. Modified: head/sys/riscv/riscv/timer.c Modified: head/sys/riscv/riscv/timer.c ==

svn commit: r295890 - in head/sys: conf riscv/riscv

2016-02-22 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/riscv/riscv/stack_machdep.cMon Feb 22 14:01:46 2016 (r295890) @@ -0,0 +1,63 @@ +/*- + * Copyright (c) 2016 Ruslan Bukin <b...@bsdpad.com> + * All rights reserved. + * + * Po

svn commit: r295889 - head/sys/riscv/riscv

2016-02-22 Thread Ruslan Bukin
Author: br Date: Mon Feb 22 13:52:08 2016 New Revision: 295889 URL: https://svnweb.freebsd.org/changeset/base/295889 Log: Fix ktrace call. Modified: head/sys/riscv/riscv/machdep.c Modified: head/sys/riscv/riscv/machdep.c

svn commit: r295922 - head/sys/conf

2016-02-23 Thread Ruslan Bukin
Author: br Date: Tue Feb 23 14:29:22 2016 New Revision: 295922 URL: https://svnweb.freebsd.org/changeset/base/295922 Log: Set a dependencies for stack(9) RISC-V MD part. Pointed out by: andrew Modified: head/sys/conf/files.riscv Modified: head/sys/conf/files.riscv

svn commit: r295921 - in head/sys: boot/fdt/dts/riscv riscv/riscv

2016-02-23 Thread Ruslan Bukin
Author: br Date: Tue Feb 23 14:21:46 2016 New Revision: 295921 URL: https://svnweb.freebsd.org/changeset/base/295921 Log: o Grab physical memory regions information from the device tree. o Increase memory size. Modified: head/sys/boot/fdt/dts/riscv/qemu.dts

svn commit: r296094 - in head/sys/riscv: include riscv

2016-02-26 Thread Ruslan Bukin
Author: br Date: Fri Feb 26 14:04:00 2016 New Revision: 296094 URL: https://svnweb.freebsd.org/changeset/base/296094 Log: o Use uint64_t for page number as it doesn't fit uint32_t. o Implement growkernel bits for L1 level of pagetables. This allows us to boot with 128GB of physical

svn commit: r294632 - head/sys/dev/sound/pci

2016-01-23 Thread Ruslan Bukin
== --- head/sys/dev/sound/pci/hdspe.h Sat Jan 23 12:56:28 2016 (r294631) +++ head/sys/dev/sound/pci/hdspe.h Sat Jan 23 13:34:55 2016 (r294632) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2012 Ruslan Bukin

svn commit: r294623 - head/libexec/rtld-elf/riscv

2016-01-23 Thread Ruslan Bukin
Author: br Date: Sat Jan 23 11:46:52 2016 New Revision: 294623 URL: https://svnweb.freebsd.org/changeset/base/294623 Log: Follow r293066 adding a generalized exec hook for RISC-V as well. Modified: head/libexec/rtld-elf/riscv/rtld_machdep.h Modified:

svn commit: r294736 - head/usr.bin

2016-01-25 Thread Ruslan Bukin
Author: br Date: Mon Jan 25 16:49:39 2016 New Revision: 294736 URL: https://svnweb.freebsd.org/changeset/base/294736 Log: Disable gprof and users on RISC-V, they don't build. Modified: head/usr.bin/Makefile Modified: head/usr.bin/Makefile

svn commit: r294634 - head/contrib/gcc/config/riscv64

2016-01-23 Thread Ruslan Bukin
Author: br Date: Sat Jan 23 15:33:11 2016 New Revision: 294634 URL: https://svnweb.freebsd.org/changeset/base/294634 Log: Add a minimal gcc config for RISC-V. This is required to build csu. Reviewed by: andrew Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision:

svn commit: r294662 - head/lib/libproc

2016-01-24 Thread Ruslan Bukin
Author: br Date: Sun Jan 24 12:10:29 2016 New Revision: 294662 URL: https://svnweb.freebsd.org/changeset/base/294662 Log: Add support for RISC-V ISA. Reviewed by: andrew Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision:https://reviews.freebsd.org/D5040

svn commit: r294664 - head/contrib/elftoolchain/libelf

2016-01-24 Thread Ruslan Bukin
Author: br Date: Sun Jan 24 15:12:49 2016 New Revision: 294664 URL: https://svnweb.freebsd.org/changeset/base/294664 Log: Add config for RISC-V ISA. Reviewed by: emaste Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision:https://reviews.freebsd.org/D5046

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

2016-01-24 Thread Ruslan Bukin
Author: br Date: Sun Jan 24 15:15:57 2016 New Revision: 294665 URL: https://svnweb.freebsd.org/changeset/base/294665 Log: We don't support a.out executables on RISC-V. Reviewed by: emaste Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision:

<    1   2   3   4   5   6   7   >