svn commit: r263794 - head/sys/x86/acpica

2014-03-27 Thread Takanori Watanabe
Author: takawata Date: Thu Mar 27 06:08:07 2014 New Revision: 263794 URL: http://svnweb.freebsd.org/changeset/base/263794 Log: To check polarity, check ACPI_MADT_POLARITY_CONFORMS, instead of ACPI_MADT_TRIGGER_CONFORMS. PR:amd64/188010 Submitted by: syuu Modified:

svn commit: r263795 - head/sys/x86/acpica

2014-03-27 Thread Takanori Watanabe
Author: takawata Date: Thu Mar 27 06:36:38 2014 New Revision: 263795 URL: http://svnweb.freebsd.org/changeset/base/263795 Log: Strict value checking will cause problem. Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD. This behaviour is bug-compatible with

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

2014-03-27 Thread David Xu
On 2014/03/26 07:30, Mateusz Guzik wrote: Author: mjg Date: Tue Mar 25 23:30:35 2014 New Revision: 263755 URL: http://svnweb.freebsd.org/changeset/base/263755 Log: Document a known problem with handling the process intended to receive SIGIO in /dev/devctl. Suggested by:adrian

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

2014-03-27 Thread Mateusz Guzik
On Thu, Mar 27, 2014 at 03:45:17PM +0800, David Xu wrote: I think the async process pointer can be cleared when a process exits by registering an event handler. please see attached patch. Sure, but I'm not very fond of this solution. This is a rather obscure bug you wont hit unless you

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

2014-03-27 Thread David Xu
On 2014/03/27 16:37, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 03:45:17PM +0800, David Xu wrote: I think the async process pointer can be cleared when a process exits by registering an event handler. please see attached patch. Sure, but I'm not very fond of this solution. This is a

svn commit: r263809 - head/sys/dev/vt

2014-03-27 Thread Aleksandr Rybalko
Author: ray Date: Thu Mar 27 09:24:09 2014 New Revision: 263809 URL: http://svnweb.freebsd.org/changeset/base/263809 Log: Fix crash on resume in vt(9). Statically allocated terminal window have not initialized callout handler, so we have to initialize it even for existing window if it is

Re: svn commit: r263321 - head/sys/dev/vt

2014-03-27 Thread Aleksandr Rybalko
On Wed, 19 Mar 2014 14:53:47 -0400 John Baldwin j...@freebsd.org wrote: On Tuesday, March 18, 2014 6:22:48 pm Aleksandr Rybalko wrote: Author: ray Date: Tue Mar 18 22:22:47 2014 New Revision: 263321 URL: http://svnweb.freebsd.org/changeset/base/263321 Log: Switch

svn commit: r263810 - head/sys/cam/ctl

2014-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 27 10:15:35 2014 New Revision: 263810 URL: http://svnweb.freebsd.org/changeset/base/263810 Log: Rework cfiscsi_datamove_in() to obey expected data transfer length received from the initiator. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r263811 - in head/sys: cam/ctl conf modules/ctl

2014-03-27 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Mar 27 11:10:13 2014 New Revision: 263811 URL: http://svnweb.freebsd.org/changeset/base/263811 Log: Remove ctl_mem_pool.{c,h}. Sponsored by: The FreeBSD Foundation Deleted: head/sys/cam/ctl/ctl_mem_pool.c head/sys/cam/ctl/ctl_mem_pool.h Modified:

svn commit: r263812 - head/share/man/man7

2014-03-27 Thread Bryan Drewery
Author: bdrewery Date: Thu Mar 27 11:12:35 2014 New Revision: 263812 URL: http://svnweb.freebsd.org/changeset/base/263812 Log: Update build(7) with LOCAL_* vars PR: docs/178286 Submitted by: Garrett Cooper yaneurab...@gmail.com Sponsored by: EMC / Isilon Storage Division

svn commit: r263814 - head/sbin/mdconfig/tests

2014-03-27 Thread Julio Merino
Author: jmmv Date: Thu Mar 27 13:15:22 2014 New Revision: 263814 URL: http://svnweb.freebsd.org/changeset/base/263814 Log: Fix path to the run.pl script to let these tests run. Submitted by: Peel, Casey Obtained from:freebsd-testing Modified:

svn commit: r263815 - in head/sys: ia64/acpica ia64/ia64 ia64/include sys

2014-03-27 Thread Ed Maste
Author: emaste Date: Thu Mar 27 13:57:00 2014 New Revision: 263815 URL: http://svnweb.freebsd.org/changeset/base/263815 Log: Move ia64 efi.h to sys in preparation for amd64 UEFI support Prototypes specific to ia64 have been left in this file for now, under __ia64__, rather than moving

svn commit: r263816 - head/sys/dev/vt

2014-03-27 Thread Aleksandr Rybalko
Author: ray Date: Thu Mar 27 14:07:36 2014 New Revision: 263816 URL: http://svnweb.freebsd.org/changeset/base/263816 Log: Revert r263321. vt(9) crash on resume fixed, but Xorg still have damaged screen on resume (at least with i915kms), so better to switch to VT0 before suspend and back on

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

2014-03-27 Thread Mateusz Guzik
On Thu, Mar 27, 2014 at 04:46:57PM +0800, David Xu wrote: On 2014/03/27 16:37, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 03:45:17PM +0800, David Xu wrote: I think the async process pointer can be cleared when a process exits by registering an event handler. please see attached patch.

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

2014-03-27 Thread Mateusz Guzik
On Thu, Mar 27, 2014 at 03:58:19PM +0100, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 04:46:57PM +0800, David Xu wrote: On 2014/03/27 16:37, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 03:45:17PM +0800, David Xu wrote: I think the async process pointer can be cleared when a process exits

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-27 Thread John Baldwin
On Wednesday, March 26, 2014 6:30:39 pm Dimitry Andric wrote: Author: dim Date: Wed Mar 26 22:30:38 2014 New Revision: 263778 URL: http://svnweb.freebsd.org/changeset/base/263778 Log: Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process all the SUBDIR entries in

Re: svn commit: r263795 - head/sys/x86/acpica

2014-03-27 Thread John Baldwin
On Thursday, March 27, 2014 2:36:39 am Takanori Watanabe wrote: Author: takawata Date: Thu Mar 27 06:36:38 2014 New Revision: 263795 URL: http://svnweb.freebsd.org/changeset/base/263795 Log: Strict value checking will cause problem. Bay trail DN2820FYKH is supported on Linux but does

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-27 Thread David Chisnall
On 26 Mar 2014, at 22:30, Dimitry Andric d...@freebsd.org wrote: Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process all the SUBDIR entries in parallel, instead of serially. Apply this option to a selected number of Makefiles, which can greatly speed up the build on

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-27 Thread Bryan Drewery
On 2014-03-27 10:39, David Chisnall wrote: On 26 Mar 2014, at 22:30, Dimitry Andric d...@freebsd.org wrote: Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process all the SUBDIR entries in parallel, instead of serially. Apply this option to a selected number of Makefiles,

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

2014-03-27 Thread Konstantin Belousov
On Thu, Mar 27, 2014 at 04:05:12PM +0100, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 03:58:19PM +0100, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 04:46:57PM +0800, David Xu wrote: On 2014/03/27 16:37, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 03:45:17PM +0800, David Xu wrote: I

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-27 Thread Warner Losh
Why not have this ‘opt out’ rather than ‘opt in’ like it is now? Are there any known bad dependencies this introduces? Warner On Mar 26, 2014, at 4:30 PM, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Wed Mar 26 22:30:38 2014 New Revision: 263778 URL:

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

2014-03-27 Thread Warner Losh
On Mar 27, 2014, at 2:37 AM, Mateusz Guzik mjgu...@gmail.com wrote: On Thu, Mar 27, 2014 at 03:45:17PM +0800, David Xu wrote: I think the async process pointer can be cleared when a process exits by registering an event handler. please see attached patch. Sure, but I'm not very fond of

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-27 Thread Ian Lepore
It's also a bit odd that the way of opting in makes it appear as if you're opting out. -- Ian On Thu, 2014-03-27 at 11:05 -0600, Warner Losh wrote: Why not have this ‘opt out’ rather than ‘opt in’ like it is now? Are there any known bad dependencies this introduces? Warner On Mar 26,

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-27 Thread Jilles Tjoelker
On Thu, Mar 27, 2014 at 11:05:00AM -0600, Warner Losh wrote: On Mar 26, 2014, at 4:30 PM, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Wed Mar 26 22:30:38 2014 New Revision: 263778 URL: http://svnweb.freebsd.org/changeset/base/263778 Log: Add a SUBDIR_PARALLEL option to

svn commit: r263822 - in head/sys/amd64: amd64 include

2014-03-27 Thread Ed Maste
Author: emaste Date: Thu Mar 27 18:23:02 2014 New Revision: 263822 URL: http://svnweb.freebsd.org/changeset/base/263822 Log: amd64: Parse the EFI memory map if present With this change (and loader.efi from the projects/uefi branch) we can now boot under qemu using the OVMF UEFI firmware

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

2014-03-27 Thread Mateusz Guzik
On Thu, Mar 27, 2014 at 11:08:34AM -0600, Warner Losh wrote: On Mar 27, 2014, at 2:37 AM, Mateusz Guzik mjgu...@gmail.com wrote: On Thu, Mar 27, 2014 at 03:45:17PM +0800, David Xu wrote: I think the async process pointer can be cleared when a process exits by registering an event

svn commit: r263826 - in head/sys: amd64/include dev/vt/hw/efifb

2014-03-27 Thread Ed Maste
Author: emaste Date: Thu Mar 27 19:43:38 2014 New Revision: 263826 URL: http://svnweb.freebsd.org/changeset/base/263826 Log: Update EFI framebuffer handoff from loader Sponsored by: The FreeBSD Foundation Modified: head/sys/amd64/include/metadata.h head/sys/dev/vt/hw/efifb/efifb.c

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-03-27 Thread Dimitry Andric
On 27 Mar 2014, at 19:12, Jilles Tjoelker jil...@stack.nl wrote: On Thu, Mar 27, 2014 at 11:05:00AM -0600, Warner Losh wrote: On Mar 26, 2014, at 4:30 PM, Dimitry Andric d...@freebsd.org wrote: Author: dim Date: Wed Mar 26 22:30:38 2014 New Revision: 263778 URL:

svn commit: r263833 - in head: gnu/usr.bin usr.bin/clang

2014-03-27 Thread Dimitry Andric
Author: dim Date: Thu Mar 27 20:15:33 2014 New Revision: 263833 URL: http://svnweb.freebsd.org/changeset/base/263833 Log: Enable parallel building for gnu/usr.bin and usr.bin/clang too. MFC after:2 weeks X-MFC-With: r263778 Modified: head/gnu/usr.bin/Makefile

svn commit: r263842 - in head/lib/libc: capability gen sys

2014-03-27 Thread Robert Watson
Author: rwatson Date: Thu Mar 27 21:43:00 2014 New Revision: 263842 URL: http://svnweb.freebsd.org/changeset/base/263842 Log: Update system man pages for s/capability.h/capsicum.h/. MFC after:3 weeks Modified: head/lib/libc/capability/cap_rights_init.3

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

2014-03-27 Thread Don Lewis
On 27 Mar, Konstantin Belousov wrote: On Thu, Mar 27, 2014 at 04:05:12PM +0100, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 03:58:19PM +0100, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 04:46:57PM +0800, David Xu wrote: On 2014/03/27 16:37, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at

svn commit: r263846 - head/bin/sh

2014-03-27 Thread Jilles Tjoelker
Author: jilles Date: Thu Mar 27 22:52:26 2014 New Revision: 263846 URL: http://svnweb.freebsd.org/changeset/base/263846 Log: sh: Fix memory leak when trying to set a read only variable. MFC after:1 week Modified: head/bin/sh/var.c Modified: head/bin/sh/var.c

svn commit: r263847 - head/bin/sh

2014-03-27 Thread Jilles Tjoelker
Author: jilles Date: Thu Mar 27 22:57:23 2014 New Revision: 263847 URL: http://svnweb.freebsd.org/changeset/base/263847 Log: sh: Fix memory leak with an assignment before a regular builtin. MFC after:1 week Modified: head/bin/sh/var.c Modified: head/bin/sh/var.c

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

2014-03-27 Thread David Xu
On 2014/03/27 22:58, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 04:46:57PM +0800, David Xu wrote: On 2014/03/27 16:37, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 03:45:17PM +0800, David Xu wrote: I think the async process pointer can be cleared when a process exits by registering an event

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

2014-03-27 Thread David Xu
On 2014/03/28 06:31, Don Lewis wrote: On 27 Mar, Konstantin Belousov wrote: On Thu, Mar 27, 2014 at 04:05:12PM +0100, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 03:58:19PM +0100, Mateusz Guzik wrote: On Thu, Mar 27, 2014 at 04:46:57PM +0800, David Xu wrote: On 2014/03/27 16:37, Mateusz

svn commit: r263859 - head/sys/x86/acpica

2014-03-27 Thread Takanori Watanabe
Author: takawata Date: Fri Mar 28 02:38:14 2014 New Revision: 263859 URL: http://svnweb.freebsd.org/changeset/base/263859 Log: Change default logic to CONFORM because this routine is shared with SCI polarity setting. Reviewed by: jhb Modified: head/sys/x86/acpica/madt.c Modified:

svn commit: r263863 - head/lib/libmd

2014-03-27 Thread Glen Barber
Author: gjb Date: Fri Mar 28 04:19:06 2014 New Revision: 263863 URL: http://svnweb.freebsd.org/changeset/base/263863 Log: Dereference nonexistent md2(3) manual. MFC after:3 days Sponsored by: The FreeBSD Foundation Modified: head/lib/libmd/ripemd.3 head/lib/libmd/sha.3