]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
10 years agoFix gcc with -Wstrict-prototypes by telling it bi_emac takes no parameters.
andrew [Sat, 25 Jan 2014 19:36:27 +0000 (19:36 +0000)]
Fix gcc with -Wstrict-prototypes by telling it bi_emac takes no parameters.

10 years agoRemove stray space
bryanv [Sat, 25 Jan 2014 18:34:57 +0000 (18:34 +0000)]
Remove stray space

10 years ago * Mark static inline functions with __fenv_static.
andrew [Sat, 25 Jan 2014 18:13:43 +0000 (18:13 +0000)]
 * Mark static inline functions with __fenv_static.
 * Correctly shift the mask when masking/unmasking exceptions.

10 years agoPull in r195679 from upstream llvm trunk:
dim [Sat, 25 Jan 2014 16:35:56 +0000 (16:35 +0000)]
Pull in r195679 from upstream llvm trunk:

  Don't use nopl in cpus that don't support it.

  Patch by Mikulas Patocka. I added the test. I checked that for cpu names that
  gas knows about, it also doesn't generate nopl.

  The modified cpus:
  i686 - there are i686-class CPUs that don't have nopl: Via c3, Transmeta
         Crusoe, Microsoft VirtualBox - see
         https://bbs.archlinux.org/viewtopic.php?pid=775414
  k6, k6-2, k6-3, winchip-c6, winchip2 - these are 586-class CPUs
  via c3 c3-2 - see https://bugs.archlinux.org/task/19733 as a proof that
         Via c3 and c3-Nehemiah don't have nopl

PR: bin/185777
MFC after: 3 days

10 years agoUse __fenv_static for all static inline functions.
andrew [Sat, 25 Jan 2014 16:03:08 +0000 (16:03 +0000)]
Use __fenv_static for all static inline functions.

10 years agosh: Add tests for alias names after another alias.
jilles [Sat, 25 Jan 2014 14:59:08 +0000 (14:59 +0000)]
sh: Add tests for alias names after another alias.

Since the first alias's value does not end with a blank, the next word
should not be checked for aliases.

10 years agoAlso include the mbuf's csum_flags in an assert message
bryanv [Sat, 25 Jan 2014 07:35:09 +0000 (07:35 +0000)]
Also include the mbuf's csum_flags in an assert message

10 years agoRead and write the MAC address in the config space byte by byte
bryanv [Sat, 25 Jan 2014 07:13:47 +0000 (07:13 +0000)]
Read and write the MAC address in the config space byte by byte

10 years agoRead each field of the configuration individually
bryanv [Sat, 25 Jan 2014 07:01:51 +0000 (07:01 +0000)]
Read each field of the configuration individually

In the forthcoming VirtIO spec, the device configuration is
always in little endian instead of guest edian. This is a
noop change for now.

10 years agoChange RWX to XWR in comments to match intent and bit patterns
grehan [Sat, 25 Jan 2014 06:58:41 +0000 (06:58 +0000)]
Change RWX to XWR in comments to match intent and bit patterns
in discussion of valid EPT pte protections.

Discussed with: neel
MFC after: 3 days

10 years agoRemove spaces before tabs in the function prototype list
bryanv [Sat, 25 Jan 2014 06:54:04 +0000 (06:54 +0000)]
Remove spaces before tabs in the function prototype list

10 years agoBad timespec_subtract() calculations produce negative tv_nsec on i386
ache [Sat, 25 Jan 2014 02:16:09 +0000 (02:16 +0000)]
Bad timespec_subtract() calculations produce negative tv_nsec on i386
which cause EINVAL returned from nanosleep() which cause loop in
cron_sleep() and making all cron jobs to start about 30 seconds earlier
(which cause f.e. logfiles rotation by newsyslog delayed by 1 hour).

Use simple and proved calculations from kernel's timespecsub() instead.

MFC after:      3 days

10 years agoTemporarily turn off the services.db generation during distributeworld.
gjb [Sat, 25 Jan 2014 00:03:33 +0000 (00:03 +0000)]
Temporarily turn off the services.db generation during distributeworld.
I'll work on an update to test for endianness-compatibility.

Submitted by: many
Sponsored by: The FreeBSD Foundation

10 years agosh: Do not depend on parse/execute split in new alias test.
jilles [Fri, 24 Jan 2014 23:00:35 +0000 (23:00 +0000)]
sh: Do not depend on parse/execute split in new alias test.

10 years agoAdd MLINK for fdclosedir.3 to directory.3 and sort fdopendir(3) entry.
bdrewery [Fri, 24 Jan 2014 22:37:35 +0000 (22:37 +0000)]
Add MLINK for fdclosedir.3 to directory.3 and sort fdopendir(3) entry.

Reported by: bde
Approved by: bapt (mentor)

10 years agoAccept O_CLOEXEC in shm_open().
rmh [Fri, 24 Jan 2014 21:05:07 +0000 (21:05 +0000)]
Accept O_CLOEXEC in shm_open().

Reviewed by: jilles, jhb
MFC after: 1 week

10 years agoCorrect the alignment of sp through functions that use UNWINDSVCFRAME. We
andrew [Fri, 24 Jan 2014 20:51:56 +0000 (20:51 +0000)]
Correct the alignment of sp through functions that use UNWINDSVCFRAME. We
were incorrectly adding the trap frame padding to the stack pointer after
reading it's value and unaligning it.

10 years agoext2fs: Re-enable reallocblk.
pfg [Fri, 24 Jan 2014 20:26:00 +0000 (20:26 +0000)]
ext2fs: Re-enable reallocblk.

The major corruption issues affecting this code have been fixed
a while ago.

MFC after: 1 week

10 years agoIn an effort to diagnose possible corruption of struct vm_page on some
alc [Fri, 24 Jan 2014 19:08:42 +0000 (19:08 +0000)]
In an effort to diagnose possible corruption of struct vm_page on some
sparc64 machines make the page queue assert in vm_page_dequeue() more
precise.  While I'm here switch the page lock assert to the newer style.

10 years agoAdd more USB quirks.
hselasky [Fri, 24 Jan 2014 18:52:04 +0000 (18:52 +0000)]
Add more USB quirks.

Submitted by: Gerrit Kuehn <gerrit.kuehn@aei.mpg.de>
MFC after: 1 week

10 years agoFix the Makefiles so that the tests I submitted in r261081 will actually
asomers [Fri, 24 Jan 2014 18:04:16 +0000 (18:04 +0000)]
Fix the Makefiles so that the tests I submitted in r261081 will actually
get built.

Sponsored by: Spectra Logic
MFC after: 13 days
X-MFC-With: r261081

10 years agoFix the build so -DNO_TESTS is passed in various phases that don't
asomers [Fri, 24 Jan 2014 18:01:46 +0000 (18:01 +0000)]
Fix the build so -DNO_TESTS is passed in various phases that don't
require tests in order to build or install.  Crucially, don't try to
install tests during the lib32 install phase.  This commit supersedes
r261081, which fixed the lib32 install phase problem, but didn't fix
other phases.

Submitted by: Garrett Cooper
Reviewed by: sjg
MFC after: 13 days

10 years agoRemove obsolete option
imp [Fri, 24 Jan 2014 17:00:27 +0000 (17:00 +0000)]
Remove obsolete option

10 years agoFix comment to match option
imp [Fri, 24 Jan 2014 16:58:50 +0000 (16:58 +0000)]
Fix comment to match option

10 years agoFix comment to match option
imp [Fri, 24 Jan 2014 16:58:21 +0000 (16:58 +0000)]
Fix comment to match option

10 years agoFix comment to match option
imp [Fri, 24 Jan 2014 16:57:42 +0000 (16:57 +0000)]
Fix comment to match option

10 years agoAdd NAND support
imp [Fri, 24 Jan 2014 16:56:27 +0000 (16:56 +0000)]
Add NAND support
Fix comment
This board has 4 wire support

10 years agoRemove redundant declaration for uart devclass.
imp [Fri, 24 Jan 2014 16:50:15 +0000 (16:50 +0000)]
Remove redundant declaration for uart devclass.
Commint some unrelated, but harmless, FDT ifdefs.

10 years agosh: Solve the alias recursion problem in a less hackish way.
jilles [Fri, 24 Jan 2014 16:40:51 +0000 (16:40 +0000)]
sh: Solve the alias recursion problem in a less hackish way.

Add the space to avoid alias recursion when the alias is expanded, not when
it is added.

As a result, displaying an alias via command -v, command -V or type no
longer erroneously appends a space. Adjust the tests so they now require
this bug to be absent.

10 years agoFix comment.
kevlo [Fri, 24 Jan 2014 15:34:22 +0000 (15:34 +0000)]
Fix comment.

10 years agoHide now harmless warning from dmesg.
hselasky [Fri, 24 Jan 2014 15:05:28 +0000 (15:05 +0000)]
Hide now harmless warning from dmesg.

MFC after: 1 week

10 years agodtrace: remove unexplained 16MB limitation from dt_alloc/dt_zalloc
avg [Fri, 24 Jan 2014 15:04:02 +0000 (15:04 +0000)]
dtrace: remove unexplained 16MB limitation from dt_alloc/dt_zalloc

The limitation was introduced in r178556 without any note or comment.
It seems pretty artificial and now it leads to problems like the following:
  $ dtrace -x bufsize=17m -n ...
  dtrace: processing aborted: Memory allocation failure
OpenSolaris and illumos never had this limitation.

Sponsored by: HybridCluster

10 years agosh: Add test for nested alias.
jilles [Fri, 24 Jan 2014 15:03:56 +0000 (15:03 +0000)]
sh: Add test for nested alias.

10 years agoext2fs: fix a bug in dirindex and re-enable.
pfg [Fri, 24 Jan 2014 13:51:38 +0000 (13:51 +0000)]
ext2fs: fix a bug in dirindex and re-enable.

The IN_* flags should be set in i_flag instead of corrupting
i_flags [1].

Re-enable HTree dirindex as the last series of bug fixes
seems to have fixed the issues.

Reported by: bde [1]
Tested by: kevlo
MFC after: 1 week

10 years agoGet rid of memmove(). It's not portable.
kevlo [Fri, 24 Jan 2014 09:17:29 +0000 (09:17 +0000)]
Get rid of memmove().  It's not portable.

Tested on RT3071, RT3573, RT3570, RT3572, and RT5572.

Reviewed by: hselasky

10 years agoReorder struct ip_fw_chain:
melifaro [Fri, 24 Jan 2014 09:13:30 +0000 (09:13 +0000)]
Reorder struct ip_fw_chain:
* move rarely-used fields down
* move uh_lock to different cacheline
* remove some usused fields

Sponsored by: Yandex LLC

10 years agoFix 32-bit signal handling on ppc64. This was broken when the PSL_USERSTATIC
jhibbits [Fri, 24 Jan 2014 02:57:00 +0000 (02:57 +0000)]
Fix 32-bit signal handling on ppc64.  This was broken when the PSL_USERSTATIC
macro was changed.  Since copying 64-bit srr1 into 32-bit srr1 drops the upper
32 bits, any bits set in the context were dropped, meaning the context check
fails.  Since 32-bit set_context can't change those bits anyway, copy the ones
from the current context (td->td_frame) before calling set_context().

MFC after: 3 weeks

10 years agoBe more robust with malformed interrupt config data. Instead of crashing
ian [Fri, 24 Jan 2014 00:42:18 +0000 (00:42 +0000)]
Be more robust with malformed interrupt config data.  Instead of crashing
or going into a near-infinite loop, warn and make potentially-reasonable
assumptions.

Reviewed by: brooks, nwhitehorn

10 years agoclock-frequency is a FreeBSD-specific extention. Make it optional and
imp [Fri, 24 Jan 2014 00:14:14 +0000 (00:14 +0000)]
clock-frequency is a FreeBSD-specific extention. Make it optional and
allow the client uart drivers to decide if a frequency is required.

10 years agoAlways free sbuf in gctl_free().
ae [Thu, 23 Jan 2014 21:30:31 +0000 (21:30 +0000)]
Always free sbuf in gctl_free().

MFC after: 1 week

10 years agoRemove another unneeded NULL check from geom_alloc_copyin().
ae [Thu, 23 Jan 2014 20:25:38 +0000 (20:25 +0000)]
Remove another unneeded NULL check from geom_alloc_copyin().
Do copyout in case of gctl version mismatch and fix sbuf leak in
g_ctl_ioctl_ctl().

MFC after: 1 week

10 years agoMove <machine/apicvar.h> to <x86/apicvar.h>.
jhb [Thu, 23 Jan 2014 20:10:22 +0000 (20:10 +0000)]
Move <machine/apicvar.h> to <x86/apicvar.h>.

10 years agoIn gctl_copyin() remove unused error variable.
ae [Thu, 23 Jan 2014 19:55:02 +0000 (19:55 +0000)]
In gctl_copyin() remove unused error variable.
geom_alloc_copyin() can't return ENOMEM, so describe its fail as bad
control request. Add check for NULL pointer in gctl_dump(), since it
can be NULL when geom_alloc_copyin() failed.

MFC after: 1 week

10 years agoFix typo in r261084.
ae [Thu, 23 Jan 2014 19:31:17 +0000 (19:31 +0000)]
Fix typo in r261084.
Add to the gctl_error() an ability to specify error description even
if numeric error code is already specified. Also by default set
error code to EINVAL.

PR: 185852
MFC after: 1 week

10 years agomalloc() with M_WAITOK doesn't return NULL.
ae [Thu, 23 Jan 2014 19:07:22 +0000 (19:07 +0000)]
malloc() with M_WAITOK doesn't return NULL.

MFC after: 1 week

10 years agoAdd Atmel serial drivers.
imp [Thu, 23 Jan 2014 18:09:10 +0000 (18:09 +0000)]
Add Atmel serial drivers.

10 years agoReplace the old unix_seqpacket and unix_seqpacket_exercise tests, which
asomers [Thu, 23 Jan 2014 17:26:28 +0000 (17:26 +0000)]
Replace the old unix_seqpacket and unix_seqpacket_exercise tests, which
were a little broken and not automatable, with unix_seqpacket_test.
It's coverage is a superset of the old tests and it uses ATF.  It
includes test cases for bugs kern/185813 and kern/185812.

PR: kern/185812
PR: kern/185813
Sponsored by: Spectra Logic
MFC after: 2 weeks

10 years agoThe posix_fallocate(2) syscall should return error number on error,
kib [Thu, 23 Jan 2014 17:24:26 +0000 (17:24 +0000)]
The posix_fallocate(2) syscall should return error number on error,
without modifying errno.

Reported and tested by: Gennady Proskurin <gpr@mail.ru>
Reviewed by: mdf
PR: standards/186028
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

10 years agojemalloc has been updated to version 3.5.0.
skreuzer [Thu, 23 Jan 2014 14:13:12 +0000 (14:13 +0000)]
jemalloc has been updated to version 3.5.0.

Approved by: hrs (mentor)

10 years agoRevert r261014. Let Kevin fix it.
hselasky [Thu, 23 Jan 2014 10:18:28 +0000 (10:18 +0000)]
Revert r261014. Let Kevin fix it.

MFC after: 1 week

10 years agoUpdate EINVAL description.
pluknet [Thu, 23 Jan 2014 09:37:03 +0000 (09:37 +0000)]
Update EINVAL description.
This matches current POSIX standards and actual FreeBSD behavior.

MFC after: 1 week

10 years agoSet "Interrupt Window Exiting" in the case where there is a vector to be
neel [Thu, 23 Jan 2014 06:06:50 +0000 (06:06 +0000)]
Set "Interrupt Window Exiting" in the case where there is a vector to be
injected into the vcpu but the VM-entry interruption information field
already has the valid bit set.

Pointed out by: David Reed (david.reed@tidalscale.com)

10 years agoOpenSSL has been updated to version 1.0.1.f
skreuzer [Thu, 23 Jan 2014 03:24:38 +0000 (03:24 +0000)]
OpenSSL has been updated to version 1.0.1.f

Approved by: hrs (mentor)

10 years agoRemove WITHOUT_ATF as it has been replaced by WITH_TESTS
skreuzer [Thu, 23 Jan 2014 03:14:48 +0000 (03:14 +0000)]
Remove WITHOUT_ATF as it has been replaced by WITH_TESTS

PR: conf/185326
Reported by: Igor Mozolevsky <igor@hybrid-lab.co.uk>
Approved by: hrs (mentor)

10 years agoUpdate jemalloc to version 3.5.0.
jasone [Thu, 23 Jan 2014 02:47:36 +0000 (02:47 +0000)]
Update jemalloc to version 3.5.0.

10 years agoProperly sort the arguments to mtx_init(9).
jhibbits [Thu, 23 Jan 2014 01:09:33 +0000 (01:09 +0000)]
Properly sort the arguments to mtx_init(9).

PR: misc/186020
Submitted by: alfred
MFC after: 1 week

10 years agoDisable output about duplicate services, which were not output during
gjb [Wed, 22 Jan 2014 23:00:29 +0000 (23:00 +0000)]
Disable output about duplicate services, which were not output during
testing.

MFC after: 1 month
X-MFC-After: r261031
Sponsored by: The FreeBSD Foundation

10 years agoDocument EARLY_PRINTF
imp [Wed, 22 Jan 2014 22:25:48 +0000 (22:25 +0000)]
Document EARLY_PRINTF

10 years agoMostly revert r260267 and hopefully really fix the original problem.
mav [Wed, 22 Jan 2014 22:19:53 +0000 (22:19 +0000)]
Mostly revert r260267 and hopefully really fix the original problem.

The latest draft of SBC-3 tells: "A MAXIMUM UNMAP LBA COUNT field set to
a non-zero value indicates the maximum number of LBAs that may be unmapped
by an UNMAP command."  To me it does not sound like that limit is set per
single descriptor, but rather per all command.  And I have at least one
device that behaves exactly that way.  This patch fixes the problem there.

MFC after: 1 week

10 years agoClean up HL201 config (for the hot-e 201 and 101 models from thinlinx).
imp [Wed, 22 Jan 2014 22:01:29 +0000 (22:01 +0000)]
Clean up HL201 config (for the hot-e 201 and 101 models from thinlinx).
Make comments match parameters
Add options for early printf so we get regression build testing on it.
Add preview of options for FDT support coming soon (I hope)

10 years agoImplement support for early printf. You need to define SOCDEV_{PA,VA}
imp [Wed, 22 Jan 2014 21:49:20 +0000 (21:49 +0000)]
Implement support for early printf. You need to define SOCDEV_{PA,VA}
as described in the comments for the eputc function in your config file.

10 years agoAdd support for mapping a small range of the SoC devices for debugging
imp [Wed, 22 Jan 2014 21:23:58 +0000 (21:23 +0000)]
Add support for mapping a small range of the SoC devices for debugging
purposes early in boot.

10 years agoImplement generic support for early printf. Thought I can't find the
imp [Wed, 22 Jan 2014 21:20:08 +0000 (21:20 +0000)]
Implement generic support for early printf. Thought I can't find the
paper trail now, this patch is similar to one posted for one of the
preliminary versions of a new armv6 port. I took them and made them
more generic. Option not enabled by default since each board/port has
to provide its own eputc, and possibly do other things as well...

10 years agoMerge OpenSSL 1.0.1f.
jkim [Wed, 22 Jan 2014 19:57:11 +0000 (19:57 +0000)]
Merge OpenSSL 1.0.1f.

Approved by: so (delphij), benl (silence)

10 years agoext2fs: fix logic error in the previous change.
pfg [Wed, 22 Jan 2014 19:09:41 +0000 (19:09 +0000)]
ext2fs: fix logic error in the previous change.

Use the bitwise negation instead of bogus boolean negation and move
the flag manipulation with the assignment.
Fix some grammatical errors introduced in the same change.

Reported by: bde
MFC after: 3 days

10 years agoWe are using the old callout API and should also add one extra tick in
hselasky [Wed, 22 Jan 2014 17:50:43 +0000 (17:50 +0000)]
We are using the old callout API and should also add one extra tick in
the FreeBSD 10 case.

Suggested by: mav @
MFC after: 1 week

10 years agoAdd quiet support for kldstat -n
bapt [Wed, 22 Jan 2014 17:15:17 +0000 (17:15 +0000)]
Add quiet support for kldstat -n

PR: bin/180014
Submitted by: Olivier Cochard-LabbĂ© <olivier@cochard.me>
MFC after: 1 week

10 years agoGenerate /var/db/services.db during 'make distribution' so that it is
jhb [Wed, 22 Jan 2014 16:59:53 +0000 (16:59 +0000)]
Generate /var/db/services.db during 'make distribution' so that it is
present during new installs.  Update etcupdate and mergemaster to
ignore the generated file.

Tested by: gjb (release build)
MFC after: 1 month

10 years agoSimilar to cap_mkdb(1), add endianness support to services_mkdb(1)
jhb [Wed, 22 Jan 2014 16:50:18 +0000 (16:50 +0000)]
Similar to cap_mkdb(1), add endianness support to services_mkdb(1)
to support cross-builds once this is invoked during releases.

10 years agoRemove NULL pointer dereference.
glebius [Wed, 22 Jan 2014 15:58:43 +0000 (15:58 +0000)]
Remove NULL pointer dereference.

CID: 1009118

10 years agoFix resource leak and simplify code for DIOCCHANGEADDR.
glebius [Wed, 22 Jan 2014 15:44:38 +0000 (15:44 +0000)]
Fix resource leak and simplify code for DIOCCHANGEADDR.

CID: 1007035

10 years agoRemove pkg_* related info from periodic.conf
bapt [Wed, 22 Jan 2014 14:22:44 +0000 (14:22 +0000)]
Remove pkg_* related info from periodic.conf

Reported by: Robin Brocks <robin.brocks@brocks.de>
MFC after: 3 days

10 years agoadd myself to committers-doc.dot
skreuzer [Wed, 22 Jan 2014 14:11:40 +0000 (14:11 +0000)]
add myself to committers-doc.dot

Approved by:    hrs (mentor)

10 years agoFix fallout from r241923. Calculate length of payload in
glebius [Wed, 22 Jan 2014 10:57:42 +0000 (10:57 +0000)]
Fix fallout from r241923. Calculate length of payload in
pim_input() properly.

While here, remove extra variable and incorrect condition
before m_pullup().

Reported by: Olivier Cochard-LabbĂ© <olivier cochard.me>
Sponsored by: Nginx, Inc.

10 years ago- Fix some non-portable code with regard to endianness. Don't use memmove().
hselasky [Wed, 22 Jan 2014 09:57:26 +0000 (09:57 +0000)]
- Fix some non-portable code with regard to endianness. Don't use memmove().
- Fix a range check for maximum transmit length.
- Fix read from missing field when transmitting data.

MFC after: 2 weeks

10 years agoUse the correct bitshift operators for the GPIO definitions.
adrian [Wed, 22 Jan 2014 08:02:07 +0000 (08:02 +0000)]
Use the correct bitshift operators for the GPIO definitions.

Submitted by: Daan Vreeken <Daan@vitsch.nl>
MFC after: 1 week

10 years agoEnsure that the DMA delay does not get rounded down to zero ticks when
hselasky [Wed, 22 Jan 2014 07:48:39 +0000 (07:48 +0000)]
Ensure that the DMA delay does not get rounded down to zero ticks when
a timeout value of a single tick is given. With FreeBSD-10 and newer
the current system time is used as a starting point, and the minimum
callout time of a single tick will be guaranteed. This patch mostly
affect the DMA delay timeouts, which are typically in the range from
0.125 to 2ms.

MFC after: 1 week

10 years agoWait a bit more before we free any EHCI DMA descriptors. Some USB
hselasky [Wed, 22 Jan 2014 07:32:55 +0000 (07:32 +0000)]
Wait a bit more before we free any EHCI DMA descriptors. Some USB
controllers need more time than others.

MFC after: 1 week

10 years agoAdd new quirk.
hselasky [Wed, 22 Jan 2014 07:22:42 +0000 (07:22 +0000)]
Add new quirk.

PR: usb/185968
MFC after: 1 week

10 years agoHandle a VM-exit due to a NMI properly by vectoring to the host's NMI handler
neel [Wed, 22 Jan 2014 04:03:11 +0000 (04:03 +0000)]
Handle a VM-exit due to a NMI properly by vectoring to the host's NMI handler
via a software interrupt.

This is safe to do because the logical processor is already cognizant of the
NMI and further NMIs are blocked until the host's NMI handler executes "iret".

10 years agoFix issue with stale fields from a recycled request pulled off the freelist.
tychon [Wed, 22 Jan 2014 01:57:52 +0000 (01:57 +0000)]
Fix issue with stale fields from a recycled request pulled off the freelist.

Approved by: grehan (co-mentor)

10 years agoIncrease the block-layer backend maximum number of requests to match
tychon [Wed, 22 Jan 2014 01:56:49 +0000 (01:56 +0000)]
Increase the block-layer backend maximum number of requests to match
the AHCI command queue depth.  This allows a slew of commands issued
by a Linux guest to be absorbed without error.

Approved by: grehan (co-mentor)

10 years agoAdd myself to the src-committers list.
tychon [Tue, 21 Jan 2014 23:45:31 +0000 (23:45 +0000)]
Add myself to the src-committers list.

Approved by: neel (mentor)

10 years agoFix memory and references leak due to unfreed path in case we can't
mav [Tue, 21 Jan 2014 23:15:23 +0000 (23:15 +0000)]
Fix memory and references leak due to unfreed path in case we can't
allocate bus scan CCB.

MFC after: 2 weeks

10 years agoext2fs: Translate the EXT4_EXTENTS and EXT4_INDEX to the inode flags.
pfg [Tue, 21 Jan 2014 19:06:29 +0000 (19:06 +0000)]
ext2fs: Translate the EXT4_EXTENTS and EXT4_INDEX to the inode flags.

r260545 cleared the inode flags to fix corruption problems but
we still need to pass some EXT4 flags for the ext4 read-only
mode.  None of these attributes has an equivalent in FreeBSD and
are uninteresting for the system utilities so they should be
innaccessible in ext2_getattrib().

Note: we also use EXT4_HUGE_FILE but we use it directly from the
dinode structure so it is not necessary to translate it,

Suggested by: bde
MFC after: 3 days

10 years agoDo not exit with non-zero return code if sysctl.conf or sysctl.conf.local files
demon [Tue, 21 Jan 2014 18:57:49 +0000 (18:57 +0000)]
Do not exit with non-zero return code if sysctl.conf or sysctl.conf.local files
are absent.

Approved by: delphij

10 years agoFix a problem with OBJECT IDENTIFIER encoding: need to check the
harti [Tue, 21 Jan 2014 16:49:54 +0000 (16:49 +0000)]
Fix a problem with OBJECT IDENTIFIER encoding: need to check the
second subid to be less than 40, not the first when the first
subid is 0 or 1.

10 years agoAdd grembo as a ports committer
grembo [Tue, 21 Jan 2014 13:23:18 +0000 (13:23 +0000)]
Add grembo as a ports committer

Approved by: flo (mentor)

10 years agoadd myself to committers-doc.dot
jgh [Tue, 21 Jan 2014 09:01:08 +0000 (09:01 +0000)]
add myself to committers-doc.dot

Approved by: bcr (mentor)

10 years agoAdd check for "hw.usb.no_pf" sysctl value.
hselasky [Tue, 21 Jan 2014 08:24:12 +0000 (08:24 +0000)]
Add check for "hw.usb.no_pf" sysctl value.

Submitted by: Warren Block <wblock@wonkity.com>
MFC after: 1 week

10 years agoAdd 11.0-CURRENT.
gjb [Tue, 21 Jan 2014 05:56:35 +0000 (05:56 +0000)]
Add 11.0-CURRENT.

Sponsored by: The FreeBSD Foundation

10 years agoAdd 10.0-RELEASE.
gjb [Tue, 21 Jan 2014 05:54:14 +0000 (05:54 +0000)]
Add 10.0-RELEASE.

Sponsored by: The FreeBSD Foundation

10 years agoFix a couple of typos.
jhb [Tue, 21 Jan 2014 03:27:47 +0000 (03:27 +0000)]
Fix a couple of typos.

10 years agoFix a typo.
jhb [Tue, 21 Jan 2014 03:24:52 +0000 (03:24 +0000)]
Fix a typo.

10 years ago- Reuse legacy_pcib_(read|write)_config() methods in the QPI pcib driver.
jhb [Tue, 21 Jan 2014 03:14:19 +0000 (03:14 +0000)]
- Reuse legacy_pcib_(read|write)_config() methods in the QPI pcib driver.
- Reuse legacy_pcib_alloc_msi{,x}() methods in the QPI and mptable pcib
  drivers.

10 years agoThere is no need to initialize the IOMMU if no passthru devices have been
neel [Tue, 21 Jan 2014 03:01:34 +0000 (03:01 +0000)]
There is no need to initialize the IOMMU if no passthru devices have been
configured for bhyve to use.

Suggested by: grehan@

10 years agoDocument r258830.
gjb [Tue, 21 Jan 2014 01:21:20 +0000 (01:21 +0000)]
Document r258830.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r258838.
gjb [Tue, 21 Jan 2014 01:12:54 +0000 (01:12 +0000)]
Document r258838.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r258884.
gjb [Tue, 21 Jan 2014 01:12:52 +0000 (01:12 +0000)]
Document r258884.

Sponsored by: The FreeBSD Foundation

10 years agoDocument r259626.
gjb [Tue, 21 Jan 2014 01:12:50 +0000 (01:12 +0000)]
Document r259626.

Sponsored by: The FreeBSD Foundation