Re: svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Michael Tuexen
> On 30 Dec 2016, at 07:17, Piotr P. Stefaniak wrote: > > On 2016-12-29 17:17:46, Rodney W. Grimes wrote: >> -- Start of PGP signed section. >>> On 2016-12-29 18:09:39, Piotr P. Stefaniak wrote: >>> >2) the option -ta was added >>> >>> To clarify, what I mean is that the

svn commit: r310805 - in head/sys: kern sys vm

2016-12-29 Thread Mateusz Guzik
Author: mjg Date: Fri Dec 30 06:26:17 2016 New Revision: 310805 URL: https://svnweb.freebsd.org/changeset/base/310805 Log: Remove cpu_spinwait after seq_consistent. It does not add any benefit as the read routine will do it as necessary. Modified: head/sys/kern/kern_descrip.c

Re: svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Piotr P. Stefaniak
On 2016-12-29 17:17:46, Rodney W. Grimes wrote: -- Start of PGP signed section. On 2016-12-29 18:09:39, Piotr P. Stefaniak wrote: >2) the option -ta was added To clarify, what I mean is that the process that generates the sources started using the -ta switch of indent(1), not that the feature

svn commit: r310804 - head/sys/dev/rtwn/rtl8812a

2016-12-29 Thread Kevin Lo
Author: kevlo Date: Fri Dec 30 03:08:46 2016 New Revision: 310804 URL: https://svnweb.freebsd.org/changeset/base/310804 Log: - Fix incorrect values in the computation of OFDM and MCS Tx power. - Make power a uint8_t rather than a uint16_t. - Replace the hardcoded RF chains. Reviewed

svn commit: r310803 - head/tests/sys/geom/class/nop

2016-12-29 Thread Alan Somers
Author: asomers Date: Fri Dec 30 02:22:38 2016 New Revision: 310803 URL: https://svnweb.freebsd.org/changeset/base/310803 Log: ATFify the gnop tests Also, add test cases for the -p, -P, and -s options to gnop create Reviewed by: ngie MFC after:4 weeks Differential Revision:

svn commit: r310802 - in stable/10/sys/dev/hyperv: include netvsc vmbus

2016-12-29 Thread Sepherosa Ziehau
Author: sephe Date: Fri Dec 30 02:18:34 2016 New Revision: 310802 URL: https://svnweb.freebsd.org/changeset/base/310802 Log: MFC 309874,309875 309874 hyperv/vmbus: Add channel polling support. Sponsored by: Microsoft Differential Revision:

svn commit: r310801 - in stable/10/sys/dev/hyperv: include utilities vmbus

2016-12-29 Thread Sepherosa Ziehau
Author: sephe Date: Fri Dec 30 02:13:21 2016 New Revision: 310801 URL: https://svnweb.freebsd.org/changeset/base/310801 Log: MFC 309705 hyperv/timesync: Support "sent TC" to improve accuracy. Sponsored by: Microsoft Differential Revision:

Re: svn commit: r310789 - head/lib/libpam/static_libpam

2016-12-29 Thread Alexander Kabaev
On Thu, 29 Dec 2016 18:59:17 -0600 Ravi Pokala wrote: > Hi Alexander, > > I'm a little confused - the original version had to have had a > compile-only step to generate the object first, before running the > link-only operation against the object. The new code replaces the >

svn commit: r310800 - stable/10/sys/dev/hyperv/vmbus

2016-12-29 Thread Sepherosa Ziehau
Author: sephe Date: Fri Dec 30 02:02:00 2016 New Revision: 310800 URL: https://svnweb.freebsd.org/changeset/base/310800 Log: MFC 309704 hyperv/vmbus: Utilize vmbus_chan_run_task() Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8686

Re: svn commit: r310789 - head/lib/libpam/static_libpam

2016-12-29 Thread Ravi Pokala
Hi Alexander, I'm a little confused - the original version had to have had a compile-only step to generate the object first, before running the link-only operation against the object. The new code replaces the link-only operation with a compile+link operation. Shouldn't the pre-existing

svn commit: r310799 - in stable/10/sys: conf dev/hyperv/netvsc modules/hyperv/netvsc

2016-12-29 Thread Sepherosa Ziehau
Author: sephe Date: Fri Dec 30 01:59:19 2016 New Revision: 310799 URL: https://svnweb.freebsd.org/changeset/base/310799 Log: MFC 309346,309348 309346 hyperv/hn: Add HN_DEBUG kernel option. If bufring is used for per-TX ring descs, don't update "available" counter,

svn commit: r310798 - in vendor/libarchive/dist: cpio libarchive libarchive/test

2016-12-29 Thread Martin Matuska
Author: mm Date: Fri Dec 30 01:34:06 2016 New Revision: 310798 URL: https://svnweb.freebsd.org/changeset/base/310798 Log: Update vendor/libarchive to git 2a2488a81599f9cd065a8254b16a6fd48d81c3b4 Vendor bugfixes: PR #843: Fix memory leak of struct archive_entry in cpio/cpio.c PR #851:

svn commit: r310797 - vendor/libarchive/dist/libarchive

2016-12-29 Thread Martin Matuska
Author: mm Date: Fri Dec 30 01:31:03 2016 New Revision: 310797 URL: https://svnweb.freebsd.org/changeset/base/310797 Log: Update vendor/libarchive to git e8a9de5eaf3b79fc3d990d056343bb52c51c5ba4 Fix style typo in tar.5 Modified: vendor/libarchive/dist/libarchive/tar.5 Modified:

svn commit: r310796 - in vendor/libarchive/dist: . libarchive libarchive/test

2016-12-29 Thread Martin Matuska
Author: mm Date: Fri Dec 30 01:27:27 2016 New Revision: 310796 URL: https://svnweb.freebsd.org/changeset/base/310796 Log: Update vendor/libarchive to git to 379867ecb330b3a952fb7bfa7bffb7bbd5547205 Vendor changes: PR #771: Add NFSv4 ACL support to pax and restricted pax Added:

svn commit: r310795 - stable/11/sys/cddl/contrib/opensolaris/uts/common/sys

2016-12-29 Thread George V. Neville-Neil
Author: gnn Date: Fri Dec 30 01:24:08 2016 New Revision: 310795 URL: https://svnweb.freebsd.org/changeset/base/310795 Log: MFC: 310175 Remove extra DOF_SEC_XLIMPORT from the DOF_SEC_ISLOADABLE macro Sponsored by: DARPA, AFRL Modified:

Re: svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Rodney W. Grimes
-- Start of PGP signed section. > On 2016-12-29 18:09:39, Piotr P. Stefaniak wrote: > >2) the option -ta was added > > To clarify, what I mean is that the process that generates the sources > started using the -ta switch of indent(1), not that the feature was > recently implemented. Can you

Re: svn commit: r310782 - head/sys/cam/ctl

2016-12-29 Thread Ravi Pokala
Hi Alexander, Wouldn't it be better to put the cast directly in the definition of CTL_SOFTC()? That puts the cast in a single place, and anything that calls CTL_SOFTC() will expect a (struct ctl_softc *) anyway. Thanks, and happy holidays! -Ravi (rpokala@) -Original Message- > From:

svn commit: r310794 - in head/sys: conf mips/conf

2016-12-29 Thread Alexander Kabaev
Author: kan Date: Fri Dec 30 00:34:52 2016 New Revision: 310794 URL: https://svnweb.freebsd.org/changeset/base/310794 Log: Support mips[*]hf variants in config files Recognize new MACHINE_ARCH names now as we have added hardfloat support. Switch JZ4780 to mipselhf and remove all uses of

svn commit: r310793 - head/sys/dev/rtwn/rtl8812a

2016-12-29 Thread Andriy Voskoboinyk
Author: avos Date: Thu Dec 29 22:36:16 2016 New Revision: 310793 URL: https://svnweb.freebsd.org/changeset/base/310793 Log: rtwn: silence compiler warning (-Wmaybe-uninitialized). Reported by: adrian Modified: head/sys/dev/rtwn/rtl8812a/r12a_chan.c Modified:

Re: svn commit: r310790 - head/sys/conf

2016-12-29 Thread Warner Losh
On Thu, Dec 29, 2016 at 2:36 PM, Alexander Kabaev wrote: > Author: kan > Date: Thu Dec 29 21:36:04 2016 > New Revision: 310790 > URL: https://svnweb.freebsd.org/changeset/base/310790 > > Log: > Use TARGET_ARCH instead of MACHINE_ARCH for MIPS kernel TARGET_ARCH is only

svn commit: r310792 - in head: lib/clang/libllvm usr.bin/clang

2016-12-29 Thread Dimitry Andric
Author: dim Date: Thu Dec 29 21:57:16 2016 New Revision: 310792 URL: https://svnweb.freebsd.org/changeset/base/310792 Log: Revert r310775 for now, until we can figure out why it does not seem to work properly when cross-building. Sorry for the breakage. Modified:

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

2016-12-29 Thread Oleksandr Tymoshenko
Author: gonzo Date: Thu Dec 29 21:55:23 2016 New Revision: 310791 URL: https://svnweb.freebsd.org/changeset/base/310791 Log: [qemu] Fix VERSATILEPB kernel boot in QEMU broken by r300968 QEMU does not implement hardware debug registers so when dbg_monitor_is_enabled is called kernel

svn commit: r310790 - head/sys/conf

2016-12-29 Thread Alexander Kabaev
Author: kan Date: Thu Dec 29 21:36:04 2016 New Revision: 310790 URL: https://svnweb.freebsd.org/changeset/base/310790 Log: Use TARGET_ARCH instead of MACHINE_ARCH for MIPS kernel MACHINE_ARCH is overwritten by config file and will not contain -hf suffix, so uname -p reported by kernel

svn commit: r310789 - head/lib/libpam/static_libpam

2016-12-29 Thread Alexander Kabaev
Author: kan Date: Thu Dec 29 21:30:52 2016 New Revision: 310789 URL: https://svnweb.freebsd.org/changeset/base/310789 Log: Use compiler driver to build relocatable object This works better with external toolchains where LD will not necessarily defailt to emulation we want. Compiler

Re: svn commit: r310787 - stable/11/sys/x86/x86

2016-12-29 Thread Mark Johnston
On Thu, Dec 29, 2016 at 09:03:00PM +, Mark Johnston wrote: > Author: markj > Date: Thu Dec 29 21:03:00 2016 > New Revision: 310787 > URL: https://svnweb.freebsd.org/changeset/base/310787 > > Log: > MFC r309657: > Require the STACK option for code that captures stacks of running threads. >

svn commit: r310788 - stable/11/sys/x86/x86

2016-12-29 Thread Mark Johnston
Author: markj Date: Thu Dec 29 21:06:31 2016 New Revision: 310788 URL: https://svnweb.freebsd.org/changeset/base/310788 Log: MFC r309657: Require the STACK option for code that captures stacks of running threads. Modified: stable/11/sys/x86/x86/stack_machdep.c Directory Properties:

svn commit: r310787 - stable/11/sys/x86/x86

2016-12-29 Thread Mark Johnston
Author: markj Date: Thu Dec 29 21:03:00 2016 New Revision: 310787 URL: https://svnweb.freebsd.org/changeset/base/310787 Log: MFC r309657: Require the STACK option for code that captures stacks of running threads. Modified: stable/11/sys/x86/x86/mca.c Directory Properties: stable/11/

svn commit: r310786 - head/tests/sys/geom/class/eli

2016-12-29 Thread Alan Somers
Author: asomers Date: Thu Dec 29 20:28:50 2016 New Revision: 310786 URL: https://svnweb.freebsd.org/changeset/base/310786 Log: Reduce the runtime of the GELI tests There is no reduction in test coverage. On my system runtime is reduced from 38m32s to 6m24s.

svn commit: r310785 - head/cddl/lib/libdtrace

2016-12-29 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 29 20:27:54 2016 New Revision: 310785 URL: https://svnweb.freebsd.org/changeset/base/310785 Log: Convert ipv4_flags and ipv4_offset fields into host byte order. Also save only high bits in the ipv4_flags, because it is defined as uint8_t. So now it will show DF and

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

2016-12-29 Thread Alexander Kabaev
Author: kan Date: Thu Dec 29 20:11:50 2016 New Revision: 310784 URL: https://svnweb.freebsd.org/changeset/base/310784 Log: Use mips_dcache_wbinv_range instead of mips_dcache_wb_range on CPU_XBURST Ingenic CPUs treat plain cache writeback as local-only operation and do nothing if that is

svn commit: r310783 - head/sys/netinet

2016-12-29 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 29 19:57:46 2016 New Revision: 310783 URL: https://svnweb.freebsd.org/changeset/base/310783 Log: When we are sending IP fragments, update ip pointers in IP_PROBE() for each fragment. MFC after:1 week Modified: head/sys/netinet/ip_fastfwd.c

Re: svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Piotr P. Stefaniak
On 2016-12-29 18:09:39, Piotr P. Stefaniak wrote: 2) the option -ta was added To clarify, what I mean is that the process that generates the sources started using the -ta switch of indent(1), not that the feature was recently implemented. signature.asc Description: PGP signature

Re: svn commit: r310778 - head/sys/cam/ctl

2016-12-29 Thread Alexander Motin
On 29.12.2016 20:02, Mateusz Guzik wrote: > On Thu, Dec 29, 2016 at 03:09:34PM +, Alexander Motin wrote: >> Author: mav >> Date: Thu Dec 29 15:09:34 2016 >> New Revision: 310778 >> URL: https://svnweb.freebsd.org/changeset/base/310778 >> >> Log: >> Improve use of I/O's private area. >> >>

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

2016-12-29 Thread Alexander Motin
Author: mav Date: Thu Dec 29 18:08:04 2016 New Revision: 310782 URL: https://svnweb.freebsd.org/changeset/base/310782 Log: Fix build with enabled debug after r310778. MFC after:2 weeks Modified: head/sys/cam/ctl/ctl.c Modified: head/sys/cam/ctl/ctl.c

Re: svn commit: r310778 - head/sys/cam/ctl

2016-12-29 Thread Mateusz Guzik
On Thu, Dec 29, 2016 at 03:09:34PM +, Alexander Motin wrote: > Author: mav > Date: Thu Dec 29 15:09:34 2016 > New Revision: 310778 > URL: https://svnweb.freebsd.org/changeset/base/310778 > > Log: > Improve use of I/O's private area. > >- Since I/Os are allocates from per-port pools,

svn commit: r310781 - head/sys/mips/atheros

2016-12-29 Thread Adrian Chadd
Author: adrian Date: Thu Dec 29 17:31:38 2016 New Revision: 310781 URL: https://svnweb.freebsd.org/changeset/base/310781 Log: [ar71xx] add EARLY_PRINTF support for the AR933x (Hornet) UART. Tested: * Carambola 2 Modified: head/sys/mips/atheros/uart_bus_ar933x.c Modified:

svn commit: r310780 - head/sys/mips/atheros

2016-12-29 Thread Adrian Chadd
Author: adrian Date: Thu Dec 29 17:31:07 2016 New Revision: 310780 URL: https://svnweb.freebsd.org/changeset/base/310780 Log: [ar71xx] put in an implicit read-after-write to flush things out. Note: I may need to revisit this for mips74k. Modified: head/sys/mips/atheros/ar71xxreg.h

Re: svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Piotr P. Stefaniak
On 2016-12-29 06:38:10, Rodney W. Grimes wrote: Author: tuexen Date: Thu Dec 29 11:32:42 2016 New Revision: 310773 URL: https://svnweb.freebsd.org/changeset/base/310773 Log: MFC r310590: Whitespace changes. The toolchain for processing the sources has been updated. No functional

svn commit: r310779 - head/sys/kern

2016-12-29 Thread Mateusz Guzik
Author: mjg Date: Thu Dec 29 16:35:49 2016 New Revision: 310779 URL: https://svnweb.freebsd.org/changeset/base/310779 Log: cache: sprinkle __predict_false Modified: head/sys/kern/vfs_cache.c Modified: head/sys/kern/vfs_cache.c

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

2016-12-29 Thread Alexander Motin
Author: mav Date: Thu Dec 29 15:09:34 2016 New Revision: 310778 URL: https://svnweb.freebsd.org/changeset/base/310778 Log: Improve use of I/O's private area. - Since I/Os are allocates from per-port pools, make allocations store pointer to CTL softc there, and use it where needed

Re: svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Rodney W. Grimes
> Author: tuexen > Date: Thu Dec 29 11:32:42 2016 > New Revision: 310773 > URL: https://svnweb.freebsd.org/changeset/base/310773 > > Log: > MFC r310590: > > Whitespace changes. > > The toolchain for processing the sources has been updated. No functional > change. What tool chain?

svn commit: r310777 - in head/sys: arm/freescale/imx dev/hdmi

2016-12-29 Thread Jared McNeill
Author: jmcneill Date: Thu Dec 29 14:08:24 2016 New Revision: 310777 URL: https://svnweb.freebsd.org/changeset/base/310777 Log: Add support for audio on I2S based DesignWare HDMI controllers. Relnotes: yes Modified: head/sys/arm/freescale/imx/imx6_hdmi.c

svn commit: r310776 - head/sys/mips/ingenic

2016-12-29 Thread Jared McNeill
Author: jmcneill Date: Thu Dec 29 14:00:10 2016 New Revision: 310776 URL: https://svnweb.freebsd.org/changeset/base/310776 Log: The JZ4780 I2S can feed either the internal audio codec or the HDMI transmitter, but not both at the same time. This patch: - Adds a dev.pcm.0.internal_codec

svn commit: r310775 - in head: lib/clang/libllvm usr.bin/clang

2016-12-29 Thread Dimitry Andric
Author: dim Date: Thu Dec 29 13:27:04 2016 New Revision: 310775 URL: https://svnweb.freebsd.org/changeset/base/310775 Log: Move llvm-objdump from CLANG_EXTRAS to installed by default We currently install three tools from binutils 2.17.50: as, ld, and objdump. Work is underway to migrate

Re: svn commit: r310234 - head/sys/vm

2016-12-29 Thread Adrian Chadd
Hiya, It hung completely. No echoing, no early printf (after I added it), nothing. I dug into it some more and yes, it doesn't seem to be this. Something else is causing the now much larger kernel then before to not boot. Sorry! Thanks for the explanation though! -adrian

Re: svn commit: r310234 - head/sys/vm

2016-12-29 Thread Konstantin Belousov
On Wed, Dec 28, 2016 at 07:03:52PM -0800, Adrian Chadd wrote: > hi, > > I've bisected a boot failure on mips24k (carambola2) to this commit. > Nothing useful is printed - it hangs at startup time. What do you mean exactly ? Is copyright notice printed ? Show verbose dmesg of the failing boot. >

svn commit: r310773 - in stable/11/sys: netinet netinet6

2016-12-29 Thread Michael Tuexen
Author: tuexen Date: Thu Dec 29 11:32:42 2016 New Revision: 310773 URL: https://svnweb.freebsd.org/changeset/base/310773 Log: MFC r310590: Whitespace changes. The toolchain for processing the sources has been updated. No functional change. Modified:

svn commit: r310772 - stable/11/sys/netinet

2016-12-29 Thread Michael Tuexen
Author: tuexen Date: Thu Dec 29 11:25:41 2016 New Revision: 310772 URL: https://svnweb.freebsd.org/changeset/base/310772 Log: MFC r310547: Remove a KASSERT which is not always true. In case of the empty queue tp->snd_holes and tcp_sackhole_insert() failing due to memory shortage,

svn commit: r310771 - stable/11/sys/netinet

2016-12-29 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 29 09:50:37 2016 New Revision: 310771 URL: https://svnweb.freebsd.org/changeset/base/310771 Log: MFC r309257: Rework ip_tryforward() to use FIB4 KPI. Modified: stable/11/sys/netinet/ip_fastfwd.c Directory Properties: stable/11/ (props changed) Modified:

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

2016-12-29 Thread Andrew Rybchenko
Author: arybchik Date: Thu Dec 29 09:15:27 2016 New Revision: 310770 URL: https://svnweb.freebsd.org/changeset/base/310770 Log: sfxge(4): cleanup: clarify/unify variable name used for put-list length get_count is used for get-list. Sponsored by: Solarflare Communications, Inc. MFC

svn commit: r310769 - stable/10/sys/dev/hyperv/storvsc

2016-12-29 Thread Sepherosa Ziehau
Author: sephe Date: Thu Dec 29 09:10:37 2016 New Revision: 310769 URL: https://svnweb.freebsd.org/changeset/base/310769 Log: MFC 309320,309726,309728 309320 hyperv/storvsc: Don't use timedwait. The timeout is unnecessary. Reviewed by:jhb Sponsored by:

svn commit: r310768 - in stable/10/sys/dev/hyperv: netvsc vmbus

2016-12-29 Thread Sepherosa Ziehau
Author: sephe Date: Thu Dec 29 09:02:49 2016 New Revision: 310768 URL: https://svnweb.freebsd.org/changeset/base/310768 Log: MFC 309310,309311,309316,309318 309310 hyperv/hn: Nuke the unused TX taskqueue CPU binding tunable. It was an experimental tunable, and is now deemed

svn commit: r310767 - head/sys/kern

2016-12-29 Thread Mateusz Guzik
Author: mjg Date: Thu Dec 29 08:41:25 2016 New Revision: 310767 URL: https://svnweb.freebsd.org/changeset/base/310767 Log: cache: depessimize hashing macros/inlines All hash sizes are power-of-2, but the compiler does not know that for sure and 'foo % size' forces doing a division.

svn commit: r310766 - head/sys/kern

2016-12-29 Thread Mateusz Guzik
Author: mjg Date: Thu Dec 29 08:34:50 2016 New Revision: 310766 URL: https://svnweb.freebsd.org/changeset/base/310766 Log: cache: drop the NULL check from VP2VNODELOCK Now that negative entries are annotated with a dedicated flag, NULL vnodes are no longer passed. Modified:

svn commit: r310765 - head/sys/dev/sfxge/common

2016-12-29 Thread Andrew Rybchenko
Author: arybchik Date: Thu Dec 29 08:28:42 2016 New Revision: 310765 URL: https://svnweb.freebsd.org/changeset/base/310765 Log: sfxge(4): add support for firmware-verified NVRAM updates to the common code Submitted by: Andy Moreton Reviewed by:gnn Sponsored by: Solarflare

svn commit: r310764 - head/sys/dev/sfxge/common

2016-12-29 Thread Andrew Rybchenko
Author: arybchik Date: Thu Dec 29 08:25:00 2016 New Revision: 310764 URL: https://svnweb.freebsd.org/changeset/base/310764 Log: sfxge(4): sync up tlv_layout.h (from firmwaresrc 82cd8a5715e9) Submitted by: Matthew Slattery Sponsored by: Solarflare Communications, Inc. MFC after:

svn commit: r310763 - head/contrib/bsnmp/snmpd

2016-12-29 Thread Ngie Cooper
Author: ngie Date: Thu Dec 29 08:16:43 2016 New Revision: 310763 URL: https://svnweb.freebsd.org/changeset/base/310763 Log: Use uint32_t instead of u_int32_t for or_last_change and services in "struct systemg" This is being done to match "struct systemg" in snmpmod(3) No functional

svn commit: r310762 - head/sys/dev/sfxge/common

2016-12-29 Thread Andrew Rybchenko
Author: arybchik Date: Thu Dec 29 08:10:51 2016 New Revision: 310762 URL: https://svnweb.freebsd.org/changeset/base/310762 Log: sfxge(4): regenerate MCDI headers from firmwaresrc .yml Sponsored by: Solarflare Communications, Inc. MFC after: 2 days Modified: