summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r305956: Add manpage for rctl_* system callsbadger2016-09-242-0/+225
| | | | | Approved by: kib (mentor) Sponsored by: Dell Technologies
* MFC r305896:dchagin2016-09-241-0/+9
| | | | | | Implement BLKSSZGET ioctl for the Linuxulator. PR: 212700
* MFC r305877:hselasky2016-09-231-6/+3
| | | | | | | | | | | mlx5en: Fix duplicate mbuf free-by-code. When mlx5e_sq_xmit() returns an error code and the mbuf pointer is set, we should not free the mbuf, because the caller will keep the mbuf in the drbr. Make sure the mbuf pointer is correctly set upon function exit. Sponsored by: Mellanox Technologies
* MFC r305876:hselasky2016-09-232-6/+0
| | | | | | mlx5en: Remove unused pdev pointer. Sponsored by: Mellanox Technologies
* MFC r305875:hselasky2016-09-231-0/+3
| | | | | | | | mlx5en: Verify port type is ethernet before creating network device Else the mlx5en driver might attach to infiniband ports. Sponsored by: Mellanox Technologies
* MFC r305874:hselasky2016-09-231-12/+12
| | | | | | | | | | | mlx5en: Allow setting the software MTU size below 1500 bytes The hardware MTU size can't be set to a value less than 1500 bytes due to side-band management support. Allow setting the software MTU size below 1500 bytes, thus creating a mismatch between hardware and software MTU sizes. Sponsored by: Mellanox Technologies
* MFC r305873:hselasky2016-09-232-10/+23
| | | | | | | | | | mlx5en: Factor out common sendqueue code for use with rate limiting SQs. Try to reuse code to setup sendqueues when possible by making some static functions global. Further split the mlx5e_close_sq_wait() function to separate out reusable parts. Sponsored by: Mellanox Technologies
* MFC r305872:hselasky2016-09-232-1/+4
| | | | | | mlx5en: Properly declare doorbell lock for 32-bit CPUs. Sponsored by: Mellanox Technologies
* MFC r305871:hselasky2016-09-232-7/+3
| | | | | | | | | | mlx5en: Optimise away duplicate UAR pointers. This change also reduces the size of the mlx5e_sq structure so that the last queue_state element will fit into the previous cacheline and then the mlx5e_sq structure becomes one cacheline less for amd64. Sponsored by: Mellanox Technologies
* MFC r305870:hselasky2016-09-232-17/+20
| | | | | | | | | mlx5en: Make the mlx5e_open_cq() and mlx5e_close_cq() functions global. Make some functions and structures global to allow for code reuse when creating rate limiting sendqueues. Sponsored by: Mellanox Technologies
* MFC r305869:hselasky2016-09-231-44/+39
| | | | | | | | | | | | | mlx5en: Minor completion queue control path code refactor. Move setting of CQ moderation mode together with the other CQ moderation parameters. Pass completion event vector as a separate argument to mlx5e_open_cq(), because its value is different for each call. Pass mlx5e_priv pointer instead of mlx5e_channel pointer so that code can be used by rate limiting sendqueues. Sponsored by: Mellanox Technologies
* MFC r305868:hselasky2016-09-234-39/+18
| | | | | | | | | | mlx5en: Separate the sendqueue from using the mlx5e_channel structure. This change allows for reusing the transmit path for so called rate limited senqueues. While at it optimise some pointer lookups in the fast path. Sponsored by: Mellanox Technologies
* MFC r305867:hselasky2016-09-2325-402/+2198
| | | | | | | | | Update the MLX5 core module: - Add new firmware commands and update existing ones. - Add more firmware related structures and update existing ones. - Some minor fixes, like adding missing \n to some prints. Sponsored by: Mellanox Technologies
* MFC 306015sephe2016-09-231-1/+2
| | | | | | | | | | hyperv/storvsc: Fix SRB length setting. This fixes disk discovery issue on WS2008R2 Hyper-V, which plagued us since 10.2-release. Reported by: many Sponsored by: Microsoft
* MFC bspatch Capsicumization and improvementsemaste2016-09-221-75/+153
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r304691: bspatch: apply style(9) Make style changes (and trivial refactoring of open calls) now in order to reduce noise in diffs for future capsicum changes. r304807 (allanjude): Capsicumize bspatch Move all of the fopen() and open() calls to the top of main() Restrict each FD to least privilege (read/seek only, write only, etc) cap_enter(), and make all except the output FD read/seek only. r304821: bspatch: remove output file in the case of error r305486: bspatch: add sanity checks on sizes to avoid integer overflow Note that this introduces an explicit 2GB limit, but this was already implicit in variable and function argument types. This is based on the "non-cryptanalytic attacks against freebsd update components" anonymous gist. Further refinement is planned. r305737: bspatch: remove superfluous newlines from errx strings r305822: bspatch: use #define for header size instead of magic number r306026: bspatch: Remove backwards-compatibility sys/capability.h support bspatch previously included sys/capability.h or sys/capsicum.h based on __FreeBSD_version, as FreeBSD is the upstream for bsdiff and we may see this file incorporated into other third-party software. The Capsicum header is now installed as sys/capsicum.h in stable/10 and FreeBSD 10.3, so we can just use sys/capsicum.h and simplify the logic.
* MFC r264823 (ed): Make usage printing more consistent with other tools.emaste2016-09-222-4/+22
| | | | | | | | | - Introduce a separate usage() function. - Don't use argv[0]. Directly name the application, as we do elsewhere. - Don't prepend the application name. - Don't print two newlines. Also apply the unnecessary semicolon cleanup from r298089
* MFC r305841ache2016-09-221-6/+31
| | | | Implement multibyte encoding support for -v with fallback
* Merge OpenSSL 1.0.1u.jkim2016-09-22429-1092/+1932
|
* MFC r305601:kib2016-09-221-2/+12
| | | | On rename, do not perform truncation of dirhash if the vnode truncation failed.
* MFC r305599:kib2016-09-221-0/+1
| | | | Do not leak transient ENOLCK error from flush_newblk_dep() loop.
* MFC r305598:kib2016-09-221-1/+2
| | | | | When logging unlikely UFS_TRUNCATE() failure in ufs_direnter(), include error code.
* MFC r305597:kib2016-09-221-0/+1
| | | | When extending directory inode in ufs_direnter(), adjust i_endoff.
* MFC r305595:kib2016-09-221-2/+7
| | | | | | In dqsync(), when called from quotactl(), um_quotas entry might appear cleared since nothing prevents completion of the parallel quotaoff. There is nothing to sync in this case, and no reason to panic.
* MFC r305594:kib2016-09-221-3/+6
| | | | | In softdep_prealloc(), return early not only for snapshots, but for the quota files as well.
* MFC r305593:kib2016-09-221-32/+19
| | | | | | There is no need to upgrade the last dvp lock on lookups for modifying operations. Instead of upgrading, assert that the lock is exclusive. Explain the cause in comments.
* MFC r305592:kib2016-09-223-5/+16
| | | | | Partially lift suspension when ffs_reload() finished with cgs and going to re-read inodes.
* MFC r305610: Don't report to devd statuses that CAM doesn't consider errors.mav2016-09-221-1/+1
| | | | | Some statuses, such as "ATA pass through information available", are part part of absolutely normal operation and do not worth reporting.
* MFC r305609: "Extended copy information available" is not an error either.mav2016-09-221-1/+1
|
* MFC r305608: "ATA pass through information available" is not an error.mav2016-09-221-1/+1
|
* MFC r305602: intpm: fix attachment to supported AMD FCHsavg2016-09-211-1/+3
|
* MFC r275240 (bapt): Implement --no-fatal-warningsemaste2016-09-211-0/+10
| | | | | | 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
* MFC r305606: intpm: make sure to register smbus driver before intpm driveravg2016-09-211-1/+2
|
* MFC r305604: intpm: better clean up resources after a failed attachmentavg2016-09-211-14/+26
|
* MFC r305603: intpm: do not try attaching to unsupported controller revisionsavg2016-09-211-3/+6
|
* MFC r305600: amdsbwd.4: update supported hardware listavg2016-09-211-2/+17
|
* MFC r305596: intpm.4 update supported hardware listavg2016-09-211-1/+5
|
* MFC r303113: Cross-link some SMBus controller drivers man pages.avg2016-09-215-0/+10
|
* MFC r303111: Document list of supported chipsets.avg2016-09-211-9/+23
|
* MFC r305535: amdsbwd: add support for FCH in family 16h models 30h-3Fh ↵avg2016-09-211-12/+75
| | | | processors
* MFC r305939:kib2016-09-211-1/+1
| | | | Remove trailing space.
* MFstable/11 r305914:ngie2016-09-181-23/+29
| | | | | | | | MFC r305357: Skip testcases 9/10 if jail(8) isn't installed These testcases require jail support
* MFstable/11 r305912:ngie2016-09-181-0/+1
| | | | | | | | | MFC r305356: Add a missing "Bail out!" if zpool create fails This will make the exit info more meaningful if/when zpool create fails, and establishes parity with the other 2 zfs acl testcases (01, 03).
* MFstable/11 r305910:ngie2016-09-182-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC r305033,r305041,r305170: r305033: Minor Makefile simplifications for lib/atf/... - Replace uses of `${.CURDIR:H:H:H}` with ${SRCTOP} - Use built-in :H operator instead of ".." when enumerating paths. r305041: Filter certain compile-time options into -DATF_BUILD_* Items filtered through are: - Constant defines (-D) - Include flags (-I) - Linker flags (-L) - Optimization level (-O) - Warnings / linker flags (-W) - Preprocessor options (-f) This fixes the scenario hit by the Jenkins job where it's infecting the build with --sysroot, etc options from the Jenkins build in the tests. Prefix all intermediate variables (_CFLAGS, etc) with "ATF_BUILD" [*]. Requested by: jmmv r305170: Don't bake all of CC/CPP/CXX into CFLAGS Capture executable names for CC, CPP, CXX (assumed to be the first non-CCACHE_BIN word). This change strips out all of the cross-compiler arguments, (-target, -B, etc), added to ${CC}, etc via ${CROSSENV} in Makefile.inc1, so it doesn't infect the build and subsequently the test. Add comments noting why this logic is being added, and why the logic in r305041 was necessary/what it was trying to achieve. This is required after recent changes made to the toolchain to always specify --sysroot, -target, -B, etc with clang in buildworld (presumably r304681).
* MFC r301522 (by bz)hiren2016-09-163-0/+59
| | | | | | | | | | | | | Implement a `show panic` command to DDB which will helpfully print the panic string again if set, in case it scrolled out of the active window. This avoids having to remember the symbol name. Also add a show callout <addr> command to DDB in order to inspect some struct callout fields in case of panics in the callout code. This may help to see if there was memory corruption or to further ease debugging problems. No objection by: bz
* MFC r305590:hselasky2016-09-151-2/+2
| | | | | | | | Correctly map the USB mouse tilt delta values into buttons 5 and 6 instead of 3 and 4 which is used for the scroll wheel, according to X.org. PR: 170358
* MFC r305744:kib2016-09-151-1/+1
| | | | Fix typo in comment.
* MFC r305129:kib2016-09-141-9/+22
| | | | Make swapoff reliable.
* MFC r305123: Fix kernel panic when inheriting properties without default.mav2016-09-141-0/+2
| | | | | | There are two writable hidden properties "iscsioptions" and "stmf_sbd_lu", that have no default string value. Attempt to unset them or replicate caused kernel panic. This simple bandaid seems fixes the problem nicely.
* MFC r305536: Fix channel initialization in FBS mode.mav2016-09-141-15/+15
| | | | | | | | | | | | Due to reading initialized variable, FIS receive area was always allocated as 256 bytes, suitable for command-based switching, instead of 4096 bytes, required for FIS-based switching. This caused memory corruption in case of MFC r305536: Fix channel initialization in FBS mode. Due to reading initialized variable, FIS receive area was always allocated as 256 bytes, suitable for command-based switching, instead of 4096 bytes, required for FIS-based switching. This caused memory corruption in case of port multipliers used on FBS-capable HBAs (Marvell).
* MFC r305679: Switch random_get_pseudo_bytes() shim to arc4rand().mav2016-09-131-1/+1
| | | | | | | | Our shim for Solaris random_get_bytes() uses read_random(), that looks reasonable, since it guaranties reliably seeded random data. On the other side Solaris random_get_pseudo_bytes() does not provide this guarantie, and its original Solaris implementation is equivalent to our arc4rand(), using software crypto without stressing slower hardware RNG.
OpenPOWER on IntegriCloud