]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
9 years agoMerge ^/head r275262 through r275363.
dim [Mon, 1 Dec 2014 13:14:39 +0000 (13:14 +0000)]
Merge ^/head r275262 through r275363.

9 years agoAdd patch file for r275362.
dim [Mon, 1 Dec 2014 13:07:49 +0000 (13:07 +0000)]
Add patch file for r275362.

9 years agoFor now, enable the clrex instruction for armv6, until upstream
dim [Mon, 1 Dec 2014 12:59:21 +0000 (12:59 +0000)]
For now, enable the clrex instruction for armv6, until upstream
implements this properly.

Submitted by: andrew

9 years agoAdd patch file for r275280.
dim [Sun, 30 Nov 2014 00:09:26 +0000 (00:09 +0000)]
Add patch file for r275280.

9 years agoPull in r215811 from upstream llvm trunk (by Nico Weber):
dim [Sun, 30 Nov 2014 00:08:14 +0000 (00:08 +0000)]
Pull in r215811 from upstream llvm trunk (by Nico Weber):

  arm asm: Let .fpu enable instructions, PR20447.

  I'm not very happy with duplicating the fpu->feature mapping in ARMAsmParser.cpp
  and in clang's driver. See the bug for a patch that doesn't do that, and the
  review thread [1] for why this duplication exists.

  1: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140811/231052.html

This makes the .fpu directive work properly, so we can successfully
assemble several .S files using the directive, under lib/libc/arm.

9 years agoConsistently use ARM UAL syntax in stdatomic.c, e.g. streqb and streqh
dim [Sat, 29 Nov 2014 21:23:07 +0000 (21:23 +0000)]
Consistently use ARM UAL syntax in stdatomic.c, e.g. streqb and streqh
become strbeq and strheq, respectively.  Clang's integrated assembler
intentionally does not support the old spellings.

9 years agoAdd patch file for r275265.
dim [Sat, 29 Nov 2014 20:24:18 +0000 (20:24 +0000)]
Add patch file for r275265.

9 years agoRemove bogus revision numbers from diff header lines in the existing
dim [Sat, 29 Nov 2014 20:23:18 +0000 (20:23 +0000)]
Remove bogus revision numbers from diff header lines in the existing
llvm/clang patches.

9 years agoPull in r214802 from upstream llvm trunk (by Renato Golin):
dim [Sat, 29 Nov 2014 20:18:08 +0000 (20:18 +0000)]
Pull in r214802 from upstream llvm trunk (by Renato Golin):

  Allow CP10/CP11 operations on ARMv5/v6

  Those registers are VFP/NEON and vector instructions should be used instead,
  but old cores rely on those co-processors to enable VFP unwinding. This change
  was prompted by the libc++abi's unwinding routine and is also present in many
  legacy low-level bare-metal code that we ought to compile/assemble.

  Fixing bug PR20025 and allowing PR20529 to proceed with a fix in libc++abi.

This enables assembling certain ARM instructions used in libgcc.

9 years agoMerge ^/head r274961 through r275261.
dim [Sat, 29 Nov 2014 18:44:52 +0000 (18:44 +0000)]
Merge ^/head r274961 through r275261.

9 years agoThe current limit of 100k for the linker hints file is getting a bit
imp [Sat, 29 Nov 2014 17:29:30 +0000 (17:29 +0000)]
The current limit of 100k for the linker hints file is getting a bit
crowded as we now are at about 70k. Bump the limit to 1MB instead
which is still quite a reasonable limit and allows for future growth
of this file and possible future expansion to additional data.

MFC After: 2 weeks

9 years agoRemove lock recursion for the pipe pair mutex, and disable the
kib [Sat, 29 Nov 2014 17:18:20 +0000 (17:18 +0000)]
Remove lock recursion for the pipe pair mutex, and disable the
recursion on mutex initialization.

The only places where the recursive acquire is performed are read and
write filters, since knlist, which uses the pipe pair mutex as lock,
is locked when filter is called.

The recursion was added in r93296, and consistent locking for
kn_fop->f_event() introduced in r133741.

Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 month

9 years agoSwitch to the ARM unified assembly language as the clang integrated as only
andrew [Sat, 29 Nov 2014 15:56:52 +0000 (15:56 +0000)]
Switch to the ARM unified assembly language as the clang integrated as only
supports it. Binutils supports it when the ".syntax unified" directive
is set.

Sponsored by: ABT Systems Ltd

9 years agoIgnore more warnings with external gcc
bapt [Sat, 29 Nov 2014 14:30:39 +0000 (14:30 +0000)]
Ignore more warnings with external gcc

9 years agoMFi386: r275059, r275061, r275062 and r275191 (by rdivacky)
nyan [Sat, 29 Nov 2014 12:22:31 +0000 (12:22 +0000)]
MFi386: r275059, r275061, r275062 and r275191 (by rdivacky)

  Shrink boot2 by a couple more bytes.

9 years agoImplement --no-fatal-warning for compatibility with newer ld
bapt [Sat, 29 Nov 2014 11:50:19 +0000 (11:50 +0000)]
Implement --no-fatal-warning for compatibility with newer ld
what ever order the options are passed to ld(1) the --no-fatal-warning always
disable --fatal-warning

9 years agoMFi386: r275237 (by rdivacky)
nyan [Sat, 29 Nov 2014 09:27:18 +0000 (09:27 +0000)]
MFi386: r275237 (by rdivacky)

  Shrink boot2 a bit more by factoring out common pattern
  of printf();return(-1);

9 years agoShrink boot2 a bit more by factoring out common pattern
rdivacky [Sat, 29 Nov 2014 08:59:26 +0000 (08:59 +0000)]
Shrink boot2 a bit more by factoring out common pattern
of printf();return(-1);

This shrinks it by 8bytes using clang35 and by 12bytes using clang34.

9 years agoMF projects/building-blocks r275198:
ngie [Sat, 29 Nov 2014 06:53:06 +0000 (06:53 +0000)]
MF projects/building-blocks r275198:

  Use ${.TARGET} instead of hardcoding the name in the dump build rule

9 years agoUpdate libucl to latest version
bapt [Sat, 29 Nov 2014 00:45:09 +0000 (00:45 +0000)]
Update libucl to latest version

While here correctly link libucl to libm and register the dependency on libm
for static building

9 years agoUpdate libucl to latest version
bapt [Sat, 29 Nov 2014 00:33:10 +0000 (00:33 +0000)]
Update libucl to latest version

9 years agoReadd Makefile.inc that were used to include upper level Makefile.inc and
bapt [Fri, 28 Nov 2014 22:03:35 +0000 (22:03 +0000)]
Readd Makefile.inc that were used to include upper level Makefile.inc and
set (among other things) the destination where the binary should be installed

9 years agoAfter r275196 unbreak NOIP and NOINET kernels by hiding an otherwise
bz [Fri, 28 Nov 2014 14:51:49 +0000 (14:51 +0000)]
After r275196 unbreak NOIP and NOINET kernels by hiding an otherwise
unused varibale under the proper #ifdef.

9 years agoMerge ^/head r275118 through r275209.
dim [Fri, 28 Nov 2014 13:25:57 +0000 (13:25 +0000)]
Merge ^/head r275118 through r275209.

9 years agoDRM2: fix off-by-one overflow in ioctl processing
rea [Fri, 28 Nov 2014 12:14:59 +0000 (12:14 +0000)]
DRM2: fix off-by-one overflow in ioctl processing

Call to the driver-specific ioctl used to process ioctl number
that will lead to the out-of-bounds access to the ioctl handler
array.

PR: 193367
Approved by: kib
MFC after: 1 week

9 years agoSome device tree configurations place the generic timer under the root
andrew [Fri, 28 Nov 2014 11:49:26 +0000 (11:49 +0000)]
Some device tree configurations place the generic timer under the root
of the tree and not under simplebus. Update the driver to handle this.

Submitted by: Julien Grall <julien.grall AT linaro.org>
MFC after: 1 week

9 years agoWe don't use the hypervisor interrupt, make it optional in the device tree.
andrew [Fri, 28 Nov 2014 11:45:53 +0000 (11:45 +0000)]
We don't use the hypervisor interrupt, make it optional in the device tree.

Submitted by: Julien Grall <julien.grall AT linaro.org>
MFC after: 1 week

9 years agoAssert the state of the process lock and sigact mutex in
kib [Fri, 28 Nov 2014 10:20:00 +0000 (10:20 +0000)]
Assert the state of the process lock and sigact mutex in
kern_sigprocmask() and reschedule_signals().

Discussed with: rea
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoStyle changes:
hselasky [Fri, 28 Nov 2014 09:32:07 +0000 (09:32 +0000)]
Style changes:
- Move two IOCTL related defines to the top of the C-file
- Add more comments describing the recently added IOCTL small size and
small align macros

9 years agoCorrectly define constants.
cy [Fri, 28 Nov 2014 04:07:06 +0000 (04:07 +0000)]
Correctly define constants.

MFC after: 1 week

9 years agoFix build broken by r275195.
melifaro [Thu, 27 Nov 2014 23:10:03 +0000 (23:10 +0000)]
Fix build broken by r275195.

9 years agoDo not return unlocked/unreferenced lle in arpresolve/nd6_storelladdr -
melifaro [Thu, 27 Nov 2014 23:06:25 +0000 (23:06 +0000)]
Do not return unlocked/unreferenced lle in arpresolve/nd6_storelladdr -
  return lle flags IFF needed.
Do not pass rte to arpresolve - pass is_gateway flag instead.

9 years agoDo not try to copy header to @dst and than back to ethernet in case of
melifaro [Thu, 27 Nov 2014 21:29:19 +0000 (21:29 +0000)]
Do not try to copy header to @dst and than back to ethernet in case of
pseudo_AF_HDRCMPLT:

we copy media header from mbuf to 'struct sockaddr' @dst in bpf_movein, so
mbuf already contains valid info.

9 years agoRemove leftovers readline being changed to an internallib
bapt [Thu, 27 Nov 2014 20:24:58 +0000 (20:24 +0000)]
Remove leftovers readline being changed to an internallib

9 years agoPut each SUBDIR on a separate line
emaste [Thu, 27 Nov 2014 20:22:46 +0000 (20:22 +0000)]
Put each SUBDIR on a separate line

This makes it easier to review or merge changes that modify some subset
of SUBDIRs.

9 years agoCopy elftoolchain binutils replacements from vendor branch
emaste [Thu, 27 Nov 2014 20:12:13 +0000 (20:12 +0000)]
Copy elftoolchain binutils replacements from vendor branch

Sponsored by: The FreeBSD Foundation

9 years agoRevert part of r275059. Comparing unsigned 8 bit value
rdivacky [Thu, 27 Nov 2014 18:43:44 +0000 (18:43 +0000)]
Revert part of r275059. Comparing unsigned 8 bit value
against -'0' is always false so the conditional block is
optimized away.

9 years agoFix hwpmc sampling for ppc970 (G5-class) processors.
jhibbits [Thu, 27 Nov 2014 18:41:14 +0000 (18:41 +0000)]
Fix hwpmc sampling for ppc970 (G5-class) processors.

With this, hwpmc sampling now works on these processors.

MFC after: 3 weeks
Relnotes: yes

9 years agoo NetBSD 6.1.5, OpenBSD 5.6, FreeBSD 10.1, DragonFly 4.0.1 added.
maxim [Thu, 27 Nov 2014 14:54:17 +0000 (14:54 +0000)]
o NetBSD 6.1.5, OpenBSD 5.6, FreeBSD 10.1, DragonFly 4.0.1 added.

9 years agoclean_build is not always done (*), so move the mkdir to the first step
n_hibma [Thu, 27 Nov 2014 09:17:42 +0000 (09:17 +0000)]
clean_build is not always done (*), so move the mkdir to the first step
that needs it and is always done: make.conf build.

(*) In our build environment we actually never do a clean build unless
instructed to do so, to make sure we do not accidentally delete the
built world when on a tight schedule.

9 years agoFix hwpmc sampling for MPC74xxx (G4) processors.
jhibbits [Thu, 27 Nov 2014 06:42:34 +0000 (06:42 +0000)]
Fix hwpmc sampling for MPC74xxx (G4) processors.

With this, hwpmc sampling now works correctly on these processors.

MFC after: 3 weeks
Relnotes: yes

9 years agoConvert sbin/mdconfig/tests from prove format tests to ATF format tests
ngie [Thu, 27 Nov 2014 06:04:00 +0000 (06:04 +0000)]
Convert sbin/mdconfig/tests from prove format tests to ATF format tests

As a side effect...
1. The tests now checks for the root user before continuing with kyua, which is
   more visible than the test being skipped with the TAP protocol
2. The tests work with devices that aren't /dev/md0 by caching the device
   attached during the test to a file, and later use the cached information to
   detach the device in the cleanup routine
3. The tests no longer require perl to run

MFC after: 1 week
PR: 191191
Sponsored by: EMC / Isilon Storage Division

9 years agoANSIfy b64_pton
emaste [Thu, 27 Nov 2014 02:15:35 +0000 (02:15 +0000)]
ANSIfy b64_pton

9 years agoInit array field in the proper place.
kevlo [Thu, 27 Nov 2014 01:37:01 +0000 (01:37 +0000)]
Init array field in the proper place.

Obtained from: OpenBSD

9 years agoAdd patch file for r275160.
dim [Thu, 27 Nov 2014 00:39:01 +0000 (00:39 +0000)]
Add patch file for r275160.

9 years agoPull in r222856 from upstream llvm trunk (by David Majnemer):
dim [Thu, 27 Nov 2014 00:33:31 +0000 (00:33 +0000)]
Pull in r222856 from upstream llvm trunk (by David Majnemer):

  Revert "Added inst combine transforms for single bit tests from Chris's note"

  This reverts commit r210006, it miscompiled libapr which is used in who
  knows how many projects.

  A test has been added to ensure that we don't regress again.

This fixes a miscompilation in libapr, which caused problems in svnlite.

9 years agoRemove ip4_input() declaration. It was removed in r275133.
ae [Thu, 27 Nov 2014 00:27:39 +0000 (00:27 +0000)]
Remove ip4_input() declaration. It was removed in r275133.

MFC after: 1 month

9 years agoAdd patch files for r275152, r275153 and r275154.
dim [Wed, 26 Nov 2014 23:57:12 +0000 (23:57 +0000)]
Add patch files for r275152, r275153 and r275154.

9 years agoPull in r221900 from upstream clang trunk (by Ed Maste):
dim [Wed, 26 Nov 2014 23:54:23 +0000 (23:54 +0000)]
Pull in r221900 from upstream clang trunk (by Ed Maste):

  Hook up FreeBSD AArch64 support

  Patch from Andrew Turner.

9 years agoPull in r216571 from upstream llvm trunk (by Zachary Turner):
dim [Wed, 26 Nov 2014 23:53:35 +0000 (23:53 +0000)]
Pull in r216571 from upstream llvm trunk (by Zachary Turner):

  Fix some semantic usability issues with DynamicLibrary.

  This patch allows invalid DynamicLibrary instances to be
  constructed, and fixes the const-correctness of the isValid()
  method.

  No functional change.

This is needed for supporting the upgrade to a newer LLDB snapshot.

9 years agoPull in r215352 from upstream llvm trunk (by Tim Northover):
dim [Wed, 26 Nov 2014 23:52:59 +0000 (23:52 +0000)]
Pull in r215352 from upstream llvm trunk (by Tim Northover):

  AArch64: add support for dynamic-loader relocations

  LLD needs them, and it's good to be able to print them properly when
  our object dumpers encounter them.

  Patch by Daniel Stewart.

This is needed for supporting the upgrade to a newer LLDB snapshot.

9 years agoSince for clang 3.5.0 ARM EHABI is now the default, the -mllvm
dim [Wed, 26 Nov 2014 23:28:16 +0000 (23:28 +0000)]
Since for clang 3.5.0 ARM EHABI is now the default, the -mllvm
-arm-enable-ehabi flag is no longer supported.  Use it only for older
versions of clang.

9 years agoIncrease default and maximum callchain depths
emaste [Wed, 26 Nov 2014 20:56:08 +0000 (20:56 +0000)]
Increase default and maximum callchain depths

Bump the default from 16 to 32, to accommodate kernel flamegraphs.
Bump the maximum from 32 to 128, to accommodate deep user stacks.

Reviewed by: gnn
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1203

9 years agoRegen src.conf(5) after r275138.
gjb [Wed, 26 Nov 2014 20:44:54 +0000 (20:44 +0000)]
Regen src.conf(5) after r275138.

Sponsored by: The FreeBSD Foundation

9 years agoWhitespace cleanup to fix rendering nits in
gjb [Wed, 26 Nov 2014 20:43:09 +0000 (20:43 +0000)]
Whitespace cleanup to fix rendering nits in
src.conf(5).

Sponsored by: The FreeBSD Foundation

9 years agoAdd PCI ID for Intel Lynx Point LP controller.
adrian [Wed, 26 Nov 2014 20:34:05 +0000 (20:34 +0000)]
Add PCI ID for Intel Lynx Point LP controller.

PR: kern/195398
Submitted by: grembo
Obtained from: DragonflyBSD
MFC after: 1 week

9 years agoMake igb and ixgbe check tunables at probe time.
alfred [Wed, 26 Nov 2014 20:19:36 +0000 (20:19 +0000)]
Make igb and ixgbe check tunables at probe time.

This allows one to make a kernel module to tune the
number of queues before the driver loads.

This is needed so that a module at SI_SUB_CPU can set
tunables for these drivers to take.  Otherwise getenv
is called too early by the TUNABLE macros.

Reviewed by: smh
Phabric: https://reviews.freebsd.org/D1149

9 years agoRemove additional platform-specific LLDB code
emaste [Wed, 26 Nov 2014 18:03:25 +0000 (18:03 +0000)]
Remove additional platform-specific LLDB code

9 years agoRevert LLDB changes for Clang/LLVM 3.5 API compatibility
emaste [Wed, 26 Nov 2014 18:02:22 +0000 (18:02 +0000)]
Revert LLDB changes for Clang/LLVM 3.5 API compatibility

This reverts the following upstream revisions:

      SVN      git
    214335  59a1f270
    214340  42f16b1e

9 years agoDo not use xform_ipip as decapsulation fallback.
ae [Wed, 26 Nov 2014 17:44:49 +0000 (17:44 +0000)]
Do not use xform_ipip as decapsulation fallback.

xform_ipip was used as fallback with low priority for IPIP
encapsulated packets that were decrypted. In some cases
it can decapsulate packets, that it shouldn't. This leads to situations,
when wrong configurations are magically working. Also it can propagate
wrong ingress interface and this can break security.

Now we redesigned the IPSEC code and IPIP encapsulation is called directly
from ipsec_output, and decapsulation is done in the ipsec_input with m_striphdr.

Differential Revision: https://reviews.freebsd.org/D1220
MFC after: 1 month
Sponsored by: Yandex LLC

9 years agoUpdate build for LLDB snapshot at upstream rev 216948
emaste [Wed, 26 Nov 2014 17:40:03 +0000 (17:40 +0000)]
Update build for LLDB snapshot at upstream rev 216948

Sponsored by: DARPA, AFRL

9 years agoRemove LLDB platform support not currently of interest to us
emaste [Wed, 26 Nov 2014 17:32:20 +0000 (17:32 +0000)]
Remove LLDB platform support not currently of interest to us

9 years agoUpdate paths for FreeBSD build infrastructure
emaste [Wed, 26 Nov 2014 17:29:01 +0000 (17:29 +0000)]
Update paths for FreeBSD build infrastructure

This same change was applied upstream in a later verison.

9 years agoThere is no Python in the FreeBSD base system
emaste [Wed, 26 Nov 2014 17:24:12 +0000 (17:24 +0000)]
There is no Python in the FreeBSD base system

9 years agoAvoid need for AppleObjCRuntime on FreeBSD
emaste [Wed, 26 Nov 2014 17:22:37 +0000 (17:22 +0000)]
Avoid need for AppleObjCRuntime on FreeBSD

Since it is unlikely to provide much value to us, just #if 0 it away

Sponsored by: DARPA, AFRL

9 years agoRevert LLDB changes for Clang/LLVM 3.5 API compatibility
emaste [Wed, 26 Nov 2014 17:09:58 +0000 (17:09 +0000)]
Revert LLDB changes for Clang/LLVM 3.5 API compatibility

This reverts the following upstream revisions:

     SVN       git
    214501  26d6f063
    215969  a083c0db
    216603  ee9cd340
    216810  f534f503

Sponsored by: DARPA, AFRL

9 years agoUpdate LLDB snapshot to upstream r216948 (git 50f7fe44)
emaste [Wed, 26 Nov 2014 16:48:12 +0000 (16:48 +0000)]
Update LLDB snapshot to upstream r216948 (git 50f7fe44)

This is approximately "LLDB 3.5" although with a little bit of skew,
and will go along with the Clang 3.5 import.

Sponsored by: DARPA, AFRL

9 years agoRevert Clang 3.4 API compatibility changes
emaste [Wed, 26 Nov 2014 16:23:32 +0000 (16:23 +0000)]
Revert Clang 3.4 API compatibility changes

Re-apply previously reverted changes to restore LLDB to parity with
the last update as of upstream revision 202189. This is the first step
an LLDB update to correspond with the Clang 3.5 import and re-applies
the following upstream revisions:

      SVN      git
    199408  3ad0a1a1
    199689  05be72c3
    200085  9ad47a93

Sponsored by: DARPA, AFRL

9 years agoFix WWNN/WWPN generation for virtual channels.
mav [Wed, 26 Nov 2014 16:05:01 +0000 (16:05 +0000)]
Fix WWNN/WWPN generation for virtual channels.

MFC after: 1 week

9 years agoFix incorrect check, blocking MULTIID functionality.
mav [Wed, 26 Nov 2014 15:03:21 +0000 (15:03 +0000)]
Fix incorrect check, blocking MULTIID functionality.

MFC after: 1 week

9 years agoAfter some horrible wrestling with Subversion's worthless merge
dim [Wed, 26 Nov 2014 14:36:04 +0000 (14:36 +0000)]
After some horrible wrestling with Subversion's worthless merge
implementation, merge ^/head r275078 through r275117.

Note that all the extraneous mergeinfo is there because Subversion
created it.  I'll hopefully be able to remove it again when merging back
to head.

9 years agoThe process spin lock currently has the following distinct uses:
kib [Wed, 26 Nov 2014 14:10:00 +0000 (14:10 +0000)]
The process spin lock currently has the following distinct uses:

- Threads lifetime cycle, in particular, counting of the threads in
  the process, and interlocking with process mutex and thread lock.
  The main reason of this is that turnstile locks are after thread
  locks, so you e.g. cannot unlock blockable mutex (think process
  mutex) while owning thread lock.

- Virtual and profiling itimers, since the timers activation is done
  from the clock interrupt context.  Replace the p_slock by p_itimmtx
  and PROC_ITIMLOCK().

- Profiling code (profil(2)), for similar reason.  Replace the p_slock
  by p_profmtx and PROC_PROFLOCK().

- Resource usage accounting.  Need for the spinlock there is subtle,
  my understanding is that spinlock blocks context switching for the
  current thread, which prevents td_runtime and similar fields from
  changing (updates are done at the mi_switch()).  Replace the p_slock
  by p_statmtx and PROC_STATLOCK().

The split is done mostly for code clarity, and should not affect
scalability.

Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

9 years agoFix SA_SIGINFO | SA_RESETHAND handling. The sysent' sv_sendsig()
kib [Wed, 26 Nov 2014 14:09:04 +0000 (14:09 +0000)]
Fix SA_SIGINFO | SA_RESETHAND handling. The sysent' sv_sendsig()
method needs pre-reset state of the ps_siginfo to correctly construct
signal frame.

Move sigdflt() call after the sv_sendsig() invocation in postsig().
Simultaneously extract common code from trapsignal() and postsig()
into new helper postsig_done().

Submitted by: rea
MFC after: 1 week

9 years agoSome microoptimizations.
mav [Wed, 26 Nov 2014 13:56:54 +0000 (13:56 +0000)]
Some microoptimizations.

MFC after: 1 month

9 years agoMake isp_find_pdb_by_*() search for targets in portdb in reverse order.
mav [Wed, 26 Nov 2014 12:25:00 +0000 (12:25 +0000)]
Make isp_find_pdb_by_*() search for targets in portdb in reverse order.

Records with target_mode == 1 are allocated from the end of portdb, so it
seems logical to start search from the end not traverse whole array.

MFC after: 1 month

9 years agoAdd new USB quirk.
hselasky [Wed, 26 Nov 2014 10:58:08 +0000 (10:58 +0000)]
Add new USB quirk.

MFC after: 1 week
PR: 195372

9 years agoAdd support for 64-byte CQE size.
hselasky [Wed, 26 Nov 2014 09:51:38 +0000 (09:51 +0000)]
Add support for 64-byte CQE size.

Sponsored by: Mellanox Technologies
MFC after: 3 days

9 years agoRemove MINUSLPAM the LIBADD framework handles static dependencies just fine
bapt [Wed, 26 Nov 2014 08:14:30 +0000 (08:14 +0000)]
Remove MINUSLPAM the LIBADD framework handles static dependencies just fine

9 years agoConvert to LIBADD
bapt [Wed, 26 Nov 2014 08:12:21 +0000 (08:12 +0000)]
Convert to LIBADD

9 years agoConvert to LIBADD
bapt [Wed, 26 Nov 2014 08:09:44 +0000 (08:09 +0000)]
Convert to LIBADD

9 years agoAdd bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.
mav [Wed, 26 Nov 2014 04:23:21 +0000 (04:23 +0000)]
Add bunch of PCI IDs of Intel Wildcat Point (9 Series) chipsets.

MFC after: 1 week

9 years agoRevert r273060 per discussion with avg@ as we need to make L2ARC
delphij [Wed, 26 Nov 2014 02:20:25 +0000 (02:20 +0000)]
Revert r273060 per discussion with avg@ as we need to make L2ARC
aware of 4K devices and this one is not the right fix anyway.

9 years agoConvert to LIBADD
bapt [Tue, 25 Nov 2014 22:45:35 +0000 (22:45 +0000)]
Convert to LIBADD

9 years agoRemove now useless USEPRIVATELIB
bapt [Tue, 25 Nov 2014 22:43:17 +0000 (22:43 +0000)]
Remove now useless USEPRIVATELIB

9 years agoRemove all remnant ugly LD<lbname> but atf one until the aft framework knows
bapt [Tue, 25 Nov 2014 22:39:59 +0000 (22:39 +0000)]
Remove all remnant ugly LD<lbname> but atf one until the aft framework knows
about LIBADD

9 years agoConvert to LIBADD
bapt [Tue, 25 Nov 2014 22:37:27 +0000 (22:37 +0000)]
Convert to LIBADD

9 years agoReduce overlinking
bapt [Tue, 25 Nov 2014 22:25:13 +0000 (22:25 +0000)]
Reduce overlinking
The framework now ensure by itself that pthread is added to the link chain
as the last component if linked to kerberos hence avoid with out any explicit
addition prevent issue like CVE-2014-8475

9 years agoRegister the explicit (pthread) and implicit (for static) dependencies for
bapt [Tue, 25 Nov 2014 22:17:31 +0000 (22:17 +0000)]
Register the explicit (pthread) and implicit (for static) dependencies for
kerberos

9 years agoDefines the libssh dependencies
bapt [Tue, 25 Nov 2014 22:10:31 +0000 (22:10 +0000)]
Defines the libssh dependencies

9 years agoConvert svn to LIBADD reduce overlinking
bapt [Tue, 25 Nov 2014 21:43:51 +0000 (21:43 +0000)]
Convert svn to LIBADD reduce overlinking

9 years agor274961 through r275075
dim [Tue, 25 Nov 2014 21:43:01 +0000 (21:43 +0000)]
r274961 through r275075

9 years agoConvert to LIBADD
bapt [Tue, 25 Nov 2014 21:18:18 +0000 (21:18 +0000)]
Convert to LIBADD
Reduce overlinking

9 years agoDefine missing libraries to be able to convert gnu, cddl and secure to LIBADD
bapt [Tue, 25 Nov 2014 21:16:44 +0000 (21:16 +0000)]
Define missing libraries to be able to convert gnu, cddl and secure to LIBADD

9 years agoSimilar to r274977, use the correct combination of flags to get the pc98
dim [Tue, 25 Nov 2014 21:08:31 +0000 (21:08 +0000)]
Similar to r274977, use the correct combination of flags to get the pc98
boot2 below the limit.

9 years agoIn preparation for using clang's -Wcast-qual:
jamie [Tue, 25 Nov 2014 21:01:08 +0000 (21:01 +0000)]
In preparation for using clang's -Wcast-qual:

Use __DECONST (instead of my own attempted re-invention) for the iov
parameters to jail_get/set(2).  Similarly remove the decost-ish hack
from execvp's argv, except the __DECONST is only added at very end.

While I'm at it, remove an unused variable and fix a comment typo.

9 years agoImport LLDB as of upstream SVN r216948 (git 50f7fe44)
emaste [Tue, 25 Nov 2014 21:00:58 +0000 (21:00 +0000)]
Import LLDB as of upstream SVN r216948 (git 50f7fe44)

This corresponds with the branchpoint for the 3.5 release.
A number of files not required for the FreeBSD build have been removed.

Sponsored by: DARPA, AFRL

9 years agoReinstitate send() after syslogd restarts.
delphij [Tue, 25 Nov 2014 20:59:22 +0000 (20:59 +0000)]
Reinstitate send() after syslogd restarts.

In r228193 the test of CONNPRIV have been moved to before the _usleep
and send in vsyslog().  When syslogd restarts, this would prevent the
message being logged after the disconnect/connect dance for
scenario #1.

PR: 194751
Submitted by: Peter Creath <pjcreath+freebsd gmail com>
Reviewed By: glebius
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D1227

9 years agoSort libraries definitions
bapt [Tue, 25 Nov 2014 19:13:03 +0000 (19:13 +0000)]
Sort libraries definitions

Reported by: bjk

9 years agoRemove duplicated krb5
bapt [Tue, 25 Nov 2014 19:07:31 +0000 (19:07 +0000)]
Remove duplicated krb5

Reported by: markj

9 years agoFix style(9).
rdivacky [Tue, 25 Nov 2014 18:58:40 +0000 (18:58 +0000)]
Fix style(9).

Suggested by: jkim