Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Konstantin Belousov
On Tue, Jan 20, 2015 at 08:58:34AM +0100, Hans Petter Selasky wrote: > On 01/20/15 08:51, Konstantin Belousov wrote: > > On Tue, Jan 20, 2015 at 05:30:25AM +0100, Hans Petter Selasky wrote: > >> On 01/19/15 22:59, Adrian Chadd wrote: > >>> Hi, > >>> > >>> Would you please check what the results of

svn commit: r277413 - in head/sys: arm/conf arm/rockchip boot/fdt/dts/arm dev/mmc/host

2015-01-20 Thread Ganbold Tsagaankhuu
Author: ganbold Date: Tue Jan 20 09:07:28 2015 New Revision: 277413 URL: https://svnweb.freebsd.org/changeset/base/277413 Log: Enable Synopsys DesignWare Mobile Storage Host Controller driver on Rockchip boards. It currently supports PIO mode and dma mode needs external dma controller to be

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Hans Petter Selasky
On 01/20/15 10:00, Konstantin Belousov wrote: On Tue, Jan 20, 2015 at 08:58:34AM +0100, Hans Petter Selasky wrote: On 01/20/15 08:51, Konstantin Belousov wrote: On Tue, Jan 20, 2015 at 05:30:25AM +0100, Hans Petter Selasky wrote: On 01/19/15 22:59, Adrian Chadd wrote: Hi, Would you please ch

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 head/s

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

2015-01-20 Thread Andrew Turner
Author: andrew Date: Tue Jan 20 11:11:32 2015 New Revision: 277415 URL: https://svnweb.freebsd.org/changeset/base/277415 Log: Add the User and PL1 read only and reqd write thread ID registers. Sponsored by: The FreeBSD Foundation Modified: head/sys/arm/include/cpu-v6.h Modified: head/sy

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

2015-01-20 Thread Andrew Turner
Author: andrew Date: Tue Jan 20 11:32:48 2015 New Revision: 277416 URL: https://svnweb.freebsd.org/changeset/base/277416 Log: Remove the SMP code from locore-v4. These will never use the SMP code as there is no multi-core hardware prior to ARMv6. Sponsored by: The FreeBSD Foundation Modi

svn commit: r277417 - head/sys/dev/usb

2015-01-20 Thread Hans Petter Selasky
Author: hselasky Date: Tue Jan 20 11:43:16 2015 New Revision: 277417 URL: https://svnweb.freebsd.org/changeset/base/277417 Log: Fix returned data for the USB_GET_DEV_PORT_PATH IOCTL in particular the value returned in the "udp_port_level" field. Reported by: Uffe Jakobsen MFC after:

svn commit: r277418 - in head/sys: boot/i386/libi386 x86/xen

2015-01-20 Thread Roger Pau Monné
Author: royger Date: Tue Jan 20 12:28:24 2015 New Revision: 277418 URL: https://svnweb.freebsd.org/changeset/base/277418 Log: loader: fix the size of MODINFOMD_MODULEP The data in MODINFOMD_MODULEP is packed by the loader as a 4 byte type, but the amd64 kernel expects a vm_paddr_t, which

svn commit: r277419 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-01-20 Thread Alexander Motin
Author: mav Date: Tue Jan 20 13:09:12 2015 New Revision: 277419 URL: https://svnweb.freebsd.org/changeset/base/277419 Log: Allow skipping dmu_buf_will_dirty() call in dsl_dir_transfer_space(). dsl_dir_transfer_space() is mostly called after dsl_dir_diduse_space(), which already calls dmu_

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Ed Maste
On 15 January 2015 at 13:53, John Baldwin wrote: > > I think it's been a > clear practice with all other changes reviewed in phabric to date that > the committer only lists people in 'Reviewed by' who actually signed off > on the patch, not just the list of people asked to review it. This point i

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Ed Maste
On 20 January 2015 at 04:37, Hans Petter Selasky wrote: > > It is not very hard to update existing callout clients and you can do it > too, if you need the extra bits of performance. Hi Hans Petter, The issue here is that the onus is on the one changing a KPI to support its consumers through the

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Konstantin Belousov
On Tue, Jan 20, 2015 at 10:37:52AM +0100, Hans Petter Selasky wrote: > On 01/20/15 10:00, Konstantin Belousov wrote: > > On Tue, Jan 20, 2015 at 08:58:34AM +0100, Hans Petter Selasky wrote: > >> On 01/20/15 08:51, Konstantin Belousov wrote: > >>> On Tue, Jan 20, 2015 at 05:30:25AM +0100, Hans Pette

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

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Adrian Chadd
On 20 January 2015 at 06:25, Ed Maste wrote: > On 20 January 2015 at 04:37, Hans Petter Selasky wrote: >> >> It is not very hard to update existing callout clients and you can do it >> too, if you need the extra bits of performance. > > Hi Hans Petter, > > The issue here is that the onus is on th

svn commit: r277421 - head/sys/powerpc/powerpc

2015-01-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Tue Jan 20 16:21:59 2015 New Revision: 277421 URL: https://svnweb.freebsd.org/changeset/base/277421 Log: There does not seem to be any reason to acquire GIANT here. Follow amd64 in removing it. MFC after:1 month Modified: head/sys/powerpc/powerpc/mem.c Mod

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: head/sys/dev/usb/net/if_cdce

svn commit: r277423 - head/contrib/llvm/tools/clang/lib/Driver

2015-01-20 Thread Sean Bruno
Author: sbruno Date: Tue Jan 20 17:00:28 2015 New Revision: 277423 URL: https://svnweb.freebsd.org/changeset/base/277423 Log: Allow clang to be built for mips/mips64 backend types by adding our mips triple ids This only allows testing and does not change the defaults for mips/mips64. Th

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread John Baldwin
On Tuesday, January 20, 2015 4:37:52 am Hans Petter Selasky wrote: > On 01/20/15 10:00, Konstantin Belousov wrote: > > On Tue, Jan 20, 2015 at 08:58:34AM +0100, Hans Petter Selasky wrote: > >> On 01/20/15 08:51, Konstantin Belousov wrote: > >>> On Tue, Jan 20, 2015 at 05:30:25AM +0100, Hans Petter

svn commit: r277424 - head/sys/netinet

2015-01-20 Thread Michael Tuexen
Author: tuexen Date: Tue Jan 20 19:08:55 2015 New Revision: 277424 URL: https://svnweb.freebsd.org/changeset/base/277424 Log: Remove comparisons which are not necessary. Reported by: Coverity CID: 1237826, 1237844, 1237847 MFC after:1 week Modified: head/sys/netinet/sct

Re: svn commit: r277421 - head/sys/powerpc/powerpc

2015-01-20 Thread Konstantin Belousov
On Tue, Jan 20, 2015 at 04:21:59PM +, Nathan Whitehorn wrote: > Author: nwhitehorn > Date: Tue Jan 20 16:21:59 2015 > New Revision: 277421 > URL: https://svnweb.freebsd.org/changeset/base/277421 > > Log: > There does not seem to be any reason to acquire GIANT here. Follow amd64 > in removi

svn commit: r277425 - vendor-sys/illumos/dist/uts/common/fs/zfs

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:04:51 2015 New Revision: 277425 URL: https://svnweb.freebsd.org/changeset/base/277425 Log: 5376 arc_kmem_reap_now() should not result in clearing arc_no_grow Reviewed by: Christopher Siden Reviewed by: George Wilson Reviewed by: Steven Hartland Revi

svn commit: r277426 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/ztest

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:08:50 2015 New Revision: 277426 URL: https://svnweb.freebsd.org/changeset/base/277426 Log: 5408 managing ZFS cache devices requires lots of RAM Reviewed by: Christopher Siden Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Don Br

svn commit: r277426 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/cmd/ztest

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:08:50 2015 New Revision: 277426 URL: https://svnweb.freebsd.org/changeset/base/277426 Log: 5408 managing ZFS cache devices requires lots of RAM Reviewed by: Christopher Siden Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Don Br

svn commit: r277427 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:10:03 2015 New Revision: 277427 URL: https://svnweb.freebsd.org/changeset/base/277427 Log: 5445 Add more visibility via arcstats; specifically arc_state_t stats and differentiate between "data" and "metadata" Reviewed by: Basil Crow Reviewed by: George W

svn commit: r277428 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:11:30 2015 New Revision: 277428 URL: https://svnweb.freebsd.org/changeset/base/277428 Log: 5056 ZFS deadlock on db_mtx and dn_holds Reviewed by: Will Andrews Reviewed by: Matt Ahrens Reviewed by: George Wilson Approved by: Dan McDonald Author: Ju

svn commit: r277429 - in vendor/illumos/dist: cmd/zfs man/man1m

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:13:46 2015 New Revision: 277429 URL: https://svnweb.freebsd.org/changeset/base/277429 Log: 5410 Document -S option to zfs inherit 5412 Mention -S option when zfs inherit fails on quota Reviewed by: Matthew Ahrens Approved by: Richard Lowe Author: Pau

svn commit: r277430 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:14:50 2015 New Revision: 277430 URL: https://svnweb.freebsd.org/changeset/base/277430 Log: 5313 Allow I/Os to be aggregated across ZIO priority classes Reviewed by: Andriy Gapon Reviewed by: Will Andrews Reviewed by: Matt Ahrens Reviewed by: George

svn commit: r277431 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/lib/libzpool/common/sys

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:17:29 2015 New Revision: 277431 URL: https://svnweb.freebsd.org/changeset/base/277431 Log: 5497 lock contention on arcs_mtx Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Richard Elling Approved by: Dan McDonald Author: Praka

svn commit: r277431 - vendor-sys/illumos/dist/uts/common/fs/zfs vendor-sys/illumos/dist/uts/common/fs/zfs/sys vendor/illumos/dist/lib/libzpool/common/sys

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:17:29 2015 New Revision: 277431 URL: https://svnweb.freebsd.org/changeset/base/277431 Log: 5497 lock contention on arcs_mtx Reviewed by: George Wilson Reviewed by: Matthew Ahrens Reviewed by: Richard Elling Approved by: Dan McDonald Author: Praka

svn commit: r277432 - vendor/illumos/dist/lib/libzfs/common

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:18:59 2015 New Revision: 277432 URL: https://svnweb.freebsd.org/changeset/base/277432 Log: 5518 Memory leaks in libzfs import implementation Reviewed by: Dan Fields Reviewed by: Matthew Ahrens Reviewed by: Serghei Samsi Approved by: Dan McDonald

Re: svn commit: r277421 - head/sys/powerpc/powerpc

2015-01-20 Thread John Baldwin
On Tuesday, January 20, 2015 2:14:38 pm Konstantin Belousov wrote: > This is not an acquisition, to be pedantic. Really, it is cdevsw which > has D_NEEDGIANT flag which acquires Giant. After architectures get > rid of GIANT_REQUIRED, flag can be removed. We could #ifdef the flag, but only if it

svn commit: r277433 - head/cddl/contrib/opensolaris/lib/libzfs/common

2015-01-20 Thread Xin LI
Author: delphij Date: Tue Jan 20 20:36:36 2015 New Revision: 277433 URL: https://svnweb.freebsd.org/changeset/base/277433 Log: MFV r277432: Plug various memory leaks in libzfs import implementation. Illumos issue: 5518 Memory leaks in libzfs import implementation MFC after:

svn commit: r277434 - in stable/10: contrib/file/doc sbin/mount usr.sbin usr.sbin/fstyp

2015-01-20 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jan 20 20:39:29 2015 New Revision: 277434 URL: https://svnweb.freebsd.org/changeset/base/277434 Log: MFC r275680: Add fstyp(8). This utility, named after its SVR4 counterpart, detects filesystems. It differs from file(1) in that it gives machine-parseable outpu

svn commit: r277435 - stable/10/usr.sbin/fstyp

2015-01-20 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jan 20 20:41:32 2015 New Revision: 277435 URL: https://svnweb.freebsd.org/changeset/base/277435 Log: MFC r276703: Remove leftovers. Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/fstyp/cd9660.c stable/10/usr.sbin/fstyp/ntfs.c Directory Pr

svn commit: r277436 - stable/10/usr.sbin/fstyp

2015-01-20 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jan 20 20:42:55 2015 New Revision: 277436 URL: https://svnweb.freebsd.org/changeset/base/277436 Log: MFC r276704: Fix memory leaks. Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/fstyp/ext2fs.c stable/10/usr.sbin/fstyp/ntfs.c Directory Pr

svn commit: r277437 - stable/10/usr.sbin/fstyp

2015-01-20 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jan 20 20:44:16 2015 New Revision: 277437 URL: https://svnweb.freebsd.org/changeset/base/277437 Log: MFC r277128: Fix detection of ext2/ext3 filesystems that lack labels. Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/fstyp/ext2fs.c Directo

Re: svn commit: r277254 - head/sys/powerpc/conf

2015-01-20 Thread John-Mark Gurney
Nathan Whitehorn wrote this message on Fri, Jan 16, 2015 at 17:41 +: > Author: nwhitehorn > Date: Fri Jan 16 17:41:21 2015 > New Revision: 277254 > URL: https://svnweb.freebsd.org/changeset/base/277254 > > Log: > Make netbooting work again by disabling BOOTP_NFSV3. Investigate why this > c

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Gleb Smirnoff
On Tue, Jan 20, 2015 at 09:51:26AM +0200, Konstantin Belousov wrote: K> > Like stated in the manual page, callout_reset_curcpu/on() does not work K> > with MPSAFE callouts any more! K> I.e. you 'fixed' some undeterminate bugs in callout migration by not K> doing migration at all anymore. K> K> >

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Gleb Smirnoff
Hans, On Tue, Jan 20, 2015 at 10:37:52AM +0100, Hans Petter Selasky wrote: H> It is not very hard to update existing callout clients and you can do it H> too, if you need the extra bits of performance. If it is not very hard, then you should have done that as part of your change. H> Are there

svn commit: r277440 - head/sys/cam

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 21:15:33 2015 New Revision: 277440 URL: https://svnweb.freebsd.org/changeset/base/277440 Log: Restore the CAM XPT peripheral generation counter, and export it via sysctl. Define it as an atomic uint32_t. These increments happen infrequently enough for the at

svn commit: r277441 - in stable/10: etc/mtree lib/libc lib/libc/tests lib/libc/tests/gen tools/regression/lib/libc/gen

2015-01-20 Thread Garrett Cooper
Author: ngie Date: Tue Jan 20 21:42:40 2015 New Revision: 277441 URL: https://svnweb.freebsd.org/changeset/base/277441 Log: MFC r274075,r274581,r274582,r274595: r274075 (by ngie): Add reachover Makefiles for contrib/netbsd-tests/lib/libc; this adds approximately 500 new testcase

svn commit: r277442 - stable/10/lib/libc/tests/hash

2015-01-20 Thread Garrett Cooper
Author: ngie Date: Tue Jan 20 21:46:04 2015 New Revision: 277442 URL: https://svnweb.freebsd.org/changeset/base/277442 Log: MFC r276318: r276318 (by ngie): Build/install lib/libc/tests/hash/t_sha2 if MK_OPENSSL == yes Reported by: Beeblebrox Modified: stable/10/lib/libc/te

svn commit: r277443 - in stable/10: contrib/netbsd-tests/lib/libc/c063 lib/libc/tests/c063

2015-01-20 Thread Garrett Cooper
Author: ngie Date: Tue Jan 20 21:48:42 2015 New Revision: 277443 URL: https://svnweb.freebsd.org/changeset/base/277443 Log: MFC r276590: r276590 (by jilles): Link lib/libc/c063 tests to the build. Some files lack required #include . The #ifdef is per ngie's request; the in

svn commit: r277444 - head/share/misc

2015-01-20 Thread Jan Beich
Author: jbeich (ports committer) Date: Tue Jan 20 21:49:50 2015 New Revision: 277444 URL: https://svnweb.freebsd.org/changeset/base/277444 Log: - Add jbeich as a ports committer - List bapt and flo as his mentors Differential Revision:https://reviews.freebsd.org/D1562 Approved b

svn commit: r277446 - in stable/10: lib/libc/tests/stdio tools/regression/lib/libc/stdio

2015-01-20 Thread Garrett Cooper
Author: ngie Date: Tue Jan 20 21:59:48 2015 New Revision: 277446 URL: https://svnweb.freebsd.org/changeset/base/277446 Log: MFC r267004,r274592: r267004 (by gahr): - Use strlen instead of hardcoding a number - Terminate a sentence with a period Approved by:cognet

svn commit: r277448 - head/sys/cddl/compat/opensolaris/sys

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:27:45 2015 New Revision: 277448 URL: https://svnweb.freebsd.org/changeset/base/277448 Log: Remove unused strdup() #define. Modified: head/sys/cddl/compat/opensolaris/sys/sunddi.h Modified: head/sys/cddl/compat/opensolaris/sys/sunddi.h

svn commit: r277449 - head/sys/cddl/compat/opensolaris/sys

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:29:27 2015 New Revision: 277449 URL: https://svnweb.freebsd.org/changeset/base/277449 Log: NSEC_TO_TICK(usec) -> NSEC_TO_TICK(nsec) Modified: head/sys/cddl/compat/opensolaris/sys/time.h Modified: head/sys/cddl/compat/opensolaris/sys/time.h ===

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Hans Petter Selasky
On 01/20/15 22:11, Gleb Smirnoff wrote: On Tue, Jan 20, 2015 at 09:51:26AM +0200, Konstantin Belousov wrote: K> > Like stated in the manual page, callout_reset_curcpu/on() does not work K> > with MPSAFE callouts any more! K> I.e. you 'fixed' some undeterminate bugs in callout migration by not K>

svn commit: r277450 - head/sys/cddl/contrib/opensolaris/uts/common/fs

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:31:26 2015 New Revision: 277450 URL: https://svnweb.freebsd.org/changeset/base/277450 Log: Use the "zfs_gfs" tag for GFS vnodes to make them easier to identify. MFC after:1 week Sponsored by: Spectra Logic Modified: head/sys/cddl/contrib/opensolaris

svn commit: r277452 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-01-20 Thread Will Andrews
Author: will Date: Tue Jan 20 22:39:10 2015 New Revision: 277452 URL: https://svnweb.freebsd.org/changeset/base/277452 Log: Fix arc__shrink DTrace probe's to_free argument. Remove the unnecessary #ifdef _KERNEL, which did not differ in the true or false cases. Actually set the value of t

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread K. Macy
Please back this out now. It was a substantial interface change without review. This should not be up for debate. I hope the others have the fortitude to insist upon this. -K On Thu, Jan 15, 2015 at 7:32 AM, Hans Petter Selasky wrote: > Author: hselasky > Date: Thu Jan 15 15:32:30 2015 > New Rev

svn commit: r277453 - head/tools/regression/lib/libc/stdio

2015-01-20 Thread Garrett Cooper
Author: ngie Date: Tue Jan 20 22:51:29 2015 New Revision: 277453 URL: https://svnweb.freebsd.org/changeset/base/277453 Log: Garbage collect a prove test wrapper MFC after: 3 days Sponsored by: EMC / Isilon Storage Division Deleted: head/tools/regression/lib/libc/stdio/test-fmemopen.t M

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

2015-01-20 Thread Ian Lepore
Author: ian Date: Tue Jan 20 22:56:59 2015 New Revision: 277454 URL: https://svnweb.freebsd.org/changeset/base/277454 Log: Add inline implementations of arm bus_space_read/write_N(). Reviewed by: cognet Modified: head/sys/arm/arm/bus_space-v6.c head/sys/arm/include/bus.h Modified: he

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Pedro Giffuni
Hi; I got this patch from the OpenBSD-tech list[1]. Perhaps this fixes the gcc issue? Apparently it's required for mesa too. Pedro. [1] http://article.gmane.org/gmane.os.openbsd.tech/40604 On 01/06/15 15:33, Navdeep Parhar wrote: On Tue, Jan 06, 2015 at 07:58:34PM +0100, Luigi Rizzo wrote:

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Navdeep Parhar
The problem reported by Luigi has been fixed in r277225 already. Regards, Navdeep On 01/20/15 15:10, Pedro Giffuni wrote: Hi; I got this patch from the OpenBSD-tech list[1]. Perhaps this fixes the gcc issue? Apparently it's required for mesa too. Pedro. [1] http://article.gmane.org/gmane.os

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/20/15 14:30, Hans Petter Selasky wrote: > On 01/20/15 22:11, Gleb Smirnoff wrote: >> On Tue, Jan 20, 2015 at 09:51:26AM +0200, Konstantin Belousov >> wrote: K> > Like stated in the manual page, >> callout_reset_curcpu/on() does not work K> > wi

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Navdeep Parhar
Sean, Was this really "Reviewed by: sbruno@" or just "Tested by: sbruno@"? I was very happy to see so many reviewers on the original commit but you seem to be the only one still left on the list. Regards, Navdeep On 01/20/15 15:35, Sean Bruno wrote: -BEGIN PGP SIGNED MESSAGE- Hash:

svn commit: r277457 - in stable/10: . etc etc/mtree tools/build/mk

2015-01-20 Thread Garrett Cooper
Author: ngie Date: Tue Jan 20 23:39:08 2015 New Revision: 277457 URL: https://svnweb.freebsd.org/changeset/base/277457 Log: MFC r275907: r275907 (by ngie): Fix building/installing tests when TESTSBASE != /usr/tests The work in r258233 hardcoded the assumption that tests was th

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread K. Macy
I think you're working around driver locking bugs by crippling the callout code. -K On Tue, Jan 20, 2015 at 3:35 PM, Sean Bruno wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 01/20/15 14:30, Hans Petter Selasky wrote: >> On 01/20/15 22:11, Gleb Smirnoff wrote: >>> On Tue, Jan

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/20/15 15:39, Navdeep Parhar wrote: > Sean, > > Was this really "Reviewed by: sbruno@" or just "Tested by: > sbruno@"? I was very happy to see so many reviewers on the > original commit but you seem to be the only one still left on the > list.

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/20/15 15:40, K. Macy wrote: > I think you're working around driver locking bugs by crippling the > callout code. > > -K > We had zero evidence of this. What leads you down that path? I'm totally open to being wrong, e.g. "yeah, you slowed

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread K. Macy
Are any other drivers hitting this? e.g. cxgb/cxgbe? -K On Tue, Jan 20, 2015 at 3:46 PM, Sean Bruno wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 01/20/15 15:40, K. Macy wrote: >> I think you're working around driver locking bugs by crippling the >> callout code. >> >> -K >>

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread K. Macy
On Tue, Jan 20, 2015 at 3:48 PM, K. Macy wrote: > Are any other drivers hitting this? e.g. cxgb/cxgbe? The evidence is simply past experience of recurring locking and control flow bugs in the intel drivers. -K > > -K > > On Tue, Jan 20, 2015 at 3:46 PM, Sean Bruno wrote: >> -BEGIN PGP SIGN

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/20/15 15:48, K. Macy wrote: > Are any other drivers hitting this? e.g. cxgb/cxgbe? > > -K > Unkown to me. Nor am I aware of anyone else who ever hit our panics either. Our environment, and the failure, was only seen in the Intel 10GE space

svn commit: r277458 - in head: release release/amd64 release/i386 release/scripts release/tools share/man/man7

2015-01-20 Thread Glen Barber
Author: gjb Date: Tue Jan 20 23:56:04 2015 New Revision: 277458 URL: https://svnweb.freebsd.org/changeset/base/277458 Log: Merge the following revisions from ^/projects/release-vmimage: r273823-r273826, r273833, r273836, r273944, r274069-r274071, r274134, r274211, r274280-r274285, r274287-

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread K. Macy
On Tue, Jan 20, 2015 at 3:53 PM, Sean Bruno wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 01/20/15 15:48, K. Macy wrote: >> Are any other drivers hitting this? e.g. cxgb/cxgbe? >> >> -K >> > > Unkown to me. Nor am I aware of anyone else who ever hit our panics > either. Our e

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Sean Bruno
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 01/20/15 15:59, K. Macy wrote: > On Tue, Jan 20, 2015 at 3:53 PM, Sean Bruno > wrote: On 01/20/15 15:48, K. Macy wrote: Are any other drivers hitting this? e.g. cxgb/cxgbe? -K > > Unkown to me. Nor am I aware of anyone els

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread K. Macy
On Tue, Jan 20, 2015 at 4:22 PM, Sean Bruno wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA512 > > On 01/20/15 15:59, K. Macy wrote: >> On Tue, Jan 20, 2015 at 3:53 PM, Sean Bruno >> wrote: On 01/20/15 15:48, K. Macy wrote: > Are any other drivers hitting this? e.g. cxgb/cxgbe? >

Re: svn commit: r277213 - in head: share/man/man9 sys/kern sys/ofed/include/linux sys/sys

2015-01-20 Thread Adrian Chadd
On 20 January 2015 at 14:30, Hans Petter Selasky wrote: > Backing out my callout API patch means we will for sure re-introduce an > unknown callout spinlock hang, as noted to me by several people. What do you > think about that? > > Maybe "Jason Wolfe" CC'ed can add to 10-stable w/o my patches: >

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Pedro Giffuni
On 01/20/15 18:21, Navdeep Parhar wrote: The problem reported by Luigi has been fixed in r277225 already. Regards, Navdeep But the fix is rather ugly, isn't it? I would personally prefer to just kill the older gcc but in the meantime updating it so that it behaves like the updated gcc/clan

svn commit: r277460 - in head/sys: arm/arm arm/at91 arm/include arm/versatile arm/xilinx arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 arm/xscale/pxa dev/usb/controller

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 01:06:08 2015 New Revision: 277460 URL: https://svnweb.freebsd.org/changeset/base/277460 Log: Revise the arm bus_space implementation to avoid dereferencing the tag on every operation to retrieve the bs_cookie value almost nothing actually uses. The bus_space

svn commit: r277461 - head/sys/kern

2015-01-20 Thread Mateusz Guzik
Author: mjg Date: Wed Jan 21 01:06:14 2015 New Revision: 277461 URL: https://svnweb.freebsd.org/changeset/base/277461 Log: filedesc: plug a test for impossible condition in _fget Modified: head/sys/kern/kern_descrip.c Modified: head/sys/kern/kern_descrip.c ===

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Navdeep Parhar
On 01/20/15 16:50, Pedro Giffuni wrote: On 01/20/15 18:21, Navdeep Parhar wrote: The problem reported by Luigi has been fixed in r277225 already. Regards, Navdeep But the fix is rather ugly, isn't it? I would personally prefer to just kill the older gcc but in the meantime updating it so th

svn commit: r277462 - in head/contrib/elftoolchain: common readelf

2015-01-20 Thread Ed Maste
Author: emaste Date: Wed Jan 21 01:07:58 2015 New Revision: 277462 URL: https://svnweb.freebsd.org/changeset/base/277462 Log: redelf: Add missing R_X86_64_ relocation types PR: 196918 Reviewed by: dim Sponsored by: The FreeBSD Foundation Differential Revision:https:

svn commit: r277463 - head/usr.bin/grep

2015-01-20 Thread Xin LI
Author: delphij Date: Wed Jan 21 01:11:37 2015 New Revision: 277463 URL: https://svnweb.freebsd.org/changeset/base/277463 Log: Fix xz handling for files larger than 32K. Submitted by: Stefan Ehmann PR: bin/186861 MFC after:2 weeks Modified: head/usr.bin/grep/file.c Mo

svn commit: r277464 - head/sys/sys

2015-01-20 Thread Ed Maste
Author: emaste Date: Wed Jan 21 01:12:21 2015 New Revision: 277464 URL: https://svnweb.freebsd.org/changeset/base/277464 Log: Add missing R_X86_64_ constants to elf_common.h PR: 196918 MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/sys/sys/elf_com

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Pedro Giffuni
On 01/20/15 20:06, Navdeep Parhar wrote: On 01/20/15 16:50, Pedro Giffuni wrote: On 01/20/15 18:21, Navdeep Parhar wrote: The problem reported by Luigi has been fixed in r277225 already. Regards, Navdeep But the fix is rather ugly, isn't it? I would personally prefer to just kill the olde

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Navdeep Parhar
On 01/20/15 17:33, Pedro Giffuni wrote: On 01/20/15 20:06, Navdeep Parhar wrote: On 01/20/15 16:50, Pedro Giffuni wrote: On 01/20/15 18:21, Navdeep Parhar wrote: The problem reported by Luigi has been fixed in r277225 already. Regards, Navdeep But the fix is rather ugly, isn't it? I woul

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Alexey Dokuchaev
On Tue, Jan 20, 2015 at 07:50:23PM -0500, Pedro Giffuni wrote: > But the fix is rather ugly, isn't it? I would personally prefer to just > kill the older gcc but in the meantime updating it so that it behaves > like the updated gcc/clang would be better. IMHO. Seconded. Putting extra harness on t

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

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 02:35:04 2015 New Revision: 277465 URL: https://svnweb.freebsd.org/changeset/base/277465 Log: Use the explicit member initializer style to init the bus_space struct. Fill in some formerly NULL members where the implementation function exists. Add a dummy functio

svn commit: r277466 - in head/sys/arm: arm lpc xilinx

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 02:49:19 2015 New Revision: 277466 URL: https://svnweb.freebsd.org/changeset/base/277466 Log: Use arm/bus_space-v6.c for all armv6 systems, the essentially identical files for lpc and xilinx aren't needed. Also, fix a couple paste-os. Deleted: head/sys/arm/lpc/

svn commit: r277467 - in head/sys/arm: arm at91 cavium/cns11xx mv samsung/s3c2xx0 versatile xscale/i80321 xscale/i8134x xscale/ixp425 xscale/pxa

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 02:56:13 2015 New Revision: 277467 URL: https://svnweb.freebsd.org/changeset/base/277467 Log: For some reason, all the arm bus_space functions that work with uint16 values have armv4 in the name. There's nothing armv4-special about them, so just use the same sor

svn commit: r277468 - head/sys/powerpc/aim

2015-01-20 Thread Nathan Whitehorn
Author: nwhitehorn Date: Wed Jan 21 02:57:54 2015 New Revision: 277468 URL: https://svnweb.freebsd.org/changeset/base/277468 Log: On 64-bit PowerPC, use more native forms of the PPC 970 HID restore sequences, like are used to read the HIDs. This is both easier to read and avoids a miscompila

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Adrian Chadd
On 20 January 2015 at 18:19, Alexey Dokuchaev wrote: > On Tue, Jan 20, 2015 at 07:50:23PM -0500, Pedro Giffuni wrote: >> But the fix is rather ugly, isn't it? I would personally prefer to just >> kill the older gcc but in the meantime updating it so that it behaves >> like the updated gcc/clang wo

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

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 03:22:37 2015 New Revision: 277469 URL: https://svnweb.freebsd.org/changeset/base/277469 Log: The mv/bus_space.c file is essentially identical to arm/bus_space-v6.c, so just use it. Deleted: head/sys/arm/mv/bus_space.c Modified: head/sys/arm/mv/files.mv Modif

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

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 03:24:18 2015 New Revision: 277470 URL: https://svnweb.freebsd.org/changeset/base/277470 Log: Move bs_unimplemented() to bus_space_generic.c so it can be shared. Modified: head/sys/arm/arm/bus_space-v6.c head/sys/arm/arm/bus_space_generic.c head/sys/arm/includ

svn commit: r277471 - head/sys/arm/at91

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 03:28:07 2015 New Revision: 277471 URL: https://svnweb.freebsd.org/changeset/base/277471 Log: Use explicit initializer style, fill in missing functions. Modified: head/sys/arm/at91/at91.c head/sys/arm/at91/files.at91 Modified: head/sys/arm/at91/at91.c =

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Pedro Giffuni
On 01/20/15 22:06, Adrian Chadd wrote: On 20 January 2015 at 18:19, Alexey Dokuchaev wrote: On Tue, Jan 20, 2015 at 07:50:23PM -0500, Pedro Giffuni wrote: But the fix is rather ugly, isn't it? I would personally prefer to just kill the older gcc but in the meantime updating it so that it beha

svn commit: r277472 - in head/sys/arm: allwinner allwinner/a20 altera/socfpga arm broadcom/bcm2835 freescale/imx freescale/vybrid lpc mv rockchip samsung/exynos ti xilinx

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 03:44:29 2015 New Revision: 277472 URL: https://svnweb.freebsd.org/changeset/base/277472 Log: Rename bus_space-v6.c to bus_space_base.c, because it's not v6-specific and now some v5 Marvell systems are using it. Only define fdt_bus_tag if option FDT is defined.

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Steve Kargl
On Tue, Jan 20, 2015 at 10:36:16PM -0500, Pedro Giffuni wrote: > > On 01/20/15 22:06, Adrian Chadd wrote: > > * .. and apparently updating that gcc to something > 4.2 is verboten. > > The external toolchain can't be that bad(?). > Are the ever change knobs documented somewhere? > > please do.

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Pedro Giffuni
On 01/20/15 22:36, Pedro Giffuni wrote: ... I find it interesting, and even funny that even the extreme copyleft are predicting clang will take over gcc: http://youtu.be/-ItFjEG3LaA Actually I should apologize for publishing that link, it is rather poorly argumented and is not subject for

Re: svn commit: r277421 - head/sys/powerpc/powerpc

2015-01-20 Thread Nathan Whitehorn
On 01/20/15 11:14, Konstantin Belousov wrote: On Tue, Jan 20, 2015 at 04:21:59PM +, Nathan Whitehorn wrote: Author: nwhitehorn Date: Tue Jan 20 16:21:59 2015 New Revision: 277421 URL: https://svnweb.freebsd.org/changeset/base/277421 Log: There does not seem to be any reason to acquire G

svn commit: r277473 - in head/sys/arm: arm include versatile

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 04:06:36 2015 New Revision: 277473 URL: https://svnweb.freebsd.org/changeset/base/277473 Log: The versatile platform had two copies of a bus_space that are essentially duplicates of the standard arm base bus_space, so just use it. Deleted: head/sys/arm/versatile

svn commit: r277474 - head/sys/arm/versatile

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 04:19:54 2015 New Revision: 277474 URL: https://svnweb.freebsd.org/changeset/base/277474 Log: Remove a no-longer-used include. Modified: head/sys/arm/versatile/versatile_pci.c Modified: head/sys/arm/versatile/versatile_pci.c ==

Re: svn commit: r276485 - in head/sys: conf dev/cxgbe modules/cxgbe/if_cxgbe

2015-01-20 Thread Pedro Giffuni
On 01/20/15 22:52, Steve Kargl wrote: On Tue, Jan 20, 2015 at 10:36:16PM -0500, Pedro Giffuni wrote: On 01/20/15 22:06, Adrian Chadd wrote: * .. and apparently updating that gcc to something > 4.2 is verboten. The external toolchain can't be that bad(?). Are the ever change knobs documented

svn commit: r277475 - head/sys/arm/cavium/cns11xx

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 04:22:20 2015 New Revision: 277475 URL: https://svnweb.freebsd.org/changeset/base/277475 Log: Use the base arm bus_space instead of an identical local copy. Modified: head/sys/arm/cavium/cns11xx/econa.c head/sys/arm/cavium/cns11xx/files.econa Modified: head/sys

svn commit: r277476 - head/sys/arm/samsung/s3c2xx0

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 04:28:19 2015 New Revision: 277476 URL: https://svnweb.freebsd.org/changeset/base/277476 Log: Use the base arm bus_space instead of an identical local copy. Modified: head/sys/arm/samsung/s3c2xx0/files.s3c2xx0 head/sys/arm/samsung/s3c2xx0/s3c24x0.c head/sys/ar

svn commit: r277477 - in head/sys/arm/xscale: i80321 i8134x

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 05:05:07 2015 New Revision: 277477 URL: https://svnweb.freebsd.org/changeset/base/277477 Log: Use the base arm bus_space instead of an identical local copy. Deleted: head/sys/arm/xscale/i80321/obio_space.c Modified: head/sys/arm/xscale/i80321/ep80219_machdep.c

svn commit: r277478 - in head/sys/arm/xscale: i80321 i8134x

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 05:10:23 2015 New Revision: 277478 URL: https://svnweb.freebsd.org/changeset/base/277478 Log: Use the base arm bus_space instead of an identical local copy. Modified: head/sys/arm/xscale/i80321/i80321_space.c head/sys/arm/xscale/i8134x/i81342_space.c Modified:

svn commit: r277479 - head/sys/arm/xscale/pxa

2015-01-20 Thread Ian Lepore
Author: ian Date: Wed Jan 21 05:23:09 2015 New Revision: 277479 URL: https://svnweb.freebsd.org/changeset/base/277479 Log: Use explicit initializer style, fill in missing functions as unimplemented. Modified: head/sys/arm/xscale/pxa/pxa_space.c Modified: head/sys/arm/xscale/pxa/pxa_space.c =

  1   2   >