svn commit: r325840 - head/sys/dev/cxgbe

2017-11-14 Thread Wojciech Macek
Author: wma Date: Wed Nov 15 06:45:33 2017 New Revision: 325840 URL: https://svnweb.freebsd.org/changeset/base/325840 Log: CXGBE: fix big-endian behaviour The setbit/clearbit pair casts the bitfield pointer to uint8_t* which effectively treats its contents as little-endian variable.

svn commit: r325839 - head/sys/dts

2017-11-14 Thread Warner Losh
Author: imp Date: Wed Nov 15 03:46:59 2017 New Revision: 325839 URL: https://svnweb.freebsd.org/changeset/base/325839 Log: Fix SYSDIR path. After the move, we need to chop off a couple ../ from the prior definition. But a safer definition is SRCTOP/sys, so use that. Sponsored by:

Re: svn commit: r325793 - head/sys/dev/pci

2017-11-14 Thread Warner Losh
On Tue, Nov 14, 2017 at 10:00 AM, Warner Losh wrote: > > > On Tue, Nov 14, 2017 at 8:47 AM, John Baldwin wrote: > >> On Tuesday, November 14, 2017 05:05:05 AM Warner Losh wrote: >> > Author: imp >> > Date: Tue Nov 14 05:05:05 2017 >> > New Revision: 325793 >>

svn commit: r325838 - in head/sys/dev: nvme pci

2017-11-14 Thread Warner Losh
Author: imp Date: Wed Nov 15 02:24:47 2017 New Revision: 325838 URL: https://svnweb.freebsd.org/changeset/base/325838 Log: Inline pcie_link_{status,caps} where needed. Remove them as they aren't really needed and I don't want to document them. Suggested by: jhb@ Sponsored by: Netflix

svn commit: r325837 - in stable/11: sys/arm/arm sys/sys usr.bin/gcore

2017-11-14 Thread John Baldwin
Author: jhb Date: Wed Nov 15 02:03:38 2017 New Revision: 325837 URL: https://svnweb.freebsd.org/changeset/base/325837 Log: MFC 323584: Add a NT_ARM_VFP ELF core note to hold VFP registers for each thread. The core note matches the format and layout of NT_ARM_VFP on Linux. Debuggers use

Re: svn commit: r325828 - head/usr.bin/fortune/datfiles

2017-11-14 Thread Rodney W. Grimes
> Author: benno > Date: Tue Nov 14 21:18:30 2017 > New Revision: 325828 > URL: https://svnweb.freebsd.org/changeset/base/325828 > > Log: > Remove all fortune datfiles except freebsd-tips. > > Humour is a funny thing. What is funny to one person is not funny to all > people. What is

svn commit: r325836 - head/share/man/man7

2017-11-14 Thread Warner Losh
Author: imp Date: Wed Nov 15 00:06:18 2017 New Revision: 325836 URL: https://svnweb.freebsd.org/changeset/base/325836 Log: Add note about where to use MACHINE (just src/stand and src/sys and a few others). Add note aboute MACHINE_CPUARCH. Sponsored by: Netflix Modified:

svn commit: r325835 - head/sys/sys

2017-11-14 Thread John Baldwin
Author: jhb Date: Tue Nov 14 23:50:30 2017 New Revision: 325835 URL: https://svnweb.freebsd.org/changeset/base/325835 Log: Use #if instead of #ifdef for __BSD_VISIBLE tests. __BSD_VISIBLE is always defined and it's value instead needs to be tested via #if to determine if FreeBSD-specific

svn commit: r325834 - in head: . lib/libefivar release/arm64 release/powerpc release/tools share/examples/bootforth share/examples/etc share/man/man5 share/man/man8 stand stand/efi/boot1 stand/efi/...

2017-11-14 Thread Warner Losh
Author: imp Date: Tue Nov 14 23:02:19 2017 New Revision: 325834 URL: https://svnweb.freebsd.org/changeset/base/325834 Log: Move sys/boot to stand. Fix all references to new location Sponsored by: Netflix Added: head/stand/ - copied from r325833, head/sys/boot/ Deleted:

svn commit: r325831 - in stable/11: lib/libc/sys sys/arm/arm sys/arm/include sys/conf

2017-11-14 Thread John Baldwin
Author: jhb Date: Tue Nov 14 22:18:13 2017 New Revision: 325831 URL: https://svnweb.freebsd.org/changeset/base/325831 Log: MFC 323581,323582,323583: Add ptrace operations for VFP registers. 323581: Only mess with VFP state on the CPU for curthread for get/set_vfpcontext. Future

svn commit: r325829 - head

2017-11-14 Thread Benno Rice
== --- head/ObsoleteFiles.inc Tue Nov 14 21:18:30 2017(r325828) +++ head/ObsoleteFiles.inc Tue Nov 14 21:31:30 2017(r325829) @@ -38,6 +38,21 @@ # xargs -n1 | sort | uniq -d; # done +# 20171114: Removal of all

svn commit: r325828 - head/usr.bin/fortune/datfiles

2017-11-14 Thread Benno Rice
Author: benno Date: Tue Nov 14 21:18:30 2017 New Revision: 325828 URL: https://svnweb.freebsd.org/changeset/base/325828 Log: Remove all fortune datfiles except freebsd-tips. Humour is a funny thing. What is funny to one person is not funny to all people. What is insightful to one person

svn commit: r325827 - head/tests/sys/aio

2017-11-14 Thread Alan Somers
Author: asomers Date: Tue Nov 14 21:11:55 2017 New Revision: 325827 URL: https://svnweb.freebsd.org/changeset/base/325827 Log: Fix build on arm after r325817 Reported by: rpokala MFC after:3 weeks X-MFC-With: 325817 Sponsored by: Spectra Logic Corp Modified:

svn commit: r325826 - in head: share/man/man4 sys/boot/fdt/dts sys/boot/fdt/dts/arm sys/boot/fdt/dts/arm64 sys/boot/fdt/dts/mips sys/boot/fdt/dts/powerpc sys/conf sys/dts sys/dts/arm sys/dts/arm64 ...

2017-11-14 Thread Warner Losh
Author: imp Date: Tue Nov 14 21:03:57 2017 New Revision: 325826 URL: https://svnweb.freebsd.org/changeset/base/325826 Log: Move sys/boot/fdt/dts to sys/dts and adjust scripts. Sponsored by: Netflix Added: head/sys/dts/ head/sys/dts/Makefile (contents, props changed) - copied,

Re: svn commit: r325817 - head/tests/sys/aio

2017-11-14 Thread Alan Somers
Sorry for the breakage. A fix is on the way, but I need to build an arm world first. On Tue, Nov 14, 2017 at 1:39 PM, Ravi Pokala wrote: > Hi Alan, > > This appears to blow up most ARM worlds (and maybe other things too? My `make > tinderbox' is still working through the

Re: svn commit: r325796 - head/sys/cam/nvme

2017-11-14 Thread Ravi Pokala
Well that's wonderfully ambiguous... :-p Okay, thanks for clearing that up. -Ravi (rpokala@) -Original Message- From: on behalf of Warner Losh Date: 2017-11-14, Tuesday at 12:38 To: Ravi Pokala Cc: Warner Losh ,

Re: svn commit: r325817 - head/tests/sys/aio

2017-11-14 Thread Ravi Pokala
Hi Alan, This appears to blow up most ARM worlds (and maybe other things too? My `make tinderbox' is still working through the ARMs): _.arm.arm.buildworld: --- all_subdir_tests/sys/aio --- /usr/home/rpokala/freebsd/clean/base/head/tests/sys/aio/lio_kqueue_test.c:123:12: error: format specifies

Re: svn commit: r325796 - head/sys/cam/nvme

2017-11-14 Thread Warner Losh
On Mon, Nov 13, 2017 at 10:35 PM, Ravi Pokala wrote: > In r325794, you set speed/max_speed to a KBps value; here, you're > reporting those values as PCI Generation. That's... not right. > Two different CCBs. The PATH_INQ one returns a general KB/s number. The GET_TRANSPORT one

Re: svn commit: r324619 - in head/usr.bin/procstat: . tests

2017-11-14 Thread Brooks Davis
On Tue, Nov 14, 2017 at 12:14:54AM +0100, Oliver Pinter wrote: > On Saturday, October 14, 2017, Brooks Davis wrote: > > > Author: brooks > > Date: Sat Oct 14 18:38:36 2017 > > New Revision: 324619 > > URL: https://svnweb.freebsd.org/changeset/base/324619 > > > > Log: > >

Re: svn commit: r324619 - in head/usr.bin/procstat: . tests

2017-11-14 Thread Brooks Davis
On Mon, Nov 13, 2017 at 09:38:09AM +0200, Andriy Gapon wrote: > On 13/11/2017 04:00, Brooks Davis wrote: > > On Sun, Nov 12, 2017 at 12:15:35PM +0200, Andriy Gapon wrote: > >> On 14/10/2017 21:38, Brooks Davis wrote: > >>> Author: brooks > >>> Date: Sat Oct 14 18:38:36 2017 > >>> New Revision:

Re: svn commit: r325785 - in head: sys/kern tools/tools/sysdoc

2017-11-14 Thread Warner Losh
As implemented today, the power cycle shutdown handler has a higher priority than the power off handlers. So, if you have IPMI enabled, the power cylce will take precedence and that will happen. If not (or the IPMI fails to power off within the timeout period), then the power off will happen.

Re: svn commit: r325785 - in head: sys/kern tools/tools/sysdoc

2017-11-14 Thread Ronald Klop
Just out of curiosity. What happens if you enable both? Regards, Ronald. On Tue, 14 Nov 2017 01:29:14 +0100, Warner Losh wrote: Author: imp Date: Tue Nov 14 00:29:14 2017 New Revision: 325785 URL: https://svnweb.freebsd.org/changeset/base/325785 Log: Add two new

Re: svn commit: r308217 - in head/sys/dev: mpr mps

2017-11-14 Thread Alan Somers
On Thu, Nov 10, 2016 at 12:54 AM, Harry Schmalzbauer wrote: > Bezüglich Scott Long's Nachricht vom 09.11.2016 17:06 (localtime): >> >>> On Nov 4, 2016, at 3:18 AM, Harry Schmalzbauer wrote: > … >>> If it's really mps(4) who decides to store

svn commit: r325825 - head/sys/kern

2017-11-14 Thread Ed Maste
Author: emaste Date: Tue Nov 14 18:18:18 2017 New Revision: 325825 URL: https://svnweb.freebsd.org/changeset/base/325825 Log: disallow clock_settime too far in the future to avoid panic clock_ts_to_ct has a KASSERT that the converted year fits into four digits. By default (sysctl

svn commit: r325824 - stable/11/sys/geom/mountver

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 18:17:23 2017 New Revision: 325824 URL: https://svnweb.freebsd.org/changeset/base/325824 Log: MFC r325009: Make gmountver(8) use direct dispatch. MFC r325101: Add back missing MTX_DEF, it still needs to be there. (Although it's defined to be 0,

svn commit: r325823 - stable/11/sys/geom/mountver

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 18:13:30 2017 New Revision: 325823 URL: https://svnweb.freebsd.org/changeset/base/325823 Log: MFC r213931: Make gmountver(8) use G_PF_ACCEPT_UNMAPPED. Modified: stable/11/sys/geom/mountver/g_mountver.c Directory Properties: stable/11/ (props changed)

svn commit: r325822 - in stable/11: lib/libc/gen sys/vm

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 18:07:51 2017 New Revision: 325822 URL: https://svnweb.freebsd.org/changeset/base/325822 Log: MFC r324857: Add OID for the vm.overcommit sysctl. This makes it possible to remove one call to sysctl(2) from jemalloc startup code. (That also requires changes

svn commit: r325821 - stable/11/bin/ps

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 18:01:48 2017 New Revision: 325821 URL: https://svnweb.freebsd.org/changeset/base/325821 Log: MFC r324427: Document "tdnam" keyword to ps(1), and add "tdname" alias. MFC r324429: Fix long name (used by libxo) for the "tdnam" ps(1) keyword. MFC

svn commit: r325820 - stable/11/bin/ps

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 17:57:48 2017 New Revision: 325820 URL: https://svnweb.freebsd.org/changeset/base/325820 Log: MFC r324367: Fix kvm_getprocs(3) error reporting in ps(1). Previously it just didn't work at all - kvm_getprocs(3) doesn't update the when it returns NULL.

svn commit: r325819 - stable/11/sys/geom/mountver

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 17:56:32 2017 New Revision: 325819 URL: https://svnweb.freebsd.org/changeset/base/325819 Log: MFC r324276: Don't destroy gmountver(8) devices on shutdown, unless they are orphaned. Otherwise we would fail to sync the filesystem on reboot. Modified:

svn commit: r325818 - stable/11/sys/geom

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 17:54:00 2017 New Revision: 325818 URL: https://svnweb.freebsd.org/changeset/base/325818 Log: MFC r324199: Clear G_CF_ORPHAN when attaching. This fixes cases where the same GEOM consumer can be orphaned, and then reattach to another provider. From a

svn commit: r325817 - head/tests/sys/aio

2017-11-14 Thread Alan Somers
Author: asomers Date: Tue Nov 14 17:46:37 2017 New Revision: 325817 URL: https://svnweb.freebsd.org/changeset/base/325817 Log: AIO tests: increase limits tests/sys/aio/aio_kqueue_test.c Instead of using a hard-coded queue depth, use vfs.aio.max_aio_queue_per_proc

svn commit: r325816 - head/libexec/rtld-elf/mips

2017-11-14 Thread John Baldwin
Author: jhb Date: Tue Nov 14 17:16:03 2017 New Revision: 325816 URL: https://svnweb.freebsd.org/changeset/base/325816 Log: Appease old GCC by disabling .cfi_sections for GCC 4.x. Modified: head/libexec/rtld-elf/mips/rtld_start.S Modified: head/libexec/rtld-elf/mips/rtld_start.S

svn commit: r325815 - in stable/11: etc/root share/skel

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 17:05:34 2017 New Revision: 325815 URL: https://svnweb.freebsd.org/changeset/base/325815 Log: MFC r320672: Cosmetic tweaks to the default shell rc files, mostly comments. MFC r320678: Fix typo introduced in r320672 - check for existence of the right

svn commit: r325814 - in stable/11: etc/root share/skel

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 17:03:56 2017 New Revision: 325814 URL: https://svnweb.freebsd.org/changeset/base/325814 Log: MFC r320672: Run "resizewin -z" from the default shell profile files. This makes the terminal work properly out of the box when logging over a serial line, which

Re: svn commit: r325793 - head/sys/dev/pci

2017-11-14 Thread Warner Losh
On Tue, Nov 14, 2017 at 8:47 AM, John Baldwin wrote: > On Tuesday, November 14, 2017 05:05:05 AM Warner Losh wrote: > > Author: imp > > Date: Tue Nov 14 05:05:05 2017 > > New Revision: 325793 > > URL: https://svnweb.freebsd.org/changeset/base/325793 > > > > Log: > > Provide

svn commit: r325813 - head/sys/dev/vnic

2017-11-14 Thread Bjoern A. Zeeb
Author: bz Date: Tue Nov 14 16:47:05 2017 New Revision: 325813 URL: https://svnweb.freebsd.org/changeset/base/325813 Log: Unbreak IPv6. No longer return ENXIO when trying to send an IPv6 packet in nicvf_sq_add_hdr_subdesc(). Restructure the code so that the upper layer protocol parts

svn commit: r325812 - head/etc

2017-11-14 Thread Alan Somers
Author: asomers Date: Tue Nov 14 16:32:40 2017 New Revision: 325812 URL: https://svnweb.freebsd.org/changeset/base/325812 Log: devd.conf: add mps and mpr to the scsi controllers regex MFC after:3 weeks Sponsored by: Spectra Logic Corp Differential Revision:

svn commit: r325811 - head/sys/dev/vnic

2017-11-14 Thread Ed Maste
Author: emaste Date: Tue Nov 14 16:31:11 2017 New Revision: 325811 URL: https://svnweb.freebsd.org/changeset/base/325811 Log: vnic: report that the driver supports multicast The driver is currently hardcoded to force promiscuous mode, so all of the MAC filtering code is presently unused

svn commit: r325810 - in stable/11/sys: arm/arm arm/include arm64/include kern mips/include powerpc/include riscv/include sparc64/include sys x86/include

2017-11-14 Thread John Baldwin
Author: jhb Date: Tue Nov 14 16:03:07 2017 New Revision: 325810 URL: https://svnweb.freebsd.org/changeset/base/325810 Log: MFC 323580,323933,323934,324814,324817: Enable AT_HWCAP on arm. I reused the SV_HWCAP stub to cover the sv_hwcap2 field as well. 323580: Add AT_HWCAP flags for

svn commit: r325809 - stable/11/sys/cam/ctl

2017-11-14 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Nov 14 16:00:21 2017 New Revision: 325809 URL: https://svnweb.freebsd.org/changeset/base/325809 Log: MFC r324261: Fix iSCSI target panics on concurrent session teardown and display (eg removing a target and doing "ctladm islist -v" at the same time). Modified:

Re: svn commit: r325793 - head/sys/dev/pci

2017-11-14 Thread John Baldwin
On Tuesday, November 14, 2017 05:05:05 AM Warner Losh wrote: > Author: imp > Date: Tue Nov 14 05:05:05 2017 > New Revision: 325793 > URL: https://svnweb.freebsd.org/changeset/base/325793 > > Log: > Provide pcie_link_status and pcie_link_cap convenience functions. > > Sponsored by: Netflix

svn commit: r325808 - stable/11

2017-11-14 Thread Glen Barber
Author: gjb Date: Tue Nov 14 15:07:34 2017 New Revision: 325808 URL: https://svnweb.freebsd.org/changeset/base/325808 Log: MFC r322401: Avoid creating kernel-dbg.txz distribution sets and kernel-debug packages when MK_DEBUG_FILES is 'no'. Differential Revision:

svn commit: r325807 - in head/sys: dev/mlx5/mlx5_ib ofed/drivers/infiniband/hw/mthca ofed/include/rdma

2017-11-14 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 14 14:51:37 2017 New Revision: 325807 URL: https://svnweb.freebsd.org/changeset/base/325807 Log: Make sure the ib_wr_opcode enum is signed by adding a negative dummy element. Different compilers may optimise the enum type in different ways. This ensures

svn commit: r325806 - head/sys/ofed/drivers/infiniband/core

2017-11-14 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 14 14:43:35 2017 New Revision: 325806 URL: https://svnweb.freebsd.org/changeset/base/325806 Log: Make sure a valid VNET is set before trying to access the V_ip6_v6only variable. Access the variable directly instead of going through the sysctl() interface in

svn commit: r325805 - head/sys/contrib/rdma/krping

2017-11-14 Thread Hans Petter Selasky
Author: hselasky Date: Tue Nov 14 14:39:37 2017 New Revision: 325805 URL: https://svnweb.freebsd.org/changeset/base/325805 Log: Set the default VNET in krping before calling ifunit_ref(). Else using IPv6 link-local addresses when VIMAGE is enabled will cause a so-called NULL pointer

svn commit: r325804 - head/release/arm64

2017-11-14 Thread Glen Barber
Author: gjb Date: Tue Nov 14 14:31:02 2017 New Revision: 325804 URL: https://svnweb.freebsd.org/changeset/base/325804 Log: Correct the path to the md(4)-backed UFS filesystem for pine64 images. Boot-tested by: lidl Sponsored by: The FreeBSD Foundation Modified:

Re: svn commit: r325765 - head/lib/libc/string

2017-11-14 Thread Bruce Evans
On Mon, 13 Nov 2017, Warner Losh wrote: Add notes about overlapping copies. Add notes to each of these that specifically state that results are undefined if the strings overlap. In the case of memcpy, we document the overlapping behavior on FreeBSD (pre-existing). For str*, it is left

svn commit: r325803 - stable/10/etc

2017-11-14 Thread Eugene Grosbein
Author: eugen Date: Tue Nov 14 11:02:46 2017 New Revision: 325803 URL: https://svnweb.freebsd.org/changeset/base/325803 Log: Fix breakage in r325799 that removed a bit of code by my mistake. Approved by: avg (mentor) Modified: stable/10/etc/network.subr Modified:

svn commit: r325802 - stable/10/lib/libpam/modules/pam_unix

2017-11-14 Thread Dag-Erling Smørgrav
Author: des Date: Tue Nov 14 10:49:07 2017 New Revision: 325802 URL: https://svnweb.freebsd.org/changeset/base/325802 Log: MFH (r325010): don't bother verifying a password that we know is too long. Reported by: jkim@ Security: CVE-2016-6210 Modified:

svn commit: r325801 - stable/11/lib/libpam/modules/pam_unix

2017-11-14 Thread Dag-Erling Smørgrav
Author: des Date: Tue Nov 14 10:48:30 2017 New Revision: 325801 URL: https://svnweb.freebsd.org/changeset/base/325801 Log: MFH (r325010): don't bother verifying a password that we know is too long. Reported by: jkim@ Security: CVE-2016-6210 Modified:

svn commit: r325800 - head/bin/freebsd-version

2017-11-14 Thread Dag-Erling Smørgrav
Author: des Date: Tue Nov 14 10:15:17 2017 New Revision: 325800 URL: https://svnweb.freebsd.org/changeset/base/325800 Log: Add a -r option to print the running kernel version. MFC after:1 week Modified: head/bin/freebsd-version/freebsd-version.1

svn commit: r325799 - in stable/10: etc share/man/man5

2017-11-14 Thread Eugene Grosbein
Author: eugen Date: Tue Nov 14 09:31:56 2017 New Revision: 325799 URL: https://svnweb.freebsd.org/changeset/base/325799 Log: MFC r325559: ifconfig__descr Add suitable knob ifconfig__descr for static interface description. Document availability of interface descriptions within rc.conf(5).

svn commit: r325798 - in stable/11: etc share/man/man5

2017-11-14 Thread Eugene Grosbein
Author: eugen Date: Tue Nov 14 09:29:02 2017 New Revision: 325798 URL: https://svnweb.freebsd.org/changeset/base/325798 Log: MFC r325559: ifconfig__descr Add suitable knob ifconfig__descr for static interface description. Document availability of interface descriptions within rc.conf(5).