svn commit: r287434 - stable/9/sys/dev/ipmi

2015-09-03 Thread John Baldwin
Author: jhb Date: Thu Sep 3 16:38:26 2015 New Revision: 287434 URL: https://svnweb.freebsd.org/changeset/base/287434 Log: MFC 248705,253812,253813: - Unlock IPMI sc while performing requests via KCS and SMIC interfaces. - empirical testing showed that 3 seconds is just too slow for GET_DEVI

svn commit: r287435 - in stable: 10/sys/dev/ipmi 9/sys/dev/ipmi

2015-09-03 Thread John Baldwin
Author: jhb Date: Thu Sep 3 16:43:35 2015 New Revision: 287435 URL: https://svnweb.freebsd.org/changeset/base/287435 Log: MFC 281941: Watchdog drivers need to support rearming the watchdog in contexts which are not permitted to sleep. Only use the IPMI watchdog with backends which poll d

svn commit: r287439 - in stable: 10/lib/libutil 9/lib/libutil

2015-09-03 Thread John Baldwin
Author: jhb Date: Thu Sep 3 18:23:07 2015 New Revision: 287439 URL: https://svnweb.freebsd.org/changeset/base/287439 Log: MFC 283622: Add to the SYNOPSIS of the kinfo_get*() functions since these functions all return types that are defined in that header. Modified: stable/9/lib/libutil/

svn commit: r287603 - in stable/9: bin/ps sys/kern sys/sys

2015-09-09 Thread John Baldwin
Author: jhb Date: Wed Sep 9 23:05:52 2015 New Revision: 287603 URL: https://svnweb.freebsd.org/changeset/base/287603 Log: MFC 269656,270024,270443,270993: Fix problems with orphan handling. Note that to preserve KBI, p_treeflag has been added to the end of struct proc and is explicitly zer

svn commit: r287605 - in stable/9/sys: fs/procfs kern

2015-09-09 Thread John Baldwin
Author: jhb Date: Wed Sep 9 23:41:24 2015 New Revision: 287605 URL: https://svnweb.freebsd.org/changeset/base/287605 Log: MFC 283281,283282,283562,286158: Various fixes to orphan handling which also fix issues with following forks. Unlike the changes in HEAD, this merge does not include th

svn commit: r287637 - in stable: 10/sys/ofed/include/linux 9/sys/ofed/include/linux

2015-09-10 Thread John Baldwin
Author: jhb Date: Fri Sep 11 00:20:15 2015 New Revision: 287637 URL: https://svnweb.freebsd.org/changeset/base/287637 Log: MFC 287440: Currently the Linux character device mmap handling only supports mmap operations that map a single page that has an associated vm_page_t. This does not per

svn commit: r288460 - in stable: 10/sys/dev/hwpmc 9/sys/dev/hwpmc

2015-10-01 Thread John Baldwin
Author: jhb Date: Thu Oct 1 20:49:10 2015 New Revision: 288460 URL: https://svnweb.freebsd.org/changeset/base/288460 Log: MFC 283121: Use the proper mask when reloading sampling PMCs for Core CPUs. Modified: stable/9/sys/dev/hwpmc/hwpmc_core.c Directory Properties: stable/9/sys/ (props

svn commit: r288463 - in stable: 10/sys/kern 9/sys/kern

2015-10-01 Thread John Baldwin
Author: jhb Date: Thu Oct 1 21:54:43 2015 New Revision: 288463 URL: https://svnweb.freebsd.org/changeset/base/288463 Log: MFC 286256: kgdb uses td_oncpu to determine if a thread is running and should use a pcb from stoppcbs[] rather than the thread's PCB. However, exited threads retained

svn commit: r288464 - in stable: 10/lib/libc/stdio 9/lib/libc/stdio

2015-10-01 Thread John Baldwin
Author: jhb Date: Thu Oct 1 21:57:15 2015 New Revision: 288464 URL: https://svnweb.freebsd.org/changeset/base/288464 Log: MFC 286177: Fix a couple of markup typos. Modified: stable/9/lib/libc/stdio/open_memstream.3 (contents, props changed) Directory Properties: stable/9/lib/libc/ (p

svn commit: r288958 - in stable: 10/sys/kern 9/sys/kern

2015-10-06 Thread John Baldwin
Author: jhb Date: Tue Oct 6 22:28:28 2015 New Revision: 288958 URL: https://svnweb.freebsd.org/changeset/base/288958 Log: MFC 287833: Threads holding a read lock of a sleepable rm lock are not permitted to sleep. The rmlock implementation enforces this by disabling sleeping when a read l

svn commit: r288967 - in stable: 10/sys/kern 9/sys/kern

2015-10-06 Thread John Baldwin
Author: jhb Date: Wed Oct 7 00:33:44 2015 New Revision: 288967 URL: https://svnweb.freebsd.org/changeset/base/288967 Log: MFC 287864: When a process group leader exits, all of the processes in the group are sent SIGHUP and SIGCONT if any of the processes are stopped. Currently this behav

svn commit: r288969 - in stable: 10/sys/kern 9/sys/kern

2015-10-06 Thread John Baldwin
Author: jhb Date: Wed Oct 7 00:50:26 2015 New Revision: 288969 URL: https://svnweb.freebsd.org/changeset/base/288969 Log: MFC 287870: Always clear TDB_USERWR before fetching system call arguments. The TDB_USERWR flag may still be set after a debugger detaches from a process via PT_DETACH

svn commit: r289780 - in stable: 10/lib/libc/sys 10/sys/kern 10/sys/sys 10/tests/sys/kern 9/lib/libc/sys 9/sys/kern 9/sys/sys

2015-10-22 Thread John Baldwin
Author: jhb Date: Fri Oct 23 01:27:44 2015 New Revision: 289780 URL: https://svnweb.freebsd.org/changeset/base/289780 Log: MFC 287386,288949,288993: Export current system call code and argument count for system call entry and exit events. To preserve the ABI, the new fields are moved to the

svn commit: r290413 - in stable: 10/gnu/usr.bin/gdb/kgdb 9/gnu/usr.bin/gdb/kgdb

2015-11-05 Thread John Baldwin
Author: jhb Date: Thu Nov 5 21:22:23 2015 New Revision: 290413 URL: https://svnweb.freebsd.org/changeset/base/290413 Log: MFC 288371: When XSAVE support was added on amd64, the FPU save area was moved out of 'struct pcb' and into a variable-sized region after the structure. The kgdb code

svn commit: r290454 - in stable: 10/sys/dev/drm2/i915 9/sys/dev/drm2/i915

2015-11-06 Thread John Baldwin
Author: jhb Date: Fri Nov 6 16:48:33 2015 New Revision: 290454 URL: https://svnweb.freebsd.org/changeset/base/290454 Log: MFC 288452,289719: 288452: Most error cases in i915_gem_do_execbuffer() jump to one of two labels to release resources (such as unholding pages) when errors occur.

svn commit: r290456 - in stable: 10/sys/kern 9/sys/kern

2015-11-06 Thread John Baldwin
Author: jhb Date: Fri Nov 6 16:57:23 2015 New Revision: 290456 URL: https://svnweb.freebsd.org/changeset/base/290456 Log: MFC 288902: Include additional info in ptrace(2) KTR traces: - The new PC value and signal passed to PT_CONTINUE, PT_DETACH, PT_SYSCALL, and PT_TO_SC[EX]. - The sy

svn commit: r290464 - in stable: 10/lib/libc/sys 10/sys/kern 10/sys/sys 9/lib/libc/sys 9/sys/kern 9/sys/sys

2015-11-06 Thread John Baldwin
Author: jhb Date: Fri Nov 6 20:10:54 2015 New Revision: 290464 URL: https://svnweb.freebsd.org/changeset/base/290464 Log: MFC 289636: Switch pl_child_pid from int to pid_t. Modified: stable/9/lib/libc/sys/ptrace.2 stable/9/sys/kern/sys_process.c stable/9/sys/sys/ptrace.h Directory Prop

svn commit: r290668 - in stable: 10/sys/i386/i386 10/sys/i386/include 9/sys/i386/i386 9/sys/i386/include

2015-11-10 Thread John Baldwin
Author: jhb Date: Wed Nov 11 01:32:35 2015 New Revision: 290668 URL: https://svnweb.freebsd.org/changeset/base/290668 Log: MFC 284324,290164: Workaround debuggers that try to read the full 32-bit words holding selectors in trapframes. 284324: Ensure that the upper 16 bits of segment r

svn commit: r290730 - in stable: 10/sys/amd64/amd64 10/sys/i386/i386 9/sys/amd64/amd64 9/sys/i386/i386

2015-11-12 Thread John Baldwin
Author: jhb Date: Thu Nov 12 22:45:51 2015 New Revision: 290730 URL: https://svnweb.freebsd.org/changeset/base/290730 Log: MFC 285773,285775,285776: Various fixes for stack unwinding in DDB on x86. 285773: Remove some dead code from DDB's amd64 stack unwinder. The amd64 port copied

svn commit: r290731 - in stable: 10/sys/amd64/amd64 10/sys/ddb 10/sys/i386/i386 9/sys/amd64/amd64 9/sys/ddb 9/sys/i386/i386

2015-11-12 Thread John Baldwin
Author: jhb Date: Thu Nov 12 23:49:47 2015 New Revision: 290731 URL: https://svnweb.freebsd.org/changeset/base/290731 Log: MFC 285783: Various changes to the registers displayed in DDB for x86. - Fix segment registers to only display the low 16 bits. - Remove unused handlers and entries fo

svn commit: r290733 - in stable/9/sys/i386: i386 include

2015-11-12 Thread John Baldwin
Author: jhb Date: Fri Nov 13 00:47:44 2015 New Revision: 290733 URL: https://svnweb.freebsd.org/changeset/base/290733 Log: Fix i386 build. stable/9 does not have XSAVE support. Pointy hat to:jhb Modified: stable/9/sys/i386/i386/machdep.c stable/9/sys/i386/include/specialreg.h

svn commit: r290734 - in stable: 10/sys/amd64/amd64 10/sys/i386/i386 10/sys/i386/include 9/sys/amd64/amd64 9/sys/i386/i386 9/sys/i386/include

2015-11-12 Thread John Baldwin
Author: jhb Date: Fri Nov 13 00:50:34 2015 New Revision: 290734 URL: https://svnweb.freebsd.org/changeset/base/290734 Log: MFC 284325: Report the values of x86 segment registers to remote debuggers. While here, also report %eflags from the i386 trapframe. Modified: stable/9/sys/amd64/a

svn commit: r290804 - in stable: 10/usr.sbin/pciconf 9/usr.sbin/pciconf

2015-11-13 Thread John Baldwin
Author: jhb Date: Fri Nov 13 22:33:51 2015 New Revision: 290804 URL: https://svnweb.freebsd.org/changeset/base/290804 Log: MFC 290412: Note if relaxed ordering or no snoop is enabled for each PCI-express device. Modified: stable/9/usr.sbin/pciconf/cap.c Directory Properties: stable/9/usr.

svn commit: r290808 - stable/9/sys/dev/pci

2015-11-13 Thread John Baldwin
Author: jhb Date: Sat Nov 14 00:04:42 2015 New Revision: 290808 URL: https://svnweb.freebsd.org/changeset/base/290808 Log: MFC 232472 (partial): Cache the starting location of the PCI-express capability for PCI-express devices in PCI device ivars. Modified: stable/9/sys/dev/pci/pci.c st

svn commit: r290809 - in stable: 10/share/man/man9 10/sys/dev/pci 9/share/man/man9 9/sys/dev/pci

2015-11-13 Thread John Baldwin
Author: jhb Date: Sat Nov 14 01:06:45 2015 New Revision: 290809 URL: https://svnweb.freebsd.org/changeset/base/290809 Log: MFC 290414,290415: Additional PCI helper functions. 290414: Add helper routines for PCI device drivers to read, write, and modify PCI-Express capability registers

svn commit: r291083 - in stable: 10/sys/dev/cxgbe 9/sys/dev/cxgbe

2015-11-19 Thread John Baldwin
Author: jhb Date: Thu Nov 19 19:40:30 2015 New Revision: 291083 URL: https://svnweb.freebsd.org/changeset/base/291083 Log: MFC 290416: Chelsio T5 chips do not properly echo the No Snoop and Relaxed Ordering attributes when replying to a TLP from a Root Port. As a workaround, disable No Sn

svn commit: r292417 - in stable: 10/share/man/man4 10/sys/kern 9/share/man/man4 9/sys/kern

2015-12-17 Thread John Baldwin
Author: jhb Date: Fri Dec 18 00:40:19 2015 New Revision: 292417 URL: https://svnweb.freebsd.org/changeset/base/292417 Log: MFC 290429: When dumping an rman in DDB, include the RID of each resource. Modified: stable/9/share/man/man4/ddb.4 stable/9/sys/kern/subr_rman.c Directory Properties:

svn commit: r292418 - in stable: 10/share/man/man9 9/share/man/man9

2015-12-17 Thread John Baldwin
Author: jhb Date: Fri Dec 18 01:03:34 2015 New Revision: 292418 URL: https://svnweb.freebsd.org/changeset/base/292418 Log: MFC 292038: Fix a copy and paste bug when this page was first written by copying from BUS_BIND_INTR.9. Modified: stable/9/share/man/man9/BUS_DESCRIBE_INTR.9 Directory

svn commit: r294338 - in stable: 10/usr.sbin/boot0cfg 9/usr.sbin/boot0cfg

2016-01-19 Thread John Baldwin
Author: jhb Date: Tue Jan 19 19:04:56 2016 New Revision: 294338 URL: https://svnweb.freebsd.org/changeset/base/294338 Log: MFC 292410,292443,293977: Exit cleanly if malloc() fails to allocate a buffer for a copy of the current MBR. PR: 205322 Submitted by: Alexander Kuleshov

svn commit: r294636 - in stable: 10/sys/ofed/include/linux 9/sys/ofed/include/linux

2016-01-23 Thread John Baldwin
Author: jhb Date: Sat Jan 23 17:08:17 2016 New Revision: 294636 URL: https://svnweb.freebsd.org/changeset/base/294636 Log: MFC 294366: Initialize vm_page_prot to VM_MEMATTR_DEFAULT instead of 0. If a driver's Linux mmap callback passed vm_page_prot through unchanged, then linux_dev_mmap

svn commit: r295684 - in stable: 8/sys/kern 9/sys/kern

2016-02-16 Thread John Baldwin
Author: jhb Date: Wed Feb 17 01:45:34 2016 New Revision: 295684 URL: https://svnweb.freebsd.org/changeset/base/295684 Log: MFC 295418,295419: Fix hangs or panics when misbehaved kernel threads return from their main function. 295418: Mark proc0 as a kernel process via the P_KTHREAD fl

svn commit: r300629 - in stable: 10/sys/conf 8/sys/conf 9/sys/conf

2016-05-24 Thread John Baldwin
Author: jhb Date: Tue May 24 23:04:16 2016 New Revision: 300629 URL: https://svnweb.freebsd.org/changeset/base/300629 Log: MFC 299310: Don't store generated firmware object files in the source directory. Trim the leading directory of a firmware source file from the resulting target obje

svn commit: r303252 - in stable: 10/sys/dev/acpica/Osd 9/sys/dev/acpica/Osd

2016-07-23 Thread John Baldwin
Author: jhb Date: Sat Jul 23 22:50:59 2016 New Revision: 303252 URL: https://svnweb.freebsd.org/changeset/base/303252 Log: MFC 299977: Use polling spin loops for timeouts during early boot. Some ACPI operations such as mutex acquires and event waits accept a timeout. The ACPI OSD layer i

svn commit: r303254 - in stable: 10 10/share/man/man9 10/sys/sys 9 9/share/man/man9 9/sys/sys

2016-07-23 Thread John Baldwin
Author: jhb Date: Sun Jul 24 04:38:50 2016 New Revision: 303254 URL: https://svnweb.freebsd.org/changeset/base/303254 Log: MFC 300253: Remove dangling references to rman_await_resource(). This function was removed when RF_TIMESHARE was removed a couple of years ago. Modified: stable/9/

svn commit: r303255 - in stable: 10/share/man/man9 10/sys/dev/pci 9/share/man/man9 9/sys/dev/pci

2016-07-23 Thread John Baldwin
Author: jhb Date: Sun Jul 24 05:24:10 2016 New Revision: 303255 URL: https://svnweb.freebsd.org/changeset/base/303255 Log: MFC 302175: Add pci_get_max_payload() to fetch the PCI-express maximum payload size. Modified: stable/9/share/man/man9/pci.9 stable/9/sys/dev/pci/pci.c stable/9/sys

svn commit: r303317 - in stable: 10/share/man/man3 9/share/man/man3

2016-07-25 Thread John Baldwin
Author: jhb Date: Mon Jul 25 19:18:42 2016 New Revision: 303317 URL: https://svnweb.freebsd.org/changeset/base/303317 Log: MFC 302861: Fix rendering issues. - Use Ta to separate column headers. - Correct width of the 'Code' column in the last table. Modified: stable/9/share/man/man3/si

svn commit: r303325 - in stable: 10/lib/libc/sys 10/share/man/man3 10/share/man/man4 9/lib/libc/sys 9/share/man/man3 9/share/man/man4

2016-07-25 Thread John Baldwin
Author: jhb Date: Mon Jul 25 23:38:14 2016 New Revision: 303325 URL: https://svnweb.freebsd.org/changeset/base/303325 Log: MFC 302899: Add documentation for the sigevent structure. - Add a sigevent(3) manpage to give a general overview of the sigevent structure and the available notific

svn commit: r303403 - in stable: 10/usr.sbin/crashinfo 9/usr.sbin/crashinfo

2016-07-27 Thread John Baldwin
Author: jhb Date: Wed Jul 27 17:55:40 2016 New Revision: 303403 URL: https://svnweb.freebsd.org/changeset/base/303403 Log: MFC 303109: Update crashinfo to work with newer gdb from ports. If gdb from ports is installed, use it instead of the base system gdb to extract variables from a kern

svn commit: r303777 - stable/9/sys/x86/x86

2016-08-05 Thread John Baldwin
Author: jhb Date: Fri Aug 5 17:14:45 2016 New Revision: 303777 URL: https://svnweb.freebsd.org/changeset/base/303777 Log: MFC 302181: Add a tunable to disable migration of MSI-X interrupts. The new 'machdep.disable_msix_migration' tunable can be set to 1 to disable migration of MSI-X int

svn commit: r303808 - in stable: 10/sys/dev/fb 9/sys/dev/fb

2016-08-06 Thread John Baldwin
Author: jhb Date: Sat Aug 6 23:53:33 2016 New Revision: 303808 URL: https://svnweb.freebsd.org/changeset/base/303808 Log: MFC 303076,303225: Use MTX_SYSINIT for the VESA lock. 303076: vesa: fix panic on suspend Fix the following panic seen when migrating a FreeBSD guest on Xen:

svn commit: r303885 - in stable: 10/sys/kern 9/sys/kern

2016-08-09 Thread John Baldwin
Author: jhb Date: Tue Aug 9 18:59:16 2016 New Revision: 303885 URL: https://svnweb.freebsd.org/changeset/base/303885 Log: MFC 303503: Don't treat NOCPU as a valid CPU to CPU_ISSET. If a thread is created bound to a cpuset it might already be bound before its very first timeslice, and td_

svn commit: r304511 - in stable: 10/sys/dev/pci 8/sys/dev/pci 9/sys/dev/pci

2016-08-19 Thread John Baldwin
Author: jhb Date: Sat Aug 20 00:22:39 2016 New Revision: 304511 URL: https://svnweb.freebsd.org/changeset/base/304511 Log: MFC 298950: Fix an off by one error when remapping MSI-X vectors. pci_remap_msix() can be used to alter the mapping of allocated MSI-X vectors to the MSI-X table. Th

svn commit: r304617 - in stable: 10/lib/libc/sys 11/lib/libc/sys 9/lib/libc/sys

2016-08-22 Thread John Baldwin
Author: jhb Date: Mon Aug 22 17:52:10 2016 New Revision: 304617 URL: https://svnweb.freebsd.org/changeset/base/304617 Log: MFC 304476: Fix various nits in the aio operation manpages. - Avoid double use of "request" in a single sentence. Instead, describe aio_sigevent as being used to r

svn commit: r304619 - in stable: 10/sys/sys 9/sys/sys

2016-08-22 Thread John Baldwin
Author: jhb Date: Mon Aug 22 18:12:24 2016 New Revision: 304619 URL: https://svnweb.freebsd.org/changeset/base/304619 Log: MFC 302379: Correct locking annotation for p_comm. p_comm is changed during exec, it is not read-only after fork. Modified: stable/9/sys/sys/proc.h Directory Propert

svn commit: r305675 - in stable: 10/sys/dev/hwpmc 11/sys/dev/hwpmc 9/sys/dev/hwpmc

2016-09-09 Thread John Baldwin
Author: jhb Date: Fri Sep 9 21:19:31 2016 New Revision: 305675 URL: https://svnweb.freebsd.org/changeset/base/305675 Log: MFC 303720: Apply the fix from r232612 to fixed function counters. Modified: stable/9/sys/dev/hwpmc/hwpmc_core.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r263028 - in stable: 10/usr.sbin/services_mkdb 9/usr.sbin/services_mkdb

2014-03-11 Thread John Baldwin
Author: jhb Date: Tue Mar 11 15:28:41 2014 New Revision: 263028 URL: http://svnweb.freebsd.org/changeset/base/263028 Log: MFC 261030: Similar to cap_mkdb(1), add endianness support to services_mkdb(1) to support cross-builds once this is invoked during releases. Modified: stable/9/usr.sbi

svn commit: r263309 - in stable: 8/sys/fs/fifofs 9/sys/fs/fifofs

2014-03-18 Thread John Baldwin
Author: jhb Date: Tue Mar 18 17:17:42 2014 New Revision: 263309 URL: http://svnweb.freebsd.org/changeset/base/263309 Log: Increment fi_wgen before awakening threads polling the read socket of a FIFO. Previously, a thread sleeping in poll() could be awakened and re-poll the FIFO with the old

svn commit: r264505 - in stable: 8/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 9/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2014-04-15 Thread John Baldwin
Author: jhb Date: Tue Apr 15 15:58:06 2014 New Revision: 264505 URL: http://svnweb.freebsd.org/changeset/base/264505 Log: Don't pass a timeout of 0 ticks to pause() for a delay of less than 1 hz tick. On 8.x this results in an infinite sleep as pause() does not support a delay of 0 ticks.

svn commit: r266398 - stable/9/sys/contrib/pf/net

2014-05-18 Thread John Baldwin
Author: jhb Date: Sun May 18 14:18:23 2014 New Revision: 266398 URL: http://svnweb.freebsd.org/changeset/base/266398 Log: MFC 260377: When pf_get_translation() fails, it should leave *sn pointer pristine, otherwise we will panic in pf_test_rule(). PR: amd64/189741 Tested by:

svn commit: r266401 - stable/9/usr.sbin/mfiutil

2014-05-18 Thread John Baldwin
Author: jhb Date: Sun May 18 15:29:00 2014 New Revision: 266401 URL: http://svnweb.freebsd.org/changeset/base/266401 Log: MFC 264765,264766: - Don't claim the adapter is idle if it is clearing a drive. - Fix an off by one error when checking for the stop event. This resulted in not show

svn commit: r267076 - stable/9/sys/dev/aac

2014-06-04 Thread John Baldwin
Author: jhb Date: Wed Jun 4 18:32:41 2014 New Revision: 267076 URL: http://svnweb.freebsd.org/changeset/base/267076 Log: MFC 266281: Clear the data buffer length field when freeing a command structure so that it doesn't leak through when the command structure is reused for a user command

svn commit: r267835 - stable/9/sys/dev/acpica

2014-06-24 Thread John Baldwin
Author: jhb Date: Tue Jun 24 19:58:18 2014 New Revision: 267835 URL: http://svnweb.freebsd.org/changeset/base/267835 Log: MFC 253392: Workaround some broken BIOSes that specify edge-sensitive but active-low settings for ACPI-enumerated serial ports by forcing any IRQs that use an ISA IRQ v

svn commit: r267964 - in stable: 10/sys/amd64/amd64 10/sys/i386/i386 10/sys/i386/include 10/sys/i386/xen 10/sys/pc98/pc98 9/sys/amd64/amd64 9/sys/i386/i386 9/sys/i386/include 9/sys/i386/xen 9/sys/p...

2014-06-27 Thread John Baldwin
Author: jhb Date: Fri Jun 27 17:22:18 2014 New Revision: 267964 URL: http://svnweb.freebsd.org/changeset/base/267964 Log: MFC 261781: Don't waste a page of KVA for the boot-time memory test on x86. For amd64, reuse the first page of the crashdumpmap as CMAP1/CADDR1. For i386, remove CMAP

svn commit: r267976 - in stable: 10/usr.bin/procstat 8/usr.bin/procstat 9/usr.bin/procstat

2014-06-27 Thread John Baldwin
Author: jhb Date: Fri Jun 27 19:50:30 2014 New Revision: 267976 URL: http://svnweb.freebsd.org/changeset/base/267976 Log: MFC 266296: Correct some minor nits in the per-thread signal format description such as missing posessives and misordering of fields. Modified: stable/9/usr.bin/procst

svn commit: r267979 - in stable: 10/usr.bin/procstat 9/usr.bin/procstat

2014-06-27 Thread John Baldwin
Author: jhb Date: Fri Jun 27 20:34:22 2014 New Revision: 267979 URL: http://svnweb.freebsd.org/changeset/base/267979 Log: MFC 266293: - Add support for dumping current resource usage for processes via a new -r flag to procstat. - Add an -H flag to request information about threads rather

svn commit: r267980 - in stable: 10/sys/libkern 9/sys/libkern

2014-06-27 Thread John Baldwin
Author: jhb Date: Fri Jun 27 20:39:45 2014 New Revision: 267980 URL: http://svnweb.freebsd.org/changeset/base/267980 Log: MFC 267291: Use strcasecmp() instead of strcmp() when checking user-supplied encoding names so that encoding names are treated as case-insensitive. This allows the use

svn commit: r267983 - in stable: 10/sys/dev/acpica 9/sys/dev/acpica

2014-06-27 Thread John Baldwin
Author: jhb Date: Fri Jun 27 20:57:12 2014 New Revision: 267983 URL: http://svnweb.freebsd.org/changeset/base/267983 Log: MFC 267647: Trust the state of a power resource that we get from a working _STA method instead of trying to cache it. Modified: stable/9/sys/dev/acpica/acpi_powerres.c

svn commit: r268108 - in stable: 10/usr.bin/procstat 9/usr.bin/procstat

2014-07-01 Thread John Baldwin
Author: jhb Date: Tue Jul 1 18:23:00 2014 New Revision: 268108 URL: http://svnweb.freebsd.org/changeset/base/268108 Log: MFC 266322,266323: - Use 'RESOURCE' instead of the more generic 'TYPE' for the resource name column header when displaying resource usage. This more closely matches

svn commit: r269038 - in stable: 10/sys/dev/acpica 9/sys/dev/acpica

2014-07-23 Thread John Baldwin
Author: jhb Date: Thu Jul 24 00:02:39 2014 New Revision: 269038 URL: http://svnweb.freebsd.org/changeset/base/269038 Log: MFC 267883: Expand r261243 even further and ignore any I/O port resources assigned to PCI root bridges except for the one known-valid case on x86 where bridges claim th

svn commit: r271176 - in stable: 10/usr.bin/ktrace 8/usr.bin/ktrace 9/usr.bin/ktrace

2014-09-05 Thread John Baldwin
Author: jhb Date: Fri Sep 5 17:22:20 2014 New Revision: 271176 URL: http://svnweb.freebsd.org/changeset/base/271176 Log: MFC 270674: Clarify that the -c argument clears the list of tracepoints specified by -t (it does not clear all tracepoints). Approved by: re (gjb for 10) Modified:

svn commit: r271177 - in stable: 10/sbin/gbde 8/sbin/gbde 9/sbin/gbde

2014-09-05 Thread John Baldwin
Author: jhb Date: Fri Sep 5 17:44:10 2014 New Revision: 271177 URL: http://svnweb.freebsd.org/changeset/base/271177 Log: MFC 270722: Correct the destroy example. The -n argument is not needed (and is not valid). Approved by: re (gjb for 10) Modified: stable/9/sbin/gbde/gbde.8 Dire

svn commit: r271399 - in stable: 10/sys/kern 10/sys/sys 8/sys/kern 8/sys/sys 9/sys/kern 9/sys/sys

2014-09-10 Thread John Baldwin
Author: jhb Date: Wed Sep 10 15:45:18 2014 New Revision: 271399 URL: http://svnweb.freebsd.org/changeset/base/271399 Log: MFC 270823,270825,270829: Use a unit number allocator to provide suitable st_dev and st_ino values for POSIX shared memory descriptors. The implementation is similar to

svn commit: r271714 - in stable: 10/sys/dev/if_ndis 9/sys/dev/if_ndis

2014-09-17 Thread John Baldwin
Author: jhb Date: Wed Sep 17 18:17:18 2014 New Revision: 271714 URL: http://svnweb.freebsd.org/changeset/base/271714 Log: MFC 270830: When anouncing link state changes on an 802.11 interface with a vap, announce the change on the vap's ifnet instead of the main ifnet. This matches the beh

svn commit: r273221 - in stable: 10/sys/kern 9/sys/kern

2014-10-17 Thread John Baldwin
Author: jhb Date: Fri Oct 17 15:29:47 2014 New Revision: 273221 URL: https://svnweb.freebsd.org/changeset/base/273221 Log: MFC 272182: Don't panic if a resource is allocated twice. Instead, print a warning and fail the allocation request. Allocations of "reserved" resources such as PCI B

svn commit: r273237 - in stable: 10/sys/kern 9/sys/kern

2014-10-17 Thread John Baldwin
Author: jhb Date: Fri Oct 17 19:28:21 2014 New Revision: 273237 URL: https://svnweb.freebsd.org/changeset/base/273237 Log: MFC 272449: Require p_cansched() for changing a process' protection status via procctl() rather than p_cansee(). Modified: stable/9/sys/kern/sys_process.c Directory P

svn commit: r273238 - in stable: 10/usr.sbin/nscd 9/usr.sbin/nscd

2014-10-17 Thread John Baldwin
Author: jhb Date: Fri Oct 17 19:55:12 2014 New Revision: 273238 URL: https://svnweb.freebsd.org/changeset/base/273238 Log: MFC 272668: Properly set the timeout in a query_state. The global query_timeout configuration value is an integer count of seconds, it is not a timeval. Using memcpy(

svn commit: r273996 - in stable: 10/share/man/man3 8/share/man/man3 9/share/man/man3

2014-11-02 Thread John Baldwin
Author: jhb Date: Sun Nov 2 23:22:22 2014 New Revision: 273996 URL: https://svnweb.freebsd.org/changeset/base/273996 Log: MFC 273644,273738: Clarify that pthread_cleanup_push()/pop() are implemented as macros that create a new code block and thus must be balanced at the same lexical scope

svn commit: r273998 - in stable: 10/usr.sbin/etcupdate 8/usr.sbin/etcupdate 9/usr.sbin/etcupdate

2014-11-02 Thread John Baldwin
Author: jhb Date: Mon Nov 3 00:13:20 2014 New Revision: 273998 URL: https://svnweb.freebsd.org/changeset/base/273998 Log: MFC 273834: Rework the EXAMPLES section to be a bit clearer. - Add an example of using etcupdate diff. - Create a subsection on bootstrapping that is below the simple

svn commit: r275836 - in stable: 10/sys/dev/e1000 9/sys/dev/e1000

2014-12-16 Thread John Baldwin
Author: jhb Date: Tue Dec 16 19:45:56 2014 New Revision: 275836 URL: https://svnweb.freebsd.org/changeset/base/275836 Log: MFC 272897: Various fixes to stats: - Read the counts of received, dropped, and transmitted management packets and add sysctl nodes for them. - Fix the total octet

svn commit: r277947 - in stable/9/sys/boot: i386/loader pc98/loader

2015-01-30 Thread John Baldwin
Author: jhb Date: Fri Jan 30 18:55:16 2015 New Revision: 277947 URL: https://svnweb.freebsd.org/changeset/base/277947 Log: MFC 274398,274537: Move NFS and TFTP filesystems before the synthetic filesystems (bzip, gzip, and split). Modified: stable/9/sys/boot/i386/loader/conf.c stable/9/s

svn commit: r278287 - stable/9/sys/dev/cxgbe

2015-02-05 Thread John Baldwin
Author: jhb Date: Thu Feb 5 20:59:21 2015 New Revision: 278287 URL: https://svnweb.freebsd.org/changeset/base/278287 Log: MFC 274402: Add device ID for the T502-BT (dual-port 1G) adapter. Modified: stable/9/sys/dev/cxgbe/t4_main.c Directory Properties: stable/9/sys/ (props changed) s

svn commit: r278319 - in stable: 10/sys/dev/cxgbe/tom 10/sys/kern 9/sys/dev/cxgbe/tom 9/sys/kern

2015-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 15:53:13 2015 New Revision: 278319 URL: https://svnweb.freebsd.org/changeset/base/278319 Log: MFC 275808: Check for SS_NBIO in so->so_state instead of sb->sb_flags in soreceive_stream(). Modified: stable/9/sys/dev/cxgbe/tom/t4_ddp.c stable/9/sys/kern/uipc_so

svn commit: r278324 - in stable: 10/sbin/ipfw 9/sbin/ipfw

2015-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 18:13:29 2015 New Revision: 278324 URL: https://svnweb.freebsd.org/changeset/base/278324 Log: MFC 277714: natd(8) will work with an unconfigured interface and effectively not do anything until the interface is assigned an address. This fixes ipfw_nat to do the

svn commit: r278326 - in stable: 10/sys/dev/ipmi 8/sys/dev/ipmi 9/sys/dev/ipmi

2015-02-06 Thread John Baldwin
Author: jhb Date: Fri Feb 6 18:41:57 2015 New Revision: 278326 URL: https://svnweb.freebsd.org/changeset/base/278326 Log: MFC 276065: Explicitly treat timeouts when waiting for IBF or OBF to change state as an error. This fixes occasional hangs in the IPMI kcs thread when using ipmitool

svn commit: r278534 - in stable: 10/sys/netinet 9/sys/netinet

2015-02-10 Thread John Baldwin
Author: jhb Date: Tue Feb 10 21:41:56 2015 New Revision: 278534 URL: https://svnweb.freebsd.org/changeset/base/278534 Log: MFC 277709: Use an sbuf to generate the output of the net.inet.tcp.hostcache.list sysctl to avoid a possible buffer overflow if the cache grows while the text is being

Re: svn commit: r278718 - in stable/9: etc/rc.d sbin share/man/man4 share/mk sys/modules/geom tools/build/mk tools/build/options

2015-02-16 Thread John Baldwin
ng short descriptions of specific bugs fixed (which aren't very useful to someone reading the stable log message as the commit in question is introducing the needed feature in its fixed state.) This does require a bit more effort editorial wise, but I think it

Re: svn commit: r278718 - in stable/9: etc/rc.d sbin share/man/man4 share/mk sys/modules/geom tools/build/mk tools/build/options

2015-02-23 Thread John Baldwin
On Monday, February 23, 2015 10:35:59 AM Justin T. Gibbs wrote: > On Feb 16, 2015, at 9:11 AM, John Baldwin wrote: > > … > > > On a more general note, if I'm merging a change with several followup > > fixes, I > … > > > 2) I don't cut and paste al

Re: svn commit: r278718 - in stable/9: etc/rc.d sbin share/man/man4 share/mk sys/modules/geom tools/build/mk tools/build/options

2015-02-23 Thread John Baldwin
On Monday, February 23, 2015 01:41:16 PM Justin T. Gibbs wrote: > > On Feb 23, 2015, at 12:07 PM, John Baldwin wrote: > > I'm coming at this from a different angle I guess. When I was first using > > FreeBSD, I didn't read HEAD commits, but I did follow commits for

svn commit: r279848 - in stable: 10/sys/kern 9/sys/kern

2015-03-10 Thread John Baldwin
Author: jhb Date: Tue Mar 10 14:18:26 2015 New Revision: 279848 URL: https://svnweb.freebsd.org/changeset/base/279848 Log: MFC 277712: Change the default VFS timestamp precision from seconds to microseconds. Modified: stable/9/sys/kern/vfs_subr.c Directory Properties: stable/9/sys/ (pro

svn commit: r279921 - in stable: 10/sys/amd64/amd64 9/sys/amd64/amd64

2015-03-12 Thread John Baldwin
Author: jhb Date: Thu Mar 12 15:08:23 2015 New Revision: 279921 URL: https://svnweb.freebsd.org/changeset/base/279921 Log: MFC 277713: If the boot-time memory test is enabled, output a dot ('.') for each GB of RAM tested so people watching the console can see that the machine is making pro

svn commit: r279924 - in stable: 10/sys/dev/uart 9/sys/dev/uart

2015-03-12 Thread John Baldwin
Author: jhb Date: Thu Mar 12 15:48:25 2015 New Revision: 279924 URL: https://svnweb.freebsd.org/changeset/base/279924 Log: MFC 278292: Add the device ID for the AMT serial port on my Thinkpad T400. Modified: stable/9/sys/dev/uart/uart_bus_pci.c Directory Properties: stable/9/sys/ (props

svn commit: r279958 - in stable: 10/share/mk 9/share/mk

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 17:45:34 2015 New Revision: 279958 URL: https://svnweb.freebsd.org/changeset/base/279958 Log: MFC 278682: Make the extra dependencies in DPADD be dependencies of PROG_FULL and SHLIB_NAME_FULL so that the full binary is relinked when a dependency changes. Right

svn commit: r279964 - in stable: 8/sys/dev/ipmi 9/sys/dev/ipmi

2015-03-13 Thread John Baldwin
Author: jhb Date: Fri Mar 13 20:10:09 2015 New Revision: 279964 URL: https://svnweb.freebsd.org/changeset/base/279964 Log: MFC 278321: Use direct hardware access for internal requests for KCS and SMIC. In particular, updates to the watchdog should no longer sleep. - Add a new IPMI_IO_LOCK

svn commit: r280255 - in stable: 10/usr.bin/ktrdump 9/usr.bin/ktrdump

2015-03-19 Thread John Baldwin
Author: jhb Date: Thu Mar 19 13:08:17 2015 New Revision: 280255 URL: https://svnweb.freebsd.org/changeset/base/280255 Log: MFC 278327: Change ktrdump to use the more standard -M/-N flags to specify the path to a crash dump and kernel, respectively. The existing -m/-e flags are still suppo

svn commit: r280912 - in stable: 10/sys/kern 9/sys/kern

2015-03-31 Thread John Baldwin
Author: jhb Date: Tue Mar 31 15:37:24 2015 New Revision: 280912 URL: https://svnweb.freebsd.org/changeset/base/280912 Log: MFC 278760: Add two new counters for vnode life cycle events: - vfs.recycles counts the number of vnodes forcefully recycled to avoid exceeding kern.maxvnodes. - v

svn commit: r280966 - in stable: 10/sys/kern 10/usr.bin/gcore 9/sys/kern 9/usr.bin/gcore

2015-04-01 Thread John Baldwin
Author: jhb Date: Wed Apr 1 19:48:19 2015 New Revision: 280966 URL: https://svnweb.freebsd.org/changeset/base/280966 Log: MFC 278761: Include OBJT_PHYS VM objects in ELF core dumps. In particular this includes the shared page allowing debuggers to use the signal trampoline code to identif

svn commit: r280973 - in stable: 10/sys/amd64/amd64 10/sys/dev/acpica 10/sys/i386/i386 10/sys/kern 10/sys/sys 10/sys/x86/x86 9/sys/amd64/amd64 9/sys/dev/acpica 9/sys/i386/i386 9/sys/kern 9/sys/sys ...

2015-04-01 Thread John Baldwin
Author: jhb Date: Thu Apr 2 01:02:42 2015 New Revision: 280973 URL: https://svnweb.freebsd.org/changeset/base/280973 Log: MFC 276724: On some Intel CPUs with a P-state but not C-state invariant TSC the TSC may also halt in C2 and not just C3 (it seems that in some cases the BIOS advertise

Re: svn commit: r280973 - in stable: 10/sys/amd64/amd64 10/sys/dev/acpica 10/sys/i386/i386 10/sys/kern 10/sys/sys 10/sys/x86/x86 9/sys/amd64/amd64 9/sys/dev/acpica 9/sys/i386/i386 9/sys/kern 9/sys/sys

2015-04-06 Thread John Baldwin
On Monday, April 06, 2015 12:49:39 PM Alexey Dokuchaev wrote: > On Thu, Apr 02, 2015 at 01:02:47AM +0000, John Baldwin wrote: > > New Revision: 280973 > > URL: https://svnweb.freebsd.org/changeset/base/280973 > > > > Log: > > MFC 276724: > > On some In

svn commit: r281315 - in stable: 10/sys/dev/cxgbe/tom 9/sys/dev/cxgbe/tom

2015-04-09 Thread John Baldwin
Author: jhb Date: Thu Apr 9 17:56:25 2015 New Revision: 281315 URL: https://svnweb.freebsd.org/changeset/base/281315 Log: MFC 279892: Resize receive socket buffers that support autosizing when receiving TCP data via direct data placement. Modified: stable/9/sys/dev/cxgbe/tom/t4_ddp.c Dir

svn commit: r281326 - in stable: 10/sbin/ifconfig 9/sbin/ifconfig

2015-04-09 Thread John Baldwin
Author: jhb Date: Thu Apr 9 21:06:51 2015 New Revision: 281326 URL: https://svnweb.freebsd.org/changeset/base/281326 Log: MFC 279951: Simplify string mangling in ifmaybeload(). - Use strlcpy() instead of strcpy(). - Use strlcat() instead of a strlcpy() with a magic number subtracted f

svn commit: r281318 - in stable: 10/etc/defaults 10/share/man/man5 9/etc/defaults 9/share/man/man5

2015-04-09 Thread John Baldwin
Author: jhb Date: Thu Apr 9 18:50:41 2015 New Revision: 281318 URL: https://svnweb.freebsd.org/changeset/base/281318 Log: MFC 279952: - Align comment for df flags variable in periodic.conf. - Note default value of df flags variable in periodoc.conf(5). Modified: stable/9/etc/defaults/per

svn commit: r281317 - in stable: 10/lib/libstand 9/lib/libstand

2015-04-09 Thread John Baldwin
Author: jhb Date: Thu Apr 9 18:45:03 2015 New Revision: 281317 URL: https://svnweb.freebsd.org/changeset/base/281317 Log: MFC 279931: Spin the twiddle in dosfs to give visual feedback for disk I/O on FAT filesystems as is done for other filesystems in the loader. Modified: stable/9/lib/l

svn commit: r281538 - in stable: 10/sys/sys 9/sys/sys

2015-04-14 Thread John Baldwin
Author: jhb Date: Tue Apr 14 20:05:26 2015 New Revision: 281538 URL: https://svnweb.freebsd.org/changeset/base/281538 Log: MFC 278474,278476,280279: Expand the bitcount*() API and use it to implement CPU_COUNT for cpusets. 278474: Use __builtin_popcnt() to implement a BIT_COUNT() operat

svn commit: r281910 - in stable: 10/sys/dev/acpica 9/sys/dev/acpica

2015-04-23 Thread John Baldwin
Author: jhb Date: Thu Apr 23 22:39:32 2015 New Revision: 281910 URL: https://svnweb.freebsd.org/changeset/base/281910 Log: MFC 281159: Move the message complaining about failed system resource allocations under bootverbose. Every example I've seen to date has been due to an ACPI system re

svn commit: r282243 - in stable: 10/etc/defaults 10/etc/periodic/daily 10/share/man/man5 9/etc/defaults 9/etc/periodic/daily 9/share/man/man5

2015-04-29 Thread John Baldwin
Author: jhb Date: Wed Apr 29 18:57:19 2015 New Revision: 282243 URL: https://svnweb.freebsd.org/changeset/base/282243 Log: MFC 280721: Allow additional flags to be passed to netstat -i in the daily status check. In particular, this allows an administrator to specify "-h" for human readable

svn commit: r283886 - in stable: 10/sys/dev/hwpmc 9/sys/dev/hwpmc

2015-06-01 Thread John Baldwin
Author: jhb Date: Mon Jun 1 18:08:56 2015 New Revision: 283886 URL: https://svnweb.freebsd.org/changeset/base/283886 Log: MFC 283123: Fix two bugs that could result in PMC sampling effectively stopping. In both cases, the the effect of the bug was that a very small positive number was wri

svn commit: r283912 - in stable: 10/lib/libc/sys 8/lib/libc/sys 9/lib/libc/sys

2015-06-02 Thread John Baldwin
Author: jhb Date: Tue Jun 2 15:02:28 2015 New Revision: 283912 URL: https://svnweb.freebsd.org/changeset/base/283912 Log: MFC 281170: vfork() first appeared in 3BSD which pre-dates 2.9BSD. Verified via the copy of 3BSD on disc 1 of "The CSRG Archives". PR: 198612 Modified:

svn commit: r283916 - in stable: 10/lib/libc/sys 8/lib/libc/sys 9/lib/libc/sys

2015-06-02 Thread John Baldwin
Author: jhb Date: Tue Jun 2 15:12:33 2015 New Revision: 283916 URL: https://svnweb.freebsd.org/changeset/base/283916 Log: MFC 282417: Various updates to the ftruncate(2) documentation: - Note that ftruncate(2) can operate on shared memory objects and cross reference shm_open(2). - Not

svn commit: r283927 - in stable: 10/lib/libc/gen 10/lib/libc/include 10/lib/libc/stdio 10/lib/libc/sys 10/share/man/man9 10/sys/amd64/include 10/sys/boot/i386/common 10/sys/dev/pci 10/sys/i386/incl...

2015-06-02 Thread John Baldwin
Author: jhb Date: Tue Jun 2 19:20:39 2015 New Revision: 283927 URL: https://svnweb.freebsd.org/changeset/base/283927 Log: MFC 281887: Reassign copyright statements on several files from Advanced Computing Technologies LLC to Hudson River Trading LLC. Modified: stable/9/lib/libc/gen/_once

svn commit: r284045 - in stable: 10/sys/modules/oce 9/sys/modules/oce

2015-06-05 Thread John Baldwin
Author: jhb Date: Fri Jun 5 20:38:22 2015 New Revision: 284045 URL: https://svnweb.freebsd.org/changeset/base/284045 Log: MFC 281932: Rename the kld for oce(4) to if_oce.ko. ifconfig(8) has special knowledge about kld filenames for network drivers that requires them to follow the pattern

  1   2   3   4   >