svn commit: r308722 - stable/11/sys/boot/i386/libi386

2016-11-15 Thread Baptiste Daroussin
Author: bapt Date: Wed Nov 16 07:05:42 2016 New Revision: 308722 URL: https://svnweb.freebsd.org/changeset/base/308722 Log: MFC r308477: make pxeboot consistent with common/dev_net.c Always define boot.netif.server in kenv in pxeboot Add "boot.tftproot.server" to kenv when pxeboot us

svn commit: r308721 - in stable/11: etc etc/mtree usr.sbin/syslogd

2016-11-15 Thread Baptiste Daroussin
Author: bapt Date: Wed Nov 16 07:04:49 2016 New Revision: 308721 URL: https://svnweb.freebsd.org/changeset/base/308721 Log: MFC r308160: syslogd(8): add an 'include' keyword All the '.conf' files not beginning with a '.' contained int he directory following the keyword will be includ

svn commit: r308720 - in stable/11: etc/mtree usr.sbin/cron/cron usr.sbin/cron/lib

2016-11-15 Thread Baptiste Daroussin
Author: bapt Date: Wed Nov 16 07:03:24 2016 New Revision: 308720 URL: https://svnweb.freebsd.org/changeset/base/308720 Log: MFC r308139, r308157-r308158 r308139: cron(8): add support for /etc/cron.d and /usr/local/etc/cron.d For automation tools it is way easier to maintain files in

svn commit: r308719 - in stable/11/sys/boot: arm/uboot common mips/uboot powerpc/kboot powerpc/ofw powerpc/ps3 sparc64/loader

2016-11-15 Thread Baptiste Daroussin
Author: bapt Date: Wed Nov 16 07:01:52 2016 New Revision: 308719 URL: https://svnweb.freebsd.org/changeset/base/308719 Log: MFC r307238: Stop closing the network device when netbooting for loaders using the common dev_net.c code. The NETIF_OPEN_CLOSE_ONCE flag was added in r201932 to

svn commit: r308718 - in head/sys: contrib/ncsw/inc contrib/ncsw/user/env dev/dpaa powerpc/booke powerpc/include powerpc/mpc85xx

2016-11-15 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 16 05:24:42 2016 New Revision: 308718 URL: https://svnweb.freebsd.org/changeset/base/308718 Log: Simplify the page tracking for VA<->PA translations. Drop the tracking down to the pmap layer, with optimizations to only track necessary pages. This should giv

svn commit: r308717 - stable/10/usr.sbin/rtadvd

2016-11-15 Thread Hiroki Sato
Author: hrs Date: Wed Nov 16 03:54:41 2016 New Revision: 308717 URL: https://svnweb.freebsd.org/changeset/base/308717 Log: MFC r308348: Add link-layer address option in RA even for IFT_L2VLAN and IFT_BRIDGE. Reported by: philip Modified: stable/10/usr.sbin/rtadvd/if.c Directory

svn commit: r308716 - stable/11/usr.sbin/rtadvd

2016-11-15 Thread Hiroki Sato
Author: hrs Date: Wed Nov 16 03:54:30 2016 New Revision: 308716 URL: https://svnweb.freebsd.org/changeset/base/308716 Log: MFC r308348: Add link-layer address option in RA even for IFT_L2VLAN and IFT_BRIDGE. Reported by: philip Modified: stable/11/usr.sbin/rtadvd/if.c Directory

svn commit: r308715 - stable/10/usr.sbin/traceroute6

2016-11-15 Thread Hiroki Sato
Author: hrs Date: Wed Nov 16 03:51:15 2016 New Revision: 308715 URL: https://svnweb.freebsd.org/changeset/base/308715 Log: MFC r308347: Fix an infinite loop at an non-responding hop when other echo replies are kept arriving in the waittime time window. Submitted by: Denny Page

svn commit: r308714 - stable/11/usr.sbin/traceroute6

2016-11-15 Thread Hiroki Sato
Author: hrs Date: Wed Nov 16 03:51:05 2016 New Revision: 308714 URL: https://svnweb.freebsd.org/changeset/base/308714 Log: MFC r308347: Fix an infinite loop at an non-responding hop when other echo replies are kept arriving in the waittime time window. Submitted by: Denny Page

svn commit: r308713 - head/sys/conf

2016-11-15 Thread Alexander Kabaev
Author: kan Date: Wed Nov 16 03:24:20 2016 New Revision: 308713 URL: https://svnweb.freebsd.org/changeset/base/308713 Log: Compile trampoline with soft-float on MIPS, to match the rest of the kernel Core kernel is always compiled with -msoft-float on all of our platforms, make sure we fol

svn commit: r308712 - head/lib/csu/mips

2016-11-15 Thread Alexander Kabaev
Author: kan Date: Wed Nov 16 03:21:49 2016 New Revision: 308712 URL: https://svnweb.freebsd.org/changeset/base/308712 Log: Make MIPS startup assembly files use neutral float ABI. This allows these files to be used with hard and softfloat targets with no special flags passed to the compile

svn commit: r308711 - head/share/mk

2016-11-15 Thread Alexander Kabaev
Author: kan Date: Wed Nov 16 03:19:36 2016 New Revision: 308711 URL: https://svnweb.freebsd.org/changeset/base/308711 Log: Set endianness and floating point flags explicitly for MIPS targets The tree can be build with an external toolchain that will not necessarily default to desired sett

svn commit: r308710 - head/share/man/man9

2016-11-15 Thread Alan Cox
Author: alc Date: Wed Nov 16 02:51:24 2016 New Revision: 308710 URL: https://svnweb.freebsd.org/changeset/base/308710 Log: Update to reflect the demise of PG_CACHED pages. Reviewed by: kib, markj Sponsored by: Dell EMC Isilon Differential Revision:https://reviews.freebsd.org/D8

svn commit: r308709 - in head/sys: conf dev/gpio powerpc/conf

2016-11-15 Thread Justin Hibbits
Author: jhibbits Date: Wed Nov 16 02:14:07 2016 New Revision: 308709 URL: https://svnweb.freebsd.org/changeset/base/308709 Log: Add a GPIO poweroff and reset driver. Summary: This implements part of the gpio-poweroff and gpio-restart device tree bindings. Optional properties are not ha

svn commit: r308708 - head/sys/fs/nfs

2016-11-15 Thread Colin Percival
Author: cperciva Date: Wed Nov 16 01:11:49 2016 New Revision: 308708 URL: https://svnweb.freebsd.org/changeset/base/308708 Log: Reduce NFS "NFSv4( mounted on)? fileid > 32bits" log spam. Rather than printing a warning for every time we receive a fileid > 2^32 from the NFS server, count wa

svn commit: r308707 - stable/11/sys/ufs/ufs

2016-11-15 Thread Kirk McKusick
Author: mckusick Date: Wed Nov 16 01:03:42 2016 New Revision: 308707 URL: https://svnweb.freebsd.org/changeset/base/308707 Log: MFC r307978: Bug 180894 reports that rm -rf on a directory causes kernel panic and reboot. Return EINVAL rather than panic for low directory link count. PR: 18

svn commit: r308706 - head/usr.bin/vmstat

2016-11-15 Thread Mark Johnston
Author: markj Date: Wed Nov 16 00:21:18 2016 New Revision: 308706 URL: https://svnweb.freebsd.org/changeset/base/308706 Log: Remove a lingering reference to cache pages from vmstat(8). Reported by: alc Modified: head/usr.bin/vmstat/vmstat.c Modified: head/usr.bin/vmstat/vmstat.c ==

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

2016-11-15 Thread Jared McNeill
Author: jmcneill Date: Tue Nov 15 23:48:30 2016 New Revision: 308705 URL: https://svnweb.freebsd.org/changeset/base/308705 Log: On command error, reset only DMA and FIFO engines instead of the entire controller. Fixes eMMC device detection on OrangePi Plus 2e (and likely others). Modified:

svn commit: r308704 - head/sys/arm/allwinner/clk

2016-11-15 Thread Jared McNeill
Author: jmcneill Date: Tue Nov 15 23:46:01 2016 New Revision: 308704 URL: https://svnweb.freebsd.org/changeset/base/308704 Log: Allow the MMC frequency to be set up to 52MHz for MMC high speed timings. Modified: head/sys/arm/allwinner/clk/aw_mmcclk.c Modified: head/sys/arm/allwinner/clk/aw_m

svn commit: r308703 - stable/11/libexec/ftpd

2016-11-15 Thread Kurt Lidl
Author: lidl Date: Tue Nov 15 23:03:57 2016 New Revision: 308703 URL: https://svnweb.freebsd.org/changeset/base/308703 Log: MFC r308567: Fix build when WITHOUT_BLACKLIST=yes is specified Sponsored by: The FreeBSD Foundation Modified: stable/11/libexec/ftpd/ftpd.c Directory Properties:

svn commit: r308702 - head/sys/dev/etherswitch/ip17x

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 22:30:25 2016 New Revision: 308702 URL: https://svnweb.freebsd.org/changeset/base/308702 Log: [etherswitch] enable phy4/mac4 of ip175c If MII1 interface is disabled, then enable phy4/mac4. Submitted by: Hiroki Mori Reviewed by: mizhka, adrian Appro

svn commit: r308701 - in stable/11: cddl/lib/libdtrace tests/sys/netinet

2016-11-15 Thread Hiren Panchasara
Author: hiren Date: Tue Nov 15 22:18:52 2016 New Revision: 308701 URL: https://svnweb.freebsd.org/changeset/base/308701 Log: MFC r302474 (By gnn) On FreeBSD there is a setsockopt option SO_USER_COOKIE which allows setting a 32 bit value on each socket. This can be used by applications a

svn commit: r308700 - in head/sys: conf dev/etherswitch/rtl8366

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 21:58:04 2016 New Revision: 308700 URL: https://svnweb.freebsd.org/changeset/base/308700 Log: [etherswitch] add RTL8366SR support Add RTL8366SR support at etherswitch driver. Tested on RTL8366RB and RTL8366SR. Submitted by: Hiroki Mori Reviewed by:

svn commit: r308699 - head/sys/dev/etherswitch/e6000sw

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 21:49:01 2016 New Revision: 308699 URL: https://svnweb.freebsd.org/changeset/base/308699 Log: [etherswitch] add Marvell 88e6060 switch support Add 88e6060 basic support: only port-based VLAN is supported. No vlan(4) support. Submitted by: Hiroki Mori

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

2016-11-15 Thread John Baldwin
On Tuesday, November 15, 2016 08:52:29 AM Alan Somers wrote: > On Tue, Feb 25, 2014 at 11:44 AM, John Baldwin wrote: > > Author: jhb > > Date: Tue Feb 25 18:44:33 2014 > > New Revision: 262489 > > URL: http://svnweb.freebsd.org/changeset/base/262489 > > > > Log: > > Remove more constants related

svn commit: r308698 - head/sys/arm/ti

2016-11-15 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 15 21:18:55 2016 New Revision: 308698 URL: https://svnweb.freebsd.org/changeset/base/308698 Log: After r308533, the platform compatible string must be an exact match. Use "ti,am33xx" instead of "ti,am335x", which gives an exact match in every DTS we support.

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

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 20:44:19 2016 New Revision: 308697 URL: https://svnweb.freebsd.org/changeset/base/308697 Log: [MIPS] Fix Config3[ULRI] printing Bit identifier of printf %b is octal integer, but not decimal. ULRI bit is 13-th bit (starting with 0) according to MIPS Architec

svn commit: r308696 - in head: share/man/man4 sys/boot/forth sys/conf sys/dev/bnxt sys/modules sys/modules/bnxt

2016-11-15 Thread Stephen Hurd
Author: shurd (ports committer) Date: Tue Nov 15 20:35:29 2016 New Revision: 308696 URL: https://svnweb.freebsd.org/changeset/base/308696 Log: New driver for Broadcom NetXtreme-C and NetXtreme-E devices. This driver uses the iflib framework supporting Broadcom 25/50Gbps devices. Revi

svn commit: r308695 - head/sys/dev/bhnd/bcma

2016-11-15 Thread Michael Zhilin
Author: mizhka Date: Tue Nov 15 20:05:22 2016 New Revision: 308695 URL: https://svnweb.freebsd.org/changeset/base/308695 Log: [BHND] correct spelling error in macro name This commit is part of D6920 review. One of macro had wrong prefix: BMCA => BCMA Reviewed by: landonf, adrian (m

svn commit: r308694 - head/sys/net

2016-11-15 Thread Mark Johnston
Author: markj Date: Tue Nov 15 19:23:48 2016 New Revision: 308694 URL: https://svnweb.freebsd.org/changeset/base/308694 Log: Plug a lock leak in sysctl_ifmalist(). Fix style in the local variable declarations. PR: 214542 MFC after:1 week Modified: head/sys/net/rtsock

svn commit: r308693 - head/sys/arm/ti

2016-11-15 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 15 19:09:36 2016 New Revision: 308693 URL: https://svnweb.freebsd.org/changeset/base/308693 Log: Change the TI aintc driver name to "ti_aintc" to avoid the conflict with the aintc driver for Allwinner A10. This fixes the boot of the GENERIC ARM kernel on TI/AM33

svn commit: r308692 - head/sys/arm/ti

2016-11-15 Thread Luiz Otavio O Souza
Author: loos Date: Tue Nov 15 18:57:25 2016 New Revision: 308692 URL: https://svnweb.freebsd.org/changeset/base/308692 Log: Fix ti_gpio_detach() to avoid crashing if something goes wrong. Sponsored by: Rubicon Communication, LLC (Netgate) Modified: head/sys/arm/ti/ti_gpio.c Modified: he

svn commit: r308691 - in head/sys: cddl/compat/opensolaris/sys cddl/contrib/opensolaris/uts/common/fs/zfs fs/tmpfs kern vm

2016-11-15 Thread Alan Cox
Author: alc Date: Tue Nov 15 18:22:50 2016 New Revision: 308691 URL: https://svnweb.freebsd.org/changeset/base/308691 Log: Remove most of the code for implementing PG_CACHED pages. (This change does not remove user-space visible fields from vm_cnt or all of the references to cached pages fr

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

2016-11-15 Thread John Baldwin
Author: jhb Date: Tue Nov 15 17:01:48 2016 New Revision: 308690 URL: https://svnweb.freebsd.org/changeset/base/308690 Log: Sync instruction cache's after writing user breakpoints on MIPS. Add an implementation for pmaps_sync_icache() on MIPS that sync's the instruction cache on all CPUs v

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

2016-11-15 Thread Alan Somers
On Tue, Feb 25, 2014 at 11:44 AM, John Baldwin wrote: > Author: jhb > Date: Tue Feb 25 18:44:33 2014 > New Revision: 262489 > URL: http://svnweb.freebsd.org/changeset/base/262489 > > Log: > Remove more constants related to static sysctl nodes. The MAXID constants > were primarily used to size

Re: svn commit: r308432 - in head: bin/echo bin/sleep usr.bin/basename usr.bin/dc usr.bin/dirname usr.bin/fold usr.bin/getopt usr.bin/locate/bigram usr.bin/logname usr.bin/printenv usr.bin/yes

2016-11-15 Thread Jean-Sébastien Pédron
On 15.11.2016 01:24, Conrad Meyer wrote: > Yes, this program is incorrectly capsicumized. My mistake. I have > reverted the change to fold(1) in r308657. Thank you! -- Jean-Sébastien Pédron signature.asc Description: OpenPGP digital signature

svn commit: r308687 - head/libexec/rtld-elf

2016-11-15 Thread Konstantin Belousov
Author: kib Date: Tue Nov 15 09:37:35 2016 New Revision: 308687 URL: https://svnweb.freebsd.org/changeset/base/308687 Log: Update hint to utilize user variable. Sponsored by: The FreeBSD Foundation MFC after:1 week Modified: head/libexec/rtld-elf/Makefile Modified: head/libexec/rt

svn commit: r308689 - in head/libexec/rtld-elf: . aarch64 amd64 arm i386 mips powerpc powerpc64 riscv sparc64

2016-11-15 Thread Konstantin Belousov
Author: kib Date: Tue Nov 15 09:43:26 2016 New Revision: 308689 URL: https://svnweb.freebsd.org/changeset/base/308689 Log: Pass CPUID[1] %edx (cpu_feature), %ecx (cpu_feature2) and CPUID[7].%ebx (cpu_stdext_feature), %ecx (cpu_stdext_feature2) to the ifunc resolvers on x86. It is much m

svn commit: r308688 - head/libexec/rtld-elf

2016-11-15 Thread Konstantin Belousov
Author: kib Date: Tue Nov 15 09:40:03 2016 New Revision: 308688 URL: https://svnweb.freebsd.org/changeset/base/308688 Log: Assert that there is no unresolved symbols during rtld linking. Reviewed by: emaste, jhb Sponsored by: The FreeBSD Foundation MFC after:1 week X-Differential

svn commit: r308686 - head/share/misc

2016-11-15 Thread Dexuan Cui
Author: dexuan Date: Tue Nov 15 09:20:28 2016 New Revision: 308686 URL: https://svnweb.freebsd.org/changeset/base/308686 Log: Add myself (dexuan) as a src committer and sephe as my mentor. Approved by: sephe (mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/mis

svn commit: r308685 - stable/10/sys/dev/mlx5/mlx5_en

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 09:00:01 2016 New Revision: 308685 URL: https://svnweb.freebsd.org/changeset/base/308685 Log: MFC r308416: Add timer to watch the RQ when we are out of mbufs. The firmware/hardware does not generate additional completion events unless we post new buffer

svn commit: r308684 - in stable/10/sys/dev/mlx5: . mlx5_core

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:58:51 2016 New Revision: 308684 URL: https://svnweb.freebsd.org/changeset/base/308684 Log: MFC r308414: Add more firmware related structures and update existing ones in the MLX5 core module. Update the set and query diagnostics counter API. Sponsored

svn commit: r308683 - stable/10/sys/dev/mlx5/mlx5_core

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:58:12 2016 New Revision: 308683 URL: https://svnweb.freebsd.org/changeset/base/308683 Log: MFC r308413: Query flow table capabilities according to the correct capability bit for infiniband. Sponsored by: Mellanox Technologies Modified: stable/10/s

svn commit: r308681 - stable/10/sys/dev/mlx5/mlx5_core

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:56:59 2016 New Revision: 308681 URL: https://svnweb.freebsd.org/changeset/base/308681 Log: MFC r308411: Ensure the firmware is notified of any host memory allocation failures. Else firmware commands may time out waiting for host memory. Sponsored b

svn commit: r308682 - stable/10/sys/dev/mlx5

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:57:36 2016 New Revision: 308682 URL: https://svnweb.freebsd.org/changeset/base/308682 Log: MFC r308412: Correct checksum fields in the "mlx5_mini_cqe8" structure. The fields in question are currently not used. Sponsored by: Mellanox Technologies Mod

svn commit: r308680 - stable/10/sys/dev/mlx5/mlx5_core

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:56:18 2016 New Revision: 308680 URL: https://svnweb.freebsd.org/changeset/base/308680 Log: MFC r308409: When a firmware command times out do not free the command structure to avoid use after free. Sponsored by: Mellanox Technologies Modified: stab

svn commit: r308679 - stable/11/sys/dev/mlx5/mlx5_en

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:54:03 2016 New Revision: 308679 URL: https://svnweb.freebsd.org/changeset/base/308679 Log: MFC r308416: Add timer to watch the RQ when we are out of mbufs. The firmware/hardware does not generate additional completion events unless we post new buffer

svn commit: r308678 - in stable/11/sys/dev/mlx5: . mlx5_core

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:53:25 2016 New Revision: 308678 URL: https://svnweb.freebsd.org/changeset/base/308678 Log: MFC r308414: Add more firmware related structures and update existing ones in the MLX5 core module. Update the set and query diagnostics counter API. Sponsored

svn commit: r308677 - stable/11/sys/dev/mlx5/mlx5_core

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:52:45 2016 New Revision: 308677 URL: https://svnweb.freebsd.org/changeset/base/308677 Log: MFC r308413: Query flow table capabilities according to the correct capability bit for infiniband. Sponsored by: Mellanox Technologies Modified: stable/11/s

svn commit: r308676 - stable/11/sys/dev/mlx5

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:52:06 2016 New Revision: 308676 URL: https://svnweb.freebsd.org/changeset/base/308676 Log: MFC r308412: Correct checksum fields in the "mlx5_mini_cqe8" structure. The fields in question are currently not used. Sponsored by: Mellanox Technologies Mod

svn commit: r308675 - stable/11/sys/dev/mlx5/mlx5_core

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:51:29 2016 New Revision: 308675 URL: https://svnweb.freebsd.org/changeset/base/308675 Log: MFC r308411: Ensure the firmware is notified of any host memory allocation failures. Else firmware commands may time out waiting for host memory. Sponsored b

svn commit: r308674 - stable/11/sys/dev/mlx5/mlx5_core

2016-11-15 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 15 08:50:42 2016 New Revision: 308674 URL: https://svnweb.freebsd.org/changeset/base/308674 Log: MFC r308409: When a firmware command times out do not free the command structure to avoid use after free. Sponsored by: Mellanox Technologies Modified: stab