svn commit: r298502 - head/sys/geom/uzip

2016-04-22 Thread Maxim Sobolev
Author: sobomax Date: Sat Apr 23 06:31:46 2016 New Revision: 298502 URL: https://svnweb.freebsd.org/changeset/base/298502 Log: o Fix handling of images with compression block sizes comparable to MAXPHYS. o Improve debug somewhat; o Convert "BUG BUG BUG message" into a proper KASSER

svn commit: r298501 - head/sys/mips/mediatek

2016-04-22 Thread Stanislav Galabov
Author: sgalabov Date: Sat Apr 23 04:27:01 2016 New Revision: 298501 URL: https://svnweb.freebsd.org/changeset/base/298501 Log: Remove uart_dev_mtk_ns8250 The purpose of this file was to simply detect the UART speed before attaching the actual ns8250 driver so that we don't have to specif

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

2016-04-22 Thread Stanislav Galabov
Author: sgalabov Date: Sat Apr 23 04:24:30 2016 New Revision: 298500 URL: https://svnweb.freebsd.org/changeset/base/298500 Log: Reduce the FreeBSD specific DTS files for Mediatek/Ralink The introduction of palmbus and previous work allows us to cut the differences between FreeBSD and Open

svn commit: r298499 - head/sys/mips/mediatek

2016-04-22 Thread Stanislav Galabov
Author: sgalabov Date: Sat Apr 23 04:22:38 2016 New Revision: 298499 URL: https://svnweb.freebsd.org/changeset/base/298499 Log: Use cpu_establish_hardintr in mtk_intr_gic This allows us to come closer to OpenWRT vanilla DTS files. Approved by: adrian (mentor) Sponsored by: Smartcom

svn commit: r298498 - head/sys/mips/mediatek

2016-04-22 Thread Stanislav Galabov
Author: sgalabov Date: Sat Apr 23 04:21:18 2016 New Revision: 298498 URL: https://svnweb.freebsd.org/changeset/base/298498 Log: Introduce palmbus for Mediatek/Ralink SoCs This allows us to get closer to OpenWRT DTS files and minimize the diffs a little more. Approved by: adrian (men

svn commit: r298497 - head/sys/mips/mediatek

2016-04-22 Thread Stanislav Galabov
Author: sgalabov Date: Sat Apr 23 04:19:42 2016 New Revision: 298497 URL: https://svnweb.freebsd.org/changeset/base/298497 Log: Minor pinctrl fixes for Mediatek/Ralink Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision:https://reviews.freebs

svn commit: r298495 - in head/sys/fs: nfs nfsserver

2016-04-22 Thread Rick Macklem
Author: rmacklem Date: Sat Apr 23 01:22:04 2016 New Revision: 298495 URL: https://svnweb.freebsd.org/changeset/base/298495 Log: Fix a LOR in the NFSv4.1 server. The ordering of acquisition of the state and session mutexes was reversed in two cases executed when an NFSv4.1 client created/f

svn commit: r298496 - head/sys/dev/bxe

2016-04-22 Thread David C Somayajulu
Author: davidcs Date: Sat Apr 23 01:22:12 2016 New Revision: 298496 URL: https://svnweb.freebsd.org/changeset/base/298496 Log: Remove Unused/Dead Code MFC after:5 days Modified: head/sys/dev/bxe/bxe.c Modified: head/sys/dev/bxe/bxe.c =

Re: svn commit: r297836 - head/lib/msun/tests

2016-04-22 Thread Ngie Cooper
On Mon, Apr 11, 2016 at 8:30 PM, Bryan Drewery wrote: > On 4/11/2016 2:15 PM, Garrett Cooper wrote: >> Author: ngie >> Date: Mon Apr 11 21:15:48 2016 >> New Revision: 297836 >> URL: https://svnweb.freebsd.org/changeset/base/297836 >> >> Log: >> Fix appending -O0 to CFLAGS > > This seems to be a

Re: svn commit: r298491 - stable/10/lib/msun/tests

2016-04-22 Thread Ngie Cooper
On Fri, Apr 22, 2016 at 2:49 PM, John Baldwin wrote: > On Friday, April 22, 2016 09:32:01 PM Garrett Cooper wrote: >> Author: ngie >> Date: Fri Apr 22 21:32:01 2016 >> New Revision: 298491 >> URL: https://svnweb.freebsd.org/changeset/base/298491 >> >> Log: >> MFC r297836: >> >> Fix appending -

Re: svn commit: r298491 - stable/10/lib/msun/tests

2016-04-22 Thread John Baldwin
On Friday, April 22, 2016 09:32:01 PM Garrett Cooper wrote: > Author: ngie > Date: Fri Apr 22 21:32:01 2016 > New Revision: 298491 > URL: https://svnweb.freebsd.org/changeset/base/298491 > > Log: > MFC r297836: > > Fix appending -O0 to CFLAGS > > The previous method would completely ne

Re: svn commit: r298477 - in head/sys: conf riscv/riscv

2016-04-22 Thread Ruslan Bukin
On Fri, Apr 22, 2016 at 11:31:37PM +0200, Marko Zec wrote: > On Fri, 22 Apr 2016 16:15:59 + > Ruslan Bukin wrote: > > > Author: br > > Date: Fri Apr 22 16:15:58 2016 > > New Revision: 298477 > > URL: https://svnweb.freebsd.org/changeset/base/298477 > > > > Log: > > Clear the DDR memory. Th

svn commit: r298494 - stable/10/usr.sbin/kldxref

2016-04-22 Thread Ed Maste
Author: emaste Date: Fri Apr 22 21:43:44 2016 New Revision: 298494 URL: https://svnweb.freebsd.org/changeset/base/298494 Log: MFC r288490: Add debug file extension to kldxref(8) After r288176 [in head] kernel debug files have the extension .debug. They also moved [in head] to /usr/lib

Re: svn commit: r298477 - in head/sys: conf riscv/riscv

2016-04-22 Thread Ian Lepore
On Fri, 2016-04-22 at 23:31 +0200, Marko Zec wrote: > On Fri, 22 Apr 2016 16:15:59 + > Ruslan Bukin wrote: > > > Author: br > > Date: Fri Apr 22 16:15:58 2016 > > New Revision: 298477 > > URL: https://svnweb.freebsd.org/changeset/base/298477 > > > > Log: > > Clear the DDR memory. This shou

svn commit: r298493 - in stable/10: sys/boot/common sys/sys usr.sbin/kldxref

2016-04-22 Thread Ed Maste
Author: emaste Date: Fri Apr 22 21:38:37 2016 New Revision: 298493 URL: https://svnweb.freebsd.org/changeset/base/298493 Log: MFC r277205 (imp): Reserve and ignore the a new module metadata type MDT_PNP_INFO for associating an optional PNP hint table with this module. In the futur

svn commit: r298492 - stable/10/usr.sbin/kldxref

2016-04-22 Thread Ed Maste
Author: emaste Date: Fri Apr 22 21:33:11 2016 New Revision: 298492 URL: https://svnweb.freebsd.org/changeset/base/298492 Log: MFC r275940 (imp): Bump the largest record we can cope with from 1k to 8k. Other users of the hints file don't have any real limits, and longer records will need t

svn commit: r298491 - stable/10/lib/msun/tests

2016-04-22 Thread Garrett Cooper
Author: ngie Date: Fri Apr 22 21:32:01 2016 New Revision: 298491 URL: https://svnweb.freebsd.org/changeset/base/298491 Log: MFC r297836: Fix appending -O0 to CFLAGS The previous method would completely nerf CFLAGS once bsd.progs.mk had recursed into the per-PROG logic and make the CF

Re: svn commit: r298477 - in head/sys: conf riscv/riscv

2016-04-22 Thread Marko Zec
On Fri, 22 Apr 2016 16:15:59 + Ruslan Bukin wrote: > Author: br > Date: Fri Apr 22 16:15:58 2016 > New Revision: 298477 > URL: https://svnweb.freebsd.org/changeset/base/298477 > > Log: > Clear the DDR memory. This should be done by bootloaders, > but they have no such feature yet. > >

svn commit: r298490 - stable/10/tests/sys/file

2016-04-22 Thread Garrett Cooper
Author: ngie Date: Fri Apr 22 21:30:42 2016 New Revision: 298490 URL: https://svnweb.freebsd.org/changeset/base/298490 Log: MFC r298024,r298196: r298024: Set test_argv to NULL, not 0, if not executing a specific test r298196: Minor cosmetic cleanup - Remove spurious trai

svn commit: r298489 - stable/9/lib/libc/gen

2016-04-22 Thread Garrett Cooper
Author: ngie Date: Fri Apr 22 21:28:50 2016 New Revision: 298489 URL: https://svnweb.freebsd.org/changeset/base/298489 Log: MFstable/10 r298488: MFC r298303: Remove trailing whitespace and use `nitems(mib)` instead of `2` when calling sysctl(3) Modified: stable/9/lib/libc/gen/getp

svn commit: r298488 - stable/10/lib/libc/gen

2016-04-22 Thread Garrett Cooper
Author: ngie Date: Fri Apr 22 21:26:15 2016 New Revision: 298488 URL: https://svnweb.freebsd.org/changeset/base/298488 Log: MFC r298303: Remove trailing whitespace and use `nitems(mib)` instead of `2` when calling sysctl(3) Modified: stable/10/lib/libc/gen/getpagesize.c Directory Prope

svn commit: r298487 - head/share/mk

2016-04-22 Thread Bryan Drewery
Author: bdrewery Date: Fri Apr 22 20:31:29 2016 New Revision: 298487 URL: https://svnweb.freebsd.org/changeset/base/298487 Log: Fix error when SRCCONF is empty. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/src.sys.mk Modified: head/share/mk/src.sys.mk

svn commit: r298486 - in head/sys: ofed/drivers/infiniband/core ofed/drivers/infiniband/hw/mlx4 ofed/include/rdma sys

2016-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 22 18:16:12 2016 New Revision: 298486 URL: https://svnweb.freebsd.org/changeset/base/298486 Log: More fixes for using IPv6 addresses with RDMA: - Added check that the SCOPE ID is only restored for IPv6 linklocal addresses. - Changes made by r237263 in

svn commit: r298485 - head/lib/libkvm

2016-04-22 Thread Garrett Cooper
Author: ngie Date: Fri Apr 22 18:05:34 2016 New Revision: 298485 URL: https://svnweb.freebsd.org/changeset/base/298485 Log: Fix up pointer issues with lib/libkvm In particular, - avoid dereferencing NULL pointers - test pointers against NULL, not 0 - test for errout == NULL in the top

svn commit: r298484 - head/sys/dev/acpica

2016-04-22 Thread John Baldwin
Author: jhb Date: Fri Apr 22 17:51:19 2016 New Revision: 298484 URL: https://svnweb.freebsd.org/changeset/base/298484 Log: Optionally return the output capabilities list from _OSC. Both of the callers were expecting the input cap_set to be modified. This fixes them to request cap_set to b

Re: svn commit: r298426 - head/sys/dev/fdc

2016-04-22 Thread Warner Losh
> On Apr 22, 2016, at 10:43 AM, John Baldwin wrote: > > On Thursday, April 21, 2016 08:44:15 PM Hans Petter Selasky wrote: >> On 04/21/16 20:37, John Baldwin wrote: >>> - tsleep(fdc, PRIBIO, "fdcrst", hz); >>> + if (cold) >>> + DELAY(100); >>> +

svn commit: r298483 - in head: etc/mtree usr.sbin/extattr usr.sbin/extattr/tests

2016-04-22 Thread Alan Somers
Author: asomers Date: Fri Apr 22 17:02:47 2016 New Revision: 298483 URL: https://svnweb.freebsd.org/changeset/base/298483 Log: Add ATF tests for usr.sbin/extattr Add ATF tests for the existing behavior of setextattr, rmextattr, lsextattr, and getextattr. Reviewed by: ngie MFC afte

Re: svn commit: r298426 - head/sys/dev/fdc

2016-04-22 Thread John Baldwin
On Thursday, April 21, 2016 08:44:15 PM Hans Petter Selasky wrote: > On 04/21/16 20:37, John Baldwin wrote: > > - tsleep(fdc, PRIBIO, "fdcrst", hz); > > + if (cold) > > + DELAY(100); > > + else > > + tsleep(fdc, PRIBIO, "fdcrst",

svn commit: r298482 - in head/sys: amd64/amd64 amd64/linux amd64/linux32 compat/linux dev/cxgbe/tom i386/linux vm

2016-04-22 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 22 16:57:42 2016 New Revision: 298482 URL: https://svnweb.freebsd.org/changeset/base/298482 Log: Cleanup redundant parenthesis from existing howmany()/roundup() macro uses. Modified: head/sys/amd64/amd64/pmap.c head/sys/amd64/linux/linux_sysvec.c head/sys/amd64/l

svn commit: r298481 - head/sys/dev/bhnd/bhndb

2016-04-22 Thread Adrian Chadd
Author: adrian Date: Fri Apr 22 16:28:41 2016 New Revision: 298481 URL: https://svnweb.freebsd.org/changeset/base/298481 Log: [bhnd] use correct bus deallocation method Submitted by: Mizhka Zhilin Differential Revision:https://reviews.freebsd.org/D5647 Modified: head/sys/dev/b

svn commit: r298480 - head/sys/dev/bhnd/bhndb

2016-04-22 Thread Adrian Chadd
Author: adrian Date: Fri Apr 22 16:27:35 2016 New Revision: 298480 URL: https://svnweb.freebsd.org/changeset/base/298480 Log: [bhnd] Update bhndb format strings to match long -> rman_res_t size change. Does what it says on the tin; this unbreaks 32-bit builds. Submitted by: Landon Full

svn commit: r298479 - in head/sys: dev/bhnd/bhndb dev/bhnd/cores/chipc dev/bhnd/cores/pci dev/bhnd/siba modules/bhnd/cores/bhnd_pci

2016-04-22 Thread Adrian Chadd
Author: adrian Date: Fri Apr 22 16:26:53 2016 New Revision: 298479 URL: https://svnweb.freebsd.org/changeset/base/298479 Log: [bhnd] Add a common bhnd_pci driver shared by both bhnd_pcib and bhnd_pci_hostb This extracts common code from bhndb_pci, bhnd_pcib, and bhnd_pci_hostb into a sim

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

2016-04-22 Thread Ruslan Bukin
Author: br Date: Fri Apr 22 16:15:58 2016 New Revision: 298477 URL: https://svnweb.freebsd.org/changeset/base/298477 Log: Clear the DDR memory. This should be done by bootloaders, but they have no such feature yet. This fixes operation on Rocket Core and lowRISC. Modified: head/sys/con

svn commit: r298478 - head/sys/boot/pc98/libpc98

2016-04-22 Thread Allan Jude
Author: allanjude Date: Fri Apr 22 16:20:58 2016 New Revision: 298478 URL: https://svnweb.freebsd.org/changeset/base/298478 Log: Fix more pc98 build issues re: bcache change Reported by: bz, emaste Modified: head/sys/boot/pc98/libpc98/biosdisk.c Modified: head/sys/boot/pc98/libpc98/bio

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

2016-04-22 Thread Ruslan Bukin
Author: br Date: Fri Apr 22 15:12:05 2016 New Revision: 298476 URL: https://svnweb.freebsd.org/changeset/base/298476 Log: Add memory barriers (fence instructions) so the data wrotten by hardware to physical address now can be read by VA. This fixes operation on Rocket Core (FPGA). Sp

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

2016-04-22 Thread Ruslan Bukin
Author: br Date: Fri Apr 22 15:04:46 2016 New Revision: 298474 URL: https://svnweb.freebsd.org/changeset/base/298474 Log: Correct the event queue initialization. This fixes operation on Rocket Core. Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Modified: head/sys/riscv/riscv/locore.S

svn commit: r298473 - head/sys/cddl/dev/dtrace/x86

2016-04-22 Thread Andriy Gapon
Author: avg Date: Fri Apr 22 13:44:12 2016 New Revision: 298473 URL: https://svnweb.freebsd.org/changeset/base/298473 Log: lahf/sahf are supported on some amd64 processors While the instructions were not included into the original instruction set, their support can be indicated by a speci

svn commit: r298472 - in head: cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common sys/cddl/contrib/opensolaris/uts/common/sys/fs

2016-04-22 Thread Andriy Gapon
Author: avg Date: Fri Apr 22 13:00:27 2016 New Revision: 298472 URL: https://svnweb.freebsd.org/changeset/base/298472 Log: MFV r298471: 6052 decouple lzc_create() from the implementation details illumos/illumos-gate@26455f9efcf9b1e44937d4d86d1ce37b006f25a9 https://github.com/illumos/illu

svn commit: r298471 - vendor-sys/illumos/dist/uts/common/sys/fs vendor/illumos/dist/lib/libzfs/common vendor/illumos/dist/lib/libzfs_core/common

2016-04-22 Thread Andriy Gapon
Author: avg Date: Fri Apr 22 12:51:55 2016 New Revision: 298471 URL: https://svnweb.freebsd.org/changeset/base/298471 Log: 6052 decouple lzc_create() from the implementation details illumos/illumos-gate@26455f9efcf9b1e44937d4d86d1ce37b006f25a9 https://github.com/illumos/illumos-gate/comm

svn commit: r298471 - vendor-sys/illumos/dist/uts/common/sys/fs vendor/illumos/dist/lib/libzfs/common vendor/illumos/dist/lib/libzfs_core/common

2016-04-22 Thread Andriy Gapon
Author: avg Date: Fri Apr 22 12:51:55 2016 New Revision: 298471 URL: https://svnweb.freebsd.org/changeset/base/298471 Log: 6052 decouple lzc_create() from the implementation details illumos/illumos-gate@26455f9efcf9b1e44937d4d86d1ce37b006f25a9 https://github.com/illumos/illumos-gate/comm

svn commit: r298470 - stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-04-22 Thread Andriy Gapon
Author: avg Date: Fri Apr 22 12:49:00 2016 New Revision: 298470 URL: https://svnweb.freebsd.org/changeset/base/298470 Log: MFC r297709: zio write issue threads should have lower (numerically greater) priority Modified: stable/9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c Directory

svn commit: r298469 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-04-22 Thread Andriy Gapon
Author: avg Date: Fri Apr 22 12:48:53 2016 New Revision: 298469 URL: https://svnweb.freebsd.org/changeset/base/298469 Log: MFC r297709: zio write issue threads should have lower (numerically greater) priority Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c Directory

svn commit: r298466 - stable/9/sys/ddb

2016-04-22 Thread Konstantin Belousov
Author: kib Date: Fri Apr 22 08:56:47 2016 New Revision: 298466 URL: https://svnweb.freebsd.org/changeset/base/298466 Log: MFC r298043: Avoid NULL pointer dereference. Modified: stable/9/sys/ddb/db_ps.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/ddb/db_p

svn commit: r298465 - stable/10/sys/ddb

2016-04-22 Thread Konstantin Belousov
Author: kib Date: Fri Apr 22 08:49:50 2016 New Revision: 298465 URL: https://svnweb.freebsd.org/changeset/base/298465 Log: MFC r298043: Avoid NULL pointer dereference. Modified: stable/10/sys/ddb/db_ps.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/ddb/db_ps

svn commit: r298464 - head/contrib/bsnmp/snmpd

2016-04-22 Thread Garrett Cooper
Author: ngie Date: Fri Apr 22 08:11:26 2016 New Revision: 298464 URL: https://svnweb.freebsd.org/changeset/base/298464 Log: Use `sizeof(*uuser)` instead of `sizeof(struct usm_user)` for consistency with the rest of the users in the file No functional change MFC after: 3 days Sponso

svn commit: r298463 - head/sys/ufs/ufs

2016-04-22 Thread Garrett Cooper
Author: ngie Date: Fri Apr 22 08:09:27 2016 New Revision: 298463 URL: https://svnweb.freebsd.org/changeset/base/298463 Log: Add FEATURE knob for testing for UFS extended attribute kernel support Support can be verified via `feature_present("ufs_extattr")`, etc. Differential Revision: h

Re: svn commit: r298462 - head/contrib/bsnmp/snmp_mibII

2016-04-22 Thread Ngie Cooper (yaneurabeya)
> On Apr 22, 2016, at 00:51, Garrett Cooper wrote: > > Author: ngie > Date: Fri Apr 22 07:51:38 2016 > New Revision: 298462 > URL: https://svnweb.freebsd.org/changeset/base/298462 > > Log: > Return `ret` in op_ifentry(..) to mute a -Wunused-but-set-variable warning > > This will also now det

svn commit: r298462 - head/contrib/bsnmp/snmp_mibII

2016-04-22 Thread Garrett Cooper
Author: ngie Date: Fri Apr 22 07:51:38 2016 New Revision: 298462 URL: https://svnweb.freebsd.org/changeset/base/298462 Log: Return `ret` in op_ifentry(..) to mute a -Wunused-but-set-variable warning This will also now detect error conditions with value->var.subs[sub - 1] == LEAF_ifPhysAdd

svn commit: r298461 - head/sys/contrib/rdma/krping

2016-04-22 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 22 07:29:38 2016 New Revision: 298461 URL: https://svnweb.freebsd.org/changeset/base/298461 Log: Fix for printf() compile warning when fast_reg.length is 64-bit. Changing fast_reg.length to 64 bits is planned in the future. Krping uses 32-bit lengths internally