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

2017-11-13 Thread Konstantin Belousov
Author: kib Date: Mon Nov 13 10:45:31 2017 New Revision: 325759 URL: https://svnweb.freebsd.org/changeset/base/325759 Log: Do not leak PMC_PO_OWNS_LOGFILE on error. Note that PMCLOG_RESERVE_WITH_ERROR() macro contains goto error; statement and executed after the flag is set.

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

2017-11-13 Thread Konstantin Belousov
Author: kib Date: Mon Nov 13 10:43:31 2017 New Revision: 325758 URL: https://svnweb.freebsd.org/changeset/base/325758 Log: Style bug. Sponsored by: The FreeBSD Foundation MFC after:3 days Modified: head/sys/dev/hwpmc/hwpmc_logging.c Modified: head/sys/dev/hwpmc/hwpmc_logging.c

svn commit: r325787 - in head/sys/dev/usb: net quirk

2017-11-13 Thread Kevin Lo
Author: kevlo Date: Tue Nov 14 01:57:54 2017 New Revision: 325787 URL: https://svnweb.freebsd.org/changeset/base/325787 Log: Add TP-LINK UE300. Submitted by: Kris G Modified: head/sys/dev/usb/net/if_ure.c head/sys/dev/usb/quirk/usb_quirk.c Modified:

svn commit: r325789 - head/sys/contrib/octeon-sdk

2017-11-13 Thread Justin Hibbits
Author: jhibbits Date: Tue Nov 14 03:21:39 2017 New Revision: 325789 URL: https://svnweb.freebsd.org/changeset/base/325789 Log: Use the correct board name for the Ubiquiti Unifi Security Gateway Modified: head/sys/contrib/octeon-sdk/cvmx-app-init.h

svn commit: r325788 - head/sys/netinet

2017-11-13 Thread Michael Tuexen
Author: tuexen Date: Tue Nov 14 02:30:21 2017 New Revision: 325788 URL: https://svnweb.freebsd.org/changeset/base/325788 Log: Simply the code and use the full buffer for contigous chunk representation. MFC after:1 week Modified: head/sys/netinet/sctp_input.c Modified:

svn commit: r325791 - head/sys/powerpc/mpc85xx

2017-11-13 Thread Justin Hibbits
Author: jhibbits Date: Tue Nov 14 03:53:15 2017 New Revision: 325791 URL: https://svnweb.freebsd.org/changeset/base/325791 Log: Expand the Freescale PCIe root complex driver with the ofw_pcib_pci The interrupt map wasn't being allocated properly, preventing IRQs from being allocated to

svn commit: r325790 - head/sys/mips/beri

2017-11-13 Thread Justin Hibbits
Author: jhibbits Date: Tue Nov 14 03:23:46 2017 New Revision: 325790 URL: https://svnweb.freebsd.org/changeset/base/325790 Log: Convert BERI to use ofw_parse_bootargs() Summary: ofw_parse_bootargs() was added in r306065 as an attempt to unify the various copies of the same code. This

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

2017-11-13 Thread Warner Losh
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 tunables / sysctls to controll reboot after panic: kern.poweroff_on_panic which, when enabled, instructs a system to power off on a panic instead of a

svn commit: r325786 - head/etc

2017-11-13 Thread Brad Davis
Author: brd (doc,ports committer) Date: Tue Nov 14 01:48:24 2017 New Revision: 325786 URL: https://svnweb.freebsd.org/changeset/base/325786 Log: Remove an unused variable. Approved by: bdrewery Modified: head/etc/Makefile Modified: head/etc/Makefile

svn commit: r325795 - head/sys/modules/nvme

2017-11-13 Thread Warner Losh
Author: imp Date: Tue Nov 14 05:05:21 2017 New Revision: 325795 URL: https://svnweb.freebsd.org/changeset/base/325795 Log: Belatedly add opt_nvme.h to fix building nvme.ko outside of a kernel build. Sponsored by: Netflix Modified: head/sys/modules/nvme/Makefile Modified:

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

2017-11-13 Thread Warner Losh
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 Modified: head/sys/dev/pci/pci.c head/sys/dev/pci/pcivar.h Modified:

svn commit: r325794 - in head/sys: cam cam/nvme dev/nvme

2017-11-13 Thread Warner Losh
Author: imp Date: Tue Nov 14 05:05:16 2017 New Revision: 325794 URL: https://svnweb.freebsd.org/changeset/base/325794 Log: Provide link speed data in XPT_GET_TRAN_SETTINGS. Provide full version information for that and XPT_PATH_INQ. Provide macros to encode/decode major/minor versions.

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

2017-11-13 Thread Warner Losh
Author: imp Date: Tue Nov 14 05:05:26 2017 New Revision: 325796 URL: https://svnweb.freebsd.org/changeset/base/325796 Log: Properly decode NVMe state of the drive and print out the information in the attach to more closely match what SCSI and ATA attached storage provides. Sponsored

svn commit: r325792 - in head: contrib/zstd lib/libzstd sys/contrib/zstd usr.bin/zstd

2017-11-13 Thread Warner Losh
Author: imp Date: Tue Nov 14 05:03:38 2017 New Revision: 325792 URL: https://svnweb.freebsd.org/changeset/base/325792 Log: Move zstd from contrib to sys/contrib so it can be used in the kernel. Adjust the Makefiles that referenced it to the new path. Sponsored by: Netflix OK'd by: cem@

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

2017-11-13 Thread Ravi Pokala
In r325794, you set speed/max_speed to a KBps value; here, you're reporting those values as PCI Generation. That's... not right. -Ravi (rpokala@) -Original Message- From: on behalf of Warner Losh Date: 2017-11-13, Monday at 21:05

svn commit: r325764 - head/sys/sys

2017-11-13 Thread Eric van Gyzen
Author: vangyzen Date: Mon Nov 13 16:53:36 2017 New Revision: 325764 URL: https://svnweb.freebsd.org/changeset/base/325764 Log: Add __BEGIN_DECLS and __END_DECLS to This allows C++ programs to call _umtx_op(). MFC after:3 days Sponsored by: Dell EMC Modified:

svn commit: r325766 - head/lib/libc/sys

2017-11-13 Thread Eric van Gyzen
Author: vangyzen Date: Mon Nov 13 17:46:38 2017 New Revision: 325766 URL: https://svnweb.freebsd.org/changeset/base/325766 Log: Fix formatting of _umtx_op(2) Do not use macros in the -width of a .Bl, since mandoc does not support them. Fix issues reported by igor and mandoc -Tlint.

svn commit: r325767 - head/sys/compat/linuxkpi/common/src

2017-11-13 Thread Hans Petter Selasky
Author: hselasky Date: Mon Nov 13 18:16:26 2017 New Revision: 325767 URL: https://svnweb.freebsd.org/changeset/base/325767 Log: Properly handle the case where the linux_cdev_handle_insert() function in the LinuxKPI returns NULL. This happens when the VM area's private data handle already

svn commit: r325768 - head/sys/arm/broadcom/bcm2835

2017-11-13 Thread Emmanuel Vadot
Author: manu Date: Mon Nov 13 18:53:41 2017 New Revision: 325768 URL: https://svnweb.freebsd.org/changeset/base/325768 Log: arm: rpi2: Fix cpufreq(4) Since r324184 the root node compatible for rpi2 is "brcm,bcm2836", add it to the compatible list of bcm2835_cpufreq. Tested On: RPI2

svn commit: r325771 - head/sys/kern

2017-11-13 Thread John Baldwin
Author: jhb Date: Mon Nov 13 19:58:58 2017 New Revision: 325771 URL: https://svnweb.freebsd.org/changeset/base/325771 Log: Only clear a pending thread event if one is pending. This fixes a panic when attaching to an already-stopped process after r325028. While here, clean up a few other

svn commit: r325772 - head

2017-11-13 Thread Alex Richardson
Author: arichardson Date: Mon Nov 13 20:07:08 2017 New Revision: 325772 URL: https://svnweb.freebsd.org/changeset/base/325772 Log: Only build the libmagic build-tools if MK_FILE != no Before this patch libmagic was always built in the build-tools phase even if -DWITHOUT_FILE was

svn commit: r325769 - in head/release: . arm

2017-11-13 Thread Glen Barber
Author: gjb Date: Mon Nov 13 19:31:51 2017 New Revision: 325769 URL: https://svnweb.freebsd.org/changeset/base/325769 Log: Update the GUMSTIX image build to use arm/arm TARGET/TARGET_ARCH. Update the TARGET/TARGET_ARCH matching in release/release.sh and release/Makefile.mirrors for

svn commit: r325770 - head/share/mk

2017-11-13 Thread Alex Richardson
Author: arichardson Date: Mon Nov 13 19:44:33 2017 New Revision: 325770 URL: https://svnweb.freebsd.org/changeset/base/325770 Log: Remove -fuse-ld= when creating _LDFLAGS from LDFLAGS The -fuse-ld flag is only meant to be passed to the compiler driver so direct linker invocations should

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

2017-11-13 Thread Warner Losh
Author: imp Date: Mon Nov 13 17:04:44 2017 New Revision: 325765 URL: https://svnweb.freebsd.org/changeset/base/325765 Log: 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

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

2017-11-13 Thread Oliver Pinter
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: > Switch procstat from subcommand flags to verbs > > - Use an enumerated value

svn commit: r325775 - in head/sys/boot: arm/loader arm/uboot forth

2017-11-13 Thread Warner Losh
Author: imp Date: Mon Nov 13 20:39:43 2017 New Revision: 325775 URL: https://svnweb.freebsd.org/changeset/base/325775 Log: Add loader.conf to the list of files that are MD. loader.conf is also different between machines. On arm it's a minimal one that's not quite compatible with the

svn commit: r325776 - in head: . sys/conf

2017-11-13 Thread Bryan Drewery
Author: bdrewery Date: Mon Nov 13 20:49:08 2017 New Revision: 325776 URL: https://svnweb.freebsd.org/changeset/base/325776 Log: Rework r325568 so all 'make LINT' targets work. Reported by: ngie Sponsored by: Dell EMC Isilon Modified: head/Makefile head/sys/conf/makeLINT.mk

svn commit: r325779 - head/sys/boot/forth

2017-11-13 Thread Warner Losh
Author: imp Date: Mon Nov 13 21:23:26 2017 New Revision: 325779 URL: https://svnweb.freebsd.org/changeset/base/325779 Log: Add /boot/dts to the list of default modules. The minimal arm and mips loader.conf for uboot have this in the list, but the default one didn't. Since there's no harm

svn commit: r325780 - head/sys/boot/forth

2017-11-13 Thread Warner Losh
Author: imp Date: Mon Nov 13 21:25:57 2017 New Revision: 325780 URL: https://svnweb.freebsd.org/changeset/base/325780 Log: Don't add /boot/dt*s* but /boot/dt*b*. Stupid think-o. /boot/dtb was what was tested... Modified: head/sys/boot/forth/loader.conf Modified:

svn commit: r325777 - head/sys/kern

2017-11-13 Thread John Baldwin
Author: jhb Date: Mon Nov 13 21:09:08 2017 New Revision: 325777 URL: https://svnweb.freebsd.org/changeset/base/325777 Log: Pull the PT_ATTACH case out of the 'sendsig:' block. Most of the conditionals in the 'sendsig:' block are now only different for PT_ATTACH vs other continue

svn commit: r325778 - head/sys/kern

2017-11-13 Thread John Baldwin
Author: jhb Date: Mon Nov 13 21:22:33 2017 New Revision: 325778 URL: https://svnweb.freebsd.org/changeset/base/325778 Log: Move loop to clear TDB_SUSPEND into PT_DETACH case. The PT_DETACH case above the sendsig: label already looped over all threads clearing flags in td_dbgflags. Reuse

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

2017-11-13 Thread Mark Felder
Author: feld (ports committer) Date: Mon Nov 13 21:55:34 2017 New Revision: 325781 URL: https://svnweb.freebsd.org/changeset/base/325781 Log: Remove fortune quotes attributed to or providing admiration of Adolf Hitler MFC after:1 week Modified: head/usr.bin/fortune/datfiles/fortunes

svn commit: r325782 - head/sys/netinet

2017-11-13 Thread Gleb Smirnoff
Author: glebius Date: Mon Nov 13 22:16:47 2017 New Revision: 325782 URL: https://svnweb.freebsd.org/changeset/base/325782 Log: Style r320614: don't initialize at declaration, new line after declarations, shorten variable name to avoid extra long lines. No functional changes. Modified: