svn commit: r282942 - head/sys/dev/sfxge

2015-05-15 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 15 06:50:59 2015 New Revision: 282942 URL: https://svnweb.freebsd.org/changeset/base/282942 Log: sfxge: split sfxge_tx_qdpl_put() into *_locked() and *_unlocked() It simplifies understanding of the sfxge_tx_packet_add() logic and avoids passing of 'locked'

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

2015-05-15 Thread Konstantin Belousov
Author: kib Date: Fri May 15 08:40:17 2015 New Revision: 282948 URL: https://svnweb.freebsd.org/changeset/base/282948 Log: Some third-party malloc(3) implementations use pthread_setspecific(3) to handle per-thread information. Since our pthread_setspecific() implementation calls calloc(3)

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

2015-05-15 Thread Konstantin Belousov
Author: kib Date: Fri May 15 07:57:47 2015 New Revision: 282945 URL: https://svnweb.freebsd.org/changeset/base/282945 Log: Implement the support for PCID in UP kernels. Requested by: alc Tested by:pho Sponsored by: The FreeBSD Foundation MFC after:3 weeks Modified:

svn commit: r282944 - in head/sys: kern sys

2015-05-15 Thread Konstantin Belousov
Author: kib Date: Fri May 15 07:54:31 2015 New Revision: 282944 URL: https://svnweb.freebsd.org/changeset/base/282944 Log: Right now, the process' p_boundary_count counter is decremented by the suspended thread itself, on the return path from thread_suspend_check(). A consequence is that

svn commit: r282939 - head/sys/dev/ixl

2015-05-15 Thread Marcelo Araujo
Author: araujo (ports committer) Date: Fri May 15 06:11:47 2015 New Revision: 282939 URL: https://svnweb.freebsd.org/changeset/base/282939 Log: Free vsi-queues after use. Differential Revision:D2344 Reviewed by: erj Modified: head/sys/dev/ixl/if_ixlv.c Modified:

svn commit: r282940 - head/sys/dev/sfxge

2015-05-15 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 15 06:48:36 2015 New Revision: 282940 URL: https://svnweb.freebsd.org/changeset/base/282940 Log: sfxge: LRO may be done only if checksums are OK Also it is cheaper to check Rx descriptor flags than TCP protocol in IP header. Reviewed by:gnn

svn commit: r282941 - head/sys/dev/sfxge

2015-05-15 Thread Andrew Rybchenko
Author: arybchik Date: Fri May 15 06:49:43 2015 New Revision: 282941 URL: https://svnweb.freebsd.org/changeset/base/282941 Log: sfxge: do not change CSUM_TSO when IFCAP_TSOx is changed It is simply not required since the kernel checks corresponding IFCAP_TSOx capability and CSUM_TSO in

svn commit: r282947 - in head/sys: amd64/amd64 kern

2015-05-15 Thread Konstantin Belousov
Author: kib Date: Fri May 15 08:30:29 2015 New Revision: 282947 URL: https://svnweb.freebsd.org/changeset/base/282947 Log: On amd64, make proc0 pmap initialization slightly more correct. In particular, switch to the proc0 pmap to have expected %cr3 and PCID for the thread0 during

Re: svn commit: r282907 - head/sys/sys

2015-05-15 Thread Tijl Coosemans
On Thu, 14 May 2015 15:49:49 + (UTC) Pedro F. Giffuni p...@freebsd.org wrote: Author: pfg Date: Thu May 14 15:49:48 2015 New Revision: 282907 URL: https://svnweb.freebsd.org/changeset/base/282907 Log: Add new __unreachable() builtin This is one of the few post gcc4.2 builtins

svn commit: r282965 - in head: sbin/ifconfig sys/net sys/netinet sys/netinet6

2015-05-15 Thread Andrey V. Elsukov
Author: ae Date: Fri May 15 12:19:45 2015 New Revision: 282965 URL: https://svnweb.freebsd.org/changeset/base/282965 Log: Add an ability accept encapsulated packets from different sources by one gif(4) interface. Add new option ignore_source for gif(4) interface. When it is enabled, gif's

svn commit: r282967 - head/sbin/ifconfig

2015-05-15 Thread Alexander V. Chernikov
Author: melifaro Date: Fri May 15 12:32:17 2015 New Revision: 282967 URL: https://svnweb.freebsd.org/changeset/base/282967 Log: Simplify i2c reader: we don't need per-NIC handler anymore. Make code use read_i2c() function instead of callback. Simplifydocument struct i2c_info. Consistently

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

2015-05-15 Thread Jason A. Harmening
Author: jah Date: Fri May 15 12:28:17 2015 New Revision: 282966 URL: https://svnweb.freebsd.org/changeset/base/282966 Log: Update iic(4) man page to reflect recent changes Differential Revision:https://reviews.freebsd.org/D2461 Reviewed by: wblock Approved by: kib (mentor)

svn commit: r282971 - in head/sys: kern sys

2015-05-15 Thread John Baldwin
Author: jhb Date: Fri May 15 13:50:37 2015 New Revision: 282971 URL: https://svnweb.freebsd.org/changeset/base/282971 Log: Previously, cv_waiters was only updated by cv_signal or cv_wait. If a thread awakened due to a time out, then cv_waiters was not decremented. If INT_MAX threads timed

svn commit: r282970 - head/sys/dev/iscsi

2015-05-15 Thread Alexander Motin
Author: mav Date: Fri May 15 13:36:50 2015 New Revision: 282970 URL: https://svnweb.freebsd.org/changeset/base/282970 Log: Close some potential races around socket start/close. There are some reports about panics on ic-ic_socket NULL derefence. This kind of races is the only way I can

svn commit: r282972 - in head/sys: dev/fdt dev/gpio dev/ofw mips/beri powerpc/ofw powerpc/pseries

2015-05-15 Thread Ruslan Bukin
Author: br Date: Fri May 15 13:55:18 2015 New Revision: 282972 URL: https://svnweb.freebsd.org/changeset/base/282972 Log: Provide the number of interrupt resources added to the list by using extra argument, so caller will know that. Modified: head/sys/dev/fdt/simplebus.c

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

2015-05-15 Thread Jason A. Harmening
Author: jah Date: Fri May 15 13:04:14 2015 New Revision: 282969 URL: https://svnweb.freebsd.org/changeset/base/282969 Log: Bump date for iic.4 Modified: head/share/man/man4/iic.4 Modified: head/share/man/man4/iic.4

svn commit: r282978 - head/sys/dev/netmap

2015-05-15 Thread Patrick Kelsey
Author: pkelsey Date: Fri May 15 15:36:57 2015 New Revision: 282978 URL: https://svnweb.freebsd.org/changeset/base/282978 Log: When a netmap process terminates without the full set of buffers it was granted via rings and ni_bufs_list_head represented in those rings and lists (e.g., via

svn commit: r282980 - head/usr.bin/man

2015-05-15 Thread Baptiste Daroussin
Author: bapt Date: Fri May 15 15:56:28 2015 New Revision: 282980 URL: https://svnweb.freebsd.org/changeset/base/282980 Log: Allow MANWIDTH to work with mandoc(1) Reported by: bdrewery Modified: head/usr.bin/man/man.sh Modified: head/usr.bin/man/man.sh

Re: svn commit: r282971 - in head/sys: kern sys

2015-05-15 Thread John Baldwin
On Friday, May 15, 2015 01:50:38 PM John Baldwin wrote: Author: jhb Date: Fri May 15 13:50:37 2015 New Revision: 282971 URL: https://svnweb.freebsd.org/changeset/base/282971 Log: Previously, cv_waiters was only updated by cv_signal or cv_wait. If a thread awakened due to a time out,

svn commit: r282994 - head/tools/build

2015-05-15 Thread Dimitry Andric
Author: dim Date: Fri May 15 22:19:35 2015 New Revision: 282994 URL: https://svnweb.freebsd.org/changeset/base/282994 Log: Provide reallocarray() in -legacy, if needed, to allow building head on previous releases. Also add a stdlib.h wrapper, which declares the function, otherwise the

svn commit: r282973 - in head: gnu/lib tools/build/mk

2015-05-15 Thread Ed Maste
Author: emaste Date: Fri May 15 14:22:33 2015 New Revision: 282973 URL: https://svnweb.freebsd.org/changeset/base/282973 Log: Build libgomp only if we're also building base system GCC Clang's OpenMP support will emit Intel OpenMP API library calls, and will therefore require libiomp (or

svn commit: r282998 - head/sys/dev/sfxge

2015-05-15 Thread Andrew Rybchenko
Author: arybchik Date: Sat May 16 05:43:20 2015 New Revision: 282998 URL: https://svnweb.freebsd.org/changeset/base/282998 Log: sfxge: move mbuf free to sfxge_if_transmit() It is a preparation to the next patch which will service packet queue even if packet addtion fails. Reviewed

Re: svn commit: r282948 - head/lib/libthr/thread

2015-05-15 Thread Rui Paulo
On Friday 15 May 2015 08:40:17 Konstantin Belousov wrote: Author: kib Date: Fri May 15 08:40:17 2015 New Revision: 282948 URL: https://svnweb.freebsd.org/changeset/base/282948 Log: Some third-party malloc(3) implementations use pthread_setspecific(3) to handle per-thread information.

svn commit: r282996 - head/sys/dev/sfxge

2015-05-15 Thread Andrew Rybchenko
Author: arybchik Date: Sat May 16 05:36:40 2015 New Revision: 282996 URL: https://svnweb.freebsd.org/changeset/base/282996 Log: sfxge: support Rx checksum offloads disabling We can't disable it in HW, but we can ignore result. Discard Rx descriptor checksum flags if Rx checksum offload

svn commit: r282997 - head/sys/dev/sfxge

2015-05-15 Thread Andrew Rybchenko
Author: arybchik Date: Sat May 16 05:37:47 2015 New Revision: 282997 URL: https://svnweb.freebsd.org/changeset/base/282997 Log: sfxge: get rid of locked variable in sfxge_tx_packet_add() Now each branch has one and only one possible TxQ lock state. It simplifies understanding of the

svn commit: r282986 - head/share/mk

2015-05-15 Thread Cy Schubert
Author: cy Date: Fri May 15 19:37:17 2015 New Revision: 282986 URL: https://svnweb.freebsd.org/changeset/base/282986 Log: Correct location for libntpevent.a. Modified: head/share/mk/src.libnames.mk Modified: head/share/mk/src.libnames.mk

svn commit: r282987 - head/sys/sys

2015-05-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 15 19:51:05 2015 New Revision: 282987 URL: https://svnweb.freebsd.org/changeset/base/282987 Log: Break apart the gnu_inline attribute and use artificial if available. In general it is bad practice to use the gnu_inline attribute but we will need it in special

svn commit: r282985 - in head/sys: arm/annapurna arm/annapurna/alpine arm/annapurna/alpine/hal arm/conf boot/fdt/dts/arm

2015-05-15 Thread Zbigniew Bodek
Author: zbb Date: Fri May 15 18:25:48 2015 New Revision: 282985 URL: https://svnweb.freebsd.org/changeset/base/282985 Log: Introduce support for the Alpine PoC from Annapurna Labs The Alpine Platform-On-Chip offers multicore processing (quad ARM Cortex-A15), 1/10Gb Ethernet, SATA 3,

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

2015-05-15 Thread Ian Lepore
Author: ian Date: Fri May 15 18:07:58 2015 New Revision: 282983 URL: https://svnweb.freebsd.org/changeset/base/282983 Log: Retrieve the cache parms in the proper arch-specific way. Submitted by: Michal Meloun mel...@miracle.cz Modified: head/sys/arm/arm/cpuinfo.c Modified:

svn commit: r282989 - head/sys/sys

2015-05-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 15 20:47:25 2015 New Revision: 282989 URL: https://svnweb.freebsd.org/changeset/base/282989 Log: Break apart the gnu_inline attribute and use artificial if available. Missing #endif Reported by: jhb, jenkins Pointed hat: me Modified:

svn commit: r282990 - head/sys/sys

2015-05-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 15 20:53:43 2015 New Revision: 282990 URL: https://svnweb.freebsd.org/changeset/base/282990 Log: Break apart the gnu_inline attribute and use artificial if available. Missing #endif (in wrong place) Pointed hat: me Modified: head/sys/sys/cdefs.h

Re: svn commit: r282987 - head/sys/sys

2015-05-15 Thread Pedro Giffuni
On 05/15/15 15:35, John Baldwin wrote: On Friday, May 15, 2015 07:51:06 PM Pedro F. Giffuni wrote: Author: pfg Date: Fri May 15 19:51:05 2015 New Revision: 282987 URL: https://svnweb.freebsd.org/changeset/base/282987 Log: Break apart the gnu_inline attribute and use artificial if

Re: svn commit: r282987 - head/sys/sys

2015-05-15 Thread John Baldwin
On Friday, May 15, 2015 07:51:06 PM Pedro F. Giffuni wrote: Author: pfg Date: Fri May 15 19:51:05 2015 New Revision: 282987 URL: https://svnweb.freebsd.org/changeset/base/282987 Log: Break apart the gnu_inline attribute and use artificial if available. In general it is bad

Re: svn commit: r282907 - head/sys/sys

2015-05-15 Thread Pedro Giffuni
On 05/15/15 05:33, Tijl Coosemans wrote: Modified: head/sys/sys/cdefs.h == --- head/sys/sys/cdefs.hThu May 14 15:14:03 2015(r282906) +++ head/sys/sys/cdefs.hThu May 14 15:49:48 2015

svn commit: r282981 - head/sys/sys

2015-05-15 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 15 17:51:03 2015 New Revision: 282981 URL: https://svnweb.freebsd.org/changeset/base/282981 Log: Replace a CONSTCOND for a void value as a replacement for __unreachable builtin This only applies if we are not using clang or gcc but it lets us use the

svn commit: r282982 - head/sys/netipsec

2015-05-15 Thread George V. Neville-Neil
Author: gnn Date: Fri May 15 18:04:49 2015 New Revision: 282982 URL: https://svnweb.freebsd.org/changeset/base/282982 Log: Summary: Remove spurious, extra, next header comments. Correct the name of the pad length field. Modified: head/sys/netipsec/esp.h Modified: head/sys/netipsec/esp.h

svn commit: r282984 - head/sys/arm/include

2015-05-15 Thread Ian Lepore
Author: ian Date: Fri May 15 18:10:00 2015 New Revision: 282984 URL: https://svnweb.freebsd.org/changeset/base/282984 Log: Add assertions that the addresses passed to tlb maintenance are page-aligned. Perform cache writebacks and invalidations in the correct (inner to outer or vice

svn commit: r282991 - head/sys/x86/acpica

2015-05-15 Thread Adrian Chadd
Author: adrian Date: Fri May 15 21:33:19 2015 New Revision: 282991 URL: https://svnweb.freebsd.org/changeset/base/282991 Log: Update the comments to match what the code ended up becoming. -1 is now no locality information available. Sponsored by: Norse Corp, Inc. Modified: