svn commit: r278238 - in head/sys: conf kern

2015-02-04 Thread John-Mark Gurney
Author: jmg Date: Thu Feb 5 07:51:38 2015 New Revision: 278238 URL: https://svnweb.freebsd.org/changeset/base/278238 Log: turn GEOM_UNCOMPRESS_DEBUG into a proper option so it can be specified in kernel config files.. put VERBOSE_SYSINIT in it's own option header so the one file, init_

svn commit: r278237 - head/sys/dev/iscsi

2015-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 5 07:46:34 2015 New Revision: 278237 URL: https://svnweb.freebsd.org/changeset/base/278237 Log: Don't call callout_drain() with iscsi mutex held; this fixes a warning that was introduced recently. While here, don't try to access is_terminating without lock.

svn commit: r278236 - head/usr.sbin/iscsid

2015-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 5 07:32:24 2015 New Revision: 278236 URL: https://svnweb.freebsd.org/changeset/base/278236 Log: The connection_new() routine was taking an absurd number of parameters; fix it. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sb

svn commit: r278234 - in head/sys/boot: amd64/efi efi/include

2015-02-04 Thread Rui Paulo
Author: rpaulo Date: Thu Feb 5 07:19:30 2015 New Revision: 278234 URL: https://svnweb.freebsd.org/changeset/base/278234 Log: EFI: print more information about EFI Tables. This adds the GUIDs for DXE, HOB, Memory Type Information and Debug Image Info. Modified: head/sys/boot/amd64/efi/

svn commit: r278233 - head/sys/dev/iscsi

2015-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 5 07:16:45 2015 New Revision: 278233 URL: https://svnweb.freebsd.org/changeset/base/278233 Log: Fix error handling. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/iscsi.c Modified: head/sys/dev/iscsi/iscsi.c ===

svn commit: r278232 - in head: sys/dev/iscsi usr.bin/iscsictl usr.sbin/iscsid

2015-02-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Feb 5 06:37:59 2015 New Revision: 278232 URL: https://svnweb.freebsd.org/changeset/base/278232 Log: Make it possible to set (via iscsi.conf(5)) and query (via iscsictl -v) initiator iSCSI offload. Pass maximum data segment size supported by chosen offload module to

Re: svn commit: r278154 - head/lib/msun/src

2015-02-04 Thread Bruce Evans
On Tue, 3 Feb 2015, Steve Kargl wrote: On Wed, Feb 04, 2015 at 04:37:14AM +1100, Bruce Evans wrote: On Tue, 3 Feb 2015, Steve Kargl wrote: -#include +#include #include +#defineFLT_LARGE FLT_MAX_EXP - FLT_MIN_EXP + FLT_MANT_DIG +... This is a lot of code and bugs (missing p

svn commit: r278231 - head/lib/csu/powerpc64

2015-02-04 Thread Justin Hibbits
Author: jhibbits Date: Thu Feb 5 03:56:49 2015 New Revision: 278231 URL: https://svnweb.freebsd.org/changeset/base/278231 Log: powerpc64 csu needs to be built by gcc, so enforce that. With this change, world is one step closer to being clang-able. MFC after:2 weeks Modified: he

svn commit: r278230 - head/sys/kern

2015-02-04 Thread Peter Wemm
Author: peter Date: Thu Feb 5 01:43:21 2015 New Revision: 278230 URL: https://svnweb.freebsd.org/changeset/base/278230 Log: Initialize ticks so that it wraps 10 minutes after boot to increase the chances of finding problems related to wraparound sooner. This comes from P4 change 167856 o

svn commit: r278229 - head/sys/conf

2015-02-04 Thread Peter Wemm
Author: peter Date: Thu Feb 5 01:36:53 2015 New Revision: 278229 URL: https://svnweb.freebsd.org/changeset/base/278229 Log: Add -fwrapv to CFLAGS for the kernel. This essentially un-reverts r259045. The C standard undefines behavior when signed integers overflow. The compiler toolchain

svn commit: r278228 - in head/sys: cam cam/scsi sys

2015-02-04 Thread Kenneth D. Merry
Author: ken Date: Thu Feb 5 00:12:21 2015 New Revision: 278228 URL: https://svnweb.freebsd.org/changeset/base/278228 Log: Add support for probing the SCSI VPD Extended Inquiry page (0x86). This VPD page is effectively an extension of the standard Inquiry data page, and includes lots of a

Re: svn commit: r278223 - head/lib/clang

2015-02-04 Thread NGie Cooper
On Wed, Feb 4, 2015 at 1:44 PM, Dimitry Andric wrote: ... > This flag is only relevant when you are 1) using clang to compile, and > 2) on freebsd 9.x. You cannot compile clang in head with base gcc > anyway. Good point. ___ svn-src-head@freebsd.org

svn commit: r278225 - head/lib/clang

2015-02-04 Thread Dimitry Andric
Author: dim Date: Wed Feb 4 21:48:50 2015 New Revision: 278225 URL: https://svnweb.freebsd.org/changeset/base/278225 Log: Followup to r278223, by only using -stdlib=libc++ when the compiler is clang; not even recent versions of gcc support the -stdlib flag. Noticed by: ngie Modified:

Re: svn commit: r278223 - head/lib/clang

2015-02-04 Thread Dimitry Andric
On 04 Feb 2015, at 22:23, NGie Cooper wrote: > > On Wed, Feb 4, 2015 at 1:16 PM, Dimitry Andric wrote: >> On 04 Feb 2015, at 22:09, NGie Cooper wrote: >>> >>> On Wed, Feb 4, 2015 at 1:00 PM, Dimitry Andric wrote: Author: dim Date: Wed Feb 4 21:00:29 2015 New Revision: 278223 >

Re: svn commit: r278223 - head/lib/clang

2015-02-04 Thread NGie Cooper
On Wed, Feb 4, 2015 at 1:16 PM, Dimitry Andric wrote: > On 04 Feb 2015, at 22:09, NGie Cooper wrote: >> >> On Wed, Feb 4, 2015 at 1:00 PM, Dimitry Andric wrote: >>> Author: dim >>> Date: Wed Feb 4 21:00:29 2015 >>> New Revision: 278223 >>> URL: https://svnweb.freebsd.org/changeset/base/278223 >

Re: svn commit: r278223 - head/lib/clang

2015-02-04 Thread Dimitry Andric
On 04 Feb 2015, at 22:09, NGie Cooper wrote: > > On Wed, Feb 4, 2015 at 1:00 PM, Dimitry Andric wrote: >> Author: dim >> Date: Wed Feb 4 21:00:29 2015 >> New Revision: 278223 >> URL: https://svnweb.freebsd.org/changeset/base/278223 >> >> Log: >> For now, add -stdlib=libc++ to the flags for bu

Re: svn commit: r278223 - head/lib/clang

2015-02-04 Thread NGie Cooper
On Wed, Feb 4, 2015 at 1:00 PM, Dimitry Andric wrote: > Author: dim > Date: Wed Feb 4 21:00:29 2015 > New Revision: 278223 > URL: https://svnweb.freebsd.org/changeset/base/278223 > > Log: > For now, add -stdlib=libc++ to the flags for building clang, since that > makes it easier to build head

svn commit: r278223 - head/lib/clang

2015-02-04 Thread Dimitry Andric
Author: dim Date: Wed Feb 4 21:00:29 2015 New Revision: 278223 URL: https://svnweb.freebsd.org/changeset/base/278223 Log: For now, add -stdlib=libc++ to the flags for building clang, since that makes it easier to build head on stable/9, where libstdc++ is still the default. We can revisit

svn commit: r278222 - head/sys/sys

2015-02-04 Thread Dimitry Andric
Author: dim Date: Wed Feb 4 20:55:21 2015 New Revision: 278222 URL: https://svnweb.freebsd.org/changeset/base/278222 Log: Mark typedefs for manually implementing _Static_assert() as unused, so they won't show up unecessarily for -Wunused-local-typedefs. MFC after:3 days Modified:

svn commit: r278221 - in head/sys/dev/sfxge: . common

2015-02-04 Thread Andrew Rybchenko
Author: arybchik Date: Wed Feb 4 20:03:57 2015 New Revision: 278221 URL: https://svnweb.freebsd.org/changeset/base/278221 Log: sfxge: Add macros to init, destroy, acquire, release and assert locks Sponsored by: Solarflare Communications, Inc. Approved by:gnn (mentor) Modified: h

svn commit: r278220 - head/sys/dev/sfxge/common

2015-02-04 Thread Andrew Rybchenko
Author: arybchik Date: Wed Feb 4 19:58:54 2015 New Revision: 278220 URL: https://svnweb.freebsd.org/changeset/base/278220 Log: sfxge: Implement EFSYS_MEM_READ_BARRIER() Sponsored by: Solarflare Communications, Inc. Approved by:gnn (mentor) Modified: head/sys/dev/sfxge/common/efs

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

2015-02-04 Thread Luiz Otavio O Souza
Author: loos Date: Wed Feb 4 18:35:49 2015 New Revision: 278216 URL: https://svnweb.freebsd.org/changeset/base/278216 Log: Fix a bug where an interrupt could be masked unintentionally when bus_config_intr() is called with the same interrupt type and polarity that is already set. Pointy

svn commit: r278215 - head/sys/arm/broadcom/bcm2835

2015-02-04 Thread Luiz Otavio O Souza
Author: loos Date: Wed Feb 4 18:15:28 2015 New Revision: 278215 URL: https://svnweb.freebsd.org/changeset/base/278215 Log: Add GPIO interrupt support for BCM2835 (Raspberry pi). With this commit any of the GPIO pins can now be programmed to act as an interrupt source for GPIO devices (i.

svn commit: r278214 - head/sys/arm/broadcom/bcm2835

2015-02-04 Thread Luiz Otavio O Souza
Author: loos Date: Wed Feb 4 17:23:02 2015 New Revision: 278214 URL: https://svnweb.freebsd.org/changeset/base/278214 Log: Sort and remove unnecessary includes. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c

svn commit: r278213 - head/sys/arm/broadcom/bcm2835

2015-02-04 Thread Luiz Otavio O Souza
Author: loos Date: Wed Feb 4 16:36:51 2015 New Revision: 278213 URL: https://svnweb.freebsd.org/changeset/base/278213 Log: Remove stale comments about the issues with HS mode. Remove a previous workaround to limit the minimum sdhci frequency that isn't needed anymore. Modified: head/s

svn commit: r278212 - head/sys/arm/broadcom/bcm2835

2015-02-04 Thread Luiz Otavio O Souza
Author: loos Date: Wed Feb 4 16:21:45 2015 New Revision: 278212 URL: https://svnweb.freebsd.org/changeset/base/278212 Log: Remove some duplicate calls to bus_release_resource() and destroy the mutex on error cases. While here remove unnecessary includes. Modified: head/sys/arm/broadco

svn commit: r278211 - head/sys/dev/ed

2015-02-04 Thread Warner Losh
Author: imp Date: Wed Feb 4 16:19:31 2015 New Revision: 278211 URL: https://svnweb.freebsd.org/changeset/base/278211 Log: Fix typo Submitted by: matteo@ Modified: head/sys/dev/ed/if_ed.c Modified: head/sys/dev/ed/if_ed.c =

svn commit: r278210 - head/sys/dev/ed

2015-02-04 Thread Warner Losh
Author: imp Date: Wed Feb 4 15:59:51 2015 New Revision: 278210 URL: https://svnweb.freebsd.org/changeset/base/278210 Log: Add comment about why checking for 0xff is OK. There's two bits in the ISR that are normally clear. RST is one, though in some overflow cases it can be set. RDC is only

svn commit: r278209 - head/sys/kern

2015-02-04 Thread Konstantin Belousov
Author: kib Date: Wed Feb 4 14:49:47 2015 New Revision: 278209 URL: https://svnweb.freebsd.org/changeset/base/278209 Log: Add ddb command 'show clocksource' to display state of the per-cpu clock events. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/sys/ker

svn commit: r278206 - head/release

2015-02-04 Thread Glen Barber
Author: gjb Date: Wed Feb 4 11:55:32 2015 New Revision: 278206 URL: https://svnweb.freebsd.org/changeset/base/278206 Log: Bump copyright after r277458. MFC after:2 weeks X-MFC-with: r277458, r277536, r277606, r277609, r277836, r278118, r278119 Sponsored by: The Fr

svn commit: r278204 - head/include

2015-02-04 Thread Garrett Cooper
Author: ngie Date: Wed Feb 4 11:48:33 2015 New Revision: 278204 URL: https://svnweb.freebsd.org/changeset/base/278204 Log: Sort the entries by build knob, then MACHINE_ARCH like other areas of the tree MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Modified: head/inclu

svn commit: r278202 - in head: include share/examples share/man/man4 share/man/man9 share/misc tools/build/mk

2015-02-04 Thread Garrett Cooper
Author: ngie Date: Wed Feb 4 11:43:19 2015 New Revision: 278202 URL: https://svnweb.freebsd.org/changeset/base/278202 Log: Clean up more usb related files when MK_USB == no when dealing with manpages, libraries, and binaries MFC after: 1 week X-MFC with: r278135 Sponsored by: EMC / I

svn commit: r278194 - head/share/man/man5

2015-02-04 Thread Garrett Cooper
Author: ngie Date: Wed Feb 4 10:29:53 2015 New Revision: 278194 URL: https://svnweb.freebsd.org/changeset/base/278194 Log: Regen src.conf(5) Modified: head/share/man/man5/src.conf.5 Modified: head/share/man/man5/src.conf.5

svn commit: r278193 - in head: lib share/mk tools/build/options usr.bin

2015-02-04 Thread Garrett Cooper
Author: ngie Date: Wed Feb 4 10:24:40 2015 New Revision: 278193 URL: https://svnweb.freebsd.org/changeset/base/278193 Log: Add MK_FILE to control whether or not to build file(1), libmagic(3), etc MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division Added: head/tools/build/op

svn commit: r278192 - in head: etc libexec share/mk tools/build/options usr.bin usr.sbin

2015-02-04 Thread Garrett Cooper
Author: ngie Date: Wed Feb 4 10:19:32 2015 New Revision: 278192 URL: https://svnweb.freebsd.org/changeset/base/278192 Log: Add the following options to enable/disable several features in the base system WITHOUT_BOOTPARAMD - bootparamd WITHOUT_BOOTPD - bootpd WITHOUT_FINGER - finger, f

svn commit: r278184 - in head/sys/x86: include x86

2015-02-04 Thread Bryan Venteicher
Author: bryanv Date: Wed Feb 4 08:33:04 2015 New Revision: 278184 URL: https://svnweb.freebsd.org/changeset/base/278184 Log: Add interface to derive a TSC frequency from the pvclock This can later use this to determine the TSC frequency like is done with VMware, instead of using a DELAY

svn commit: r278183 - in head/sys: amd64/include conf dev/xen/timer i386/include i386/xen x86/include x86/x86

2015-02-04 Thread Bryan Venteicher
Author: bryanv Date: Wed Feb 4 08:26:43 2015 New Revision: 278183 URL: https://svnweb.freebsd.org/changeset/base/278183 Log: Generalized parts of the XEN timer code into a generic pvclock KVM clock shares the same data structures between the guest and the host as Xen so it makes sense to