svn commit: r312793 - head/share/misc

2017-01-25 Thread Matthew Rezny
Author: rezny (ports committer) Date: Thu Jan 26 07:07:09 2017 New Revision: 312793 URL: https://svnweb.freebsd.org/changeset/base/312793 Log: Update the mentor/mentee relationships to add myself. Reviewed by: swills Approved by: swills (mentor) Differential Revision:

Re: svn commit: r312765 - in head/contrib/llvm: include/llvm/Analysis lib/Analysis

2017-01-25 Thread Antoine Brodin
On Wed, Jan 25, 2017 at 6:59 PM, Dimitry Andric wrote: > Author: dim > Date: Wed Jan 25 17:59:22 2017 > New Revision: 312765 > URL: https://svnweb.freebsd.org/changeset/base/312765 > > Log: > Pull in r276136 from upstream llvm trunk (by Wei Mi): > > Use ValueOffsetPair to

Re: svn commit: r312792 - in head/sys/arm: arm include

2017-01-25 Thread Jason Harmening
On Wed, Jan 25, 2017 at 9:23 PM, Jason A. Harmening wrote: > Author: jah > Date: Thu Jan 26 05:23:33 2017 > New Revision: 312792 > URL: https://svnweb.freebsd.org/changeset/base/312792 > > Log: > Further cleanup of per-CPU armv6 pmap data: > > - Replace pcpu_find(curcpu)

RE: svn commit: r312687 - in head/sys: net sys

2017-01-25 Thread Dexuan Cui via svn-src-head
> From: Dexuan Cui [mailto:de...@microsoft.com] > Sent: Wednesday, January 25, 2017 06:21 > To: Gleb Smirnoff ; Dexuan Cui > Cc: src-committ...@freebsd.org; svn-src-...@freebsd.org; svn-src- > h...@freebsd.org > Subject: RE: svn commit: r312687 - in

svn commit: r312792 - in head/sys/arm: arm include

2017-01-25 Thread Jason A. Harmening
Author: jah Date: Thu Jan 26 05:23:33 2017 New Revision: 312792 URL: https://svnweb.freebsd.org/changeset/base/312792 Log: Further cleanup of per-CPU armv6 pmap data: - Replace pcpu_find(curcpu) with get_pcpu(), which is much more direct. - Remove armv4 pcpu fields which I added

svn commit: r312791 - head/contrib/ipfilter/tools

2017-01-25 Thread Cy Schubert
Author: cy Date: Thu Jan 26 04:51:48 2017 New Revision: 312791 URL: https://svnweb.freebsd.org/changeset/base/312791 Log: Use normal KNF cuddling of elses. Reported by: bde MFC after:2 weeks X-MFC with: r312777 Modified: head/contrib/ipfilter/tools/ipf.c Modified:

Re: svn commit: r312780 - head/contrib/ipfilter/tools

2017-01-25 Thread Cy Schubert
In message <20170126144726.u1...@besplex.bde.org>, Bruce Evans writes: > On Wed, 25 Jan 2017, Cy Schubert wrote: > > > Log: > > Remove extraneous blank line. > > > > MFC after: 2 weeks > > X-MFC with:r312777 > > > > Modified: > > head/contrib/ipfilter/tools/ipf.c > > > > Modified:

Re: svn commit: r312780 - head/contrib/ipfilter/tools

2017-01-25 Thread Bruce Evans
On Wed, 25 Jan 2017, Cy Schubert wrote: Log: Remove extraneous blank line. MFC after: 2 weeks X-MFC with:r312777 Modified: head/contrib/ipfilter/tools/ipf.c Modified: head/contrib/ipfilter/tools/ipf.c ==

Re: svn commit: r312770 - in head/sys: net netinet netinet6

2017-01-25 Thread Bruce Evans
On Thu, 26 Jan 2017, Konstantin Belousov wrote: On Wed, Jan 25, 2017 at 02:20:06PM -0800, Gleb Smirnoff wrote: Thanks, Luiz! One stylistic nit that I missed in review: L> static int L> -in_difaddr_ioctl(caddr_t data, struct ifnet *ifp, struct thread *td) L> +in_difaddr_ioctl(u_long cmd,

Re: svn commit: r312747 - head/sys/arm/mv

2017-01-25 Thread Ed Maste
On 25 January 2017 at 05:31, Wojciech Macek wrote: > Author: wma > Date: Wed Jan 25 10:31:16 2017 > New Revision: 312747 > URL: https://svnweb.freebsd.org/changeset/base/312747 > > Log: > Setup decoding windows for ARMADA38X > > It is necesarry to open memory windows on

svn commit: r312787 - in head: contrib/ipfilter/lib sys/contrib/ipfilter/netinet

2017-01-25 Thread Cy Schubert
Author: cy Date: Thu Jan 26 01:24:05 2017 New Revision: 312787 URL: https://svnweb.freebsd.org/changeset/base/312787 Log: Currently the fragment info is placed at the top of the linked list under a shared read lock. This patch attempts to upgrade the lock to an exclusive write lock. If the

svn commit: r312786 - head/sys/dev/e1000

2017-01-25 Thread Sean Bruno
Author: sbruno Date: Wed Jan 25 23:12:03 2017 New Revision: 312786 URL: https://svnweb.freebsd.org/changeset/base/312786 Log: Implement RSS queue tagging for em(4) class devices from a copy and massage of functions from igb(4). This enables 2 queue routing on 82574L class devices again.

svn commit: r312785 - head/sys/cam/ctl

2017-01-25 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jan 25 22:52:57 2017 New Revision: 312785 URL: https://svnweb.freebsd.org/changeset/base/312785 Log: Bring the ctl headers a bit closer to style(9). No functional changes. Modified: head/sys/cam/ctl/ctl.h head/sys/cam/ctl/ctl_io.h head/sys/cam/ctl/ctl_ioctl.h

Re: svn commit: r312770 - in head/sys: net netinet netinet6

2017-01-25 Thread Gleb Smirnoff
On Thu, Jan 26, 2017 at 12:26:32AM +0200, Konstantin Belousov wrote: K> On Wed, Jan 25, 2017 at 02:20:06PM -0800, Gleb Smirnoff wrote: K> > Thanks, Luiz! K> > K> > One stylistic nit that I missed in review: K> > K> > L> static int K> > L> -in_difaddr_ioctl(caddr_t data, struct ifnet *ifp,

svn commit: r312784 - head/sys/kern

2017-01-25 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 25 22:26:45 2017 New Revision: 312784 URL: https://svnweb.freebsd.org/changeset/base/312784 Log: For non-listening AF_UNIX sockets return error code EOPNOTSUPP to match documentation and SUS. Modified: head/sys/kern/uipc_usrreq.c Modified:

Re: svn commit: r312770 - in head/sys: net netinet netinet6

2017-01-25 Thread Konstantin Belousov
On Wed, Jan 25, 2017 at 02:20:06PM -0800, Gleb Smirnoff wrote: > Thanks, Luiz! > > One stylistic nit that I missed in review: > > L> static int > L> -in_difaddr_ioctl(caddr_t data, struct ifnet *ifp, struct thread *td) > L> +in_difaddr_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp,

Re: svn commit: r312770 - in head/sys: net netinet netinet6

2017-01-25 Thread Gleb Smirnoff
Thanks, Luiz! One stylistic nit that I missed in review: L> static int L> -in_difaddr_ioctl(caddr_t data, struct ifnet *ifp, struct thread *td) L> +in_difaddr_ioctl(u_long cmd, caddr_t data, struct ifnet *ifp, struct thread *td) L> { L> const struct ifreq *ifr = (struct ifreq *)data;

svn commit: r312782 - head/sys/net

2017-01-25 Thread Kristof Provost
Author: kp Date: Wed Jan 25 21:25:26 2017 New Revision: 312782 URL: https://svnweb.freebsd.org/changeset/base/312782 Log: bridge: Release the bridge lock when calling bridge_set_ifcap() This calls ioctl() handlers for the different interfaces in the bridge. These handlers expect to get

svn commit: r312780 - head/contrib/ipfilter/tools

2017-01-25 Thread Cy Schubert
Author: cy Date: Wed Jan 25 20:59:23 2017 New Revision: 312780 URL: https://svnweb.freebsd.org/changeset/base/312780 Log: Remove extraneous blank line. MFC after:2 weeks X-MFC with: r312777 Modified: head/contrib/ipfilter/tools/ipf.c Modified: head/contrib/ipfilter/tools/ipf.c

svn commit: r312779 - head/contrib/elftoolchain/strings

2017-01-25 Thread Ed Maste
Author: emaste Date: Wed Jan 25 20:59:06 2017 New Revision: 312779 URL: https://svnweb.freebsd.org/changeset/base/312779 Log: strings: avoid unnecessary trip through handle_file for stdin Sponsored by: The FreeBSD Foundation Modified: head/contrib/elftoolchain/strings/strings.c

svn commit: r312775 - head/sys/kern

2017-01-25 Thread Ed Maste
Author: emaste Date: Wed Jan 25 20:22:32 2017 New Revision: 312775 URL: https://svnweb.freebsd.org/changeset/base/312775 Log: ANSIfy kern_ntptime.c Modified: head/sys/kern/kern_ntptime.c Modified: head/sys/kern/kern_ntptime.c

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

2017-01-25 Thread Ed Maste
Author: emaste Date: Wed Jan 25 20:19:48 2017 New Revision: 312774 URL: https://svnweb.freebsd.org/changeset/base/312774 Log: libthr: coalesce repeated #if blocks Modified: head/lib/libthr/thread/thr_exit.c Modified: head/lib/libthr/thread/thr_exit.c

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

2017-01-25 Thread Luiz Otavio O Souza
Author: loos Date: Wed Jan 25 19:04:08 2017 New Revision: 312770 URL: https://svnweb.freebsd.org/changeset/base/312770 Log: After the in_control() changes in r257692, an existing address is (intentionally) deleted first and then completely added again (so all the events, announces and hooks

svn commit: r312767 - head/sys/dev/ahci

2017-01-25 Thread Alexander Motin
Author: mav Date: Wed Jan 25 18:16:17 2017 New Revision: 312767 URL: https://svnweb.freebsd.org/changeset/base/312767 Log: Partially workaround ASMedia HBA error recovery. Taking closer look on my ASM1062 I found that it has bunch of issues around error recovery: reported wrong CCS,

svn commit: r312765 - in head/contrib/llvm: include/llvm/Analysis lib/Analysis

2017-01-25 Thread Dimitry Andric
Author: dim Date: Wed Jan 25 17:59:22 2017 New Revision: 312765 URL: https://svnweb.freebsd.org/changeset/base/312765 Log: Pull in r276136 from upstream llvm trunk (by Wei Mi): Use ValueOffsetPair to enhance value reuse during SCEV expansion. In D12090, the ExprValueMap was added

Re: svn commit: r312764 - head/libexec/rtld-elf/aarch64

2017-01-25 Thread Andrew Turner
On Wed, 25 Jan 2017 17:35:11 + (UTC) Andrew Turner wrote: > Author: andrew > Date: Wed Jan 25 17:35:11 2017 > New Revision: 312764 > URL: https://svnweb.freebsd.org/changeset/base/312764 > > Log: > Pull the R_AARCH64_TLSDESC code out into a common function and use >

svn commit: r312764 - head/libexec/rtld-elf/aarch64

2017-01-25 Thread Andrew Turner
Author: andrew Date: Wed Jan 25 17:35:11 2017 New Revision: 312764 URL: https://svnweb.freebsd.org/changeset/base/312764 Log: Pull the R_AARCH64_TLSDESC code out into a common function and use them in both the plt and non-plt case. This fixes an issue where libraries built with LLD can

svn commit: r312763 - head/sys/cddl/dev/dtrace

2017-01-25 Thread Mark Johnston
Author: markj Date: Wed Jan 25 16:35:57 2017 New Revision: 312763 URL: https://svnweb.freebsd.org/changeset/base/312763 Log: Fix initialization of "p" after r312658. CID: 1369410 Modified: head/sys/cddl/dev/dtrace/dtrace_ioctl.c Modified: head/sys/cddl/dev/dtrace/dtrace_ioctl.c

svn commit: r312760 - head/sys/kern

2017-01-25 Thread Sean Bruno
Author: sbruno Date: Wed Jan 25 15:54:44 2017 New Revision: 312760 URL: https://svnweb.freebsd.org/changeset/base/312760 Log: Replace overlooked smp_started checks and variable use in a print with the now used tqg_smp_started. Submitted by: bde Modified:

svn commit: r312759 - head/sys/sys

2017-01-25 Thread Sean Bruno
Author: sbruno Date: Wed Jan 25 15:52:03 2017 New Revision: 312759 URL: https://svnweb.freebsd.org/changeset/base/312759 Log: Resolve a non-fatal syntax warning left in by a trailing ; Submitted by: bde Modified: head/sys/sys/gtaskqueue.h Modified: head/sys/sys/gtaskqueue.h

svn commit: r312758 - head/sys/sys

2017-01-25 Thread Ed Maste
Author: emaste Date: Wed Jan 25 15:42:29 2017 New Revision: 312758 URL: https://svnweb.freebsd.org/changeset/base/312758 Log: Add sys/capability.h deprecation warning In r263232 sys/capability.h was renamed to sys/capsicum.h, to avoid conflicts with a capability.h header found on other

svn commit: r312755 - head/sys/net

2017-01-25 Thread Sean Bruno
Author: sbruno Date: Wed Jan 25 14:37:05 2017 New Revision: 312755 URL: https://svnweb.freebsd.org/changeset/base/312755 Log: Add error checking to the pci_find_cap(, PCIY_MSIX,) call that is returns success and a good value. Only then try to use it and set the MSIX_ENABLE bit. With

svn commit: r312751 - head/sys/dev/ahci

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 12:18:21 2017 New Revision: 312751 URL: https://svnweb.freebsd.org/changeset/base/312751 Log: Extend AHCI_Q_BIT_STRING after adding new quirk for soft reset delay Adding new quirk (AHCI_Q_MRVL_SR_DEL) requires according extention of AHCI_Q_BIT_STRING.

svn commit: r312750 - head/share/misc

2017-01-25 Thread Alexander Motin
Author: mav Date: Wed Jan 25 11:47:16 2017 New Revision: 312750 URL: https://svnweb.freebsd.org/changeset/base/312750 Log: Add Timeout and Protect mode page description from MMC-6. MFC after:2 weeks Modified: head/share/misc/scsi_modes Modified: head/share/misc/scsi_modes

svn commit: r312749 - in head/sys: arm/conf arm/mv dev/ahci

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:34:37 2017 New Revision: 312749 URL: https://svnweb.freebsd.org/changeset/base/312749 Log: Add support for AHCI on ARMADA38X This file provides support for AHCI mode on Armada38x and adds new optional AHCI device to arm/mv/files.mv. Submitted by:

svn commit: r312748 - head/sys/dev/ahci

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:32:57 2017 New Revision: 312748 URL: https://svnweb.freebsd.org/changeset/base/312748 Log: Enable optional soft reset in AHCI It occurred that some Marvell integrated controllers require additional time after soft reset to work properly. Introduce new

svn commit: r312747 - head/sys/arm/mv

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:31:16 2017 New Revision: 312747 URL: https://svnweb.freebsd.org/changeset/base/312747 Log: Setup decoding windows for ARMADA38X It is necesarry to open memory windows on internal bus for AHCI driver to work correctly. Submitted by: Konrad

svn commit: r312746 - head/sys/arm/mv

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:29:46 2017 New Revision: 312746 URL: https://svnweb.freebsd.org/changeset/base/312746 Log: Fix node detection for MBUS windows configuration Configure decoding windows only for devices with enabled nodes in FDT. Submitted by: Konrad Adamczyk

svn commit: r312745 - head/sys/dev/ofw

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:28:21 2017 New Revision: 312745 URL: https://svnweb.freebsd.org/changeset/base/312745 Log: Expand OpenFirmware API with ofw_bus_node_status_okay method Method could be used before we can access device_t structure. As per simple phandle_t handle we can

svn commit: r312744 - head/sys/dev/cesa

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:25:59 2017 New Revision: 312744 URL: https://svnweb.freebsd.org/changeset/base/312744 Log: Fix SHA256 usage on older CESA versions Adding SHA256 support to Marvell crypto driver resulted in regression for older SoC's, not capable of handling this mode in

svn commit: r312743 - head/sys/dev/cesa

2017-01-25 Thread Wojciech Macek
Author: wma Date: Wed Jan 25 10:22:07 2017 New Revision: 312743 URL: https://svnweb.freebsd.org/changeset/base/312743 Log: Use SoC ID - based detection in CESA This commit introduces following changes in order to get rid of ifdef's from all around the driver. * Introduce sc_soc_id