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

2014-08-04 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 5 06:38:21 2014 New Revision: 269566 URL: http://svnweb.freebsd.org/changeset/base/269566 Log: Fix for deadlock in USB device side mode. MFC after:3 days Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c =

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

2014-08-04 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 5 06:37:07 2014 New Revision: 269565 URL: http://svnweb.freebsd.org/changeset/base/269565 Log: Rename driver name a bit to avoid unit number confusion in dmesg. MFC after:3 days Modified: head/sys/dev/usb/controller/usb_controller.c head/sys/dev/usb/

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

2014-08-04 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 5 06:33:59 2014 New Revision: 269564 URL: http://svnweb.freebsd.org/changeset/base/269564 Log: - Implement fast interrupt handler to save CPU usage. - Add support for striding register offsets. - Cleanup some register reads and writes to use existing register

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

2014-08-04 Thread Hans Petter Selasky
Author: hselasky Date: Tue Aug 5 06:31:09 2014 New Revision: 269563 URL: http://svnweb.freebsd.org/changeset/base/269563 Log: Ensure we catch USB transfers which complete right away. Modified: head/sys/dev/usb/controller/saf1761_otg.c Modified: head/sys/dev/usb/controller/saf1761_otg.c

svn commit: r269550 - head/usr.sbin/cron/cron

2014-08-04 Thread Peter Wemm
Author: peter Date: Tue Aug 5 01:32:09 2014 New Revision: 269550 URL: http://svnweb.freebsd.org/changeset/base/269550 Log: Check gethostname(2) return code - but even if it succeeds it may not null terminate. Temporarily use "From: $user@$hostname" rather than "From: $user". The latter

svn commit: r269548 - head/sys/fs/ext2fs

2014-08-04 Thread Pedro F . Giffuni
Author: pfg Date: Tue Aug 5 01:25:14 2014 New Revision: 269548 URL: http://svnweb.freebsd.org/changeset/base/269548 Log: Revert r269523: Providing a higher EXT2_LINK_MAX limit is a bad idea for ext2/3. Discussed with: bde Modified: head/sys/fs/ext2fs/ext2_dir.h Modified: hea

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

2014-08-04 Thread Xin LI
Author: delphij Date: Tue Aug 5 00:07:21 2014 New Revision: 269543 URL: http://svnweb.freebsd.org/changeset/base/269543 Log: MFV r269542: In vdev_get_stats, check that the vdev is not a hole before computing the fragmentation. This fixes a panic when removing log device. Illumos is

Re: svn commit: r269474 - in head: share/man/man4 sys/dev/vt

2014-08-04 Thread Bruce Evans
On Mon, 4 Aug 2014, John Baldwin wrote: On Aug 3, 2014, at 6:07 AM, Aleksandr Rybalko wrote: Log: Allow to disable some special key combinations handled by vt(4), like debug request, reboot request. Requested by: Claude Buisson Sponsored by: The FreeBSD Foundation I realize the API

Re: svn commit: r269540 - in head/sys: conf modules/an modules/arcnet modules/cam modules/carp modules/cxgb/cxgb modules/cxgb/iw_cxgb modules/cxgb/tom modules/cxgbe/if_cxgbe modules/cxgbe/iw_cxgbe mod

2014-08-04 Thread Adrian Chadd
[snip] Oh thank god! -a ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r269541 - in head: . sys/boot/kshim sys/boot/usb sys/boot/usb/tools

2014-08-04 Thread Brooks Davis
Author: brooks Date: Mon Aug 4 23:00:13 2014 New Revision: 269541 URL: http://svnweb.freebsd.org/changeset/base/269541 Log: Merge from CheriBSD: Make the sysinit tool a build tool rather than building in with /usr/bin/cc and running it from OBJDIR. (It will be moved to usr.bin once a

svn commit: r269540 - in head/sys: conf modules/an modules/arcnet modules/cam modules/carp modules/cxgb/cxgb modules/cxgb/iw_cxgb modules/cxgb/tom modules/cxgbe/if_cxgbe modules/cxgbe/iw_cxgbe modu...

2014-08-04 Thread Warner Losh
Author: imp Date: Mon Aug 4 22:37:02 2014 New Revision: 269540 URL: http://svnweb.freebsd.org/changeset/base/269540 Log: Move most of the 15 variations on generating opt_inet.h and opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt

Re: svn commit: r269523 - head/sys/fs/ext2fs

2014-08-04 Thread Pedro Giffuni
Il giorno 04/ago/2014, alle ore 14:01, Bruce Evans ha scritto: > On Mon, 4 Aug 2014, Pedro F. Giffuni wrote: > >> Log: >> set EXT2_LINK_MAX to LINK_MAX >> >> In linux EXT4_LINK_MAX is now 64000. We can't really do that >> since i_nlink and va_nlink are signed so setting higher values >> is l

svn commit: r269539 - head/sys/conf

2014-08-04 Thread Warner Losh
Author: imp Date: Mon Aug 4 22:34:56 2014 New Revision: 269539 URL: http://svnweb.freebsd.org/changeset/base/269539 Log: Include the kernel options after bsd.init.mk so that when we're compiling on older systems that define all the MK variables in bsd.own.mk we don't get the multiply define

svn commit: r269538 - in head/sys/modules: acl_nfs4 acl_posix1e alq cc/cc_cdg cc/cc_chd cc/cc_cubic cc/cc_hd cc/cc_htcp cc/cc_vegas drm2/radeonkms dtrace ibcore ip6_mroute_mod ip_mroute_mod khelp/h...

2014-08-04 Thread Warner Losh
Author: imp Date: Mon Aug 4 22:34:12 2014 New Revision: 269538 URL: http://svnweb.freebsd.org/changeset/base/269538 Log: Remove unnecessary inclusions of bsd.own.mk. Modified: head/sys/modules/acl_nfs4/Makefile head/sys/modules/acl_posix1e/Makefile head/sys/modules/alq/Makefile head/sy

svn commit: r269537 - head/sys/dev/cxgbe

2014-08-04 Thread Navdeep Parhar
Author: np Date: Mon Aug 4 22:32:16 2014 New Revision: 269537 URL: http://svnweb.freebsd.org/changeset/base/269537 Log: cxgbe(4): Do not run any sleepable code in the SIOCSIFFLAGS handler when IFF_PROMISC or IFF_ALLMULTI is being flipped. bpf(4) holds its global mutex around ifpromisc in a

svn commit: r269534 - in head: etc/mtree lib/libmp lib/libmp/tests tools/regression/lib/libmp

2014-08-04 Thread Garrett Cooper
Author: ngie Date: Mon Aug 4 22:10:07 2014 New Revision: 269534 URL: http://svnweb.freebsd.org/changeset/base/269534 Log: Integrate lib/libmp into the build/kyua - Remove the .t wrapper - Fix -Wreturn-type warnings with clang This change has been tested on amd64/i386 Phabric: D

svn commit: r269533 - in head/sys: kern ufs/ffs

2014-08-04 Thread Kirk McKusick
Author: mckusick Date: Mon Aug 4 22:03:58 2014 New Revision: 269533 URL: http://svnweb.freebsd.org/changeset/base/269533 Log: Add support for multi-threading of soft updates. Replace a single soft updates thread with a thread per FFS-filesystem mount point. The threads are associated wit

Re: svn commit: r269474 - in head: share/man/man4 sys/dev/vt

2014-08-04 Thread John Baldwin
On Aug 3, 2014, at 6:07 AM, Aleksandr Rybalko wrote: > Author: ray > Date: Sun Aug 3 13:07:25 2014 > New Revision: 269474 > URL: http://svnweb.freebsd.org/changeset/base/269474 > > Log: > Allow to disable some special key combinations handled by vt(4), like debug > request, reboot request. >

svn commit: r269530 - head/lib/libc/iconv

2014-08-04 Thread John-Mark Gurney
Author: jmg Date: Mon Aug 4 21:12:38 2014 New Revision: 269530 URL: http://svnweb.freebsd.org/changeset/base/269530 Log: fix misordering... Obtained from:gjb MFC after:1 week Modified: head/lib/libc/iconv/iconv.3 Modified: head/lib/libc/iconv/iconv.3 =

svn commit: r269529 - head/lib/libc/iconv

2014-08-04 Thread John-Mark Gurney
Author: jmg Date: Mon Aug 4 20:58:59 2014 New Revision: 269529 URL: http://svnweb.freebsd.org/changeset/base/269529 Log: add xrefs for the other functions... There should be more text in this page talking about each of these links, but at least people know about them now... MFC afte

svn commit: r269528 - head/sys/gnu/dts/include/dt-bindings/clock

2014-08-04 Thread Ian Lepore
Author: ian Date: Mon Aug 4 20:50:46 2014 New Revision: 269528 URL: http://svnweb.freebsd.org/changeset/base/269528 Log: Bring in the latest standard defines for imx6 clocks referenced in dts files. Added: head/sys/gnu/dts/include/dt-bindings/clock/imx6sx-clock.h (contents, props changed)

svn commit: r269527 - in head: lib/libc/net sys/netinet

2014-08-04 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 4 20:07:35 2014 New Revision: 269527 URL: http://svnweb.freebsd.org/changeset/base/269527 Log: Add support for the SCTP_RECONFIG_SUPPORTED and the corresponding sysctl controlling the negotiation of the RE-CONFIG extension. MFC after: 3 days Modified: head

svn commit: r269526 - head/sys/netinet

2014-08-04 Thread Hiren Panchasara
Author: hiren Date: Mon Aug 4 19:42:48 2014 New Revision: 269526 URL: http://svnweb.freebsd.org/changeset/base/269526 Log: Add a comment for easier code understanding. Modified: head/sys/netinet/tcp_timewait.c Modified: head/sys/netinet/tcp_timewait.c ===

svn commit: r269525 - head/sys/cddl/contrib/opensolaris/uts/common/dtrace

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 19:02:30 2014 New Revision: 269525 URL: http://svnweb.freebsd.org/changeset/base/269525 Log: Return 0 for the PPID of threads in process 0, as process 0 doesn't have a parent process. MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/c

Re: svn commit: r269523 - head/sys/fs/ext2fs

2014-08-04 Thread Bruce Evans
On Mon, 4 Aug 2014, Pedro F. Giffuni wrote: Log: set EXT2_LINK_MAX to LINK_MAX In linux EXT4_LINK_MAX is now 64000. We can't really do that since i_nlink and va_nlink are signed so setting higher values is likely to cause trouble. Hmm, va_nlink doesn't use nlink_t and is inconsistent wit

svn commit: r269524 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2014-08-04 Thread Mark Johnston
Author: markj Date: Mon Aug 4 18:52:26 2014 New Revision: 269524 URL: http://svnweb.freebsd.org/changeset/base/269524 Log: Preserve the errno value of an ioctl before calling free(3). Previously, errno was very occasionally being clobbered, resulting in a bogus error from dt_consume() and t

Re: svn commit: r269505 - head/libexec/rtld-elf/tests/target

2014-08-04 Thread Garrett Cooper
Hi Bruce! On Aug 4, 2014, at 2:23 AM, Bruce Evans wrote: > On Mon, 4 Aug 2014, Garrett Cooper wrote: ... > I hope this fixes the error found by "make checkdpadd". -L is too hard > for the current "make checkdpadd" to handle. Old aout versions worked > better using linker support. They also

svn commit: r269523 - head/sys/fs/ext2fs

2014-08-04 Thread Pedro F . Giffuni
Author: pfg Date: Mon Aug 4 16:41:06 2014 New Revision: 269523 URL: http://svnweb.freebsd.org/changeset/base/269523 Log: set EXT2_LINK_MAX to LINK_MAX In linux EXT4_LINK_MAX is now 64000. We can't really do that since i_nlink and va_nlink are signed so setting higher values is likely

svn commit: r269522 - head/usr.sbin/jail

2014-08-04 Thread Steven Hartland
Author: smh Date: Mon Aug 4 16:32:08 2014 New Revision: 269522 URL: http://svnweb.freebsd.org/changeset/base/269522 Log: Added support for extra ifconfig args to jail ip4.addr & ip6.addr params This allows for CARP interfaces to be used in jails e.g. ip4.addr = "em0|10.10.1.20/32 vhid 1

Re: svn commit: r269505 - head/libexec/rtld-elf/tests/target

2014-08-04 Thread Bruce Evans
On Mon, 4 Aug 2014, Garrett Cooper wrote: Log: Move a -L argument from LDADD to LDFLAGS Phabric: D525 (part of a larger patch) Reviewed by: jmmv Approved by: jmmv (co-mentor) Modified: head/libexec/rtld-elf/tests/target/Makefile Modified: head/libexec/rtld-elf/tests/target/Makefile

svn commit: r269515 - in head/sys: dev/acpica x86/include x86/xen

2014-08-04 Thread Roger Pau Monné
Author: royger Date: Mon Aug 4 09:05:28 2014 New Revision: 269515 URL: http://svnweb.freebsd.org/changeset/base/269515 Log: xen: add ACPI bus to xen_nexus when running as Dom0 Also disable a couple of ACPI devices that are not usable under Dom0. To this end a couple of booleans are added

svn commit: r269514 - head/sys/dev/xen/console

2014-08-04 Thread Roger Pau Monné
Author: royger Date: Mon Aug 4 09:02:49 2014 New Revision: 269514 URL: http://svnweb.freebsd.org/changeset/base/269514 Log: xen: Dom0 console fixes Minor fixes to make the Xen Dom0 console work. This includes always returning there's pending input in xencons_has_input, because on Dom0

svn commit: r269513 - head/sys/x86/xen

2014-08-04 Thread Roger Pau Monné
Author: royger Date: Mon Aug 4 09:01:21 2014 New Revision: 269513 URL: http://svnweb.freebsd.org/changeset/base/269513 Log: xen: implement support for mapping IO APIC interrupts on Xen Allow a privileged Xen guest (Dom0) to parse the MADT ACPI interrupt overrides and register them with t

svn commit: r269512 - in head/sys/x86: acpica include

2014-08-04 Thread Roger Pau Monné
Author: royger Date: Mon Aug 4 08:58:50 2014 New Revision: 269512 URL: http://svnweb.freebsd.org/changeset/base/269512 Log: x86/madt: make the interrupt override parser a public function Split a portion of the code in madt_parse_interrupt_override to a separate function, that is public a

svn commit: r269511 - in head/sys/x86: acpica xen

2014-08-04 Thread Roger Pau Monné
Author: royger Date: Mon Aug 4 08:56:20 2014 New Revision: 269511 URL: http://svnweb.freebsd.org/changeset/base/269511 Log: xen: change quality of the MADT ACPI enumerator Lower the quality of the MADT ACPI enumerator, so on Xen Dom0 we can force the usage of the Xen mptable enumerator e

svn commit: r269510 - in head/sys/x86: x86 xen

2014-08-04 Thread Roger Pau Monné
Author: royger Date: Mon Aug 4 08:54:34 2014 New Revision: 269510 URL: http://svnweb.freebsd.org/changeset/base/269510 Log: xen: change order of Xen intr init and IO APIC registration This change inserts the Xen interrupt subsystem (event channels) initialization between the system inter

svn commit: r269509 - head/sys/x86/xen

2014-08-04 Thread Roger Pau Monné
Author: royger Date: Mon Aug 4 08:52:10 2014 New Revision: 269509 URL: http://svnweb.freebsd.org/changeset/base/269509 Log: xen: add a DDB command to print event channel information Add a new DDB command to dump all registered event channels. Sponsored by: Citrix Systems R&D x86/

svn commit: r269508 - head/sys/x86/xen

2014-08-04 Thread Roger Pau Monné
Author: royger Date: Mon Aug 4 08:43:27 2014 New Revision: 269508 URL: http://svnweb.freebsd.org/changeset/base/269508 Log: xen: mask all event channels on init Mask all event channels during initialization. This is done so that we don't receive spurious interrupts while dynamically regi

svn commit: r269507 - in head/sys: x86/xen xen

2014-08-04 Thread Roger Pau Monné
Author: royger Date: Mon Aug 4 08:42:29 2014 New Revision: 269507 URL: http://svnweb.freebsd.org/changeset/base/269507 Log: xen: implement event channel PIRQ support This allows Dom0 to manage physical hardware, redirecting the physical interrupts to event channels. Sponsored by: Ci

Re: svn commit: r269506 - head/libexec/rtld-elf/tests/target

2014-08-04 Thread Garrett Cooper
On Aug 3, 2014, at 10:50 PM, Garrett Cooper wrote: > Author: ngie > Date: Mon Aug 4 05:50:21 2014 > New Revision: 269506 > URL: http://svnweb.freebsd.org/changeset/base/269506 > > Log: > Fix BINDIR to not duplicate "${TESTSDIR} > > This should fix 'make release' with MK_TESTS != no > > Pha