Re: svn commit: r280279 - head/sys/sys

2015-04-13 Thread Adrian Chadd
Hi, These CPUs are supposed to have loop unwinder / streaming hardware. Is it not unwinding/streaming this loop for us? -a On 13 April 2015 at 10:36, Alan Cox a...@rice.edu wrote: On 03/30/2015 10:50, John Baldwin wrote: On Sunday, March 22, 2015 09:41:53 AM Bruce Evans wrote: On Sat, 21

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

2015-04-13 Thread Neel Natu
Author: neel Date: Mon Apr 13 19:13:51 2015 New Revision: 281499 URL: https://svnweb.freebsd.org/changeset/base/281499 Log: Modify the return value of the uhci/ehci/xhci PCI probe routines to 'BUS_PROBE_DEFAULT'. This allows bhyve's 'ppt' driver to claim ownership of the device and pass it

svn commit: r281500 - head/usr.bin/gzip

2015-04-13 Thread Xin LI
suffixes / sizeof suffixes[0]) #define SUFFIX_MAXLEN 30 -static const char gzip_version[] = FreeBSD gzip 20141022; +static const char gzip_version[] = FreeBSD gzip 20150413; #ifndef SMALL static const char gzip_copyright[] = \ @@ -1354,7 +1354,7 @@ file_uncompress(char *file, char

svn commit: r281501 - head/usr.bin/ipcs

2015-04-13 Thread Eitan Adler
Author: eadler Date: Mon Apr 13 19:58:11 2015 New Revision: 281501 URL: https://svnweb.freebsd.org/changeset/base/281501 Log: ipcs: fix warnings (WARNS=1 - WARNS=6) - fix shadow warnings - change type from off_t to size_t which is more correct and avoids

Re: svn commit: r280279 - head/sys/sys

2015-04-13 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/13/2015 13:36, Alan Cox wrote: On 03/30/2015 10:50, John Baldwin wrote: On Sunday, March 22, 2015 09:41:53 AM Bruce Evans wrote: On Sat, 21 Mar 2015, John Baldwin wrote: On 3/21/15 12:35 PM, Konstantin Belousov wrote: On Sat, Mar 21,

Re: svn commit: r280279 - head/sys/sys

2015-04-13 Thread Konstantin Belousov
On Mon, Apr 13, 2015 at 12:36:50PM -0500, Alan Cox wrote: However, in the popcnt case, we are spilling the bit map to memory in order to popcnt it. That's rather silly: 3570: 48 8b 48 18 mov0x18(%rax),%rcx 3574: f6 04 25 00 00 00 00testb $0x80,0x0

svn commit: r281506 - stable/10/usr.sbin/acpi/acpidump

2015-04-13 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 13 22:26:11 2015 New Revision: 281506 URL: https://svnweb.freebsd.org/changeset/base/281506 Log: MFC: r281335 Print 64-bit addresses clearly with leading zeros to avoid confusions. Modified: stable/10/usr.sbin/acpi/acpidump/acpi.c Directory Properties:

svn commit: r281505 - in stable: 10/usr.sbin/acpi/acpidump 8/usr.sbin/acpi/acpidump 9/usr.sbin/acpi/acpidump

2015-04-13 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 13 22:22:32 2015 New Revision: 281505 URL: https://svnweb.freebsd.org/changeset/base/281505 Log: MFC: r281331 Do not crash when RSDT/XSDT contains an empty entry. Modified: stable/9/usr.sbin/acpi/acpidump/acpi.c Directory Properties:

svn commit: r281503 - head/share/mk

2015-04-13 Thread Garrett Cooper
Author: ngie Date: Mon Apr 13 21:29:40 2015 New Revision: 281503 URL: https://svnweb.freebsd.org/changeset/base/281503 Log: Revert r281055 as it breaks installing test scripts in the mixed PROGS/SCRIPT case Repro is as follows: % sudo pkg install -y kyua % sudo rm -Rf /usr/tests

svn commit: r281502 - head/sys/contrib/x86emu

2015-04-13 Thread Xin LI
Author: delphij Date: Mon Apr 13 20:23:46 2015 New Revision: 281502 URL: https://svnweb.freebsd.org/changeset/base/281502 Log: Sync with OpenBSD: Use volatile instead of __volatile__. MFC after:2 weeks Modified: head/sys/contrib/x86emu/x86emu.c Modified:

svn commit: r281505 - in stable: 10/usr.sbin/acpi/acpidump 8/usr.sbin/acpi/acpidump 9/usr.sbin/acpi/acpidump

2015-04-13 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 13 22:22:32 2015 New Revision: 281505 URL: https://svnweb.freebsd.org/changeset/base/281505 Log: MFC: r281331 Do not crash when RSDT/XSDT contains an empty entry. Modified: stable/8/usr.sbin/acpi/acpidump/acpi.c Directory Properties:

svn commit: r281505 - in stable: 10/usr.sbin/acpi/acpidump 8/usr.sbin/acpi/acpidump 9/usr.sbin/acpi/acpidump

2015-04-13 Thread Jung-uk Kim
Author: jkim Date: Mon Apr 13 22:22:32 2015 New Revision: 281505 URL: https://svnweb.freebsd.org/changeset/base/281505 Log: MFC: r281331 Do not crash when RSDT/XSDT contains an empty entry. Modified: stable/10/usr.sbin/acpi/acpidump/acpi.c Directory Properties: stable/10/ (props

svn commit: r281507 - svnadmin/conf

2015-04-13 Thread Xin LI
Author: delphij Date: Mon Apr 13 22:50:27 2015 New Revision: 281507 URL: https://svnweb.freebsd.org/changeset/base/281507 Log: Sigh, add myself again. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

svn commit: r281513 - stable/10/sbin/md5

2015-04-13 Thread Xin LI
Author: delphij Date: Tue Apr 14 00:32:03 2015 New Revision: 281513 URL: https://svnweb.freebsd.org/changeset/base/281513 Log: MFC r280716,280767,280914: - Correct type for checkAgainst. - Staticify flags that are not used outside the file scope. - Fix warnings. - Constify

svn commit: r281512 - stable/10/sbin/md5

2015-04-13 Thread Xin LI
Author: delphij Date: Tue Apr 14 00:27:54 2015 New Revision: 281512 URL: https://svnweb.freebsd.org/changeset/base/281512 Log: MFC r266417 (bjk): Assorted updates to md5.1 Note that the -c argument's parameter is compared against the digest of the file, not the file. [1] Update

svn commit: r281511 - head/sys/kern

2015-04-13 Thread Randall Stewart
Author: rrs Date: Tue Apr 14 00:02:39 2015 New Revision: 281511 URL: https://svnweb.freebsd.org/changeset/base/281511 Log: Fix my stupid restoral of old code.. must be c_iflags now. Thanks jhb for catching my stupidity... MFC after:3 days Modified: head/sys/kern/kern_timeout.c

svn commit: r281509 - svnadmin/conf

2015-04-13 Thread Xin LI
Author: delphij Date: Mon Apr 13 22:51:09 2015 New Revision: 281509 URL: https://svnweb.freebsd.org/changeset/base/281509 Log: Remove myself again. Modified: svnadmin/conf/sizelimit.conf Modified: svnadmin/conf/sizelimit.conf

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

2015-04-13 Thread John Baldwin
On Monday, April 13, 2015 11:06:14 PM Randall Stewart wrote: Author: rrs Date: Mon Apr 13 23:06:13 2015 New Revision: 281510 URL: https://svnweb.freebsd.org/changeset/base/281510 Log: Restore the two lines accidentally deleted that allow CALLOUT_DIRECT to be specifed in the flags.

svn commit: r281510 - head/sys/kern

2015-04-13 Thread Randall Stewart
Author: rrs Date: Mon Apr 13 23:06:13 2015 New Revision: 281510 URL: https://svnweb.freebsd.org/changeset/base/281510 Log: Restore the two lines accidentally deleted that allow CALLOUT_DIRECT to be specifed in the flags. Thanks Mark Johnston for noticing this ;-o MFC after:3

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

2015-04-13 Thread Randall Stewart via svn-src-all
Crud Your right.. On Apr 13, 2015, at 7:23 PM, John Baldwin j...@freebsd.org wrote: On Monday, April 13, 2015 11:06:14 PM Randall Stewart wrote: Author: rrs Date: Mon Apr 13 23:06:13 2015 New Revision: 281510 URL: https://svnweb.freebsd.org/changeset/base/281510 Log: Restore the two

svn commit: r281517 - head/usr.bin/ipcs

2015-04-13 Thread Eitan Adler
Author: eadler Date: Tue Apr 14 04:52:52 2015 New Revision: 281517 URL: https://svnweb.freebsd.org/changeset/base/281517 Log: ipcs: fix builds that use gcc gcc gets annoyed by duplicate declarations Reported by: sbruno Reviewed by: sbruno Modified: head/usr.bin/ipcs/ipc.c

Re: svn commit: r280279 - head/sys/sys

2015-04-13 Thread Alan Cox
On 03/30/2015 10:50, John Baldwin wrote: On Sunday, March 22, 2015 09:41:53 AM Bruce Evans wrote: On Sat, 21 Mar 2015, John Baldwin wrote: On 3/21/15 12:35 PM, Konstantin Belousov wrote: On Sat, Mar 21, 2015 at 12:04:41PM -0400, John Baldwin wrote: On 3/20/15 9:02 AM, Konstantin Belousov

svn commit: r281487 - stable/10/sys/kern

2015-04-13 Thread Alexander Motin
Author: mav Date: Mon Apr 13 09:17:57 2015 New Revision: 281487 URL: https://svnweb.freebsd.org/changeset/base/281487 Log: MFC r280850: Periodically wake up threads waiting for vmem(9) resources, so they could ask for resource reclamation again. This is kind of dirty hack, but as last

svn commit: r281488 - stable/10/usr.sbin/ctld

2015-04-13 Thread Alexander Motin
Author: mav Date: Mon Apr 13 09:18:56 2015 New Revision: 281488 URL: https://svnweb.freebsd.org/changeset/base/281488 Log: MFC r281163: Make ctld to not exit on ECONNABORTED on accept(). That is not really an error for the main process. Modified: stable/10/usr.sbin/ctld/ctld.c Directory

svn commit: r281486 - in stable/10/libexec/rtld-elf: . ia64

2015-04-13 Thread Peter Wemm
Author: peter Date: Mon Apr 13 08:35:03 2015 New Revision: 281486 URL: https://svnweb.freebsd.org/changeset/base/281486 Log: MFC r268182: Initialize page sizes early for ia64. Modified: stable/10/libexec/rtld-elf/ia64/rtld_machdep.h stable/10/libexec/rtld-elf/rtld.c Directory Properties:

Re: svn commit: r281307 - head/sys/boot/efi/boot1

2015-04-13 Thread Andrew Turner
On Thu, 9 Apr 2015 21:38:02 +1000 (EST) Bruce Evans b...@optusnet.com.au wrote: On Thu, 9 Apr 2015, Andrew Turner wrote: Log: Print error values with hex to make it easier to find the EFI error type. Modified: head/sys/boot/efi/boot1/boot1.c Modified:

svn commit: r281494 - in head/sys: arm64/arm64 arm64/conf arm64/include conf dev/fdt sys

2015-04-13 Thread Andrew Turner
Author: andrew Date: Mon Apr 13 14:43:10 2015 New Revision: 281494 URL: https://svnweb.freebsd.org/changeset/base/281494 Log: Bring in the start of the arm64 kernel. This is only the minimum set of files needed to boot in qemu. As such it is missing a few things. The bus_dma code is

Re: svn commit: r281307 - head/sys/boot/efi/boot1

2015-04-13 Thread Bruce Evans
On Mon, 13 Apr 2015, Andrew Turner wrote: On Thu, 9 Apr 2015 21:38:02 +1000 (EST) Bruce Evans b...@optusnet.com.au wrote: On Thu, 9 Apr 2015, Andrew Turner wrote: Log: Print error values with hex to make it easier to find the EFI error type. Modified: head/sys/boot/efi/boot1/boot1.c

svn commit: r281493 - head/sys/arm/arm

2015-04-13 Thread Andrew Turner
Author: andrew Date: Mon Apr 13 13:21:27 2015 New Revision: 281493 URL: https://svnweb.freebsd.org/changeset/base/281493 Log: Update the arm devmap code to also work with arm64. There are a few differences between the two. On arm we need to provide a list of addresses we may be mapping

svn commit: r281497 - in head/sys: arm64/conf conf dev/psci

2015-04-13 Thread Andrew Turner
Author: andrew Date: Mon Apr 13 16:41:33 2015 New Revision: 281497 URL: https://svnweb.freebsd.org/changeset/base/281497 Log: Add psci for arm64. This is currently used when rebooting and powering off in qemu. Sponsored by: The FreeBSD Foundation Added: head/sys/dev/psci/psci_arm64.S

Re: svn commit: r281396 - in head/sys: contrib/dev/acpica contrib/dev/acpica/common contrib/dev/acpica/compiler contrib/dev/acpica/components/debugger contrib/dev/acpica/components/disassembler contri

2015-04-13 Thread Jung-uk Kim
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 04/11/2015 17:16, Dimitry Andric wrote: On 11 Apr 2015, at 05:23, Jung-uk Kim j...@freebsd.org wrote: Author: jkim Date: Sat Apr 11 03:23:41 2015 New Revision: 281396 URL: https://svnweb.freebsd.org/changeset/base/281396 Log: Merge

svn commit: r281496 - in head/sys/boot/efi: boot1 loader

2015-04-13 Thread Andrew Turner
Author: andrew Date: Mon Apr 13 16:00:09 2015 New Revision: 281496 URL: https://svnweb.freebsd.org/changeset/base/281496 Log: Create the correct symlinks for the machine directory, and only create the x86 symlink on i386 and amd64. Before this incorrect symlinks were being created on armi

svn commit: r281495 - in head/sys: conf i386/i386 i386/include x86/acpica

2015-04-13 Thread Konstantin Belousov
Author: kib Date: Mon Apr 13 15:22:45 2015 New Revision: 281495 URL: https://svnweb.freebsd.org/changeset/base/281495 Log: Add config option PAE_TABLES for the i386 kernel. It switches pmap to use PAE format for the page tables, but does not incur other consequences of the full PAE config.

Re: svn commit: r281495 - in head/sys: conf i386/i386 i386/include x86/acpica

2015-04-13 Thread Benjamin Kaduk
On Mon, Apr 13, 2015 at 11:22 AM, Konstantin Belousov k...@freebsd.org wrote: Author: kib Date: Mon Apr 13 15:22:45 2015 New Revision: 281495 URL: https://svnweb.freebsd.org/changeset/base/281495 Log: Add config option PAE_TABLES for the i386 kernel. It switches pmap to use PAE

Re: svn commit: r281495 - in head/sys: conf i386/i386 i386/include x86/acpica

2015-04-13 Thread Konstantin Belousov
On Mon, Apr 13, 2015 at 11:24:09AM -0400, Benjamin Kaduk wrote: On Mon, Apr 13, 2015 at 11:22 AM, Konstantin Belousov k...@freebsd.org wrote: Author: kib Date: Mon Apr 13 15:22:45 2015 New Revision: 281495 URL: https://svnweb.freebsd.org/changeset/base/281495 Log: Add config