svn commit: r281857 - head/lib/libthr/thread

2015-04-22 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 22 16:51:21 2015 New Revision: 281857 URL: https://svnweb.freebsd.org/changeset/base/281857 Log: _pthread_cleanup_push: fix allocator sizeof operand mismatch Same fix appears to be in DragonFly's libthread_xu. Found by: Clang Static Analyzer MFC after:

svn commit: r281851 - in head/sys: amd64/amd64 amd64/include conf i386/i386 i386/include x86/x86

2015-04-22 Thread Konstantin Belousov
Author: kib Date: Wed Apr 22 12:32:14 2015 New Revision: 281851 URL: https://svnweb.freebsd.org/changeset/base/281851 Log: Move some common code from sys/amd64/amd64/machdep.c and sys/i386/i386/machdep.c to new file sys/x86/x86/cpu_machdep.c. Most of the code is related to the idle

Re: svn commit: r281854 - head/release/arm64

2015-04-22 Thread Glen Barber
On Wed, Apr 22, 2015 at 01:52:30PM +, Glen Barber wrote: Author: gjb Date: Wed Apr 22 13:52:29 2015 New Revision: 281854 URL: https://svnweb.freebsd.org/changeset/base/281854 Log: Remove the gptboot partition from the arm64 memory stick image, which is not needed/used.

svn commit: r281854 - head/release/arm64

2015-04-22 Thread Glen Barber
Author: gjb Date: Wed Apr 22 13:52:29 2015 New Revision: 281854 URL: https://svnweb.freebsd.org/changeset/base/281854 Log: Remove the gptboot partition from the arm64 memory stick image, which is not needed/used. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r281855 - in head/sys: conf dev/bxe dev/mxge geom/uncompress geom/uzip kern libkern net netgraph opencrypto sys

2015-04-22 Thread Craig Rodrigues
Author: rodrigc Date: Wed Apr 22 14:38:58 2015 New Revision: 281855 URL: https://svnweb.freebsd.org/changeset/base/281855 Log: Move zlib.c from net to libkern. It is not network-specific code and would be better as part of libkern instead. Move zlib.h and zutil.h from net/ to sys/

Re: svn commit: r281851 - in head/sys: amd64/amd64 amd64/include conf i386/i386 i386/include x86/x86

2015-04-22 Thread John Baldwin
On Wednesday, April 22, 2015 12:32:15 PM Konstantin Belousov wrote: Author: kib Date: Wed Apr 22 12:32:14 2015 New Revision: 281851 URL: https://svnweb.freebsd.org/changeset/base/281851 Log: Move some common code from sys/amd64/amd64/machdep.c and sys/i386/i386/machdep.c to new file

svn commit: r281858 - head/lib/libc/regex

2015-04-22 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 22 17:09:02 2015 New Revision: 281858 URL: https://svnweb.freebsd.org/changeset/base/281858 Log: computematchjumps(): fix allocator sizeof operand mismatch. Mostly cosmetical warning. Found by: Clang static analyzer Modified:

Re: svn commit: r281858 - head/lib/libc/regex

2015-04-22 Thread Alexey Dokuchaev
On Wed, Apr 22, 2015 at 05:09:03PM +, Pedro F. Giffuni wrote: New Revision: 281858 URL: https://svnweb.freebsd.org/changeset/base/281858 Log: computematchjumps(): fix allocator sizeof operand mismatch. [...] - pmatches = (int*) malloc(g-mlen * sizeof(unsigned int)); +

svn commit: r281859 - head/sys/boot/fdt/dts/arm

2015-04-22 Thread Luiz Otavio O Souza
Author: loos Date: Wed Apr 22 17:35:58 2015 New Revision: 281859 URL: https://svnweb.freebsd.org/changeset/base/281859 Log: Fix the SDHCI clock frequency for RPI2, the default clock (for the newer firmware versions) is 250MHz. Modified: head/sys/boot/fdt/dts/arm/bcm2836.dtsi Modified:

svn commit: r281861 - head/sys/sys

2015-04-22 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 22 18:13:28 2015 New Revision: 281861 URL: https://svnweb.freebsd.org/changeset/base/281861 Log: Add definition for the argument_with_type_tag attribute. This attribute originates in clang and brings support for checking types of variadic functions' arguments

svn commit: r281862 - head/sys/modules/zlib

2015-04-22 Thread Craig Rodrigues
Author: rodrigc Date: Wed Apr 22 18:15:18 2015 New Revision: 281862 URL: https://svnweb.freebsd.org/changeset/base/281862 Log: Move zlib.c from net to libkern. Modified: head/sys/modules/zlib/Makefile Modified: head/sys/modules/zlib/Makefile

svn commit: r281863 - head/sys/arm/broadcom/bcm2835

2015-04-22 Thread Luiz Otavio O Souza
Author: loos Date: Wed Apr 22 18:35:02 2015 New Revision: 281863 URL: https://svnweb.freebsd.org/changeset/base/281863 Log: Fetch the SDHCI frequency from videocore (our prefered source) and only if it fails, fetch the clock-frequency from DTB. If both methods fail, use the hardcoded

svn commit: r281860 - head/sys/kern

2015-04-22 Thread Alexander Motin
Author: mav Date: Wed Apr 22 18:11:34 2015 New Revision: 281860 URL: https://svnweb.freebsd.org/changeset/base/281860 Log: Make AIO to not allocate pbufs for unmapped I/O like r281825. While there, make few more performance optimizations. On 40-core system doing many 512-byte AIO

Re: svn commit: r281838 - head/sys/dev/e1000

2015-04-22 Thread Hiren Panchasara
On 04/21/15 at 03:05P, Hiren Panchasara wrote: On 04/21/15 at 08:24P, Hiren Panchasara wrote: Author: hiren Date: Tue Apr 21 20:24:15 2015 New Revision: 281838 URL: https://svnweb.freebsd.org/changeset/base/281838 Log: For igb(4), when we are doing multiqueue, we are all setup to

svn commit: r281879 - head/sys/amd64/vmm/amd

2015-04-22 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Thu Apr 23 02:50:06 2015 New Revision: 281879 URL: https://svnweb.freebsd.org/changeset/base/281879 Log: Missing break in switch case. Differential Revision:D2342 Reviewed by: neel Modified: head/sys/amd64/vmm/amd/svm.c

svn commit: r281877 - head/sys/dev/mii

2015-04-22 Thread Pyun YongHyeon
Author: yongari Date: Thu Apr 23 01:39:28 2015 New Revision: 281877 URL: https://svnweb.freebsd.org/changeset/base/281877 Log: Add another variant of BCM5708S controller to IBM HS21 workaround list. PR: 118238 MFC after:2 weeks Modified: head/sys/dev/mii/brgphy.c

svn commit: r281876 - in head/release: scripts tools

2015-04-22 Thread Glen Barber
Author: gjb Date: Thu Apr 23 01:04:14 2015 New Revision: 281876 URL: https://svnweb.freebsd.org/changeset/base/281876 Log: Create the arm64/aarch64 VM disk image as MBR instead of GPT scheme. UEFI needs to know the unique partition GUID with GPT, which changes each time. Specifically, the

svn commit: r281870 - head/sys/dev/pccbb

2015-04-22 Thread John Baldwin
Author: jhb Date: Wed Apr 22 21:38:21 2015 New Revision: 281870 URL: https://svnweb.freebsd.org/changeset/base/281870 Log: Cosmetic change: use PCIR_SECLAT_2 rather than PCIR_SECLAT_1. Modified: head/sys/dev/pccbb/pccbb_pci.c Modified: head/sys/dev/pccbb/pccbb_pci.c

svn commit: r281874 - in head/sys/dev: pccbb pci

2015-04-22 Thread John Baldwin
Author: jhb Date: Wed Apr 22 22:02:27 2015 New Revision: 281874 URL: https://svnweb.freebsd.org/changeset/base/281874 Log: Update the pci_cfg_save/restore routines to operate on bridge devices (type 1 and type 2) as well as leaf devices (type 0). In particular, this allows the existing PCI

svn commit: r281871 - head/sys/dev/pci

2015-04-22 Thread John Baldwin
Author: jhb Date: Wed Apr 22 21:41:59 2015 New Revision: 281871 URL: https://svnweb.freebsd.org/changeset/base/281871 Log: The minimim grant and maximum latency PCI config registers are only valid for type 0 devices, not type 1 or 2 bridges. Don't read them for bridge devices during bus

svn commit: r281875 - head/lib/libgeom

2015-04-22 Thread Pedro F. Giffuni
Author: pfg Date: Wed Apr 22 22:23:56 2015 New Revision: 281875 URL: https://svnweb.freebsd.org/changeset/base/281875 Log: libgeom: plug memory leak in EndElement. CID: 1016696 Found by: Clang static checker MFC after:1 week Modified:

svn commit: r281872 - head/sys/dev/pci

2015-04-22 Thread John Baldwin
Author: jhb Date: Wed Apr 22 21:47:51 2015 New Revision: 281872 URL: https://svnweb.freebsd.org/changeset/base/281872 Log: Fix some incorrect #if conditions around older workarounds for bus numbering goofs. MFC after:1 week Modified: head/sys/dev/pci/pci_pci.c Modified:

svn commit: r281873 - head/sys/dev/pci

2015-04-22 Thread John Baldwin
Author: jhb Date: Wed Apr 22 21:56:44 2015 New Revision: 281873 URL: https://svnweb.freebsd.org/changeset/base/281873 Log: Don't explicitly manage power states for PCI-PCI bridge devices in the driver's suspend and resume routines. These have been redundant no-ops since r214065 changed the

svn commit: r281846 - head/sys/arm64/arm64

2015-04-22 Thread Andrew Turner
Author: andrew Date: Wed Apr 22 09:52:51 2015 New Revision: 281846 URL: https://svnweb.freebsd.org/changeset/base/281846 Log: Remove the calls to panic from pmap_object_init_pt and pmap_clear_modify. Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/pmap.c Modified:

svn commit: r281850 - head/sys/arm64/arm64

2015-04-22 Thread Andrew Turner
Author: andrew Date: Wed Apr 22 12:24:38 2015 New Revision: 281850 URL: https://svnweb.freebsd.org/changeset/base/281850 Log: Add the null implementation of stack_save and stack_save_td. Sponsored by: The FreeBSD Foundation Modified: head/sys/arm64/arm64/stack_machdep.c Modified: