summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Update mentors for brnrdbrnrd2015-12-241-2/+1
| | | | | | | | | - Remove vsevolod as mentor for brnrd - Add feld as mentor for brnrd Reviewed by: koobs (mentor), vsevolod (mentor p.t.), feld (mentor h.t.) Approved by: koobs (mentor) Differential Revision: https://reviews.freebsd.org/D4702
* Add accessor methods to fetch the BAR holding the MSI-X table and PBA.jhb2015-12-232-3/+54
| | | | | | | | | While here, explicitly note the requirement that the BAR(s) must be allocated prior to calling pci_alloc_msix(). Reviewed by: andrew, emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D4688
* Restore a day of the week in date(1) output for Japanese locales.ume2015-12-203-5/+5
| | | | It was lost by recent locale change.
* Clean up Kyuafile.tmp, not Kyuafile.auto.tmpngie2015-12-201-1/+1
| | | | | | | MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D4406 (part of a larger diff) Reviewed by: emaste, Evan Cramer <eccramer@gmail.com> Sponsored by: EMC / Isilon Storage Division
* Document LOCALBASE in the bsd.test.mk sectionngie2015-12-201-0/+4
| | | | | | | MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D4406 (part of a larger diff) Reviewed by: emaste, Evan Cramer <eccramer@gmail.com> Sponsored by: EMC / Isilon Storage Division
* - Use LOCALBASE instead of KYUA_PREFIX for the --prefix to kyua(1)ngie2015-12-203-9/+5
| | | | | | | | | - Use LOCALBASE instead of hardcoding /usr/local for perl MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D4406 (part of a larger diff) Reviewed by: emaste, Evan Cramer <eccramer@gmail.com> Sponsored by: EMC / Isilon Storage Division
* Deal with another hardcoded reference to Kyuafile in the KYUAFILE == autongie2015-12-201-1/+1
| | | | | | | | case Differential Revision: https://reviews.freebsd.org/D4406 (part of a larger diff) Reviewed by: emaste, Evan Cramer <eccramer@gmail.com> Sponsored by: EMC / Isilon Storage Division
* Fix typo in r292500 by adding missing conditional statementngie2015-12-201-0/+1
| | | | | | | | MFC after: 1 week X-MFC with: r292500 Pointyhat to: ngie Differential Revision: https://reviews.freebsd.org/D4406 (part of a larger diff) Sponsored by: EMC / Isilon Storage Division
* Simplify Kyuafile generation logic with KYUAFILE == auto andngie2015-12-201-14/+10
| | | | | | | | | related complexity with variables MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D4406 (part of a larger diff) Reviewed by: emaste, Evan Cramer <eccramer@gmail.com> Sponsored by: EMC / Isilon Storage Division
* Add missing return statement to atf/printf_test to make the examplengie2015-12-201-0/+2
| | | | | | | | complete and correct, and mute a compiler warning from clang MFC after: 3 days Reported by: Jenkins Sponsored by: EMC / Isilon Storage Division
* Add a safety net to reclaim mbufs when one of the mbuf zones becomejtl2015-12-202-4/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exhausted. It is possible for a bug in the code (or, theoretically, even unusual network conditions) to exhaust all possible mbufs or mbuf clusters. When this occurs, things can grind to a halt fairly quickly. However, we currently do not call mb_reclaim() unless the entire system is experiencing a low-memory condition. While it is best to try to prevent exhaustion of one of the mbuf zones, it would also be useful to have a mechanism to attempt to recover from these situations by freeing "expendable" mbufs. This patch makes two changes: a) The patch adds a generic API to the UMA zone allocator to set a function that should be called when an allocation fails because the zone limit has been reached. Because of the way this function can be called, it really should do minimal work. b) The patch uses this API to try to free mbufs when an allocation fails from one of the mbuf zones because the zone limit has been reached. The function schedules a callout to run mb_reclaim(). Differential Revision: https://reviews.freebsd.org/D3864 Reviewed by: gnn Comments by: rrs, glebius MFC after: 2 weeks Sponsored by: Juniper Networks
* Use :E instead of regex in ctypedef Makefilesbapt2015-12-191-1/+1
|
* Simplify the locale generated Makefiles by using bmake multi variables for loopsbapt2015-12-186-814/+814
|
* ioat(4): Add an API to get HW revisioncem2015-12-171-1/+3
| | | | | | | | Different revisions support different operations. Refer to Intel External Design Specifications to figure out what your hardware supports. Sponsored by: EMC / Isilon Storage Division
* A change to KPI of vm_pager_get_pages() and underlying VOP_GETPAGES().glebius2015-12-161-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | o With new KPI consumers can request contiguous ranges of pages, and unlike before, all pages will be kept busied on return, like it was done before with the 'reqpage' only. Now the reqpage goes away. With new interface it is easier to implement code protected from race conditions. Such arrayed requests for now should be preceeded by a call to vm_pager_haspage() to make sure that request is possible. This could be improved later, making vm_pager_haspage() obsolete. Strenghtening the promises on the business of the array of pages allows us to remove such hacks as swp_pager_free_nrpage() and vm_pager_free_nonreq(). o New KPI accepts two integer pointers that may optionally point at values for read ahead and read behind, that a pager may do, if it can. These pages are completely owned by pager, and not controlled by the caller. This shifts the UFS-specific readahead logic from vm_fault.c, which should be file system agnostic, into vnode_pager.c. It also removes one VOP_BMAP() request per hard fault. Discussed with: kib, alc, jeff, scottl Sponsored by: Nginx, Inc. Sponsored by: Netflix
* Enable LLDB by default on amd64 and arm64emaste2015-12-161-1/+5
| | | | | | | | | | | | | | | | | LLDB is usable for userland core file and live debugging on amd64, and for userland core file debugging on arm64. In general it works at least as well on FreeBSD as our in-tree gdb version, so enable it by default to allow for broader use and testing. An LLDB tutorial is available at http://lldb.llvm.org/tutorial.html, and a table mapping GDB commands to LLDB commands can be found at http://lldb.llvm.org/lldb-gdb.html . LLDB also has some level of support for FreeBSD on arm, mips, i386, and powerpc, but is not yet ready to have them enabled by default. Reviewed by: gnn Relnotes: Yes
* Regenerate after r292283.bdrewery2015-12-151-3/+6
|
* Fix example code rendering, \n needs escaping to show up.brueffer2015-12-154-14/+14
| | | | | PR: 203536 Submitted by: Fabian Keil
* Fix a typo (opencrypto -> crypto) and remove useless comment.kevlo2015-12-151-5/+2
|
* DIRDEPS_BUILD: Support bootstrapping from PROGS.(DPADD|LIBADD).bdrewery2015-12-151-3/+18
| | | | Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Fix incorrectly adding in RELDIR for DIRDEPS in bootstrapping.bdrewery2015-12-151-1/+3
| | | | | | | | This is not wrong, but was unexpected. Using <empty>:H results in '.' which then using the rest of the conversion was added in RELDIR. This was also causing an empty _DP_DIRDEPS to resolve to SRCTOP for DIRDEPS. Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Avoid duplicates in DIRDEPS for bootstrapping.bdrewery2015-12-151-1/+1
| | | | | | | This logic is potentially included multiple times, so overwrite the temporary variable rather than append to it. Sponsored by: EMC / Isilon Storage Division
* Add comment about OBJTOP not yet being defined outside of META MODE.bdrewery2015-12-151-0/+2
| | | | | | It is fine for the purpose of the check though. Sponsored by: EMC / Isilon Storage Division
* Follow-up r291739: Don't suggest LDADD on private libs to use LIBADD.bdrewery2015-12-151-1/+2
| | | | | | | This is because LDADD+=-lFOO is not the same as LDADD+=-lprivateFOO which is what the private libs in LIBADD are. Sponsored by: EMC / Isilon Storage Division
* Start on a new library (libsysdecode) that provides routines for decodingjhb2015-12-152-0/+2
| | | | | | | | | | | | | | | | | system call information such as system call arguments. Initially this will consist of pulling duplicated code out of truss and kdump though it may prove useful for other utilities in the future. This commit moves the shared utrace(2) record parser out of kdump into the library and updates kdump and truss to use it. One difference from the previous version is that the library version treats unknown events that start with the "RTLD" signature as unknown events. This simplifies the interface and allows the consumer to decide how to handle all non-recognized events. Instead, this function only generates a string description for known malloc() and RTLD records. Reviewed by: bdrewery Differential Revision: https://reviews.freebsd.org/D4537
* Allow overriding FILESDIRs for snmp files.bdrewery2015-12-141-2/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* ioat(4): Add support for interrupt coalescingcem2015-12-141-1/+19
| | | | | | | | | | In I/OAT, this is done through the INTRDELAY register. On supported platforms, this register can coalesce interrupts in a set period to avoid excessive interrupt load for small descriptor workflows. The period is configurable anywhere from 1 microsecond to 16.38 milliseconds, in microsecond granularity. Sponsored by: EMC / Isilon Storage Division
* Let termcap be used in LIBADD.bdrewery2015-12-141-0/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* Clean up issues reported by mandoc -Tlintbrueffer2015-12-144-12/+12
|
* Non-exhaustive mdoc/spelling/style cleanup.brueffer2015-12-141-48/+87
| | | | | PR: 202716, 204301 (both spelling) Submitted by: Richard Farr, madpilot
* Add the cryptodev device.kevlo2015-12-141-1/+2
|
* DIRDEPS_BUILD: Don't force C dependencies on kernel modules for bootstrapping.bdrewery2015-12-111-1/+4
| | | | | | | | | | These use ld(1), effectively -nostdlib, and don't need any of these normal dependencies. kmod builds also define PROG so just checking for KMOD here seems to be the easiest to handle it. Sponsored by: EMC / Isilon Storage Division
* Start support for the RISC-V 64-bit architecture developed by UC Berkeley.br2015-12-116-3/+26
| | | | | | | | | | | | | | | RISC-V is a new ISA designed to support computer research and education, and is now become a standard open architecture for industry implementations. This is a minimal set of changes required to run 'make kernel-toolchain' using external (GNU) toolchain. The FreeBSD/RISC-V project home: https://wiki.freebsd.org/riscv. Reviewed by: andrew, bdrewery, emaste, imp Sponsored by: DARPA, AFRL Sponsored by: HEIF5 Differential Revision: https://reviews.freebsd.org/D4445
* [PR 195033] Document mps.enable_ssurpokala2015-12-111-2/+37
| | | | | | | | | | | mps(4) sends StartStopUnit to SATA direct-access devices during shutdown. Document the tunables which control that behavior. PR: 195033 Reviewed by: scottl Approved by: jhb MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D4456
* Fix minor typos introduced on r292084.araujo2015-12-111-2/+2
| | | | | Approved by: rodrigc (mentor) Differential Revision: https://reviews.freebsd.org/D4495
* Handle CPUTYPE=armv[4567]* better. gcc expects those to be eitherimp2015-12-111-2/+7
| | | | | -march=foo or -mcpu=generic-foo. Catch the armvX* case and pass the right args for it.
* Move the inclusion of bsd.cpu.mk from sys.mk to bsd.opts.mk. However,imp2015-12-112-0/+11
| | | | | | | | for historical behavior that ports depends on, include it if we're inside the ports tree. Differential Review: https://reviews.freebsd.org/D4383 Ports Exp run: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205021
* Update list of card names.mav2015-12-101-9/+5
|
* Fix a copy and paste bug when this page was first written by copying fromjhb2015-12-101-2/+2
| | | | | | BUS_BIND_INTR.9. MFC after: 1 week
* Convert contrib/ofed libraries to LIBADD.bdrewery2015-12-102-0/+43
| | | | Sponsored by: EMC / Isilon Storage Division
* Sort the LIB list.bdrewery2015-12-102-11/+12
| | | | Sponsored by: EMC / Isilon Storage Division
* ioat(4): Add ioat_copy_8k_aligned KPIcem2015-12-091-2/+13
| | | | | | | | The hardware supports descriptors with two non-contiguous pages. This allows issuing one descriptor for an 8k copy from/to non-contiguous but otherwise page-aligned memory. Sponsored by: EMC / Isilon Storage Division
* CCACHE_BUILD: Only export CCACHE_PATH= if it was already set with a value.bdrewery2015-12-081-0/+2
| | | | | | | | Older ccache don't work with an empty CCACHE_PATH value. They will error with: ccache: FATAL: Could not find compiler "cc" in PATH make: "/mnt/bdrewery/git/onefs/src/share/mk/bsd.compiler.mk" line 134: Unable to determine compiler type for /usr/local/bin/ccache cc. Consider setting COMPILER_TYPE. Sponsored by: EMC / Isilon Storage Division
* Add comment explaining aarch64's BROKEN_OPTIONSemaste2015-12-081-0/+1
| | | | | In-tree bintuils and GCC do not support aarch64 or other recent architectures.
* META MODE: Define a STAGE_TARGET_OBJTOP and export it alone withbdrewery2015-12-081-0/+4
| | | | | | | | | | STAGE_OBJTOP and STAGE_HOST_OBJTOP. These will always be overridden in sub-makes when building in-tree, but are exported for the benefit of hooking in external builds, such as ports. Sponsored by: EMC / Isilon Storage Division
* Update after r291955, build/install userland debug by defaultemaste2015-12-081-9/+5
| | | | Sponsored by: The FreeBSD Foundation
* Fix some makeman issues.bdrewery2015-12-082-0/+2
| | | | | | | | | | - Don't bother looking up REVISION/BRANCH/etc from release/, or the CPUTYPE check, as these are not used for makeman and wastes time. The also invokes auto.obj.mk after I reverted auto.obj.mk ignoring -V in r291312. - Don't modify CC or PATH when WITH_CCACHE_BUILD or WITH_META_MODE is enabled as it leads to bsd.compiler.mk errors. Sponsored by: EMC / Isilon Storage Division
* o DragonFly 4.4.1 release added.maxim2015-12-081-0/+2
|
* Actually add the proc_rwmem(9) man page, missed in r291961.markj2015-12-071-0/+104
|
* Fix a couple misspellings of "environment."markj2015-12-071-2/+2
| | | | MFC after: 3 days
OpenPOWER on IntegriCloud