svn commit: r296078 - in head/sys/modules/bhnd: . bcma bcma_bhndb bhndb bhndb_pci cores cores/bhnd_chipc cores/bhnd_pci cores/bhnd_pci_hostb cores/bhnd_pcib nvram siba siba_bhndb

2016-02-25 Thread Adrian Chadd
Author: adrian Date: Fri Feb 26 03:34:32 2016 New Revision: 296078 URL: https://svnweb.freebsd.org/changeset/base/296078 Log: Add modules support for the bhnd code. Submitted by: Landon Fuller Obtained from: https://github.com/landonf/freebsd/compare/user/landonf/bcm4331-CURRENT

svn commit: r296077 - in head/sys/dev/bhnd: . bcma bhndb cores cores/chipc cores/pci nvram siba tools

2016-02-25 Thread Adrian Chadd
Author: adrian Date: Fri Feb 26 03:34:08 2016 New Revision: 296077 URL: https://svnweb.freebsd.org/changeset/base/296077 Log: Bring over the initial rewrite of the broadcom bus support found in their SoCs and various chips (including, famously, their wifi chips.) This is "just" (all 20,00

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

2016-02-25 Thread Sepherosa Ziehau
Author: sephe Date: Fri Feb 26 02:26:19 2016 New Revision: 296076 URL: https://svnweb.freebsd.org/changeset/base/296076 Log: hyperv: Use atomic_fetchadd_int to get GPADL id. Reviewed by: Hongjiang Zhang MFC after:1 week Sponsored by: Microsoft OSTC Differential Revision:

svn commit: r296075 - head/share/mk

2016-02-25 Thread Bryan Drewery
Author: bdrewery Date: Fri Feb 26 01:52:33 2016 New Revision: 296075 URL: https://svnweb.freebsd.org/changeset/base/296075 Log: Let CLEANDEPENDFILES actually be set before bsd.dep.mk. This fixes 'cleandepend' for kmods after r295983. Pointyhat to: bdrewery Sponsored by: EMC / Isilon

svn commit: r296071 - in head/sys: dev/bxe modules/bxe

2016-02-25 Thread David C Somayajulu
Author: davidcs Date: Thu Feb 25 22:44:00 2016 New Revision: 296071 URL: https://svnweb.freebsd.org/changeset/base/296071 Log: Upgrade the firmware carried in driver and loaded during hardware initialization (a.k.a STORM firmware) to version 7.13.1 (latest version) Modified: head/sys/dev/bx

svn commit: r296070 - head/sys/arm/qemu

2016-02-25 Thread Andrew Turner
Author: andrew Date: Thu Feb 25 22:13:43 2016 New Revision: 296070 URL: https://svnweb.freebsd.org/changeset/base/296070 Log: Fix a mistake that crept in when moving between git and svn, pic_ipi_send should not be called from platform_mp_init_secondary. Sponsored by: ABT Systems Ltd Modi

svn commit: r296067 - head/share/mk

2016-02-25 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 25 21:04:52 2016 New Revision: 296067 URL: https://svnweb.freebsd.org/changeset/base/296067 Log: Slightly lessen the amount of job target output for SUBDIR_PARALLEL. Sponsored by: EMC / Isilon Storage Division Modified: head/share/mk/bsd.subdir.mk Modified

svn commit: r296068 - in head/share/i18n: csmapper esdb

2016-02-25 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 25 21:05:04 2016 New Revision: 296068 URL: https://svnweb.freebsd.org/changeset/base/296068 Log: Remove realall references from initial NetBSD import in r219019. We've never had a realall. Sponsored by: EMC / Isilon Storage Division Modified: head/shar

svn commit: r296066 - in head/sys/arm: allwinner/a20 altera/socfpga amlogic/aml8726 annapurna/alpine arm broadcom/bcm2835 freescale/imx include mv/armada38x mv/armadaxp qemu rockchip samsung/exynos...

2016-02-25 Thread Andrew Turner
Author: andrew Date: Thu Feb 25 20:48:23 2016 New Revision: 296066 URL: https://svnweb.freebsd.org/changeset/base/296066 Log: Remove platform_ipi_send, it's an unneeded as all implementations are identical. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/allwinner/a20/a20_mp.c

svn commit: r296064 - in head/sys: arm/allwinner arm/arm arm/conf boot/fdt/dts/arm

2016-02-25 Thread Jared McNeill
Author: jmcneill Date: Thu Feb 25 20:17:18 2016 New Revision: 296064 URL: https://svnweb.freebsd.org/changeset/base/296064 Log: Add Allwinner A20 HDMI support. The HDMI driver will attach a framebuffer device when a display is connected. If the EDID can be read and contains a preferred mo

svn commit: r296063 - head/sys/netinet6

2016-02-25 Thread Mark Johnston
Author: markj Date: Thu Feb 25 20:12:05 2016 New Revision: 296063 URL: https://svnweb.freebsd.org/changeset/base/296063 Log: Lock the NDP default router list and count defrouter references. This addresses a number of race conditions that can cause crashes as a result of unsynchronized acc

svn commit: r296062 - head/share/mk

2016-02-25 Thread Bryan Drewery
Author: bdrewery Date: Thu Feb 25 20:02:42 2016 New Revision: 296062 URL: https://svnweb.freebsd.org/changeset/base/296062 Log: Fix build without FAST_DEPEND and without running 'make depend' after r295985. The OBJS_DEPEND_GUESS mechanism required moving the bsd.dep.mk inclusion to after

svn commit: r296060 - in head/sys: compat/freebsd32 kern sys

2016-02-25 Thread Mark Johnston
Author: markj Date: Thu Feb 25 19:58:23 2016 New Revision: 296060 URL: https://svnweb.freebsd.org/changeset/base/296060 Log: Improve error handling for posix_fallocate(2) and posix_fadvise(2). - Set td_errno so that ktrace and dtrace can obtain the syscall error number in the usual way.

svn commit: r296059 - head/share/misc

2016-02-25 Thread Stanislav Galabov
Author: sgalabov Date: Thu Feb 25 19:29:55 2016 New Revision: 296059 URL: https://svnweb.freebsd.org/changeset/base/296059 Log: Add myself as src committer Approved by: adrian (mentor) Differential Revision:https://reviews.freebsd.org/D5438 Mcommitters-src.dot Modified:

svn commit: r296057 - in head/sys/modules: linux linux64

2016-02-25 Thread Ed Maste
Author: emaste Date: Thu Feb 25 19:26:14 2016 New Revision: 296057 URL: https://svnweb.freebsd.org/changeset/base/296057 Log: pass -fPIC to the assembler, not linker -fPIC has no effect on linking although it seems to be ignored by GNU ld.bfd. However, it causes ld.lld to terminate with

svn commit: r296054 - head/usr.bin/talk

2016-02-25 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 25 19:06:44 2016 New Revision: 296054 URL: https://svnweb.freebsd.org/changeset/base/296054 Log: talk(1): Replace select(2) with poll(2) Hinted by:OpenBSD and NetBSD Modified: head/usr.bin/talk/ctl_transact.c head/usr.bin/talk/io.c Modified: head/usr.bin/

svn commit: r296047 - in head: . contrib/mdocml contrib/tcpdump etc/defaults etc/mtree etc/rc.d gnu/usr.bin/groff/tmac lib lib/libc/posix1e lib/libcapsicum lib/libcasper lib/libcasper/libcasper lib...

2016-02-25 Thread Mariusz Zaborski
96047) @@ -38,6 +38,25 @@ # xargs -n1 | sort | uniq -d; # done +# 20160225: Remove casperd and libcapsicum. +OLD_FILES+=sbin/casperd +OLD_FILES+=etc/rc.d/casperd +OLD_FILES+=usr/share/man/man8/casperd.8.gz +OLD_FILES+=usr/include/libcapsicum.h +OLD_FILES+=usr/include/libcapsicum_service.h

svn commit: r296042 - head/usr.bin/kdump

2016-02-25 Thread John Baldwin
Author: jhb Date: Thu Feb 25 17:43:32 2016 New Revision: 296042 URL: https://svnweb.freebsd.org/changeset/base/296042 Log: Add simple support for CloudABI processes to kdump(1). This does not decode arguments to system calls but should properly decode system call names and error return va

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

2016-02-25 Thread Andrew Turner
Author: andrew Date: Thu Feb 25 16:50:36 2016 New Revision: 296041 URL: https://svnweb.freebsd.org/changeset/base/296041 Log: Add support for the Allwinner A31 watchdog to the existing A10 watchdog driver. This mostly involves selecting the register offsets to use at runtime based on the har

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:29:57 2016 New Revision: 296039 URL: https://svnweb.freebsd.org/changeset/base/296039 Log: Introduce HW TSO support for VNIC This feature was added in Pass2.0. Significantly improves VNIC's TCP performance on Tx. Reviewed by: wma Obtained from: Sem

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:28:10 2016 New Revision: 296038 URL: https://svnweb.freebsd.org/changeset/base/296038 Log: Enable CQ count threshold interrupt on VNIC Pass2.0 On Pass2.0 can trigger interrupt on both timer and CQ count. Reviewed by: wma Obtained from: Semihalf Spo

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:26:13 2016 New Revision: 296037 URL: https://svnweb.freebsd.org/changeset/base/296037 Log: Fix VNIC support for Pass2.0 ThunderX chips - Check chip revision using pass1_silicon() routine. - Configure CPI correctly for Pass2.0 Reviewed by: wma Obtai

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:24:32 2016 New Revision: 296036 URL: https://svnweb.freebsd.org/changeset/base/296036 Log: Remove soft reset from the VNIC's PF driver This is not needed and causes revid register of the PCI configuration space to clear on Pass2.0. Reviewed by: wma

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:23:02 2016 New Revision: 296035 URL: https://svnweb.freebsd.org/changeset/base/296035 Log: Improve VNIC performance on Tx path by immediate packet transmission Don't postpone Tx if the Tx lock can be acquired now. This gives 3x better performance on egress.

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:21:04 2016 New Revision: 296034 URL: https://svnweb.freebsd.org/changeset/base/296034 Log: Clean-up network interface settings for VNIC - Remove unrelevant bits - Remove redundant code - Reset variables and then set given bits Reviewed by: wma Ob

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:19:02 2016 New Revision: 296033 URL: https://svnweb.freebsd.org/changeset/base/296033 Log: Enable HWSTATS capability for VNIC VNIC manages counters in hardware hence it is desired to have this option enabled to avoid redundant stats update in ether_input_in

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:17:13 2016 New Revision: 296032 URL: https://svnweb.freebsd.org/changeset/base/296032 Log: Prefetch next CQ descriptor in Completion Queue handling loop of VNIC Reviewed by: wma Obtained from: Semihalf Sponsored by: Cavium Differential Revision: http

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:14:46 2016 New Revision: 296031 URL: https://svnweb.freebsd.org/changeset/base/296031 Log: Enable LRO support for VNIC driver Support for software LRO when enabled in the capabilities Reviewed by: wma Obtained from: Semihalf Sponsored by: Cavium

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

2016-02-25 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 25 14:12:51 2016 New Revision: 296030 URL: https://svnweb.freebsd.org/changeset/base/296030 Log: Add support for hardware Tx and Rx checksums to VNIC driver - The network controller verifies Rx TCP/UDP/SCTP checksums by default. Communicate this to the stack wh

svn commit: r296029 - in head/sys: arm/allwinner arm/allwinner/a31 conf

2016-02-25 Thread Andrew Turner
Author: andrew Date: Thu Feb 25 12:17:41 2016 New Revision: 296029 URL: https://svnweb.freebsd.org/changeset/base/296029 Log: Add the Allwinner A31 and A31s padconf support. It's currently unused, but will be needed when we bring in further support for these SoCs. Submitted by: Emmanuel V

svn commit: r296028 - in head/sys/dev/hyperv: netvsc vmbus

2016-02-25 Thread Sepherosa Ziehau
Author: sephe Date: Thu Feb 25 09:27:50 2016 New Revision: 296028 URL: https://svnweb.freebsd.org/changeset/base/296028 Log: hyperv: Wait 5 seconds for hyperv result, instead of 500ms This addresses various devices (network, stoarge) attach failure. Reported by: Hongxiong Xian Test

Re: svn commit: r296025 - head/sys/netpfil/pf

2016-02-25 Thread Kristof Provost
On 2016-02-24 23:47:55 (-0800), Conrad Meyer wrote: > On Wed, Feb 24, 2016 at 11:41 PM, Adrian Chadd wrote: > > .. what's capping totlen so one doesn't run out of memory? > > There was a DoS vector before (user controlled io->pfrio_size) and > basically the same DoS vector now (either of io->pfr