Commit Graph

196365 Commits

Author SHA1 Message Date
Konstantin Belousov
6b7c46afec Right now, for non-coherent DMARs, page table update code flushes the
cache for whole page containing modified pte, and more, only last page
in the series of the consequtive pages is flushed (i.e. the affected
mappings should be larger than 2MB).

Avoid excessive flushing and do missed neccessary flushing, by
splitting invalidation and unmapping.  For now, flush exactly the
range of the changed pte.  This is still somewhat bigger than
neccessary, since pte is 8 bytes, while cache flush line is at least
32 bytes.

The originator of the issue reports that after the change,
'dmar_bus_dmamap_unload went from 13,288 cycles down to
3,257. dmar_bus_dmamap_load_buffer went from 9,686 cycles down to
3,517.  and I am now able to get line 1GbE speed with Netperf TCP
(even with 1K message size).'

Diagnosed and tested by:	Nadav Amit <nadav.amit@gmail.com>
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2015-01-11 20:27:15 +00:00
Glen Barber
516f1b89f1 Fix ordering by SVN revision.
Sponsored by:	The FreeBSD Foundation
2015-01-11 20:07:07 +00:00
Glen Barber
24802987a0 Document r271539, bsdinstall(8) parition editor and sade(8)
now support ZFS natively.

Sponsored by:	The FreeBSD Foundation
2015-01-11 20:04:35 +00:00
Glen Barber
88af2dc358 Fix the release notes article.xml file to confirm with
FDP style, specifically reindenting the entire file for
tag alignment, rewrapping lines where necessary.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:28 +00:00
Glen Barber
168ff2dae0 Add a comment in the release notes XML file to note the
last revision, to make it easier to keep track of where
the last update(s) left off.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:25 +00:00
Glen Barber
e79338d8e1 Document r276551, texinfo and info page removal.
Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:23 +00:00
Glen Barber
651b4202c6 Document r275963, CPU frequency/voltage control driver for
RPI.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:20 +00:00
Glen Barber
f3bc3df9f1 Document r275874, bsdinstall(8) now uses dpv(3) when extracting
the distribution packages.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:17 +00:00
Glen Barber
b3883f41b6 Document r275748, arc_meta_limit now exposed through kernel
statistics.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:15 +00:00
Glen Barber
c5a462df75 Document r275732, OpenCrypto support for AES-ICM and AES-GCM.
Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:12 +00:00
Glen Barber
acda9d5abb Document r275718, binutils PowerPC relocations update.
Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:09 +00:00
Glen Barber
76580bfe36 Fix indentation for r270096 entry.
While here, remove the leading 'r' from the revision tag.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:07 +00:00
Glen Barber
7ddc205dac Document r275680, fstyp(8) addition.
Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:04 +00:00
Glen Barber
babcec5149 Document r275461, CTL port/LUN limits increased.
Add iXsystems to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:01:01 +00:00
Glen Barber
618b0e563b Document r275299, mrouted rc(8) script removal from base.
Sponsored by:	The FreeBSD Foundation
2015-01-11 19:00:58 +00:00
Glen Barber
d8e21adf6f Document r275171, r275190: hpwmc(4) performance counter
sampling fixes for G4 and G5 class processors.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:00:55 +00:00
Glen Barber
354bd1ea0d Document r274987, gpio(3) addition.
Sponsored by:	The FreeBSD Foundation
2015-01-11 19:00:52 +00:00
Glen Barber
73764f6e1c Document r274960, elfdump(1) cap_limits support.
Sponsored by:	The FreeBSD Foundation
2015-01-11 19:00:49 +00:00
Glen Barber
7197172d3a Document r274733, PMU power-button event support for certain
PowerBooks.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:00:47 +00:00
Glen Barber
2bce438a36 Document r274394, bsdconfig(8) skips initial tzetup(8) screen
if run within a VM.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:00:44 +00:00
Glen Barber
c325a6d21a Document r274386, apci(4) and pci(4) fix for ACPI S3 state.
Sponsored by:	The FreeBSD Foundation
2015-01-11 19:00:41 +00:00
Glen Barber
19d71eeda0 Document r274246, gre(4) overhaul, me(4) addition.
Add Yandex LLC to sponsors.ent.

Sponsored by:	The FreeBSD Foundation
2015-01-11 19:00:38 +00:00
Glen Barber
ac762b59d2 Document r274085, vt(4) is now default.
Sponsored by:	The FreeBSD Foundation
2015-01-11 19:00:35 +00:00
Adrian Chadd
21969c6c24 Switch around the order of static inline to be in line with how it's
used elsewhere, and to keep gcc-4.7 happy.

This is a request from the DragonflyBSD project.
2015-01-11 18:43:45 +00:00
Ian Lepore
bffed0e9c8 Store the shadow command/mode register in the softc, not a local static var.
Submitted by:	Michal Meloun
2015-01-11 17:00:24 +00:00
Andrew Turner
3f53a2d612 Rename gic_init_secondary to arm_init_secondary_ic to help with the merge
of the arm_intrng project branch.
2015-01-11 16:46:43 +00:00
Alexander Motin
f5b85f6551 When aggregating TRIM segments, move the new one to the list end.
New segment at the list head may block all TRIM requests until txg of that
segment can be processed.  On my random I/O tests this change reduce peak
TRIM list length from 650 to 450 segments.  Hopefully it should reduce TRIM
burstiness when list processing is unblocked.

MFC after:	2 weeks
2015-01-11 16:36:39 +00:00
Hans Petter Selasky
eff7715ca7 Remove no longer used "M_FLOWID" flag and update the netisr manpage.
This patch completes process started by r275358.

Sponsored by:	Mellanox Technologies
2015-01-11 16:15:31 +00:00
Hans Petter Selasky
68d89cc22a Fix support for ConnectX2 hardware.
MFC after:	3 days
Sponsored by:	Mellanox Technologies
2015-01-11 15:00:08 +00:00
Andrew Turner
c9ac548c01 Rework the GIC driver to ease the import of the arm_intrng branch. The
common code has been pulled out to static functions.
2015-01-11 10:26:49 +00:00
Baptiste Daroussin
910824cea4 Do not regenerate and install liblzma.pc when only build libraries
aka do not regenerate while generating 32bits libs

Reported by:	antoine
2015-01-11 09:25:01 +00:00
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