svn commit: r261075 - head/lib/libc/sys

2014-01-23 Thread Sergey Kandaurov
Author: pluknet Date: Thu Jan 23 09:37:03 2014 New Revision: 261075 URL: http://svnweb.freebsd.org/changeset/base/261075 Log: Update EINVAL description. This matches current POSIX standards and actual FreeBSD behavior. MFC after:1 week Modified: head/lib/libc/sys/posix_fallocate.2

Re: svn commit: r261014 - head/sys/dev/usb/wlan

2014-01-23 Thread Kevin Lo
On 2014/01/22 17:57, Hans Petter Selasky wrote: Author: hselasky Date: Wed Jan 22 09:57:26 2014 New Revision: 261014 URL: http://svnweb.freebsd.org/changeset/base/261014 Log: - Fix some non-portable code with regard to endianness. Don't use memmove(). - Fix a range check for maximum

Re: svn commit: r261014 - head/sys/dev/usb/wlan

2014-01-23 Thread Hans Petter Selasky
On 01/23/14 10:39, Kevin Lo wrote: On 2014/01/22 17:57, Hans Petter Selasky wrote: Author: hselasky Date: Wed Jan 22 09:57:26 2014 New Revision: 261014 URL: http://svnweb.freebsd.org/changeset/base/261014 Log: - Fix some non-portable code with regard to endianness. Don't use memmove().

svn commit: r261076 - head/sys/dev/usb/wlan

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Thu Jan 23 10:18:28 2014 New Revision: 261076 URL: http://svnweb.freebsd.org/changeset/base/261076 Log: Revert r261014. Let Kevin fix it. MFC after:1 week Modified: head/sys/dev/usb/wlan/if_run.c head/sys/dev/usb/wlan/if_runvar.h Modified:

svn commit: r261077 - in stable/10/sys: arm/broadcom/bcm2835 arm/lpc boot/uboot/lib dev/cesa dev/fdt powerpc/mpc85xx

2014-01-23 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jan 23 12:02:04 2014 New Revision: 261077 URL: http://svnweb.freebsd.org/changeset/base/261077 Log: MFC r257127: Remove all the instances of '#undef DEBUG' from kernel. Suggested by: rpaulo Approved by: adrian (mentor) Modified:

svn commit: r261078 - in stable/10/sys: arm/broadcom/bcm2835 arm/conf boot/fdt/dts conf

2014-01-23 Thread Luiz Otavio O Souza
Author: loos Date: Thu Jan 23 12:32:30 2014 New Revision: 261078 URL: http://svnweb.freebsd.org/changeset/base/261078 Log: MFC r256959: Add the Raspberry Pi BSC (I2C compliant) controller driver. Reviewed by:rpaulo MFC r256961: Enable the build of OFW I2C bus

svn commit: r261079 - head/release/doc/en_US.ISO8859-1/relnotes

2014-01-23 Thread Steven Kreuzer
Author: skreuzer (doc,ports committer) Date: Thu Jan 23 14:13:12 2014 New Revision: 261079 URL: http://svnweb.freebsd.org/changeset/base/261079 Log: jemalloc has been updated to version 3.5.0. Approved by: hrs (mentor) Modified: head/release/doc/en_US.ISO8859-1/relnotes/article.xml

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread David Chisnall
On 22 Jan 2014, at 22:36, Glen Barber g...@freebsd.org wrote: It needs to use the build host version, because using (for example) powerpc resulting binary won't work on and amd64 system. If it's used as part of the build, then it should be part of the toolchain target and we should be using

svn commit: r261081 - in head: . etc/mtree tests/sys tests/sys/kern tools/regression/sockets/unix_seqpacket tools/regression/sockets/unix_seqpacket_exercise

2014-01-23 Thread Alan Somers
Author: asomers Date: Thu Jan 23 17:26:28 2014 New Revision: 261081 URL: http://svnweb.freebsd.org/changeset/base/261081 Log: Replace the old unix_seqpacket and unix_seqpacket_exercise tests, which were a little broken and not automatable, with unix_seqpacket_test. It's coverage is a

svn commit: r261080 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern

2014-01-23 Thread Konstantin Belousov
Author: kib Date: Thu Jan 23 17:24:26 2014 New Revision: 261080 URL: http://svnweb.freebsd.org/changeset/base/261080 Log: The posix_fallocate(2) syscall should return error number on error, without modifying errno. Reported and tested by: Gennady Proskurin g...@mail.ru Reviewed

svn commit: r261082 - stable/9/sys/rpc

2014-01-23 Thread Alexander Motin
Author: mav Date: Thu Jan 23 17:27:16 2014 New Revision: 261082 URL: http://svnweb.freebsd.org/changeset/base/261082 Log: Fix build on stable/9. I am sorry. :( Modified: stable/9/sys/rpc/svc.h stable/9/sys/rpc/svc_vc.c Modified: stable/9/sys/rpc/svc.h

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

2014-01-23 Thread Warner Losh
Author: imp Date: Thu Jan 23 18:09:10 2014 New Revision: 261083 URL: http://svnweb.freebsd.org/changeset/base/261083 Log: Add Atmel serial drivers. Modified: head/sys/dev/uart/uart.h head/sys/dev/uart/uart_bus_fdt.c Modified: head/sys/dev/uart/uart.h

svn commit: r261084 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:07:22 2014 New Revision: 261084 URL: http://svnweb.freebsd.org/changeset/base/261084 Log: malloc() with M_WAITOK doesn't return NULL. MFC after:1 week Modified: head/sys/geom/geom_ctl.c Modified: head/sys/geom/geom_ctl.c

svn commit: r261085 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:31:17 2014 New Revision: 261085 URL: http://svnweb.freebsd.org/changeset/base/261085 Log: Fix typo in r261084. Add to the gctl_error() an ability to specify error description even if numeric error code is already specified. Also by default set error code to

Re: svn commit: r260898 - head/sys/kern

2014-01-23 Thread John Baldwin
On Thursday, January 23, 2014 2:35:54 am Adrian Chadd wrote: On 22 January 2014 20:34, Rui Paulo rpa...@freebsd.org wrote: On 22 Jan 2014, at 20:05, Adrian Chadd adrian.ch...@gmail.com wrote: .. Make it be an offset into the table rather than a pointer, then we can do dirty rcu style hacks

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread John Baldwin
On Thursday, January 23, 2014 10:42:36 am David Chisnall wrote: On 22 Jan 2014, at 22:36, Glen Barber g...@freebsd.org wrote: It needs to use the build host version, because using (for example) powerpc resulting binary won't work on and amd64 system. If it's used as part of the build,

Re: svn commit: r260898 - head/sys/kern

2014-01-23 Thread John Baldwin
On Wednesday, January 22, 2014 5:54:56 pm Alfred Perlstein wrote: On 1/22/14, 2:52 PM, John-Mark Gurney wrote: Alfred Perlstein wrote this message on Wed, Jan 22, 2014 at 14:15 -0800: On 1/22/14, 1:22 PM, John Baldwin wrote: On Wednesday, January 22, 2014 3:59:37 pm Alfred Perlstein

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread Bryan Drewery
On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 10:42:36 am David Chisnall wrote: On 22 Jan 2014, at 22:36, Glen Barber g...@freebsd.org wrote: It needs to use the build host version, because using (for example) powerpc resulting binary won't

svn commit: r261086 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:55:02 2014 New Revision: 261086 URL: http://svnweb.freebsd.org/changeset/base/261086 Log: In gctl_copyin() remove unused error variable. geom_alloc_copyin() can't return ENOMEM, so describe its fail as bad control request. Add check for NULL pointer in

svn commit: r261087 - in head/sys: amd64/amd64 amd64/include amd64/vmm dev/hwpmc i386/i386 i386/include i386/xen pc98/include pc98/pc98 x86/acpica x86/include x86/x86 x86/xen

2014-01-23 Thread John Baldwin
Author: jhb Date: Thu Jan 23 20:10:22 2014 New Revision: 261087 URL: http://svnweb.freebsd.org/changeset/base/261087 Log: Move machine/apicvar.h to x86/apicvar.h. Added: head/sys/x86/include/apicvar.h - copied, changed from r260983, head/sys/i386/include/apicvar.h Deleted:

Re: svn commit: r261085 - head/sys/geom

2014-01-23 Thread Mateusz Guzik
On Thu, Jan 23, 2014 at 07:31:17PM +, Andrey V. Elsukov wrote: @@ -122,7 +123,7 @@ geom_alloc_copyin(struct gctl_req *req, void *ptr; ptr = g_malloc(len, M_WAITOK); - nreq-nerror = copyin(uaddr, ptr, len); + req-nerror = copyin(uaddr, ptr, len); if

svn commit: r261088 - in stable/10: lib/libvmmapi sys/amd64/include sys/amd64/vmm sys/amd64/vmm/intel sys/amd64/vmm/io sys/modules/vmm usr.sbin/bhyve

2014-01-23 Thread John Baldwin
Author: jhb Date: Thu Jan 23 20:21:39 2014 New Revision: 261088 URL: http://svnweb.freebsd.org/changeset/base/261088 Log: MFC 257422,257661,258075,258476,258494,258579,258609,258699: Several enhancements to the I/O APIC support in bhyve including: - Move the I/O APIC device model from

svn commit: r261089 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 20:25:38 2014 New Revision: 261089 URL: http://svnweb.freebsd.org/changeset/base/261089 Log: Remove another unneeded NULL check from geom_alloc_copyin(). Do copyout in case of gctl version mismatch and fix sbuf leak in g_ctl_ioctl_ctl(). MFC after:1 week

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread John Baldwin
On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 10:42:36 am David Chisnall wrote: On 22 Jan 2014, at 22:36, Glen Barber g...@freebsd.org wrote: It needs to use the build host

svn commit: r261090 - stable/10/usr.sbin/bhyve

2014-01-23 Thread John Baldwin
Author: jhb Date: Thu Jan 23 20:35:32 2014 New Revision: 261090 URL: http://svnweb.freebsd.org/changeset/base/261090 Log: MFC 259826,259997,259998: Support soft power-off via the ACPI S5 state for bhyve guests and wire up a virtual power button to SIGTERM: - Implement the PM1_EVT and

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread Bryan Drewery
On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 10:42:36 am David Chisnall wrote: On 22 Jan 2014, at 22:36, Glen Barber

svn commit: r261091 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 21:30:31 2014 New Revision: 261091 URL: http://svnweb.freebsd.org/changeset/base/261091 Log: Always free sbuf in gctl_free(). MFC after:1 week Modified: head/sys/geom/geom_ctl.c Modified: head/sys/geom/geom_ctl.c

Re: svn commit: r261072 - in head: share/man/man5 share/mk tools/build/options

2014-01-23 Thread Steven Kreuzer
Hi Julio- Thanks. I forgot to include the MFC line in this commit. I set a reminder for myself and I will merge it in 3 days. On Wed, Jan 22, 2014 at 10:19 PM, Julio Merino ju...@meroh.net wrote: On Jan 22, 2014, at 22:14, Steven Kreuzer skreu...@freebsd.org wrote: Author: skreuzer (doc,ports

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread Bryan Drewery
On Thu, Jan 23, 2014 at 03:22:56PM -0600, Bryan Drewery wrote: On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 10:42:36

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread John Baldwin
On Thursday, January 23, 2014 4:22:56 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 10:42:36

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread Peter Wemm
On 1/23/14, 2:12 PM, John Baldwin wrote: On Thursday, January 23, 2014 4:22:56 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 02:39:14PM -0500, John Baldwin wrote: On

Re: svn commit: r261080 - in head: lib/libc/sys sys/compat/freebsd32 sys/kern

2014-01-23 Thread Bruce Evans
On Thu, 23 Jan 2014, Konstantin Belousov wrote: Author: kib Log: The posix_fallocate(2) syscall should return error number on error, without modifying errno. Reported and tested by:Gennady Proskurin g...@mail.ru Reviewed by: mdf This needs many more fixes. I pointed out some

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

2014-01-23 Thread Warner Losh
Author: imp Date: Fri Jan 24 00:14:14 2014 New Revision: 261092 URL: http://svnweb.freebsd.org/changeset/base/261092 Log: clock-frequency is a FreeBSD-specific extention. Make it optional and allow the client uart drivers to decide if a frequency is required. Modified:

Re: svn commit: r261085 - head/sys/geom

2014-01-23 Thread John-Mark Gurney
Mateusz Guzik wrote this message on Thu, Jan 23, 2014 at 21:17 +0100: On Thu, Jan 23, 2014 at 07:31:17PM +, Andrey V. Elsukov wrote: @@ -122,7 +123,7 @@ geom_alloc_copyin(struct gctl_req *req, void *ptr; ptr = g_malloc(len, M_WAITOK); - nreq-nerror = copyin(uaddr, ptr,

svn commit: r261093 - stable/10/sys/dev/mfi

2014-01-23 Thread Alexander Motin
Author: mav Date: Fri Jan 24 00:41:02 2014 New Revision: 261093 URL: http://svnweb.freebsd.org/changeset/base/261093 Log: MFC r260521: Remove not applicable PI_SDTR_ABLE and PI_WIDE_16 hba_inquiry flags to make CAM to not try negotiate unsupported settings and suppress warnings. While

svn commit: r261094 - head/sys/dev/fdt

2014-01-23 Thread Ian Lepore
Author: ian Date: Fri Jan 24 00:42:18 2014 New Revision: 261094 URL: http://svnweb.freebsd.org/changeset/base/261094 Log: Be more robust with malformed interrupt config data. Instead of crashing or going into a near-infinite loop, warn and make potentially-reasonable assumptions.

Re: svn commit: r261031 - in head: . etc usr.sbin/etcupdate usr.sbin/mergemaster

2014-01-23 Thread John-Mark Gurney
Peter Wemm wrote this message on Thu, Jan 23, 2014 at 14:48 -0800: On 1/23/14, 2:12 PM, John Baldwin wrote: On Thursday, January 23, 2014 4:22:56 pm Bryan Drewery wrote: On Thu, Jan 23, 2014 at 03:03:42PM -0500, John Baldwin wrote: On Thursday, January 23, 2014 2:48:41 pm Bryan Drewery

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

2014-01-23 Thread Justin Hibbits
Author: jhibbits Date: Fri Jan 24 02:57:00 2014 New Revision: 261095 URL: http://svnweb.freebsd.org/changeset/base/261095 Log: Fix 32-bit signal handling on ppc64. This was broken when the PSL_USERSTATIC macro was changed. Since copying 64-bit srr1 into 32-bit srr1 drops the upper 32

svn commit: r261096 - stable/10/sys/dev/usb/controller

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:24:40 2014 New Revision: 261096 URL: http://svnweb.freebsd.org/changeset/base/261096 Log: MFC r260388, r260535 and r260536: Fix XHCI interrupt logic for Intel Lynx Point found in MBP2013. Modified: stable/10/sys/dev/usb/controller/xhci.c Directory

svn commit: r261097 - stable/9/sys/dev/usb/controller

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:27:11 2014 New Revision: 261097 URL: http://svnweb.freebsd.org/changeset/base/261097 Log: MFC r260388, r260535 and r260536: Fix XHCI interrupt logic for Intel Lynx Point found in MBP2013. Modified: stable/9/sys/dev/usb/controller/xhci.c Directory

svn commit: r261098 - stable/8/sys/dev/usb/controller

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:29:31 2014 New Revision: 261098 URL: http://svnweb.freebsd.org/changeset/base/261098 Log: MFC r260388, r260535 and r260536: Fix XHCI interrupt logic for Intel Lynx Point found in MBP2013. Modified: stable/8/sys/dev/usb/controller/xhci.c Directory

svn commit: r261099 - stable/10/sys/dev/usb/serial

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:32:05 2014 New Revision: 261099 URL: http://svnweb.freebsd.org/changeset/base/261099 Log: MFC r260559: Don't do synchronous USB requests inside USB transfer callbacks. It is technically OK, but not recommended. Modified:

svn commit: r261100 - stable/9/sys/dev/usb/serial

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:33:54 2014 New Revision: 261100 URL: http://svnweb.freebsd.org/changeset/base/261100 Log: MFC r260559: Don't do synchronous USB requests inside USB transfer callbacks. It is technically OK, but not recommended. Modified:

svn commit: r261101 - stable/8/sys/dev/usb/serial

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:35:27 2014 New Revision: 261101 URL: http://svnweb.freebsd.org/changeset/base/261101 Log: MFC r260559: Don't do synchronous USB requests inside USB transfer callbacks. It is technically OK, but not recommended. Modified:

svn commit: r261102 - stable/8/sys/dev/usb/controller

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:40:58 2014 New Revision: 261102 URL: http://svnweb.freebsd.org/changeset/base/261102 Log: MFC r260563: Make sure reserved fields of the EHCI DMA descriptors are not dirty after previous transfers. Modified: stable/8/sys/dev/usb/controller/ehci.c

svn commit: r261103 - stable/9/sys/dev/usb/controller

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:42:26 2014 New Revision: 261103 URL: http://svnweb.freebsd.org/changeset/base/261103 Log: MFC r260563: Make sure reserved fields of the EHCI DMA descriptors are not dirty after previous transfers. Modified: stable/9/sys/dev/usb/controller/ehci.c

svn commit: r261104 - stable/10/sys/dev/usb/controller

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:43:46 2014 New Revision: 261104 URL: http://svnweb.freebsd.org/changeset/base/261104 Log: MFC r260563: Make sure reserved fields of the EHCI DMA descriptors are not dirty after previous transfers. Modified: stable/10/sys/dev/usb/controller/ehci.c

svn commit: r261105 - in stable/10/sys/dev/usb: . controller

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:48:52 2014 New Revision: 261105 URL: http://svnweb.freebsd.org/changeset/base/261105 Log: MFC r260588 and r260589: - Separate I/O errors from reception of STALL PID. - Implement better error recovery for Transaction Translators, TTs, found in High

svn commit: r261106 - in stable/9/sys/dev/usb: . controller

2014-01-23 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jan 24 07:57:21 2014 New Revision: 261106 URL: http://svnweb.freebsd.org/changeset/base/261106 Log: MFC r260588 and r260589: - Separate I/O errors from reception of STALL PID. - Implement better error recovery for Transaction Translators, TTs, found in High