svn commit: r304586 - releng/11.0/sys/dev/hyperv/storvsc

2016-08-21 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 22 05:38:44 2016 New Revision: 304586 URL: https://svnweb.freebsd.org/changeset/base/304586 Log: MFC 304251 hyperv/storvsc: Deliver CAM_SEL_TIMEOUT upon SRB status error. SRB status is set to 0x20 by the hypervisor, if the specified LUN is unac

Re: svn commit: r304584 - head/sys/dev/alc

2016-08-21 Thread YongHyeon PYUN
On Mon, Aug 22, 2016 at 03:28:06AM +, Pyun YongHyeon wrote: > Author: yongari > Date: Mon Aug 22 03:28:06 2016 > New Revision: 304584 > URL: https://svnweb.freebsd.org/changeset/base/304584 > > Log: > Add a missing change in r304575. > > Noticed by: jhb Actually it was pointed out by m

svn commit: r304584 - head/sys/dev/alc

2016-08-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 22 03:28:06 2016 New Revision: 304584 URL: https://svnweb.freebsd.org/changeset/base/304584 Log: Add a missing change in r304575. Noticed by: jhb Modified: head/sys/dev/alc/if_alcvar.h Modified: head/sys/dev/alc/if_alcvar.h ===

svn commit: r304582 - stable/11/sys/dev/hyperv/storvsc

2016-08-21 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 22 02:23:05 2016 New Revision: 304582 URL: https://svnweb.freebsd.org/changeset/base/304582 Log: MFC 304251 hyperv/storvsc: Deliver CAM_SEL_TIMEOUT upon SRB status error. SRB status is set to 0x20 by the hypervisor, if the specified LUN is unac

svn commit: r304581 - stable/10/sys/dev/hyperv/storvsc

2016-08-21 Thread Sepherosa Ziehau
Author: sephe Date: Mon Aug 22 02:11:30 2016 New Revision: 304581 URL: https://svnweb.freebsd.org/changeset/base/304581 Log: MFC 304251 hyperv/storvsc: Deliver CAM_SEL_TIMEOUT upon SRB status error. SRB status is set to 0x20 by the hypervisor, if the specified LUN is unac

svn commit: r304579 - head/sys/netinet

2016-08-21 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 22 01:45:29 2016 New Revision: 304579 URL: https://svnweb.freebsd.org/changeset/base/304579 Log: Improve the locking when sending user messages. First, keep a ref count on the stcb after looking it up, as done in the other lookup cases. Second, before lookin

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

2016-08-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 22 01:28:02 2016 New Revision: 304576 URL: https://svnweb.freebsd.org/changeset/base/304576 Log: Add Killer E2400 to the supported hardware list. Modified: head/share/man/man4/alc.4 Modified: head/share/man/man4/alc.4

svn commit: r304575 - in head/sys/dev: alc pci

2016-08-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 22 01:19:05 2016 New Revision: 304575 URL: https://svnweb.freebsd.org/changeset/base/304575 Log: Add Killer E2400 Gigabit Ethernet support. It seems Killer E2200/E2400 has a BIOS misconfiguration or silicon bug which triggers DMA write errors when driver uses ad

svn commit: r304574 - head/sys/dev/alc

2016-08-21 Thread Pyun YongHyeon
Author: yongari Date: Mon Aug 22 01:06:54 2016 New Revision: 304574 URL: https://svnweb.freebsd.org/changeset/base/304574 Log: Correct DMA channel number selection on AR816x family of controllers. For Gigabit Ethernet version of AR816x, AR813x/AR815x except L1D controller, use vendor recomme

svn commit: r304573 - head/sys/netinet

2016-08-21 Thread Michael Tuexen
Author: tuexen Date: Mon Aug 22 00:40:45 2016 New Revision: 304573 URL: https://svnweb.freebsd.org/changeset/base/304573 Log: Remove duplicate code, which is not protected by the appropriate locks. MFC after: 3 days Modified: head/sys/netinet/sctp_usrreq.c Modified: head/sys/netinet/sct

Re: svn commit: r304569 - stable/10/usr.sbin/bhyve

2016-08-21 Thread Sean C. Farley
On Sun, 21 Aug 2016, Alexander Motin wrote: Author: mav Date: Sun Aug 21 17:57:32 2016 New Revision: 304569 URL: https://svnweb.freebsd.org/changeset/base/304569 Log: MFC r298355: Don't use SYSDIR to avoid conflicts with existing usage. Also, use SRCTOP to locate the top of the source tree

Re: svn commit: r304513 - in head: . share/man/man4/man4.i386 sys/conf sys/dev/ie sys/i386/conf sys/modules sys/modules/ie sys/pc98/conf

2016-08-21 Thread Peter Jeremy
On 2016-Aug-20 07:51:55 -0700, John Baldwin wrote: >- tty drivers that haven't been updated to new tty and have been disconnected > from the build since 8.0 including digi(4) and cy(4). I know Bruce has > patches for sio(4) that I just haven't merged, so I'm inclined to leave > sio(4), but the

Re: svn commit: r304572 - in head: sbin/ipfw sys/conf sys/netinet sys/netinet6

2016-08-21 Thread Slawa Olhovchenkov
On Sun, Aug 21, 2016 at 07:20:12PM +, Bjoern A. Zeeb wrote: > On 21 Aug 2016, at 19:08, Slawa Olhovchenkov wrote: > > > On Sun, Aug 21, 2016 at 06:55:30PM +, Bjoern A. Zeeb wrote: > > > >> Author: bz > >> Date: Sun Aug 21 18:55:30 2016 > >> New Revision: 304572 > >> URL: https://svnweb.fr

Re: svn commit: r304572 - in head: sbin/ipfw sys/conf sys/netinet sys/netinet6

2016-08-21 Thread Bjoern A. Zeeb
On 21 Aug 2016, at 19:08, Slawa Olhovchenkov wrote: On Sun, Aug 21, 2016 at 06:55:30PM +, Bjoern A. Zeeb wrote: Author: bz Date: Sun Aug 21 18:55:30 2016 New Revision: 304572 URL: https://svnweb.freebsd.org/changeset/base/304572 Log: Remove the kernel optoion for IPSEC_FILTERTUNNEL, whi

Re: svn commit: r304572 - in head: sbin/ipfw sys/conf sys/netinet sys/netinet6

2016-08-21 Thread Slawa Olhovchenkov
On Sun, Aug 21, 2016 at 06:55:30PM +, Bjoern A. Zeeb wrote: > Author: bz > Date: Sun Aug 21 18:55:30 2016 > New Revision: 304572 > URL: https://svnweb.freebsd.org/changeset/base/304572 > > Log: > Remove the kernel optoion for IPSEC_FILTERTUNNEL, which was deprecated > more than 7 years ag

svn commit: r304572 - in head: sbin/ipfw sys/conf sys/netinet sys/netinet6

2016-08-21 Thread Bjoern A. Zeeb
Author: bz Date: Sun Aug 21 18:55:30 2016 New Revision: 304572 URL: https://svnweb.freebsd.org/changeset/base/304572 Log: Remove the kernel optoion for IPSEC_FILTERTUNNEL, which was deprecated more than 7 years ago in favour of a sysctl in r192648. Modified: head/sbin/ipfw/ipfw.8 head/sys

svn commit: r304571 - head/sys/dev/usb/input

2016-08-21 Thread Hans Petter Selasky
Author: hselasky Date: Sun Aug 21 18:37:21 2016 New Revision: 304571 URL: https://svnweb.freebsd.org/changeset/base/304571 Log: Make the UKBD USB transfers double buffered and set them up one by one, so they are memory independent which allows for handling panics triggered by the keyboard dr

svn commit: r304570 - head/usr.sbin/cron/cron

2016-08-21 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Aug 21 18:12:49 2016 New Revision: 304570 URL: https://svnweb.freebsd.org/changeset/base/304570 Log: Add the "-n" flag to cron(8), to prevent it from daemonizing. This makes it possible to use it with external supervisors. The "-n" flag name is compatible with Linux,

Re: svn commit: r304567 - head/sys/dev/usb/input

2016-08-21 Thread Hans Petter Selasky
On 08/21/16 18:06, Bruce Evans wrote: Author: bde Date: Sun Aug 21 16:06:00 2016 New Revision: 304567 URL: https://svnweb.freebsd.org/changeset/base/304567 Don't forget to MFC. --HPS ___ svn-src-all@freebsd.org mailing list https://lists.freebsd.or

svn commit: r304569 - stable/10/usr.sbin/bhyve

2016-08-21 Thread Alexander Motin
Author: mav Date: Sun Aug 21 17:57:32 2016 New Revision: 304569 URL: https://svnweb.freebsd.org/changeset/base/304569 Log: MFC r298355: Don't use SYSDIR to avoid conflicts with existing usage. Also, use SRCTOP to locate the top of the source tree instead of a relative path. PR: 2088

svn commit: r304568 - stable/11/sys/net

2016-08-21 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 21 17:26:16 2016 New Revision: 304568 URL: https://svnweb.freebsd.org/changeset/base/304568 Log: MFC r304313: Teach netisr_get_cpuid() to limit a given value to supported by netisr. Use netisr_get_cpuid() in netisr_select_cpuid() to limit cpuid value returned

Re: svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Slawa Olhovchenkov
On Mon, Aug 22, 2016 at 02:49:07AM +1000, Bruce Evans wrote: > On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: > > > On Sun, Aug 21, 2016 at 11:39:02PM +1000, Bruce Evans wrote: > > > >> On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: > >>> I am remeber about platforms with missaligment trap when >

Re: svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Bruce Evans
On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: On Sun, Aug 21, 2016 at 11:39:02PM +1000, Bruce Evans wrote: On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: I am remeber about platforms with missaligment trap when accessing int16 by odd address. Now platforms like this do not exist anymore? i

svn commit: r304567 - head/sys/dev/usb/input

2016-08-21 Thread Bruce Evans
Author: bde Date: Sun Aug 21 16:06:00 2016 New Revision: 304567 URL: https://svnweb.freebsd.org/changeset/base/304567 Log: Fix translation of the PrintScreen/SysRq and Pause/Break keys. Almost everything was broken. The cases that I noticed were Ctrl-PrintScreen not being mapped to the vir

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

2016-08-21 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 21 16:03:44 2016 New Revision: 304566 URL: https://svnweb.freebsd.org/changeset/base/304566 Log: allwinner: Remove a20/a20_cpu_cfg.c from the build. This was needed when we used the SoC specific timer and not the generic-timer. Modified: head/sys/arm/allwinner/fil

svn commit: r304565 - head/sys/compat/cloudabi32

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 16:02:25 2016 New Revision: 304565 URL: https://svnweb.freebsd.org/changeset/base/304565 Log: Add source files generated from the 32-bit system call table. Added: head/sys/compat/cloudabi32/cloudabi32_proto.h (contents, props changed) head/sys/compat/cloudabi32

svn commit: r304564 - in head/sys: compat/cloudabi32 conf

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 16:01:30 2016 New Revision: 304564 URL: https://svnweb.freebsd.org/changeset/base/304564 Log: Add CPU independent code for running 32-bits CloudABI executables. Essentially, this is a literal copy of the code in sys/compat/cloudabi64, except that it now makes u

svn commit: r304563 - head/sys/contrib/cloudabi

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 15:56:19 2016 New Revision: 304563 URL: https://svnweb.freebsd.org/changeset/base/304563 Log: Fix s/64/32/ conversion errors in the system call table. We should pull in the 32 bit headers when using this system call table. Modified: head/sys/contrib/cloudabi/s

svn commit: r304562 - stable/11/sys/arm/allwinner

2016-08-21 Thread Emmanuel Vadot
Author: manu Date: Sun Aug 21 15:45:12 2016 New Revision: 304562 URL: https://svnweb.freebsd.org/changeset/base/304562 Log: MFC r304077: Correct the size of the softc in a10_ehci Reported by: andrew Modified: stable/11/sys/arm/allwinner/a10_ehci.c Directory Properties: stable/11/

svn commit: r304561 - head/sys/contrib/cloudabi

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 15:41:19 2016 New Revision: 304561 URL: https://svnweb.freebsd.org/changeset/base/304561 Log: Import the 32-bit system call table and data types into the tree. Obtained from:https://github.com/NuxiNL/cloudabi Added: head/sys/contrib/cloudabi/cloudabi32

svn commit: r304560 - head/release/doc/en_US.ISO8859-1/hardware

2016-08-21 Thread Benjamin Kaduk
Author: bjk (doc committer) Date: Sun Aug 21 15:39:46 2016 New Revision: 304560 URL: https://svnweb.freebsd.org/changeset/base/304560 Log: Remove the ie(4) hardware list from the release documentation The driver was removed by jhb in r304513, and the &hwlist.ie; entity is no longer genera

svn commit: r304559 - head/sys/compat/cloudabi64

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 15:37:49 2016 New Revision: 304559 URL: https://svnweb.freebsd.org/changeset/base/304559 Log: Don't forget to define __ELF_WORD_SIZE. Without it, we only obtain the ELF types native to the system. In this we explicitly want the 64-bit versions. Modified: hea

svn commit: r304558 - head/sys/compat/cloudabi64

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 15:36:18 2016 New Revision: 304558 URL: https://svnweb.freebsd.org/changeset/base/304558 Log: Add a utility macro for converting 64-bit pointers to native pointers. Right now we're casting uint64_t's to native pointers. This isn't causing any problems right now

svn commit: r304557 - in head/sys: compat/cloudabi compat/cloudabi64 conf modules/cloudabi64

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 15:14:06 2016 New Revision: 304557 URL: https://svnweb.freebsd.org/changeset/base/304557 Log: Move the linker script from cloudabi64/ to cloudabi/. It turns out that it works perfectly fine for generating 32-bits vDSOs as well. While there, get rid of the extra

Re: svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Slawa Olhovchenkov
On Sun, Aug 21, 2016 at 11:39:02PM +1000, Bruce Evans wrote: > On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: > > > On Sun, Aug 21, 2016 at 11:00:24PM +1000, Bruce Evans wrote: > > > >> On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: > >> > >>> On Sun, Aug 21, 2016 at 09:32:35PM +1000, Bruce Evans

Re: svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Bruce Evans
On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: On Sun, Aug 21, 2016 at 11:00:24PM +1000, Bruce Evans wrote: On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: On Sun, Aug 21, 2016 at 09:32:35PM +1000, Bruce Evans wrote: ... *(foo_t *)asks for alignment bugs. We have already fixed lots of these

Re: svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Bruce Evans
On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: On Sun, Aug 21, 2016 at 09:32:35PM +1000, Bruce Evans wrote: ... *(foo_t *)asks for alignment bugs. We have already fixed lots of these bugs for copying struct timevals in places like ping.c. Compilers warn about misalignment when certain warning

Re: svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Slawa Olhovchenkov
On Sun, Aug 21, 2016 at 11:00:24PM +1000, Bruce Evans wrote: > On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: > > > On Sun, Aug 21, 2016 at 09:32:35PM +1000, Bruce Evans wrote: > >... > >> *(foo_t *)asks for alignment bugs. We have already fixed lots of these > >> bugs for copying struct timeval

Re: svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Slawa Olhovchenkov
On Sun, Aug 21, 2016 at 09:32:35PM +1000, Bruce Evans wrote: > On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: > > > On Sun, Aug 21, 2016 at 07:41:11AM +, Ed Schouten wrote: > >> ... > >> Log: > >> Use memcpy() to copy 64-bit timestamps into the syscall return values. > >> > >> On 32-bit p

Re: svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Bruce Evans
On Sun, 21 Aug 2016, Slawa Olhovchenkov wrote: On Sun, Aug 21, 2016 at 07:41:11AM +, Ed Schouten wrote: ... Log: Use memcpy() to copy 64-bit timestamps into the syscall return values. On 32-bit platforms, our 64-bit timestamps need to be split up across two registers. A simple assign

Re: svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Slawa Olhovchenkov
On Sun, Aug 21, 2016 at 07:41:11AM +, Ed Schouten wrote: > Author: ed > Date: Sun Aug 21 07:41:11 2016 > New Revision: 304555 > URL: https://svnweb.freebsd.org/changeset/base/304555 > > Log: > Use memcpy() to copy 64-bit timestamps into the syscall return values. > > On 32-bit platform

svn commit: r304556 - head/sys/compat/cloudabi64

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 09:32:20 2016 New Revision: 304556 URL: https://svnweb.freebsd.org/changeset/base/304556 Log: Use the right _MAX constant. Though uio_resid is of type ssize_t, we need to take into account that this source file contains an implementation specific to a certain

svn commit: r304555 - head/sys/compat/cloudabi

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 07:41:11 2016 New Revision: 304555 URL: https://svnweb.freebsd.org/changeset/base/304555 Log: Use memcpy() to copy 64-bit timestamps into the syscall return values. On 32-bit platforms, our 64-bit timestamps need to be split up across two registers. A simple as

svn commit: r304554 - in head/sys: conf contrib/cloudabi modules/cloudabi64

2016-08-21 Thread Ed Schouten
Author: ed Date: Sun Aug 21 07:28:38 2016 New Revision: 304554 URL: https://svnweb.freebsd.org/changeset/base/304554 Log: Rewrite the vDSOs for CloudABI in assembly. The reason why the old vDSOs were written in C using inline assembly was purely because they were embedded in the C library