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: 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:

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: 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

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: 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:

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

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

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

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

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: 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

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:

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:

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

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

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.

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'm sorry, I'm

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 dumbb...@freebsd.org 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

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

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 *

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

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

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