summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
*-. Upgrade our copy of llvm/clang to trunk r178860, in preparation of thedim2013-04-122580-119237/+224887
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | upcoming 3.3 release (branching and freezing expected in a few weeks). Preliminary release notes can be found at the usual location: <http://llvm.org/docs/ReleaseNotes.html> An MFC is planned once the actual 3.3 release is finished.
| | * Vendor import of clang trunk r178860:dim2013-04-082316-60669/+146869
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/cfe/trunk@178860
| | * Vendor import of clang tags/RELEASE_32/final r170710 (effectively, 3.2dim2012-12-229-62/+107
| | | | | | | | | | | | | | | release): http://llvm.org/svn/llvm-project/cfe/tags/RELEASE_32/final@170710
| * | Vendor import of llvm trunk r178860:dim2013-04-084182-203079/+418797
| | | | | | | | | | | | http://llvm.org/svn/llvm-project/llvm/trunk@178860
| * | Vendor import of llvm tags/RELEASE_32/final r170710 (effectively, 3.2dim2012-12-2224-355/+565
| | | | | | | | | | | | | | | release): http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_32/final@170710
* | | Remove the NVME_IDENTIFY_CONTROLLER and NVME_IDENTIFY_NAMESPACE IOCTLs and ↵jimharris2013-04-124-84/+91
| | | | | | | | | | | | | | | | | | | | | | | | replace them with the NVMe passthrough equivalent. Sponsored by: Intel
* | | Add support for passthrough NVMe commands.jimharris2013-04-123-0/+163
| | | | | | | | | | | | | | | | | | | | | | | | This includes a new IOCTL to support a generic method for nvmecontrol(8) to pass IDENTIFY, GET_LOG_PAGE, GET_FEATURES and other commands to the controller, rather than separate IOCTLs for each. Sponsored by: Intel
* | | Move the busdma mapping functions to nvme_qpair.c.jimharris2013-04-125-85/+45
| | | | | | | | | | | | | | | | | | This removes nvme_uio.c completely. Sponsored by: Intel
* | | Remove the NVMe-specific physio and associated routines.jimharris2013-04-122-165/+2
| | | | | | | | | | | | | | | | | | | | | | | | These were added early on for benchmarking purposes to avoid the mapped I/O penalties incurred in kern_physio. Now that FreeBSD (including kern_physio) supports unmapped I/O, the need for these NVMe-specific routines no longer exists. Sponsored by: Intel
* | | Add a mutex to each namespace, for general locking operations on the namespace.jimharris2013-04-122-0/+12
| | | | | | | | | | | | Sponsored by: Intel
* | | Rename the controller's fail_req_lock, so that it can be used for otherjimharris2013-04-122-7/+8
| | | | | | | | | | | | | | | | | | locking operations on the controller. Sponsored by: Intel
* | | Do not panic when a busdma mapping operation fails.jimharris2013-04-122-5/+28
| | | | | | | | | | | | | | | | | | | | | Instead, print an error message and fail the associated command with DATA_TRANSFER_ERROR NVMe completion status. Sponsored by: Intel
* | | Move MIPS_MAX_TLB_ENTRIES definition from cpuregs.h to tlb.cjchandra2013-04-122-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Having MIPS_MAX_TLB_ENTRIES defined to 128 is misleading, since it used to be 64 in older releases of MIPS architecture (where it could be read from Config1) and can be much more than 128 for the newer processors. For now, move the definition to the only file using it (mips/mips/tlb.c) and define MIPS_MAX_TLB_ENTRIES depending on the MIPS cpu defined. Also add few checks so that we do not write beyond the end of the tlb_state array. This fixes a kernel data corruption seen in Netlogic XLP, which was casued by tlb_save() writing beyond the end of tlb_state array when breaking into debugger.
* | | Add some more dates and relationships.gavin2013-04-121-2/+6
| | | | | | | | | | | | Submitted by: jkoshy, gj, dfr
* | | Fix usage for soreceive(9) - uio must always be non-NULL.trasz2013-04-121-5/+12
| | | | | | | | | | | | MFC after: 1 week
* | | Reflect removing of the counter_u64_subtract() function in the macro.ae2013-04-121-2/+2
| | |
* | | Remove ctl(4) from GENERIC. Also remove 'options CTL_DISABLE'trasz2013-04-1213-54/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and kern.cam.ctl.disable tunable; those were introduced as a workaround to make it possible to boot GENERIC on low memory machines. With ctl(4) being built as a module and automatically loaded by ctladm(8), this makes CTL work out of the box. Reviewed by: ken Sponsored by: FreeBSD Foundation
* | | Fix incorrect KASSERTs in xlpgejchandra2013-04-121-2/+2
| | | | | | | | | | | | | | | Fix for crash in Netlogic XLP network accelerator driver when invariants are enabled - use correct the condition for KASSERT.
* | | Fix kenv behavior when there is no static environmentjchandra2013-04-121-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case where there are no static kernel environment entries, the function init_dynamic_kenv() adds an incorrect entry at position 0 of the dynamic kernel environment. This in turn causes kenv(1) to print and empty list even though there are dynamic entries added later. Fix this by checking env_pos in init_dynamic_kenv() and adding dynamic entries only if there are static entries.
* | | sh: Don't modify exit status when break/continue/return passes !.jilles2013-04-123-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | This matches what would happen if ! P were to be replaced with if P; then false; else true; fi. Example: f() { ! return 0; }; f
* | | - Do not bail out if stat(2) fails with ENOENT in the spool directory. Thisgahr2013-04-121-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | happens if another atrm process removes a job while we're scanning through the directory. - While at it, optimize a bit the directory scanning, so that we quit looping as soon as all jobs specified in argv have been dealt with. Approved by: cognet
* | | - Switch order of setting real uid and gid. If we set uid first, then wegahr2013-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | don't have enough privileges to set gid. This looks like a long standing bug, just recently revealed by r241852. Approved by: cognet
* | | isa_if.h is indirectly included.bz2013-04-121-1/+1
| | | | | | | | | | | | Depend on it to unbreak pc98 builds.
* | | Attempt to clean up spacing and long lines.glebius2013-04-121-98/+112
| | |
* | | Update with several early mentor/mentee relationships and dates commitgavin2013-04-121-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | bits were granted. Relationships have been provided by the mentees, dates have been sourced from either the mentees or the CVS mailing list archives. Obtained from: mux, wilko, msmith, peter, schweikh Obtained from: gallatin, dfr, murray, jkoshy
* | | Free memory after deleting an address policy entry.ae2013-04-121-0/+1
| | | | | | | | | | | | MFC after: 1 week
* | | Fix a few typos.delphij2013-04-121-3/+3
| | | | | | | | | | | | | | | Reviewed by: gjb MFC after: 3 days
* | | If vmm.ko could not be initialized correctly then prevent the creation ofneel2013-04-123-8/+21
| | | | | | | | | | | | | | | | | | virtual machines subsequently. Submitted by: Chris Torek
* | | If doing buildworld -DWITH_BMAKE make sure bmake does the build.sjg2013-04-121-2/+6
| | |
* | | Add pciids of the T5 based cards. The ones that I haven't tested withnp2013-04-111-0/+21
| | | | | | | | | | | | | | | | | | cxgbe(4) are disabled for now. This will change. MFC after: 2 weeks
* | | Cosmetic change (s/wrwc/wcwr/;s/WRWC/WCWR/).np2013-04-113-12/+12
| | | | | | | | | | | | MFC after: 3 days.
* | | Auto-reduce the holdoff timers that are greater than the maximum valuenp2013-04-111-1/+22
| | | | | | | | | | | | | | | | | | allowed by the hardware. MFC after: 3 days
* | | Generate a LINT for powerpc and for powerpc64.bz2013-04-112-4/+7
| | | | | | | | | | | | Discussed with: nwhitehorn
* | | Always enable TXOK interrupts when setting up TX queues for EDMA NICs.adrian2013-04-111-1/+7
| | |
* | | cxgbe/tom: Slight simplification of code that calculates options2.np2013-04-112-10/+16
| | | | | | | | | | | | MFC after: 3 days
* | | Fix bugs in the elapsed time calculation in ctlstat_standard()ken2013-04-111-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pointed out by bde: - Casting to long double isn't needed. - The division isn't needed, multiplication can be used. "When 1 nanosecond is in a floating point literal, the whole expression is automatically promoted correctly." - non-KNF indentation (1 tab) for the newly split line - different non-KNF indentation (5 spaces) for the previously split line - exessive parentheses around the division operation - bogus blank line which splits up the etime initialization - general verboseness from the above. Submitted by: bde MFC after: 3 days
* | | Get rid of a couple of stray \n's.np2013-04-111-2/+2
| | | | | | | | | | | | MFC after: 3 days.
* | | There is no need for elaborate queries and error checking when trying tonp2013-04-111-18/+4
| | | | | | | | | | | | | | | | | | set FW4MSG_ENCAP. MFC after: 3 days
* | | Spelling correctionemaste2013-04-112-2/+2
| | |
* | | Document sbuf_start_section() and sbuf_end_section() functions.trociny2013-04-111-2/+36
| | | | | | | | | | | | MFC after: 1 month
* | | Add sbuf_start_section and sbuf_end_section to the libsbuf symbol map.trociny2013-04-112-0/+8
| | | | | | | | | | | | MFC after: 1 month
* | | Add sbuf_start_section() and sbuf_end_section() functions, which cantrociny2013-04-112-1/+75
| | | | | | | | | | | | | | | | | | | | | | | | be used for automatic section alignment. Discussed with: kib Reviewed by: kib MFC after: 1 month
* | | - Explain clearly why a different firmware is being installed (if/whennp2013-04-111-18/+57
| | | | | | | | | | | | | | | | | | | | | | | | it is being installed). Improve other error messages while here. - Select special FPGA specific configuration profile when appropriate. MFC after: 3 days
* | | Minor spelling and grammar fixes.joel2013-04-114-9/+9
| | |
* | | Remove contractions.joel2013-04-1114-23/+23
| | |
* | | Fix tcp_output() so that tcpcb is updated in the same manner when anglebius2013-04-111-70/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mbuf allocation fails, as in a case when ip_output() returns error. To achieve that, move large block of code that updates tcpcb below the out: label. This fixes a panic, that requires the following sequence to happen: 1) The SYN was sent to the network, tp->snd_nxt = iss + 1, tp->snd_una = iss 2) The retransmit timeout happened for the SYN we had sent, tcp_timer_rexmt() sets tp->snd_nxt = tp->snd_una, and calls tcp_output(). In tcp_output m_get() fails. 3) Later on the SYN|ACK for the SYN sent in step 1) came, tcp_input sets tp->snd_una += 1, which leads to tp->snd_una > tp->snd_nxt inconsistency, that later panics in socket buffer code. For reference, this bug fixed in DragonflyBSD repo: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1ff9b7d322dc5a26f7173aa8c38ecb79da80e419 Reviewed by: andre Tested by: pho Sponsored by: Nginx, Inc. PR: kern/177456 Submitted by: HouYeFei&XiBoLiu <lglion718 163.com>
* | | Remove kernel options from the SYNOPSIS. They are already documented in thejoel2013-04-111-27/+0
| | | | | | | | | | | | geom(4) manual page SYNOPSIS.
* | | cxgbe(4): Ensure that the MOD_LOAD handler runs before either t4nex ornp2013-04-111-4/+9
| | | | | | | | | | | | | | | | | | t5nex attach to their devices. MFC after: 3 days
* | | - Add entries for alc and akoszek, alredy referenced elsewheregavin2013-04-111-5/+11
| | | | | | | | | | | | | | | | | | | | | - Add phk -> mux relationship, confirmed by mux@ - Add scottl -> sbruno relationship - Move four ex-committers to the alumni section - Sort.
* | | Set and display the IP fragment bit correctly when dealing withnp2013-04-111-1/+7
| | | | | | | | | | | | | | | | | | the filter mode. MFC after: 3 days.
OpenPOWER on IntegriCloud