Re: svn commit: r295465 - head/usr.sbin/services_mkdb

2016-02-11 Thread David Malone
On Wed, Feb 10, 2016 at 09:40:45AM +, Stefan Esser wrote: > Author: se > Date: Wed Feb 10 09:40:45 2016 > New Revision: 295465 > URL: https://svnweb.freebsd.org/changeset/base/295465 > > Log: > Remove O_SYNC from the options passed to dbmopen(). > > The services db is created as a

svn commit: r295558 - head/sys/dev/hwpmc

2016-02-11 Thread Konstantin Belousov
Author: kib Date: Fri Feb 12 07:19:59 2016 New Revision: 295558 URL: https://svnweb.freebsd.org/changeset/base/295558 Log: Remove tautological cast. PR: 207068 Submitted by: joss.up...@yahoo.com MFC after:2 weeks Modified: head/sys/dev/hwpmc/hwpmc_mod.c Modified:

svn commit: r295559 - head/sys/sys

2016-02-11 Thread Konstantin Belousov
Author: kib Date: Fri Feb 12 07:20:27 2016 New Revision: 295559 URL: https://svnweb.freebsd.org/changeset/base/295559 Log: Adjust the size of PMC_DEFAULT_DEBUG_FLAGS to match the size of the structure. PR: 207068 Submitted by: joss.up...@yahoo.com MFC after:2 weeks Modified:

svn commit: r295560 - head/sys/dev/hwpmc

2016-02-11 Thread Konstantin Belousov
Author: kib Date: Fri Feb 12 07:27:24 2016 New Revision: 295560 URL: https://svnweb.freebsd.org/changeset/base/295560 Log: If full width writes to the performance monitoring counters are supported, use full-width aliases MSRs for writes. This fixes the "[pmc,X] negative increment"

svn commit: r295561 - in head: include sys/mips/include sys/powerpc/include sys/sparc64/include sys/sys sys/x86/include

2016-02-11 Thread Konstantin Belousov
Author: kib Date: Fri Feb 12 07:38:19 2016 New Revision: 295561 URL: https://svnweb.freebsd.org/changeset/base/295561 Log: POSIX states that #include shall make both mcontext_t and ucontext_t available. Our code even has XXX comment about this. Add a bit of compliance by moving struct

svn commit: r295557 - head/sys/dev/uart

2016-02-11 Thread Michal Meloun
Author: mmel Date: Fri Feb 12 05:14:58 2016 New Revision: 295557 URL: https://svnweb.freebsd.org/changeset/base/295557 Log: UART: Fix spurious interrupts generated by ns8250 and lpc drivers: - don't enable transmitter empty interrupt before filling TX FIFO. - add missing uart_barrier()

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

2016-02-11 Thread Roger Pau Monné
Author: royger Date: Thu Feb 11 11:53:32 2016 New Revision: 295511 URL: https://svnweb.freebsd.org/changeset/base/295511 Log: xen-netfront: rearrange error paths in setup_txqs Coverity spotted double free errors in error path. Fix that by removing the extraneous calls. Coverity ID:

svn commit: r295522 - head/share/man/man8

2016-02-11 Thread Ed Maste
Author: emaste Date: Thu Feb 11 14:45:18 2016 New Revision: 295522 URL: https://svnweb.freebsd.org/changeset/base/295522 Log: Explain that boot1.efi prefers ZFS over UFS Reported by: smh Modified: head/share/man/man8/uefi.8 Modified: head/share/man/man8/uefi.8

Re: svn commit: r295523 - head/sys/fs/ext2fs

2016-02-11 Thread Pedro Giffuni
On 02/11/16 11:54, Bruce Evans wrote: On Thu, 11 Feb 2016, Pedro F. Giffuni wrote: Log: Ext4: Use boolean type instead of '0' and '1' There are precedents of uses of bool in the kernel and it is incorrect style to use integers as replacement for a boolean type. This is all backwards.

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-02-11 Thread Pedro Giffuni
On 02/11/16 11:47, Warner Losh wrote: On Wed, Feb 10, 2016 at 8:08 AM, Pedro Giffuni

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

2016-02-11 Thread Roger Pau Monné
Author: royger Date: Thu Feb 11 11:50:31 2016 New Revision: 295510 URL: https://svnweb.freebsd.org/changeset/base/295510 Log: xen-netfront: remove pointless assignment in xn_ioctl The variable error is assigned to 0 before entering the switch. Assigning error to 0 before break pointless

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

2016-02-11 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 11 12:01:33 2016 New Revision: 295517 URL: https://svnweb.freebsd.org/changeset/base/295517 Log: Initially bind all interrupts to the boot CPU when using GICv3 This should be done by routing all interrupts to CPU0, different assignment will be induced by either

svn commit: r295512 - in head/sys/arm64: arm64 include

2016-02-11 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 11 11:55:37 2016 New Revision: 295512 URL: https://svnweb.freebsd.org/changeset/base/295512 Log: Minor clean-ups for ARM64 GICv3 and GIC drivers GICv3: - move ICC_SGI1R_EL1 definitions to armreg.h and use proper system register's names GIC: - remove

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

2016-02-11 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 11 12:03:11 2016 New Revision: 295518 URL: https://svnweb.freebsd.org/changeset/base/295518 Log: Implement finer locking in ITS - Change locks' names to be more suitable - Don't use blocking mutex. Lock only basic operations such as lists or bitmaps

svn commit: r295508 - head/sys/riscv/htif

2016-02-11 Thread Ruslan Bukin
Author: br Date: Thu Feb 11 11:21:45 2016 New Revision: 295508 URL: https://svnweb.freebsd.org/changeset/base/295508 Log: Stop device enumeration when we see first empty slot. This fixes operation in QEMU and saves some booting time as well. Pointed out by: Sagar Karandikar

svn commit: r295509 - in head/sys/arm: altera/socfpga amlogic/aml8726 annapurna/alpine at91 broadcom/bcm2835 freescale/imx freescale/vybrid lpc mv rockchip samsung/exynos versatile xilinx

2016-02-11 Thread Andrew Turner
Author: andrew Date: Thu Feb 11 11:49:27 2016 New Revision: 295509 URL: https://svnweb.freebsd.org/changeset/base/295509 Log: Stop defining fdt_pic_table when building for ARM_INTRNG. Modified: head/sys/arm/altera/socfpga/socfpga_common.c head/sys/arm/amlogic/aml8726/aml8726_machdep.c

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

2016-02-11 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 11 11:57:13 2016 New Revision: 295514 URL: https://svnweb.freebsd.org/changeset/base/295514 Log: Fix bugs in interrupts allocation on ARM64 Separate interrupt descriptors lookup from allocation. It was possible to perform config on non-existing interrupt simply

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

2016-02-11 Thread Roger Pau Monné
Author: royger Date: Thu Feb 11 11:57:12 2016 New Revision: 295513 URL: https://svnweb.freebsd.org/changeset/base/295513 Log: xen-netfront: remove useless NULL check in netif_free xn_ifp is allocated in create_netdev with if_alloc(IFT_ETHER). According to the current arrangement it can't

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

2016-02-11 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 11 12:04:58 2016 New Revision: 295519 URL: https://svnweb.freebsd.org/changeset/base/295519 Log: Support interrupts binding in GICv3 and ITS - Add MOVI command and routine for the LPI migration - Allow to search for the ITS device descriptor using not only

svn commit: r295507 - in head/sys/arm: conf xilinx/zedboard

2016-02-11 Thread Andrew Turner
Author: andrew Date: Thu Feb 11 10:48:15 2016 New Revision: 295507 URL: https://svnweb.freebsd.org/changeset/base/295507 Log: Remove unused Zedboard config files. files.zedboard was empty other than comments, and std.zedboard just pointed to files.zedboard and std.xilinx. Deleted:

svn commit: r295506 - head/sys/netinet

2016-02-11 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 11 10:03:50 2016 New Revision: 295506 URL: https://svnweb.freebsd.org/changeset/base/295506 Log: Use a pair of ifs when comparing the 32-bit flowid integers so that the sign bit doesn't cause an overflow. The overflow manifests itself as a sorting index wrap

svn commit: r295515 - in head/sys/arm64: arm64 include

2016-02-11 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 11 11:58:27 2016 New Revision: 295515 URL: https://svnweb.freebsd.org/changeset/base/295515 Log: Introduce bus_bind_intr method for ARM64 It can be used to bind specific interrupt to a particular CPU. Requires PIC support for interrupts binding. Reviewed

svn commit: r295521 - in head/sys: boot/fdt/dts/riscv riscv/conf

2016-02-11 Thread Ruslan Bukin
Author: br Date: Thu Feb 11 13:28:52 2016 New Revision: 295521 URL: https://svnweb.freebsd.org/changeset/base/295521 Log: o Move non-generic kernel configuration out from GENERIC. o Add kernel configuration for QEMU. Both SPIKE and QEMU kernel configs are temporary (until we will be

svn commit: r295520 - in head/sys/powerpc: booke include powerpc

2016-02-11 Thread Justin Hibbits
Author: jhibbits Date: Thu Feb 11 13:15:37 2016 New Revision: 295520 URL: https://svnweb.freebsd.org/changeset/base/295520 Log: Migrate the PTE format for book-e to standardize on the 'indirect PTE' format Summary: The revised Book-E spec, adding the specification for the MMUv2 and

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

2016-02-11 Thread Pedro F. Giffuni
Author: pfg Date: Thu Feb 11 15:27:14 2016 New Revision: 295523 URL: https://svnweb.freebsd.org/changeset/base/295523 Log: Ext4: Use boolean type instead of '0' and '1' There are precedents of uses of bool in the kernel and it is incorrect style to use integers as replacement for a

svn commit: r295553 - head/share/examples/jails

2016-02-11 Thread Devin Teske
Author: dteske Date: Fri Feb 12 01:12:44 2016 New Revision: 295553 URL: https://svnweb.freebsd.org/changeset/base/295553 Log: Refactor conversion to hex Modified: head/share/examples/jails/jib head/share/examples/jails/jng Modified: head/share/examples/jails/jib

svn commit: r295546 - head/share/examples/jails

2016-02-11 Thread Devin Teske
Author: dteske Date: Thu Feb 11 21:28:34 2016 New Revision: 295546 URL: https://svnweb.freebsd.org/changeset/base/295546 Log: Centralize MAC derivation formula Modified: head/share/examples/jails/jib head/share/examples/jails/jng Modified: head/share/examples/jails/jib

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

2016-02-11 Thread Gleb Smirnoff
Author: glebius Date: Thu Feb 11 21:32:23 2016 New Revision: 295547 URL: https://svnweb.freebsd.org/changeset/base/295547 Log: o Gather all mbuf(9) allocation functions into kern_mbuf.c, and all mbuf(9) manipulation functions into uipc_mbuf.c. This looks like the initial intent, but

svn commit: r295548 - head/share/examples/jails

2016-02-11 Thread Devin Teske
Author: dteske Date: Thu Feb 11 22:10:54 2016 New Revision: 295548 URL: https://svnweb.freebsd.org/changeset/base/295548 Log: Add support for bridging iwn(4) based wlan(4) Documented in iwn(4), "Only one virtual interface may be configured at any time." However, netgraph with a cloned

svn commit: r295549 - head/sys/netinet

2016-02-11 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 11 22:29:39 2016 New Revision: 295549 URL: https://svnweb.freebsd.org/changeset/base/295549 Log: Loopback addresses are 127.0.0.0/8, not 127.0.0.1/32. MFC after: 1 week Modified: head/sys/netinet/sctp_constants.h Modified: head/sys/netinet/sctp_constants.h

svn commit: r295554 - head/share/examples/jails

2016-02-11 Thread Devin Teske
Author: dteske Date: Fri Feb 12 01:41:40 2016 New Revision: 295554 URL: https://svnweb.freebsd.org/changeset/base/295554 Log: Add syntax to disable MAC allocation Adding `!' before an interface name will disable MAC allocation, falling back to driver mechanics. Alternatively adding `='

svn commit: r295556 - head/share/examples/jails

2016-02-11 Thread Devin Teske
Author: dteske Date: Fri Feb 12 02:53:44 2016 New Revision: 295556 URL: https://svnweb.freebsd.org/changeset/base/295556 Log: Comments and fix small bug Reduce differences between jib/jng and fix a bug that would prevent additional interfaces from being created if the first of many

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

2016-02-11 Thread Kubilay Kocak
On 12/02/2016 4:07 AM, Devin Teske wrote: > Author: dteske > Date: Thu Feb 11 17:07:19 2016 > New Revision: 295529 > URL: https://svnweb.freebsd.org/changeset/base/295529 > > Log: > Merge SVN r295220 (bz) from projects/vnet/ > > Fix a panic that occurs when a vnet interface is unavailable

svn commit: r295555 - head/etc/rc.d

2016-02-11 Thread Devin Teske
Author: dteske Date: Fri Feb 12 02:50:36 2016 New Revision: 29 URL: https://svnweb.freebsd.org/changeset/base/29 Log: Interpret vnet_interface/vnet.interface as array Modified: head/etc/rc.d/jail Modified: head/etc/rc.d/jail

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

2016-02-11 Thread Andrew Turner
Author: andrew Date: Thu Feb 11 16:43:23 2016 New Revision: 295527 URL: https://svnweb.freebsd.org/changeset/base/295527 Log: Include the correct header to get a phandle_t needed by ofw_bus_if.h. While here only include opt_platform.h once. Sponsored by: ABT Systems Ltd Modified:

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

2016-02-11 Thread Devin Teske
Author: dteske Date: Thu Feb 11 17:07:19 2016 New Revision: 295529 URL: https://svnweb.freebsd.org/changeset/base/295529 Log: Merge SVN r295220 (bz) from projects/vnet/ Fix a panic that occurs when a vnet interface is unavailable at the time the vnet jail referencing said interface is

Re: svn commit: r295523 - head/sys/fs/ext2fs

2016-02-11 Thread Bruce Evans
On Thu, 11 Feb 2016, Pedro F. Giffuni wrote: Log: Ext4: Use boolean type instead of '0' and '1' There are precedents of uses of bool in the kernel and it is incorrect style to use integers as replacement for a boolean type. This is all backwards. It is correct style to use integers to

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-02-11 Thread Warner Losh
On Wed, Feb 10, 2016 at 8:08 AM, Pedro Giffuni wrote: > Hello; > > El 10/02/2016 a las 02:20, Hans Petter Selasky escribió: > >> On 01/19/16 17:09, Ryan Stone wrote: >> >>> On Tue, Jan 19, 2016 at 10:33 AM, Hans Petter Selasky < >>> hsela...@freebsd.org> >>> wrote: >>> >>>

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

2016-02-11 Thread Warner Losh
On Wed, Feb 10, 2016 at 3:43 AM, Andrew Turner wrote: > On Wed, 10 Feb 2016 04:43:08 + (UTC) > Adrian Chadd wrote: > > > Author: adrian > > Date: Wed Feb 10 04:43:08 2016 > > New Revision: 295459 > > URL:

svn commit: r295540 - head/sys/arm/conf

2016-02-11 Thread Andrew Turner
Author: andrew Date: Thu Feb 11 18:01:10 2016 New Revision: 295540 URL: https://svnweb.freebsd.org/changeset/base/295540 Log: Enable ARM_INTRNG on all kernel configs where we use the Generic Interrupt Controller. Sponsored by: ABT Systems Ltd Modified: head/sys/arm/conf/ALPINE

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

2016-02-11 Thread Zbigniew Bodek
Author: zbb Date: Thu Feb 11 11:59:32 2016 New Revision: 295516 URL: https://svnweb.freebsd.org/changeset/base/295516 Log: Call pmc_hook() correctly in the ARM64 interrupt handler pmc_hook() was called only in case of the stray interrupt but should rather be called on each interrupt.

svn commit: r295535 - in head: contrib/unbound contrib/unbound/doc contrib/unbound/services contrib/unbound/util contrib/unbound/validator lib/libunbound usr.sbin/unbound/local-setup

2016-02-11 Thread Dag-Erling Smørgrav
Author: des Date: Thu Feb 11 17:37:02 2016 New Revision: 295535 URL: https://svnweb.freebsd.org/changeset/base/295535 Log: Use the new insecure-lan-zones option instead of listing each AS112 zone separately. MFC after:3 days Added: head/contrib/unbound/util/as112.c - copied

svn commit: r295533 - in head: . tools/build/mk usr.sbin/unbound/control

2016-02-11 Thread Dag-Erling Smørgrav
/ObsoleteFiles.inc Thu Feb 11 17:33:55 2016(r295533) @@ -38,6 +38,8 @@ # xargs -n1 | sort | uniq -d; # done +# 20160211: Remove obsolete unbound-control-setup +OLD_FILES+=usr/sbin/unbound-control-setup # 20160116: Update mandoc to cvs snapshot 20160116 OLD_FILES+=usr/share/mdocml

svn commit: r295532 - head/sys/dev/nvme

2016-02-11 Thread Jim Harris
Author: jimharris Date: Thu Feb 11 17:32:41 2016 New Revision: 295532 URL: https://svnweb.freebsd.org/changeset/base/295532 Log: nvme: avoid duplicate SET_NUM_QUEUES commands nvme(4) issues a SET_NUM_QUEUES command during device initialization to ensure enough I/O queues exists for each

Re: svn commit: r294327 - in head/sys: dev/cxgb dev/cxgbe dev/e1000 dev/hyperv/netvsc dev/ixgbe dev/mxge netinet sys

2016-02-11 Thread Benjamin Kaduk
On Thu, Feb 11, 2016 at 10:47 AM, Warner Losh wrote: > On Wed, Feb 10, 2016 at 8:08 AM, Pedro Giffuni wrote: > > > If it is faster, is there any good reason to maintain both qsort and > mergesort > in the kernel then? > qsort is not stable; mergesort is.

svn commit: r295536 - head/lib/libfetch

2016-02-11 Thread Dag-Erling Smørgrav
Author: des Date: Thu Feb 11 17:48:15 2016 New Revision: 295536 URL: https://svnweb.freebsd.org/changeset/base/295536 Log: Fix double-free error: r289419 moved all error handling in http_connect() to the end of the function, but did not remove a fetch_close() call which was made redundant

svn commit: r295541 - head/sys/netinet

2016-02-11 Thread Michael Tuexen
Author: tuexen Date: Thu Feb 11 18:35:46 2016 New Revision: 295541 URL: https://svnweb.freebsd.org/changeset/base/295541 Log: Use 4 spaces instead of a tab. Modified: head/sys/netinet/sctp_sysctl.c Modified: head/sys/netinet/sctp_sysctl.c

svn commit: r295542 - head/share/examples/jails

2016-02-11 Thread Devin Teske
Author: dteske Date: Thu Feb 11 18:37:02 2016 New Revision: 295542 URL: https://svnweb.freebsd.org/changeset/base/295542 Log: Add example VIMAGE config required by vnet jails Added: head/share/examples/jails/VIMAGE (contents, props changed) Modified: head/share/examples/jails/README