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
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.
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:
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:
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
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
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
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
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
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:
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:
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:
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
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.
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
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:
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
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:
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.
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:
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:
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:
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
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.
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
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
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
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
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
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
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:
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
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:
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
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
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
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:
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
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
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
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:
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:
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:
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
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:
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:
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
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
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
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:
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
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,
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
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
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 /
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
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:
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
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:
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
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
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:
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
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:
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
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
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.
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:
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
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
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
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
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
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
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:
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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:
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
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.
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
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:
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
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.
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
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
301 - 400 of 447 matches
Mail list logo