svn commit: r295066 - in head/sys: arm/arm conf

2016-01-30 Thread Michal Meloun
Author: mmel Date: Sat Jan 30 08:02:12 2016 New Revision: 295066 URL: https://svnweb.freebsd.org/changeset/base/295066 Log: ARM: Split swtch.S into common, ARMv4 and ARMv6 parts. Cleanup them. Added: head/sys/arm/arm/swtch-v4.S - copied, changed from r295065, head/sys/arm/arm/swtch.S

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

2016-01-30 Thread Michal Meloun
Author: mmel Date: Sat Jan 30 08:27:09 2016 New Revision: 295067 URL: https://svnweb.freebsd.org/changeset/base/295067 Log: EHCI: Correct address of EHCI_USBMODE_LPM register is 0xC8, not 0xA8. Modified: head/sys/dev/usb/controller/ehcireg.h Modified: head/sys/dev/usb/controller/ehcireg.h

Re: svn commit: r295062 - head/sbin/nvmecontrol

2016-01-30 Thread Olivier Cochard-Labbé
On Sat, Jan 30, 2016 at 7:18 AM, Warner Losh wrote: > Author: imp > Date: Sat Jan 30 06:18:37 2016 > New Revision: 295062 > URL: https://svnweb.freebsd.org/changeset/base/295062 > > Log: > Implement power command to list all power modes, find out the power > mode we're in

svn commit: r295082 - head/bin/test

2016-01-30 Thread Jilles Tjoelker
Author: jilles Date: Sat Jan 30 19:59:58 2016 New Revision: 295082 URL: https://svnweb.freebsd.org/changeset/base/295082 Log: test: Optimize operator lookup. The linear search using strcmp() shows up in pmcstat for several percent. Split the operators into lengths and whether they

svn commit: r295085 - head/bin/sh

2016-01-30 Thread Jilles Tjoelker
Author: jilles Date: Sat Jan 30 21:21:25 2016 New Revision: 295085 URL: https://svnweb.freebsd.org/changeset/base/295085 Log: sh: Don't allocate a redirtab if there are no redirections. Builtins (including variable assignments without command word), function calls and redirected compound

svn commit: r295083 - head/bin/sh

2016-01-30 Thread Jilles Tjoelker
Author: jilles Date: Sat Jan 30 20:10:20 2016 New Revision: 295083 URL: https://svnweb.freebsd.org/changeset/base/295083 Log: sh(1): Document 'cd -'. This reflects the changes in r294649 and can therefore not be MFCed by itself. Modified: head/bin/sh/sh.1 Modified: head/bin/sh/sh.1

svn commit: r295079 - head/libexec/atrun

2016-01-30 Thread Garrett Cooper
Author: ngie Date: Sat Jan 30 17:54:18 2016 New Revision: 295079 URL: https://svnweb.freebsd.org/changeset/base/295079 Log: Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on 64-bit architectures where sizeof(int) != sizeof(size_t). MFC after: 1 week PR: 206758

svn commit: r295080 - head/sys/dev/iicbus

2016-01-30 Thread Garrett Cooper
Author: ngie Date: Sat Jan 30 18:33:23 2016 New Revision: 295080 URL: https://svnweb.freebsd.org/changeset/base/295080 Log: Use the correct type for i when iterating over `buf` to avoid unlikely negative array indexing in iicrdwr(..) Differential Revision:

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

2016-01-30 Thread Michal Meloun
Author: mmel Date: Sat Jan 30 10:10:29 2016 New Revision: 295068 URL: https://svnweb.freebsd.org/changeset/base/295068 Log: ARM: Don't misuse ARM_TP_ADDRESS as ARMv4 / ARMv6 selector. Modified: head/sys/arm/arm/machdep.c Modified: head/sys/arm/arm/machdep.c

svn commit: r295076 - head/sbin/nvmecontrol

2016-01-30 Thread Garrett Cooper
Author: ngie Date: Sat Jan 30 17:10:14 2016 New Revision: 295076 URL: https://svnweb.freebsd.org/changeset/base/295076 Log: Revert r295062 to unbreak buildworld Some of the structures referenced in power.c (in particular struct nvme_power_state) are missing from sbin/nvmecontrol/

svn commit: r295077 - head/sys/netinet

2016-01-30 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 30 17:32:46 2016 New Revision: 295077 URL: https://svnweb.freebsd.org/changeset/base/295077 Log: Add missing parentheses. This was reported by ccaughie via GitHub for the userland stack. MFC after: 3 days Modified: head/sys/netinet/sctp_var.h Modified:

svn commit: r295074 - head/usr.sbin/bsdinstall/scripts

2016-01-30 Thread Allan Jude
Author: allanjude Date: Sat Jan 30 15:53:28 2016 New Revision: 295074 URL: https://svnweb.freebsd.org/changeset/base/295074 Log: The zfsboot automated part of bsdinstall now supports UEFI MFC after:3 days Sponsored by: ScaleEngine Inc. Differential Revision:

svn commit: r295075 - head/sys/netinet

2016-01-30 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 30 16:56:39 2016 New Revision: 295075 URL: https://svnweb.freebsd.org/changeset/base/295075 Log: Update the path mtu when turning on/off UDP encapsulation for SCTP. MFC after: 3 days Modified: head/sys/netinet/sctp_input.c Modified:

svn commit: r295070 - head/sys/netinet

2016-01-30 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 30 11:10:22 2016 New Revision: 295070 URL: https://svnweb.freebsd.org/changeset/base/295070 Log: Don't change the remote UDP encapsulation port for SCTP packets containing an INIT chunk. MFC after: 3 days Modified: head/sys/netinet/sctp_input.c Modified:

svn commit: r295073 - in head/sys/arm: arm include

2016-01-30 Thread Michal Meloun
Author: mmel Date: Sat Jan 30 13:11:13 2016 New Revision: 295073 URL: https://svnweb.freebsd.org/changeset/base/295073 Log: ARM: Remove TLB IPI. We don't support SMP on ARMv6. All ARMv7 multicore cpus already uses hardware broadcast for TLB and cache operations. Modified:

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

2016-01-30 Thread Michal Meloun
Author: mmel Date: Sat Jan 30 12:23:28 2016 New Revision: 295071 URL: https://svnweb.freebsd.org/changeset/base/295071 Log: ARM: Cleanup mp_machdep.c. SMP is supported only on ARMv6 and later. Modified: head/sys/arm/arm/mp_machdep.c Modified: head/sys/arm/arm/mp_machdep.c

svn commit: r295072 - head/sys/netinet

2016-01-30 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 30 12:58:38 2016 New Revision: 295072 URL: https://svnweb.freebsd.org/changeset/base/295072 Log: Don't allow a remote encapsulation port change during the SCTP restart procedure. MFC after: 3 days Modified: head/sys/netinet/sctp_input.c

svn commit: r295069 - head/sys/netinet

2016-01-30 Thread Michael Tuexen
Author: tuexen Date: Sat Jan 30 10:39:05 2016 New Revision: 295069 URL: https://svnweb.freebsd.org/changeset/base/295069 Log: Ignore peer addresses in a consistent way also when checking for new addresses during restart. If this is not done, restart doesn't work when the local socket is

svn commit: r295086 - head/sbin/pfctl

2016-01-30 Thread Ian Lepore
Author: ian Date: Sat Jan 30 22:03:14 2016 New Revision: 295086 URL: https://svnweb.freebsd.org/changeset/base/295086 Log: Make pfctl(8) work on strict-alignment platforms, by copying a pair of embedded structures out of a packed, unaligned struct into local copies on the stack which are

svn commit: r295087 - in head: sbin/nvmecontrol sys/dev/nvme

2016-01-30 Thread Warner Losh
Author: imp Date: Sat Jan 30 22:48:06 2016 New Revision: 295087 URL: https://svnweb.freebsd.org/changeset/base/295087 Log: Implement power command to list all power modes, find out the power mode we're in and to set the power mode. Added: head/sbin/nvmecontrol/power.c (contents, props