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

2015-03-01 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 2 07:51:14 2015 New Revision: 279516 URL: https://svnweb.freebsd.org/changeset/base/279516 Log: MFC r279206: In some cases soreceive_dgram() can return no data, but has control message. This can happen when application is sending packets too big for the path

svn commit: r279514 - head/sys/mips/conf

2015-03-01 Thread Adrian Chadd
Author: adrian Date: Mon Mar 2 02:27:25 2015 New Revision: 279514 URL: https://svnweb.freebsd.org/changeset/base/279514 Log: Add support for the AP135 2.0 reference platform. This is a QCA9558 SoC (2ghz 3x3) with an atheros 11ac PCIe 5GHz 3x3 NIC and an AR8327 gigabit ethernet switch.

svn commit: r279513 - head/sys/mips/conf

2015-03-01 Thread Adrian Chadd
Author: adrian Date: Mon Mar 2 02:24:46 2015 New Revision: 279513 URL: https://svnweb.freebsd.org/changeset/base/279513 Log: Bring over the initial QCA955x SoC support framework. This is enough to bring up the basic SoC support. What works thus far: * The mips74k core, pll setup,

svn commit: r279512 - head/sys/dev/ath

2015-03-01 Thread Adrian Chadd
Author: adrian Date: Mon Mar 2 02:14:44 2015 New Revision: 279512 URL: https://svnweb.freebsd.org/changeset/base/279512 Log: Lay some groundwork for having this stuff hang off of AHB rather than the CPU nexus. * Add ahb as a possible bus attachment * Lay a comment down to remind me or

svn commit: r279511 - head/sys/mips/atheros

2015-03-01 Thread Adrian Chadd
Author: adrian Date: Mon Mar 2 02:08:43 2015 New Revision: 279511 URL: https://svnweb.freebsd.org/changeset/base/279511 Log: [QCA955x] make the USB EHCI interrupts shareable. There's two EHCI controllers in the QCA955x SoCs - they have different interrupts available via various demux reg

svn commit: r279510 - head/sys/mips/atheros

2015-03-01 Thread Adrian Chadd
Author: adrian Date: Mon Mar 2 01:53:47 2015 New Revision: 279510 URL: https://svnweb.freebsd.org/changeset/base/279510 Log: Add initial QCA955x support to if_arge.c. Tested: * AP135 development board, QCA9558 SoC. Modified: head/sys/mips/atheros/if_arge.c Modified: head/sys/mips/

svn commit: r279509 - head/sys/mips/atheros

2015-03-01 Thread Adrian Chadd
Author: adrian Date: Mon Mar 2 01:23:59 2015 New Revision: 279509 URL: https://svnweb.freebsd.org/changeset/base/279509 Log: Add a MII mode for SGMII. This appears on the AR934x and later chips, although it's not something that's programmed via the arge0/arge1 register space. It's just

svn commit: r279508 - head/bin/sh

2015-03-01 Thread Jilles Tjoelker
Author: jilles Date: Sun Mar 1 22:32:23 2015 New Revision: 279508 URL: https://svnweb.freebsd.org/changeset/base/279508 Log: sh: Fix more compiler warnings. Modified: head/bin/sh/eval.c head/bin/sh/eval.h head/bin/sh/histedit.c head/bin/sh/jobs.c head/bin/sh/options.c head/bin/sh/v

svn commit: r279507 - stable/10/share/man/man5

2015-03-01 Thread Garrett Cooper
Author: ngie Date: Sun Mar 1 22:12:24 2015 New Revision: 279507 URL: https://svnweb.freebsd.org/changeset/base/279507 Log: Regen src.conf(5) Modified: stable/10/share/man/man5/src.conf.5 Modified: stable/10/share/man/man5/src.conf.5 ==

svn commit: r279506 - in stable/10: lib share/mk tools/build/options usr.bin

2015-03-01 Thread Garrett Cooper
Author: ngie Date: Sun Mar 1 22:07:54 2015 New Revision: 279506 URL: https://svnweb.freebsd.org/changeset/base/279506 Log: MFC r278193: Add MK_FILE to control whether or not to build file(1), libmagic(3), etc Sponsored by: EMC / Isilon Storage Division Added: stable/10/tools/build/

svn commit: r279505 - in stable/10: etc libexec share/mk tools/build/options usr.bin usr.sbin

2015-03-01 Thread Garrett Cooper
Author: ngie Date: Sun Mar 1 22:03:52 2015 New Revision: 279505 URL: https://svnweb.freebsd.org/changeset/base/279505 Log: MFC r278192: Add the following options to enable/disable several features in the base system WITHOUT_BOOTPARAMD - bootparamd WITHOUT_BOOTPD - bootpd WITHOUT_

svn commit: r279504 - head/sys/powerpc/booke

2015-03-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 1 21:47:38 2015 New Revision: 279504 URL: https://svnweb.freebsd.org/changeset/base/279504 Log: Missed local diff. Modified: head/sys/powerpc/booke/machdep.c head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/machdep.c =

svn commit: r279503 - in head: bin/kill bin/sh bin/sh/bltin usr.bin/printf

2015-03-01 Thread Jilles Tjoelker
Author: jilles Date: Sun Mar 1 21:46:55 2015 New Revision: 279503 URL: https://svnweb.freebsd.org/changeset/base/279503 Log: sh: Fix compiler warnings related to duplicate or missing declarations. Modified: head/bin/kill/kill.c head/bin/sh/arith_yacc.h head/bin/sh/arith_yylex.c head/bi

svn commit: r279502 - head/sys/fs/nandfs

2015-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 21:41:37 2015 New Revision: 279502 URL: https://svnweb.freebsd.org/changeset/base/279502 Log: nandfs_meta_bread() calls bread() which can set bp to NULL in some error cases. Calling brelse() with a NULL pointer is not allowed, so only call brelse() when the bp is

svn commit: r279500 - head/sys/dev/ed

2015-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 21:41:33 2015 New Revision: 279500 URL: https://svnweb.freebsd.org/changeset/base/279500 Log: Unlock the main lock before returning rather than after to eliminate dead code that shouldn't have been dead. Reported by: Maxime Villard Modified: head/sys/dev/ed

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

2015-03-01 Thread Warner Losh
Author: imp Date: Sun Mar 1 21:41:35 2015 New Revision: 279501 URL: https://svnweb.freebsd.org/changeset/base/279501 Log: Don't leak 'used' in a few error cases. Reported by: Maxime Villard Modified: head/sys/dev/pci/pci.c Modified: head/sys/dev/pci/pci.c ==

svn commit: r279499 - stable/10/etc/rc.d

2015-03-01 Thread Garrett Cooper
Author: ngie Date: Sun Mar 1 21:24:19 2015 New Revision: 279499 URL: https://svnweb.freebsd.org/changeset/base/279499 Log: MFC r278704: Unbreak rcorder when MK_UNBOUND == no by moving local_unbound from REQUIRE: in NETWORKING to BEFORE: in the script Modified: stable/10/etc/rc.d/NETWO

svn commit: r279498 - head/sys/powerpc/booke

2015-03-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 1 21:23:23 2015 New Revision: 279498 URL: https://svnweb.freebsd.org/changeset/base/279498 Log: Initialize NX stack capabilities and direct map status in pmap like on AIM. Modified: head/sys/powerpc/booke/machdep.c head/sys/powerpc/booke/pmap.c Modified: h

svn commit: r279497 - stable/10/etc/rc.d

2015-03-01 Thread Garrett Cooper
Author: ngie Date: Sun Mar 1 21:22:34 2015 New Revision: 279497 URL: https://svnweb.freebsd.org/changeset/base/279497 Log: Unbreak rcorUnbreak rcorder when MK_UTX == no by moving utx from REQUIRE: in LOGIN to BEFORE: in utx Modified: stable/10/etc/rc.d/LOGIN stable/10/etc/rc.d/utx Direc

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

2015-03-01 Thread Nathan Whitehorn
Author: nwhitehorn Date: Sun Mar 1 21:20:18 2015 New Revision: 279496 URL: https://svnweb.freebsd.org/changeset/base/279496 Log: Merge r278429 from ppc64: Fix an extremely subtle concurrency bug triggered by running on 32-thread POWER8 systems. During thread switch, there was a very smal

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

2015-03-01 Thread Garrett Cooper
Author: ngie Date: Sun Mar 1 21:03:34 2015 New Revision: 279495 URL: https://svnweb.freebsd.org/changeset/base/279495 Log: MFC r278891: Add the mnt_lockref field to the ddb(4) 'show mount' command Differential Revision: https://reviews.freebsd.org/D1688 Submitted by: Conrad Meyer

svn commit: r279494 - in head/sys: conf dev/pci

2015-03-01 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Mar 1 20:54:29 2015 New Revision: 279494 URL: https://svnweb.freebsd.org/changeset/base/279494 Log: Record the dependency to x86bios in vga_pci This fixes the build of XEN and XBOX kernels on i386, which was broken in r279487. While here, do not build vga_

svn commit: r279492 - head/sys/dev/etherswitch/arswitch

2015-03-01 Thread Adrian Chadd
Author: adrian Date: Sun Mar 1 20:32:35 2015 New Revision: 279492 URL: https://svnweb.freebsd.org/changeset/base/279492 Log: AR8327: Disable energy-efficient ethernet support in the PHYs. I noticed that openwrt/linux does this, citing "instability", so until they figure out why I'm going

svn commit: r279493 - head/lib/msun/src

2015-03-01 Thread Steve Kargl
Author: kargl Date: Sun Mar 1 20:32:47 2015 New Revision: 279493 URL: https://svnweb.freebsd.org/changeset/base/279493 Log: Give compilers a stronger hint to inline the functions pzero[f], qzero[f], pone[f], and qone[f]. While here fix the function declarations in accordance with style(9).

svn commit: r279491 - head/lib/msun/src

2015-03-01 Thread Steve Kargl
Author: kargl Date: Sun Mar 1 20:26:03 2015 New Revision: 279491 URL: https://svnweb.freebsd.org/changeset/base/279491 Log: When j0() and j1() were converted to j0f() and j1f(), the threshold values for the different invervals were not converted correctly. Adjust the threshold values to val

svn commit: r279490 - head/sys/dev/etherswitch/arswitch

2015-03-01 Thread Adrian Chadd
Author: adrian Date: Sun Mar 1 20:22:28 2015 New Revision: 279490 URL: https://svnweb.freebsd.org/changeset/base/279490 Log: Bump the port mask on the AR8327 ethernet switch from 0x3f to 0x7f. So, it turns out that the AR8327 has 7 ports internally: * GMAC0 / external (CPU) MAC0 * G

Re: svn commit: r279487 - head/sys/dev/pci

2015-03-01 Thread Jean-Sébastien Pédron
On 01.03.2015 16:02, Bjoern A. Zeeb wrote: >> Author: dumbbell >> Date: Sun Mar 1 12:47:36 2015 >> New Revision: 279487 >> URL: https://svnweb.freebsd.org/changeset/base/279487 >> >> Log: >> vgapci: New vga_pci_repost() function > > I think this broke a couple of i386 and pc98 kernel configs: I

svn commit: r279489 - head/sbin/mount_fusefs

2015-03-01 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Mar 1 18:26:26 2015 New Revision: 279489 URL: https://svnweb.freebsd.org/changeset/base/279489 Log: Make the "automounted" flag work for FUSE filesystems. PR: 192852 Submitted by: taku at tackymt.homeip.net (earlier version) MFC after:1 month Spo

Re: svn commit: r279487 - head/sys/dev/pci

2015-03-01 Thread Bjoern A. Zeeb
> On 01 Mar 2015, at 12:47 , Jean-Sebastien Pedron wrote: > > Author: dumbbell > Date: Sun Mar 1 12:47:36 2015 > New Revision: 279487 > URL: https://svnweb.freebsd.org/changeset/base/279487 > > Log: > vgapci: New vga_pci_repost() function > > This can be used to restore the VGA mode after a

svn commit: r279488 - in head/sys: dev/drm2 dev/drm2/radeon dev/fb dev/vt dev/vt/hw/fb dev/vt/hw/vga sys

2015-03-01 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Mar 1 12:54:22 2015 New Revision: 279488 URL: https://svnweb.freebsd.org/changeset/base/279488 Log: vt(4): Add support to "downgrade" from eg. vt_fb to vt_vga The main purpose of this feature is to be able to unload a KMS driver. When going back from the cur

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

2015-03-01 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sun Mar 1 12:47:36 2015 New Revision: 279487 URL: https://svnweb.freebsd.org/changeset/base/279487 Log: vgapci: New vga_pci_repost() function This can be used to restore the VGA mode after a KMS driver is unloaded. Differential Revision:https://reviews.f

svn commit: r279486 - stable/10/sys/x86/iommu

2015-03-01 Thread Konstantin Belousov
Author: kib Date: Sun Mar 1 10:39:19 2015 New Revision: 279486 URL: https://svnweb.freebsd.org/changeset/base/279486 Log: MFC r276949: (only to ease merging of r279117). MFC r279117: Revert r276949 and redo the fix for PCIe/PCI bridges, which do not follow specification and do not pr

svn commit: r279485 - stable/10/sys/x86/iommu

2015-03-01 Thread Konstantin Belousov
Author: kib Date: Sun Mar 1 10:35:54 2015 New Revision: 279485 URL: https://svnweb.freebsd.org/changeset/base/279485 Log: MFC r276948: Print rid when announcing DMAR context creation. Print sid when fault occurs. Modified: stable/10/sys/x86/iommu/intel_ctx.c stable/10/sys/x86/iommu/in

svn commit: r279484 - stable/10/sys/x86/iommu

2015-03-01 Thread Konstantin Belousov
Author: kib Date: Sun Mar 1 10:29:48 2015 New Revision: 279484 URL: https://svnweb.freebsd.org/changeset/base/279484 Log: MFC r276867: Fix DMAR context allocations for the devices behind PCIe->PCI bridges after dmar driver was converted to use rids. The bus component to calculate context

svn commit: r279483 - head/sys/cddl/dev/dtrace/arm

2015-03-01 Thread Andrew Turner
Author: andrew Date: Sun Mar 1 10:04:14 2015 New Revision: 279483 URL: https://svnweb.freebsd.org/changeset/base/279483 Log: Fix the dtrace ARM atomic compare-and-set functions. These functions are expected to return the data in the memory location pointed at by target after the operation.

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

2015-03-01 Thread Alexander Motin
Author: mav Date: Sun Mar 1 09:29:59 2015 New Revision: 279482 URL: https://svnweb.freebsd.org/changeset/base/279482 Log: MFC r279276: Add checks for malloc() failures. Submitted by: Dmitry Luhtionov Modified: stable/10/usr.sbin/ctld/kernel.c Directory Properties: stable/10/ (props

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

2015-03-01 Thread Alexander Motin
Author: mav Date: Sun Mar 1 09:28:39 2015 New Revision: 279481 URL: https://svnweb.freebsd.org/changeset/base/279481 Log: MFC r279277: Fix memory leak on incorrect initiator portal. Submitted by: Dmitry Luhtionov Modified: stable/10/usr.sbin/ctld/ctld.c Directory Properties: stable/1