svn commit: r334619 - head/sys/conf

2018-06-04 Thread Ruslan Bukin
Author: br Date: Mon Jun 4 16:20:22 2018 New Revision: 334619 URL: https://svnweb.freebsd.org/changeset/base/334619 Log: Fix build: ignore a GCC 7.2.0 warning which says that third argument of memset(3) should contain the number of elements multiplied by the element size. Sponsored by:

svn commit: r334620 - head/share/mk

2018-06-04 Thread Ruslan Bukin
Author: br Date: Mon Jun 4 16:21:18 2018 New Revision: 334620 URL: https://svnweb.freebsd.org/changeset/base/334620 Log: Sort GCC warning flags and remove duplicates. Sponsored by: DARPA, AFRL Modified: head/share/mk/bsd.sys.mk Modified: head/share/mk/bsd.sys.mk ===

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

2018-06-12 Thread Ruslan Bukin
Author: br Date: Tue Jun 12 16:19:27 2018 New Revision: 335000 URL: https://svnweb.freebsd.org/changeset/base/335000 Log: Align virtual addressing entries. This is required due to C-compressed ISA extension option being turned on. This fixes SMP operation in QEMU. Sponsored by: DA

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

2018-06-12 Thread Ruslan Bukin
Author: br Date: Tue Jun 12 16:47:33 2018 New Revision: 335005 URL: https://svnweb.freebsd.org/changeset/base/335005 Log: Release secondary cores from WFI (wait for interrupt) by sending them an IPI. This does not work however yet in QEMU. As a temporary workaround set software interrup

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

2018-06-12 Thread Ruslan Bukin
00:00 1970 (empty, because file is newly added) +++ head/sys/riscv/riscv/soc.c Tue Jun 12 17:07:30 2018(r335006) @@ -0,0 +1,111 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Ruslan Bukin + * All rights reserved. + * + * This software was develo

svn commit: r335007 - in head/sys: conf riscv/conf riscv/include riscv/riscv

2018-06-12 Thread Ruslan Bukin
icells; + memcpy(fdt_data->cells, intr, icells * sizeof(pcell_t)); + irq = intr_map_irq(NULL, iparent, (struct intr_map_data *)fdt_data); return (irq); } Added: head/sys/riscv/riscv/plic.c == --- /d

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

2018-06-12 Thread Ruslan Bukin
Author: br Date: Tue Jun 12 17:55:40 2018 New Revision: 335008 URL: https://svnweb.freebsd.org/changeset/base/335008 Log: Include VirtIO devices to the GENERIC configuration file. These are now available in QEMU/RISC-V. Sponsored by: DARPA, AFRL Modified: head/sys/riscv/conf/GENERIC

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

2018-06-13 Thread Ruslan Bukin
Author: br Date: Wed Jun 13 10:32:21 2018 New Revision: 335047 URL: https://svnweb.freebsd.org/changeset/base/335047 Log: Don't jump to VA space until kernel is ready. This fixes the race when first core sets up the pagetables, while secondary cores do translating the address of __riscv_b

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

2018-06-15 Thread Ruslan Bukin
Author: br Date: Fri Jun 15 16:19:10 2018 New Revision: 335211 URL: https://svnweb.freebsd.org/changeset/base/335211 Log: Make virtio queue re-initialization steps to be similar to original initialization, so we don't miss few registers to configure. This fixes vtnet(4) operation with Q

svn commit: r335369 - head/share/mk

2018-06-19 Thread Ruslan Bukin
Author: br Date: Tue Jun 19 13:28:02 2018 New Revision: 335369 URL: https://svnweb.freebsd.org/changeset/base/335369 Log: Don't use TARGET_ARCH in this file, use MACHINE_ARCH instead. TARGET_ARCH is not defined when building ports/packages. Sponsored by: DARPA, AFRL Modified: head/s

svn commit: r335370 - head/contrib/llvm/projects/libunwind/src

2018-06-19 Thread Ruslan Bukin
Author: br Date: Tue Jun 19 14:46:59 2018 New Revision: 335370 URL: https://svnweb.freebsd.org/changeset/base/335370 Log: o Implement unw_getcontext() o Restore floating-point registers in jumpto() These are required to native cross build GCC and GDB (both do require libc++ and libunwin

svn commit: r335475 - head/sys/vm

2018-06-21 Thread Ruslan Bukin
Author: br Date: Thu Jun 21 11:43:54 2018 New Revision: 335475 URL: https://svnweb.freebsd.org/changeset/base/335475 Log: Fix uma_zalloc_pcpu_arg() operation in case of !SMP build. Reviewed by: mjg Sponsored by: DARPA, AFRL Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_c

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

2018-06-21 Thread Ruslan Bukin
Author: br Date: Thu Jun 21 11:52:09 2018 New Revision: 335477 URL: https://svnweb.freebsd.org/changeset/base/335477 Log: PLIC driver was sponsored by ECATS contract, not CTSRD one. Modified: head/sys/riscv/riscv/plic.c Modified: head/sys/riscv/riscv/plic.c ==

svn commit: r328044 - head/lib/libpmcstat

2018-01-16 Thread Ruslan Bukin
Author: br Date: Tue Jan 16 09:31:01 2018 New Revision: 328044 URL: https://svnweb.freebsd.org/changeset/base/328044 Log: Fix bug: increment the value of pmcstat_npmcs instead of moving pointer to the next int position. Bug was introduced in r324959 ("Extract a set of pmcstat functions an

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

2018-01-18 Thread Ruslan Bukin
Author: br Date: Thu Jan 18 16:20:09 2018 New Revision: 328130 URL: https://svnweb.freebsd.org/changeset/base/328130 Log: Set the base address of translation table 0. This fixes operation on Qualcomm Snapdragon and some other platforms. During boot time on subsystems initialization we

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

2018-01-18 Thread Ruslan Bukin
Author: br Date: Thu Jan 18 17:43:32 2018 New Revision: 328132 URL: https://svnweb.freebsd.org/changeset/base/328132 Log: Support for UART device found in Qualcomm Snapdragon 410E SoC. Tested on DragonBoard 410c. Reviewed by: andrew Sponsored by: DARPA, AFRL Differential Revision:

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

2018-01-18 Thread Ruslan Bukin
Author: br Date: Thu Jan 18 18:19:31 2018 New Revision: 328133 URL: https://svnweb.freebsd.org/changeset/base/328133 Log: UART Clock Selection Register holds a divider value for a supplied clock, not a final baud rate. The value for this register has to be calculated. Sponsored by: DARPA,

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

2018-01-25 Thread Ruslan Bukin
/controller/ehci_msm.c Thu Jan 25 16:58:23 2018 (r328402) @@ -0,0 +1,231 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2018 Ruslan Bukin + * All rights reserved. + * + * This software was developed by BAE Systems, the University of Cambridge + * Computer

svn commit: r328403 - head/sys/dev/sdhci

2018-01-25 Thread Ruslan Bukin
Author: br Date: Thu Jan 25 17:00:35 2018 New Revision: 328403 URL: https://svnweb.freebsd.org/changeset/base/328403 Log: Add support for SDHCI controller found in Qualcomm Snapdragon 410e. Tested on DragonBoard 410c. Sponsored by: DARPA, AFRL Modified: head/sys/dev/sdhci/sdhci_fdt.

svn commit: r328404 - in head/sys: arm/mv/armada38x arm/xilinx conf

2018-01-25 Thread Ruslan Bukin
Author: br Date: Thu Jan 25 17:16:29 2018 New Revision: 328404 URL: https://svnweb.freebsd.org/changeset/base/328404 Log: o Move sdhci_fdt to the generic files list. o Include Qualcomm EHCI and UART drivers to the build. Sponsored by: DARPA, AFRL Modified: head/sys/arm/mv/armada38x/fil

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

2018-01-25 Thread Ruslan Bukin
On Thu, Jan 25, 2018 at 06:12:04PM +0100, Emmanuel Vadot wrote: > > Log: > > Add basic driver for Qualcomm USB 2.0 EHCI controller. > > This driver relies on system initialization in u-boot. > > > > Tested on DragonBoard 410c. > > > > Sponsored by: DARPA, AFRL > > > > Added: > >

Re: svn commit: r331347 - in head: etc/mtree include sys/conf sys/dev/tcp_log sys/kern sys/netinet usr.bin/netstat

2018-03-22 Thread Ruslan Bukin
We don't have atomic_fetchadd_64 for mips32 I think Ruslan On Thu, Mar 22, 2018 at 09:40:08AM +, Jonathan T. Looney wrote: > Author: jtl > Date: Thu Mar 22 09:40:08 2018 > New Revision: 331347 > URL: https://svnweb.freebsd.org/changeset/base/331347 > > Log: > Add the "TCP Blackbox Recorder

Re: svn commit: r331347 - in head: etc/mtree include sys/conf sys/dev/tcp_log sys/kern sys/netinet usr.bin/netstat

2018-03-22 Thread Ruslan Bukin
Also can this be pluggable ? It looks like it is optional device which means it can free up some space in embedded environment when unused Ruslan On Thu, Mar 22, 2018 at 02:16:06PM +, Ruslan Bukin wrote: > We don't have atomic_fetchadd_64 for mips32 I think > > Ruslan >

Re: svn commit: r331347 - in head: etc/mtree include sys/conf sys/dev/tcp_log sys/kern sys/netinet usr.bin/netstat

2018-03-22 Thread Ruslan Bukin
On Thu, Mar 22, 2018 at 03:39:23PM +, Jonathan Looney wrote: >A tinderbox build didn't complain about atomic_fetchadd_64, so I assume it >is OK. >Yes, this can be made optional, if there is a need for that. >Jonathan >On Thu, Mar 22, 2018 at 2:22 PM, R

Re: svn commit: r331347 - in head: etc/mtree include sys/conf sys/dev/tcp_log sys/kern sys/netinet usr.bin/netstat

2018-03-22 Thread Ruslan Bukin
On Thu, Mar 22, 2018 at 03:39:23PM +, Jonathan Looney wrote: >Yes, this can be made optional, if there is a need for that. It may be good to have kernel option for that I think. As we target embedded market it is good to have things pluggable. Example: I able to fit freebsd kernel and mi

Re: svn commit: r330894 - in head/sys/contrib/zstd: . contrib/meson doc doc/images lib lib/common lib/compress lib/decompress lib/deprecated lib/dictBuilder lib/legacy programs tests zlibWrapper zlibW

2018-03-23 Thread Ruslan Bukin
On Sat, Mar 17, 2018 at 03:49:15PM -0600, Alan Somers wrote: >On Tue, Mar 13, 2018 at 9:00 PM, Conrad Meyer <[1]c...@freebsd.org> wrote: > > Author: cem > Date: Wed Mar 14 03:00:17 2018 > New Revision: 330894 > URL: [2]https://svnweb.freebsd.org/changeset/base/330894 > >

Re: svn commit: r330894 - in head/sys/contrib/zstd: . contrib/meson doc doc/images lib lib/common lib/compress lib/decompress lib/deprecated lib/dictBuilder lib/legacy programs tests zlibWrapper zlibW

2018-03-23 Thread Ruslan Bukin
On Fri, Mar 23, 2018 at 08:46:36AM +, Ruslan Bukin wrote: > On Sat, Mar 17, 2018 at 03:49:15PM -0600, Alan Somers wrote: > >On Tue, Mar 13, 2018 at 9:00 PM, Conrad Meyer <[1]c...@freebsd.org> > > wrote: > > > > Author: cem > > Date

Re: svn commit: r330894 - in head/sys/contrib/zstd: . contrib/meson doc doc/images lib lib/common lib/compress lib/decompress lib/deprecated lib/dictBuilder lib/legacy programs tests zlibWrapper zlibW

2018-03-23 Thread Ruslan Bukin
On Fri, Mar 23, 2018 at 11:52:27AM +, Ruslan Bukin wrote: > On Fri, Mar 23, 2018 at 08:46:36AM +0000, Ruslan Bukin wrote: > > On Sat, Mar 17, 2018 at 03:49:15PM -0600, Alan Somers wrote: > > >On Tue, Mar 13, 2018 at 9:00 PM, Conrad Meyer <[1]c...@free

svn commit: r332018 - in head/contrib/opencsd: . decoder decoder/include decoder/source

2018-04-04 Thread Ruslan Bukin
Author: br Date: Wed Apr 4 12:55:31 2018 New Revision: 332018 URL: https://svnweb.freebsd.org/changeset/base/332018 Log: Import OpenCSD -- an ARM CoreSight(tm) Trace Decode Library. Sponsored by: DARPA, AFRL Added: head/contrib/opencsd/ head/contrib/opencsd/decoder/ head/contrib/ope

svn commit: r332033 - in head: etc/mtree lib lib/libopencsd share/mk

2018-04-04 Thread Ruslan Bukin
Author: br Date: Wed Apr 4 14:31:56 2018 New Revision: 332033 URL: https://svnweb.freebsd.org/changeset/base/332033 Log: Add new shared library -- libopencsd. OpenCSD is an ARM CoreSight(tm) trace packets decoder. - Connect libopencsd to the arm64 build. - Install opencsd headers to

svn commit: r332077 - in head/sys: arm64/coresight conf

2018-04-05 Thread Ruslan Bukin
/sys/arm64/coresight/coresight-cmd.cThu Apr 5 15:45:54 2018 (r332077) @@ -0,0 +1,156 @@ +/*- + * Copyright (c) 2018 Ruslan Bukin + * All rights reserved. + * + * This software was developed by SRI International and the University of + * Cambridge Computer Laboratory under DARPA/AFRL contrac

svn commit: r332359 - in head/sys: arm64/conf arm64/qualcomm conf

2018-04-10 Thread Ruslan Bukin
Ruslan Bukin + * All rights reserved. + * + * This software was developed by BAE Systems, the University of Cambridge + * Computer Laboratory, and Memorial University under DARPA/AFRL contract + * FA8650-15-C-7558 ("CADETS"), as part of the DARPA Transparent Computing + * (TC) resear

svn commit: r332434 - head/sys/conf

2018-04-12 Thread Ruslan Bukin
Author: br Date: Thu Apr 12 15:12:40 2018 New Revision: 332434 URL: https://svnweb.freebsd.org/changeset/base/332434 Log: Add ld emulation types for hard-float mipses. Sponsored by: DARPA, AFRL Modified: head/sys/conf/kern.mk Modified: head/sys/conf/kern.mk =

svn commit: r332435 - in head/sys: conf dev/xdma mips/ingenic

2018-04-12 Thread Ruslan Bukin
optional xenhvm Modified: head/sys/dev/xdma/xdma.c == --- head/sys/dev/xdma/xdma.cThu Apr 12 15:12:40 2018(r332434) +++ head/sys/dev/xdma/xdma.cThu Apr 12 15:36:24 2018 (r332435) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2016

svn commit: r332441 - in head/sys: conf mips/beri mips/include mips/mips

2018-04-12 Thread Ruslan Bukin
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/mips/beri/beri_mp.cThu Apr 12 17:43:19 2018 (r332441) @@ -0,0 +1,309 @@ +/*- + * Copyright (c) 2017 Ruslan Bukin + * Copyright (c) 2012-2015 Robert N. M. Watson + * Copyright (c) 2013 SRI

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

2018-04-12 Thread Ruslan Bukin
On Thu, Apr 12, 2018 at 09:48:10AM -0700, John Baldwin wrote: > On Thursday, April 12, 2018 03:12:40 PM Ruslan Bukin wrote: > > Author: br > > Date: Thu Apr 12 15:12:40 2018 > > New Revision: 332434 > > URL: https://svnweb.freebsd.org/changeset/base/332434 > >

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

2018-04-12 Thread Ruslan Bukin
On Thu, Apr 12, 2018 at 06:41:37PM +0100, Ruslan Bukin wrote: > On Thu, Apr 12, 2018 at 09:48:10AM -0700, John Baldwin wrote: > > On Thursday, April 12, 2018 03:12:40 PM Ruslan Bukin wrote: > > > Author: br > > > Date: Thu Apr 12 15:12:40 2018 > > > N

svn commit: r332468 - head/sys/dev/xdma

2018-04-13 Thread Ruslan Bukin
Author: br Date: Fri Apr 13 12:41:51 2018 New Revision: 332468 URL: https://svnweb.freebsd.org/changeset/base/332468 Log: Don't include sys/bus_dma.h directly, use machine/bus.h instead. Sponsored by: DARPA, AFRL Modified: head/sys/dev/xdma/xdma_queue.c head/sys/dev/xdma/xdma_sg.c he

svn commit: r332469 - in head/sys: conf dev/xdma/controller

2018-04-13 Thread Ruslan Bukin
2469) @@ -0,0 +1,663 @@ +/*- + * Copyright (c) 2017-2018 Ruslan Bukin + * 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

svn commit: r332470 - in head/sys: conf dev/altera/msgdma

2018-04-13 Thread Ruslan Bukin
Apr 13 13:23:31 2018 (r332470) @@ -0,0 +1,641 @@ +/*- + * Copyright (c) 2016-2018 Ruslan Bukin + * 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 + * ("

svn commit: r332472 - in head/sys: conf dev/altera/atse dev/altera/softdma

2018-04-13 Thread Ruslan Bukin
+ +/* end */ Added: head/sys/dev/altera/softdma/softdma.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/dev/altera/softdma/softdma.c Fri Apr 13 14:18:04 2018 (r332472

svn commit: r332473 - head/sys/dts/mips

2018-04-13 Thread Ruslan Bukin
Author: br Date: Fri Apr 13 15:18:06 2018 New Revision: 332473 URL: https://svnweb.freebsd.org/changeset/base/332473 Log: Add beripic1, msgdma and softdma instances. Sponsored by: DARPA, AFRL Modified: head/sys/dts/mips/beripad-de4.dts Modified: head/sys/dts/mips/beripad-de4.dts ===

svn commit: r332474 - in head/sys: dev/altera/atse dts/mips mips/conf

2018-04-13 Thread Ruslan Bukin
2018 (r332473) +++ head/sys/dev/altera/atse/if_atse.c Fri Apr 13 15:59:24 2018 (r332474) @@ -3,6 +3,7 @@ * * Copyright (c) 2012, 2013 Bjoern A. Zeeb * Copyright (c) 2014 Robert N. M. Watson + * Copyright (c) 2016-2017 Ruslan Bukin * All rights reserved. * * This software

svn commit: r332672 - head/share/mk

2018-04-18 Thread Ruslan Bukin
Author: br Date: Wed Apr 18 13:58:42 2018 New Revision: 332672 URL: https://svnweb.freebsd.org/changeset/base/332672 Log: Set correct float abi (float abi double) for hard-float build, so __riscv_float_abi_double macro will be defined by compiler. The options are: o lp64 __riscv_float_

svn commit: r332885 - in head/sys: conf dev/flash

2018-04-23 Thread Ruslan Bukin
Mon Apr 23 10:35:00 2018(r332885) @@ -0,0 +1,768 @@ +/*- + * Copyright (c) 2017-2018 Ruslan Bukin + * 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 + * ("

svn commit: r332887 - in head/sys: arm/conf dts/arm

2018-04-23 Thread Ruslan Bukin
Author: br Date: Mon Apr 23 12:23:05 2018 New Revision: 332887 URL: https://svnweb.freebsd.org/changeset/base/332887 Log: Enable ARM PL330 DMA engine and Cadence Quad SPI flash controller on Intel Arria 10 SoC boards. Tested on Intel Arria 10 SoC Development Kit. Sponsored by: DARPA,

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

2017-06-17 Thread Ruslan Bukin
Author: br Date: Sat Jun 17 07:36:46 2017 New Revision: 320050 URL: https://svnweb.freebsd.org/changeset/base/320050 Log: Undefine temporary macro. This fixes world build. Sponsored by: DARPA, AFRL Modified: head/sys/riscv/include/atomic.h Modified: head/sys/riscv/include/atomic.h ===

svn commit: r307519 - head/bin/pkill/tests

2016-10-17 Thread Ruslan Bukin
Author: br Date: Mon Oct 17 10:21:53 2016 New Revision: 307519 URL: https://svnweb.freebsd.org/changeset/base/307519 Log: Increase timeout so low-end platforms have a chance to complete test procedures. This fixes operation in QEMU/MIPS64. Sponsored by: DARPA, AFRL Sponsored by: HE

svn commit: r307553 - head/contrib/netbsd-tests/lib/libpthread

2016-10-18 Thread Ruslan Bukin
Author: br Date: Tue Oct 18 10:13:54 2016 New Revision: 307553 URL: https://svnweb.freebsd.org/changeset/base/307553 Log: Skip test on MIPS as it modifies TLS pointer in set_mcontext(). Discussed with: kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/contrib/net

svn commit: r307554 - head/tests/sys/kern

2016-10-18 Thread Ruslan Bukin
Author: br Date: Tue Oct 18 10:20:58 2016 New Revision: 307554 URL: https://svnweb.freebsd.org/changeset/base/307554 Log: Fix comment. We have different VM layout on MIPS, so test is skipped. Requested by: kib Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/tests/sys/ker

svn commit: r307559 - head/usr.sbin/fstyp

2016-10-18 Thread Ruslan Bukin
Author: br Date: Tue Oct 18 12:58:17 2016 New Revision: 307559 URL: https://svnweb.freebsd.org/changeset/base/307559 Log: fstyp tests comes with pre-created EL filesystems, but fstyp cannot detect EL filesystem on EB machine, so exclude test files from distribution and skip the test.

Re: svn commit: r306864 - head

2016-10-18 Thread Ruslan Bukin
On Tue, Oct 18, 2016 at 08:17:55AM +0200, Baptiste Daroussin wrote: > On Mon, Oct 17, 2016 at 06:28:08PM -0700, Ngie Cooper wrote: > > On Sat, Oct 8, 2016 at 11:57 AM, Baptiste Daroussin > > wrote: > > > Author: bapt > > > Date: Sat Oct 8 18:57:11 2016 > > > New Revision: 306864 > > > URL: https

svn commit: r307583 - head/contrib/netbsd-tests/lib/libpthread

2016-10-18 Thread Ruslan Bukin
Author: br Date: Tue Oct 18 22:53:58 2016 New Revision: 307583 URL: https://svnweb.freebsd.org/changeset/base/307583 Log: Skip test on FreeBSD only. So test can be upstreamed to NetBSD. Requested by: ngie Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/contrib/netbsd-tes

Re: svn commit: r307553 - head/contrib/netbsd-tests/lib/libpthread

2016-10-18 Thread Ruslan Bukin
On Tue, Oct 18, 2016 at 03:11:55PM -0700, Ngie Cooper wrote: > (Picking a "random commit") > > On Tue, Oct 18, 2016 at 3:13 AM, Ruslan Bukin wrote: > > Author: br > > Date: Tue Oct 18 10:13:54 2016 > > New Revision: 307553 > > URL: https://svnweb.fr

svn commit: r307625 - head/tests/sys/geom/class/uzip

2016-10-19 Thread Ruslan Bukin
Author: br Date: Wed Oct 19 10:01:04 2016 New Revision: 307625 URL: https://svnweb.freebsd.org/changeset/base/307625 Log: Add big-endian uzip file system and choose right file system to proceed tests with. Reviewed by: jmmv, ngie Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differ

svn commit: r307629 - head/bin/pkill/tests

2016-10-19 Thread Ruslan Bukin
Author: br Date: Wed Oct 19 12:23:02 2016 New Revision: 307629 URL: https://svnweb.freebsd.org/changeset/base/307629 Log: Increase timeouts so tests have more chances to succeed on MIPS64EB in QEMU. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/bin/pkill/tests/pgrep-j_

svn commit: r307677 - head/sys/modules/geom

2016-10-20 Thread Ruslan Bukin
Author: br Date: Thu Oct 20 17:10:26 2016 New Revision: 307677 URL: https://svnweb.freebsd.org/changeset/base/307677 Log: Disable geom_eli module build on MIPS64 as it has alignment issues and causes kernel panic. ELI metadata is also not aligned properly for MIPS64 case. Sponsored by:

svn commit: r307947 - head/tests/sys/geom/class/uzip

2016-10-25 Thread Ruslan Bukin
Author: br Date: Tue Oct 25 18:43:36 2016 New Revision: 307947 URL: https://svnweb.freebsd.org/changeset/base/307947 Log: Change fs image name so it will not be regenerated (we have both big and little-endian images in tree). Also we don't known the endianness of the platform the image was

svn commit: r307964 - head/lib/libproc

2016-10-26 Thread Ruslan Bukin
Author: br Date: Wed Oct 26 14:26:45 2016 New Revision: 307964 URL: https://svnweb.freebsd.org/changeset/base/307964 Log: Use uint32_t instead of u_long as a storage for breakpoint instruction to copy. All the platforms breakpoints fits this fine. This fixes operation on big-endian MIPS64

svn commit: r308130 - in head: . gnu/lib/libgcc gnu/usr.bin/binutils gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/libbfd gnu/usr.bin/cc gnu/usr.bin/gdb gnu/usr.bin/gdb/libgdb lib/libc lib/libc/mips...

2016-10-31 Thread Ruslan Bukin
Author: br Date: Mon Oct 31 15:33:58 2016 New Revision: 308130 URL: https://svnweb.freebsd.org/changeset/base/308130 Log: Add full softfloat and hardfloat support for MIPS. This adds new target architectures for hardfloat: mipselhf mipshf mips64elhf mips64hf. Tested in QEMU only.

svn commit: r308132 - head/sys/mips/mips

2016-10-31 Thread Ruslan Bukin
Author: br Date: Mon Oct 31 15:49:41 2016 New Revision: 308132 URL: https://svnweb.freebsd.org/changeset/base/308132 Log: Use correct signal number for floating point exceptions. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/sys/mips/mips/trap.c Modified: head/sys/mips/

svn commit: r308137 - in head: sbin/geom/class/eli sys/geom/eli sys/modules/geom

2016-10-31 Thread Ruslan Bukin
Author: br Date: Mon Oct 31 16:55:14 2016 New Revision: 308137 URL: https://svnweb.freebsd.org/changeset/base/308137 Log: Fix alignment issues on MIPS: align the pointers properly. All the 5520 GEOM_ELI tests passed successfully on MIPS64EB. Sponsored by: DARPA, AFRL Sponsored by: HE

svn commit: r308145 - in head: contrib/netbsd-tests/lib/libc/stdio include lib/libc/stdio

2016-10-31 Thread Ruslan Bukin
Author: br Date: Mon Oct 31 18:38:58 2016 New Revision: 308145 URL: https://svnweb.freebsd.org/changeset/base/308145 Log: Detect integer overflow and limit the number of positional arguments in the string format. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision:

svn commit: r308170 - head/lib/libc/locale

2016-11-01 Thread Ruslan Bukin
e, c return (1); return (e > 0 ? e : 0); } - if (table->info->chain_count > 0) { + if (BSWAP(table->info->chain_count) > 0) { wchar_t name[COLLATE_STR_LEN]; collate_chain_t *match_chain; int clen; Added

svn commit: r308251 - in head: lib/libcompiler_rt lib/msun/riscv share/man/man7 share/mk sys/modules/dtrace/dtrace sys/riscv/include

2016-11-03 Thread Ruslan Bukin
Author: br Date: Thu Nov 3 13:06:17 2016 New Revision: 308251 URL: https://svnweb.freebsd.org/changeset/base/308251 Log: o Add support for long double. o Add support for latest RISC-V GNU toolchain. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/lib/libcompiler_rt/Make

Re: svn commit: r308130 - in head: . gnu/lib/libgcc gnu/usr.bin/binutils gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/libbfd gnu/usr.bin/cc gnu/usr.bin/gdb gnu/usr.bin/gdb/libgdb lib/libc lib/libc/mip

2016-11-03 Thread Ruslan Bukin
On Thu, Nov 03, 2016 at 12:39:48PM -0700, Bryan Drewery wrote: > On 10/31/16 8:33 AM, Ruslan Bukin wrote: > > Modified: head/share/mk/bsd.cpu.mk > > == > > --- head/share/mk/bsd.cpu.mkMon

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

2016-11-04 Thread Ruslan Bukin
Author: br Date: Fri Nov 4 13:07:54 2016 New Revision: 308289 URL: https://svnweb.freebsd.org/changeset/base/308289 Log: System Binary Interface (SBI) page was moved in latest version of Berkeley Boot Loader (BBL) due to code size increase. We will need to dehardcode this somehow. S

svn commit: r308483 - head/contrib/llvm/projects/libunwind/src

2016-11-10 Thread Ruslan Bukin
Author: br Date: Thu Nov 10 12:54:33 2016 New Revision: 308483 URL: https://svnweb.freebsd.org/changeset/base/308483 Log: Implement riscv jumpto() so world can be compiled. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/contrib/llvm/projects/libunwind/src/UnwindRegistersR

Re: svn commit: r308130 - in head: . gnu/lib/libgcc gnu/usr.bin/binutils gnu/usr.bin/binutils/ld gnu/usr.bin/binutils/libbfd gnu/usr.bin/cc gnu/usr.bin/gdb gnu/usr.bin/gdb/libgdb lib/libc lib/libc/mip

2016-11-10 Thread Ruslan Bukin
his fails to boot on actual mips24k hardware, no hardfloat: > > > > COP1_UNUSABLE: pid 1 tid 11 (init), uid 0: pc 0x404237c0 ra 0x404224d4 > > Trapframe Register Dump: > > zero: 0at: 0xffe0v0: 0x404471b8v1: > > 0x > > &

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

2016-11-14 Thread Ruslan Bukin
Author: br Date: Mon Nov 14 18:30:03 2016 New Revision: 308644 URL: https://svnweb.freebsd.org/changeset/base/308644 Log: Check if L2 entry exists for the given VA before loading L3 entry. This is a fix for a panic that was easy to reproduce executing "(/bin/ls &)" in the shell. Spon

Re: svn commit: r308691 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2016-11-16 Thread Ruslan Bukin
I have a panic with this on RISC-V. Any ideas ? r vv rr rrr

Re: svn commit: r308691 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2016-11-16 Thread Ruslan Bukin
/) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> Ruslan On Wed, Nov 16, 2016 at 01:37:18PM +0000, Ruslan Bukin wrote: > I have a panic with this on RISC-V. Any

Re: svn commit: r308691 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2016-11-16 Thread Ruslan Bukin
dumb terminal settings. # uname -a FreeBSD 12.0-CURRENT FreeBSD 12.0-CURRENT #8 8e49d4e(br-riscv-isa-update)-dirty: Wed Nov 16 14:08:14 UTC 2016 rb...@vica.cl.cam.ac.uk:/home/rb743/obj/riscv.riscv64/home/rb743/dev/freebsd-riscv/sys/SPIKE riscv # Ruslan On Wed, Nov 16, 2016 at 02:02:27PM +0

svn commit: r308731 - in head: . gnu/usr.bin/cc lib/libc lib/libc/riscv lib/libc/riscv/gen lib/libc/riscv/softfloat lib/libc/softfloat lib/libcompiler_rt lib/msun/riscv share/mk sys/conf sys/module...

2016-11-16 Thread Ruslan Bukin
--- head/lib/libc/riscv/gen/_setjmp.S Wed Nov 16 14:39:03 2016 (r308730) +++ head/lib/libc/riscv/gen/_setjmp.S Wed Nov 16 15:21:32 2016 (r308731) @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2015 Ruslan Bukin

Re: svn commit: r308691 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2016-11-16 Thread Ruslan Bukin
On Wed, Nov 16, 2016 at 06:53:43PM +0200, Konstantin Belousov wrote: > On Wed, Nov 16, 2016 at 01:37:18PM +0000, Ruslan Bukin wrote: > > I have a panic with this on RISC-V. Any ideas ? > How did you checked that the revision you replied to, makes the problem ? > Note that the bac

Re: svn commit: r308691 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2016-11-16 Thread Ruslan Bukin
On Wed, Nov 16, 2016 at 04:59:39PM +, Ruslan Bukin wrote: > On Wed, Nov 16, 2016 at 06:53:43PM +0200, Konstantin Belousov wrote: > > On Wed, Nov 16, 2016 at 01:37:18PM +0000, Ruslan Bukin wrote: > > > I have a panic with this on RISC-V. Any ideas ? > > How did you check

Re: svn commit: r308691 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2016-11-16 Thread Ruslan Bukin
On Wed, Nov 16, 2016 at 11:53:55AM -0600, Alan Cox wrote: > On 11/16/2016 10:59, Ruslan Bukin wrote: > > On Wed, Nov 16, 2016 at 06:53:43PM +0200, Konstantin Belousov wrote: > >> On Wed, Nov 16, 2016 at 01:37:18PM +, Ruslan Bukin wrote: > >>> I have a panic

svn commit: r308746 - in head/sys/gnu/dts: include/dt-bindings/dma include/dt-bindings/net mips/ingenic

2016-11-17 Thread Ruslan Bukin
Author: br Date: Thu Nov 17 11:31:13 2016 New Revision: 308746 URL: https://svnweb.freebsd.org/changeset/base/308746 Log: Import Ingenic CI20 (jz4780) DTS files. Submitted by: kan Sponsored by: DARPA, AFRL Added: head/sys/gnu/dts/include/dt-bindings/dma/jz4780-dma.h (contents, props

svn commit: r308747 - in head/sys: conf dev/dme

2016-11-17 Thread Ruslan Bukin
Author: br Date: Thu Nov 17 11:48:07 2016 New Revision: 308747 URL: https://svnweb.freebsd.org/changeset/base/308747 Log: Add driver for DM9000 Ethernet MAC Controller. This device found in the Ingenic jz4780 SoC. Submitted by: kan Sponsored by: DARPA, AFRL Added: head/sys/dev/dme

svn commit: r308750 - in head/sys/dev: ic uart

2016-11-17 Thread Ruslan Bukin
Author: br Date: Thu Nov 17 14:41:22 2016 New Revision: 308750 URL: https://svnweb.freebsd.org/changeset/base/308750 Log: Add support for UART found in the Ingenic XBurst system on chips. These CPUs has non-standard UART enable bit hidden in the UART FIFO Control Register. Sponsored

svn commit: r308751 - head/sys/dev/dme

2016-11-17 Thread Ruslan Bukin
Author: br Date: Thu Nov 17 14:43:13 2016 New Revision: 308751 URL: https://svnweb.freebsd.org/changeset/base/308751 Log: Remove outdated comment. Pointed out by: andrew (original author) Sponsored by: DARPA, AFRL Modified: head/sys/dev/dme/if_dme.c Modified: head/sys/dev/dme/if

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

2016-11-17 Thread Ruslan Bukin
Author: br Date: Thu Nov 17 15:08:30 2016 New Revision: 308752 URL: https://svnweb.freebsd.org/changeset/base/308752 Log: Allow operation with UTMI+ phy. Submitted by: kan Sponsored by: DARPA, AFRL Modified: head/sys/dev/usb/controller/dwc_otg.c head/sys/dev/usb/controller/dwc_otg.h

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

2016-11-17 Thread Ruslan Bukin
Author: br Date: Thu Nov 17 15:12:03 2016 New Revision: 308755 URL: https://svnweb.freebsd.org/changeset/base/308755 Log: Declare dwc_otg_detach as non-static (same as dwc_otg_attach), so it can be called from fdt-glue drivers. Submitted by: kan Sponsored by: DARPA, AFRL Modified: he

svn commit: r308767 - head/sys/dev/gpio

2016-11-17 Thread Ruslan Bukin
Author: br Date: Thu Nov 17 15:37:44 2016 New Revision: 308767 URL: https://svnweb.freebsd.org/changeset/base/308767 Log: Make gpiobus early driver at BUS_PAS_BUS. The gpiobus driver is attached explicitly and generally should be at the same pass as its parent. Making it use BUS_PAS_BUS e

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

2016-11-17 Thread Ruslan Bukin
Author: br Date: Thu Nov 17 16:06:53 2016 New Revision: 308768 URL: https://svnweb.freebsd.org/changeset/base/308768 Log: Do not reallocate driver softc for uart unnecessarily. Do not assume that all uart drivers use uart_softc structure as is. Some do a sensible thing and do declare thei

svn commit: r308769 - head/sys/kern

2016-11-17 Thread Ruslan Bukin
Author: br Date: Thu Nov 17 16:13:30 2016 New Revision: 308769 URL: https://svnweb.freebsd.org/changeset/base/308769 Log: Fix build when no INET and INET6 in kernel config. Submitted by: kan Sponsored by: DARPA, AFRL Modified: head/sys/kern/vfs_export.c Modified: head/sys/kern/vfs_exp

Re: svn commit: r308691 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2016-11-18 Thread Ruslan Bukin
On Thu, Nov 17, 2016 at 10:51:40AM -0600, Alan Cox wrote: > On 11/16/2016 11:52, Ruslan Bukin wrote: > > On Wed, Nov 16, 2016 at 04:59:39PM +0000, Ruslan Bukin wrote: > >> On Wed, Nov 16, 2016 at 06:53:43PM +0200, Konstantin Belousov wrote: > >>> On Wed, Nov 16, 20

Re: svn commit: r308691 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2016-11-18 Thread Ruslan Bukin
On Fri, Nov 18, 2016 at 12:37:28PM +0200, Konstantin Belousov wrote: > On Fri, Nov 18, 2016 at 10:22:35AM +0000, Ruslan Bukin wrote: > > On Thu, Nov 17, 2016 at 10:51:40AM -0600, Alan Cox wrote: > > > On 11/16/2016 11:52, Ruslan Bukin wrote: > > > > On Wed, Nov 16, 20

svn commit: r308834 - head/sys/gnu/dts/mips/ingenic

2016-11-19 Thread Ruslan Bukin
Author: br Date: Sat Nov 19 15:03:49 2016 New Revision: 308834 URL: https://svnweb.freebsd.org/changeset/base/308834 Log: Add Ingenic X1000 DTS files (unofficial). This is based on JZ4780 due to missing original X1000 parts. Sponsored by: DARPA, AFRL Added: head/sys/gnu/dts/mips/ing

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

2016-11-19 Thread Ruslan Bukin
Author: br Date: Sat Nov 19 15:10:10 2016 New Revision: 308835 URL: https://svnweb.freebsd.org/changeset/base/308835 Log: Identify Ingenic CPUs. Submitted by: kan Sponsored by: DARPA, AFRL Modified: head/sys/mips/include/locore.h head/sys/mips/mips/cpu.c Modified: head/sys/mips/incl

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

2016-11-19 Thread Ruslan Bukin
Author: br Date: Sat Nov 19 15:38:13 2016 New Revision: 308839 URL: https://svnweb.freebsd.org/changeset/base/308839 Log: Add Ingenic XBurst coprocessor 0 extra bits. Submitted by: kan Sponsored by: DARPA, AFRL Modified: head/sys/mips/include/cpufunc.h head/sys/mips/include/cpuregs.h

svn commit: r308841 - head/sys/dev/ic

2016-11-19 Thread Ruslan Bukin
Author: br Date: Sat Nov 19 16:00:05 2016 New Revision: 308841 URL: https://svnweb.freebsd.org/changeset/base/308841 Log: Add receiver timeout interrupt enable bit implemented in some system on chips. Submitted by: kan Sponsored by: DARPA, AFRL Modified: head/sys/dev/ic/ns16550.h Mo

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

2016-11-19 Thread Ruslan Bukin
Author: br Date: Sat Nov 19 16:36:38 2016 New Revision: 308845 URL: https://svnweb.freebsd.org/changeset/base/308845 Log: Account for bigger secondary data cache line size. Secondary data cache line size can be bigger than primary data cache line size, so use biggest value as a minimum

svn commit: r308846 - in head/sys: conf mips/atheros/ar531x mips/broadcom mips/mediatek

2016-11-19 Thread Ruslan Bukin
Author: br Date: Sat Nov 19 17:01:06 2016 New Revision: 308846 URL: https://svnweb.freebsd.org/changeset/base/308846 Log: Move intrng includes to the main MIPS includes file. Sponsored by: DARPA, AFRL Modified: head/sys/conf/files.mips head/sys/mips/atheros/ar531x/files.ar5315 head/s

svn commit: r308847 - head/sys/conf

2016-11-19 Thread Ruslan Bukin
Author: br Date: Sat Nov 19 17:12:24 2016 New Revision: 308847 URL: https://svnweb.freebsd.org/changeset/base/308847 Log: Add XBurst CPU option. Submitted by: kan Sponsored by: DARPA, AFRL Modified: head/sys/conf/options.mips Modified: head/sys/conf/options.mips ==

svn commit: r308857 - in head: bin/dd sys/mips/conf sys/mips/ingenic

2016-11-19 Thread Ruslan Bukin
by: Ruslan Bukin Sponsored by: DARPA, AFRL Added: head/sys/mips/conf/CANNA (contents, props changed) head/sys/mips/conf/CI20 (contents, props changed) head/sys/mips/conf/JZ4780 (contents, props changed) head/sys/mips/conf/JZ4780.hints (contents, props changed) head/sys/mips

svn commit: r308858 - head/bin/dd

2016-11-19 Thread Ruslan Bukin
Author: br Date: Sat Nov 19 17:51:02 2016 New Revision: 308858 URL: https://svnweb.freebsd.org/changeset/base/308858 Log: Restore dd changes included accidentally in r308857. Modified: head/bin/dd/dd.c Modified: head/bin/dd/dd.c ===

Re: svn commit: r308857 - in head: bin/dd sys/mips/conf sys/mips/ingenic

2016-11-19 Thread Ruslan Bukin
On Sat, Nov 19, 2016 at 05:46:19PM +, Ruslan Bukin wrote: > Author: br > Date: Sat Nov 19 17:46:18 2016 > New Revision: 308857 > URL: https://svnweb.freebsd.org/changeset/base/308857 > > Log: > Bring in support for Ingenic XBurst JZ4780 and > X1000 systems on chi

svn commit: r308859 - in head/sys/mips: conf mips

2016-11-19 Thread Ruslan Bukin
Author: br Date: Sat Nov 19 18:03:46 2016 New Revision: 308859 URL: https://svnweb.freebsd.org/changeset/base/308859 Log: Enable SMP on Ingenic JZ4780. It is required to proceed full cache flush before we can use wait instruction on multicore, so use nop instead for now. Submitted by

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

2016-11-21 Thread Ruslan Bukin
Author: br Date: Mon Nov 21 12:00:31 2016 New Revision: 308923 URL: https://svnweb.freebsd.org/changeset/base/308923 Log: Disable superpages reservations as we don't have implemented them yet. Requested by: Alan Cox Sponsored by: DARPA, AFRL Modified: head/sys/riscv/include/vmparam.h

  1   2   3   4   5   6   7   >