svn commit: r279958 - in stable: 10/share/mk 9/share/mk

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 17:45:34 2015 New Revision: 279958 URL: https://svnweb.freebsd.org/changeset/base/279958 Log: MFC 278682: Make the extra dependencies in DPADD be dependencies of PROG_FULL and SHLIB_NAME_FULL so that the full binary is relinked when a dependency changes.

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-13 Thread Konstantin Belousov
On Fri, Mar 13, 2015 at 11:13:22AM -0700, Nathan Whitehorn wrote: The compiler assumes that f14-f31 and v20-v31 are preserved by setjmp() (and, e.g. glibc's setjmp() does in fact preserve them). It also tries not to use those registers too much, so the practical impact is limited, but it

svn commit: r279959 - head/usr.sbin/bhyve

2015-03-13 Thread Alexander Motin
Author: mav Date: Fri Mar 13 18:04:07 2015 New Revision: 279959 URL: https://svnweb.freebsd.org/changeset/base/279959 Log: Use ahci_write_fis_d2h() for commands completion. MFC after:2 weeks Modified: head/usr.sbin/bhyve/pci_ahci.c Modified: head/usr.sbin/bhyve/pci_ahci.c

svn commit: r279962 - head/lib/libc/posix1e

2015-03-13 Thread Pedro F. Giffuni
Author: pfg Date: Fri Mar 13 18:42:43 2015 New Revision: 279962 URL: https://svnweb.freebsd.org/changeset/base/279962 Log: libc: plug memory leaks in edge cases for the posix1e code. CID: 1016705 CID: 1016706 CID: 1016707 Differential Revision:

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-13 Thread Konstantin Belousov
On Fri, Mar 13, 2015 at 10:06:05AM -0700, Nathan Whitehorn wrote: One more thing I'd appreciate advice on: we have a much worse ABI issue with setjmp(). On 32-bit systems, _JBLEN is too small to hold all the nonvolatile vector registers. Do you have any ideas how to handle that? There is no

Re: svn commit: r279932 - head/sys/vm

2015-03-13 Thread John Baldwin
On Friday, March 13, 2015 10:14:27 AM Ian Lepore wrote: On Fri, 2015-03-13 at 06:24 -0400, John Baldwin wrote: On Thursday, March 12, 2015 05:24:51 PM Ian Lepore wrote: On Thu, 2015-03-12 at 17:02 -0400, Ryan Stone wrote: On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore i...@freebsd.org

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-13 Thread Nathan Whitehorn
On 03/13/15 10:23, Konstantin Belousov wrote: On Fri, Mar 13, 2015 at 10:06:05AM -0700, Nathan Whitehorn wrote: One more thing I'd appreciate advice on: we have a much worse ABI issue with setjmp(). On 32-bit systems, _JBLEN is too small to hold all the nonvolatile vector registers. Do you

svn commit: r279958 - in stable: 10/share/mk 9/share/mk

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 17:45:34 2015 New Revision: 279958 URL: https://svnweb.freebsd.org/changeset/base/279958 Log: MFC 278682: Make the extra dependencies in DPADD be dependencies of PROG_FULL and SHLIB_NAME_FULL so that the full binary is relinked when a dependency changes.

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-13 Thread Nathan Whitehorn
On 03/13/15 10:59, Konstantin Belousov wrote: On Fri, Mar 13, 2015 at 10:45:46AM -0700, Nathan Whitehorn wrote: We'll need to hack the compiler in this case, since it assumes setjmp() saves and restores the vector registers. I'm really not sure which option is worse. Changing the compiler is

svn commit: r279960 - head/usr.sbin/bhyve

2015-03-13 Thread Alexander Motin
Author: mav Date: Fri Mar 13 18:35:38 2015 New Revision: 279960 URL: https://svnweb.freebsd.org/changeset/base/279960 Log: Add support for PIO variants of READ/WRITE commands for AHCI disks. AHCI API hides all PIO specifics, so this functionality is almost free. MFC after:2 weeks

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-13 Thread Konstantin Belousov
On Fri, Mar 13, 2015 at 10:45:46AM -0700, Nathan Whitehorn wrote: We'll need to hack the compiler in this case, since it assumes setjmp() saves and restores the vector registers. I'm really not sure which option is worse. Changing the compiler is arguably much worse than breaking ABI of the

svn commit: r279961 - stable/10/sys/dev/drm2/i915

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 18:38:02 2015 New Revision: 279961 URL: https://svnweb.freebsd.org/changeset/base/279961 Log: MFC 270516: i915 driver - enable opregion handle; program CADL. add opregion handling for drm2 - which exposes some ACPI video configuration pieces that some

Re: svn commit: r279932 - head/sys/vm

2015-03-13 Thread Ian Lepore
On Fri, 2015-03-13 at 13:19 -0400, John Baldwin wrote: On Friday, March 13, 2015 10:14:27 AM Ian Lepore wrote: On Fri, 2015-03-13 at 06:24 -0400, John Baldwin wrote: On Thursday, March 12, 2015 05:24:51 PM Ian Lepore wrote: [...] In general I'm glad I got called away to an onsite

svn commit: r279967 - head/usr.sbin/bhyve

2015-03-13 Thread Alexander Motin
Author: mav Date: Fri Mar 13 20:56:17 2015 New Revision: 279967 URL: https://svnweb.freebsd.org/changeset/base/279967 Log: Change prdbc value reporting. MFC after:2 weeks Modified: head/usr.sbin/bhyve/pci_ahci.c Modified: head/usr.sbin/bhyve/pci_ahci.c

svn commit: r279964 - in stable: 8/sys/dev/ipmi 9/sys/dev/ipmi

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 20:10:09 2015 New Revision: 279964 URL: https://svnweb.freebsd.org/changeset/base/279964 Log: MFC 278321: Use direct hardware access for internal requests for KCS and SMIC. In particular, updates to the watchdog should no longer sleep. - Add a new

svn commit: r279964 - in stable: 8/sys/dev/ipmi 9/sys/dev/ipmi

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 20:10:09 2015 New Revision: 279964 URL: https://svnweb.freebsd.org/changeset/base/279964 Log: MFC 278321: Use direct hardware access for internal requests for KCS and SMIC. In particular, updates to the watchdog should no longer sleep. - Add a new

Re: svn commit: r279932 - head/sys/vm

2015-03-13 Thread John Baldwin
On Friday, March 13, 2015 02:42:13 PM Ian Lepore wrote: On Fri, 2015-03-13 at 14:34 -0400, John Baldwin wrote: On Friday, March 13, 2015 11:57:58 AM Ian Lepore wrote: On Fri, 2015-03-13 at 13:19 -0400, John Baldwin wrote: On Friday, March 13, 2015 10:14:27 AM Ian Lepore wrote: On

Re: svn commit: r279932 - head/sys/vm

2015-03-13 Thread John Baldwin
On Friday, March 13, 2015 11:57:58 AM Ian Lepore wrote: On Fri, 2015-03-13 at 13:19 -0400, John Baldwin wrote: On Friday, March 13, 2015 10:14:27 AM Ian Lepore wrote: On Fri, 2015-03-13 at 06:24 -0400, John Baldwin wrote: On Thursday, March 12, 2015 05:24:51 PM Ian Lepore wrote: [...]

svn commit: r279963 - in head/sys/dev: ahci ata mvs siis

2015-03-13 Thread Alexander Motin
Author: mav Date: Fri Mar 13 20:08:35 2015 New Revision: 279963 URL: https://svnweb.freebsd.org/changeset/base/279963 Log: Fix SATA Gen3 speed constants. MFC after:1 week Modified: head/sys/dev/ahci/ahci.h head/sys/dev/ata/ata-all.h head/sys/dev/mvs/mvs.h

Re: svn commit: r279932 - head/sys/vm

2015-03-13 Thread Ian Lepore
On Fri, 2015-03-13 at 14:34 -0400, John Baldwin wrote: On Friday, March 13, 2015 11:57:58 AM Ian Lepore wrote: On Fri, 2015-03-13 at 13:19 -0400, John Baldwin wrote: On Friday, March 13, 2015 10:14:27 AM Ian Lepore wrote: On Fri, 2015-03-13 at 06:24 -0400, John Baldwin wrote: On

svn commit: r279966 - head/contrib/libxo/libxo

2015-03-13 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Mar 13 20:14:55 2015 New Revision: 279966 URL: https://svnweb.freebsd.org/changeset/base/279966 Log: Mark xo_err(3), xo_errx(3), and xo_errc(3) as __dead2. Differential Revision:https://reviews.freebsd.org/D2059 Reviewed by: marcel@ MFC after:1

svn commit: r279965 - head/usr.sbin/bhyve

2015-03-13 Thread Alexander Motin
Author: mav Date: Fri Mar 13 20:14:35 2015 New Revision: 279965 URL: https://svnweb.freebsd.org/changeset/base/279965 Log: Polish AHCI disk identify data and fix speed negotiation. MFC after:2 weeks Modified: head/usr.sbin/bhyve/ahci.h head/usr.sbin/bhyve/pci_ahci.c Modified:

svn commit: r279968 - head/usr.sbin/bhyve

2015-03-13 Thread Alexander Motin
Author: mav Date: Fri Mar 13 21:01:25 2015 New Revision: 279968 URL: https://svnweb.freebsd.org/changeset/base/279968 Log: Remove incorrect SERR register setting. At this point we have nothing to report through that register. MFC after:2 weeks Modified:

Re: svn commit: r279965 - head/usr.sbin/bhyve

2015-03-13 Thread John Baldwin
On Friday, March 13, 2015 08:14:35 PM Alexander Motin wrote: Author: mav Date: Fri Mar 13 20:14:35 2015 New Revision: 279965 URL: https://svnweb.freebsd.org/changeset/base/279965 Log: Polish AHCI disk identify data and fix speed negotiation. MFC after: 2 weeks Modified:

svn commit: r279971 - in head/sys: amd64/amd64 amd64/include amd64/vmm amd64/vmm/intel amd64/vmm/io modules/vmm

2015-03-13 Thread Neel Natu
Author: neel Date: Sat Mar 14 02:32:08 2015 New Revision: 279971 URL: https://svnweb.freebsd.org/changeset/base/279971 Log: Use lapic_ipi_alloc() to dynamically allocate IPI slots needed by bhyve when vmm.ko is loaded. Also relocate the 'justreturn' IPI handler to be alongside all other

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-13 Thread Bruce Evans
On Fri, 13 Mar 2015, Konstantin Belousov wrote: On Fri, Mar 13, 2015 at 10:45:46AM -0700, Nathan Whitehorn wrote: We'll need to hack the compiler in this case, since it assumes setjmp() saves and restores the vector registers. I'm really not sure which option is worse. Changing the compiler

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

2015-03-13 Thread Navdeep Parhar
Author: np Date: Sat Mar 14 00:02:53 2015 New Revision: 279969 URL: https://svnweb.freebsd.org/changeset/base/279969 Log: cxgbe(4): fix if_media handling for T520-BT cards. 1Gbps and 100Mbps are valid for this card. MFC after:1 week Modified: head/sys/dev/cxgbe/t4_main.c

svn commit: r279970 - in head/sys/x86: include x86 xen

2015-03-13 Thread Neel Natu
Author: neel Date: Sat Mar 14 00:30:41 2015 New Revision: 279970 URL: https://svnweb.freebsd.org/changeset/base/279970 Log: Add x86 specific APIs 'lapic_ipi_alloc()' and 'lapic_ipi_free()' to allow IPI vectors to be dynamically allocated. This allows kernel modules like vmm.ko to allocate

svn commit: r279947 - in head/share/doc: psd/title smm/title usd/title

2015-03-13 Thread Ed Maste
Author: emaste Date: Fri Mar 13 07:29:49 2015 New Revision: 279947 URL: https://svnweb.freebsd.org/changeset/base/279947 Log: Remove UCB advertising clause per the letter dated July 22, 1999. Modified: head/share/doc/psd/title/Title head/share/doc/smm/title/Title

svn commit: r279949 - in head: lib/libstand sys/boot/amd64 sys/boot/efi/libefi sys/boot/ficl

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 09:38:16 2015 New Revision: 279949 URL: https://svnweb.freebsd.org/changeset/base/279949 Log: The System V ABI for amd64 allows functions to use space in a 128 byte redzone below the stack pointer for scratch space and requires interrupt and signal frames to

Re: svn commit: r279932 - head/sys/vm

2015-03-13 Thread John Baldwin
On Thursday, March 12, 2015 05:24:51 PM Ian Lepore wrote: On Thu, 2015-03-12 at 17:02 -0400, Ryan Stone wrote: On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore i...@freebsd.org wrote: Nullterminate strings returned via sysctl. PR: 195668 To quote the manpage:

Re: svn commit: r279949 - in head: lib/libstand sys/boot/amd64 sys/boot/efi/libefi sys/boot/ficl

2015-03-13 Thread John Baldwin
On Friday, March 13, 2015 09:38:16 AM John Baldwin wrote: Author: jhb Date: Fri Mar 13 09:38:16 2015 New Revision: 279949 URL: https://svnweb.freebsd.org/changeset/base/279949 Log: The System V ABI for amd64 allows functions to use space in a 128 byte redzone below the stack pointer

svn commit: r279950 - in head/sys/boot: amd64/efi efi/libefi

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 09:41:27 2015 New Revision: 279950 URL: https://svnweb.freebsd.org/changeset/base/279950 Log: Enable bzipfs support in the EFI loader. - Add bzipfs to the list of supported filesystems in the EFI loader. - Increase the heap size allocated for the EFI loader from

svn commit: r279948 - in head: sbin/ipfw sys/netinet sys/netpfil/ipfw

2015-03-13 Thread Andrey V. Elsukov
Author: ae Date: Fri Mar 13 09:03:25 2015 New Revision: 279948 URL: https://svnweb.freebsd.org/changeset/base/279948 Log: Fix `ipfw fwd tablearg'. Use dedicated field nh4 in struct table_value to obtain IPv4 next hop address in tablearg case. Add `fwd tablearg' support for IPv6. ipfw(8)

svn commit: r279951 - head/sbin/ifconfig

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 09:45:06 2015 New Revision: 279951 URL: https://svnweb.freebsd.org/changeset/base/279951 Log: Simplify string mangling in ifmaybeload(). - Use strlcpy() instead of strcpy(). - Use strlcat() instead of a strlcpy() with a magic number subtracted from the

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-13 Thread Konstantin Belousov
On Thu, Mar 12, 2015 at 02:46:53PM -0700, Nathan Whitehorn wrote: On 03/12/15 14:35, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 02:29:43PM -0700, Nathan Whitehorn wrote: On 03/12/15 14:22, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 09:15:39PM +, Nathan Whitehorn wrote:

svn commit: r279952 - in head: etc/defaults share/man/man5

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 09:50:29 2015 New Revision: 279952 URL: https://svnweb.freebsd.org/changeset/base/279952 Log: - Align comment for df flags variable in periodic.conf. - Note default value of df flags variable in periodoc.conf(5). MFC after:1 week Modified:

svn commit: r279954 - head/usr.sbin/autofs

2015-03-13 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Mar 13 12:27:59 2015 New Revision: 279954 URL: https://svnweb.freebsd.org/changeset/base/279954 Log: Get executable direct maps to work. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/autofs/automountd.c Modified:

svn commit: r279955 - in head: etc etc/autofs usr.sbin/autofs

2015-03-13 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Mar 13 12:44:46 2015 New Revision: 279955 URL: https://svnweb.freebsd.org/changeset/base/279955 Log: Add -noauto autofs map, for automatic handling of fstab entries marked noauto. MFC after:1 month Sponsored by: The FreeBSD Foundation Added:

svn commit: r279953 - head/usr.sbin/autofs

2015-03-13 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Mar 13 11:26:02 2015 New Revision: 279953 URL: https://svnweb.freebsd.org/changeset/base/279953 Log: Rework the concat() algorithm to be correct in all cases. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/autofs/common.c

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-13 Thread Nathan Whitehorn
On 03/13/15 01:47, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 02:46:53PM -0700, Nathan Whitehorn wrote: On 03/12/15 14:35, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 02:29:43PM -0700, Nathan Whitehorn wrote: On 03/12/15 14:22, Konstantin Belousov wrote: On Thu, Mar 12, 2015

svn commit: r279956 - head/sbin/ipfw

2015-03-13 Thread Andrey V. Elsukov
Author: ae Date: Fri Mar 13 13:46:50 2015 New Revision: 279956 URL: https://svnweb.freebsd.org/changeset/base/279956 Log: Properly initialize scope zone id when next hop address stored directly in the O_FORWARD_IP6 opcode. Use getnameinfo(3) to formatting the IPv6 addresses of such opcodes.

svn commit: r279957 - head/usr.sbin/bhyve

2015-03-13 Thread Alexander Motin
Author: mav Date: Fri Mar 13 16:43:52 2015 New Revision: 279957 URL: https://svnweb.freebsd.org/changeset/base/279957 Log: Add DSM TRIM command support for virtual AHCI disks. It works only for virtual disks backed by ZVOLs and raw devices supporting BIO_DELETE. Virtual disks backed by

Re: svn commit: r279932 - head/sys/vm

2015-03-13 Thread Ian Lepore
On Fri, 2015-03-13 at 06:24 -0400, John Baldwin wrote: On Thursday, March 12, 2015 05:24:51 PM Ian Lepore wrote: On Thu, 2015-03-12 at 17:02 -0400, Ryan Stone wrote: On Thu, Mar 12, 2015 at 2:06 PM, Ian Lepore i...@freebsd.org wrote: Nullterminate strings returned via sysctl.

Re: svn commit: r279937 - in head/sys/powerpc: include powerpc

2015-03-13 Thread Nathan Whitehorn
On 03/13/15 01:47, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 02:46:53PM -0700, Nathan Whitehorn wrote: On 03/12/15 14:35, Konstantin Belousov wrote: On Thu, Mar 12, 2015 at 02:29:43PM -0700, Nathan Whitehorn wrote: On 03/12/15 14:22, Konstantin Belousov wrote: On Thu, Mar 12, 2015