Re: svn commit: r297690 - head/sys/boot/forth

2016-04-07 Thread Maxim Sobolev
Hi Bruce, thanks for the input! I will see if I can move that piece into loader.8 and extend it a bit from the source "documentation". -Max On Thu, Apr 7, 2016 at 8:38 PM, Bruce Evans wrote: > On Fri, 8 Apr 2016, Maxim Sobolev wrote: > > Log: >> Document

svn commit: r297695 - head/sys/fs/ext2fs

2016-04-07 Thread Kevin Lo
Author: kevlo Date: Fri Apr 8 04:29:05 2016 New Revision: 297695 URL: https://svnweb.freebsd.org/changeset/base/297695 Log: Fix comment. Modified: head/sys/fs/ext2fs/ext2_vfsops.c Modified: head/sys/fs/ext2fs/ext2_vfsops.c

Re: svn commit: r297690 - head/sys/boot/forth

2016-04-07 Thread Bruce Evans
On Fri, 8 Apr 2016, Maxim Sobolev wrote: Log: Document vfs.root.mountfrom. Reviewed by: imp, wblock The format of this variable is still undocumented, except in the source code. Modified: head/sys/boot/forth/loader.conf.5

svn commit: r297694 - head/sys/security/audit

2016-04-07 Thread Pedro F. Giffuni
Author: pfg Date: Fri Apr 8 03:26:21 2016 New Revision: 297694 URL: https://svnweb.freebsd.org/changeset/base/297694 Log: audit(8): leave unsigned comparison for last. aq64_minfree is unsigned so comparing to find out if it is less than zero is a nonsense. Move the comparison to the

svn commit: r297692 - head/sys/boot/geli

2016-04-07 Thread Allan Jude
Author: allanjude Date: Fri Apr 8 01:27:40 2016 New Revision: 297692 URL: https://svnweb.freebsd.org/changeset/base/297692 Log: GELIBoot should only prompt for the GELI passphrase if the provider has the G_ELI_FLAG_GELIBOOT set PR: 208251 Sponsored by: ScaleEngine Inc.

svn commit: r297691 - in head: sbin/geom/class/eli sys/geom/eli

2016-04-07 Thread Allan Jude
Author: allanjude Date: Fri Apr 8 01:25:25 2016 New Revision: 297691 URL: https://svnweb.freebsd.org/changeset/base/297691 Log: Create the GELIBOOT GEOM_ELI flag This flag indicates that the user wishes to use the GELIBOOT feature to boot from a fully encrypted root file system.

svn commit: r297690 - head/sys/boot/forth

2016-04-07 Thread Maxim Sobolev
Author: sobomax Date: Fri Apr 8 00:24:21 2016 New Revision: 297690 URL: https://svnweb.freebsd.org/changeset/base/297690 Log: Document vfs.root.mountfrom. Reviewed by: imp, wblock Differential Revision:https://reviews.freebsd.org/D5332 Modified:

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

2016-04-07 Thread Jared McNeill
Author: jmcneill Date: Fri Apr 8 00:01:19 2016 New Revision: 297689 URL: https://svnweb.freebsd.org/changeset/base/297689 Log: Match on compatible string "allwinner,sun4i-a10-sram-controller" instead of "allwinner,sun4i-sramc", to match upstream DTS. Modified:

svn commit: r297688 - head/sys/cam/scsi

2016-04-07 Thread Pedro F. Giffuni
Author: pfg Date: Thu Apr 7 21:33:14 2016 New Revision: 297688 URL: https://svnweb.freebsd.org/changeset/base/297688 Log: chdone(): Prevent returning uninitialized scalar value. Improve over the solution in r297527: Instead of attempting to initialize all the possible cases, just move

Re: svn commit: r297685 - in head/sys: conf dev/kbdmux modules/kbdmux

2016-04-07 Thread Jan Beich
Ngie Cooper writes: > On Thu, Apr 7, 2016 at 1:12 PM, Ed Maste wrote: > >> Author: emaste >> Date: Thu Apr 7 20:12:45 2016 >> New Revision: 297685 >> URL: https://svnweb.freebsd.org/changeset/base/297685 >> >> Log: >> Add option to specify built-in

svn commit: r297687 - head/sys/conf

2016-04-07 Thread Ed Maste
Author: emaste Date: Thu Apr 7 20:30:46 2016 New Revision: 297687 URL: https://svnweb.freebsd.org/changeset/base/297687 Log: newvers.sh: rationalize licence condition numbering Modified: head/sys/conf/newvers.sh Modified: head/sys/conf/newvers.sh

svn commit: r297686 - head/sys/sys

2016-04-07 Thread Ed Maste
Author: emaste Date: Thu Apr 7 20:26:27 2016 New Revision: 297686 URL: https://svnweb.freebsd.org/changeset/base/297686 Log: Rename SHT_AMD64_UNWIND to SHT_X86_64_UNWIND per ABI doc From http://www.x86-64.org/documentation_folder/abi-0.99.pdf Modified: head/sys/sys/elf_common.h

Re: svn commit: r297685 - in head/sys: conf dev/kbdmux modules/kbdmux

2016-04-07 Thread Ngie Cooper
On Thu, Apr 7, 2016 at 1:12 PM, Ed Maste wrote: > Author: emaste > Date: Thu Apr 7 20:12:45 2016 > New Revision: 297685 > URL: https://svnweb.freebsd.org/changeset/base/297685 > > Log: > Add option to specify built-in keymap for kbdmux > > PR: 153459 >

svn commit: r297685 - in head/sys: conf dev/kbdmux modules/kbdmux

2016-04-07 Thread Ed Maste
Author: emaste Date: Thu Apr 7 20:12:45 2016 New Revision: 297685 URL: https://svnweb.freebsd.org/changeset/base/297685 Log: Add option to specify built-in keymap for kbdmux PR: 153459 Submitted by: swel...@gmail.com Modified: head/sys/conf/NOTES head/sys/conf/files

svn commit: r297684 - head/sys/arm/freescale/imx

2016-04-07 Thread Ian Lepore
Author: ian Date: Thu Apr 7 19:51:27 2016 New Revision: 297684 URL: https://svnweb.freebsd.org/changeset/base/297684 Log: Remove unecessary locking, mostly from places where a read is done of a value that can't ever be in an inconsistant intermediate state even when some other thread is in

svn commit: r297683 - head/sys/arm/freescale/imx

2016-04-07 Thread Ian Lepore
Author: ian Date: Thu Apr 7 19:17:47 2016 New Revision: 297683 URL: https://svnweb.freebsd.org/changeset/base/297683 Log: Code cleanup: stop searching for a pin in the array and just use the pin number directly as an index. We create the array ourselves and nothing can change the order

Re: svn commit: r296986 - head/sys/netinet6

2016-04-07 Thread Kristof Provost
> On 17 Mar 2016, at 12:10, Andrey V. Elsukov wrote: > > Author: ae > Date: Thu Mar 17 11:10:44 2016 > New Revision: 296986 > URL: https://svnweb.freebsd.org/changeset/base/296986 > > Log: > Reduce the number of local variables. Remove redundant check that inp > pointer

svn commit: r297682 - in head/sys: arm/arm mips/mips

2016-04-07 Thread Ian Lepore
Author: ian Date: Thu Apr 7 18:19:09 2016 New Revision: 297682 URL: https://svnweb.freebsd.org/changeset/base/297682 Log: Fix a copyright glitch before it gets copy-pasted again. I think this must have started as collateral damage in a global search-replace, then it got copied around when

svn commit: r297680 - head/sys/arm/freescale/imx

2016-04-07 Thread Ian Lepore
Author: ian Date: Thu Apr 7 17:45:01 2016 New Revision: 297680 URL: https://svnweb.freebsd.org/changeset/base/297680 Log: Comestic changes; when INTRNG support was added, some functions became oddly separated from related functionality. This just moves some blocks of code around so that

svn commit: r297679 - in head/sys/dev: acpica xen/pci

2016-04-07 Thread John Baldwin
Author: jhb Date: Thu Apr 7 17:15:16 2016 New Revision: 297679 URL: https://svnweb.freebsd.org/changeset/base/297679 Log: Associate device_t objects with ACPI handles via PCI_CHILD_ADDED(). Previously, the ACPI PCI bus driver did a single pass over the devices in the namespace that were

svn commit: r297678 - head/usr.bin/uuencode

2016-04-07 Thread Pietro Cerutti
Author: gahr (ports committer) Date: Thu Apr 7 16:12:38 2016 New Revision: 297678 URL: https://svnweb.freebsd.org/changeset/base/297678 Log: Enhance uuencode with a -r option to produce raw output. This matches with uudecode's -r option to decode raw data without initial and final

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

2016-04-07 Thread Svatopluk Kraus
Author: skra Date: Thu Apr 7 15:26:12 2016 New Revision: 297677 URL: https://svnweb.freebsd.org/changeset/base/297677 Log: Properly initialize isrc_cpu field of ISRC which is setup for an IPI. Modified: head/sys/arm/arm/gic.c Modified: head/sys/arm/arm/gic.c

svn commit: r297676 - head/sys/kern

2016-04-07 Thread Svatopluk Kraus
Author: skra Date: Thu Apr 7 15:16:33 2016 New Revision: 297676 URL: https://svnweb.freebsd.org/changeset/base/297676 Log: Fix intr_irq_shuffle(). After r297539, ISRCs doing IPI may be also registered into global interrupt table. Thus, they must be filtered out like per-cpu interrupts.

svn commit: r297675 - head/sys/mips/mediatek

2016-04-07 Thread Stanislav Galabov
Author: sgalabov Date: Thu Apr 7 15:11:24 2016 New Revision: 297675 URL: https://svnweb.freebsd.org/changeset/base/297675 Log: Initial import of Ralink/Mediatek MIPS SoC support #7 GPIO controller drivers import. As with other Ralink/Mediatek work, there are 2 versions of the GPIO

svn commit: r297674 - in head/sys: arm/arm arm/broadcom/bcm2835 kern sys

2016-04-07 Thread Svatopluk Kraus
Author: skra Date: Thu Apr 7 15:00:25 2016 New Revision: 297674 URL: https://svnweb.freebsd.org/changeset/base/297674 Log: Implement intr_isrc_init_on_cpu() and use it to replace very same code implemented in every interrupt controller driver running SMP. This function returns true, if

svn commit: r297673 - head/bin/csh

2016-04-07 Thread Mark Peek
Author: mp Date: Thu Apr 7 14:25:15 2016 New Revision: 297673 URL: https://svnweb.freebsd.org/changeset/base/297673 Log: Revert r296416 by removing SAVESIGVEC and switching to fork instead. This fixes usage with system libraries which maintain their own signal state. PR:

Re: svn commit: r297633 - in head: sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/ext2fs sys/kern sys/sys sys/ufs/ffs sys/ufs/ufs sys/vm usr.bin/rctl

2016-04-07 Thread Slawa Olhovchenkov
On Thu, Apr 07, 2016 at 04:23:25AM +, Edward Tomasz Napierala wrote: > Author: trasz > Date: Thu Apr 7 04:23:25 2016 > New Revision: 297633 > URL: https://svnweb.freebsd.org/changeset/base/297633 > > Log: > Add four new RCTL resources - readbps, readiops, writebps and writeiops, > for

svn commit: r297672 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2016-04-07 Thread Alexander Motin
Author: mav Date: Thu Apr 7 12:54:44 2016 New Revision: 297672 URL: https://svnweb.freebsd.org/changeset/base/297672 Log: Alike to r293708 relax pool check in vdev_geom_open_by_path(). This made impossible spare disk open by known path, which kind of worked only because the same fix was

svn commit: r297671 - head/sys/mips/mediatek

2016-04-07 Thread Stanislav Galabov
Author: sgalabov Date: Thu Apr 7 11:21:42 2016 New Revision: 297671 URL: https://svnweb.freebsd.org/changeset/base/297671 Log: Initial import of Ralink/Mediatek MIPS SoC support #6 SPI drivers for the various Ralink/Mediatek SoCs. There are 2 versions of the SPI controller (so far)

svn commit: r297670 - head/sys/mips/mediatek

2016-04-07 Thread Stanislav Galabov
Author: sgalabov Date: Thu Apr 7 11:20:03 2016 New Revision: 297670 URL: https://svnweb.freebsd.org/changeset/base/297670 Log: Initial import of Ralink/Mediatek MIPS SoC support #5 USB support This revision adds USB (EHCI/OHCI/OTG, depending on SoC type) support for various

svn commit: r297669 - head/sys/mips/mediatek

2016-04-07 Thread Stanislav Galabov
Author: sgalabov Date: Thu Apr 7 11:16:32 2016 New Revision: 297669 URL: https://svnweb.freebsd.org/changeset/base/297669 Log: Initial import of Ralink/Mediatek MIPS SoC support #4 UART drivers. - uart_dev_mtk.[ch] are the old-style Mediatek/Ralink-specific UART driver as also

svn commit: r297668 - head/sys/mips/mediatek

2016-04-07 Thread Stanislav Galabov
Author: sgalabov Date: Thu Apr 7 11:12:37 2016 New Revision: 297668 URL: https://svnweb.freebsd.org/changeset/base/297668 Log: Initial import of Ralink/Mediatek MIPS SoC support #3 Interrupt controllers found in various Mediatek/Ralink SoCs. mtk_intr_v1 and mtk_intr_v2 are basically

svn commit: r297667 - head/sys/mips/mediatek

2016-04-07 Thread Stanislav Galabov
Author: sgalabov Date: Thu Apr 7 11:08:50 2016 New Revision: 297667 URL: https://svnweb.freebsd.org/changeset/base/297667 Log: Initial import of Ralink/Mediatek MIPS SoC support #2 This revision adds the following to the Mediatek/Ralink support: - initial support for "clocks" FDT

svn commit: r297666 - head/sys/mips/mediatek

2016-04-07 Thread Stanislav Galabov
Author: sgalabov Date: Thu Apr 7 11:02:49 2016 New Revision: 297666 URL: https://svnweb.freebsd.org/changeset/base/297666 Log: This revision adds the following parts: - machine dependent low level init code - SoC clocks detection and some utility functions - Common interface to

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

2016-04-07 Thread Stanislav Galabov
Author: sgalabov Date: Thu Apr 7 10:48:26 2016 New Revision: 297665 URL: https://svnweb.freebsd.org/changeset/base/297665 Log: Bring MIPS INTRNG support back up again, in line with D5370 Reviewed by: kan Approved by: adrian (mentor) Sponsored by: Smartcom - Bulgaria AD

svn commit: r297664 - head/sys/arm64/arm64

2016-04-07 Thread Zbigniew Bodek
Author: zbb Date: Thu Apr 7 10:36:50 2016 New Revision: 297664 URL: https://svnweb.freebsd.org/changeset/base/297664 Log: Fix interrupts delivery on ThunderX for VF IDs beyond 8 SR-IOV devices usually use Alternative Routing ID (ARI). In that case slot/device is always assumed to be 0

svn commit: r297663 - head/sys/netinet

2016-04-07 Thread Randall Stewart
Author: rrs Date: Thu Apr 7 09:34:41 2016 New Revision: 297663 URL: https://svnweb.freebsd.org/changeset/base/297663 Log: A couple of minor changes that I missed that Michael had done, most noted in these is the change to non-strict ordering for incoming data (this will make pkt-drill test

svn commit: r297662 - head/sys/netinet

2016-04-07 Thread Randall Stewart
Author: rrs Date: Thu Apr 7 09:10:34 2016 New Revision: 297662 URL: https://svnweb.freebsd.org/changeset/base/297662 Log: This is work done by Michael Tuexen and myself at the IETF. This adds the new I-Data (Interleaved Data) message. This allows a user to be able to have complete freedom

svn commit: r297646 - head/sys/dev/rt

2016-04-07 Thread Stanislav Galabov
Author: sgalabov Date: Thu Apr 7 07:22:22 2016 New Revision: 297646 URL: https://svnweb.freebsd.org/changeset/base/297646 Log: This revision adds support to if_rt for more SoCs. The SoCs I've tried the driver with include the following: RT3050, RT5350, RT3662, RT3883, MT7620, MT7621,

svn commit: r297641 - head/sys/dev/hyperv/vmbus

2016-04-07 Thread Sepherosa Ziehau
Author: sephe Date: Thu Apr 7 07:12:57 2016 New Revision: 297641 URL: https://svnweb.freebsd.org/changeset/base/297641 Log: hyperv: Use lapic_{alloc,free}_ipi to allocate private interrupt vector Suggested by: jhb Reviewed by: Dexuan Cui , Jun Su Sponsored by: Microsoft OSTC

svn commit: r297639 - head/sys/x86/xen

2016-04-07 Thread Sepherosa Ziehau
Author: sephe Date: Thu Apr 7 07:00:00 2016 New Revision: 297639 URL: https://svnweb.freebsd.org/changeset/base/297639 Log: xen: Set ipi_{alloc,free} even for UP This keeps XEN apic_ops aligned w/ x86's. Suggested by: kib, jhb Reviewed by: jhb, royger Sponsored by: Microsoft

svn commit: r297638 - head/sys/x86/x86

2016-04-07 Thread Sepherosa Ziehau
Author: sephe Date: Thu Apr 7 06:36:03 2016 New Revision: 297638 URL: https://svnweb.freebsd.org/changeset/base/297638 Log: x86: Allow interrupt vector allocation/free even on UP It is needed by the hypervisor FreeBSD guest to allocate/free private interrupt vectors. Reviewed by:

svn commit: r297637 - head/contrib/netbsd-tests/lib/libc/sys

2016-04-07 Thread Garrett Cooper
Author: ngie Date: Thu Apr 7 06:21:33 2016 New Revision: 297637 URL: https://svnweb.freebsd.org/changeset/base/297637 Log: Disable the NetBSD-specific EFAULT requirements test in gettimeofday_err FreeBSD doesn't specifically list this as a supported error, and in some