Author: cem
Date: Tue Apr 26 22:30:54 2016
New Revision: 298671
URL: https://svnweb.freebsd.org/changeset/base/298671
Log:
g_part_bsd64: Check for valid on-disk npartitions value
This value is u32 on disk, but assigned to an int in memory. After we do the
implicit conversion via
Author: cem
Date: Tue Apr 26 22:01:07 2016
New Revision: 298670
URL: https://svnweb.freebsd.org/changeset/base/298670
Log:
ciss(4): Fix overrun of array
The softc member 'ciss_logical' is an array of 'ciss_max_logical_bus' members.
Most of the time it is iterated correctly. This patch
Author: cem
Date: Tue Apr 26 21:44:08 2016
New Revision: 298669
URL: https://svnweb.freebsd.org/changeset/base/298669
Log:
iscsi_initiator(4): Fix use-after-free, double-free
ism_stop() already destroys and frees 'sp', including a call to ic_destroy().
Don't dereference 'sp' after
Author: cem
Date: Tue Apr 26 20:59:21 2016
New Revision: 298665
URL: https://svnweb.freebsd.org/changeset/base/298665
Log:
aacraid(4): Fix some mostly trivial buffer overruns
strcpy(3) emits a trailing nul byte, trampling fields after the intended
destination. Instead, use strncpy(3),
Author: cem
Date: Tue Apr 26 20:27:17 2016
New Revision: 298663
URL: https://svnweb.freebsd.org/changeset/base/298663
Log:
radix_mpath: Don't derefence a NULL pointer in for loop iteration
It seems rn_dupedkey may be NULL, because of the NULL check inside the loop.
(Also, the rt gets
Author: cem
Date: Tue Apr 26 20:06:35 2016
New Revision: 298662
URL: https://svnweb.freebsd.org/changeset/base/298662
Log:
PCI Enhanced Allocation: Annotate an intentional switch fallthrough
This is a trivial follow-up to r296308. Annotate the intentional fallthrough
to make it clear
Author: cem
Date: Tue Apr 26 19:57:35 2016
New Revision: 298661
URL: https://svnweb.freebsd.org/changeset/base/298661
Log:
osd(9): Change array pointer to array pointer type from void*
This is a minor follow-up to r297422, prompted by a Coverity warning. (It's
not a real defect, just a
Author: cem
Date: Tue Apr 26 19:06:28 2016
New Revision: 298659
URL: https://svnweb.freebsd.org/changeset/base/298659
Log:
iwm(4): Don't dereference potentially NULL pointer before NULL check
Introduced in r298594. There is no path before the 'vap == NULL' check where
vap is not already
Author: cem
Date: Tue Apr 26 18:20:41 2016
New Revision: 298657
URL: https://svnweb.freebsd.org/changeset/base/298657
Log:
emu10kx: Don't iterate beyond array bounds
Reported by: Coverity
CID: 1354978
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Tue Apr 26 18:11:45 2016
New Revision: 298655
URL: https://svnweb.freebsd.org/changeset/base/298655
Log:
kgssapi: Don't leak memory in error cases
Reported by: Coverity
CIDs: 1007046, 1007047, 1007048
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Sun Apr 24 21:35:01 2016
New Revision: 298553
URL: https://svnweb.freebsd.org/changeset/base/298553
Log:
AMD64 pmap: Use howmany() macro
Use param.h howmany() instead of hand-rolled version.
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Wed Apr 20 05:13:36 2016
New Revision: 298340
URL: https://svnweb.freebsd.org/changeset/base/298340
Log:
sym(4): Don't double-free 'sim' in failure case
Reported by: Coverity
CID: 1006106
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Wed Apr 20 05:11:00 2016
New Revision: 298339
URL: https://svnweb.freebsd.org/changeset/base/298339
Log:
sound(4): Don't use-after-free in midi module unload
Also, use ANSI function parameter definitions (void) while here.
Reported by: Coverity
CID:
Author: cem
Date: Wed Apr 20 05:02:13 2016
New Revision: 298338
URL: https://svnweb.freebsd.org/changeset/base/298338
Log:
kgssapi(4): Don't allow user-provided arguments to overrun stack buffer
An over-long path argument to gssd_syscall could overrun the stack sockaddr_un
buffer. Fix
Author: cem
Date: Wed Apr 20 04:50:33 2016
New Revision: 298337
URL: https://svnweb.freebsd.org/changeset/base/298337
Log:
pty(4): Use strlcpy to guarantee destination buffer isn't overrun
The devtoname() name is strcpyed into a small stack buffer. Sure, we always
expect the name to be
Author: cem
Date: Wed Apr 20 04:45:23 2016
New Revision: 298336
URL: https://svnweb.freebsd.org/changeset/base/298336
Log:
kgssapi(4): Fix string overrun in Kerberos principal construction
'buf.value' was previously treated as a nul-terminated string, but only
allocated with strlen()
Author: cem
Date: Wed Apr 20 03:48:57 2016
New Revision: 298335
URL: https://svnweb.freebsd.org/changeset/base/298335
Log:
i915kms: Fix memory leak if a CRT is detected
Reported by: Coverity
CID: 1090729
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Wed Apr 20 03:45:45 2016
New Revision: 298334
URL: https://svnweb.freebsd.org/changeset/base/298334
Log:
drm2(4): Fix double-free in low-memory error path
Reallocf frees 'block'; don't attempt to free it again.
Reported by: Coverity
CID: 1091165
Author: cem
Date: Wed Apr 20 03:24:59 2016
New Revision: 298333
URL: https://svnweb.freebsd.org/changeset/base/298333
Log:
Make Racct macro slightly more gracious given RACCT_UNDEFINED
rctl_string_to_rule could previously index below the zeroth element of
racct_types via the macro.
Author: cem
Date: Wed Apr 20 03:05:32 2016
New Revision: 298332
URL: https://svnweb.freebsd.org/changeset/base/298332
Log:
aesni(4): Initialize error before use
Reported by: Coverity
CID: 1331554
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Wed Apr 20 02:58:22 2016
New Revision: 298331
URL: https://svnweb.freebsd.org/changeset/base/298331
Log:
i915kms intel_pm: Read from actual tsc_freq instead of uninitialized local
The local of the same name would alias the global, but we didn't even include
the header
Author: cem
Date: Wed Apr 20 02:09:38 2016
New Revision: 298330
URL: https://svnweb.freebsd.org/changeset/base/298330
Log:
kern_rctl: Fix resource leak in error path
Ordinarily, rctl_write_outbuf frees 'sb'. However, if we are in low memory
conditions we skip past the rctl_write_outbuf.
Author: cem
Date: Wed Apr 20 02:01:45 2016
New Revision: 298329
URL: https://svnweb.freebsd.org/changeset/base/298329
Log:
radix rn_inithead: Fix minor leak in low memory conditions
R_Zalloc is essentially a malloc(M_NOWAIT) wrapper. It is possible that 'rnh'
failed to allocate, but
Author: cem
Date: Wed Apr 20 01:39:31 2016
New Revision: 298328
URL: https://svnweb.freebsd.org/changeset/base/298328
Log:
bpf_getdltlist: Don't overrun 'lst'
'lst' is allocated with 'n1' members. 'n' indexes 'lst'. So 'n == n1' is an
invalid 'lst' index. This is a follow-up to
Author: cem
Date: Wed Apr 20 01:17:18 2016
New Revision: 298322
URL: https://svnweb.freebsd.org/changeset/base/298322
Log:
nctgpio(4): Don't index past the end of sc->pins array
This driver thinks that the NCT_MAX_PIN index is a valid index in a few places
(nct_attach() for-loop, as well
Author: cem
Date: Wed Apr 20 01:10:07 2016
New Revision: 298321
URL: https://svnweb.freebsd.org/changeset/base/298321
Log:
SRAT: Don't overflow domain_pxm table
If we reached MAXMEMDOM, we would previously try to insert an additional
element and only detect overflow after causing
Author: cem
Date: Wed Apr 20 01:03:06 2016
New Revision: 298319
URL: https://svnweb.freebsd.org/changeset/base/298319
Log:
linprocfs_doproclimits: Initialize error return before use
Reported by: Coverity
CID: 1354623
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Wed Apr 20 01:00:13 2016
New Revision: 298318
URL: https://svnweb.freebsd.org/changeset/base/298318
Log:
linprocfs: Don't print uninitialized values
Reported by: Coverity
CID: 1354624
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Fri Apr 15 20:19:32 2016
New Revision: 298086
URL: https://svnweb.freebsd.org/changeset/base/298086
Log:
savecore(8): Explicitly cast to fix i386 warning
Modified:
head/sbin/savecore/savecore.c
Modified: head/sbin/savecore/savecore.c
Author: cem
Date: Fri Apr 15 17:45:12 2016
New Revision: 298076
URL: https://svnweb.freebsd.org/changeset/base/298076
Log:
Add 4Kn kernel dump support
(And 4Kn minidump support, but only for amd64.)
Make sure all I/O to the dump device is of the native sector size. To
that end, we
Author: cem
Date: Wed Apr 13 00:30:42 2016
New Revision: 297897
URL: https://svnweb.freebsd.org/changeset/base/297897
Log:
Add a small tool, resizewin(1), to query terminal for window size
Submitted by: Daniel O'Connor
Reviewed by: kan, wblock, cem
Sponsored by: EMC / Isilon Storage
Author: cem
Date: Sat Apr 9 13:15:34 2016
New Revision: 297746
URL: https://svnweb.freebsd.org/changeset/base/297746
Log:
ioat(4): ioat_get_dmaengine(): Add M_WAITOK mode
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ioat/ioat.c
head/sys/dev/ioat/ioat.h
Author: cem
Date: Fri Mar 25 19:35:29 2016
New Revision: 297273
URL: https://svnweb.freebsd.org/changeset/base/297273
Log:
Add td_swinvoltick to track last involuntary context switch
Expose in DDB via "show thread."
Reviewed by: markj
Sponsored by: EMC / Isilon Storage Division
Author: cem
Date: Thu Mar 17 01:05:53 2016
New Revision: 296973
URL: https://svnweb.freebsd.org/changeset/base/296973
Log:
fail(9): Only gather/print stacks if STACK is enabled
This is a follow-up fix to the earlier r296927.
Reported by: bz
Sponsored by: EMC / Isilon Storage
Author: cem
Date: Wed Mar 16 05:05:54 2016
New Revision: 296929
URL: https://svnweb.freebsd.org/changeset/base/296929
Log:
fail.9: Bump Dd
Modified:
head/share/man/man9/fail.9
Modified: head/share/man/man9/fail.9
==
Author: cem
Date: Wed Mar 16 04:22:32 2016
New Revision: 296927
URL: https://svnweb.freebsd.org/changeset/base/296927
Log:
fail(9): Upstreaming some fail point enhancements
This is several year's worth of fail point upgrades done at EMC Isilon. They
are interdependent enough that it
Author: cem
Date: Wed Mar 2 19:10:39 2016
New Revision: 296321
URL: https://svnweb.freebsd.org/changeset/base/296321
Log:
daemon(8): Add -t option to set process title
The default process title is taken from the argv[0] value (any
particular hardlink name). Add a -t option to override
Author: cem
Date: Sun Feb 14 22:37:28 2016
New Revision: 295618
URL: https://svnweb.freebsd.org/changeset/base/295618
Log:
NTB: workaround for high traffic hardware hang
This patch comes from Dave Jiang's Linux tree, davejiang/ntb. It hasn't
been accepted into Linus' tree, so I do not
Author: cem
Date: Sat Feb 13 19:01:56 2016
New Revision: 295603
URL: https://svnweb.freebsd.org/changeset/base/295603
Log:
ioat(4): Decode/define more capabilities, operations
These are defined in the Intel Haswell EDS volume 2 (registers) (507849
v2.1).
Sponsored by: EMC / Isilon
Author: cem
Date: Sat Feb 13 22:51:25 2016
New Revision: 295605
URL: https://svnweb.freebsd.org/changeset/base/295605
Log:
ioat(4): On error detected in ithread, defer HW reset to taskqueue
The I/OAT HW reset process may sleep, so it is invalid to perform a
channel reset from the
Author: cem
Date: Sat Feb 13 22:51:17 2016
New Revision: 295604
URL: https://svnweb.freebsd.org/changeset/base/295604
Log:
ioat(4): Also check for errors if the channel is suspended
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ioat/ioat.c
Modified:
Author: cem
Date: Sat Feb 13 02:55:45 2016
New Revision: 295588
URL: https://svnweb.freebsd.org/changeset/base/295588
Log:
ioat(4): Recheck status register on zero-descriptor wakeups
Errors that halt the channel don't necessarily result in a completion
update, apparently.
Sponsored
Author: cem
Date: Wed Feb 10 20:28:28 2016
New Revision: 295486
URL: https://svnweb.freebsd.org/changeset/base/295486
Log:
ntb_hw(4): Allow any x86 PAT caching flags for MW defaults
Replace the hw.ntb.enable_writecombine tunable with
hw.ntb.default_mw_pat. It can be set with several
Author: cem
Date: Wed Feb 10 20:49:22 2016
New Revision: 295487
URL: https://svnweb.freebsd.org/changeset/base/295487
Log:
ntb_hw(4): Print correct PAT name for non-WC/WB types mapped at load
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/ntb_hw/ntb_hw.c
Author: cem
Date: Wed Feb 3 01:40:07 2016
New Revision: 295184
URL: https://svnweb.freebsd.org/changeset/base/295184
Log:
Revert r295167 at bdrewery's request
$ svn merge -c -295167 .
JHB reports Navdeep reports that it breaks distribution and etcupdate.
Approved by: bdrewery
Author: cem
Date: Tue Feb 2 00:14:51 2016
New Revision: 295134
URL: https://svnweb.freebsd.org/changeset/base/295134
Log:
kcrypto_aes: Use separate sessions for AES and SHA1
Some hardware supports AES acceleration but not SHA1, e.g., AES-NI
extensions. It is useful to have accelerated
Author: cem
Date: Fri Jan 15 01:34:43 2016
New Revision: 294062
URL: https://svnweb.freebsd.org/changeset/base/294062
Log:
ioat(4): Add support for 'fence' bit with DMA_FENCE flag
Some classes of IOAT hardware prefetch reads. DMA operations that
depend on the result of prior DMA
Author: cem
Date: Thu Jan 7 23:02:15 2016
New Revision: 293390
URL: https://svnweb.freebsd.org/changeset/base/293390
Log:
ioat(4): Add ioat_acquire_reserve() KPI
ioat_acquire_reserve() is an extended version of ioat_acquire(). It
allows users to reserve space in the channel for some
Author: cem
Date: Tue Jan 5 20:42:19 2016
New Revision: 293221
URL: https://svnweb.freebsd.org/changeset/base/293221
Log:
ioat(4): Add ioat_get_max_io_size() KPI
Consumers need to know the permitted IO size to send maximally sized
chunks to the hardware.
Sponsored by: EMC / Isilon
Author: cem
Date: Mon Dec 21 04:42:58 2015
New Revision: 292528
URL: https://svnweb.freebsd.org/changeset/base/292528
Log:
x86: Add CPUID_STDEXT_* macros for CPU feature bits
A follow-up to r292478 and r292488.
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Sat Dec 19 20:47:15 2015
New Revision: 292478
URL: https://svnweb.freebsd.org/changeset/base/292478
Log:
x86: Detect feature flags "CLWB" and "PCOMMIT"
"The availability of CLWB instruction is indicated by the presence of
the CPUID feature flag CLWB (bit 24 of the EBX
Author: cem
Date: Sun Dec 20 03:34:30 2015
New Revision: 292488
URL: https://svnweb.freebsd.org/changeset/base/292488
Log:
x86: Detect feature flags "AVX512DQ", "AVX512IFMA", "AVX512BW", "AVX512VBMI"
Documented in Intel Architecture Set Extensions Programming Reference
(319433-023).
Author: cem
Date: Thu Dec 17 17:48:57 2015
New Revision: 292406
URL: https://svnweb.freebsd.org/changeset/base/292406
Log:
vm_page_replace: add wrapper to KASSERT about old page
It turns out the callers of vm_page_replace know exactly which page they are
replacing and would like to
Author: cem
Date: Thu Dec 17 23:21:37 2015
New Revision: 292413
URL: https://svnweb.freebsd.org/changeset/base/292413
Log:
ioat(4): Add an API to get HW revision
Different revisions support different operations. Refer to Intel
External Design Specifications to figure out what your
Author: cem
Date: Wed Dec 16 23:23:12 2015
New Revision: 292383
URL: https://svnweb.freebsd.org/changeset/base/292383
Log:
vm_page.h: page busy macro fixups
Minor changes to:
- delete extraneous trailing semicolons from macro definitions, and
- correct spelling of "busying" in
Author: cem
Date: Mon Dec 14 22:00:07 2015
New Revision: 292226
URL: https://svnweb.freebsd.org/changeset/base/292226
Log:
ioat(4): Gather and expose DMA statistics via sysctl
Organize the dev.ioat sysctl node into a tree while we're here.
Sponsored by: EMC / Isilon Storage Division
Author: cem
Date: Mon Dec 14 22:02:01 2015
New Revision: 292229
URL: https://svnweb.freebsd.org/changeset/base/292229
Log:
ioatcontrol(8): Add support for interrupt coalescing
The new flag, -c , sets the interrupt coalescing period in
microseconds through the new ioat(4) API
Author: cem
Date: Mon Dec 14 22:01:52 2015
New Revision: 292228
URL: https://svnweb.freebsd.org/changeset/base/292228
Log:
ioat(4): Add support for interrupt coalescing
In I/OAT, this is done through the INTRDELAY register. On supported
platforms, this register can coalesce interrupts
Author: cem
Date: Thu Dec 10 22:57:27 2015
New Revision: 292067
URL: https://svnweb.freebsd.org/changeset/base/292067
Log:
vm_page_replace: remove redundant radix lookup
Remove redundant lookup of the old page from vm_page_replace. Verification
that the old page exists is already done
Author: cem
Date: Wed Dec 9 22:45:51 2015
New Revision: 292031
URL: https://svnweb.freebsd.org/changeset/base/292031
Log:
ioat(4): Add ioat_copy_8k_aligned KPI
The hardware supports descriptors with two non-contiguous pages. This
allows issuing one descriptor for an 8k copy from/to
Author: cem
Date: Wed Dec 9 22:46:00 2015
New Revision: 292032
URL: https://svnweb.freebsd.org/changeset/base/292032
Log:
ioat(4): Add Broadwell-EP PCI IDs
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ioat/ioat.c
Modified: head/sys/dev/ioat/ioat.c
Author: cem
Date: Thu Dec 10 02:05:35 2015
New Revision: 292044
URL: https://svnweb.freebsd.org/changeset/base/292044
Log:
ioat(4): Add ioatcontrol(8) testing for copy_8k
Add -E ("Eight k") and -m ("Memcpy") modes to the ioatcontrol(8) tool.
Prompted by: rpokala
Sponsored by: EMC /
Author: cem
Date: Sun Dec 6 17:46:12 2015
New Revision: 291907
URL: https://svnweb.freebsd.org/changeset/base/291907
Log:
vm_fault_hold: handle vm_page_rename failure
On vm_page_rename failure, fix a missing object unlock and a double free of
a page.
First remove the old page, then
Author: cem
Date: Sun Dec 6 17:39:13 2015
New Revision: 291906
URL: https://svnweb.freebsd.org/changeset/base/291906
Log:
pmap_invalidate_range: For very large ranges, flush the whole TLB
Typical TLBs have 40-512 entries available. At some point, iterating
every single page in a
Author: cem
Date: Sat Dec 5 17:01:38 2015
New Revision: 291861
URL: https://svnweb.freebsd.org/changeset/base/291861
Log:
style.9: Add a small blurb about allowing bool
It was allowed before, but make it very explicit it is allowed now. And
prefer 'bool' to older types that were used
Author: cem
Date: Fri Dec 4 23:31:32 2015
New Revision: 291826
URL: https://svnweb.freebsd.org/changeset/base/291826
Log:
ioat(4): Add MODULE_VERSION so MODULE_DEPEND works
Suggested by: jhb
Review in progress: cc
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Thu Dec 3 17:21:10 2015
New Revision: 291704
URL: https://svnweb.freebsd.org/changeset/base/291704
Log:
Pull vm_object_scan_all_shadowed out of vm_object_backing_scan
These two functions were largely unrelated, they just used the same same
loop logic to walk through a
Author: cem
Date: Thu Dec 3 17:22:55 2015
New Revision: 291706
URL: https://svnweb.freebsd.org/changeset/base/291706
Log:
if_ntb: Don't roundup MW size to full BAR size unnecessarily
Note that the MW allocation still must be BAR *aligned*. So, this only
loosens the constraints on MW
Author: cem
Date: Thu Dec 3 17:22:45 2015
New Revision: 291705
URL: https://svnweb.freebsd.org/changeset/base/291705
Log:
if_ntb: Log error *before* zeroing relevant variables
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/if_ntb/if_ntb.c
Modified:
Author: cem
Date: Wed Nov 25 01:59:08 2015
New Revision: 291280
URL: https://svnweb.freebsd.org/changeset/base/291280
Log:
NTB: WC/WB isn't enough; set MMR region as UC
And expose vm_memattr_t of current mapping to consumers (as well as the
ability to change it to one of UC, WB, WC).
Author: cem
Date: Tue Nov 24 18:51:17 2015
New Revision: 291263
URL: https://svnweb.freebsd.org/changeset/base/291263
Log:
ntb: Add MW tunable for MMR Xeon errata workaround
Adds a new tunable, ntb.hw.b2b_mw_idx, which specifies the offset (from the
total number of memory windows) to use
Author: cem
Date: Thu Nov 19 19:53:09 2015
New Revision: 291084
URL: https://svnweb.freebsd.org/changeset/base/291084
Log:
if_ntb: Add Xeon link watchdog register writes
This feature is disabled by default. To enable it, tune
hw.if_ntb.enable_xeon_watchdog to non-zero.
If enabled,
Author: cem
Date: Thu Nov 19 19:53:19 2015
New Revision: 291085
URL: https://svnweb.freebsd.org/changeset/base/291085
Log:
if_ntb: Initialize if_mtu to the correct MTU
Lower the payload data (IP) portion of the MTU from 0x1 to
IP_MAXPACKET (0x) to avoid panicing the IP stack.
Author: cem
Date: Wed Nov 18 22:20:40 2015
New Revision: 291033
URL: https://svnweb.freebsd.org/changeset/base/291033
Log:
NTB: Expose 32-bit BAR limits to consumers
32-bit BARs can only address memory mapped in the low 32 bits of
physical RAM. Expose this as a 'plimit' out parameter
Author: cem
Date: Wed Nov 18 22:20:31 2015
New Revision: 291032
URL: https://svnweb.freebsd.org/changeset/base/291032
Log:
NTB: Mask off the low 12 bits of address/range registers
Sometimes they'll read spurious values (observed: 0xc on Broadwell-DE),
failing link negotiation.
Author: cem
Date: Wed Nov 18 22:20:04 2015
New Revision: 291029
URL: https://svnweb.freebsd.org/changeset/base/291029
Log:
NTB: Fix 32-bit BAR size validation
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/ntb_hw/ntb_hw.c
Modified:
Author: cem
Date: Wed Nov 18 22:20:21 2015
New Revision: 291031
URL: https://svnweb.freebsd.org/changeset/base/291031
Log:
ntb_hw: Add programmatic interface to enable/disable WC
Enable users to enable/disable WC on memory windows programmatically.
Sponsored by: EMC / Isilon Storage
Author: cem
Date: Wed Nov 18 22:19:55 2015
New Revision: 291028
URL: https://svnweb.freebsd.org/changeset/base/291028
Log:
if_ntb: Diff reduce with Linux
Use bus_space_write instead of (non-volatile) C pointer writes via an
iowrite32() shim in the same places as the Dual BSD/GPL Linux
Author: cem
Date: Wed Nov 18 22:20:13 2015
New Revision: 291030
URL: https://svnweb.freebsd.org/changeset/base/291030
Log:
ntb_hw: Add tunable to disable write-combining
The tunable 'hw.ntb.enable_writecombine' may be set to zero to
administratively disable write combining the mapped NTB
Author: cem
Date: Thu Nov 19 00:27:26 2015
New Revision: 291045
URL: https://svnweb.freebsd.org/changeset/base/291045
Log:
in6_mc_get: Fix recursion on if_addr_lock on malloc failure
Analogously to r291040, in6_mc_get recurses on if_addr_lock if the
M_NOWAIT allocation fails. The fix is
Author: cem
Date: Wed Nov 18 23:53:13 2015
New Revision: 291040
URL: https://svnweb.freebsd.org/changeset/base/291040
Log:
in_getmulti: Fix recursion on if_addr_lock on malloc failure
When the M_NOWAIT allocation fails, we recurse the if_addr_lock trying
to clean up. Reorder the cleanup
Author: cem
Date: Wed Nov 18 22:20:49 2015
New Revision: 291034
URL: https://svnweb.freebsd.org/changeset/base/291034
Log:
if_ntb: Reuse receive buffers correctly
Discard the unused rx_free_q. Instead, reuse inputed packets by putting
them back on the *pend* queue after
Author: cem
Date: Sat Nov 14 01:23:13 2015
New Revision: 290810
URL: https://svnweb.freebsd.org/changeset/base/290810
Log:
if_ntb: Clear the right QP in the free bitmap
Now it can ping back and forth.
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Thu Nov 12 19:07:03 2015
New Revision: 290725
URL: https://svnweb.freebsd.org/changeset/base/290725
Log:
NTB: MFV 8b782fab: unify translation addresses
There is no need for the upstream and downstream addresses to be
different for the NTB configs. Go to using a single
Author: cem
Date: Thu Nov 12 18:42:06 2015
New Revision: 290724
URL: https://svnweb.freebsd.org/changeset/base/290724
Log:
kern_testfrwk.9: Clean up manual page style
Igor has many less complaints now. I think the two remaining are bogus, but I
am also not sure why Igor is producing
Author: cem
Date: Wed Nov 11 18:56:21 2015
New Revision: 290688
URL: https://svnweb.freebsd.org/changeset/base/290688
Log:
if_ntb: MFV c92ba3c5: invalid buf pointer in multi-MW setups
Order of operations issue with the QP Num and MW count, which would
result in the receive buffer pointer
Author: cem
Date: Wed Nov 11 18:55:34 2015
New Revision: 290683
URL: https://svnweb.freebsd.org/changeset/base/290683
Log:
if_ntb: Transport link cleanup needs to be on a taskqueue
Because it can sleep drainking link work callout(s). Linux (dual
BSD/GPL driver) does something very
Author: cem
Date: Wed Nov 11 18:55:44 2015
New Revision: 290684
URL: https://svnweb.freebsd.org/changeset/base/290684
Log:
if_ntb: Add module-specific log level
Rather than relying on the quite accurately named 'bootverbose'.
Sponsored by: EMC / Isilon Storage Division
Modified:
Author: cem
Date: Wed Nov 11 18:55:53 2015
New Revision: 290685
URL: https://svnweb.freebsd.org/changeset/base/290685
Log:
ntb_hw: Similarly, add a debug-leveled macro for ntb_hw
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/ntb_hw/ntb_hw.c
Modified:
Author: cem
Date: Wed Nov 11 18:55:25 2015
New Revision: 290682
URL: https://svnweb.freebsd.org/changeset/base/290682
Log:
NTB: Diff reduce with Linux
No functional change.
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/if_ntb/if_ntb.c
Author: cem
Date: Wed Nov 11 18:55:16 2015
New Revision: 290681
URL: https://svnweb.freebsd.org/changeset/base/290681
Log:
ntb_hw: Correctly detect DSD/USD
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: Wed Nov 11 18:54:58 2015
New Revision: 290679
URL: https://svnweb.freebsd.org/changeset/base/290679
Log:
ntb: Use caddr_t to simplify pointer arithmetic
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/if_ntb/if_ntb.c
Author: cem
Date: Wed Nov 11 18:56:11 2015
New Revision: 290687
URL: https://svnweb.freebsd.org/changeset/base/290687
Log:
NTB: Add more HW registers to device sysctl tree
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/ntb_hw/ntb_hw.c
Modified:
Author: cem
Date: Wed Nov 11 18:56:02 2015
New Revision: 290686
URL: https://svnweb.freebsd.org/changeset/base/290686
Log:
ntb: volatile some members set by interrupt routines
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/if_ntb/if_ntb.c
Author: cem
Date: Wed Nov 11 18:55:07 2015
New Revision: 290680
URL: https://svnweb.freebsd.org/changeset/base/290680
Log:
ntb_hw: In INTx fallback, correct db shift from 15 to 16
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/ntb/ntb_hw/ntb_hw.c
Author: cem
Date: Wed Nov 11 18:54:49 2015
New Revision: 290678
URL: https://svnweb.freebsd.org/changeset/base/290678
Log:
NTB: Skip db_valid validation writing DB link bit
In ntb_poll_link, we are intentionally writing the link bit, which is
absent from db_valid_mask. Don't panic on a
Author: cem
Date: Mon Nov 9 16:50:42 2015
New Revision: 290613
URL: https://svnweb.freebsd.org/changeset/base/290613
Log:
linuxkpi/sysfs.h: Cast arg2 through intptr_t to avoid GCC warning
The code compiles fine under Clang, but GCC on PPC is less permissive about
integer and pointer
Author: cem
Date: Sat Nov 7 18:26:32 2015
New Revision: 290505
URL: https://svnweb.freebsd.org/changeset/base/290505
Log:
Flesh out sysctl types further (follow-up of r290475)
Use the right intmax_t type instead of intptr_t in a few remaining
places.
Add support for CTLFLAG_TUN for
Author: cem
Date: Sat Nov 7 23:27:03 2015
New Revision: 290520
URL: https://svnweb.freebsd.org/changeset/base/290520
Log:
savecore(8): Be quiet unless the user asks for verbose
Make savecore(8) more suitable for init-time scripts; be quiet by default.
Sponsored by: EMC / Isilon
Author: cem
Date: Sat Nov 7 23:05:23 2015
New Revision: 290519
URL: https://svnweb.freebsd.org/changeset/base/290519
Log:
hptmv(4): Fix broken sysctl(9) API assumptions
Sponsored by: EMC / Isilon Storage Division
Modified:
head/sys/dev/hptmv/hptproc.c
Modified:
201 - 300 of 447 matches
Mail list logo