summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* MFC r309232-309234:delphij2016-12-122-14/+2
| | | | | | | | r309232: Fix an obvious typo. r309233: Eliminate variables that are computed, assigned but never used. r309234: pages and psize are always assigned, so there is no need to initialize them as zero.
* MFC r309722:dim2016-12-111-0/+19
| | | | | | | | | | | | | | | | | | | | | | Pull in r281586 from upstream llvm trunk (by Wei Mi): Add some shortcuts in LazyValueInfo to reduce compile time of Correlated Value Propagation. The patch is to partially fix PR10584. Correlated Value Propagation queries LVI to check non-null for pointer params of each callsite. If we know the def of param is an alloca instruction, we know it is non-null and can return early from LVI. Similarly, CVP queries LVI to check whether pointer for each mem access is constant. If the def of the pointer is an alloca instruction, we know it is not a constant pointer. These shortcuts can reduce the cost of CVP significantly. Differential Revision: https://reviews.llvm.org/D18066 This significantly reduces memory usage and compilation time when compiling a particular C++ source file of the graphics/colmap port. PR: 215136
* MFC r308420: MFV r308392: file 5.29.delphij2016-12-1151-885/+1380
|
* MFC r309491: Build smbios.ko as a module for amd64 and i386rpokala2016-12-112-1/+6
| | | | | | | | | | | For whatever reason, smapi, smbios, vpd are all under the "bios" directory. smapi is only for i386, so the entire "bios" directory is only built for i386. Break smapi out, and make only it i386-specific. Then, build the "bios" directory for both amd64 and i386. Because 'sys/modules/Makefile' was refactored after stable/10 was branched, the diff for that file is different from that of the original commit. They are functionally equivalent.
* MFH (r308297): use what(1) instead of strings(1).des2016-12-101-2/+2
| | | | | PR: 213665 Submitted by: Pawel Worach <pawel.worach@gmail.com>
* MFH (r296659): the IPv6 address of the L root changed earlier this yeardes2016-12-101-1/+1
|
* MFC r309544:bapt2016-12-1011-91/+170
| | | | Import tzdata 2016j
* MFC r309184:delphij2016-12-101-22/+21
| | | | style(9) indent changes, no actual code change.
* MFC r309298: libm: remove duplicate version script entriesemaste2016-12-091-5/+0
| | | | | | | These symbols already appear in the common lib/msun/Symbol.map. Duplicate entries produce an error with LLVM's LLD linker. Sponsored by: The FreeBSD Foundation
* MFC 309613: cxgbe(4): Update firmwares from version 1.16.12.0 to 1.16.22.0.jhb2016-12-0915-29155/+29304
| | | | Sponsored by: Chelsio Communications
* Partial MFC r309300:mm2016-12-082-94/+192
| | | | | | | | Apply fix for libarchive issue #821: "tar -P" cannot extract hardlinks through symlinks PR: 213255 Reported by: Tijl Coosemans <tilj@FreeBSD.org>
* Merge rr309688: address regressions in SA-16:37.libc.glebius2016-12-071-6/+5
| | | | | PR: 215105 Submitted by: <jtd2004a sbcglobal.net>
* Document EN-16:19, EN-16:20, EN-16:21, SA-16:36, SA-16:37, SA-16:38.gjb2016-12-072-0/+39
| | | | Sponsored by: The FreeBSD Foundation
* MFstable/11 r309661:ngie2016-12-071-0/+18
| | | | | | | | MFC r306962: r306962 (by br): Ensure data in pipe is available to read. Useful for latest (5th, direct mode) test only.
* Merge r309640 from head:glebius2016-12-061-3/+8
| | | | | | | | | Fix possible integer overflow in guest memory bounds checking, which could lead to access from the virtual machine to the heap of the bhyve(8) process. Submitted by: Felix Wilhelm <fwilhelm ernw.de> Patch by: grehan Security: FreeBSD-SA-16:38.bhyve
* Merge r309639 from head:glebius2016-12-061-17/+34
| | | | | | | | | | | Fix possible buffer overflow(s) in link_ntoa(3). A specially crafted sockaddr_dl argument can trigger a static buffer overflow in the libc library, with possibility to rewrite with arbitrary data following static buffers that belong to other library functions. Reviewed by: kib Security: FreeBSD-SA-16:37.libc
* Merge r309638 from head:glebius2016-12-061-3/+4
| | | | | | | | | | | | When telnetd(8) composes argument list for login(1), an unexpected sequence of memory allocation failures combined with insufficient error checking could result in the construction and execution of an argument sequence that was not intended. Fix that treating malloc(3) failures as fatal condition. Submitted by: brooks Security: FreeBSD-SA-16:36.telnetd
* MFC r309282: Explicitly initialize cdai.flags.mav2016-12-062-0/+2
| | | | In SES driver uninitialized value caused unreliable physpath reporting.
* MFC r309332:dim2016-12-061-0/+10
| | | | | | | | | | | Cleanup old debug dirs in delete-old-dirs target Any .debug or .symbols files under /usr/lib/debug which correspond to OLD_FILES entries in ObsoleteFiles.inc are also automatically cleaned up by the delete-old target. Make this also apply to any OLD_DIRS entries. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D8683
* MFstable/11 r309600:ngie2016-12-061-2/+2
| | | | | | | MFC r307220: r307220 (by br): Fix typos: use correct string format and value to compare.
* MFC 308066: cxgbe(4): Accurate statistics for all chip settings.jhb2016-12-051-8/+14
| | | | | | | There are 4 independent knobs in T5+ chips to include or exclude PAUSE frames from the "total frames" and "multicast frames" counters in either direction. This change lets the driver deal with any combination of these settings.
* MFC 307876:jhb2016-12-051-25/+8
| | | | | | | | | cxgbe(4): Fix bug in the calculation of the number of physically contiguous regions in an mbuf chain. If the payload of an mbuf ends at a page boundary count_mbuf_nsegs would incorrectly consider the next mbuf's payload physically contiguous based solely on a KVA comparison.
* MFC 307759: cxgbe(4): Dump any mailbox command that times out.jhb2016-12-051-0/+15
|
* MFC 307233:jhb2016-12-051-1/+1
| | | | | cxgbe(4): Allow the interface MTU to be set as high as the actual hardware limit.
* MFC 306821,306823: Permit updating firmware config file in flash.jhb2016-12-054-0/+98
| | | | | | | | | 306821: cxgbe(4): Add an ioctl to copy a firmware config file to the card's flash. 306823: cxgbetool: Add a loadcfg subcommand to allow a user to upload a firmware configuration file to the card.
* MFC 306277:jhb2016-12-051-7/+39
| | | | | cxgbe(4): Make the location/length of all descriptor rings available in the sysctl MIB.
* MFC 305695,305696,305699,305702,305703,305713,305715,305827,305852,305906,jhb2016-12-0532-20289/+32217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 305908,306062,306063,306137,306138,306206,306216,306273,306295,306301, 306465,309302: Add support for adapters using the Terminator T6 ASIC. 305695: cxgbe(4): Set up fl_starve_threshold2 accurately for T6. 305696: cxgbe(4): Use correct macro for header length with T6 ASICs. This affects the transmit of the VF driver only. 305699: cxgbe(4): Update the pad_boundary calculation for T6, which has a different range of boundaries. 305702: cxgbe(4): Use smaller min/max bursts for fl descriptors with a T6. 305703: cxgbe(4): Deal with the slightly different SGE_STAT_CFG in T6. 305713: cxgbe(4): Add support for additional port types and link speeds. 305715: cxgbe(4): Catch up with the rename of tlscaps -> cryptocaps. TLS is one of the capabilities of the crypto engine in T6. 305827: cxgbe(4): Use the interface's viid to calculate the PF/VF/VFValid fields to use in tx work requests. 305852: cxgbe(4): Attach to cards with the Terminator 6 ASIC. T6 cards will come up as 't6nex' nexus devices with 'cc' ports hanging off them. The T6 firmware and configuration files will be added as soon as they are released. For now the driver will try to work with whatever firmware and configuration is on the card's flash. 305906: cxgbe/t4_tom: The SMAC entry for a VI is at a different location in the T6. 305908: cxgbe/t4_tom: Update the active/passive open code to support T6. Data path works as-is. 306062: cxgbe(4): Show wcwr_stats for T6 cards. 306063: cxgbe(4): Setup congestion response for T6 rx queues. 306137: cxgbetool: Add T6 support to the SGE context decoder. 306138: Fix typo. 306206: cxgbe(4): Catch up with the different layout of WHOAMI in T6. Note that the code moved below t4_prep_adapter() as part of this change because now it needs a working chip_id(). 306216: cxgbe(4): Fix the output of the "tids" sysctl on T6. 306273: cxgbe(4): Fix netmap with T6, which doesn't encapsulate SGE_EGR_UPDATE message inside a FW_MSG. The base NIC already deals with updates in either form. 306295: cxgbe(4): Support SIOGIFXMEDIA so that ifconfig displays correct media for 25Gbps and 100Gbps ports. This should have been part of r305713, which is when the driver first started reporting extended media types. 306301: cxgbe(4): Use the port's top speed to figure out whether it is "high speed" or not (for the purpose of calculating the number of queues etc.) This does the right thing for 25Gbps and 100Gbps ports. 306465: cxgbe(4): Claim the T6 -DBG card. 309302: cxgbe(4): Include firmware for T6 cards in the driver. Update all firmwares to 1.16.12.0. Sponsored by: Chelsio Communications
* MFC 305667:jhb2016-12-051-0/+2
| | | | | cxgbe(4): Avoid a NULL dereference in the clearstats ioctl handler. Port softc's are not initialized when the adapter is in recovery mode.
* MFC 305652: cxgbe(4): Do not prescreen frames before attempting LRO.jhb2016-12-051-2/+1
|
* MFC 305433:jhb2016-12-051-1/+1
| | | | | | cxgbe/t4_tom: toepcb should be all-zero on allocation because the code that cleans up on failure assumes that non-NULL values indicate initialized items.
* MFC 303688,303750,305166,305167: Centralize and rework page pod handling.jhb2016-12-053-110/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | Note that the TOE DDP code in 10 is different from 11 and later and had to be updated directly. 303688: cxgbe/t4_tom: Read the chip's DDP page sizes and save them in a per-adapter data structure. This replaces a global array with hardcoded page sizes. 303750: cxgbe/t4_tom: The page pod arena allocates from pod address space and not index space. The minimum valid allocation out of this arena is the size of a single page pod. 305166: cxgbe/t4_tom: Add general purpose routines to deal with page pod regions and allocations within them. Switch to these routines to manage the TOE DDP region. 305167: cxgbe/t4_tom: Two new routines to allocate and write page pods for a buffer in the kernel's address space. Sponsored by: Chelsio Communications
* MFC r309026: open(2): Clarify non-POSIX error when opening a symlink withjilles2016-12-041-1/+17
| | | | | | | | | | O_NOFOLLOW. We return [EMLINK] instead of [ELOOP] when trying to open a symlink with O_NOFOLLOW, so that the original case of [ELOOP] can be distinguished. Code like cmp -h and xz takes advantage of this. PR: 214633
* MFC r309209:kib2016-12-043-2/+6
| | | | Do not enable nullfs vnode caching over nfs v4 mounts.
* Add sys/systm.h to have critical_enter() defined, required bykib2016-12-041-0/+1
| | | | | | | | machine/counter.h on i386. This is a direct commit to stable/10. Sponsored by: The FreeBSD Foundation
* MFC: r308871rmacklem2016-12-031-2/+22
| | | | | | Modify umount so that it does not do an Unmount RPC for NFSv4 mounts and uses TCP for the Unmount RPC if the mount is over TCP. Without this patch, umount does an Unmount RPC over UDP for all NFS mounts.
* MFC r309356: svn 1.9.4 -> 1.9.5peter2016-12-0341-309/+766
|
* MFC r301761:trasz2016-12-031-1/+1
| | | | Fix frexpl() declaration to not include the field name.
* MFC r308206:trasz2016-12-031-1/+4
| | | | Make autounmountd(8) not die when traced with "truss -p".
* MFC r264196:ngie2016-12-032-2/+5
| | | | | | | r264196 (by theraven): Move definitions out of rpc_com so that the linker doesn't complain about multiple definitions.
* MFC r301770:ngie2016-12-031-3/+3
| | | | | | | | | | r301770 (by pfg): rpcbind(8): Make use of some xdr_* macros. xdr_rpcproc, xdr_rpcprog and xdr_rpcvers were broken in older versions of FreeBSD but fixed in r296394. Give them some use hoping they help make the code somewhat more readable.
* MFC r298183,r304226:ngie2016-12-031-3/+3
| | | | | | | | | | | | | r298183 (by araujo): Use NULL for pointers. strrchr(3) will return NULL if the character does not appears in the string. r304226 (by araujo): Use nitems() from sys/param.h.
* MFC r297975:ngie2016-12-032-2/+2
| | | | | | | | | | r297975 (by pfg): RPC: for pointers replace 0 with NULL. These are mostly cosmetical, no functional change. Found with devel/coccinelle.
* MFC r296133:ngie2016-12-033-4/+4
| | | | | | | | | | | r296133 (by pfg): RPC: update the getrpcbyname() definition to include a const qualifier. Add const qualifier making getrpcbyname() and getrpcbyname_r() prototypes match those used in latest Sun RPC code (TI-RPC 2.3). Obtained from: NetBSD
* MFC r301734:ngie2016-12-032-2/+2
| | | | | | r301734 (by kevlo): Fix the rpcb_getaddr() definition to match its declaration.
* MFC r296404:ngie2016-12-031-8/+8
| | | | | | | | r296404 (by pfg): Stray tabs and spaces. No functional change.
* MFC r287353:ngie2016-12-031-1/+1
| | | | | | | | r287353 (by rodrigc): Use unsigned variable. Eliminates gcc 4.9 compiler warning.
* MFC r296386:ngie2016-12-031-16/+20
| | | | | | | | | | | r296386 (by pfg): Work around aliasing issues detected in modern GCC. Avoid casting gymnastics that lead to pointer aliasing by introducing an inline function as done in NetBSD (but without #if0'd WIP code). Obtained from: NetBSD (CVS Rev. 1.24, 1.25)
* MFC r278039:ngie2016-12-031-0/+1
| | | | | | | | r278039 (by pfg): Resource leak CID: 1016703
* MFC r288017:ngie2016-12-031-69/+31
| | | | | | | | r288017 (by rodrigc): Use ANSI C prototypes. Eliminates gcc 4.9 warnings.
* MFC r288995:ngie2016-12-032-4/+4
| | | | | | | r288995 (by rodrigc): Use proper function prototypes. Eliminates -Wstrict-prototypes warning
OpenPOWER on IntegriCloud