245072 Commits

Author SHA1 Message Date
jdolecek
47d93d331f change nvme(4) ld to use fcfs as default strategy to lower i/o processing
overhead and hence lower latency; the sorting doesn't provide any benefit
for SSDs
2016-09-16 15:24:47 +00:00
jdolecek
e90b5bdddb modify ldattach() to have default strategy as a parameter 2016-09-16 15:20:50 +00:00
jdolecek
f89e63c6de volunteer for the ext3/ext4 also 2016-09-16 15:02:23 +00:00
jdolecek
c0943ef63c I'm working on WAPBL fixes, adjust the entry 2016-09-16 14:55:28 +00:00
roy
70c02d276f Drop hostIsNew from in_ifinit, let the function work out if the address
has changed.
Sync address flag setup with the IPv6 counterpart.
When scrubbing the address, or setting up the address fails, restore the
old address flags as well as the old address.
2016-09-16 14:17:23 +00:00
jdolecek
5482298fa4 bump date for the typo fix 2016-09-16 13:56:36 +00:00
roy
68a9e8e0bd Clear IN_IFF_TENTATIVE when stopping DaD here. 2016-09-16 13:47:47 +00:00
jdolecek
b8b74a3c4e introduce optional timeout for the polled commands; currently 5 seconds for
queue creation/deletion, 10 seconds for controller/namespace identify,
and unlimited for cache sync and passthrough commands

this makes device attach error out instead of hanging the kernel when
the device fails to respond properly, such as under QEMU currently
2016-09-16 12:57:26 +00:00
wiz
5c3b275a64 New sentence, new line. Use Dq. 2016-09-16 12:43:37 +00:00
jdolecek
22def4bee1 document some bugs 2016-09-16 12:31:27 +00:00
maxv
9fe3551bfd x86_copyargs takes as third argument a size, but still copies two chunks of
16 and 24 bytes, without checking the userland<->kernel limit accordingly.
Fix it by just checking the maximum size direcly.

It means that even if 16 bytes are copied, the kernel now makes sure 40
bytes are in userland. We could make it more fine-grained, but it would
probably unoptimize the function, and we don't care enough.
2016-09-16 12:28:41 +00:00
maxv
d350f075ef Put two KASSERTs, to make sure the fault is happening in the correct
half of the vm space when using special copy functions. It can detect
bugs where the kernel would fault when copying a kernel buffer which
it wrongly believes comes from userland.
2016-09-16 11:48:10 +00:00
jdolecek
da4d70cb21 make nvme_dumpregs() compile when NVME_DEBUG is defined 2016-09-16 11:41:40 +00:00
jdolecek
8eedc00a82 make it possible to load nvme(4) as module to ease testing; currently somewhat
non-optimal, since it includes the ld(4) code also and hence requires the
kernel config to have 'no ld'
2016-09-16 11:35:07 +00:00
christos
a8664d176f PR/51478: Jose Luis Rodriguez Garcia: Fix leak mem fsck_lfs/lfs.c 2016-09-16 11:13:47 +00:00
jdolecek
7a7d1b8dd0 fix nvme_pci_detach() to not pci_intr_disestablish(); the interrupts
are disestablished and handler pointers are set to NULL already by
nvme_detach(), leading to panic here; this was happening when running
on system without MSI/MSI-X

change all the alloc/dealloc code for sc_ih to use psc->psc_nintrs, so
that we avoid some duplicated logic
2016-09-16 10:59:28 +00:00
jdolecek
87d3a42c6b add IO flags for FUA and also LR while here 2016-09-16 10:54:45 +00:00
roy
26b6b5b9e8 Don't setup DaD for INADDR_ANY 2016-09-16 09:59:45 +00:00
mlelstv
faca41fb2b Merge enough FreeBSD code to make RT5592 work. 2016-09-16 09:25:30 +00:00
wiz
2ad613d4d2 Use Nm instead of Xr to itself. Add missing space. Bump date for previous. 2016-09-16 08:26:16 +00:00
msaitoh
8a17ee670f regen. 2016-09-16 05:42:58 +00:00
msaitoh
9587c2c061 - Add ASMEDIA ASM1083/1085/1142
- Add AMD RADEON 34xx HD Audio
- Add some Intel Core i7-6xxxK devices from "Intel Core i7 Processor Family
  for LGA2011-v3 Socket Datasheet - Volume 2 of 2: Registers"
- Add "Core i7-6xxxK" to some Intel devices' description.
2016-09-16 05:42:22 +00:00
pgoyette
06402e0a42 Move kern_ctf.c into the dtrace_fbt module (the only place it is used)
rather than including in kernels with KDTRACE_HOOKS defined.  Update
the dtrace_fbt module to depend on the zlib module.

Bump kernel version to avoid module mismatch.

Welcome to 7.99.38 !
2016-09-16 03:10:45 +00:00
ozaki-r
d94096e467 Ignore case in duplicated 2016-09-16 00:50:43 +00:00
ozaki-r
a59969fd67 Ignore case in deprecated 2016-09-16 00:44:14 +00:00
ozaki-r
2393c05ab0 Adjust for new ifconfig output
And use -o match to provide informative error messages.
2016-09-16 00:14:33 +00:00
jdolecek
93353c360b update manpage with reality WRT BUS_SPACE_BARRIER_SYNC and
BUS_SPACE_BARRIER_X_BEFORE_Y flags
2016-09-15 21:47:26 +00:00
jdolecek
f52dcd49ca remove last isolated islands using BUS_SPACE_BARRIER_SYNC and
BUS_SPACE_BARRIER_X_BEFORE_X - these were only ever defined for mips and ia64,
and never actually implemented even there
2016-09-15 21:45:37 +00:00
jdolecek
82fbc8048a COMPAT_FREEBSD was dropped from GENERIC in rev. 1.1125, no need to disable in MODULAR any more 2016-09-15 20:03:36 +00:00
scole
55bbcbd837 updates for PPC601 support being added 2016-09-15 19:27:47 +00:00
christos
cbcfdd13ce oops removed too much 2016-09-15 18:40:34 +00:00
roy
8c6871896f Ensure that packets are sent from a valid address.
If the packet is TCP and the address is detached or tentative then
it's just dropped, otherwise an error is returned.

This is needed because you can bind to a valid address and it can then
become invalid.

This satisfies RFC 4862 section 5.5.4.
2016-09-15 18:25:45 +00:00
roy
bddde31ef2 Allow arplog to be used outside of if_arp.c 2016-09-15 18:17:29 +00:00
christos
406ea0ab88 Add debugging. 2016-09-15 17:45:44 +00:00
christos
4fddba2c93 m68k binaries load @ pagesize. unbreak. 2016-09-15 17:44:16 +00:00
joerg
0f37b1b875 gethostbyname_r should die. 2016-09-15 16:23:05 +00:00
wiz
a9eb386270 Sort SEE ALSO. 2016-09-15 15:25:11 +00:00
scole
0d99de606e Reference rasops(9), not rasops(4) which doesn't exist 2016-09-15 15:19:00 +00:00
christos
9faa331084 Always do the mbuf checks. The packet filters (npf) expect the mbuf to be
pulled-up. (Krists Krilovs)
2016-09-15 14:40:43 +00:00
jdolecek
fd929fae0e fix typo in function names 2016-09-15 09:41:33 +00:00
wiz
c6af805862 Use An in AUTHORS section. 2016-09-15 09:11:47 +00:00
njoly
9018f13e85 Fix function name macro. 2016-09-15 07:53:59 +00:00
mrg
be6cccaf0c switch amd64, i386, shark, ofppc and macppc to xorg-server 1.18.
add a note to UPDATING about needing a clean objdir and destdir.
2016-09-15 07:49:08 +00:00
knakahara
feed793fff kmem_alloc(size, KM_SLEEP) return value NULL check is not required any more.
kmem_alloc(size, KM_SLEEP) is already fixed, that is, it never return NULL.
see: sys/kern/subr_kmem.c:r1.62
2016-09-15 06:59:32 +00:00
mlelstv
f7dd6a088f Fix error handling in cgdstrategy().
- check cgd_softc != NULL, may happen in rare memory shortage situations.
- no longer test geometry, the same check is done in dk_strategy which
  knows to check for an uninitialized geometry.
2016-09-14 23:16:30 +00:00
mlelstv
e371720fc5 Set b_resid in error path. 2016-09-14 23:05:05 +00:00
scole
4afc32c0de Add platinumfb man page 2016-09-14 20:04:22 +00:00
christos
5642b8b65f Ignore case in deprecated/anycast 2016-09-14 16:18:31 +00:00
christos
0d94f00ba4 fix typo 2016-09-14 16:17:17 +00:00
christos
12f0b47e19 adjust for new ifconfig output. 2016-09-14 16:00:10 +00:00