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

2015-07-03 Thread Mateusz Guzik
Author: mjg Date: Sat Jul 4 06:54:15 2015 New Revision: 285125 URL: https://svnweb.freebsd.org/changeset/base/285125 Log: sysctl: switch sysctllock to a sleepable rmlock The lock is almost never taken for writing. Modified: head/sys/kern/kern_linker.c head/sys/kern/kern_sysctl.c hea

svn commit: r285124 - head/sys/conf

2015-07-03 Thread Warner Losh
Author: imp Date: Sat Jul 4 05:43:45 2015 New Revision: 285124 URL: https://svnweb.freebsd.org/changeset/base/285124 Log: Cache _MPATH and pass it down into the modules build. Some NFS setups make the find it does extremely expensive, so compute it only once. Also make sure the 'traditional

svn commit: r285123 - head/sys/contrib/dev/ath/ath_hal/ar9300

2015-07-03 Thread Adrian Chadd
Author: adrian Date: Sat Jul 4 03:15:42 2015 New Revision: 285123 URL: https://svnweb.freebsd.org/changeset/base/285123 Log: Quieten the scorpion SoC/WMAC reset path. Stuff the non-error stuff under HALDEBUG(). Modified: head/sys/contrib/dev/ath/ath_hal/ar9300/ar9300_reset.c Modified: he

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

2015-07-03 Thread Adrian Chadd
Author: adrian Date: Sat Jul 4 03:07:28 2015 New Revision: 285122 URL: https://svnweb.freebsd.org/changeset/base/285122 Log: Call the WMAC DDR flush before handling an interrupt for the Atheros AHB (internally) connected MAC. TODO: * verify the interrupt was for us before doing the

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

2015-07-03 Thread Adrian Chadd
Author: adrian Date: Sat Jul 4 03:05:57 2015 New Revision: 285121 URL: https://svnweb.freebsd.org/changeset/base/285121 Log: Reshuffle all of the DDR flush operations into a single switch/mux, and start teaching subsystems about it. The Atheros MIPS platforms don't guarantee any kind of

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

2015-07-03 Thread Adrian Chadd
Author: adrian Date: Sat Jul 4 02:59:30 2015 New Revision: 285120 URL: https://svnweb.freebsd.org/changeset/base/285120 Log: Wake up the hardware before doing anything in sysctl. This stops the panics that occur on MIPS platforms when doing say, 'sysctl dev.ath.0' whilst the MAC is aslee

svn commit: r285119 - head/share/mk

2015-07-03 Thread Julio Merino
Author: jmmv Date: Sat Jul 4 02:37:36 2015 New Revision: 285119 URL: https://svnweb.freebsd.org/changeset/base/285119 Log: Add support for TEST_METADATA Allow Makefiles to define generic metadata settings that apply to all test programs defined by a Makefile. The generic TEST_METADATA v

svn commit: r285118 - head/share/examples/tests/tests/plain

2015-07-03 Thread Julio Merino
Author: jmmv Date: Sat Jul 4 02:24:47 2015 New Revision: 285118 URL: https://svnweb.freebsd.org/changeset/base/285118 Log: Add missing shebang Plain test programs are not preprocessed by the build system (as opposed to ATF test cases, which automatically gain a shebang pointing at atf-sh

svn commit: r285117 - head/tests/sys/netinet

2015-07-03 Thread Julio Merino
Author: jmmv Date: Sat Jul 4 02:22:26 2015 New Revision: 285117 URL: https://svnweb.freebsd.org/changeset/base/285117 Log: Make cleanup routines idempotent cleanup routines can be executed at any point during the execution of the body, including even before the body has done any real wor

svn commit: r285114 - head/release/tools

2015-07-03 Thread Glen Barber
Author: gjb Date: Sat Jul 4 00:01:41 2015 New Revision: 285114 URL: https://svnweb.freebsd.org/changeset/base/285114 Log: Revert r285018, r285019, r285076, r285078, r285082. The true cause of the missing UFS/MSDOSFS labels has been identified, and only affects stable/10 at the moment.

svn commit: r285113 - head/sys/fs/nfsclient

2015-07-03 Thread Rick Macklem
Author: rmacklem Date: Fri Jul 3 22:11:07 2015 New Revision: 285113 URL: https://svnweb.freebsd.org/changeset/base/285113 Log: If a "principal" argument isn't provided for a Kerberized NFS mount, the kernel would generate a bogus one with a ":/" suffix. This would only occur for the case wh

svn commit: r285111 - head/sbin/setkey

2015-07-03 Thread George V. Neville-Neil
Author: gnn Date: Fri Jul 3 20:42:31 2015 New Revision: 285111 URL: https://svnweb.freebsd.org/changeset/base/285111 Log: Update the date on the manual page. Noticed by: bz Modified: head/sbin/setkey/setkey.8 Modified: head/sbin/setkey/setkey.8 =

Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_par

2015-07-03 Thread Warner Losh
> On Jul 3, 2015, at 11:35 AM, Roger Pau Monné wrote: > > El 03/07/15 a les 19.26, Adrian Chadd ha escrit: >> ok, so why's it make NFS builds so slow? > > AFAICT it makes the build process spawn a bunch of concurrent "find" > processes that weren't previously there. OK. I’ll fix it. I knew it

svn commit: r285108 - in head: lib/libipsec sbin/setkey sys/net usr.bin/netstat

2015-07-03 Thread George V. Neville-Neil
Author: gnn Date: Fri Jul 3 20:09:14 2015 New Revision: 285108 URL: https://svnweb.freebsd.org/changeset/base/285108 Log: New AES modes for IPSec, user space components. Update setkey and libipsec to understand aes-gcm-16 as an encryption method. A partial commit of the work in review

svn commit: r285107 - head/sys/netinet6

2015-07-03 Thread Andrey V. Elsukov
Author: ae Date: Fri Jul 3 19:01:38 2015 New Revision: 285107 URL: https://svnweb.freebsd.org/changeset/base/285107 Log: Keep IPv6 address specified by IPV6_PKTINFO socket option in kernel internal form to be able handle link-local IPv6 addresses. Reported by: kp Tested by:kp Mod

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

2015-07-03 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 3 18:39:25 2015 New Revision: 285106 URL: https://svnweb.freebsd.org/changeset/base/285106 Log: Add the routines to activate the GMAC clock and setup the GMAC mode. Tested on Cubieboard 2 and Banana pi. Modified: head/sys/arm/allwinner/a10_clk.c head/sys/arm

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

2015-07-03 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 3 17:54:41 2015 New Revision: 285105 URL: https://svnweb.freebsd.org/changeset/base/285105 Log: Rename a10_emac_gpio_config() to a10_gpio_ethernet_activate() to make the change to GMAC easier on A20 SoCs. On A10 only the EMAC controller is available (fast ether

Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_par

2015-07-03 Thread Roger Pau Monné
El 03/07/15 a les 19.26, Adrian Chadd ha escrit: > ok, so why's it make NFS builds so slow? AFAICT it makes the build process spawn a bunch of concurrent "find" processes that weren't previously there. Roger. ___ svn-src-head@freebsd.org mailing list h

svn commit: r285104 - head/lib/libc/sys

2015-07-03 Thread Konstantin Belousov
Author: kib Date: Fri Jul 3 17:30:31 2015 New Revision: 285104 URL: https://svnweb.freebsd.org/changeset/base/285104 Log: Grammar and language fixes. Submitted by: wblock Review: https://reviews.freebsd.org/D2969 MFC after:12 days Modified: head/lib/libc/sys/ptrace.2 Modi

Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_par

2015-07-03 Thread Adrian Chadd
ok, so why's it make NFS builds so slow? -a On 3 July 2015 at 10:08, Roger Pau Monné wrote: > El 03/07/15 a les 3.50, Warner Losh ha escrit: >> Author: imp >> Date: Fri Jul 3 01:50:26 2015 >> New Revision: 285068 >> URL: https://svnweb.freebsd.org/changeset/base/285068 >> >> Log: >> Kill MFI

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

2015-07-03 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 3 17:09:27 2015 New Revision: 285103 URL: https://svnweb.freebsd.org/changeset/base/285103 Log: Remove duplicate and unnecessary includes. While here remove an unused and wrong define. Modified: head/sys/arm/allwinner/a10_clk.c head/sys/arm/allwinner/a10_clk

Re: svn commit: r285068 - in head/sys: conf modules/agp modules/geom/geom_part/geom_part_apm modules/geom/geom_part/geom_part_bsd modules/geom/geom_part/geom_part_bsd64 modules/geom/geom_part/geom_par

2015-07-03 Thread Roger Pau Monné
El 03/07/15 a les 3.50, Warner Losh ha escrit: > Author: imp > Date: Fri Jul 3 01:50:26 2015 > New Revision: 285068 > URL: https://svnweb.freebsd.org/changeset/base/285068 > > Log: > Kill MFILES and find things automatically. It turned out to be only > lightly used. Find the proper .m file wh

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

2015-07-03 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 3 16:55:08 2015 New Revision: 285100 URL: https://svnweb.freebsd.org/changeset/base/285100 Log: Make ctl(4) appear in "man -k iscsi" results. MFC after:2 weeks Sponsored by: The FreeBSD Foundation Modified: head/share/man/man4/ctl.4 Modified: head/shar

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

2015-07-03 Thread Marcel Moolenaar
Author: marcel Date: Fri Jul 3 16:20:14 2015 New Revision: 285099 URL: https://svnweb.freebsd.org/changeset/base/285099 Log: Minor update to the proto(4) man page: 1. We now support ISA devices 2. DMA support has been added Modified: head/share/man/man4/proto.4 Modified: head/share/ma

svn commit: r285098 - head/sys/conf

2015-07-03 Thread Marcel Moolenaar
Author: marcel Date: Fri Jul 3 16:02:06 2015 New Revision: 285098 URL: https://svnweb.freebsd.org/changeset/base/285098 Log: Remove commented-out and non-existent cbus(4) attachment for uart(4). Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r285097 - head/sys/conf

2015-07-03 Thread Marcel Moolenaar
Author: marcel Date: Fri Jul 3 15:56:00 2015 New Revision: 285097 URL: https://svnweb.freebsd.org/changeset/base/285097 Log: Allow proto(4) to be compiled into the kernel. Modified: head/sys/conf/files Modified: head/sys/conf/files ===

svn commit: r285096 - head/sys/netipsec

2015-07-03 Thread Ermal Luçi
Author: eri Date: Fri Jul 3 15:31:56 2015 New Revision: 285096 URL: https://svnweb.freebsd.org/changeset/base/285096 Log: Reduce overhead of IPSEC for traffic generated from host When IPSEC is enabled on the kernel the forwarding path has an optimization to not enter the code paths for

svn commit: r285095 - in head/sys: boot/fdt/dts/mips mips/conf

2015-07-03 Thread Ruslan Bukin
Author: br Date: Fri Jul 3 14:46:57 2015 New Revision: 285095 URL: https://svnweb.freebsd.org/changeset/base/285095 Log: o Add a description for virtio block device implemented in PISM (Bluespec C-interface device) o Add a kernel config Sponsored by: HEIF5 Added: head/sys/mips/con

svn commit: r285093 - head/sys/dev/beri/virtio

2015-07-03 Thread Ruslan Bukin
Author: br Date: Fri Jul 3 14:27:28 2015 New Revision: 285093 URL: https://svnweb.freebsd.org/changeset/base/285093 Log: Allow BERI virtio-platform code to operate with no PIO devices specified. We will use it with Bluespec simulator of CHERI processor for invalidating caches only. Modifie

svn commit: r285091 - head/sys/dev/virtio/mmio

2015-07-03 Thread Ruslan Bukin
Author: br Date: Fri Jul 3 14:13:16 2015 New Revision: 285091 URL: https://svnweb.freebsd.org/changeset/base/285091 Log: Add 'prewrite' method allowing us to run some platform-specific code before each write happens, e.g. write-back caches. This will help booting in Bluespec simulator of CH

svn commit: r285090 - in head/sys: arm/allwinner arm/conf boot/fdt/dts/arm dev/ahci

2015-07-03 Thread Luiz Otavio O Souza
Author: loos Date: Fri Jul 3 14:11:01 2015 New Revision: 285090 URL: https://svnweb.freebsd.org/changeset/base/285090 Log: Add AHCI attachment code for Allwinner A10/A20 SoCs. The Allwinner SoC has an AHCI device on its internal main bus rather than the PCI bus. This SoC is somewhat und

svn commit: r285089 - head/sys/dev/xen/netfront

2015-07-03 Thread Roger Pau Monné
Author: royger Date: Fri Jul 3 12:09:05 2015 New Revision: 285089 URL: https://svnweb.freebsd.org/changeset/base/285089 Log: netfront: preserve configuration across migrations Try to preserve the xn configuration when migrating. This is not always possible since the backend might not hav

svn commit: r285088 - head/sys/ofed/include/linux

2015-07-03 Thread Hans Petter Selasky
Author: hselasky Date: Fri Jul 3 11:16:20 2015 New Revision: 285088 URL: https://svnweb.freebsd.org/changeset/base/285088 Log: Fix broken implementation of "kvasprintf()" function by adding missing kmalloc() call. Make function global instead of static inline to fix compiler warnings about

svn commit: r285086 - in head/usr.sbin: ctld iscsid

2015-07-03 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 3 10:08:10 2015 New Revision: 285086 URL: https://svnweb.freebsd.org/changeset/base/285086 Log: Remove OpenSSL dependency from iscsid(8) and ctld(8). Differential Revision:https://reviews.freebsd.org/D2866 Submitted by: Tony Morlan (earlier version)

svn commit: r285085 - head/usr.sbin/ctladm

2015-07-03 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 3 10:04:41 2015 New Revision: 285085 URL: https://svnweb.freebsd.org/changeset/base/285085 Log: User proper terminology - iSCSI sessions, not iSCSI connections. Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctladm/ctladm.8 Modified: head/usr.s

svn commit: r285084 - head/sys/netinet6

2015-07-03 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jul 3 09:53:56 2015 New Revision: 285084 URL: https://svnweb.freebsd.org/changeset/base/285084 Log: Move comment to the right position. PR: 152791 Submitted by: vangyzen (as part of the functional change) MFC after:3 days Modified: head/sys/netinet

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

2015-07-03 Thread Adrian Chadd
Author: adrian Date: Fri Jul 3 07:00:24 2015 New Revision: 285083 URL: https://svnweb.freebsd.org/changeset/base/285083 Log: Oops - fix typo. Modified: head/sys/mips/atheros/qca955xreg.h Modified: head/sys/mips/atheros/qca955xreg.h ===