Re: svn commit: r297558 - in head/sys: kern sys x86/x86

2016-04-04 Thread Andriy Gapon
On 05/04/2016 04:14, Alexey Dokuchaev wrote: > On Mon, Apr 04, 2016 at 04:09:29PM +, Andriy Gapon wrote: >> New Revision: 297558 >> URL: https://svnweb.freebsd.org/changeset/base/297558 >> >> Log: >> new x86 smp topology detection code >> >> Previously, the code determined a topology of

svn commit: r297573 - head/sys/dev/iicbus

2016-04-04 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 5 03:27:33 2016 New Revision: 297573 URL: https://svnweb.freebsd.org/changeset/base/297573 Log: Add support for the Microchip mcp7941x. This is compatible with the ds1307, but comparing the mcp7941x datasheet vs the ds1307 code, appears there is one bit

svn commit: r297572 - head/sys/powerpc/mpc85xx

2016-04-04 Thread Justin Hibbits
Author: jhibbits Date: Tue Apr 5 02:27:01 2016 New Revision: 297572 URL: https://svnweb.freebsd.org/changeset/base/297572 Log: Make i2c device child auto-probe work for MPC85xx and QorIQ SoCs. OFW i2c probing requires a new method ofw_bus_get_node(), and the bus device is assumed

Re: svn commit: r297558 - in head/sys: kern sys x86/x86

2016-04-04 Thread Alexey Dokuchaev
On Mon, Apr 04, 2016 at 04:09:29PM +, Andriy Gapon wrote: > New Revision: 297558 > URL: https://svnweb.freebsd.org/changeset/base/297558 > > Log: > new x86 smp topology detection code > > Previously, the code determined a topology of processing units > (hardware threads, cores,

svn commit: r297571 - head/share/man/man4

2016-04-04 Thread Warren Block
Author: wblock (doc committer) Date: Tue Apr 5 01:12:56 2016 New Revision: 297571 URL: https://svnweb.freebsd.org/changeset/base/297571 Log: Add another real-life example of setting a quirk for a USB gaming keyboard. From forum thread: https://forums.freebsd.org/threads/55717/ MFC

svn commit: r297570 - head/sys/dev/xen/control

2016-04-04 Thread John Baldwin
Author: jhb Date: Tue Apr 5 00:10:07 2016 New Revision: 297570 URL: https://svnweb.freebsd.org/changeset/base/297570 Log: Remove a redundant check. cpu_suspend_map is always empty if smp_started is false. Sponsored by: Netflix Modified: head/sys/dev/xen/control/control.c

svn commit: r297569 - head/sys/net

2016-04-04 Thread John Baldwin
Author: jhb Date: Tue Apr 5 00:09:19 2016 New Revision: 297569 URL: https://svnweb.freebsd.org/changeset/base/297569 Log: Remove an unneeded check. CPUs with valid per-CPU data are not absent. Sponsored by: Netflix Modified: head/sys/net/netisr.c Modified: head/sys/net/netisr.c

svn commit: r297568 - head/sys/dev/fdc

2016-04-04 Thread John Baldwin
Author: jhb Date: Tue Apr 5 00:08:42 2016 New Revision: 297568 URL: https://svnweb.freebsd.org/changeset/base/297568 Log: Don't wakeup the fdc worker thread once a second when idle. The fdc worker thread was using a one second timeout while waiting for a new bio to arrive or for the

svn commit: r297566 - head/share/mk

2016-04-04 Thread Bryan Drewery
Author: bdrewery Date: Mon Apr 4 23:15:57 2016 New Revision: 297566 URL: https://svnweb.freebsd.org/changeset/base/297566 Log: DIRDEPS_BUILD: Use 1 parameter for defining -rpath-link. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/local.meta.sys.mk Modified:

svn commit: r297565 - head/tools/tools/net80211/wlanstats

2016-04-04 Thread Adrian Chadd
Author: adrian Date: Mon Apr 4 22:10:52 2016 New Revision: 297565 URL: https://svnweb.freebsd.org/changeset/base/297565 Log: [net80211] Add an A-MSDU debug output shortcut. Modified: head/tools/tools/net80211/wlanstats/main.c Modified: head/tools/tools/net80211/wlanstats/main.c

svn commit: r297564 - head/tools/tools/nanobsd

2016-04-04 Thread Gleb Smirnoff
Author: glebius Date: Mon Apr 4 21:06:44 2016 New Revision: 297564 URL: https://svnweb.freebsd.org/changeset/base/297564 Log: Add early_customize_cmd() that allows to register custom functions run before the build stage. Reviewed by: imp Obtained from:Netflix Modified:

svn commit: r297563 - head/tools/tools/net80211/wlanstats

2016-04-04 Thread Adrian Chadd
Author: adrian Date: Mon Apr 4 20:33:16 2016 New Revision: 297563 URL: https://svnweb.freebsd.org/changeset/base/297563 Log: [net80211] teach wlanstats about the ff_encapfail field. Without this it just displays a blank, short column which is just plainly not useful. Modified:

Re: svn commit: r297501 - head/usr.sbin/pciconf

2016-04-04 Thread Oliver Pinter
On Monday, April 4, 2016, John Baldwin wrote: > On Saturday, April 02, 2016 11:49:53 AM Oliver Pinter wrote: > > > + if (cap & PCIEM_SLOT_CAP_HPS) > > > + printf(" surprise"); > > > > > > What is this surprise string or state? Or is this a forgotten debug >

Re: svn commit: r297501 - head/usr.sbin/pciconf

2016-04-04 Thread John Baldwin
On Saturday, April 02, 2016 11:49:53 AM Oliver Pinter wrote: > > + if (cap & PCIEM_SLOT_CAP_HPS) > > + printf(" surprise"); > > > What is this surprise string or state? Or is this a forgotten debug string? It's an actual thing in the spec. "Surprise" insertion/removal means

svn commit: r297561 - in head/sys: arm/arm arm64/arm64

2016-04-04 Thread Andrew Turner
Author: andrew Date: Mon Apr 4 17:04:33 2016 New Revision: 297561 URL: https://svnweb.freebsd.org/changeset/base/297561 Log: Add a table to map from the FreeBSD CPUID space to the GIC CPUID space. On many SoCs these two are the same, however there is no requirement for this to be the case,

svn commit: r297558 - in head/sys: kern sys x86/x86

2016-04-04 Thread Andriy Gapon
Author: avg Date: Mon Apr 4 16:09:29 2016 New Revision: 297558 URL: https://svnweb.freebsd.org/changeset/base/297558 Log: new x86 smp topology detection code Previously, the code determined a topology of processing units (hardware threads, cores, packages) and then deduced a cache

svn commit: r297557 - head/lib/libc/locale

2016-04-04 Thread Andrey A. Chernov
Author: ache Date: Mon Apr 4 15:56:14 2016 New Revision: 297557 URL: https://svnweb.freebsd.org/changeset/base/297557 Log: SJIS encoding don't have single byte characters >= 224 MFC after: 1 week Modified: head/lib/libc/locale/mskanji.c Modified: head/lib/libc/locale/mskanji.c

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

2016-04-04 Thread Andrew Turner
Author: andrew Date: Mon Apr 4 15:13:17 2016 New Revision: 297556 URL: https://svnweb.freebsd.org/changeset/base/297556 Log: Reduce the diff for when we switch to intrng. The IPI interrupts will be split out to multiple handlers. Obtained from:ABT Systems Ltd Sponsored by: The

Re: svn commit: r297501 - head/usr.sbin/pciconf

2016-04-04 Thread Eric van Gyzen
On 04/02/2016 04:49, Oliver Pinter wrote: > > + printf(" slot %d", (cap & PCIEM_SLOT_CAP_PSN) >> 19); > + printf(" power limit %d mW", slot_power(cap)); > + if (cap & PCIEM_SLOT_CAP_HPC) > + printf(" HotPlug(%s)", sta & PCIEM_SLOT_STA_PDS ? >

svn commit: r297552 - head/sys/kern

2016-04-04 Thread Andrew Turner
Author: andrew Date: Mon Apr 4 10:52:43 2016 New Revision: 297552 URL: https://svnweb.freebsd.org/changeset/base/297552 Log: Include sys/rman.h directly rather than relying on header pollution. Obtained from:ABT Systems Ltd Sponsored by: The FreeBSD Foundation Modified:

svn commit: r297551 - head/share/misc

2016-04-04 Thread Maxim Konovalov
Author: maxim Date: Mon Apr 4 10:27:48 2016 New Revision: 297551 URL: https://svnweb.freebsd.org/changeset/base/297551 Log: OpenBSD 5.9 and FreeBSD 10.3 releases added. Modified: head/share/misc/bsd-family-tree Modified: head/share/misc/bsd-family-tree

svn commit: r297550 - head/sys/dev/extres/clk

2016-04-04 Thread Andrew Turner
Author: andrew Date: Mon Apr 4 10:03:06 2016 New Revision: 297550 URL: https://svnweb.freebsd.org/changeset/base/297550 Log: Fix a format string when uint64_t is not unsigned long long by casting through uintmax_t. Modified: head/sys/dev/extres/clk/clk.c Modified:

svn commit: r297545 - in head/sys: arm/broadcom/bcm2835 boot/fdt/dts/arm

2016-04-04 Thread Svatopluk Kraus
Author: skra Date: Mon Apr 4 09:41:22 2016 New Revision: 297545 URL: https://svnweb.freebsd.org/changeset/base/297545 Log: Define local-intc for BCM2836 platform (RPI2) and make BCM2835 intc a child of it. This is done in conformity with Linux dts files and as preparation for rework of

svn commit: r297541 - in head/sys/arm/ti: . omap4

2016-04-04 Thread Svatopluk Kraus
Author: skra Date: Mon Apr 4 09:29:30 2016 New Revision: 297541 URL: https://svnweb.freebsd.org/changeset/base/297541 Log: Rework TI gpio interrupt controller for INTRNG. It's used on PANDABOARD and BEAGLEBONE where INTRNG is already enabled by default. Reviewed by: gonzo

svn commit: r297540 - in head/sys/arm: conf ti

2016-04-04 Thread Svatopluk Kraus
Author: skra Date: Mon Apr 4 09:23:21 2016 New Revision: 297540 URL: https://svnweb.freebsd.org/changeset/base/297540 Log: Rework am33xx interrupt controller for INTRNG and enable it on BEAGLEBONE by default. Reviewed by: gonzo Differential Revision:

svn commit: r297539 - in head/sys: arm/arm arm/freescale/imx arm/include arm/mv arm/nvidia arm/ti/omap4 kern sys

2016-04-04 Thread Svatopluk Kraus
Author: skra Date: Mon Apr 4 09:15:25 2016 New Revision: 297539 URL: https://svnweb.freebsd.org/changeset/base/297539 Log: Remove FDT specific parts from INTRNG. Change its interface to make it universal. (1) New struct intr_map_data is defined as a container for arbitrary description

svn commit: r297538 - in head/sys/arm64: arm64 include

2016-04-04 Thread Wojciech Macek
Author: wma Date: Mon Apr 4 07:16:43 2016 New Revision: 297538 URL: https://svnweb.freebsd.org/changeset/base/297538 Log: arm64: pagezero improvement This change has been provided to improve pagezero call performance. Submitted by: Dominik Ermel

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

2016-04-04 Thread Wojciech Macek
Author: wma Date: Mon Apr 4 07:11:33 2016 New Revision: 297537 URL: https://svnweb.freebsd.org/changeset/base/297537 Log: Add bzero.S to ARM64 machdep Add fille missing from https://svnweb.freebsd.org/changeset/base/297536 Added: head/sys/arm64/arm64/bzero.S (contents, props changed)

svn commit: r297536 - in head/sys: arm64/arm64 arm64/include conf

2016-04-04 Thread Wojciech Macek
Author: wma Date: Mon Apr 4 07:06:20 2016 New Revision: 297536 URL: https://svnweb.freebsd.org/changeset/base/297536 Log: arm64: bzero optimization This optimization attempts to utylize as wide as possible register store instructions to zero large buffers. The implementation, if

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

2016-04-04 Thread Konstantin Belousov
Author: kib Date: Mon Apr 4 06:58:59 2016 New Revision: 297535 URL: https://svnweb.freebsd.org/changeset/base/297535 Log: Remove unused variable. It was write-only before r297139. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/lib/libthr/thread/thr_init.c

svn commit: r297534 - head/sys/dev/flash

2016-04-04 Thread Stanislav Galabov
Author: sgalabov Date: Mon Apr 4 06:55:48 2016 New Revision: 297534 URL: https://svnweb.freebsd.org/changeset/base/297534 Log: Enable 4-byte address support for the mx25l family of SPI flash devices. Introduce 2 new flags: - FL_ENABLE_4B_ADDR (forces the use of 4-byte addresses) -