summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Relax the object locking assertion in vm_page_lookup(). Now that a radixalc2013-05-171-1/+1
| | | | | | | | tree is used to maintain the object's collection of resident pages, vm_page_lookup() no longer needs an exclusive lock. Reviewed by: attilio Sponsored by: EMC / Isilon Storage Division
* Revert r250692. We'll use 1 kernel config file for the BeagleBone models.rpaulo2013-05-172-128/+3
|
* Decode new HT 3.00 and 3.10 capabilities.kib2013-05-171-0/+12
| | | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
* Add new capability types encodings from HyperTransport I/O Linkkib2013-05-171-0/+4
| | | | | | | Specification revisions 3.00 and 3.10. Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com> MFC after: 1 week
* Upgrade to OpenSSH 6.2p2. Mostly a no-op since I had already patcheddes2013-05-1712-30/+65
| | | | the issues that affected us.
* Add a -N option that prints the jail name rather than its number.des2013-05-172-11/+29
| | | | MFC after: 3 weeks
* Add some more debugging printf()s to complain if the ath_buf tx queueadrian2013-05-171-0/+23
| | | | | | | | | | | | | | | doesn't match the actual hardware queue this frame is queued to. I'm trying to ensure that the holding buffers are actually being queued to the same TX queue as the holding buffer that they end up on. I'm pretty sure this is all correct so if this complains, it'll be due to some kind of subtle broken-ness that needs fixing. This is only done for legacy hardware, not EDMA hardware. Tested: * AR5416 STA mode, very lightly
* Complete revision 243104.grog2013-05-171-1/+3
|
* Drop any connection to newsyslog. I haven't worked on it for quitegad2013-05-171-1/+0
| | | | | some time. Note that I do want to keep the pre-commit review for usr.sbin/lpr. I am actively working on some updates for that.
* guard against MK_SHARED_TOOLCHAIN not being defined.delphij2013-05-161-1/+1
|
* Similar to r250719: guard against MK_BMAKE not being defined.delphij2013-05-161-1/+1
|
* Fix cut-n-paste error.julian2013-05-161-2/+2
|
* Reverse the sense of the test wrt bmake, and guard againstsjg2013-05-162-2/+2
| | | | MK_BMAKE not being defined.
* Constify string pointers.delphij2013-05-161-3/+3
| | | | | Verified with: sha256(1) MFC after: 2 weeks
* Minor mdoc improvements.joel2013-05-161-3/+3
|
* When running the -m option to generate a newfs(8) command suitable formckusick2013-05-162-3/+27
| | | | | | | | | | | | | | | | | recreating the filesystem, check for and output the -i, -k, and -l options if appropriate. Note the remaining deficiencies of the -m option in the dumpfs(8) manual page. Specifically that newfs(8) options -E, -R, -S, and -T options are not handled and that -p is not useful so is omitted. Also document that newfs(8) options -n and -r are neither checked for nor output but should be. The -r flag is needed if the filesystem uses gjournal(8). PR: bin/163992 Reported by: Dieter <freebsd@sopwith.solgatos.com> Submitted by: Andy Kosela <akosela@andykosela.com> MFC after: 1 week
* When reporting the user readable size, round up. Several SD cards notimp2013-05-161-3/+5
| | | | | only use SI units, but also are a couple of percent short. If you need to know the exact size, diskinfo will return exact results.
* Clean up trailing whitespace.mckusick2013-05-161-3/+3
| | | | | Submitted by: Andy Kosela MFC after: 1 week
* Implement NO_ROOT support for distributekernel and packagekernel.brooks2013-05-161-4/+29
|
* A library function shall not set errno to 0.jh2013-05-161-2/+3
| | | | Reviewed by: mdf
* Tidy up the debugging - don't bother printing out TID pointers; nowadrian2013-05-161-23/+24
| | | | | that we are printing out the MAC address in these fields, just printing out the TID is enough.
* Limit the number of software queued frames when doing non-aggregation.adrian2013-05-161-2/+6
| | | | | This should prevent the TX queue being filled with non-aggregate frames, causing starvation and non-fair queue behaviour.
* Dump out the holding buffer descriptor contents and addresses stopping DMA.adrian2013-05-161-2/+12
|
* Fix a typo in a comment.dteske2013-05-161-1/+1
|
* Add a handy function for truncating variables to a specific byte-length. Itdteske2013-05-161-0/+20
| | | | | | should be noted that newlines are both preserved and included in said byte- count. If you want to truncate single-line values without regard to line termination, there's always f_substr() which already exists herein.
* Finally change the mbuf to have its own fib field instead of stealingjulian2013-05-164-28/+20
| | | | | | 4 flag bits. This was supposed to happen in 8.0, and again in 2012.. MFC after: never
* Build bmake by default.sjg2013-05-162-1/+8
| | | | | | | If someone explicitly builds usr.bin/make while MK_BMAKE==yes, install it as 'fmake'. Reviewed by: brooks
* Add a sample script to create filesystem images from an installed treebrooks2013-05-163-0/+368
| | | | created by installworld+distribution with the -DNO_ROOT option.
* Add dependencies on the firmware, which allows the loading of the cxgbkib2013-05-162-0/+3
| | | | | | | and cxgbe modules. Reviewed and approved by: np MFC after: 1 week
* Fix L2 cache write-back invalidate for Sheeva core.gber2013-05-161-0/+8
| | | | | Submitted by: Michal Dubiel Obtained from: Netasq, Semihalf
* Add tcp header flags ECE and CWR defined in RFC 3168.hiren2013-05-163-2/+6
| | | | | | | PR: 140349 Submitted by: Alan Amesbury <amesbury@umn.edu> (earlier version) Reviewed by: delphij Approved by: sbruno (mentor)
* Add a kernel config file for the BeableBone Black SoC.rpaulo2013-05-161-0/+127
|
* Return one-based key so that user can check if the key is ever allocateddavidxu2013-05-161-4/+7
| | | | | | in the first place. Initial patch submitted by: phk
* Convert a couple of helper scripts used to test the ip provider to work onmarkj2013-05-152-11/+20
| | | | | | | | FreeBSD. In the IPv6 case, try each interface before returning an error; each IPv6-enabled interface will have a link-local address even if the link isn't up. MFC after: 1 week
* Rename O_DIRECTORY to O_TMP_DIRECTORY to avoid shadowing the fcntl.hjh2013-05-153-6/+6
| | | | | | | O_DIRECTORY flag. PR: bin/173924 Obtained from: git://repo.or.cz/nvi.git
* Constify parameters, no functional or binary change.delphij2013-05-151-6/+6
| | | | | Verified with: sha256(1) MFC after: 2 weeks
* Implement my first cut at "correct" node power-save andadrian2013-05-157-72/+504
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PS-POLL support. This implements PS-POLL awareness i nthe * Implement frame "leaking", which allows for a software queue to be scheduled even though it's asleep * Track whether a frame has been leaked or not * Leak out a single non-AMPDU frame when transmitting aggregates * Queue BAR frames if the node is asleep * Direct-dispatch the rest of control and management frames. This allows for things like re-association to occur (which involves sending probe req/resp as well as assoc request/response) when the node is asleep and then tries reassociating. * Limit how many frames can set in the software node queue whilst the node is asleep. net80211 is already buffering frames for us so this is mostly just paranoia. * Add a PS-POLL method which leaks out a frame if there's something in the software queue, else it calls net80211's ps-poll routine. Since the ath PS-POLL routine marks the node as having a single frame to leak, either a software queued frame would leak, OR the next queued frame would leak. The next queued frame could be something from the net80211 power save queue, OR it could be a NULL frame from net80211. TODO: * Don't transmit further BAR frames (eg via a timeout) if the node is currently asleep. Otherwise we may end up exhausting management frames due to the lots of queued BAR frames. I may just undo this bit later on and direct-dispatch BAR frames even if the node is asleep. * It would be nice to burst out a single A-MPDU frame if both ends support this. I may end adding a FreeBSD IE soon to negotiate this power save behaviour. * I should make STAs timeout of power save mode if they've been in power save for more than a handful of seconds. This way cards that get "stuck" in power save mode don't stay there for the "inactivity" timeout in net80211. * Move the queue depth check into the driver layer (ath_start / ath_transmit) rather than doing it in the TX path. * There could be some naughty corner cases with ps-poll leaking. Specifically, if net80211 generates a NULL data frame whilst another transmitter sends a normal data frame out net80211 output / transmit, we need to ensure that the NULL data frame goes out first. This is one of those things that should occur inside the VAP/ic TX lock. Grr, more investigations to do.. Tested: * STA: AR5416, AR9280 * AP: AR5416, AR9280, AR9160
* sbin/camcontrol/camcontrol.casomers2013-05-151-2/+6
| | | | | | | | | | | | If an expander returns 0x00 (no device attached) in the ATTACHED DEVICE field of the SMP DISCOVER response, ignore the value of ATTACHED SAS ADDRESS, because it is invalid. Some expanders zero out the address when the attached device is removed, but others do not. Section 9.4.3.10 of the SAS Protocol Layer 2 revision 04b does not require them to do so. Approved by: ken (mentor) MFC after: 3 weeks
* Add Qlogic 10Gigabit Ethernet & CNA Adapter Driver Version 3.10.10 fordavidcs2013-05-1522-0/+11633
| | | | | | | QLogic 8300 Series Adapters Submitted by: David C Somayajulu (davidcs@freebsd.org) QLogic Corporation Approved by: George Neville-Neil (gnn@freebsd.org)
* Document WITHOUT_CROSS_COMPILER and WITHOUT_FORMAT_EXTENSIONS.brooks2013-05-151-0/+10
|
* Add support for an external cross compiler. The cross compiler isbrooks2013-05-153-6/+67
| | | | | | | | | | | | | | | | | | | | specified by passing the XCC, XCXX, and XCPP variables (corresponding to CC, CXX, and CPP) to buildworld/buildkernel. The compiler must be clang or be configured to target the appropriate architecture. To speed build times, if XCC is an absolute path or WITHOUT_CROSS_COMPILER is defined then no cross compiler will be built during the cross-tools stage. Limited documentation of this feature can currently be found at: https://wiki.freebsd.org/ExternalToolchain This functionality should be considered experimental and is subject to change without notice. Sponsored by: DARPA, AFRL Discussed with: imp, sjg
* Add a new option WITHOUT_FORMAT_EXTENSIONS to disable flags related tobrooks2013-05-153-2/+16
| | | | | | | checking our kernel printf extensions. This is useful to allow compilers without these extensions to build kernels. Sponsored by: DARPA, AFRL
* Fix typo in comment.des2013-05-151-1/+1
| | | | | Submitted by: Alex Weber <alexwebr@gmail.com> MFC after: 1 week
* Fix a typo: It should be "strtoll" and not "stroll".hiren2013-05-141-3/+3
| | | | | | | PR: 178642 Reported by: Michael Galassi (michaelgalassi@gmail.com) Approved by: sbruno (mentor) MFC after: 1 week
* Port the new PV entry allocator from amd64/i386/mips to armv6/v7.gber2013-05-143-79/+471
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PV entries are now roughly half the size. Instead of using a shared UMA zone for 28 byte pv entries (two 8-byte tailq nodes, a 4 byte pointer, a 4 byte address and 4 byte flags), we allocate a page at a time per process. This provides 252 pv entries per process (actually, per pmap address space) and eliminates one of the 8-byte tailq entries since we now can track per-process pv entries implicitly. The pointer to the pmap can be eliminated by doing address arithmetic to find the metadata on the page headers to find a single pointer shared by all 252 entries. There is an 8-int bitmap for the freelist of those 252 entries. When in serious low memory condition, allocation of another pv_chunk is possible by freeing some pages in pmap_pv_reclaim(). Added pv_entry/pv_chunk related statistics to pmap. pv_entry/pv_chunk statistics can be accessed via sysctl vm.pmap. Ported PTE freelist of KVA allocation and maintenance from i386. Using an idea from Stephan Uphoff, use the empty pte's that correspond to the unused kva in the pv memory block to thread a freelist through. This allows us to free pages that used to be used for pv entry chunks since we can now track holes in the kva memory block. As both ARM pmap.c and pmap-v6.c use the same header and pv_entry, pmap and md_page structures are different, it was needed to separate code designed for ARMv6/7 from the one for other ARMs. Submitted by: Zbigniew Bodek <zbb@semihalf.com> Reviewed by: alc Sponsored by: The FreeBSD Foundation, Semihalf
* Centralize standard getopts arguments, both for convenience and to correctdteske2013-05-1443-46/+72
| | | | | | | | | a bug in which certain combinations of arguments produced unexpected results such as `-dX' (now properly produces debugging and X11), `-XS' (now properly produces X11 in secure mode), `-df-' (enables debugging when reading a script from standard-input, etc. Multi-word variations such as `-d -X', `-X -S', `-d -f-', `-d -f -', etc. also work as expected. Also tested were variations in argument order, which are now working as expected.
* Add less to rescue build. On amd64, this increases rescue size by aboutdelphij2013-05-131-0/+3
| | | | | | 130KB or 2.4%. MFC after: 1 month
* Improve readability of static assertions for OFFSET_* macros.ed2013-05-132-6/+8
| | | | | | Instead of doing all sorts of weird casting of constants to pointer-pointers, simply use the standard C offsetof() macro to obtain the offset of the respective fields in the structures.
* Rework the way C11 keywords are defined.ed2013-05-131-25/+57
| | | | | | | | | Instead of only checking the __STDC_VERSION__, we can also use Clang's __has_extension() to check for features specifically. This allows us to, say, use Clang's native _Static_assert() instead of the typedef hack, making the compiler error messages a lot more readable. Reviewed by: theraven
* Add ALQ beacon debugging.adrian2013-05-133-0/+28
|
OpenPOWER on IntegriCloud