Commit Graph

198723 Commits

Author SHA1 Message Date
np
dca68908d2 MFC r276598, r276607.
r276598:
Add a manual page for cxgbetool.  It is incomplete but definitely
better than nothing.

r276607:
Fix all nits reported by mandoc -Tlint.
2015-04-08 00:52:45 +00:00
np
c95079747b MFC r276729, r276775.
r276729:
cxgbe/tom: use vmem(9) as the DDP page pod allocator.

r276775:
cxgbe/tom: allocate page pod addresses instead of ppod#.
2015-04-08 00:49:53 +00:00
np
8b138d1fe9 MFC r276597:
cxgbe/tom: do not engage the TOE's payload chopper for payload < 2 MSS
or for 10Gbps ports.
2015-04-08 00:35:12 +00:00
np
dc8940a87a MFC r276728:
cxgbe(4): fix the description of a strange bunch of counters.
2015-04-08 00:13:17 +00:00
rrs
b7fe65a270 MFC of r280697 and r280698
Sponsored by:	Netflix Inc.
2015-04-07 21:05:52 +00:00
delphij
e5ee1c2b41 Improve patch for SA-15:04.igmp to solve a potential buffer overflow.
Fix multiple vulnerabilities of ntp. [SA-15:07]

Fix bsdinstall(8) insecure default GELI keyfile permissions. [SA-15:08]

Fix Denial of Service with IPv6 Router Advertisements. [SA-15:09]
2015-04-07 20:20:24 +00:00
davidcs
788993fc41 MFC r281006
When an mbuf allocation fails in the receive path, the mbuf containing the received packet is not sent to the host network stack and is reused again on the receive ring.  Remaining received packets in the ring are not processed in that invocation of bxe_rxeof() and defered to the task thread
2015-04-07 18:04:18 +00:00
np
5ac556fbb8 MFC r276574:
cxgbe/tom: fix the MSS calculation for IPv6 connections handled by the TOE.
2015-04-07 17:40:35 +00:00
np
b84f5bafd4 MFC r276570:
cxgbe/tom: log some more details in send_flowc_wr.
2015-04-07 17:33:51 +00:00
np
0cebda2c49 MFC r275539, r275554.
r275539:
cxgbe(4): Allow for different pad and pack boundaries for different
adapters.  Set the pack boundary for T5 cards to be the same as the
PCIe max payload size.  The chip likes it this way.

In this revision the driver allocate rx buffers that align on both
boundaries.  This is not a strict requirement and a followup commit
will switch the driver to a more relaxed allocation strategy.

r275554:
cxgbe(4): allow the driver to use rx buffers that do not end on a pack
boundary.
2015-04-07 17:21:30 +00:00
np
1e9dc39d32 MFC r275733:
Move KTR_CXGBE from t4_tom.h to adapter.h so that the base if_cxgbe
code can use it too.
2015-04-07 17:07:30 +00:00
brueffer
4d7b63befb MFH: r281206
Add a missing comma.
2015-04-07 15:34:34 +00:00
np
4ecf57ea74 MFC r274456:
Fix some bad interaction between cxgbe(4) and lacp lagg(4) that could
leave a port permanently disabled when a copper cable is unplugged and
then plugged right back in.

lacp_linkstate goes looking for the current ifmedia on a link state
change and it could get stale information from cxgbe(4) on a module
unplug followed by replug.  The fix is to process module events before
link-state events within the driver, and to always rebuild the ifmedia
list on a module change event (instead of rebuilding it lazily).

Thanks to asomers@ for the problem report and detailed analysis to go
with it.
2015-04-07 15:32:43 +00:00
brueffer
74410b7b36 MFH: r280765
Mention support for 16h family processors, added in r263169.

PR:		198933
Submitted by:	isoa@kapsi.fi
2015-04-07 15:24:37 +00:00
kib
a891e427f4 MFC r281094:
Restore proper error from oshmctl(2), broken by r280323.
2015-04-07 07:10:44 +00:00
kib
d1c2847dcd MFC r281071:
Remove useless initialization.
2015-04-07 07:08:35 +00:00
jpaetzel
a4b9ad469d MFC 281084
Fix thinko/copypaste error.

When checking the length of the mutual secret password the variable for
the secret password was used by mistake.  This resulted in ctld never
warning about the length of the mutual secret being wrong even if it was.

Sponsored by:	iXsystems
2015-04-07 04:21:36 +00:00
bdrewery
2e68f876fa MFC r280360:
Document "none" for VersionAddendum.
2015-04-07 02:53:14 +00:00
hiren
1116474bdc MFC r280233, r280237, r280441
Add connection flowid and flowtype to siftr(4).

Sponsored by:	Limelight Networks
2015-04-06 22:41:13 +00:00
pfg
f79a9e3ea8 MFC r280387:
xlint: update.

Bring some important updates from NetBSD up to about 2008/04/25.
The main feature is initial support for C99.

Obtained from:	NetBSD
2015-04-06 19:56:27 +00:00
hiren
39fb34452f MFC r266418, r266448
Add the flowtype to the inpcb.
Add -R to netstat to dump RSS/flow information.

Reviewed by:	delphij
Relnotes:	yes (for r266448)
Sponsored by:	Limelight Networks
2015-04-06 18:40:50 +00:00
dim
511fc2e53e MFC r280864:
Pull in r233552 from upstream libc++ trunk (by Eric Fiselier):

  [libcxx] Fix PR22771 - Support access control SFINAE in the library
  version of is_convertible.

  Summary:
  Currently the conversion check does not take place in a context where
  access control SFINAE is applied. This patch changes the context of
  the test expression so that SFINAE occurs if access control does not
  permit the conversion.

  Related bug: https://llvm.org/bugs/show_bug.cgi?id=22771

  Reviewers: mclow.lists, rsmith, dim

  Reviewed By: dim

  Subscribers: dim, rodrigc, emaste, cfe-commits

  Differential Revision: http://reviews.llvm.org/D8461

This fixes building clang, and other programs using libc++, with newer
versions of gcc (specifically, gcc 4.8 and higher).

Reported by:	rodrigc
2015-04-06 14:50:54 +00:00
dim
cb046ee5e6 MFC r280357:
Build expr with -fwrapv, since it relies on signed integer wrapping
having defined behavior.

Reported by:	rodrigc
2015-04-06 14:45:40 +00:00
mav
9d4a2c89e4 MFC r280393: Reduce priority of ATA/SATA drivers.
Legacy ata(4) -> BUS_PROBE_LOW_PRIORITY;  more functional ahci(4), siis(4),
mvs(4) -> BUS_PROBE_DEFAULT;  BUS_PROBE_VENDOR leave for vendor drivers.
2015-04-06 08:23:06 +00:00
neel
f333e1d3ba MFC r272481.
Add new fields in the FADT, required by IASL 20140926-64.
2015-04-06 03:16:20 +00:00
dim
fd1aa4bec9 Ensure yacc is built during bootstrap-tools for __FreeBSD_version
1001506 and earlier, since some of the ACPI tools now reach yacc's old
maximum table limit.  This should fix the Jenkins buildbot, which
apparently runs 10.1-RELEASE.
2015-04-05 15:27:56 +00:00
mav
2aa6497cbb MFC r280822: Some cosmetic polishing. No functional change. 2015-04-05 06:53:29 +00:00
kib
6c211b7cb3 MFC r280342:
msdosfs: mark unused compat-mount fields.
2015-04-05 01:03:11 +00:00
dim
441da571d4 MFC r272444 (by jkim):
Merge ACPICA 20140926.

MFC r278970 (by jkim):

  Merge ACPICA 20141107 and 20150204.

Approved by:	jkim
Relnotes:	yes
2015-04-04 10:17:51 +00:00
kib
a66c389283 MFC r280797:
Make debug.vmem_check a tunable.  It is useful to set it early.
2015-04-04 08:06:13 +00:00
kib
cfab2455d5 MFC r280323:
Somewhat modernize the SysV shm code.

MFC r280325 (by cognet):
Fix warning for !MAC case.
2015-04-04 07:59:07 +00:00
kib
34687e7dea MFC r278697 (by alc):
Preset the object's color, or alignment, to maximize superpage usage.
2015-04-04 07:56:04 +00:00
kib
7b4777f74a MFC r258056 (by alc):
Eliminate the gratuitous use of mmap(2) flags from the implementation
of kern_shmat().  Use a simpler approach to determine whether to pass
VMFS_NO_SPACE or VMFS_OPTIMAL_SPACE to vm_map_find().
2015-04-04 07:52:12 +00:00
bdrewery
44dfc90bcd MFC r280179,r280180:
r280179:
    Add LIB_CXX so that C++ libraries will use CXX to link.

    This adds some extra dependencies directly to Makefile.inc1 as
    atf is still a prebuild library in stable/10. If r273449 is MFCd
    these can come out.

  r280180:
    Document LIB and LIB_CXX.
2015-04-04 00:42:09 +00:00
bdrewery
e247370125 MFC r280870:
Fix --one-file-system to include the directory encountered rather than
  excluding it.  This was broken in 3.0.4 (r238856).

Relnotes:	yes
2015-04-03 18:01:51 +00:00
bdrewery
2c4a772c3e MFC r280178:
Unhide linker line for libraries.
2015-04-03 17:51:37 +00:00
bdrewery
4c04960f71 MFC r280177:
Remove unneeded handling of undefined NM.
2015-04-03 17:21:30 +00:00
bdrewery
be53554302 MFC r278600:
Correct and clarify comment for __SMBF.
2015-04-03 17:19:29 +00:00
bdrewery
302c310328 MFC r278530:
When catopen(3) returns an error, it caches the result of that error from
  r202992. The refcount on the cache entry is not initialized, so any attempt
  to clean the cache will skip over this item since it likely has a >0 value.

  This change is currently a NOP.
2015-04-03 17:16:05 +00:00
bdrewery
f04ea508f5 MFC r272291:
Document [EPERM] for UNIX sockets.
2015-04-03 17:12:24 +00:00
alc
bc3dc06c14 MFC r279720
Correct a typo in vm_object_backing_scan() that originated in r254141.
  Specifically, change a lock acquire into a lock release.
2015-04-03 16:40:39 +00:00
mav
0e89c56fb7 MFC r280756, r280758: Fix bug on memory allocation error in split method.
While there, use bioq_takefirst() in place where it is convenient.
2015-04-03 06:16:20 +00:00
alc
a75a91e660 MFC r280238
Fix the root cause of the "vm_reserv_populate: reserv <address> is already
  promoted" panics.

PR:		198163
2015-04-02 19:10:33 +00:00
wblock
4b74d7e3ef MFC r262769:
- Clarify usage of the -f option.

MFC r280336:

Describe the behavior when both -f and a message are given.  Pointed out by
Raphael Abreu <raphael.lorenzeto@gmail.com> on freebsd-doc.
2015-04-02 02:14:58 +00:00
jhb
b09b758bf2 MFC 276724:
On some Intel CPUs with a P-state but not C-state invariant TSC the TSC
may also halt in C2 and not just C3 (it seems that in some cases the BIOS
advertises its C3 state as a C2 state in _CST).  Just play it safe and
disable both C2 and C3 states if a user forces the use of the TSC as the
timecounter on such CPUs.

PR:		192316
2015-04-02 01:02:42 +00:00
jhb
5fdf8ec777 MFC 261790:
Add support for managing PCI bus numbers.  As with BARs and PCI-PCI bridge
I/O windows, the default is to preserve the firmware-assigned resources.
PCI bus numbers are only managed if NEW_PCIB is enabled and the architecture
defines a PCI_RES_BUS resource type.
- Add a helper API to create top-level PCI bus resource managers for each
  PCI domain/segment.  Host-PCI bridge drivers use this API to allocate
  bus numbers from their associated domain.
- Change the PCI bus and CardBus drivers to allocate a bus resource for
  their bus number from the parent PCI bridge device.
- Change the PCI-PCI and PCI-CardBus bridge drivers to allocate the
  full range of bus numbers from secbus to subbus from their parent bridge.
  The drivers also always program their primary bus register.  The bridge
  drivers also support growing their bus range by extending the bus resource
  and updating subbus to match the larger range.
- Add support for managing PCI bus resources to the Host-PCI bridge drivers
  used for amd64 and i386 (acpi_pcib, mptable_pcib, legacy_pcib, and qpi_pcib).
- Define a PCI_RES_BUS resource type for amd64 and i386.

PR:		197076
2015-04-01 21:48:54 +00:00
jhb
971b9a0eeb MFC 260973:
- Reuse legacy_pcib_(read|write)_config() methods in the QPI pcib driver.
- Reuse legacy_pcib_alloc_msi{,x}() methods in the QPI and mptable pcib
  drivers.
2015-04-01 21:16:33 +00:00
jhb
ea3f65c3bf MFC 278761:
Include OBJT_PHYS VM objects in ELF core dumps. In particular this
includes the shared page allowing debuggers to use the signal trampoline
code to identify signal frames in core dumps.
2015-04-01 19:48:19 +00:00
pfg
ec31b3f59e Revert r280449;
Permit multiple arguments for the nonnull attribute.

For the benefit of anyone that may be struggling to port
FreeBSD to gcc 2.8 (or older) avoid using variadic macros.

MFC	r280700 (partial);

Bring new attribute:
__result_use_check
Causes a warning to be emitted if a caller of the function
with this attribute does not use its return value. This is
known in gcc as "warn_unused_result" but we considered the
original naming unsuitable for an attribute.
2015-04-01 16:17:58 +00:00
gjb
f771564270 Document removal of 10.1-RELEASE QCOW2 virtual machine disk
images from FTP, due to a crash-on-boot problem.

Requested by:	jhb (months ago), bapt (recently)
Approved by:	re (implicit)
Sponsored by:	The FreeBSD Foundation
2015-04-01 04:58:08 +00:00