gjb [Sat, 27 Jun 2015 22:59:29 +0000 (22:59 +0000)]
Remove _ACCOUNT and add _USERNAME, _NAME, _VERSION for the
VAGRANT_${VAR} variables extracted from VAGRANT_UPLOAD_CONF.
Set ATLAS_${VAR} to VAGRANT_${VAR} if VAGRANT_UPLOAD_CONF
is set. There is intent to intentionally have separate
variants of configuration entries, but the defaults do not
yet have any reason to be different.
Sponsored by: The FreeBSD Foundation
gjb [Sat, 27 Jun 2015 22:54:16 +0000 (22:54 +0000)]
Add default VAGRANT_IMG variable.
Sponsored by: The FreeBSD Foundation
brd [Sat, 27 Jun 2015 20:39:13 +0000 (20:39 +0000)]
Add initial support for building Vagrant images for VMWare. Next steps will be adding Virtualbox support and uploading to Hashicorp Atlas for others to consume.
Approved by: re (gjb)
neel [Sat, 27 Jun 2015 18:24:23 +0000 (18:24 +0000)]
Fix issues detected by 'mandoc -Tlint bhyveload.8'
Pointed out by: wblock
Differential Revision: https://reviews.freebsd.org/D2762
pkelsey [Sat, 27 Jun 2015 18:01:50 +0000 (18:01 +0000)]
Use correct flag in iovctl_start().
Differential Revision: https://reviews.freebsd.org/D2921
Reviewed by: rstone
Approved by: jmallett (mentor)
Sponsored by: Norse Corp, Inc.
pfg [Sat, 27 Jun 2015 15:13:14 +0000 (15:13 +0000)]
Change detection for the gnu_inline attribute.
According to the GCC documentation:
"This attribute is available in GCC 4.1.3 and later. It is available
if either of the preprocessor macros __GNUC_GNU_INLINE__ or
__GNUC_STDC_INLINE__ are defined."
We don't keep the gcc granularity up to the minor number so it's
better to use the documented way. Current clang defines both
macros.
Reference:
https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes
bz [Sat, 27 Jun 2015 12:37:09 +0000 (12:37 +0000)]
Fix compilation without INET6 and without INET and INET6 after
offload support was introduced in r284746.
While here also fix the ioctl() handler for IPv4 added in r279819,
which was never compiled in given opt_inet.h was not included.
kib [Sat, 27 Jun 2015 09:44:14 +0000 (09:44 +0000)]
Handle errors from background write of the cylinder group blocks.
First, on the write error, bufdone() call from ffs_backgroundwrite()
panics because pbrelvp() cleared bp->b_bufobj, while brelse() would
try to re-dirty the copy of the cg buffer. Handle this by setting
B_INVAL for the case of BIO_ERROR.
Second, we must re-dirty the real buffer containing the cylinder group
block data when background write failed. Real cg buffer was already
marked clean in ffs_bufwrite(). After the BV_BKGRDINPROG flag is
cleared on the real cg buffer in ffs_backgroundwrite(), buffer scan
may reuse the buffer at any moment. The result is lost write, and if
the write error was only transient, we get corrupted bitmaps.
We cannot re-dirty the original cg buffer in the
ffs_backgroundwritedone(), since the context is not sleepable,
preventing us from sleeping for origbp' lock. Add BV_BKGDERR flag
(protected by the buffer object lock), which is converted into delayed
write by brelse(), bqrelse() and buffer scan.
In collaboration with: Conrad Meyer <cse.cem@gmail.com>
Reviewed by: mckusick
Sponsored by: The FreeBSD Foundation (kib),
EMC/Isilon storage division (Conrad)
MFC after: 2 weeks
nyan [Sat, 27 Jun 2015 09:01:49 +0000 (09:01 +0000)]
MFi386: r278165
Silence a coverity warning about ignoring a return value.
nyan [Sat, 27 Jun 2015 08:49:41 +0000 (08:49 +0000)]
MFi386: r284878
Reduce warnings:
- Add prototype for boot2 main()
- Don't make assignment within if statement, split it into two.
gjb [Sat, 27 Jun 2015 05:18:08 +0000 (05:18 +0000)]
Fix a vi-invoked typo.
Submitted by: jkim (privately)
Sponsored by: The FreeBSD Foundation
marcel [Sat, 27 Jun 2015 03:28:04 +0000 (03:28 +0000)]
Add the ntfs alias and support it with the MBR and GPT schemes
as DOSPTYP_NTFS and GPT_ENT_TYPE_MS_BASIC_DATA (resp).
gjb [Sat, 27 Jun 2015 01:29:59 +0000 (01:29 +0000)]
Add initial support for automatically uploading GCE virtual
machine images to the Google Compute Engine platform.
By default, gcutil/gsutil requires an Oauth2 login generated
from a URL that must be opened in a browser, a verification
code copied back to the terminal from which it was invoked,
etc., etc., making it near impossible for automation.
I've hacked together an evil solution to work around this,
so unless GCE_LOGIN_SKIP is set to a non-empty value, this
Makefile will not do anything useful.
As a result of this commit, remove the gce-package.sh script
that was never, nor will ever be, used.
MFC after: 3 days
X-MFC-Note: (hopefully)
Sponsored by: The FreeBSD Foundation
bapt [Fri, 26 Jun 2015 23:55:02 +0000 (23:55 +0000)]
short circuit install -l rs
When requesting install(1) to only make relative symlinks, by pass all the
done to actually compute the relative symlink if the path given in argument is
already a relative path
delphij [Fri, 26 Jun 2015 18:03:19 +0000 (18:03 +0000)]
Reduce warnings:
- Add prototype for boot2 main()
- Don't make assignment within if statement, split it into two.
No functional or binary change -- verified with sha256(1).
MFC after: 2 weeks
tychon [Fri, 26 Jun 2015 18:00:29 +0000 (18:00 +0000)]
verify_gla() needs to account for non-zero segment base addresses.
Reviewed by: neel
mav [Fri, 26 Jun 2015 16:14:00 +0000 (16:14 +0000)]
Plug minor memory leak at r284765.
Reported by: Coverity
CID: 1308401
MFC after: 3 days
gjb [Fri, 26 Jun 2015 13:33:46 +0000 (13:33 +0000)]
Clarify the note about Thumb-2 kernel support.
Submitted by: andrew
Sponsored by: The FreeBSD Foundation
kadesai [Fri, 26 Jun 2015 12:00:51 +0000 (12:00 +0000)]
Counter part of mfi driver commit in mrsas
Switch from make_dev_alias to make_dev_alias_p since make_dev_alias_p can
gracefully fail if the /dev/megaraid_sas_ioctl_node symlink already exists.
This can happen if mfi(4) and mrsas(4) are both attached to cards and
providing Linux emulation support. Let the first one win. An equivalent
change has been done in mfi(4). Extra credit would be to pass the
Linux emulation call to the other driver when appropriate. This will
probably be a rare case and the user can manually change where the symlink
points to.
MFC after: 3 days
kadesai [Fri, 26 Jun 2015 11:58:42 +0000 (11:58 +0000)]
Kernel panic may be observed by user, if MR controller is under Chip reset (OCR)
and there are some pending IOs at the time of OCR. This is mainly because of
recursive mutext in OCR and IO completion function call. Generic IO completion (from ISR) needs
sim_lock to be held before it calls completion to CAM (xpt_done), but in case of OCR path mrsas_ocr thread
itself take sim_lock, so this condition is now handled in this patch.
MFC after: 3 days
andrew [Fri, 26 Jun 2015 09:02:40 +0000 (09:02 +0000)]
pc_curpmap is only in the armv6 pcpu data.
royger [Fri, 26 Jun 2015 07:12:17 +0000 (07:12 +0000)]
amd64: set the correct LMA values
The current linker script generates program headers with VMA == LMA:
Entry point 0xffffffff802e7000
There are 6 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0xffffffff80200040 0xffffffff80200040
0x0000000000000150 0x0000000000000150 R E 8
INTERP 0x0000000000000190 0xffffffff80200190 0xffffffff80200190
0x000000000000000d 0x000000000000000d R 1
[Requesting program interpreter: /red/herring]
LOAD 0x0000000000000000 0xffffffff80200000 0xffffffff80200000
0x00000000010559b0 0x00000000010559b0 R E 200000
LOAD 0x0000000001056000 0xffffffff81456000 0xffffffff81456000
0x0000000000132638 0x000000000052ecf8 RW 200000
DYNAMIC 0x0000000001056000 0xffffffff81456000 0xffffffff81456000
0x00000000000000d0 0x00000000000000d0 RW 8
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RWE 8
This is fine for the FreeBSD loader, because it completely ignores p_paddr
and instead uses p_vaddr with a hardcoded offset. Other loaders however
acknowledge p_paddr (like the Xen ELF loader), in which case they will try
to load the kernel at the wrong place. Fix this by adding an AT keyword to
the first section specifying the physical address, other sections will
follow suit, so it ends up looking like:
Entry point 0xffffffff802e7000
There are 6 program headers, starting at offset 64
Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0xffffffff80200040 0x0000000000200040
0x0000000000000150 0x0000000000000150 R E 8
INTERP 0x0000000000000190 0xffffffff80200190 0x0000000000200190
0x000000000000000d 0x000000000000000d R 1
[Requesting program interpreter: /red/herring]
LOAD 0x0000000000000000 0xffffffff80200000 0x0000000000200000
0x00000000010559b0 0x00000000010559b0 R E 200000
LOAD 0x0000000001056000 0xffffffff81456000 0x0000000001456000
0x0000000000132638 0x000000000052ecf8 RW 200000
DYNAMIC 0x0000000001056000 0xffffffff81456000 0x0000000001456000
0x00000000000000d0 0x00000000000000d0 RW 8
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RWE 8
Tested on bare metal using the native FreeBSD loader and grub2 from TRUEOS.
Sponsored by: Citrix Systems R&D
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D2783
kib [Fri, 26 Jun 2015 07:01:29 +0000 (07:01 +0000)]
Split the DMAR unit domains and contexts. Domains carry address space
and related data structures. Contexts attach requests initiators to
domains. There is still 1:1 correspondence between contexts and
domains on the running system, since only busdma currently allocates
them, using dmar_get_ctx_for_dev().
Large part of the change is formal rename of the ctx to domain, but
patch also reworks the context allocation and free to allow for
independent domain creation.
The helper dmar_move_ctx_to_domain() is introduced for future use, to
reassign request initiator from one domain to another. The hard issue
which is not yet resolved with the context move is proper handling (or
reserving) RMRR entries in the destination domain as required by ACPI
DMAR table for moved context.
Tested by: pho
Sponsored by: The FreeBSD Foundation
adrian [Fri, 26 Jun 2015 04:14:05 +0000 (04:14 +0000)]
Un-static cpuset_which() - it's useful in other contexts, such as some
CPU set operations in my upcoming NUMA work.
Tested/compiled:
* i386 (run)
* amd64 (run)
* mips (run)
* mips64 (run)
* armv6 (built)
Sponsored by: Norse Corp, Inc.
adrian [Fri, 26 Jun 2015 04:12:06 +0000 (04:12 +0000)]
Rename seq_* to mseq_*, to avoid clashes with seq.h (namely, seq_read.)
cy [Fri, 26 Jun 2015 03:29:23 +0000 (03:29 +0000)]
Add support for additional architectures in ntp.
Differential Revision: D2720
Reviewed by: jmg, reoberto, andrew, ian, imp
bz [Thu, 25 Jun 2015 23:16:01 +0000 (23:16 +0000)]
Another attempt to make this compile on more architectures after r284777.
gjb [Thu, 25 Jun 2015 20:46:11 +0000 (20:46 +0000)]
Revert r284860. I was looking at the wrong files.
Sigh.
Sponsored by: The FreeBSD Foundation
jmg [Thu, 25 Jun 2015 20:44:46 +0000 (20:44 +0000)]
If INVARIANTS is specified, add ctor/dtor to junk memory if they are
unspecified...
Submitted by: Suresh Gumpula at Netapp
Differential Revision: https://reviews.freebsd.org/D2725
gjb [Thu, 25 Jun 2015 20:40:51 +0000 (20:40 +0000)]
Fix an incorrect revision number.
Sponsored by: The FreeBSD Foundation
tijl [Thu, 25 Jun 2015 19:39:07 +0000 (19:39 +0000)]
Enable the use of __builtin_va_* for ICC.
PR: 198822
Submitted by: Sergey Melnikov <sergey.melnikov@intel.com>
MFC after: 5 days
gjb [Thu, 25 Jun 2015 18:44:59 +0000 (18:44 +0000)]
Document r284237, file(1) updated to 5.23.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:57 +0000 (18:44 +0000)]
Document r283092, ACPICA updated to
20150515.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:55 +0000 (18:44 +0000)]
Document r284329, OpenSSL update to 1.0.1o.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:53 +0000 (18:44 +0000)]
Document r258431, boot-time memory test on amd64 platforms is now
disabled by default.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:50 +0000 (18:44 +0000)]
Document r279955, autofs(5) '-noauto' map addition.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:48 +0000 (18:44 +0000)]
Document r275681, autofs(5) '-media' map addition.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:46 +0000 (18:44 +0000)]
Update the svn revision marker.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:44 +0000 (18:44 +0000)]
Document r284746, TSO and checksum offloading support in hv_netvsc(4).
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:42 +0000 (18:44 +0000)]
Add missing '-' in Hyper-V.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:40 +0000 (18:44 +0000)]
Document r284702, uart(4) update to support AMT on newer systems.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:38 +0000 (18:44 +0000)]
Document r284589, fstyp(8) now recognizes ZFS and GELI filesystems.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:36 +0000 (18:44 +0000)]
Move the crypt(3) entries from userland-programs to
userland-libraries.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:34 +0000 (18:44 +0000)]
Document r284483, Blowfish crypt(3) now supports $2y$ format.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:31 +0000 (18:44 +0000)]
Document r284297, lockstat(1) improvements.
Add ClusterHQ to sponsors.ent.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:29 +0000 (18:44 +0000)]
Document r284273, initial ACPI support for aarch64.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:27 +0000 (18:44 +0000)]
Document r284254, bmake updated to
20150606.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:25 +0000 (18:44 +0000)]
Document r283959, EM_MULTIQUEUE kernel configuration option.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:22 +0000 (18:44 +0000)]
Document r283766, improved hang detection in em(4).
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:20 +0000 (18:44 +0000)]
Document r283766, ig4(4) addition.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:18 +0000 (18:44 +0000)]
Document r283136, net.inet.tcp.hostcache.purgenow addition.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:16 +0000 (18:44 +0000)]
Document r282988, alloc_align() added to malloc.h and stdlib.h.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:14 +0000 (18:44 +0000)]
Document r282973, libgomp no longer built by default, unless building
the base system GCC.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:12 +0000 (18:44 +0000)]
Document r282901, RACCT/RCTL in GENERIC by default.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:10 +0000 (18:44 +0000)]
Document r282827, BeagleBone Black power button support added.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:08 +0000 (18:44 +0000)]
Document r282783, freescale PCI Root Complex support added.
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 18:44:06 +0000 (18:44 +0000)]
Document r282779, Thumb-2 support for ARMv7 added.
Sponsored by: The FreeBSD Foundation
gnn [Thu, 25 Jun 2015 18:38:58 +0000 (18:38 +0000)]
Fix support for the null encryption algorithm which now requires
a key.
Sponsored by: Rubicon Communications (Netgate)
andrew [Thu, 25 Jun 2015 16:47:11 +0000 (16:47 +0000)]
Sort the cpu architectures by name rather than a combination of
alphabetical order and appending new architectures to the end of the list.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
eri [Thu, 25 Jun 2015 15:05:58 +0000 (15:05 +0000)]
Correct r284777 to use proper includes and remove dead code to unbreak kernel builds.
Differential Revision: https://reviews.freebsd.org/D2847
gjb [Thu, 25 Jun 2015 14:24:06 +0000 (14:24 +0000)]
Change the hour:minute delimiter from ':' to '-', since
the former is an invalid character in EC2 images.
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
gjb [Thu, 25 Jun 2015 13:40:00 +0000 (13:40 +0000)]
Consider PRERELEASE builds snapshots, in addition to CURRENT and
STABLE.
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
mav [Thu, 25 Jun 2015 10:03:38 +0000 (10:03 +0000)]
Remove limitations on setting WWNNs starting from 2.
It is odd that driver first tries to generate synthetic WWNN based on
WWPN starting from 2, but then refuses to use it. If we don't trust
generated WWNN, we should probably not generate it. Same time this
limitation prevents potentially valid WWNN setting by user.
andrew [Thu, 25 Jun 2015 08:22:25 +0000 (08:22 +0000)]
Implement fpgetmask, it's needed by Python.
Approved by: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
andrew [Thu, 25 Jun 2015 08:15:47 +0000 (08:15 +0000)]
Export __flt_rounds from the arm64 libc.so
grembo [Thu, 25 Jun 2015 07:52:51 +0000 (07:52 +0000)]
Protect smbus ioctls in ig4 driver using a shared lock.
Document locking semantics.
Differential Revision: https://reviews.freebsd.org/D2744
Reviewed by: jah, kib
Approved by: kib
delphij [Thu, 25 Jun 2015 06:15:08 +0000 (06:15 +0000)]
Merge changes from vendor driver 1.1.4:
v1.1.4 2015-06-09
* Fix a bug that FailLED was not initialized properly.
v1.1.3 2015-05-19
* Support Report Luns command.
v1.1.2 2015-05-05
* Fix a bug that report wrong physical sector size for 512e HDD.
Many thanks to HighPoint for continued support of FreeBSD!
This driver update is intended for 10.2-RELEASE.
Submitted by: Steve Chang
MFC after: 3 days
gshapiro [Thu, 25 Jun 2015 01:42:59 +0000 (01:42 +0000)]
Add a note on the second sendmail fix for WeakDH interoperability.
mjg [Thu, 25 Jun 2015 01:24:36 +0000 (01:24 +0000)]
rlimit: fix a an old name in a comment: uihashtbl_mtx -> uihashtbl_lock
mjg [Thu, 25 Jun 2015 00:15:37 +0000 (00:15 +0000)]
rlimit: deduplicate code in chg* functions
gjb [Wed, 24 Jun 2015 21:30:35 +0000 (21:30 +0000)]
Ensure ASSUME_ALWAYS_YES is set when deleting pkg(8) from the
DESTDIR, otherwise it can get stuck in ttyin.
This means no 10-STABLE EC2 images this week.
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
jilles [Wed, 24 Jun 2015 20:51:48 +0000 (20:51 +0000)]
sh: Fix some arithmetic undefined behaviour.
Fix shifts of possibly negative numbers found with ubsan and avoid signed
integer overflow when hashing an extremely long command name.
MFC after: 1 week
eri [Wed, 24 Jun 2015 19:16:41 +0000 (19:16 +0000)]
ALTQ FAIRQ discipline import from DragonFLY
Differential Revision: https://reviews.freebsd.org/D2847
Reviewed by: glebius, wblock(manpage)
Approved by: gnn(mentor)
Obtained from: pfSense
Sponsored by: Netgate
ian [Wed, 24 Jun 2015 18:29:34 +0000 (18:29 +0000)]
Fix compilation when the armv6 world is being compiled without hw floating
point support. The fenv-vfp.c file overrides -mfloat-abi so it can use
floating point instructions if it detects support at runtime. Make it also
override -mfpu in case the user has set -mfpu=none.
ian [Wed, 24 Jun 2015 18:26:04 +0000 (18:26 +0000)]
Fix a misplaced #endif (maybe a mismerge?). Emitting the symbol for CURPMAP
is not dependent on whether VFP (hardware floating point) is enabled.
andrew [Wed, 24 Jun 2015 16:18:58 +0000 (16:18 +0000)]
Implement fpsetmask. Some third-party software makes use of it, for example
perl.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
andrew [Wed, 24 Jun 2015 16:15:32 +0000 (16:15 +0000)]
Set the alignment of the setjmp magic values correctly. The alignment needs
to be before the lavel, otherwise an extra word may be added between the
label and the data.
Obtained from: ABT Systems Ltd
Sponsored by: The FReeBSD Foundation
erj [Wed, 24 Jun 2015 15:53:52 +0000 (15:53 +0000)]
Several build changes for ix and ixv:
- Allow ix and ixv to be built seperately.
- Re-enable building ix for i386 and amd64 archs
- Fix ixv Makefile.
Approved by: jfv (mentor)
sbruno [Wed, 24 Jun 2015 15:52:26 +0000 (15:52 +0000)]
At the suggestion of jhb, replace atomic_set/clear calls with use of
exclusive locks in the enable/disable interpreter path.
Tested with WITNESS/INVARIANTS on and off.
Reviewed by: sson davide
mav [Wed, 24 Jun 2015 15:13:27 +0000 (15:13 +0000)]
Teach ctld about CTL's physical_port and virtual_port fields.
This allows ctld to work with isp(4) virtual ports, specifying them as
isp0/1, isp0/2, etc. There are still problems on isp(4) layer with
disabling those ports after enabling, but hopefully they can be fixed.
MFC after: 3 days
Sponsored by: iXsystems, Inc.
emaste [Wed, 24 Jun 2015 14:51:53 +0000 (14:51 +0000)]
add floatingpoint.h for arm64
On other architectures floatingpoint.h is a symlink to
machine/floatingpoint.h which in turn includes machine/ieeefp.h.
Do this on arm64 as well for now.
Sponsored by: The FreeBSD Foundation
andrew [Wed, 24 Jun 2015 12:19:49 +0000 (12:19 +0000)]
Fix the floating-point exception values to line up with the hardware
register bits. Nothing in base uses these as they are deprecated, however
third-party applications, such as perl, expect some of these functions to
exist.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
kevlo [Wed, 24 Jun 2015 09:28:43 +0000 (09:28 +0000)]
Mention that using ports/net/malo-firmware-kmod to install the firmware.
mav [Wed, 24 Jun 2015 09:06:12 +0000 (09:06 +0000)]
Fix reported_gone setting, missed in some cases.
This makes driver better track reported CAM_SEL_TIMEOUTs to properly
report device reappearance later. This fixes target 0 not reappearing
after initiator mode disabled and then reenabled.
MFC after: 3 days
arybchik [Wed, 24 Jun 2015 06:25:20 +0000 (06:25 +0000)]
sfxge: skip VPD info population if access is denied
The patch allows to run on unprivileged PF (PFIOV) passed to
a virtual machine.
Reviewed by: gnn
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
Differential Revision: https://reviews.freebsd.org/D2891
whu [Wed, 24 Jun 2015 06:01:29 +0000 (06:01 +0000)]
TSO and checksum offloading support for Netvsc driver on Hyper-V.
Submitted by: whu
Reviewed by: royger
Approved by: royger
MFC after: 1 week
Relnotes: yes
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D2517
araujo [Wed, 24 Jun 2015 01:48:44 +0000 (01:48 +0000)]
Set some internal helpers as static and initialize few variables to silence
CLANG WARNINGS.
BUMP SHLIB_MAJOR version as the ABI potentially changed.
Also run an 'exp run' to double check if any external project are using
those functions. Thanks antoine@.
PR: 200807
Differential Revision: D2775
Reviewed by: kib, ngie
araujo [Wed, 24 Jun 2015 01:34:35 +0000 (01:34 +0000)]
Remove unused variables to silence CLANG warnings.
Remove some BLANK lines and unnecessary TABS.
Differential Revision: D2687
Reviewed by: rodrigc, hselasky
hselasky [Tue, 23 Jun 2015 22:40:22 +0000 (22:40 +0000)]
Rename __weak to __weak_symbol to avoid language conflict with objective-C.
PR: 200972 (exp-run)
Suggested by: theraven@
MFC after: 3 days
davidcs [Tue, 23 Jun 2015 22:22:36 +0000 (22:22 +0000)]
Updated Copyright information
Added support for the following:
- iSCSI TLV (requires 64 Tx and 32 Rx rings
- 9K receive buffers for jumbo frames (feature may be enabled/disabled)
- builtin firmware, bootloader and minidump template
- quick stats
- async event handling for SFP insertion/removal and DCBX changes
- Configuring DCBX and interrupt coalescing parameters
davidcs [Tue, 23 Jun 2015 20:09:52 +0000 (20:09 +0000)]
tx_mtx should be grabbed before calling buf_ring_dequeue_sc()
Submitted by:Attilio.Rao@isilon.com
MFC after:5 days
sjg [Tue, 23 Jun 2015 20:01:12 +0000 (20:01 +0000)]
Remove entry about make.conf - no longer relevant
dim [Tue, 23 Jun 2015 18:48:41 +0000 (18:48 +0000)]
Fix endless recursion in sys/net/if.c's drbr_inuse_drv(), found by clang
3.7.0.
Reviewed by: marcel
jmg [Tue, 23 Jun 2015 18:40:20 +0000 (18:40 +0000)]
zero this struct as it depends upon it...
Reviewed by: mjg
Differential Revision: https://reviews.freebsd.org/D2890
dim [Tue, 23 Jun 2015 17:54:24 +0000 (17:54 +0000)]
Add __cxa_deleted_virtual to libcxxrt's version map.
This symbol can sometimes be emitted by clang++, and was not yet
exported from libcxxrt. Attempt to be compatible with libsupc++ by
using the same CXXABI_1.3.6 symbol version.
Reported by: yuri@rawbw.com
PR: 200863
Reviewed by: emaste
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D2850
delphij [Tue, 23 Jun 2015 17:26:16 +0000 (17:26 +0000)]
Update vendor driver to 1.2.7. This update improves driver reliability and
adds support of 4Kn drives and report LUNs command.
This driver update is intended for 10.2-RELEASE.
Many thanks to HighPoint for providing this driver update.
Submitted by: Steve Chang
MFC after: 3 days
allanjude [Tue, 23 Jun 2015 16:34:43 +0000 (16:34 +0000)]
Switch fstyp build to toggle ZFS support on WITHOUT_ZFS rather than WITHOUT_CDDL
PR: 200976
Approved by: imp
MFC after: 1 week
Sponsored by: ScaleEngine Inc.
Differential Revision: https://reviews.freebsd.org/D2045
mav [Tue, 23 Jun 2015 16:13:20 +0000 (16:13 +0000)]
Add dev.isp.X.role sysctl in addition to tunable.
It (mostly) allows to enable/disable initiator mode in run time.
Target mode control is blocked here to force coordination with CTL.
While there, add separate tunables/sysctls for virtual channels.
andrew [Tue, 23 Jun 2015 10:32:26 +0000 (10:32 +0000)]
Also save x8. It may be passed into a function as the indirect result
location pointer when the return value doesn't fit in a register, e.g. when
returning a struct.
Obtained from: ABT Systems Ltd
Sponsored by: The FreeBSD Foundation
dim [Tue, 23 Jun 2015 06:59:46 +0000 (06:59 +0000)]
Fix r284722, by making it actually compile.
Pointy hat to: dim