svn commit: r314326 - head/sys/dev/isp

2017-02-27 Thread Alexander Motin
Author: mav Date: Mon Feb 27 08:20:28 2017 New Revision: 314326 URL: https://svnweb.freebsd.org/changeset/base/314326 Log: Send TERMINATE to firmware when aborting active ATIO. MFC after:2 weeks Modified: head/sys/dev/isp/isp.c head/sys/dev/isp/isp_freebsd.c head/sys/dev/isp/isp_

svn commit: r314328 - head/sys/dev/acpica

2017-02-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 27 08:36:51 2017 New Revision: 314328 URL: https://svnweb.freebsd.org/changeset/base/314328 Log: Fix startup race initialising ACPI CM battery structures on MacBookPro. During acpi_cmbat_attach() the acpi_cmbat_init_battery() notification handler is register

svn commit: r314329 - head/sys/arm/allwinner/clkng

2017-02-27 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 27 08:58:27 2017 New Revision: 314329 URL: https://svnweb.freebsd.org/changeset/base/314329 Log: allwinner: Add support for lock and fractional mode on NM clock Some PLL have a fractional mode and a lock bit. Add support for it on the NM clock and export the clo

svn commit: r314333 - head/sys/arm/allwinner/clkng

2017-02-27 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 27 11:10:36 2017 New Revision: 314333 URL: https://svnweb.freebsd.org/changeset/base/314333 Log: allwinner: Order clocks by offset rather than by type for H3 ccu. Also add a few more supported gates and add comments for which clocks are missing. Modified: hea

svn commit: r314336 - head/sys/compat/linuxkpi/common/include/linux

2017-02-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 27 13:59:02 2017 New Revision: 314336 URL: https://svnweb.freebsd.org/changeset/base/314336 Log: Define __sum16 type in the LinuxKPI. MFC after:1 week Sponsored by: Mellanox Technologies Modified: head/sys/compat/linuxkpi/common/includ

svn commit: r314337 - head/sys/compat/linuxkpi/common/include/linux

2017-02-27 Thread Hans Petter Selasky
Author: hselasky Date: Mon Feb 27 14:38:17 2017 New Revision: 314337 URL: https://svnweb.freebsd.org/changeset/base/314337 Log: Implement more bit operation functions in the LinuxKPI. Some minor whitespace nits while at it. Obtained from:kmacy @ MFC after:1 w

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

2017-02-27 Thread Alexander Motin
Author: mav Date: Mon Feb 27 14:59:00 2017 New Revision: 314338 URL: https://svnweb.freebsd.org/changeset/base/314338 Log: Polish handling of different reset flavours. The biggest change is that ctl_remove_initiator() now generates I_T NEXUS LOSS event, cleaning part of LUs state related

svn commit: r314339 - head/sbin/setkey

2017-02-27 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 27 15:30:27 2017 New Revision: 314339 URL: https://svnweb.freebsd.org/changeset/base/314339 Log: Document that the size of AH ICV for HMAC-SHA2-NNN should be half of NNN bits as described in RFC4868. PR: 215978 Modified: head/sbin/setkey/setkey.8 Mod

svn commit: r314340 - head/sys/dev/xen/gntdev

2017-02-27 Thread Roger Pau Monné
Author: royger Date: Mon Feb 27 15:31:15 2017 New Revision: 314340 URL: https://svnweb.freebsd.org/changeset/base/314340 Log: xen/gntdev: prevent unsynchronized accesses to the map entry vm_map_lookup_done should only be called when the gntdev has finished poking at the entry. Repor

svn commit: r314341 - head/etc

2017-02-27 Thread Alan Somers
Author: asomers Date: Mon Feb 27 15:32:56 2017 New Revision: 314341 URL: https://svnweb.freebsd.org/changeset/base/314341 Log: Update devd.conf for ports change 421360 Ports change 421360 changed the name and UID of the postgres user Reviewed by: trasz, imp, girgen MFC after:3 w

svn commit: r314342 - head/usr.sbin/bhyve

2017-02-27 Thread Roman Bogorodskiy
Author: novel (ports committer) Date: Mon Feb 27 15:37:38 2017 New Revision: 314342 URL: https://svnweb.freebsd.org/changeset/base/314342 Log: bhyve: document virtio-console in the manpage Reviewed by: bcr, wblock, jceel Approved by: grehan Differential Revision:https://review

svn commit: r314343 - head/sys/compat/linux

2017-02-27 Thread Dmitry Chagin
Author: dchagin Date: Mon Feb 27 16:53:52 2017 New Revision: 314343 URL: https://svnweb.freebsd.org/changeset/base/314343 Log: Unify eventfd ioctl method and use it for other similar interfaces. MFC after:1 month Modified: head/sys/compat/linux/linux_event.c Modified: head/sys/compa

svn commit: r314344 - head/sys/compat/linux

2017-02-27 Thread Dmitry Chagin
Author: dchagin Date: Mon Feb 27 16:55:09 2017 New Revision: 314344 URL: https://svnweb.freebsd.org/changeset/base/314344 Log: Return EINVAL when an invalid file descriptor specified. MFC after:1 month Modified: head/sys/compat/linux/linux_event.c Modified: head/sys/compat/linux/lin

svn commit: r314345 - head/sys/dev/usb/controller

2017-02-27 Thread Bruce M Simpson
Author: bms Date: Mon Feb 27 17:04:35 2017 New Revision: 314345 URL: https://svnweb.freebsd.org/changeset/base/314345 Log: Add ID for NEC uPD720202 xHCI controller. MFC after:1 month Modified: head/sys/dev/usb/controller/xhci_pci.c Modified: head/sys/dev/usb/controller/xhci_pci.c ==

svn commit: r314346 - head/sys/arm/allwinner/clkng

2017-02-27 Thread Emmanuel Vadot
Author: manu Date: Mon Feb 27 17:12:17 2017 New Revision: 314346 URL: https://svnweb.freebsd.org/changeset/base/314346 Log: allwinner: Correct some clocks name for H3 CCU. Modified: head/sys/arm/allwinner/clkng/ccu_h3.c Modified: head/sys/arm/allwinner/clkng/ccu_h3.c

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

2017-02-27 Thread Andriy Gapon
Author: avg Date: Mon Feb 27 17:36:31 2017 New Revision: 314357 URL: https://svnweb.freebsd.org/changeset/base/314357 Log: fix lvt_mode: edge-triggered interrupt mode is set by clearing APIC_LVT_TM The fixed is used only to fix up buggy MPTable information and the trigger mode is probably

svn commit: r314358 - head/sys/dev/firewire

2017-02-27 Thread Alexander Motin
Author: mav Date: Mon Feb 27 17:50:38 2017 New Revision: 314358 URL: https://svnweb.freebsd.org/changeset/base/314358 Log: Announce that sbp_targ(4) does not support initiator mode. MFC after:1 week Modified: head/sys/dev/firewire/sbp_targ.c Modified: head/sys/dev/firewire/sbp_targ.

svn commit: r314359 - in head: sbin/geom/class/part sys/geom/part

2017-02-27 Thread Mariusz Zaborski
Author: oshogbo Date: Mon Feb 27 17:54:01 2017 New Revision: 314359 URL: https://svnweb.freebsd.org/changeset/base/314359 Log: Add sysctl to control auto resize of the GEOM metadata. Reviewed by: AllanJude Differential Revision:https://reviews.freebsd.org/D9603 Modified: head/

Re: svn commit: r314359 - in head: sbin/geom/class/part sys/geom/part

2017-02-27 Thread Mariusz Zaborski
On Mon, Feb 27, 2017 at 05:54:01PM +, Mariusz Zaborski wrote: > Author: oshogbo > Date: Mon Feb 27 17:54:01 2017 > New Revision: 314359 > URL: https://svnweb.freebsd.org/changeset/base/314359 > > Log: > Add sysctl to control auto resize of the GEOM metadata. > > Reviewed by:Alla

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

2017-02-27 Thread Ruslan Bukin
Author: br Date: Mon Feb 27 19:46:27 2017 New Revision: 314360 URL: https://svnweb.freebsd.org/changeset/base/314360 Log: Revert r314212 as it break Allwinner boards. Reported by: manu Modified: head/sys/dev/uart/uart_dev_snps.c Modified: head/sys/dev/uart/uart_dev_snps.c =

svn commit: r314362 - in head/sys: arm/at91 arm/cavium/cns11xx arm/nvidia arm/xscale/i8134x arm/xscale/ixp425 arm/xscale/pxa dev/uart mips/adm5120 mips/alchemy mips/atheros mips/atheros/ar531x mips...

2017-02-27 Thread Ruslan Bukin
Author: br Date: Mon Feb 27 20:08:42 2017 New Revision: 314362 URL: https://svnweb.freebsd.org/changeset/base/314362 Log: Allow setting access-width for UART registers. This is required for FDT's standard "reg-io-width" property (similar to "reg-shift" property) found in many DTS files.

Re: svn commit: r313006 - in head: sys/conf sys/libkern sys/libkern/x86 sys/sys tests/sys/kern

2017-02-27 Thread Conrad Meyer
On Thu, Feb 2, 2017 at 12:29 PM, Bruce Evans wrote: > I've almost finished fixing and optimizing this. I didn't manage to fix > all the compiler pessimizations, but the result is within 5% of optimal > for buffers larger than a few K. Hi Bruce, Did you ever get to a final patch that you are sat

svn commit: r314365 - head/sys/dev/bxe

2017-02-27 Thread David C Somayajulu
Author: davidcs Date: Mon Feb 27 23:38:51 2017 New Revision: 314365 URL: https://svnweb.freebsd.org/changeset/base/314365 Log: 1. state checks in bxe_tx_mq_start_locked() and bxe_tx_mq_start() to sync threads during interface down or detach. 2. add sysctl to set pause frame parameters 3. in

svn commit: r314369 - head/sys/dev/bnxt

2017-02-27 Thread Stephen Hurd
Author: shurd (ports committer) Date: Tue Feb 28 02:27:51 2017 New Revision: 314369 URL: https://svnweb.freebsd.org/changeset/base/314369 Log: bnxt: propagate RSS hash type to the network stack. RSS hash type will be used to identify the CPU on to which, a receive packet will be queued.

Re: svn commit: r313006 - in head: sys/conf sys/libkern sys/libkern/x86 sys/sys tests/sys/kern

2017-02-27 Thread Bruce Evans
On Mon, 27 Feb 2017, Conrad Meyer wrote: On Thu, Feb 2, 2017 at 12:29 PM, Bruce Evans wrote: I've almost finished fixing and optimizing this. I didn't manage to fix all the compiler pessimizations, but the result is within 5% of optimal for buffers larger than a few K. Did you ever get to a

Re: svn commit: r314369 - head/sys/dev/bnxt

2017-02-27 Thread Sepherosa Ziehau
On Tue, Feb 28, 2017 at 10:27 AM, Stephen Hurd wrote: > Modified: head/sys/dev/bnxt/bnxt_txrx.c > == > --- head/sys/dev/bnxt/bnxt_txrx.c Tue Feb 28 00:58:16 2017 > (r314368) > +++ head/sys/dev/bnxt/bnxt_txrx.

svn commit: r314370 - head/sys/powerpc/include

2017-02-27 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 28 04:13:20 2017 New Revision: 314370 URL: https://svnweb.freebsd.org/changeset/base/314370 Log: Unbreak kernel breakpoints, broken for ~4 years now When committing DTrace in 2012/2013 era I inadvertently broke breakpoints, by setting EXC_DTRACE to the same

svn commit: r314371 - head/sys/powerpc/powerpc

2017-02-27 Thread Justin Hibbits
Author: jhibbits Date: Tue Feb 28 04:31:28 2017 New Revision: 314371 URL: https://svnweb.freebsd.org/changeset/base/314371 Log: Make kernel breakpoints work for book-e Add the necessary bits to enable kernel breakpoints for Book-E. The entrypoint for program exception is very trivial, s

svn commit: r314372 - head/sys/conf

2017-02-27 Thread Ngie Cooper
Author: ngie Date: Tue Feb 28 04:48:30 2017 New Revision: 314372 URL: https://svnweb.freebsd.org/changeset/base/314372 Log: Use "build" instead of "all" when building ports modules "all" in ports currently means "stage the ports", which requires root today, and brings to light other poten

svn commit: r314373 - in head: . etc/defaults etc/rc.d lib/libc/regex share/man/man4/man4.i386 share/man/man5 sys/amd64/conf sys/boot/forth sys/compat/svr4 sys/conf sys/dev/streams sys/i386/conf sy...

2017-02-27 Thread Gleb Smirnoff
Author: glebius Date: Tue Feb 28 05:14:42 2017 New Revision: 314373 URL: https://svnweb.freebsd.org/changeset/base/314373 Log: Remove SVR4 (System V Release 4) binary compatibility support. UNIX System V Release 4 is operating system released in 1988. It ceased to exist in early 2000-s.

svn commit: r314374 - head/sys/dev/firewire

2017-02-27 Thread Alexander Motin
Author: mav Date: Tue Feb 28 05:17:50 2017 New Revision: 314374 URL: https://svnweb.freebsd.org/changeset/base/314374 Log: Add safety check against too long CDB. SBP-2 specification defined maximum CDB length as 12 bytes. Newer SBP-3 specification allows CDB of any size, but this driver

svn commit: r314375 - head/sys/dev/firewire

2017-02-27 Thread Alexander Motin
Author: mav Date: Tue Feb 28 05:24:06 2017 New Revision: 314375 URL: https://svnweb.freebsd.org/changeset/base/314375 Log: Remove some locking not needed for modern CAM. This driver is full of LORs. This change allows to reduce deadlock chance from 100% to level that allows some tests to