freebsd-dev/sys
Kenneth D. Merry 417aa6b850 Fix spurious timeouts on commands sent to mps(4) and mpr(4) controllers.
mps_wait_command() and mpr_wait_command() were using getmicrotime() to
determine elapsed time when checking for a timeout in polled mode.
getmicrotime() isn't guaranteed to monotonically increase, and that
caused spurious timeouts occasionally.

Switch to using getmicrouptime(), which does increase monotonically.
This fixes the spurious timeouts in my test case.

Reviewed by:	slm, scottl
MFC after:	3 days
Sponsored by:	Spectra Logic
2017-07-19 15:39:01 +00:00
..
amd64 Style-only change: Consistently use the variable name "pdpg" throughout 2017-07-15 16:42:55 +00:00
arm Allwinner EHCI: Do not fail if we cannot get a phy 2017-07-18 19:50:02 +00:00
arm64 Add support for passing FPU_KERN_NOCTX to fpu_kern_enter on arm64. This 2017-07-18 16:36:32 +00:00
boot dts: arm: Fix our local patches for H3 2017-07-09 13:56:34 +00:00
bsm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
cam This adds CAM pass(4) support for NVMe IO's. Applications indicate 2017-07-14 14:52:20 +00:00
cddl fix a regression in r320452, ZFS ABD import 2017-07-18 07:41:38 +00:00
compat Correct sysent flags for dynamically loaded syscalls. 2017-07-14 09:34:44 +00:00
conf Fix kldload of if_ixl without PCI_IOV kernel option. 2017-07-13 22:45:23 +00:00
contrib Avoid including list.h in LinuxKPI headers. 2017-06-18 16:43:57 +00:00
crypto Remove register keyword from sys/ and ANSIfy prototypes 2017-05-17 00:34:34 +00:00
ddb Include opt files in the kernel with "" instead of <>. 2017-07-10 05:08:01 +00:00
dev Fix spurious timeouts on commands sent to mps(4) and mpr(4) controllers. 2017-07-19 15:39:01 +00:00
fs Rename vfs.nfsd.enable_uidtostring to vfs.nfs.enable_uidtostring. 2017-07-19 09:59:32 +00:00
gdb
geom Add GEOM::descr attribute for symmetry with GEOM::ident. 2017-07-06 08:36:14 +00:00
gnu Update DTS files from Linux 4.12 2017-07-09 13:53:32 +00:00
i386 Fix handling of one more possible exception on return to usermode. 2017-07-08 11:07:39 +00:00
isa Protect access to the AT realtime clock with its own mutex. 2017-07-12 02:42:57 +00:00
kern Fix whitespace regression accidentally checked in via ^/head@r280149 2017-07-18 06:51:27 +00:00
kgssapi
libkern arm64: add ".arch armv8-a+crc" to allow use of crc instructions 2017-06-08 20:06:09 +00:00
mips Make ddb(4) disassembler (x/i) use n32 register names. 2017-07-06 15:08:51 +00:00
modules qlnx: gcc build errors 2017-07-18 06:15:05 +00:00
net iflib - flib_busdma_load_mbuf_sg used isc_tx_maxsize as max semgent size. 2017-07-03 19:23:45 +00:00
net80211 net80211: initialize i_seq for A-MPDU frames. 2017-06-01 20:46:43 +00:00
netgraph Check return value from soaccept(). 2017-06-14 16:13:20 +00:00
netinet Avoid shadowed variables. 2017-07-19 15:12:23 +00:00
netinet6 Use memset/memcpy instead of bzero/bcopy. 2017-07-19 14:28:58 +00:00
netipsec Build kdebug_secreplay() function only when IPSEC_DEBUG is defined. 2017-06-01 10:04:12 +00:00
netpfil Fix GRE over IPv6 tunnels with IPFW 2017-07-13 09:01:22 +00:00
netsmb
nfs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsclient Add an NFSv4.1 mount option for "use one openowner". 2017-04-13 21:54:19 +00:00
nfsserver Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nlm Commit the 64-bit inode project. 2017-05-23 09:29:05 +00:00
ofed Avoid including list.h in LinuxKPI headers. 2017-06-18 16:43:57 +00:00
opencrypto Use const with some read-only buffers in opencrypto APIs. 2017-05-09 18:28:42 +00:00
powerpc Remove an obsolete comment 2017-07-05 02:20:03 +00:00
riscv Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
rpc Listening sockets improvements. 2017-06-08 21:30:34 +00:00
security Correct bitwise test in mac_bsdextended ugidfw_rule_valid() 2017-06-13 01:17:58 +00:00
sparc64 Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
sys Correct sysent flags for dynamically loaded syscalls. 2017-07-14 09:34:44 +00:00
teken Oops, my fix for bright colors broke bright black some more (in cases 2017-03-27 10:48:28 +00:00
tests style(9): sort headers 2017-05-09 05:08:47 +00:00
tools make.conf: Add the possibility to use another DTC 2017-06-17 23:34:53 +00:00
ufs Remove write-only variable. 2017-07-16 07:12:04 +00:00
vm Convert assertion that only vmspace owner grows the stack, into a 2017-07-18 20:26:41 +00:00
x86 Protect access to the AT realtime clock with its own mutex. 2017-07-12 02:42:57 +00:00
xdr * limit size of buffers to RPC_MAXDATASIZE 2017-06-01 06:12:25 +00:00
xen xenstore: fix suspension when using the xenstore device 2017-03-07 09:17:48 +00:00
Makefile Remove glimpse make target added in r181432 2017-05-22 15:53:30 +00:00