np [Fri, 3 Mar 2017 03:11:58 +0000 (03:11 +0000)]
Add cxgbetool(8) to the base system.
Move cxgbetool from tools/tools to usr.sbin. Compile and install it on
platforms where cxgbe(4) is built by default. Knobs (WITH_CXGBETOOL and
WITHOUT_CXGBETOOL) have been added so that the user can override the
default setting.
Reviewed by: ngie@, gnn@, bdrewery@
MFC after: 1 month
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D9854
np [Fri, 3 Mar 2017 03:07:54 +0000 (03:07 +0000)]
cxgbe/iw_cxgbe: Implement sq/rq drain operation.
ULPs can set a qp's state to ERROR and then post a work request on the
sq and/or rq. When the reply for that work request comes back it is
guaranteed that all previous work requests posted on that queue have
been drained.
Obtained from: Chelsio Communications
MFC after: 3 days
Sponsored by: Chelsio Communications
sjg [Fri, 3 Mar 2017 01:56:55 +0000 (01:56 +0000)]
Allow building mkimg as cross-tool
For linux the mmap offset must also be page aligned, and we
need to disable macros like __FBSDID()
Change the linux osdep_uuidgen() to use more portable gettimeofday().
Reviewed by: marcel
des [Fri, 3 Mar 2017 01:50:10 +0000 (01:50 +0000)]
Forgot to bump the version addendum date.
avos [Fri, 3 Mar 2017 01:06:27 +0000 (01:06 +0000)]
net80211: fix ieee80211_htrateset setup, return EINVAL for an unsupported
ucast/mcast/mgmt HT rate.
- Init global ieee80211_htrateset only once; neither ic_htcaps nor
ic_txstream is changed when device is attached;
- Move global ieee80211_htrateset structure to ieee80211com;
there was a possible data race when more than 1 wireless device is
used simultaneously;
- Discard unsupported rates in ieee80211_ioctl_settxparams(); otherwise,
an unsupported value may break connectivity (actually,
'ifconfig wlan0 ucastrate 8' for RTL8188EU results in immediate
disconnect + infinite 'device timeout's after it).
Tested with:
- Intel 6205, STA mode.
- RTL8821AU, STA mode.
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D9871
mm [Thu, 2 Mar 2017 23:23:28 +0000 (23:23 +0000)]
Fix null pointer dereference in zfs_freebsd_setacl().
Prevents unprivileged users from panicking the kernel by calling
__acl_delete_*() on files or directories inside a ZFS mount.
MFC after: 3 days
mm [Thu, 2 Mar 2017 22:59:35 +0000 (22:59 +0000)]
MFV r314565,314567,314570:
Update libarchive to version 3.3.1 (and sync with latest vendor dist)
Notable vendor changes:
PR #501: improvements in ACL path handling
PR #724: fix hang when reading malformed cpio files
PR #864: fix out of bounds read with malformed GNU tar archives
Documentation, style, test suite improvements and typo fixes.
New options to bsdtar that enable or disable reading and/or writing of:
Access Control Lists (--acls, --no-acls)
Extended file flags (--fflags, --no-fflags)
Extended attributes (--xattrs, --no-xattrs)
Mac OS X metadata (Mac OS X only) (--mac-metadata, --no-mac-metadata)
MFC after: 2 weeks
emaste [Thu, 2 Mar 2017 22:17:53 +0000 (22:17 +0000)]
kern_sig.c: ANSIfy and remove archaic register keyword
Sponsored by: The FreeBSD Foundation
mm [Thu, 2 Mar 2017 21:13:25 +0000 (21:13 +0000)]
Update vendor/libarchive to git
a15c7f7b496ba4cefbcaf6f8ac637db4f3009a58
Documentation, style, test suite changes and typo fixes.
New bsdtar tests for --acls and --fflags options.
mm [Thu, 2 Mar 2017 21:02:17 +0000 (21:02 +0000)]
Update vendor/libarchive to git
d6b1bb9f7ea7bc153b7356e8e345c9e48005821a
Release 3.3.1
Notable vendor changes:
PR #501: improvements in ACL path handling
PR #724: fix hang when reading malformed cpio files
PR #864: fix out of bounds read with malformed GNU tar archives
Test suite improvements
New options to bsdtar that enable or disable reading and/or writing of:
Access Control Lists (--acls, --no-acls)
Extended file flags (--fflags, --no-fflags)
Extended attributes (--xattrs, --no-xattrs)
dim [Thu, 2 Mar 2017 20:49:40 +0000 (20:49 +0000)]
Upgrade our copies of clang, llvm, lld, lldb, compiler-rt and libc++ to
4.0.0 (branches/release_40 296509). The release will follow soon.
Please note that from 3.5.0 onwards, clang, llvm and lldb require C++11
support to build; see UPDATING for more information.
Also note that as of 4.0.0, lld should be able to link the base system
on amd64 and aarch64. See the WITH_LLD_IS_LLD setting in src.conf(5).
Though please be aware that this is work in progress.
Release notes for llvm, clang and lld will be available here:
<http://releases.llvm.org/4.0.0/docs/ReleaseNotes.html>
<http://releases.llvm.org/4.0.0/tools/clang/docs/ReleaseNotes.html>
<http://releases.llvm.org/4.0.0/tools/lld/docs/ReleaseNotes.html>
Thanks to Ed Maste, Jan Beich, Antoine Brodin and Eric Fiselier for
their help.
Relnotes: yes
Exp-run: antoine
PR: 215969, 216008
MFC after: 1 month
ngie [Thu, 2 Mar 2017 18:07:19 +0000 (18:07 +0000)]
Wordsmith syslogd(8)
- Clarify -p/-S options by using appropriate subject-verb modifiers
(verb and modifiers suggested that the subject should have been
singular).
- Simplify/correct -a description:
-- Be more terse when describing IPv4 (the "usual dotted notation"
isn't necessarily well understood by the reader). Being blunt and
saying "IPv4 address" with an optional netmask is.
-- prefixlen is the appropriate terminology for IPv6.
-- mask/prefixlen is optional, not required (as noted later on in the
section).
-- split up IPv4/IPv6 use so to clarify both forms.
-- Fix wordiness when describing the optional "service" specifier.
- -T: Use "cannot" instead of "can't" [*].
Bump .Dd for the changes.
MFC after: 1 month
Reported by: igor [*]
Reviewed by: hrs
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D9855
kib [Thu, 2 Mar 2017 17:35:13 +0000 (17:35 +0000)]
Style.
Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
gjb [Thu, 2 Mar 2017 17:31:59 +0000 (17:31 +0000)]
Increase the EC2 image size for 12-CURRENT. The recent snapshot
builds of EC2 images for 12-CURRENT failed due to a full filesystem
on the md(4) device during creation.
Sponsored by: The FreeBSD Foundation
br [Thu, 2 Mar 2017 17:09:14 +0000 (17:09 +0000)]
Fix build: include machine/bus.h before uart.h
Reported by: emaste
Sponsored by: DARPA, AFRL
brooks [Thu, 2 Mar 2017 17:08:37 +0000 (17:08 +0000)]
Garbage collect unused gdtoa related files on mips.
Reviewed by: emase, imp, jhb
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D9841
brooks [Thu, 2 Mar 2017 17:07:28 +0000 (17:07 +0000)]
Correct an misunderstanding of MDSRCS.
MDSRCS it intended to allow assembly versions of funtions with C
implementations listed in MISRCS. The selection of the correct
machdep_ldis?.c for a given architecture does not follow this pattern
and the file should be added to SRCS directly.
Reviewed by: emaste, imp, jhb
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D9841
brooks [Thu, 2 Mar 2017 17:05:52 +0000 (17:05 +0000)]
Correct MDSRCS use in <arch>/string/Makefile.inc.
- Remove .c files which duplicate entries in MISRCS.
- Use the same, less merge conflict prone style in all cases.
- Use MDSRCS for mips (.c and .S files both ended up in SRCS).
- Remove pointless sparc64 Makefile.inc.
- Remove uninformative foreign VCS ID entries.
Reviewed by: emaste, imp, jhb
MFC after: 1 week
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D9841
mav [Thu, 2 Mar 2017 16:14:15 +0000 (16:14 +0000)]
Inline some trivial wrapper functions.
MFC after: 2 weeks
des [Thu, 2 Mar 2017 14:50:01 +0000 (14:50 +0000)]
Fix date.
Reported by: delphij, mckay
MFC with: r314528
hselasky [Thu, 2 Mar 2017 12:20:23 +0000 (12:20 +0000)]
Implement taskqueue_poll_is_busy() for use by the LinuxKPI.
Refer to comment above function for a detailed description.
Discussed with: kib @
MFC after: 1 week
Sponsored by: Mellanox Technologies
mav [Thu, 2 Mar 2017 07:55:47 +0000 (07:55 +0000)]
Execute last ZIO of log commit synchronously.
For short transactions overhead of context switch can be too large.
Skipping it gives significant latency reduction. For large ones,
including multiple ZIOs, latency is less critical, while throughput
there may become limited by checksumming speed of single CPU core.
To get best of both cases, execute last ZIO directly from calling
thread context to save latency, while all others (if there are any)
enqueue to taskqueues in traditional way.
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
mav [Thu, 2 Mar 2017 07:50:06 +0000 (07:50 +0000)]
Completely skip cache flushing for not supporting log devices.
MFC after: 2 weeks
Sponsored by: iXsystems, Inc.
dexuan [Thu, 2 Mar 2017 07:25:50 +0000 (07:25 +0000)]
loader.efi: reduce the size of the staging area if necessary
The loader assumes physical memory in [2MB, 2MB + EFI_STAGING_SIZE)
is Conventional Memory, but actually it may not, e.g. in the case
of Hyper-V Generation-2 VM (i.e. UEFI VM) running on Windows
Server 2012 R2 host, there is a BootServiceData memory block at
the address 47.449MB and the memory is not writable.
Without the patch, the loader will crash in efi_copy_finish():
see PR 211746.
The patch verifies the end of the staging area, and reduces its
size if necessary. This way, the loader will not try to write into
the BootServiceData memory any longer.
Thank Marcel Moolenaar for helping me on this issue!
The patch also allocates the staging area in the first 1GB memory.
See the comment in the patch for this.
PR: 211746
Reviewed by: marcel, kib, sephe
Approved by: sephe (mentor)
MFC after: 2 weeks
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D9686
ngie [Thu, 2 Mar 2017 06:57:13 +0000 (06:57 +0000)]
Wordsmith mlx4{en,ib}(4)
- Replace the "following lines" with more terse phrases.
- Use .Lk for the mellanox URL.
- Reword the SUPPORT section so it's less wordy.
The DESCRIPTION section suggestions are still outstanding; improving
the section requires additional review to make sure the nuance/message
is correct per the original intent.
Bump .Dd for the change
Submitted by: wblock
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D9241
ngie [Thu, 2 Mar 2017 06:25:50 +0000 (06:25 +0000)]
Add missing section to .Xr macro calls for wpifw(4)
The driver manpage for wpifw(4) is missing, but will be added soon. This
fixes the other 2 .Xr calls lacking sections to match the 3rd,
syntactically correct, reference in the SEE ALSO section.
MFC after: 1 week
Reported by: make manlint
Sponsored by: Dell EMC Isilon
ngie [Thu, 2 Mar 2017 06:22:05 +0000 (06:22 +0000)]
Sort .Xr: ahci(4) comes before ahd(4)
X-MFC with: r314110
Reported by: make manlint
Sponsored by: Dell EMC Isilon
ngie [Thu, 2 Mar 2017 06:03:21 +0000 (06:03 +0000)]
Add missing section when referencing ctl(4) via .Xr macro
MFC after: 1 week
Reported by: make manlint
Sponsored by: Dell EMC Isilon
ngie [Thu, 2 Mar 2017 06:02:17 +0000 (06:02 +0000)]
kern.cam.da.X.delete_method: add -width to .Bl macro call
Now the section width is set appropriately per the BIO_DELETE
parameter being described.
Reported by: make manlint
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Thu, 2 Mar 2017 05:04:45 +0000 (05:04 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
emaste [Thu, 2 Mar 2017 04:11:18 +0000 (04:11 +0000)]
makefs: remove clause 3 & 4 from Manuel Bouyer license
ffs_bswap.c 1.34
ufs_bswap.h 1.34
Obtained from: NetBSD
Sponsored by: The FreeBSD Foundation
emaste [Thu, 2 Mar 2017 04:08:14 +0000 (04:08 +0000)]
makefs: remove archaic __P prototypes from ufs_bswap.h
This reduces differences with NetBSD
Sponsored by: The FreeBSD Foundation
gonzo [Thu, 2 Mar 2017 03:19:39 +0000 (03:19 +0000)]
[intelspi][bytgio] Fix buildworld with MODULES_WITH_WORLD set
Add opt_platform.h and opt_acpi.h to the dependencies so modules can be
built as a part of buildworld when MODULES_WITH_WORLD is set
Reported by: Andre Albsmeier (for 11-stable)
MFC after: 1 day
emaste [Thu, 2 Mar 2017 02:10:59 +0000 (02:10 +0000)]
regen src.conf.5 after r313169
Sponsored by: The FreeBSD Foundation
scottl [Thu, 2 Mar 2017 01:39:23 +0000 (01:39 +0000)]
Expose the sbuf_putbuf() symbol to libsbuf. There are a few other symbols
that are present but not exposed, like get/set/clear flags, not sure if they
need to be exposed at this point.
Sponsored by: Netflix
jasone [Thu, 2 Mar 2017 01:14:48 +0000 (01:14 +0000)]
Update jemalloc to 4.5.0.
des [Thu, 2 Mar 2017 00:27:21 +0000 (00:27 +0000)]
Update to reflect that SHA-1 has now been broken.
Submitted by: ak
MFC after: 1 week
des [Thu, 2 Mar 2017 00:11:32 +0000 (00:11 +0000)]
Upgrade to OpenSSH 7.3p1.
dim [Wed, 1 Mar 2017 21:58:26 +0000 (21:58 +0000)]
Bump __FreeBSD_version, and set tentative merge date.
dim [Wed, 1 Mar 2017 21:55:49 +0000 (21:55 +0000)]
Merge ^/head r314482 through r314522.
bapt [Wed, 1 Mar 2017 21:42:22 +0000 (21:42 +0000)]
Import dma snapshot from git 2017-02-10
The only change is:
use basename to select executable identity
PR: 216910
Submitted by: Andrej Ebert <andrej@ebert.su>
np [Wed, 1 Mar 2017 20:23:21 +0000 (20:23 +0000)]
cxgbe/iw_cxgbe: Do not check the size of the memory region being
registered. T4/5/6 have no internal limit on this size. This is
probably a copy paste from the T3 iw_cxgb driver.
MFC after: 3 days
Sponsored by: Chelsio Communications
ae [Wed, 1 Mar 2017 20:00:19 +0000 (20:00 +0000)]
Fix NPTv6 rule counters when one_pass is not enabled.
Consider the rule matching when both @done and @retval values
returned from ipfw_run_eaction() are zero. And modify ipfw_nptv6()
to return IP_FW_DENY and @done=0 when addresses do not match.
Obtained from: Yandex LLC
Sponsored by: Yandex LLC
pfg [Wed, 1 Mar 2017 19:36:32 +0000 (19:36 +0000)]
Split the ficl CFLAGS when they refer to an arch-specific include path.
This is a minimal attempt to keep consistency in the Makefiles so that
moving ficl to somwehere like contrib will be less error prone.
MFC after: 1 week
tsoome [Wed, 1 Mar 2017 19:02:43 +0000 (19:02 +0000)]
loader: r314112 did introduce dereference freed pointer entry
CID: 1371675
Reported by: Coverity
Reviewed by: jhb, allanjude
Approved by: allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D9846
sbruno [Wed, 1 Mar 2017 18:37:35 +0000 (18:37 +0000)]
Make gtaskqueue compatible with drm-next such that they can be used with the
linuxkpi tasklets.
Submitted by: mmacy@nextbsd.org
Reported by: hps
ae [Wed, 1 Mar 2017 18:03:32 +0000 (18:03 +0000)]
Do not invoke the resize event when previous provider's size was zero.
This is similar to r303637 fix for geom_disk.
Reported by: avg
Tested by: avg
MFC after: 1 week
mav [Wed, 1 Mar 2017 17:35:56 +0000 (17:35 +0000)]
Add check missed in r314257.
MFC after: 11 days
emaste [Wed, 1 Mar 2017 15:39:58 +0000 (15:39 +0000)]
Remove hard line breaks from README.md
This is rendered with variable-width formatting and a proportional font,
so hard line breaks before 80 cols are undesired.
kib [Wed, 1 Mar 2017 12:10:24 +0000 (12:10 +0000)]
Add some explanation for SV_TIMEKEEP flag.
Sponsored by: The FreeBSD Foundation
MFC after: 3 days
kib [Wed, 1 Mar 2017 11:39:29 +0000 (11:39 +0000)]
With the removal of IA64, the only arch which uses ia32 compat is amd64.
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
br [Wed, 1 Mar 2017 10:55:12 +0000 (10:55 +0000)]
Set USB OTG mode to host (missed in vendor DTS for some reason).
Sponsored by: DARPA, AFRL
kib [Wed, 1 Mar 2017 10:28:15 +0000 (10:28 +0000)]
Use vm_map_insert() instead of vm_map_find() in elf_map_insert().
Elf_map_insert() needs to create mapping at the known fixed address.
Usage of vm_map_find() assumes, on the other hand, that any suitable
address space range above or equal the specified hint, is acceptable.
Due to operating on the fresh or cleared address space, vm_map_find()
usually creates mapping starting exactly at hint.
Switch to vm_map_insert() use to clearly request fixed mapping from
the VM.
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
kib [Wed, 1 Mar 2017 10:22:07 +0000 (10:22 +0000)]
When deallocating the vm object in elf_map_insert() due to
vm_map_insert() failure, drop the vnode lock around the call to
vm_object_deallocate().
Since the deallocated object is the vm object of the vnode, we might
get the vnode lock recursion there. In fact, it is almost impossible
to make vm_map_insert() failing there on stock kernel.
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 2 weeks
sephe [Wed, 1 Mar 2017 09:05:12 +0000 (09:05 +0000)]
hyperv/hn: Misaligned chimney sending buffers should not be used
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D9714
sephe [Wed, 1 Mar 2017 08:50:41 +0000 (08:50 +0000)]
hyperv/hn: Make sure that RNDIS packet message is at least 4B aligned.
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D9713
sephe [Wed, 1 Mar 2017 08:24:17 +0000 (08:24 +0000)]
hyperv/hn: Simplify RNDIS packet total length calculation.
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D9712
dim [Wed, 1 Mar 2017 08:22:51 +0000 (08:22 +0000)]
Merge ^/head r314420 through r314481.
imp [Wed, 1 Mar 2017 05:53:53 +0000 (05:53 +0000)]
Add kernel support for the TP-LINK MR3040.
Submitted by: Chris Christensen <cchristensen@llnw.com>
Pull Request: https://github.com/freebsd/freebsd/pull/38
imp [Wed, 1 Mar 2017 05:38:04 +0000 (05:38 +0000)]
Back out r314471. In https://reviews.freebsd.org/D1858 it was clear
that this shouldn't go in. I was unaware when I merged the pull
request. I don't wish to upset the status quo, so backout per
project practice.
Pull Request: https://github.com/freebsd/freebsd/pull/92
Noted by: hrs@
ngie [Wed, 1 Mar 2017 05:21:21 +0000 (05:21 +0000)]
Use :H to manipulate .CURDIR-relative paths instead of ../
This simplifies make output
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 05:19:35 +0000 (05:19 +0000)]
Simplify idioms in Makefiles further
- Use SRCTOP-relative paths instead of .CURDIR-relative ones where possible
- Use :H to manipulate .CURDIR in areas instead of ..-relative paths.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
imp [Wed, 1 Mar 2017 05:18:43 +0000 (05:18 +0000)]
Fixed TCO v3 tick convert
TCO v3's internal timer is stored as seconds.
Submitted by: Denir Li <denir-li@users.noreply.github.com>
Pull Request: https://github.com/freebsd/freebsd/pull/51
Pull Request: https://github.com/freebsd/freebsd/pull/52
mjg [Wed, 1 Mar 2017 05:18:22 +0000 (05:18 +0000)]
locks: fix compilation with KTR wihout KTR_LOCKS
While here wrap the overly long line.
Reported by: np
ngie [Wed, 1 Mar 2017 05:14:45 +0000 (05:14 +0000)]
Simplify idioms in usr.sbin/lpr Makefiles
Use :H instead of .CURDIR-relative pathing to simplify make output, etc.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
mjg [Wed, 1 Mar 2017 05:06:21 +0000 (05:06 +0000)]
locks: ensure proper barriers are used with atomic ops when necessary
Unclear how, but the locking routine for mutexes was using the *release*
barrier instead of acquire. This must have been either a copy-pasto or bad
completion.
Going through other uses of atomics shows no barriers in:
- upgrade routines (addressed in this patch)
- sections protected with turnstile locks - this should be fine as necessary
barriers are in the worst case provided by turnstile unlock
I would like to thank Mark Millard and andreast@ for reporting the problem and
testing previous patches before the issue got identified.
ps.
.-'---`-.
,' `.
| \
| \
\ _ \
,\ _ ,'-,/-)\
( * \ \,' ,' ,'-)
`._,) -',-')
\/ ''/
) / /
/ ,'-'
Hardware provided by: IBM LTC
imp [Wed, 1 Mar 2017 05:05:05 +0000 (05:05 +0000)]
Create README.md file for viewing on github.
This is a lightly edited README using github's MARKDOWN.
Submitted by: Johan <johan2422@gmail.com>
Pull Request: https://github.com/freebsd/freebsd/pull/56
ngie [Wed, 1 Mar 2017 04:54:06 +0000 (04:54 +0000)]
Simplify/improve idioms in usr.sbin/ntp Makefiles
- Use SRCTOP-relative paths to other directories instead of
.CURDIR-relative ones. This simplifies pathing in make/displayed output.
- Also, use :H where possible/sensical to manipulate .CURDIR-relative
paths
- Remove superfluous bsd.own.mk .includes which are already handled via
src.opts.mk .includes
MFC after: 1 week
Sponsored by: Dell EMC Isilon
imp [Wed, 1 Mar 2017 04:47:22 +0000 (04:47 +0000)]
Fix VNET - DAD detected duplicate IPv6 address
Assign a hopefully unique, locally administered etheraddr. - for
epairNa & epairNb
Submitted by: Catalin <sslevil@users.noreply.github.com>
Pull Request: https://github.com/freebsd/freebsd/pull/92
ngie [Wed, 1 Mar 2017 04:41:59 +0000 (04:41 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
imp [Wed, 1 Mar 2017 04:40:57 +0000 (04:40 +0000)]
Update tw_cl_share.h to allow 255 LUNs
TW_CL_MAX_NUM_LUNS should not be 16 but I presume 255. I have a 3ware
controller with more than 16 volumes (LUN's) and otherwise all LUN's
above the 16'th are not working.
Submitted by: jcatrysse <j.catrysse@proximedia.be>
Pull Request: https://github.com/freebsd/freebsd/pull/100
ngie [Wed, 1 Mar 2017 04:35:21 +0000 (04:35 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
Also, use :H where possible/sensical to manipulate .CURDIR-relative paths
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
imp [Wed, 1 Mar 2017 04:27:58 +0000 (04:27 +0000)]
Make wsp process a single touchpad tap and interpret it as a
left-click event. It can be disabled setting the new
hw.usb.wsp.enable_single_tap_clicks sysctl to 0.
Submitted by: K Staring <qdk@quickdekay.net>
Pull Request: https://github.com/freebsd/freebsd/pull/97
ngie [Wed, 1 Mar 2017 04:24:56 +0000 (04:24 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:24:24 +0000 (04:24 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:23:53 +0000 (04:23 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:22:23 +0000 (04:22 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
The SRCTOP conversion simplifies pathing in make/displayed output.
Also, while here, change a hardcoded path to ${RPCDIR}/ypxfrd.x in
the make targets with ${.ALLSRC} .
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:19:04 +0000 (04:19 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:18:28 +0000 (04:18 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:17:59 +0000 (04:17 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:17:18 +0000 (04:17 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:16:40 +0000 (04:16 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
The SRCTOP conversion simplifies pathing in make/displayed output.
Also, while here, change a hardcoded path to ${RPCDIR}/ypupdate_prot.x in
the make targets with ${.ALLSRC} .
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:14:41 +0000 (04:14 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This simplifies pathing in make/displayed output.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:13:31 +0000 (04:13 +0000)]
Use .ALLSRC instead of RPCSRC
This is a trivial simplification in the Makefile, meant to serve as
a good example for what to do with rules like this.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:12:24 +0000 (04:12 +0000)]
Use .ALLSRC instead of RPCSRC
This is a trivial simplification in the Makefile, meant to serve as
a good example for what to do with rules like this.
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:02:36 +0000 (04:02 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 04:00:17 +0000 (04:00 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 03:59:18 +0000 (03:59 +0000)]
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
The SRCTOP conversion simplifies pathing in make/displayed output.
Also, while here, change a hardcoded path to ar5523.bin.uu in the make target
with ${.ALLSRC} .
MFC after: 1 week
Sponsored by: Dell EMC Isilon
ngie [Wed, 1 Mar 2017 03:31:12 +0000 (03:31 +0000)]
Add additional __FreeBSD_version guards around the hsearch_r testcases
The reasoning for this is the same as r276046: to ease MFCing the tests
to ^/stable/10 .
This was accidentally missed in r313439
MFC after: 1 week
X-MFC with: r313439
Sponsored by: Dell EMC Isilon
imp [Wed, 1 Mar 2017 02:10:40 +0000 (02:10 +0000)]
Revert prior commit to restore the files mangled by my "fixing" merge
conflicts for a git rebase I tried to do.
imp [Wed, 1 Mar 2017 02:07:51 +0000 (02:07 +0000)]
strstr.c was inadvertently blasted with a copy of isa_nmi.c. Revert
and remove clause 3 while I'm here.
avos [Wed, 1 Mar 2017 00:42:38 +0000 (00:42 +0000)]
iwn: fix data rate parsing for Rx radiotap header.
Tested with Intel 6205, MONITOR mode + RTL8188EU, STA mode.
asomers [Wed, 1 Mar 2017 00:28:04 +0000 (00:28 +0000)]
Add an ATF test for IPv6 SLAAC with multiple fibs
Tests that an interface can get a SLAAC address and that it inserts its
routes into the correct fib. Does not test anything to do with NDP.
PR: 196361
Reviewed by: Erick Turnquist <jhujhiti@adjectivism.org>
MFC after: 3 weeks
Sponsored by: Spectra Logic Corp
Differential Revision: https://reviews.freebsd.org/D9776
gavin [Tue, 28 Feb 2017 23:55:03 +0000 (23:55 +0000)]
Fix spelling mistake in comment, firmwrae -> firmware
imp [Tue, 28 Feb 2017 23:42:47 +0000 (23:42 +0000)]
Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.
Submitted by: Jan Schaumann <jschauma@stevens.edu>
Pull Request: https://github.com/freebsd/freebsd/pull/96
cognet [Tue, 28 Feb 2017 23:30:14 +0000 (23:30 +0000)]
Merge CK as of commit
24d26965d1a28039062ba3bcf9433b623f3d2c5e, to get
a fix in ck_epoch.
ae [Tue, 28 Feb 2017 22:58:19 +0000 (22:58 +0000)]
When IPv6 fragments reassembly is complete, update mbuf's csum_data
and csum_flags using information from all fragments. This fixes
dropping of reassembled packets due to wrong checksum when the IPv6
checksum offloading is enabled on a network card.
Obtained from: Yandex LLC
MFC after: 1 week
Sponsored by: Yandex LLC
kib [Tue, 28 Feb 2017 22:54:52 +0000 (22:54 +0000)]
Initialize pcb_save for thread0.
Otherwise kernel traps on NULL dereference if fpu_kern(9) is used from the
thread0 context.
Reported by: cem
Reviewed by: cem, jhb
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
imp [Tue, 28 Feb 2017 22:49:45 +0000 (22:49 +0000)]
Add Ubiquiti Rocket M support
Updated to use geom_uzip
Submitted by: Michael Vale <m.vale@live.com.au>
Pull Request: https://github.com/freebsd/freebsd/pull/16
imp [Tue, 28 Feb 2017 22:22:53 +0000 (22:22 +0000)]
This should have been K3771_INIT.
Pointy Hat to: imp@