Commit Graph

196334 Commits

Author SHA1 Message Date
Navdeep Parhar
a5eb009b49 cxgb: replace r273280 with a more comprehensive fix.
Poll for link state when the link is down, even for interrupt capable
PHYs.

Allow PHYs to report a dubious "partial" link.  If this state is seen 3
consecutive times (each check is ~1s apart) then reset the PHY.  This is
a workaround for a situation where repeatedly toggling the link from the
peer gets the AEL2005 PHY into a state where it never establishes a PCS
block lock even when everything is in order.

MFC after:	1 week
2015-01-11 07:51:58 +00:00
Alexander Motin
2de874ed23 Add LBA as secondary sort key for synchronous I/O requests.
On FreeBSD gethrtime() implemented via getnanouptime(), that has 1ms (1/hz)
precision.  It makes primary sort key (timestamp) collision very possible.
In such situations sorting by secondary key of LBA is much more reasonable
then by totally meaningless zio pointer value.

With this change on multi-threaded synchronous ZVOL read I've measured 10%
throughput increase and average latency reduction.

MFC after:	2 weeks
2015-01-11 00:26:18 +00:00
Warner Losh
c8e00ff96e Use .MAKE.LEVEL being defined as a bootstrap aid when providing
fallback targets to build the aic generated files. fmake doesn't like
the current construct, and since it doesn't have .MAKE.LEVEL, just
don't provide the fallback targets for fmake. This gives a little
extra compatibility to old systems trying to build new kernels at
almost no cost to the current code.
2015-01-10 23:43:39 +00:00
Warner Losh
74079bda71 Take out some more no-error warnings, as the build is clean without
them.
2015-01-10 23:43:37 +00:00
Konstantin Belousov
df0b07834f Fix calculation of requester for PCI device behind PCIe/PCI bridge.
In my case on the test machine, I have hierarchy of
pcib2 (PCIe port on host bridge with PCIe capability) -> pci2 ->
    pcib3 (ITE PCIe/PCI bridge) -> pci3 -> em1

The device to check PCIe capability is pcib2 and not pcib3, as it is
currently done in the code.  Also, in case of the bridge, we shall
step to pcib2 for the loop iteration, since pcib3 does not carry PCIe
capability info and would force wrong recalculation of rid.

Also change the returned requester to the PCIe bus which provides port
for the bridge.  This only results in changing
hw.busdma.pciX.X.X.X.bounce tunable to force identity-mapped context
for the device.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2015-01-10 23:12:49 +00:00
Konstantin Belousov
34e8337b8e Print rid when announcing DMAR context creation. Print sid when fault
occurs.  This allows to connect dots in case the requester is
calculated erronously.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2015-01-10 22:57:08 +00:00
Glen Barber
6a616056a6 Fix typo in hpet(4) device name in r273598 entry.
Submitted by:	Jan Beich
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:23:41 +00:00
Glen Barber
2f21fe4112 Reword entry for r270745: 'tracer' keyword displays the tracing
process, not the child<->parent mapping.

Submitted by:	mjg
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:23:38 +00:00
Dimitry Andric
c369979c46 Add the llvm-symbolizer tool, which enables the sanitizers to report
more complete debugging information.  This tools is only enabled when
WITH_CLANG_EXTRAS is on.

Submitted by:	Dan McGregor <danismostlikely@gmail.com>
2015-01-10 22:22:42 +00:00
Dimitry Andric
f91be99b1f Remove a few redundant DPADD/LDADD pairs in llvm utilities. 2015-01-10 22:11:49 +00:00
Glen Barber
f068943f45 Minor fixes:
- Capitalize titles
 - Typo fix.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:46 +00:00
Glen Barber
9e968cf2b9 Document r273806, Chelsio T5 userspace library.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:43 +00:00
Glen Barber
04f473e57d Document r273598, /dev/heptN devices for HPET access from
userland.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:41 +00:00
Glen Barber
58fa9ad54e Document r273515, virtio_console(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:38 +00:00
Glen Barber
7460f2acae Document r273331, vxlan(4) addition.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:35 +00:00
Glen Barber
ce14ffaba6 Document r273264, SD card detection instability fix for RPI.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:32 +00:00
Glen Barber
c6bdc8b34b Document r273178, kern.vt.spclkeys replaced with individual
kern.vt.kbd_* variants.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:30 +00:00
Glen Barber
acf4ff5e1a Document r273146, OpenSSL updated to 1.0.1j.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:27 +00:00
Glen Barber
b9d65b50b1 Document r272842, r272848, dl_iterate_pthr(3) always
returns the path of the dlpi_name ELF object.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:24 +00:00
Glen Barber
d062c1e063 Document r272730, support for AR816x/AR817x in alc(4).
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:21 +00:00
Glen Barber
9168e3f2db Document r272720, PLPMTUD blackhole detection (RFC 4821).
Add Limelight Networks to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:18 +00:00
Glen Barber
3b729d632a Document r272488, userland CTF support in DTrace.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:15 +00:00
Glen Barber
aa453cf359 Document r272350, MK_ARM_EABI removal.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:12 +00:00
Glen Barber
19643abed9 Document r272274, canmount=off set on /var when installing on
ZFS.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:10 +00:00
Glen Barber
30f10e4265 Document r272273, '%U' and '%W' support added to strptime(3).
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:07 +00:00
Glen Barber
064dddfa3e Document r272198, mkimg(1) longopts to obtain information about
the utility itself.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:04 +00:00
Glen Barber
a87b482dad Document r272166, primes(6) fix for incorrectly-returned values.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:04:01 +00:00
Glen Barber
5267cb7e63 Document r272089, ipfw(4) fix when using dummynet(4) at layer 2
leading to possible kernel panic.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:58 +00:00
Glen Barber
9ba3a7e77c Add an 'abi-compat' subsection to the 'userland' section.
Document r271982, compat.linux.osrelease updated after
support for CentOS 6 ports has been added.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:56 +00:00
Glen Barber
06f5651b4a Bump copyright year, following past few commits.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:53 +00:00
Glen Barber
bef579a478 Document r271705, hardware context support added to drm/i915.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:50 +00:00
Glen Barber
001399bd24 Document r271697, dtrace fixes for FreeBSD/powerpc.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:47 +00:00
Glen Barber
9d48fcafbc Document r271482, mkimg(1) support for empty partition
entries.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:44 +00:00
Glen Barber
43efa528e3 Add a 'periodic-scripts' subsection to the 'userland'
section.

Document r271321, don't cross mount boundaries when
cleaning tmp files.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:42 +00:00
Glen Barber
9daecb1292 Document r270745, ps(1) 'tracer' keyword addition.
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:39 +00:00
Glen Barber
0a62a7853a Document r270676, support for ${LOCALBASE}/etc/rc.conf.d in
rc(8).

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:36 +00:00
Glen Barber
f3c3d71f4f Document r270675, mailwrapper(8) supports mailer.conf(5) in
LOCALBASE.

Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:33 +00:00
Glen Barber
45e1e3eaad Document r270096, autofs(5).
Sponsored by:	The FreeBSD Foundation
2015-01-10 22:03:30 +00:00
Dimitry Andric
559f16f0dd Regenerate the manpages for the additional llvm/clang tools. This
contains only very minor updates.
2015-01-10 21:44:31 +00:00
Michael Tuexen
4be807c4d6 Minimize the usage of SCTP_BUF_IS_EXTENDED.
This should help Robert...
2015-01-10 20:49:57 +00:00
Alexander Motin
13ea8106d9 Use new optimized dmu_read_uio_dbuf() for ZVOLs in device mode.
This slightly reduces overhead by avoiding dnode_hold()/dnode_rele() calls.

MFC after:	2 weeks
2015-01-10 18:28:58 +00:00
Michael Tuexen
296d0b9495 Retire SCTP_BUF_EXTEND_SIZE. This patch was suggested by
Robert Watson.
2015-01-10 13:56:26 +00:00
Robert Watson
a5e9a6d56f Garbage collect m_copymdata(), an mbuf utility routine introduced
in FreeBSD 7 that has not been used since.  It contains a number
of unresolved bugs including an inverted bcopy() and incorrect
handling of read-only mbufs using internal storage.  Removing this
unused code is substantially essier than fixing it in order to
update it to the coming mbuf world order -- but it can always be
restored from revision history if it turns out to prove useful for
future work.

Pointed out by:	jmallett
Sponsored by:	EMC / Isilon Storage Division
2015-01-10 10:41:23 +00:00
Jeremie Le Hen
98648ee85e Add a regression test for PR 192108.
I won't go through the hassle of MFCing it since I expect all changes to go
first through HEAD anyway.

PR:		192108
2015-01-10 10:16:22 +00:00
Andrey V. Elsukov
9c0265c6fd Restore Ethernet-within-IP Encapsulation support that was broken after
r273087. Move all checks from gif_output() into gif_transmit(). Previously
they were checked always, because if_start always called gif_output.
Now gif_transmit() can be called directly from if_bridge() code and we need
do checks here.

PR:		196646
MFC after:	1 week
2015-01-10 08:28:50 +00:00
Dmitry Chagin
47ce3e5326 Allow clock_getcpuclockid() on the CPU-time clock for zombie process.
Posix does not prohibit this.

Differential Revision:	https://reviews.freebsd.org/D1470

Reviewed by:	kib
MFC after:	1 week
2015-01-10 07:22:38 +00:00
Justin Hibbits
615df4c159 Increase default MAXTSIZ to allow execution of larger binaries.
This allows executing static clang built with -O0.

The value is configurable by a sysctl, so if one needs to clamp it down, they
still can.

Discussed with:	nwhitehorn,emaste
2015-01-10 06:54:10 +00:00
Xin LI
6e19f0def0 Improve style and fix a possible use-after-free case introduced in r268384
by reinitializing the 'freestate' pointer after freeing the memory.

Obtained from:	HardenedBSD (71fab80c5dd3034b71a29a61064625018671bbeb)
PR:		194525
Submitted by:	Oliver Pinter <oliver.pinter@hardenedbsd.org>
MFC after:	2 weeks
2015-01-10 06:48:35 +00:00
Andrey V. Elsukov
3a9f9af803 Use if_name() macro instead of ifp->if_xname.
MFH:		1 week
2015-01-10 03:29:17 +00:00
Andrey V. Elsukov
84d03ddad3 Fix an error introduced in r274246.
Pass mtag argument into m_tag_locate() to continue the search from
the last found mtag.

X-MFC after:	r274246
2015-01-10 03:26:46 +00:00