svn commit: r297731 - head/sys/net80211

2016-04-08 Thread Adrian Chadd
Author: adrian Date: Sat Apr 9 04:57:25 2016 New Revision: 297731 URL: https://svnweb.freebsd.org/changeset/base/297731 Log: [net80211] print out the channel type (eg a, b, g, n) when creating an IBSS network. Modified: head/sys/net80211/ieee80211_node.c Modified:

svn commit: r297730 - head/sys/dev/hwpmc

2016-04-08 Thread Justin Hibbits
Author: jhibbits Date: Sat Apr 9 01:02:17 2016 New Revision: 297730 URL: https://svnweb.freebsd.org/changeset/base/297730 Log: Fix a masking bug for e500 PMC. No idea how this slipped through my regression testing. pe_code is the event to count, pe_cpu is the CPU family mask.

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

2016-04-08 Thread Adrian Chadd
Author: adrian Date: Sat Apr 9 00:58:38 2016 New Revision: 297729 URL: https://svnweb.freebsd.org/changeset/base/297729 Log: [ath] Only process beacon frames for the IBSS/BSSID if appropriate. * Don't use arbitrary frames for the average RX RSSI - only frames from the current BSSID

svn commit: r297728 - head/sys/net80211

2016-04-08 Thread Adrian Chadd
Author: adrian Date: Sat Apr 9 00:55:55 2016 New Revision: 297728 URL: https://svnweb.freebsd.org/changeset/base/297728 Log: [net8021] Pull out the ibss check code into a public function. The ath(4) driver now sees beacons and management frames for different BSSIDs in IBSS mode, which

svn commit: r297727 - head/sys/net80211

2016-04-08 Thread Adrian Chadd
Author: adrian Date: Sat Apr 9 00:54:02 2016 New Revision: 297727 URL: https://svnweb.freebsd.org/changeset/base/297727 Log: [net80211] revert part of r282405 in order to restore IBSS behaviour. This prevents nodes being created for peers on BSSes that are not our own. (Ie, same

svn commit: r297726 - head/sys/arm/allwinner/a31

2016-04-08 Thread Jared McNeill
Author: jmcneill Date: Fri Apr 8 23:11:00 2016 New Revision: 297726 URL: https://svnweb.freebsd.org/changeset/base/297726 Log: Fix incorrect pin definitions for Allwinner A31. Modified: head/sys/arm/allwinner/a31/a31_padconf.c Modified: head/sys/arm/allwinner/a31/a31_padconf.c

svn commit: r297725 - head/sys/arm/allwinner

2016-04-08 Thread Jared McNeill
Author: jmcneill Date: Fri Apr 8 23:07:16 2016 New Revision: 297725 URL: https://svnweb.freebsd.org/changeset/base/297725 Log: Attach hwreset resources at the same time as clock resources. Modified: head/sys/arm/allwinner/aw_reset.c Modified: head/sys/arm/allwinner/aw_reset.c

svn commit: r297722 - head/sys/kern

2016-04-08 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Apr 8 18:15:31 2016 New Revision: 297722 URL: https://svnweb.freebsd.org/changeset/base/297722 Log: Make it possible to tweak RCTL throttling sysctls at runtime. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/kern/kern_rctl.c

Re: svn commit: r297717 - head/sys/mips/mediatek

2016-04-08 Thread Stanislav Galabov
> On Apr 8, 2016, at 19:11, John Baldwin wrote: > >> On Friday, April 08, 2016 03:26:49 PM Stanislav Galabov wrote: >> Author: sgalabov >> Date: Fri Apr 8 15:26:49 2016 >> New Revision: 297717 >> URL: https://svnweb.freebsd.org/changeset/base/297717 >> >> Log: >> Introduce

Re: svn commit: r297717 - head/sys/mips/mediatek

2016-04-08 Thread John Baldwin
On Friday, April 08, 2016 03:26:49 PM Stanislav Galabov wrote: > Author: sgalabov > Date: Fri Apr 8 15:26:49 2016 > New Revision: 297717 > URL: https://svnweb.freebsd.org/changeset/base/297717 > > Log: > Introduce Mediatek/Ralink PCIe support > > This revision introduces PCIe support for

svn commit: r297721 - head/sys/dev/vnic

2016-04-08 Thread Zbigniew Bodek
Author: zbb Date: Fri Apr 8 16:14:18 2016 New Revision: 297721 URL: https://svnweb.freebsd.org/changeset/base/297721 Log: Fix sending TSO packets larger than single DMA segment on VNIC Due to the bug in the number of 'GATHER' subdescriptors for TSO packets, VNIC was not able to transmit

svn commit: r297720 - head/sys/mips/mips

2016-04-08 Thread Stanislav Galabov
Author: sgalabov Date: Fri Apr 8 15:48:10 2016 New Revision: 297720 URL: https://svnweb.freebsd.org/changeset/base/297720 Log: Fix MIPS INTRNG omissions, add soft/hard interrupts with different names Reviewed by: kan Approved by: adrian (mentor) Differential Revision:

Re: svn commit: r297699 - head/sys/dev/hyperv/vmbus

2016-04-08 Thread John Baldwin
On Friday, April 08, 2016 09:20:47 AM Sepherosa Ziehau wrote: > Author: sephe > Date: Fri Apr 8 09:20:46 2016 > New Revision: 297699 > URL: https://svnweb.freebsd.org/changeset/base/297699 > > Log: > hyperv: Revert r297481 > > Use vm_guest == VM_GUEST_HV is not enough to determine whether

svn commit: r297718 - head/sys/mips/mediatek

2016-04-08 Thread Stanislav Galabov
Author: sgalabov Date: Fri Apr 8 15:28:12 2016 New Revision: 297718 URL: https://svnweb.freebsd.org/changeset/base/297718 Log: Introduce better locking for mtk_gpio_v[12] drivers Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD Differential Revision:

svn commit: r297717 - head/sys/mips/mediatek

2016-04-08 Thread Stanislav Galabov
Author: sgalabov Date: Fri Apr 8 15:26:49 2016 New Revision: 297717 URL: https://svnweb.freebsd.org/changeset/base/297717 Log: Introduce Mediatek/Ralink PCIe support This revision introduces PCIe support for the relevant Mediatek/Ralink SoCs. Currently the PCIe support is not

svn commit: r297716 - head/sys/mips/mediatek

2016-04-08 Thread Stanislav Galabov
Author: sgalabov Date: Fri Apr 8 15:22:30 2016 New Revision: 297716 URL: https://svnweb.freebsd.org/changeset/base/297716 Log: Introduce XHCI support for MT7621 SoC Tested on a MT7621 board, similar to the WiTi board. More testing will be required to confirm everything is fine, but

svn commit: r297715 - head/sys/mips/mediatek

2016-04-08 Thread Stanislav Galabov
Author: sgalabov Date: Fri Apr 8 15:20:58 2016 New Revision: 297715 URL: https://svnweb.freebsd.org/changeset/base/297715 Log: Disable USB PHY slew rate calibration for Mediatek SoCs for now USB on both MT7621 and MT7688 seems to work much better without doing slew rate calibration.

svn commit: r297714 - head/sys/mips/mediatek

2016-04-08 Thread Stanislav Galabov
Author: sgalabov Date: Fri Apr 8 15:13:38 2016 New Revision: 297714 URL: https://svnweb.freebsd.org/changeset/base/297714 Log: Fix wrong memory mapping In mtk_soc.c memory is mapped incorrectly for MT7621. This revision fixes this. Approved by: adrian (mentor) Sponsored by:

svn commit: r297713 - head/usr.sbin/bsdinstall/scripts

2016-04-08 Thread Allan Jude
Author: allanjude Date: Fri Apr 8 15:08:22 2016 New Revision: 297713 URL: https://svnweb.freebsd.org/changeset/base/297713 Log: bsdinstall/zfsboot should create /tmp and /var/tmp if they do not exist PR: 208629 PR: 208568 Submitted by: Galael LAPLANCHE

svn commit: r297712 - head/usr.sbin/bsdinstall/scripts

2016-04-08 Thread Allan Jude
Author: allanjude Date: Fri Apr 8 15:05:06 2016 New Revision: 297712 URL: https://svnweb.freebsd.org/changeset/base/297712 Log: Do not add swap to fstab when swapsize is 0 If a user requested encrypted swap, but 0 sized, it would still be added to fstab PR: 208630

svn commit: r297710 - head/sys/kern

2016-04-08 Thread Andriy Gapon
Author: avg Date: Fri Apr 8 11:59:11 2016 New Revision: 297710 URL: https://svnweb.freebsd.org/changeset/base/297710 Log: topo_set_pu_id: turn a check into an assertion The new id must not be present in any cpu set in any topology element. MFC after:30 days Modified:

svn commit: r297709 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-04-08 Thread Andriy Gapon
Author: avg Date: Fri Apr 8 11:58:24 2016 New Revision: 297709 URL: https://svnweb.freebsd.org/changeset/base/297709 Log: zio write issue threads should have lower (numerically greater) priority This is because they might do data compression which is quite CPU expensive. The original

svn commit: r297708 - head/usr.bin/whois

2016-04-08 Thread Tony Finch
Author: fanf Date: Fri Apr 8 11:43:22 2016 New Revision: 297708 URL: https://svnweb.freebsd.org/changeset/base/297708 Log: Handle whois referrals between RIRs This is rather ugly, because the RIPE and APNIC whois servers do not provide referrals for address blocks that they do not

svn commit: r297707 - head/sys/dev/vnic

2016-04-08 Thread Wojciech Macek
Author: wma Date: Fri Apr 8 11:20:56 2016 New Revision: 297707 URL: https://svnweb.freebsd.org/changeset/base/297707 Log: Speedup BGX link polling on ARM64 The previous values caused the callout thread stall for 100ms each 2s if no link is present. Dtrace analysis showed that it has

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

2016-04-08 Thread Konstantin Belousov
Author: kib Date: Fri Apr 8 11:15:26 2016 New Revision: 297706 URL: https://svnweb.freebsd.org/changeset/base/297706 Log: Use __FBSDID() for .c files from lib/libthr/thread. Sponsored by: The FreeBSD Foundation Modified: head/lib/libthr/thread/thr_affinity.c

svn commit: r297705 - head/sys/netinet6

2016-04-08 Thread Andrey V. Elsukov
Author: ae Date: Fri Apr 8 11:13:24 2016 New Revision: 297705 URL: https://svnweb.freebsd.org/changeset/base/297705 Log: Fix regression introduced in r296986. Currently we don't keep zoneid in in6_ifaddr structure, because there is still some code, that doesn't properly initialize

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

2016-04-08 Thread Konstantin Belousov
Author: kib Date: Fri Apr 8 10:59:06 2016 New Revision: 297704 URL: https://svnweb.freebsd.org/changeset/base/297704 Log: Use ANSI C function definitions, fix spelling in a comment. Sponsored by: The FreeBSD Foundation Modified: head/lib/libthr/thread/thr_main_np.c

svn commit: r297703 - head/sys/arm/allwinner

2016-04-08 Thread Jared McNeill
Author: jmcneill Date: Fri Apr 8 10:54:59 2016 New Revision: 297703 URL: https://svnweb.freebsd.org/changeset/base/297703 Log: Add function for mapping SRAM-D area to USB0 (OTG) controller. Use a lower pass number to ensure that this driver is loaded before EMAC or OTG, regardless of the

Re: svn commit: r297699 - head/sys/dev/hyperv/vmbus

2016-04-08 Thread Howard Su
On Fri, Apr 8, 2016 at 5:49 PM Alexander Motin wrote: > On 08.04.16 12:42, Konstantin Belousov wrote: > > On Fri, Apr 08, 2016 at 09:20:47AM +, Sepherosa Ziehau wrote: > >> Author: sephe > >> Date: Fri Apr 8 09:20:46 2016 > >> New Revision: 297699 > >> URL:

svn commit: r297702 - in head/sys: boot/common kern

2016-04-08 Thread Konstantin Belousov
Author: kib Date: Fri Apr 8 10:23:48 2016 New Revision: 297702 URL: https://svnweb.freebsd.org/changeset/base/297702 Log: Use the ABI-prescribed name for SHT_X86_64_UNWIND in the loader and kernel linker, after the r297686. Sponsored by: The FreeBSD Foundation Modified:

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

2016-04-08 Thread Konstantin Belousov
Author: kib Date: Fri Apr 8 10:21:43 2016 New Revision: 297701 URL: https://svnweb.freebsd.org/changeset/base/297701 Log: Assert that the lock objects put into the off-page, fit into the page. Sponsored by: The FreeBSD Foundation Modified: head/lib/libthr/thread/thr_barrier.c

Re: svn commit: r297690 - head/sys/boot/forth

2016-04-08 Thread Bruce Evans
On Thu, 7 Apr 2016, Maxim Sobolev wrote: Hi Bruce, thanks for the input! I will see if I can move that piece into loader.8 and extend it a bit from the source "documentation". Thanks. I checked what happens for space and newline as field separators. They both to work in -current. The

Re: svn commit: r297699 - head/sys/dev/hyperv/vmbus

2016-04-08 Thread Alexander Motin
On 08.04.16 12:42, Konstantin Belousov wrote: > On Fri, Apr 08, 2016 at 09:20:47AM +, Sepherosa Ziehau wrote: >> Author: sephe >> Date: Fri Apr 8 09:20:46 2016 >> New Revision: 297699 >> URL: https://svnweb.freebsd.org/changeset/base/297699 >> >> Log: >> hyperv: Revert r297481 >> >>

Re: svn commit: r297699 - head/sys/dev/hyperv/vmbus

2016-04-08 Thread Konstantin Belousov
On Fri, Apr 08, 2016 at 09:20:47AM +, Sepherosa Ziehau wrote: > Author: sephe > Date: Fri Apr 8 09:20:46 2016 > New Revision: 297699 > URL: https://svnweb.freebsd.org/changeset/base/297699 > > Log: > hyperv: Revert r297481 > > Use vm_guest == VM_GUEST_HV is not enough to determine

svn commit: r297699 - head/sys/dev/hyperv/vmbus

2016-04-08 Thread Sepherosa Ziehau
Author: sephe Date: Fri Apr 8 09:20:46 2016 New Revision: 297699 URL: https://svnweb.freebsd.org/changeset/base/297699 Log: hyperv: Revert r297481 Use vm_guest == VM_GUEST_HV is not enough to determine whether FreeBSD is running on Hyper-V or not. What a mess. Reported by:

Re: svn commit: r297633 - in head: sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/ext2fs sys/kern sys/sys sys/ufs/ffs sys/ufs/ufs sys/vm usr.bin/rctl

2016-04-08 Thread Pieter de Goeje
Op 2016-04-07 om 06:23 schreef Edward Tomasz Napierala: +static uint64_t +xmul(uint64_t a, uint64_t b) +{ + uint64_t c; + + if (a == 0 || b == 0) + return (0); + + c = a * b; + + if (c < a || c < b) + return (UINT64_MAX); If the intent is to

svn commit: r297696 - in head/sys/dev/usb: . quirk

2016-04-08 Thread Hans Petter Selasky
Author: hselasky Date: Fri Apr 8 06:51:49 2016 New Revision: 297696 URL: https://svnweb.freebsd.org/changeset/base/297696 Log: Add new USB quirk. Submitted by: AJ PR: 208623 MFC after:1 week Modified: head/sys/dev/usb/quirk/usb_quirk.c