aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Strip out the test suite from the installation media.Julio Merino2014-06-101-3/+4
| | | | | | | | | This affects the disc1.iso, dvd1.iso and bootonly.iso files. Obtained from: gjb Notes: svn path=/head/; revision=267332
* Put the test suite in its own tests.txz distribution file.Julio Merino2014-06-104-1/+22
| | | | | | | | | | | | | | | | | Force all the contents of /usr/tests to go into a separate distribution file so that users of binary releases can easily choose to not install it. To make this possible, we need two fixes: - bsd.subdir.mk needs to properly honor NO_SUBDIR in all cases so that we do not recurse into 'tests' subdirectories when we needn't. Otherwise, we end up with some Kyuafiles in base.txz. - etc/Makefile needs to skip installing tests in its 'distribute' target so that a Kyuafile doesn't leak into base.txz. Approved by: gjb Notes: svn path=/head/; revision=267331
* Add helper functions to populate VM exit information for rendezvous andNeel Natu2014-06-103-32/+36
| | | | | | | | astpending exits. This is to reduce code duplication between VT-x and SVM implementations. Notes: svn path=/head/; revision=267330
* Add support for the SCTP_LOCAL_TRACE_BUF options.Michael Tuexen2014-06-101-2/+3
| | | | | | | | | While there, fix some whitespaces. MFC after: 1 week Notes: svn path=/head/; revision=267329
* change the netmap mbuf destructor so the same code works also on FreeBSD 9.Luigi Rizzo2014-06-101-9/+16
| | | | | | | | For head and 10 this change has no effect, but on stable/9 it would cause panics when using emulated netmap on top of a standard device driver. Notes: svn path=/head/; revision=267328
* Fix indentation level.Glen Barber2014-06-101-2/+2
| | | | | | | | | MFC after: 3 days X-MFC-With: r267326 Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=267327
* Add empty pkg-stage file to CLEANFILES if WITH_DVD=1.Glen Barber2014-06-101-0/+3
| | | | | | | | MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=267326
* vt fontcvt: handle failure writing output fontEd Maste2014-06-101-10/+20
| | | | Notes: svn path=/head/; revision=267324
* Avoid the USB device disconnected and controller shutdown clutter on systemMarius Strobl2014-06-102-8/+13
| | | | | | | | | | | | shutdown by putting the former under !rebooting and turning the latter into debug messages. Reviewed by: hps MFC after: 1 week Sponsored by: Bally Wulff Games & Entertainment GmbH Notes: svn path=/head/; revision=267321
* acpiconf(8): tell users not to use -kEitan Adler2014-06-101-1/+2
| | | | | | | | | Add language from jhb Requested by: jhb, jkim Notes: svn path=/head/; revision=267320
* Call cpp with -P to avoid printing line markings.Rui Paulo2014-06-101-1/+1
| | | | Notes: svn path=/head/; revision=267319
* dtc: ignore lines starting with #.Rui Paulo2014-06-101-4/+5
| | | | | | | | This is necessary because we use the C pre-processor to parse #include lines and cpp adds line markings that start with #. Notes: svn path=/head/; revision=267318
* dtc: don't crash if the argument is a directory.Rui Paulo2014-06-101-0/+9
| | | | Notes: svn path=/head/; revision=267317
* The, currently undocumented, -i option takes an argument.Rui Paulo2014-06-101-1/+1
| | | | Notes: svn path=/head/; revision=267316
* Always append new bios to the tail of the queue, instead of sorting themBryan Venteicher2014-06-101-1/+1
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=267313
* Turn on interrupt window exiting unconditionally when an ExtINT is beingNeel Natu2014-06-101-2/+6
| | | | | | | | | | | | | injected into the guest. This allows the hypervisor to inject another ExtINT or APIC vector as soon as the guest is able to process interrupts. This change is not to address any correctness issue but to guarantee that any pending APIC vector that was preempted by the ExtINT will be injected as soon as possible. Prior to this change such pending interrupts could be delayed until the next VM exit. Notes: svn path=/head/; revision=267311
* Correct unicode map for VGA ROM character 0x0eEd Maste2014-06-101-1/+2
| | | | | | | | The character is a beamed pair of sixteenth notes, so should be U+266C not U+266B (beamed eighth notes). Notes: svn path=/head/; revision=267310
* siglongjmp(): Preserve floating point exception flags on i386 and amd64.Jilles Tjoelker2014-06-092-2/+0
| | | | | | | | | | | | | Per POSIX, siglongjmp() shall be equivalent to longjmp() except that it must match sigsetjmp() instead of setjmp() and except for the effect on the signal mask. Therefore, it should preserve the floating point exception flags. This was fixed for longjmp() and _longjmp() in r180080 and r180081 for amd64 and i386 respectively. Notes: svn path=/head/; revision=267307
* Add vgarom font sourceEd Maste2014-06-093-0/+776
| | | | | | | | These are in 'GNU Unifont' format, and are converted from syscons(4) cp437 fonts. Notes: svn path=/head/; revision=267306
* Document r267256, OpenSSL 1.0.1h update.Glen Barber2014-06-091-0/+3
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=267302
* vt fontcvt: Speed up bold glyph map deduplicationEd Maste2014-06-091-28/+32
| | | | | | | | | | | Perform an O(n) deduplication pass over the bold maps at the end, rather than walking the normal map list to look for a duplicate glyph each time a bold mapping entry is added. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=267301
* Add reserved bit checking when doing %CR8 emulation and inject #GP if required.Neel Natu2014-06-093-25/+51
| | | | | | | | Pointed out by: grehan Reviewed by: tychon Notes: svn path=/head/; revision=267300
* Move the Sendmail update to keep revision numbers incremental.Glen Barber2014-06-091-3/+3
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=267299
* vt fontcvt: Hide stats by default and improve error handlingEd Maste2014-06-091-44/+64
| | | | | | | The font stats are interesting, but rather verbose. Notes: svn path=/head/; revision=267298
* Re-enable -Werror for these modules. It is already enabled for the sameJohn Baldwin2014-06-094-4/+0
| | | | | | | files when built as part of a kernel. Notes: svn path=/head/; revision=267297
* r267169 should apply to 64-bit BARs as well.Tycho Nightingale2014-06-091-2/+2
| | | | | | | Reviewed by: neel Notes: svn path=/head/; revision=267294
* mdoc: fix AUTHORS section.Joel Dahl2014-06-091-2/+2
| | | | Notes: svn path=/head/; revision=267293
* Remove blank lines.Joel Dahl2014-06-091-2/+0
| | | | Notes: svn path=/head/; revision=267292
* Use strcasecmp() instead of strcmp() when checking user-supplied encodingJohn Baldwin2014-06-092-4/+4
| | | | | | | | | | | | | names so that encoding names are treated as case-insensitive. This allows the use of 'utf-8' instead of 'UTF-8' for example and matches the behavior of iconv(1). PR: 167977 Submitted by: buganini@gmail.com MFC after: 1 week Notes: svn path=/head/; revision=267291
* Make the hpt27xx(4) driver MPSAFE.John Baldwin2014-06-093-47/+51
| | | | | | | | | | | | | - Use the existing vbus locks instead of Giant for the CAM sim lock. - Use callout(9) instead of timeout(9). - Mark the interrupt handler as MPSAFE. - Don't attempt to pass data in the softc from probe() to attach(). Reviewed by: Steve Chang <ychang@highpoint-tech.com> Assisted by: delphij Notes: svn path=/head/; revision=267290
* Fixes from Fanco Ficthner on transparent modeLuigi Rizzo2014-06-091-19/+7
| | | | | | | | | | | | | | | | | | | | * The way rings are updated changed with the last API bump. Also sync ->head when moving slots in netmap_sw_to_nic(). * Remove a crashing selrecord() call. * Unclog the logic surrounding netmap_rxsync_from_host(). * Add timestamping to RX host ring. * Remove a couple of obsolete comments. Submitted by: Franco Fichtner MFC after: 3 days Sponsored by: Packetwerk Notes: svn path=/head/; revision=267284
* sync the code with the one in stable/10Luigi Rizzo2014-06-091-1/+3
| | | | | | | | (wrap the if_t compatibilty function into a __FreeBSD_version conditional block) Notes: svn path=/head/; revision=267283
* Fix race in r267221.Alexander Motin2014-06-091-2/+4
| | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=267278
* Ensure files are created during the build when using bsd.subdir.mk.Julio Merino2014-06-092-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | When FILES is defined in a Makefile that _also_ includes bsd.subdir.mk, the build of the files (if any) was not properly triggered during the build stage. This was because bsd.files.mk did not define the buildfiles target if it was already defined... and bsd.subdir.mk defined this target on its own, thus causing a conflict. Fix this by unconditionally defining buildfiles from bsd.files.mk; this is safe because nothing else in the tree needs to redefine this and because the target itself contains no commands: all it does is define dependencies. Also ensure that bsd.files.mk is always pulled in by bsd.test.mk regardless of what bsd.prog.mk does. These fixes allow "make installworld" to run cleanly on a system with read-only src and obj trees. This is "make tinderbox" clean. Reviewed by: imp Obtained from: jilles Notes: svn path=/head/; revision=267276
* Removed stale comment about multi-vdev root pool config not workingSteven Hartland2014-06-091-3/+0
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=267267
* truncate: Detect integer overflow, fix relative sizes, add tests.Jilles Tjoelker2014-06-095-5/+423
| | | | | | | | | | | | | | The change to expand_number (r204654) broke detection of too large sizes and relative sizes ('+'/'-'). Also add some tests. PR: 190735 Submitted by: Kirk Russell MFC after: 1 week Notes: svn path=/head/; revision=267265
* Devolatile as needed.Konstantin Belousov2014-06-091-4/+4
| | | | | | | | Sponsored by: The FreeBSD Foundation MFC after: 13 days Notes: svn path=/head/; revision=267264
* acpiconf(8): check the calendarEitan Adler2014-06-091-1/+1
| | | | Notes: svn path=/head/; revision=267261
* acpiconf(8): bump .DdEitan Adler2014-06-091-1/+1
| | | | | | | Reported by: gjb Notes: svn path=/head/; revision=267260
* Merge OpenSSL 1.0.1h.Jung-uk Kim2014-06-09399-493/+1224
|\ | | | | | | | | | | | | Approved by: so (delphij) Notes: svn path=/head/; revision=267256
| * Import OpenSSL 1.0.1h.vendor/openssl/1.0.1hJung-uk Kim2014-06-0685-185/+905
| | | | | | | | | | | | | | | | Approved by: so (delphij) Notes: svn path=/vendor-crypto/openssl/dist/; revision=267188 svn path=/vendor-crypto/openssl/1.0.1h/; revision=267189; tag=vendor/openssl/1.0.1h
* | Change the nblock mutex, protecting the needsbuffer buffer deficitKonstantin Belousov2014-06-091-27/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flags, to rwlock. Lock it in read mode when used from subroutines called from buffer release code paths. The needsbuffer is now updated using atomics, while read lock of nblock prevents loosing the wakeups from bufspacewakeup() and bufcountadd() in getnewbuf_bufd_help(). In several interesting loads, needsbuffer flags are never set, while buffers are reused quickly. This causes brelse() and bqrelse() from different threads to content on the nblock. Now they take nblock in read mode, together with needsbuffer not needing an update, allowing higher parallelism. Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Notes: svn path=/head/; revision=267255
* | Make mmap(MAP_STACK) search for the available address space, similarKonstantin Belousov2014-06-092-40/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to !MAP_STACK mapping requests. For MAP_STACK | MAP_FIXED, clear any mappings which could previously exist in the used range. For this, teach vm_map_find() and vm_map_fixed() to handle MAP_STACK_GROWS_DOWN or _UP cow flags, by calling a new vm_map_stack_locked() helper, which is factored out from vm_map_stack(). The side effect of the change is that MAP_STACK started obeying MAP_ALIGNMENT and MAP_32BIT flags. Reported by: rwatson Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Notes: svn path=/head/; revision=267254
* | Fix TSO support on VMware FusionBryan Venteicher2014-06-091-9/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently for VMware Fusion (and presumably VMware Workstation/Player since the PR states TSO is broken there too, but I cannot test), the TCP header pseudo checksum calculated should only include the protocol (IPPROTO_TCP) value, not also the lengths as the stack does instead. VMware ESXi seems to ignore whatever value is in the TCP header checksum, and it is a bit surprising there is a different behavior between the VMware products. And it is unfortunate that on ESXi we are forced to do this extra bit of work. PR: kern/185849 MFC after: 3 days Notes: svn path=/head/; revision=267253
* | Remove an unnecessary variable reassignmentBryan Venteicher2014-06-091-1/+1
| | | | | | | | | | | | | | | | | | | | And it would be bad if 'm' was different from '*m0' at this point, since we've already populated the SG list. MFC after: 3 days Notes: svn path=/head/; revision=267252
* | acpiconf(8): document 'k' optionEitan Adler2014-06-091-0/+3
| | | | | | | | | | | | | | | | Add missing documentation for the 'k' option based on reading the source code. Notes: svn path=/head/; revision=267248
* | Refresh a comment. The VM_STACK option was eliminated in r43209.Alan Cox2014-06-091-3/+3
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=267245
* | Resolve a deadlock setting the USB configuration index from userspaceHans Petter Selasky2014-06-087-73/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | on USB HUBs by moving the code into the USB explore threads. The deadlock happens because child devices of the USB HUB don't have the expected reference count when called from outside the explore thread. Only the HUB device itself, which the IOCTL interface locks, gets the correct reference count. MFC after: 3 days Notes: svn path=/head/; revision=267240
* | Remove extra branching from r267232.Alexander Motin2014-06-081-9/+5
| | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=267239
* | Regen after r267233Bryan Drewery2014-06-081-2/+5
| | | | | | | | Notes: svn path=/head/; revision=267234