svn commit: r290475 - in head: share/man/man9 sys/kern sys/sys

2015-11-06 Thread Conrad E. Meyer
Author: cem Date: Sat Nov 7 01:43:01 2015 New Revision: 290475 URL: https://svnweb.freebsd.org/changeset/base/290475 Log: Round out SYSCTL macros to the full set of fixed-width types Add S8, S16, S32, and U32 types; add SYSCTL*() macros for them, as well as for the existing 64-bit

svn commit: r290479 - head/sys/sys

2015-11-06 Thread Conrad E. Meyer
Author: cem Date: Sat Nov 7 02:03:06 2015 New Revision: 290479 URL: https://svnweb.freebsd.org/changeset/base/290479 Log: Final follow-up to r290475: Bump __FreeBSD_version Because we changed sysctl_add_oid(9) ABI, which surely breaks ABI compatibility for out-of-tree modules.

svn commit: r290476 - head/sbin/sysctl

2015-11-06 Thread Conrad E. Meyer
Author: cem Date: Sat Nov 7 01:56:32 2015 New Revision: 290476 URL: https://svnweb.freebsd.org/changeset/base/290476 Log: Follow-up to r290475: Add sysctl(8) support for added types Sponsored by: EMC / Isilon Storage Division Modified: head/sbin/sysctl/sysctl.c Modified:

svn commit: r290477 - head/share/man/man9

2015-11-06 Thread Conrad E. Meyer
Author: cem Date: Sat Nov 7 01:58:17 2015 New Revision: 290477 URL: https://svnweb.freebsd.org/changeset/base/290477 Log: Another follow-up to r290475: Bump .Dd in sysctl_add_oid.9 Sponsored by: EMC / Isilon Storage Division Modified: head/share/man/man9/sysctl_add_oid.9 Modified:

svn commit: r290229 - in head: share/man/man4 sys/dev/ioat

2015-10-31 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 31 20:38:06 2015 New Revision: 290229 URL: https://svnweb.freebsd.org/changeset/base/290229 Log: ioat: Handle channel-fatal HW errors safely Certain invalid operations trigger hardware error conditions. Error conditions that only halt one channel can be

svn commit: r290156 - head/sys/amd64/amd64

2015-10-29 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 29 19:07:00 2015 New Revision: 290156 URL: https://svnweb.freebsd.org/changeset/base/290156 Log: pmap_change_attr: Only fixup DMAP for DMAPed ranges pmap_change_attr must change the memory type of both the requested KVA and the corresponding DMAP mappings (if

svn commit: r290158 - head/sys/dev/ntb/ntb_hw

2015-10-29 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 29 19:35:01 2015 New Revision: 290158 URL: https://svnweb.freebsd.org/changeset/base/290158 Log: ntb: Revert r290130 now that r290156 has landed Nagged by:vangyzen Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c

svn commit: r290129 - in head: sys/dev/ioat tools/tools/ioat

2015-10-28 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 29 04:16:16 2015 New Revision: 290129 URL: https://svnweb.freebsd.org/changeset/base/290129 Log: ioatcontrol(8): Add and document "raw" testing mode Allows DMA from/to arbitrary KVA or physical address. /dev/ioat_test must be enabled by root and is only R/W

svn commit: r290130 - head/sys/dev/ntb/ntb_hw

2015-10-28 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 29 04:16:28 2015 New Revision: 290130 URL: https://svnweb.freebsd.org/changeset/base/290130 Log: ntb: Do not attempt to set write-combining on MWs AMD64 pmap assumes ranges will be in the DMAP, which isn't necessarily true for NTB memory windows (especially

svn commit: r290132 - head/sys/dev/ioat

2015-10-28 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 29 04:16:52 2015 New Revision: 290132 URL: https://svnweb.freebsd.org/changeset/base/290132 Log: ioat_test: Handled forced hardware resets gracefully Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat_test.c Modified:

svn commit: r290131 - head/sys/dev/ioat

2015-10-28 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 29 04:16:39 2015 New Revision: 290131 URL: https://svnweb.freebsd.org/changeset/base/290131 Log: ioat: Drain/quiesce the device less racily On detach and during a forced HW reset. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r290087 - head/sys/dev/ioat

2015-10-27 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 28 02:37:24 2015 New Revision: 290087 URL: https://svnweb.freebsd.org/changeset/base/290087 Log: ioat: Define DMACAPABILITY bits Check for BFILL capability before initiating blockfill operations. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r290021 - in head: sys/dev/ioat tools/tools/ioat

2015-10-26 Thread Conrad E. Meyer
Author: cem Date: Mon Oct 26 19:34:12 2015 New Revision: 290021 URL: https://svnweb.freebsd.org/changeset/base/290021 Log: ioat: Add support for Block Fill operations The IOAT hardware supports writing a 64-bit pattern to some destination buffer. The same limitations on buffer length

svn commit: r290020 - head/sys/dev/ioat

2015-10-26 Thread Conrad E. Meyer
Author: cem Date: Mon Oct 26 19:34:00 2015 New Revision: 290020 URL: https://svnweb.freebsd.org/changeset/base/290020 Log: ioat: Dedupe operation enqueue logic Add generic hw descriptor struct and generic control flags struct, in preparation for other kinds of IOAT operation.

svn commit: r289979 - in head/sys: dev/ioat sys

2015-10-25 Thread Conrad E. Meyer
Author: cem Date: Mon Oct 26 02:21:19 2015 New Revision: 289979 URL: https://svnweb.freebsd.org/changeset/base/289979 Log: ioat: Introduce KTR probes Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat.c head/sys/dev/ioat/ioat_internal.h

svn commit: r289980 - head/sys/dev/ioat

2015-10-25 Thread Conrad E. Meyer
Author: cem Date: Mon Oct 26 02:21:32 2015 New Revision: 289980 URL: https://svnweb.freebsd.org/changeset/base/289980 Log: ioat: Expose more softc members in sysctls Kill some unused softc variables while we're here. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289982 - head/sys/dev/ioat

2015-10-25 Thread Conrad E. Meyer
Author: cem Date: Mon Oct 26 03:30:38 2015 New Revision: 289982 URL: https://svnweb.freebsd.org/changeset/base/289982 Log: ioat: Allocate memory for ring resize sanely Add a new flag for DMA operations, DMA_NO_WAIT. It behaves much like other NOWAIT flags -- if queueing an operation

svn commit: r289983 - head/sys/dev/ioat

2015-10-25 Thread Conrad E. Meyer
Author: cem Date: Mon Oct 26 03:30:50 2015 New Revision: 289983 URL: https://svnweb.freebsd.org/changeset/base/289983 Log: ioat: Add %b format string for CHANERR codes Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat.c head/sys/dev/ioat/ioat_hw.h Modified:

svn commit: r289912 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:46:32 2015 New Revision: 289912 URL: https://svnweb.freebsd.org/changeset/base/289912 Log: ioat: Actually bring the hardware back online after reset We need to reset the chancmp and chainaddr MMIO registers to bring the device back to a working state.

svn commit: r289908 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:45 2015 New Revision: 289908 URL: https://svnweb.freebsd.org/changeset/base/289908 Log: ioat: Add sysctl to force hw reset To enable controlled testing. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat.c Modified:

svn commit: r289910 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:46:08 2015 New Revision: 289910 URL: https://svnweb.freebsd.org/changeset/base/289910 Log: ioat: Extract halted error-debugging to a function Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat.c Modified:

svn commit: r289909 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:56 2015 New Revision: 289909 URL: https://svnweb.freebsd.org/changeset/base/289909 Log: ioat: Always re-arm interrupts in process_events It doesn't hurt, even if there is nothing to do. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289911 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:46:20 2015 New Revision: 289911 URL: https://svnweb.freebsd.org/changeset/base/289911 Log: ioat: Use bus_alloc_resource_any(9) Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat.c Modified: head/sys/dev/ioat/ioat.c

svn commit: r289907 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:33 2015 New Revision: 289907 URL: https://svnweb.freebsd.org/changeset/base/289907 Log: ioat: refcnt users so we can drain them at detach We only need to borrow a mutex for the drain sleep and the 0->1 transition, so just reuse an existing one for now.

svn commit: r289906 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:21 2015 New Revision: 289906 URL: https://svnweb.freebsd.org/changeset/base/289906 Log: ioat: When queueing operations, assert the submit lock Callers should have acquired this lock when they invoked ioat_acquire() before issuing operations. Assert it

svn commit: r289904 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:44:58 2015 New Revision: 289904 URL: https://svnweb.freebsd.org/changeset/base/289904 Log: ioat: Pull out timer callout delay into a constant Pull out the timer callout delay into IOAT_INTR_TIMO and shorten it considerably (5s -> 100ms). Single operations

svn commit: r289905 - head/sys/dev/ioat

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 23:45:10 2015 New Revision: 289905 URL: https://svnweb.freebsd.org/changeset/base/289905 Log: ioat: Don't use sleeping allocation in lock path This is still the worst possible way to allocate memory if it will ever be under pressure, but at least it won't

svn commit: r289884 - head/sys/x86/xen

2015-10-24 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 24 19:04:55 2015 New Revision: 289884 URL: https://svnweb.freebsd.org/changeset/base/289884 Log: xen: Add missing semi-colon for BITSET_DEFINE() Broken when it was removed from the macro in r289867. Pointy-hat: markj Sponsored by: EMC / Isilon Storage

svn commit: r289835 - head/sbin/sysctl

2015-10-23 Thread Conrad E. Meyer
Author: cem Date: Fri Oct 23 15:40:44 2015 New Revision: 289835 URL: https://svnweb.freebsd.org/changeset/base/289835 Log: sysctl(8): Fix style nits Suggested by: bde Sponsored by: EMC / Isilon Storage Division Modified: head/sbin/sysctl/sysctl.c Modified: head/sbin/sysctl/sysctl.c

svn commit: r289831 - head/share/man/man9

2015-10-23 Thread Conrad E. Meyer
Author: cem Date: Fri Oct 23 15:08:16 2015 New Revision: 289831 URL: https://svnweb.freebsd.org/changeset/base/289831 Log: sysctl(9): Document U8/U16 types from r289773 Suggested by: ngie Sponsored by: EMC / Isilon Storage Division Modified: head/share/man/man9/Makefile

svn commit: r289765 - in head/sys: conf libkern sys

2015-10-22 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 20:28:37 2015 New Revision: 289765 URL: https://svnweb.freebsd.org/changeset/base/289765 Log: Add libkern ffsll() for parity with flsll() Sponsored by: EMC / Isilon Storage Division Differential Revision:https://reviews.freebsd.org/D3962 Added:

svn commit: r289766 - head/sys/libkern

2015-10-22 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 21:04:47 2015 New Revision: 289766 URL: https://svnweb.freebsd.org/changeset/base/289766 Log: libkern: ffs, fls: s/4/3/ the 3rd BSD clause Approved by: emaste Sponsored by: EMC / Isilon Storage Division Modified: head/sys/libkern/ffs.c

svn commit: r289777 - head/sys/dev/ioat

2015-10-22 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 23:08:08 2015 New Revision: 289777 URL: https://svnweb.freebsd.org/changeset/base/289777 Log: ioat_test: Add a colon (':') for style Missed in r289776. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat_test.c Modified:

svn commit: r289773 - in head: sbin/sysctl sys/kern sys/sys

2015-10-22 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 23:03:06 2015 New Revision: 289773 URL: https://svnweb.freebsd.org/changeset/base/289773 Log: Sysctl: Add common support for U8, U16 types Sponsored by: EMC / Isilon Storage Division Modified: head/sbin/sysctl/sysctl.c head/sys/kern/kern_sysctl.c

svn commit: r289774 - head/sys/dev/ntb/ntb_hw

2015-10-22 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 23:03:15 2015 New Revision: 289774 URL: https://svnweb.freebsd.org/changeset/base/289774 Log: NTB: Add device introspection sysctl hierarchy This should export all of the same information as the Linux ntb_hw_intel debugfs info file, but with a bit more

svn commit: r289776 - head/sys/dev/ioat

2015-10-22 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 23:03:33 2015 New Revision: 289776 URL: https://svnweb.freebsd.org/changeset/base/289776 Log: ioat: Clean up logging Replace custom Linux-like logging with a thin shim around device_printf(), when the softc is available. In ioat_test, shim around

svn commit: r289775 - head/sys/dev/ntb/if_ntb

2015-10-22 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 23:03:24 2015 New Revision: 289775 URL: https://svnweb.freebsd.org/changeset/base/289775 Log: if_ntb: Use ffsll() now that it is broadly available Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/if_ntb/if_ntb.c Modified:

svn commit: r289760 - head/sys/dev/ioat

2015-10-22 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 16:46:21 2015 New Revision: 289760 URL: https://svnweb.freebsd.org/changeset/base/289760 Log: ioat: Fix some attach/detach issues Don't run the selftest until after we've enabled bus mastering, or the DMA engine can't copy anything for our test. Create

svn commit: r289761 - head/share/man/man9

2015-10-22 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 16:46:30 2015 New Revision: 289761 URL: https://svnweb.freebsd.org/changeset/base/289761 Log: getenv.9: Document behavior of freeenv(NULL) Fix a couple igor(1)-indicated spelling issues while here. Suggested by: jhb Sponsored by: EMC / Isilon Storage

svn commit: r289733 - in head: sys/dev/ioat tools/tools/ioat

2015-10-21 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 04:38:05 2015 New Revision: 289733 URL: https://svnweb.freebsd.org/changeset/base/289733 Log: Improve flexibility of ioat_test / ioatcontrol(8) The test logic now preallocates memory before running the test. The buffer size is now configurable. Post-copy

svn commit: r289732 - head/sys/dev/ioat

2015-10-21 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 22 04:33:05 2015 New Revision: 289732 URL: https://svnweb.freebsd.org/changeset/base/289732 Log: ioat: Define IOAT_XFERCAP_VALID_MASK and use in ioat_read_xfercap Instead of ANDing a magic constant later. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289646 - head/sys/dev/ntb/ntb_hw

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:19:57 2015 New Revision: 289646 URL: https://svnweb.freebsd.org/changeset/base/289646 Log: NTB: Fix typo in bar5 tunables Typo introduced in r289614. Pointy-hat: cem Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289647 - head/sys/dev/ntb/ntb_hw

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:20:06 2015 New Revision: 289647 URL: https://svnweb.freebsd.org/changeset/base/289647 Log: NTB: Don't abort if setting a MW write-combine fails Also log BAR mapping results more verbosely. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289645 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:19:48 2015 New Revision: 289645 URL: https://svnweb.freebsd.org/changeset/base/289645 Log: NTB: MFV 7eb38781: Print driver name in module init Prints driver name to indicate what is being loaded. Authored by: Dave Jiang Obtained from:Linux

svn commit: r289649 - head/sys/dev/ntb/if_ntb

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:20:24 2015 New Revision: 289649 URL: https://svnweb.freebsd.org/changeset/base/289649 Log: if_ntb: Use if_printf instead of device_printf Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/if_ntb/if_ntb.c Modified:

svn commit: r289650 - head/sys/dev/ntb/if_ntb

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:20:33 2015 New Revision: 289650 URL: https://svnweb.freebsd.org/changeset/base/289650 Log: if_ntb: Correct over-long lines, use qmin() Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/if_ntb/if_ntb.c Modified:

svn commit: r289648 - head/sys/dev/ntb/ntb_hw

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:20:15 2015 New Revision: 289648 URL: https://svnweb.freebsd.org/changeset/base/289648 Log: NTB: MFV 2f887b9a: Rename Intel code names to platform names Mechanically replace "SOC" with "ATOM" to match Linux. No functional change. Original Linux commit log

svn commit: r289652 - head/sys/dev/ntb/if_ntb

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:20:52 2015 New Revision: 289652 URL: https://svnweb.freebsd.org/changeset/base/289652 Log: NTB: MFV 8c9edf63: Fix zero size or integer overflow in ntb_set_mw A plain 32 bit integer will overflow for values over 4GiB. Change the plain integer size to the

svn commit: r289653 - head/sys/dev/ntb/if_ntb

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:21:01 2015 New Revision: 289653 URL: https://svnweb.freebsd.org/changeset/base/289653 Log: if_ntb: Diff-reduce with Linux; add queue index type Add ntb_q_idx_t so it is more clear which struct members are of the same type (some bogus uint64_ts snuck in

svn commit: r289654 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:32:16 2015 New Revision: 289654 URL: https://svnweb.freebsd.org/changeset/base/289654 Log: NTB: Revert r289645 Per Benno, this is a Linuxism we do not need in FreeBSD. Suggested by: benno Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289651 - head/sys/dev/ntb/if_ntb

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 19:20:42 2015 New Revision: 289651 URL: https://svnweb.freebsd.org/changeset/base/289651 Log: NTB: MFV da2e5ae5: Fix ntb_transport out-of-order RX update It was possible for a synchronous update of the RX index in the error case to get ahead of the

svn commit: r289667 - head/share/man/man9

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 23:48:14 2015 New Revision: 289667 URL: https://svnweb.freebsd.org/changeset/base/289667 Log: Document cpuset(9) A follow-up to r289467. Coerced by: jhb Sponsored by: EMC / Isilon Storage Division Added: head/share/man/man9/cpuset.9 (contents,

svn commit: r289668 - in head: lib/libc/sys share/man/man9

2015-10-20 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 23:52:37 2015 New Revision: 289668 URL: https://svnweb.freebsd.org/changeset/base/289668 Log: cpuset.9: Link to/from the new page A follow-up to r289667. Sponsored by: EMC / Isilon Storage Division Modified: head/lib/libc/sys/cpuset.2

svn commit: r289598 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Mon Oct 19 18:06:35 2015 New Revision: 289598 URL: https://svnweb.freebsd.org/changeset/base/289598 Log: NTB: Add ntb_db_vector_mask() missed in r289546 This is the last one. Obtained from:Linux (Dual BSD/GPL driver) Sponsored by: EMC / Isilon Storage

svn commit: r289597 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Mon Oct 19 17:53:20 2015 New Revision: 289597 URL: https://svnweb.freebsd.org/changeset/base/289597 Log: NTB: Add ntb_db_valid_mask() missed in r289546 Another trivial one. Pointy-hat: cem Obtained from:Linux (Dual BSD/GPL driver) Sponsored by: EMC /

svn commit: r289596 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Mon Oct 19 17:41:22 2015 New Revision: 289596 URL: https://svnweb.freebsd.org/changeset/base/289596 Log: NTB: Add ntb_mw_clear_trans() missed in r289546 It is just a trivial wrapper around ntb_mw_set_trans(). Authored by: Allen Hubbe Obtained from:Linux

svn commit: r289609 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:45:57 2015 New Revision: 289609 URL: https://svnweb.freebsd.org/changeset/base/289609 Log: NTB: Pull copy of soc_link_is_err out of recover_soc_link Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c Modified:

svn commit: r289610 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:46:05 2015 New Revision: 289610 URL: https://svnweb.freebsd.org/changeset/base/289610 Log: NTB: enum-ify some HW constants Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c head/sys/dev/ntb/ntb_hw/ntb_regs.h

svn commit: r289607 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:45:38 2015 New Revision: 289607 URL: https://svnweb.freebsd.org/changeset/base/289607 Log: NTB: Replace last reg_ofs with self_reg Diff reduce with Linux driver. No functional change. Obtained from:Linux (Dual BSD/GPL driver) Sponsored by:

svn commit: r289608 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:45:48 2015 New Revision: 289608 URL: https://svnweb.freebsd.org/changeset/base/289608 Log: NTB: Drop some dead softc members Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c

svn commit: r289614 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:54:25 2015 New Revision: 289614 URL: https://svnweb.freebsd.org/changeset/base/289614 Log: NTB: MFV 42fefc86: Add parameters for Intel SNB B2B addresses Add module parameters for the addresses to be used in B2B topology. Authored by: Allen Hubbe

svn commit: r289612 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:54:08 2015 New Revision: 289612 URL: https://svnweb.freebsd.org/changeset/base/289612 Log: NTB: Change Atom (BWD/SoC) pci_id name to match others Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c Modified:

svn commit: r289615 - head/sys/dev/ntb/if_ntb

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:54:34 2015 New Revision: 289615 URL: https://svnweb.freebsd.org/changeset/base/289615 Log: if_ntb: Fix typo in qp_link_work to match Linux Throw away the result of the peer SPAD read. The peer will write our local SPAD and we need to keep the locally read

svn commit: r289617 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:54:52 2015 New Revision: 289617 URL: https://svnweb.freebsd.org/changeset/base/289617 Log: NTB: Clean up safely if attach fails early Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/ntb_hw/ntb_hw.c Modified:

svn commit: r289616 - head/sys/dev/ntb/if_ntb

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:54:43 2015 New Revision: 289616 URL: https://svnweb.freebsd.org/changeset/base/289616 Log: NTB: MFV 9891417d: Increase transport MTU to 64k from 16k Benchmarking showed a significant performance increase with the MTU size to 64k instead of 16k. Change the

svn commit: r289613 - head/sys/dev/ntb/if_ntb

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:54:16 2015 New Revision: 289613 URL: https://svnweb.freebsd.org/changeset/base/289613 Log: if_ntb: MFV 2849b5d7: Reset transport QP link stats on down Reset the link stats when the link goes down. In particular, the TX and RX index and count must be

svn commit: r289611 - head/sys/dev/ntb/ntb_hw

2015-10-19 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 20 01:46:14 2015 New Revision: 289611 URL: https://svnweb.freebsd.org/changeset/base/289611 Log: NTB: MFV 5ae0beb6: Enable link for Intel root port mode in probe We skip actually bringing up Rootport/Transparent configurations, so most of this doesn't apply.

svn commit: r289541 - head/sys/dev/ntb/ntb_hw

2015-10-18 Thread Conrad E. Meyer
Author: cem Date: Sun Oct 18 20:20:11 2015 New Revision: 289541 URL: https://svnweb.freebsd.org/changeset/base/289541 Log: NTB: Simplify ntb_map_pci_bars Skip using a function pointer for shared error logging. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289543 - head/sys/dev/ntb/ntb_hw

2015-10-18 Thread Conrad E. Meyer
Author: cem Date: Sun Oct 18 20:20:29 2015 New Revision: 289543 URL: https://svnweb.freebsd.org/changeset/base/289543 Log: NTB: Flesh out the rest of the xeon_setup_b2b_mw changes Move all Xeon secondary register setup to the setup_b2b_mw routine. We use subroutines to make it a bit

svn commit: r289542 - head/sys/dev/ntb/ntb_hw

2015-10-18 Thread Conrad E. Meyer
Author: cem Date: Sun Oct 18 20:20:20 2015 New Revision: 289542 URL: https://svnweb.freebsd.org/changeset/base/289542 Log: NTB: "Split ntb_hw_intel and ntb_transport drivers" This Linux commit was more or less a rewrite. Unfortunately, the commit log does not give a lot of context for

svn commit: r289545 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-18 Thread Conrad E. Meyer
Author: cem Date: Sun Oct 18 20:20:48 2015 New Revision: 289545 URL: https://svnweb.freebsd.org/changeset/base/289545 Log: if_ntb: Rename things to match Linux driver No functional change. Part of the huge rewrite (e26a5843). Obtained from:Linux (e26a5843) (Dual BSD/GPL

svn commit: r289538 - head/sys/dev/ntb/ntb_hw

2015-10-18 Thread Conrad E. Meyer
Author: cem Date: Sun Oct 18 20:19:44 2015 New Revision: 289538 URL: https://svnweb.freebsd.org/changeset/base/289538 Log: NTB: Rename some constants to match Linux No functional change. Obtained from:Linux (part of e26a5843) (Dual BSD/GPL driver) Sponsored by: EMC / Isilon

svn commit: r289546 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-18 Thread Conrad E. Meyer
Author: cem Date: Sun Oct 18 20:20:57 2015 New Revision: 289546 URL: https://svnweb.freebsd.org/changeset/base/289546 Log: if_ntb: MFV e26a5843: Move MW/DB management to if_ntb This is the last e26a5843 patch. The general thrust of the rewrite was to move more responsibility for Memory

svn commit: r289540 - head/sys/dev/ntb/ntb_hw

2015-10-18 Thread Conrad E. Meyer
Author: cem Date: Sun Oct 18 20:20:02 2015 New Revision: 289540 URL: https://svnweb.freebsd.org/changeset/base/289540 Log: NTB: Simplify interrupt handling by merging SoC/Xeon Some interrupt-related function names changed to match Linux. No functional change. Still part of the huge

svn commit: r289544 - head/sys/dev/ntb/if_ntb

2015-10-18 Thread Conrad E. Meyer
Author: cem Date: Sun Oct 18 20:20:38 2015 New Revision: 289544 URL: https://svnweb.freebsd.org/changeset/base/289544 Log: if_ntb: Replace handmade bitset macros with sys/bitset.h No functional change. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r289539 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-18 Thread Conrad E. Meyer
Author: cem Date: Sun Oct 18 20:19:53 2015 New Revision: 289539 URL: https://svnweb.freebsd.org/changeset/base/289539 Log: NTB: Rename some variables/functions to match Linux No functional change. Still part of the huge e26a5843 rewrite. I'm trying to make it less of a complete

svn commit: r289467 - in head: lib/libc/string share/man/man3 share/man/man9

2015-10-17 Thread Conrad E. Meyer
Author: cem Date: Sat Oct 17 19:55:58 2015 New Revision: 289467 URL: https://svnweb.freebsd.org/changeset/base/289467 Log: Document bitset(9) Added: head/share/man/man9/bitset.9 (contents, props changed) Modified: head/lib/libc/string/ffs.3 head/share/man/man3/bitstring.3

svn commit: r289397 - head/sys/dev/ntb/ntb_hw

2015-10-15 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 15 23:46:07 2015 New Revision: 289397 URL: https://svnweb.freebsd.org/changeset/base/289397 Log: NTB: MFV ab760a0c: Add split BAR support for Haswell On the Haswell platform, a split BAR option to allow creation of 2 32bit BARs (4 and 5) from the 64bit BAR 4.

svn commit: r289396 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-15 Thread Conrad E. Meyer
Author: cem Date: Thu Oct 15 23:45:43 2015 New Revision: 289396 URL: https://svnweb.freebsd.org/changeset/base/289396 Log: NTB: Add variable number MW, DB CB support code This is a follow-up to r289208: "Xeon Errata Workaround." Add logic to support a variable number of memory windows

svn commit: r289340 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-14 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 23:44:42 2015 New Revision: 289340 URL: https://svnweb.freebsd.org/changeset/base/289340 Log: NTB: MFV 403c63cb: client event cleanup Provide a better event interface between the client and transport. Authored by: Jon Mason Obtained from:Linux

svn commit: r289345 - head/sys/dev/ntb/if_ntb

2015-10-14 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 23:47:35 2015 New Revision: 289345 URL: https://svnweb.freebsd.org/changeset/base/289345 Log: NTB: MFV a1413cfb: correct the spread of queues over mw's The detection of an uneven number of queues on the given memory windows was not correct. The mw_num is

svn commit: r289346 - head/sys/dev/ntb/if_ntb

2015-10-14 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 23:47:52 2015 New Revision: 289346 URL: https://svnweb.freebsd.org/changeset/base/289346 Log: if_ntb: MFV 3cc5ba19: Add alignment check to meet hardware requirement Original Linux commit log: The NTB translate register must have the value to be BAR size

svn commit: r289344 - head/sys/dev/ntb/ntb_hw

2015-10-14 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 23:47:23 2015 New Revision: 289344 URL: https://svnweb.freebsd.org/changeset/base/289344 Log: NTB: Remap MSI-X messages over available slots Remap MSI-X messages over available slots rather than falling back to legacy INTx when fewer MSI-X slots are available

svn commit: r289343 - head/sys/dev/ntb/ntb_hw

2015-10-14 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 23:47:08 2015 New Revision: 289343 URL: https://svnweb.freebsd.org/changeset/base/289343 Log: NTB: Reserve link event doorbell callback on Xeon Consumers that registered on this bit would never see a callback and it is likely a mistake. This does not

svn commit: r289347 - head/sys/dev/ntb/ntb_hw

2015-10-14 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 23:48:03 2015 New Revision: 289347 URL: https://svnweb.freebsd.org/changeset/base/289347 Log: NTB: Abstract doorbell register access The doorbell registers (and associated mask) are 16-bit on Xeon but 64-bit on SoC. Abstract IO access to doorbell registers

svn commit: r289348 - head/sys/dev/ntb/ntb_hw

2015-10-14 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 23:48:16 2015 New Revision: 289348 URL: https://svnweb.freebsd.org/changeset/base/289348 Log: NTB: MFV 1db97f25: Pull out platform detection logic Pull out read of PPD and platform detection logic to new functions, ntb_detect_xeon(), ntb_detect_soc(). No

svn commit: r289341 - head/sys/dev/ntb/if_ntb

2015-10-14 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 23:45:35 2015 New Revision: 289341 URL: https://svnweb.freebsd.org/changeset/base/289341 Log: if_ntb: Cleanup style Modified: head/sys/dev/ntb/if_ntb/if_ntb.c Modified: head/sys/dev/ntb/if_ntb/if_ntb.c

svn commit: r289342 - head/sys/dev/ntb/ntb_hw

2015-10-14 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 23:46:15 2015 New Revision: 289342 URL: https://svnweb.freebsd.org/changeset/base/289342 Log: NTB: MFV 53a788a7: Split ntb_setup_interrupts() into SOC, Xeon, and legacy routines The names don't line up 100% with Linux. Our routines are named

svn commit: r289280 - head/sys/dev/ntb/ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 02:14:15 2015 New Revision: 289280 URL: https://svnweb.freebsd.org/changeset/base/289280 Log: NTB: MFV 78958433: Enable Snoop on Primary Side Enable Snoop from Primary to Secondary side on BAR23 and BAR45 on all TLPs. Previously, Snoop was only enabled from

svn commit: r289281 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Wed Oct 14 02:14:45 2015 New Revision: 289281 URL: https://svnweb.freebsd.org/changeset/base/289281 Log: NTB: MFV e8aeb60c: Disable interrupts and poll under high load Authored by: Jon Mason Obtained from:Linux (Dual BSD/GPL driver) Sponsored by: EMC / Isilon

svn commit: r289233 - head/sys/dev/ntb/ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 17:21:38 2015 New Revision: 289233 URL: https://svnweb.freebsd.org/changeset/base/289233 Log: NTB: Update pci ids Add JSF, HSX, BDX ids; add two additional Xeon errata flags while we're here. Obtained from:Linux Sponsored by: EMC / Isilon

svn commit: r289234 - in head/sys: conf dev/ntb/ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 17:22:23 2015 New Revision: 289234 URL: https://svnweb.freebsd.org/changeset/base/289234 Log: NTB: Enable 32-bit support Sponsored by: EMC / Isilon Storage Division Modified: head/sys/conf/files.i386 head/sys/dev/ntb/ntb_hw/ntb_hw.c Modified:

svn commit: r289232 - head/sys/dev/ntb/ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 17:20:47 2015 New Revision: 289232 URL: https://svnweb.freebsd.org/changeset/base/289232 Log: NTB: MFV 113bf1c9: BWD Link Recovery The BWD NTB device will drop the link if an error is encountered on the point-to-point PCI bridge. The link will stay down

svn commit: r289257 - head/sys/dev/ntb/ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 19:45:29 2015 New Revision: 289257 URL: https://svnweb.freebsd.org/changeset/base/289257 Log: NTB: (partial) MFV ed6c24ed: NTB-RP support This commit does not actually add NTB-RP support. Mostly it serves to shuffle code around to match the Linux driver.

svn commit: r289255 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 19:44:25 2015 New Revision: 289255 URL: https://svnweb.freebsd.org/changeset/base/289255 Log: NTB: MFV 49793889: Rename Variables for NTB-RP Many variable names in the NTB driver refer to the primary or secondary side. However, these variables will be used

svn commit: r289258 - head/sys/dev/ioat

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 19:46:12 2015 New Revision: 289258 URL: https://svnweb.freebsd.org/changeset/base/289258 Log: ioat: Use correct macro, fix build on i386 Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ioat/ioat_internal.h Modified:

svn commit: r289259 - head/sys/dev/ntb/if_ntb

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 19:46:54 2015 New Revision: 289259 URL: https://svnweb.freebsd.org/changeset/base/289259 Log: if_ntb: Fix build on i386 Sponsored by: EMC / Isilon Storage Division Modified: head/sys/dev/ntb/if_ntb/if_ntb.c Modified: head/sys/dev/ntb/if_ntb/if_ntb.c

svn commit: r289265 - head/sys/dev/ntb/ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 20:54:38 2015 New Revision: 289265 URL: https://svnweb.freebsd.org/changeset/base/289265 Log: NTB: MFV b1ef0043: Remove References of non-B2B BWD HW NTB-RP is not a supported configuration on BWD hardware. Remove the code attempting to set it up.

svn commit: r289266 - in head/sys/dev/ntb: if_ntb ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 20:55:21 2015 New Revision: 289266 URL: https://svnweb.freebsd.org/changeset/base/289266 Log: NTB: MFV f9a2cf89: Comment Fix Add "data" ntb_register_db_callback parameter description comment and correct poor speling. Authored by: Jon Mason Obtained

svn commit: r289274 - head/sys/dev/ntb/ntb_hw

2015-10-13 Thread Conrad E. Meyer
Author: cem Date: Tue Oct 13 23:43:06 2015 New Revision: 289274 URL: https://svnweb.freebsd.org/changeset/base/289274 Log: NTB: MFV 58b88920: Document HW errata Add a comment describing the necessary ordering of modifications to the NTB Limit and Base registers. Authored by: Jon

<    1   2   3   4   5   >