svn commit: r298768 - in head: bin/tests cddl/lib/tests cddl/sbin/tests cddl/tests cddl/usr.bin/tests cddl/usr.sbin/tests gnu/lib/tests gnu/tests gnu/usr.bin/tests lib/atf/libatf-c/tests/detail lib...

2016-04-28 Thread Glen Barber
Author: gjb Date: Fri Apr 29 05:28:40 2016 New Revision: 298768 URL: https://svnweb.freebsd.org/changeset/base/298768 Log: Fix including Kyuafile in packaged base system. Fix a related typo while here. Note, this change results in the Kyuafile inclusion in the runtime package, which

svn commit: r298767 - stable/9/bin/ed

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 29 03:13:18 2016 New Revision: 298767 URL: https://svnweb.freebsd.org/changeset/base/298767 Log: MFC r298640: ed(1): switch two statements so we check the index before dereferencing. Modified: stable/9/bin/ed/cbc.c Directory Properties: stable/9/bin/ed/ (props

svn commit: r298766 - stable/10/bin/ed

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 29 03:12:14 2016 New Revision: 298766 URL: https://svnweb.freebsd.org/changeset/base/298766 Log: MFC r298640: ed(1): switch two statements so we check the index before dereferencing. Modified: stable/10/bin/ed/cbc.c Directory Properties: stable/10/ (props chang

svn commit: r298765 - stable/9/sbin/fsck_ffs

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 29 03:06:42 2016 New Revision: 298765 URL: https://svnweb.freebsd.org/changeset/base/298765 Log: MFC r298551, r298679, r298680: fsck_ffs: use uint32_t for closedisk(). fs_ncg is of type uint32_t, and we were indexing it with an int. Fixed this using an unsigned

svn commit: r298764 - stable/10/sbin/fsck_ffs

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 29 03:04:56 2016 New Revision: 298764 URL: https://svnweb.freebsd.org/changeset/base/298764 Log: MFC r298551, r298679, r298680: fsck_ffs: use uint32_t for closedisk(). fs_ncg is of type uint32_t, and we were indexing it with an int. Fixed this using an unsigned

svn commit: r298763 - stable/10/usr.bin/patch

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 29 02:56:03 2016 New Revision: 298763 URL: https://svnweb.freebsd.org/changeset/base/298763 Log: MFC r298530: patch(1): avoid signed integer overflow when debugging. Integer i is used to index p_end of type LINENUM (actually long). Match the types. Modified:

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

2016-04-28 Thread Adrian Chadd
Author: adrian Date: Fri Apr 29 01:53:45 2016 New Revision: 298762 URL: https://svnweb.freebsd.org/changeset/base/298762 Log: [ath] Add LDPC transmit support. LDPC adds better transmit reliability if both ends support it. You in theory can do both STBC and LDPC at the same time. If I

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

2016-04-28 Thread Adrian Chadd
Author: adrian Date: Fri Apr 29 01:52:06 2016 New Revision: 298761 URL: https://svnweb.freebsd.org/changeset/base/298761 Log: [ath] turn the BA hardware bug back into a printf(). I saw this happen a couple of times and all I saw was a dump of the transmit descriptors. Log the message for

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

2016-04-28 Thread Adrian Chadd
Author: adrian Date: Fri Apr 29 01:51:27 2016 New Revision: 298760 URL: https://svnweb.freebsd.org/changeset/base/298760 Log: [ath] Add counters for STBC TX and LDPC TX. This is a big no-op until the TX path changes to enable LDPC TX are added. Modified: head/sys/dev/ath/if_ath_sysctl.

svn commit: r298759 - head/share/man/man7

2016-04-28 Thread Warren Block
Author: wblock (doc committer) Date: Thu Apr 28 22:14:09 2016 New Revision: 298759 URL: https://svnweb.freebsd.org/changeset/base/298759 Log: Clarify build(7) instructions for alternate object directory. PR: 209062 Submitted by: Shawn Debnath MFC after:1 week Differenti

svn commit: r298758 - head/sbin/camcontrol

2016-04-28 Thread Garrett Cooper
Author: ngie Date: Thu Apr 28 21:17:23 2016 New Revision: 298758 URL: https://svnweb.freebsd.org/changeset/base/298758 Log: Remove logically impossible test in scsidoinquiry(..) It was already done 4 lines prior and the value of error didn't change MFC after: 3 days Reported by: Cove

svn commit: r298757 - head/sys/net80211

2016-04-28 Thread Adrian Chadd
Author: adrian Date: Thu Apr 28 20:30:49 2016 New Revision: 298757 URL: https://svnweb.freebsd.org/changeset/base/298757 Log: [net80211] fix indenting. Sponsored by: Eva Automation, Inc. Modified: head/sys/net80211/ieee80211_adhoc.c Modified: head/sys/net80211/ieee80211_adhoc.c

svn commit: r298756 - head/sys/net80211

2016-04-28 Thread Adrian Chadd
Author: adrian Date: Thu Apr 28 20:29:49 2016 New Revision: 298756 URL: https://svnweb.freebsd.org/changeset/base/298756 Log: [net80211] handle action frames in adhoc mode from the node that created the BSS. We don't have a separate bss node; instead we dup the first node we saw and turn

svn commit: r298755 - in head/sys/geom: journal raid

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Thu Apr 28 19:26:46 2016 New Revision: 298755 URL: https://svnweb.freebsd.org/changeset/base/298755 Log: sys/geom: spelling fixes. These affect debugging messages. MFC after:2 weeks Modified: head/sys/geom/journal/g_journal.h head/sys/geom/raid/g_raid_ctl.c

svn commit: r298754 - head/sys/dev/acpica

2016-04-28 Thread John Baldwin
Author: jhb Date: Thu Apr 28 18:53:14 2016 New Revision: 298754 URL: https://svnweb.freebsd.org/changeset/base/298754 Log: Only count CPU devices that are using the ACPI CPU driver. Arguably we should only be doing the probe/attach to children of these devices as well. Tested by:

svn commit: r298753 - head/lib/libcam

2016-04-28 Thread Garrett Cooper
Author: ngie Date: Thu Apr 28 18:41:55 2016 New Revision: 298753 URL: https://svnweb.freebsd.org/changeset/base/298753 Log: Fix va_list handling - Add missing va_end's after corresponding va_start's to cleanup state - Eliminate questionable bzero'ing of va_list passed in to do_buff_de

svn commit: r298752 - head/share/man/man9

2016-04-28 Thread John Baldwin
Author: jhb Date: Thu Apr 28 18:23:18 2016 New Revision: 298752 URL: https://svnweb.freebsd.org/changeset/base/298752 Log: Add some notes about the implicit resource mapping for activated resources. Specifically, mention that rman_get_bustag/handle/virtual are valid after a resource is ac

svn commit: r298751 - head/share/man/man9

2016-04-28 Thread John Baldwin
Author: jhb Date: Thu Apr 28 18:01:25 2016 New Revision: 298751 URL: https://svnweb.freebsd.org/changeset/base/298751 Log: Document RF_PREFETCHABLE. Modified: head/share/man/man9/bus_alloc_resource.9 Modified: head/share/man/man9/bus_alloc_resource.9 =

svn commit: r298750 - head/usr.sbin/bsnmpd/tools/libbsnmptools

2016-04-28 Thread Garrett Cooper
Author: ngie Date: Thu Apr 28 17:57:17 2016 New Revision: 298750 URL: https://svnweb.freebsd.org/changeset/base/298750 Log: Use a better idiom for finding UTC prefixed timezones Instead of copy-pasting the string literal for "UTC" 3 times and using strlen, use a static char[3] buffer and

svn commit: r298749 - head/share/man/man9

2016-04-28 Thread John Baldwin
Author: jhb Date: Thu Apr 28 17:50:16 2016 New Revision: 298749 URL: https://svnweb.freebsd.org/changeset/base/298749 Log: Document PCI_RES_BUS as a possible resource type. Modified: head/share/man/man9/bus_activate_resource.9 head/share/man/man9/bus_alloc_resource.9 Modified: head/share/m

svn commit: r298748 - head/share/man/man9

2016-04-28 Thread John Baldwin
Author: jhb Date: Thu Apr 28 17:48:52 2016 New Revision: 298748 URL: https://svnweb.freebsd.org/changeset/base/298748 Log: Remove a stale reference to the removed RF_TIMESHARE flag. Modified: head/share/man/man9/bus_alloc_resource.9 Modified: head/share/man/man9/bus_alloc_resource.9

svn commit: r298747 - in head/sys: net netinet netinet6

2016-04-28 Thread Randall Stewart
Author: rrs Date: Thu Apr 28 15:53:10 2016 New Revision: 298747 URL: https://svnweb.freebsd.org/changeset/base/298747 Log: Complete the UDP tunneling of ICMP msgs to those protocols interested in having tunneled UDP and finding out about the ICMP (tested by Michael Tuexen with SCTP.. soon to

svn commit: r298746 - head/usr.bin/localedef

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Thu Apr 28 15:20:08 2016 New Revision: 298746 URL: https://svnweb.freebsd.org/changeset/base/298746 Log: Small typo. Modified: head/usr.bin/localedef/wide.c Modified: head/usr.bin/localedef/wide.c =

svn commit: r298745 - head/sys/cam/scsi

2016-04-28 Thread Pedro F. Giffuni
Author: pfg Date: Thu Apr 28 15:18:28 2016 New Revision: 298745 URL: https://svnweb.freebsd.org/changeset/base/298745 Log: Small typos. Modified: head/sys/cam/scsi/scsi_all.c Modified: head/sys/cam/scsi/scsi_all.c ==

svn commit: r298744 - head/usr.sbin/extattr/tests

2016-04-28 Thread Alan Somers
Author: asomers Date: Thu Apr 28 15:13:50 2016 New Revision: 298744 URL: https://svnweb.freebsd.org/changeset/base/298744 Log: Add PACKAGE fields to usr.sbin/extattr/tests/Makefile usr.sbin/extattr/tests/Makefile Add boiler plate required by 298107 but omitted by 298483. These

svn commit: r298743 - in head/sys/netinet: . tcp_stacks

2016-04-28 Thread Randall Stewart
Author: rrs Date: Thu Apr 28 13:27:12 2016 New Revision: 298743 URL: https://svnweb.freebsd.org/changeset/base/298743 Log: This cleans up the timers code in TCP to start using the new async_drain functionality. This as been tested in NF as well as by Verisign. Still to do in here is to remov

svn commit: r298742 - head/sys/arm/nvidia

2016-04-28 Thread Michal Meloun
Author: mmel Date: Thu Apr 28 13:00:40 2016 New Revision: 298742 URL: https://svnweb.freebsd.org/changeset/base/298742 Log: TEGRA: Add interrupt support for Tegra GPIO controller. Modified: head/sys/arm/nvidia/tegra_gpio.c Modified: head/sys/arm/nvidia/tegra_gpio.c ==

svn commit: r298741 - head/contrib/jemalloc/include/jemalloc

2016-04-28 Thread Andrew Turner
Author: andrew Date: Thu Apr 28 12:24:58 2016 New Revision: 298741 URL: https://svnweb.freebsd.org/changeset/base/298741 Log: Stop using sbrk(2) with malloc. This helps reduce the number of places within the tree where we call this legacy interface. Reviewed by: jasone Obtained from:

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

2016-04-28 Thread Michal Meloun
Author: mmel Date: Thu Apr 28 12:05:07 2016 New Revision: 298740 URL: https://svnweb.freebsd.org/changeset/base/298740 Log: ARM: Use kernel pmap as intermediate mapping in context switch. On ARM, we can directly switch between translation tables only when the size of the mapping for any give

svn commit: r298739 - in head/sys: dev/gpio kern sys

2016-04-28 Thread Michal Meloun
Author: mmel Date: Thu Apr 28 12:04:12 2016 New Revision: 298739 URL: https://svnweb.freebsd.org/changeset/base/298739 Log: INTRNG: Define 'INTR_IRQ_INVALID' constant and use it consistently as error indicator. Modified: head/sys/dev/gpio/gpiobus.c head/sys/kern/subr_intr.c head/sys/sys

svn commit: r298738 - in head/sys: dev/gpio kern sys

2016-04-28 Thread Michal Meloun
Author: mmel Date: Thu Apr 28 12:03:22 2016 New Revision: 298738 URL: https://svnweb.freebsd.org/changeset/base/298738 Log: GPIO: Add support for gpio pin interrupts. Add new function gpio_alloc_intr_resource(), which allows an allocation of interrupt resource associated to given gpio pin. I

svn commit: r298737 - head/sys/amd64/amd64

2016-04-28 Thread Andriy Gapon
Author: avg Date: Thu Apr 28 09:40:24 2016 New Revision: 298737 URL: https://svnweb.freebsd.org/changeset/base/298737 Log: fix missing variable in r298736 Pointyhat to: avg Reported by: Ivan Klymenko MFC after:2 weeks X-MFC with: r298736 Modified: head/sys/amd64/amd64/initc

Re: svn commit: r298736 - head/sys/amd64/amd64

2016-04-28 Thread Ivan Klymenko
On Thu, 28 Apr 2016 08:29:57 + (UTC) Andriy Gapon wrote: > Author: avg > Date: Thu Apr 28 08:29:57 2016 > New Revision: 298736 > URL: https://svnweb.freebsd.org/changeset/base/298736 > > Log: > ensure that initial local apic id is sane on AMD 10h systems > > Summary: > The Initial L

svn commit: r298736 - head/sys/amd64/amd64

2016-04-28 Thread Andriy Gapon
Author: avg Date: Thu Apr 28 08:29:57 2016 New Revision: 298736 URL: https://svnweb.freebsd.org/changeset/base/298736 Log: ensure that initial local apic id is sane on AMD 10h systems Summary: The Initial Local APIC ID is returned by CPUID function 1 (in EBX). On AMD Family 10h systems