Commit Graph

15292 Commits

Author SHA1 Message Date
asomers
9bf97c415d MFC r263428
share/man/man7/tests.7
	Added a section on test suite configuration, and cleaned up up grammar
	errors and awkward prose.  The config variables were discussed on
	freebsd-testing.
2014-04-03 17:26:45 +00:00
bdrewery
17127387c5 MFC r263812:
Update build(7) with LOCAL_* vars
2014-04-03 14:47:36 +00:00
asomers
2b41b2e904 MFC r263271
share/man/man9/counter.9
	Fix logic error in the description of counter_u64_alloc: the command
	may fail only if M_NOWAIT is specified, not M_WAITOK.
2014-03-31 14:51:45 +00:00
mjg
b357774f50 MFC r263758:
Update userspace users of hw.bus.devctl_disable.

This switches the code to use hw.bus.devctl_queue instead.
2014-03-31 02:53:15 +00:00
jkim
16332b280e MFC: r263435
Add new CPUTYPEs supported by Clang 3.4.
2014-03-28 20:12:30 +00:00
hselasky
609200cd25 MFC r263291 and r263292:
Update USB template manual page.
2014-03-27 06:55:26 +00:00
dim
fb422e6d31 MFC r262613:
Merge the projects/clang-sparc64 branch back to head.  This brings in
several updates from the llvm and clang trunks to make the sparc64
backend fully functional.

Apart from one patch to sys/sparc64/include/pcpu.h which is still under
discussion, this makes it possible to let clang fully build world and
kernel for sparc64.

Any assistance with testing this on actual sparc64 hardware is greatly
appreciated, as there will unavoidably be bugs left.

Many thanks go to Roman Divacky for his upstream work on getting the
sparc64 backend into shape.

MFC r262985:

Repair a few minor mismerges from r262261 in the clang-sparc64 project
branch.  This is also to minimize differences with upstream.
2014-03-26 07:31:57 +00:00
emaste
f9534c5185 MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSD
The NetBSD Foundation states "Third parties are encouraged to change the
  license on any files which have a 4-clause license contributed to the
  NetBSD Foundation to a 2-clause license."

  This change removes clauses 3 and 4 from copyright / license blocks that
  list The NetBSD Foundation as the only copyright holder.

Sponsored by:	The FreeBSD Foundation
2014-03-24 13:48:04 +00:00
dim
9cedb8bb69 MFC 261991:
Upgrade our copy of llvm/clang to 3.4 release.  This version supports
all of the features in the current working draft of the upcoming C++
standard, provisionally named C++1y.

The code generator's performance is greatly increased, and the loop
auto-vectorizer is now enabled at -Os and -O2 in addition to -O3.  The
PowerPC backend has made several major improvements to code generation
quality and compile time, and the X86, SPARC, ARM32, Aarch64 and SystemZ
backends have all seen major feature work.

Release notes for llvm and clang can be found here:
<http://llvm.org/releases/3.4/docs/ReleaseNotes.html>
<http://llvm.org/releases/3.4/tools/clang/docs/ReleaseNotes.html>

MFC 262121 (by emaste):

Update lldb for clang/llvm 3.4 import

This commit largely restores the lldb source to the upstream r196259
snapshot with the addition of threaded inferior support and a few bug
fixes.

Specific upstream lldb revisions restored include:
   SVN      git
  181387  779e6ac
  181703  7bef4e2
  182099  b31044e
  182650  f2dcf35
  182683  0d91b80
  183862  15c1774
  183929  99447a6
  184177  0b2934b
  184948  4dc3761
  184954  007e7bc
  186990  eebd175

Sponsored by:	DARPA, AFRL

MFC 262186 (by emaste):

Fix mismerge in r262121

A break statement was lost in the merge.  The error had no functional
impact, but restore it to reduce the diff against upstream.

MFC 262303:

Pull in r197521 from upstream clang trunk (by rdivacky):

  Use the integrated assembler by default on FreeBSD/ppc and ppc64.

Requested by:	jhibbits

MFC 262611:

Pull in r196874 from upstream llvm trunk:

  Fix a crash that occurs when PWD is invalid.

  MCJIT needs to be able to run in hostile environments, even when PWD
  is invalid. There's no need to crash MCJIT in this case.

  The obvious fix is to simply leave MCContext's CompilationDir empty
  when PWD can't be determined. This way, MCJIT clients,
  and other clients that link with LLVM don't need a valid working directory.

  If we do want to guarantee valid CompilationDir, that should be done
  only for clients of getCompilationDir(). This is as simple as checking
  for an empty string.

  The only current use of getCompilationDir is EmitGenDwarfInfo, which
  won't conceivably run with an invalid working dir. However, in the
  purely hypothetically and untestable case that this happens, the
  AT_comp_dir will be omitted from the compilation_unit DIE.

This should help fix assertions occurring with ports-mgmt/tinderbox,
when it is using jails, and sometimes invalidates clang's current
working directory.

Reported by:	decke

MFC 262809:

Pull in r203007 from upstream clang trunk:

  Don't produce an alias between destructors with different calling conventions.

  Fixes pr19007.

(Please note that is an LLVM PR identifier, not a FreeBSD one.)

This should fix Firefox and/or libxul crashes (due to problems with
regparm/stdcall calling conventions) on i386.

Reported by:	multiple users on freebsd-current
PR:		bin/187103

MFC 263048:

Repair recognition of "CC" as an alias for the C++ compiler, since it
was silently broken by upstream for a Windows-specific use-case.

Apparently some versions of CMake still rely on this archaic feature...

Reported by:	rakuco

MFC 263049:

Garbage collect the old way of adding the libstdc++ include directories
in clang's InitHeaderSearch.cpp.  This has been superseded by David
Chisnall's commit in r255321.

Moreover, if libc++ is used, the libstdc++ include directories should
not be in the search path at all.  These directories are now only used
if you pass -stdlib=libstdc++.
2014-03-21 17:53:59 +00:00
glebius
03fdc2934e Merge r262763, r262767, r262771, r262806 from head:
- Remove rt_metrics_lite and simply put its members into rtentry.
  - Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This
    removes another cache trashing ++ from packet forwarding path.
  - Create zini/fini methods for the rtentry UMA zone. Via initialize
    mutex and counter in them.
  - Fix reporting of rmx_pksent to routing socket.
  - Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode.
2014-03-21 15:15:30 +00:00
gjb
9fe35c7245 MFC r263105, r263106:
r263105:
  Add hyperv manual pages provided by Microsoft, formatted
  for FreeBSD standards.  Very little, if any, content was
  modified.

r263106:
  Connect the hyperv driver manuals to the build.

Sponsored by:	The FreeBSD Foundation
2014-03-19 01:43:03 +00:00
bdrewery
846573e969 MFC r262220:
Add missing Save Cursor support for VT520

PR:		conf/174937
2014-03-13 01:12:27 +00:00
hselasky
cc379b8b7b MFC r262417, r262439, r262454, r262455 and r262478:
- Several updates and improvements to ATP driver.
- Start effort merging WSP and ATP driver.
2014-03-12 07:15:41 +00:00
bapt
f5e5e1abc3 MFC: r262398,r262399,r262410,r262975
Import libucl into head

UCL is heavily infused by nginx configuration as the example of a convenient
configuration system. However, UCL is fully compatible with JSON format and is
able to parse json files.

UCL is used by pkg(8) for its configuration file as well for the manifest format
in packages, it will be used in base for the pkg boostrap (signature checking
and configuration file parsing.)

libucl has been developped and is maintained by vsevolod@
2014-03-11 13:06:09 +00:00
ache
5da4ff2e94 MFC r262689:
Add fetch and patch to .PHONY and .NOTMAIN only if PORTNAME is defined.
Unconditional addition cause real fetch(1) and patch(1) programs are
builded every time.
2014-03-09 23:47:34 +00:00
brueffer
9cff8027cb MFC: r262603
mdoc cleanup.
2014-03-07 12:20:01 +00:00
jmmv
74e392eb6c MFC a couple of improvements to the test suite mk files.
- r260632 Support defining test program metadata from the Makefiles.
- r260633 Support perl-based TAP-compliant test programs.
2014-03-06 13:30:36 +00:00
jmmv
16411e2c80 MFC various fixes for the ATF tests.
- r260505 Allow tests to provide a Kyuafile when they relied on auto-generation.
- r260525 Respect the original layout of the atf-{c,c++} tests.
- r260526 Fix path to the process_helpers for the libatf-c++ tests.
- r260576 Generate and install pkg-config files for atf.
- r260577 Add atf pkg-config files from the vendor branch.
- r260584 Prevent misc_helpers from running as a test.
2014-03-06 13:20:38 +00:00
zeising
a43dfff75f MFC r261832-261834:
r261832:
    Add cross references between rc.conf(5) and jail.conf(5).

r261833:
    Add commas (,) to the list in the SEE ALSO section, to match most
    other manuals.

r261834:
    Bump .Dd forgotten in r261832.
2014-03-06 10:26:25 +00:00
gjb
29fd702b03 MFC r262499, r262505, r262507, r262509:
r262499:
  release.sh:
  - Add a VCSCMD variable that defaults to 'svn checkout',
    and update places 'svn co' is used directly.
  - After sourcing a configuration file, prefix SRCBRANCH,
    PORTBRANCH, and DOCBRANCH with the SVNROOT.
  - Properly capitalize 'FreeBSD.org' in the default SVNROOT.
  - Update Copyright.

  release.conf.sample:
  - Add an example to use git instead of svn, by nullifying
    SVNROOT, and setting SRCBRANCH, DOCBRANCH, and PORTBRANCH
    to the URL fo a git repository.

  release.7:
  - Document VCSCMD.

r262505:
  In release/Makefile, remove exclusion of CVS directories in the
  src/ and ports/ distributions.

  While I am thinking about it, exclude .git directories for src/
  and ports/, as somewhat of a followup to r262499.

r262507:
  Chase r262505, and remove CVS exclusion from picobsd builds.

r262509:
  Rework how WORLD_FLAGS and KERNEL_FLAGS are set, to remove an
  unnecessary expr(1) call.

Sponsored by:	The FreeBSD Foundation
2014-03-05 00:45:28 +00:00
glebius
d06eb27738 Merge 261595: simplify the SYSCTL_COUNTER_U64() macro. 2014-03-04 14:23:58 +00:00
glebius
322a3c94d3 Merge 261593 from head:
Provide macros that allow easily export uma(9) zone limits and
  current usage via sysctl(9).
2014-03-04 14:21:07 +00:00
brooks
07e47bf403 MFC r261301 (notional merge):
Regenerate for WITHOUT_FMTREE and WITHOUT_NCURSESW

Large churn in comments due to regeneration with makeman script.

Sponsored by:	DARPA, AFRL
2014-03-01 04:44:33 +00:00
brooks
ac9b0c8c58 MFC r261299:
Merge from CheriBSD:
commit 2d581e8caf79d7a0f5a24590eccd06da90cccb74
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date:   Mon Jan 27 22:57:51 2014 +0000

	Add WITHOUT_FMTREE to disable building fmtree.

Sponsored by:	DARPA, AFRL
2014-03-01 04:25:52 +00:00
brooks
12b5ca7c28 MFC r261296:
Merge from CheriBSD:
commit c1acf022c533c5ae27e0cd556977eafe3f5959eb
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date:   Fri Jan 17 21:46:44 2014 +0000

	Add an option WITHOUT_NCURSESW to suppress building and linking to
	libncursesw.  While wide character support it useful we'd like to
	only need one ncurses library on embedded systems.

Sponsored by:	DARPA, AFRL
2014-03-01 03:09:16 +00:00
eadler
7f44971ec5 MFC r262451:
hier(7): Add /usr/lib/private
2014-02-27 01:01:02 +00:00
dim
6cf335a1b4 MFC r262310:
Move the part in bsd.own.mk that sets -Wno-c++11-extensions for clang to
bsd.sys.mk, where it really belongs.  This also causes the flag to get
added when clang is *not* the default system compiler, but is still
used, e.g. by setting WITH_CLANG_IS_CC manually.
2014-02-24 21:22:44 +00:00
brueffer
00490717c0 MFC: r261549
Add a manpage for the urndis driver.

Obtained from:	OpenBSD
2014-02-23 20:13:01 +00:00
bdrewery
1aa40d8e49 MFC r261931,r261932:
Allow overriding rctl.conf(5) file location for /etc/rc.d/rctl

Approved by:	bapt (mentor, implicit)
2014-02-23 20:04:29 +00:00
brueffer
94cbf3e7dc MFC: r262243
Fix a cross-reference.
2014-02-23 09:44:30 +00:00
jhb
efa52be477 MFC 261518:
- Update a few places to account for va_copy().
- Create a separate 'return values' section and move some statements about
  return values to that section.
- Note that each invocation of va_start() and va_copy() must be paired with
  va_end() in the same function.
2014-02-18 20:16:32 +00:00
luigi
5bacc3bb87 MFH: sync the netmap code with the one in HEAD
(enhanced VALE switch, netmap pipes, emulated netmap mode).
See details in the log for svn 261909.
2014-02-18 05:01:04 +00:00
wblock
13fea399b5 MFC r261800:
Remove obsolete vnode(9) man page references.
2014-02-18 03:33:51 +00:00
markj
a3fafc30d3 MFC r258036:
Add IDs for the ASIX 88179 and 88178A USB to GigE adapters.

MFC r258331:
Import the axge(4) driver for the ASIX AX88178A and AX88179 USB Ethernet
adapters. Both devices support Gigabit Ethernet and USB 2.0, and the AX88179
supports USB 3.0.

MFC r258617 (by lwhsu):
Also note to add xhci(4) to kernel configuration to utilize USB 3.0

MFC r258618 (by lwhsu):
Mention axge(4)
2014-02-17 22:40:05 +00:00
avg
22073dc5fc MFC r258713,262062: add taskqueue_drain_all 2014-02-17 15:32:08 +00:00
mav
3d0e3b0c68 MFC r261719:
Fix wrong device name in example.

PR:		docs/185602
Submitted by:	koitsu
2014-02-17 09:35:30 +00:00
kevlo
ecbaab7887 MFC r260444:
Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED.

The origin of WEP comes from IEEE Std 802.11-1997 where it defines
whether the frame body of MAC frame has been encrypted using WEP
algorithm or not.
IEEE Std. 802.11-2007 changes WEP to Protected Frame, indicates
whether the frame is protected by a cryptographic encapsulation
algorithm.

Reviewed by:	adrian, rpaulo
2014-02-17 01:36:53 +00:00
brueffer
2aa710b77c MFC: r261838
Add a deprecation notice to nve.4 and Xref nfe.4.
2014-02-16 11:13:14 +00:00
brueffer
3d4647ec06 MFC: r261702
Update and sort the list of iwn(4) firmware.
2014-02-16 11:11:41 +00:00
brueffer
96706ee32d MFC: r261611
Add some context for the "kldload sem" command; minor other improvements.

PR:		183650
Submitted by:	Bjorn Heidotting
2014-02-14 08:29:00 +00:00
brueffer
498a399b3a MFC: r261584
In IPv6 code examples, use the correct v6 socket.
2014-02-14 08:20:32 +00:00
hselasky
eedfb76d37 MFC r261597, r261598 and r261599:
Apple touchpad manual page fixes:
- Add manual page for wsp driver
- Update atp driver manual page
- Install atp manual page for all platforms
2014-02-14 07:30:59 +00:00
kevlo
f6e16ffb73 MFC r259544, r259545, r259546, r259547, r259812, r259939, r260219, r260542,
r261118, r261124, r261330:

- Add support for the MediaTek/Ralink RT3593 chipset.
- Various minor USB WLAN fixes and improvements.
2014-02-14 03:45:49 +00:00
brueffer
754c7b8e2b MFC: r261494
Actually install acpi_rapidstart.4.
2014-02-11 08:08:53 +00:00
brueffer
0da6b7f0d9 MFC: r261339
MLINK ixgbe.4 to {if_ix.4, ix.4}.  An update for ixgbe.4
which deals with the "ix prefix being shared by two drivers"
situation is forthcoming.
2014-02-10 22:24:49 +00:00
skreuzer
df3ef14ce8 Merge /head:261072: Remove WITHOUT_ATF from src.conf.5
Approved by:	hrs (mentor)
2014-01-28 15:15:13 +00:00
glebius
3b6c6cb1cd Merge r258702: Fix some misinformation in netgraph manual pages. 2014-01-22 10:31:56 +00:00
glebius
34e36d1706 Merge r257846:
Make TCP_KEEP* socket options readable. At least PostgreSQL wants
  to read the values.
2014-01-22 10:08:33 +00:00
glebius
a86bc98471 Merge r257686: Add required kernel option. 2014-01-22 10:01:13 +00:00
glebius
018ed48113 Merge 257643: Document RB_FOREACH_SAFE() and RB_FOREACH_REVERSE_SAFE(). 2014-01-22 09:59:49 +00:00