summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add gjb to the doc committer graph, as my current mentee.keramida2011-01-051-0/+3
|
* Fix typo in default config file.jpaetzel2011-01-041-1/+1
| | | | | Approved by: Warner Losh <imp@FreeBSD.org> MFC after: 3 days
* Update committers-doc.dot, noving doc committer alumni into the alumnigavin2011-01-041-12/+14
| | | | | | | | | | section and recording the date these commit bits were returned. Also, sort the remaining entries, and add a node for mheinen, who is already referenced within the mentor relationships. Other doc committers are encouraged to add themselves, and any mentor/mentee relationships. The current rendered output is available at http://people.freebsd.org/~gavin/comm-doc.png
* On amd64 and i386, tell the compiler to refrain from generating SSE,dim2011-01-042-0/+2
| | | | | | | | | | | | | | | | 3DNow, MMX and floating point instructions in rtld-elf. Otherwise, _rtld_bind() (and whatever it calls) could possibly clobber function arguments that are passed in SSE/3DNow/MMX/FP registers, usually floating point values. This can happen, for example, when clang generates SSE code for memset() or memcpy() calls. One symptom of this is sshd dying early on amd64 with "PRNG not seeded", which is ultimately caused by libcrypto.so.6 calling RAND_add() with a double parameter. That parameter is passed via %xmm0, which gets wiped out by an SSE memset() in _rtld_bind(). Reviewed by: kib, kan
* Remove '-elf' from build flags for libexec/rtld-elf for amd64 and i386.dim2011-01-042-4/+0
| | | | ELF has been the default format for almost 12 years now.
* Limit hardware bug workaround to controllers that have 4GB boundaryyongari2011-01-041-1/+4
| | | | | | | bug instead of blindly applying it to all controllers. Pointed out by: marius MFC after: 3 days
* Correct an 8-year-old typo which reliably leads to typo after typo today:jmallett2011-01-041-42/+43
| | | | | | | | | | | | | | | | | | | The macros here for generating coprocessor 0 accessors are named like: MIPS_RDRW32_COP0 That macro would produce mips_rd_<register>() and mips_wr_<register>() inlines to access the specified register by name from C. The problem is that the R and the W were swapped in the macros originally; it was meant to be named RDWR because it generated mips_rd_* and mips_wr_* functions, but was instead spelled RDRW, which nobody should be expected to get right by anything other than copy and paste. It's too many consonants in a row to keep straight anyway, so just prefer e.g.: MIPS_RW32_COP0 While here, add a missing #undef.
* OLDCARD is long gone.bschmidt2011-01-041-19/+1
| | | | Discussed with: imp
* Partially revert change made in r212061. r212061 relied onyongari2011-01-041-1/+8
| | | | | | | | | | | | | | | bus_dma(9)'s capability which honors boundary restrictions of DMA tag for dynamic buffers. However it seems this does not work well and it triggered watchodg timeouts on controller that has the hardware bug. It's not clear whether there is still another hardware bug not mentioned in errata. This should be revisited since this change shall make use of bounce buffers which in turn reduces performance a lot on systems that have more than 4GB memory. Reported by: Michael L. Squires (mikes <> siralan dot org) Tested by: Michael L. Squires (mikes <> siralan dot org) MFC after: 3 days
* Remove OCTEON1-32. Since moving to the Cavium SDK, we've lost our support forjmallett2011-01-041-91/+0
| | | | | | | | | | | | running an o32 kernel safely, and would have to add interrupt disabling and reenabling to a bunch of macros in the Simple Executive sources to support it. The only reason one would run an o32 kernel on Octeon would be to run o32 world, which is better worked towards by adding o32 binary compatibility to n64 kernels along with, eventually, supporting multilib systems so o32 binaries can run alongside n32 and n64 ones. Discussed with: imp
* Use errx() instead of err() in parseint. There is usually no interestingkib2011-01-041-2/+2
| | | | | | | information in errno. Noted by: Garrett Cooper <yanegomi gmail com> MFC after: 1 week
* Clarify the previous commit. AcpiFinishGpe() will not clear GPE for usjkim2011-01-041-1/+3
| | | | because we set it to edge-trigger.
* Spell CRITICAL_ASSERT correctly.cperciva2011-01-041-2/+1
| | | | | Submitted by: jhb MFC with: r216944
* Inherit the APB and the generic OFW PCI-PCI bridge driver from the genericmarius2011-01-042-38/+5
| | | | PCI-PCI bridge driver in order to safe some code.
* Reserve INTR_MD[1-4] similarly to what BUS_DMA_BUS[1-4] are intended formarius2011-01-047-11/+17
| | | | | | | | | and switch sparc64 to use the first one for bus error filter handlers of bridge drivers instead of (ab)using INTR_FAST for that so we eventually can get rid of the latter. Reviewed by: jhb MFC after: 1 month
* Add hamfisted locking to the Xen/PV pmap code: Only allow one thread tocperciva2011-01-041-0/+35
| | | | | | | | | | | | | | | be in {pmap_pinit, pmap_copy, pmap_release} at a time. This reduces the rate of panics when running 'make index' from ~0.6/hour to ~0.02/hour (p < 10^-30). At a later date this locking will be removed, and for this reason, it is wrapped in #ifdef HAMFISTED_LOCKING; this temporary hack is being put in place with the intention of shipping somewhat-stable Xen bits in FreeBSD 8.2-RELEASE. PR: kern/153672 MFC after: 3 days
* Make "options XENHVM" compile for i386, not just amd64 -- a largelyrwatson2011-01-0411-7/+62
| | | | | | | | | mechanical change. This opens the door for using PV device drivers under Xen HVM on i386, as well as more general harmonisation of i386 and amd64 Xen support in FreeBSD. Reviewed by: cperciva MFC after: 3 weeks
* Make the parsing of the integer arguments for rtprio(1)/idprio(1) stricter.kib2011-01-041-18/+32
| | | | | | | | Style. Based on submission by: Eitan Adler <lists eitanadler com>, keramida Reviewed by: jhb, keramida MFC after: 1 week
* kproc_exit() is already marked __dead2 so a NOTREACHED comment here isn'tjhb2011-01-041-1/+0
| | | | | | needed for lint. Submitted by: bde
* Quiet clang warnings by using string literal format strings.emaste2011-01-041-2/+2
|
* Finish r210923, 210926. Mark some devices as eternal.kib2011-01-049-14/+20
| | | | MFC after: 2 weeks
* Instead of incrementing freework reference counter in indir_trunc(), dokib2011-01-041-15/+15
| | | | | | | | it at the allocation time for journaled fs and indirect blocks, when the allocated object is not accessible outside. Requested and reviewed by: jeff Tested by: pho
* Because sleepqueue may still being used, we should always check wchan withdavidxu2011-01-041-6/+0
| | | | queue locked.
* Quiet clang warnings by using literal format strings for printf-likeemaste2011-01-042-3/+3
| | | | functions.
* o) Add MIPS_COP_0_EXC_PC accessors to <machine/cpufunc.h>.jmallett2011-01-042-83/+108
| | | | | | o) Make the octeon_wdog driver work on multi-CPU systems and to also print more information on NMI that may aid debugging. Simplify and clean up internal API and structure.
* o) Unmask Central Interrupt Unit interrupts on APs, too.jmallett2011-01-041-4/+5
| | | | | | o) There's no good reason to make the low bits of the ebase the core number. While per-CPU exception bases would be nice, for now we just need to make ebase the same on all cores.
* Make format string a string literal. (Discovered by clang.)emaste2011-01-041-1/+1
| | | | MFC After: 1 week
* Adjust the critical section protecting _xen_flush_queue to cover thecperciva2011-01-041-4/+11
| | | | | | | | | | | entire range where the page mapping request queue needs to be atomically examined and modified. Oddly, while this doesn't seem to affect the overall rate of panics (running 'make index' on EC2 t1.micro instances, there are 0.6 +/- 0.1 panics per hour, both before and after this change), it eliminates vm_fault from panic backtraces, leaving only backtraces going through vmspace_fork.
* Handle failure from ftpd_popen in statfilecmd().emaste2011-01-041-0/+4
| | | | | Reviewed by: attilio MFC after: 1 week
* Clear GPE from a query handler if the task was deferred.jkim2011-01-041-8/+11
|
* Wait for commands to complete 10 times longer. This makes my A-DATA 32GB SDHCpjd2011-01-041-2/+2
| | | | | | | card being detected. Reviewed by: imp MFC after: 2 weeks
* Fix parameters for wakeup(9) and tsleep(9).jkim2011-01-031-2/+2
| | | | MFC after: 3 days
* Add support for R_PPC64_UADDR64 relocations.nwhitehorn2011-01-031-1/+2
|
* Note compatibility issues with make universe and stable systems.imp2011-01-031-0/+14
|
* When TARGET_ARCH_${kernel} gets set, it is using the host's config,imp2011-01-031-1/+4
| | | | | | | | | | | | | | | | | | | | | | not the one we build as part of make world. This means that make universe will fail if building on a too-old current or any stable system prior to a few days ago in weird ways (parse errors from shell). This copes with these old systems in two ways: (1) Works around the WARNING: issue by filtering all warnings that sneak onto stdout. (2) if TARGET_ARCH_${kernel} winds up being empty, then we error out immediately with a semi-useful error message. This usually comes from config not groking -m. Ideally, we'd use a buildworld's config here, but that's tricky, so I'll leave that detail to others to fix (it has to be done post make world for the arch rather than at the top level makefile). This should make 'make universe' usable from recent 8-stable systems (recent == last few months or so) for building -current. They have -m, but spewed warnings out stdout. Older systems will now at least get a firm error early rather than a confusing error late.
* expand checkuser() to support the propagation of error codes back tocsjp2011-01-031-8/+27
| | | | | | | | | | | the caller. Currently, checkuser() does not differentiate between the failure to open the file and the absence of a user in the file. Check to see if there was an error opening the file. If there are any errors, terminate the connection. Currently, the only exception to this rule is ENOENT, since there is nothing that says the /etc/ftpuser and /etc/ftpchroot has to exist. MFC after: 3 weeks
* Fix the nlm so that it no longer depends on the regularrmacklem2011-01-0310-14/+31
| | | | | | | | nfs client and, as such, can be loaded for the experimental nfs client without the regular client. Reviewed by: jhb MFC after: 2 weeks
* Update gateworks exclusion list to match latest tree.imp2011-01-031-2/+14
|
* Bump the media size from approx 600MB to approx 750MB. The greatimp2011-01-031-1/+1
| | | | | | hob-nailed tennis shoe of progress demands it! Submitted by: phk
* Put in the other half of the SRCCONF patch.imp2011-01-031-1/+1
| | | | Submitted by: phk
* Add a 'locked' variant of the foo_start() routine and call it directlyjhb2011-01-0310-87/+65
| | | | | | | | from interrupt handlers and watchdog routines instead of queueing a task to call foo_start(). Reviewed by: yongari MFC after: 1 month
* Increase carried_error if we skip a file due to an error. This ensuresjh2011-01-031-0/+4
| | | | | | | | | that setfacl(1) exits with proper exit status on failure. PR: bin/149780 Submitted by: Ævar Arnfjörð Bjarmason (original version) Reviewed by: trasz MFC after: 3 weeks
* Small whitespace nits and add a comment explaining why kthread_exit() canjhb2011-01-031-3/+6
| | | | call kproc_exit() that was lost earlier.
* MFp4 r186485, r186859:mm2011-01-032-3/+28
| | | | | | | | | Fix a race by defining two tasks in the zio structure as we can still be returning from issue task when interrupt task is used. Tested by: pjd Approved by: pjd, delphij (mentor) MFC after: 3 days
* Release the page lock early in vm_pageout_clean(). There is no reason toalc2011-01-032-5/+4
| | | | | | | | | hold this lock until the end of the function. With the aforementioned change to vm_pageout_clean(), page locks don't need to support recursive (MTX_RECURSE) or duplicate (MTX_DUPOK) acquisitions. Reviewed by: kib
* Fix the experimental NFS server so that it doesn't leakrmacklem2011-01-031-2/+1
| | | | | | | a reference count on the directory when creating device special files. MFC after: 2 weeks
* Modify the experimental NFSv4 server so that the lookuprmacklem2011-01-032-13/+13
| | | | | | | | | ops return a locked vnode. This ensures that the associated mount point will always be valid for the code that follows the operation. Also add a couple of additional checks for non-error to the other functions that create file objects. MFC after: 2 weeks
* Add myself.jpaetzel2011-01-021-0/+1
|
* Delete some cruft from the experimental NFS server that wasrmacklem2011-01-023-42/+9
| | | | | | only used by the OpenBSD port for its pseudo-fs. MFC after: 2 weeks
* Add checks for VI_DOOMED and vn_lock() failures to thermacklem2011-01-024-51/+99
| | | | | | | | | | experimental NFS server, to handle the case where an exported file system is forced dismounted while an RPC is in progress. Further commits will fix the cases where a mount point is used when the associated vnode isn't locked. Reviewed by: kib MFC after: 2 weeks
OpenPOWER on IntegriCloud