summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r282211,r282244:ngie2015-05-131-7/+10
| | | | | | | | | | | | | | | | r282211: ATF_REQUIRE_KERNEL_MODULE: use atf_skip, not ATF_REQUIRE_MSG so the testcase no longer bombs out PLAIN_REQUIRE_KERNEL_MODULE: use printf + _exit, no err so the testcase no longer bombs out if it prints to stderr r282244: Fix typo. It should have been atf_tc_skip, not atf_skip Reported by: many, Jenkins Pointyhat to: ngie
* MFC r281593,r282071,r282074,r282133,r282134,r282135,r282136,r282137,r282138:ngie2015-05-1323-281/+371
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r282071: Integrate tools/regression/mqueue into the FreeBSD test suite as tests/sys/mqueue r282074: Integrate tools/regression/aio/aiotest and tools/regression/aio/kqueue into the FreeBSD test suite as tests/sys/aio r282133: Fill in the copyright boilerplate for the test program r282134: Add initial (unpolished) macros for interfacing with the FreeBSD test suite This is very rough, but will be replaced/redesigned some time soon after I fix the Jenkins breakage I introduced r282135: Use ATF_REQUIRE_KERNEL_MODULE instead of aio_available function r282136: - Use ATF_REQUIRE_KERNEL_MDOULE to require aio(4) - Don't use /tmp as a basis for temporary files as it's outside of the ATF sandbox - Don't override MAX macro in sys/param.h r282137: Use PLAIN_REQUIRE_KERNEL_MODULE to require "mqueuefs" r282138: Adjust CFLAGS to find freebsd_test_suite/macros.h
* MFC r280894,r280895:ngie2015-05-134-18/+27
| | | | | | | | | | | | | | | r280894: Minor cleanup before converting to ATF testcases - Remove blank (tab-only) lines. - Fix -Wunused warnings. - Bump up to WARNS= 6 r280895: - Fix -Wsign issue - Bump up to WARNS=6
* MFC r282057,r282092,r282106:ngie2015-05-1313-56/+13
| | | | | | | | | | | | | | | | | | | | | | | | r282057: Build/install libc, librt, libthr, and msun NetBSD test suites on all architectures r282092 (by andrew): Correct the spelling of MACHINE_CPUARCH, MACHINE_CPU is not set on arm64. r282106: Remove per-architecture checks for enabling HAVE_FENV_H The conditional came from NetBSD, where only select architectures have this header/support All architectures on FreeBSD have the necessary support though, so the conditional's completely unnecessary make tinderbox done on all architectures (including arm64, where the issue occurred before) this time
* MFC r282076,r282104:ngie2015-05-135-6/+10
| | | | | | | | | | | | | | | r282076: Integrate tools/regression/mmap into the FreeBSD test suite as tests/sys/kern/mmap_test r282104: Move tests/sys/kern/mmap_test to tests/sys/vm/mmap_test As jhb noted, the actual mmap(2) implementation is under sys/vm, not sys/kern/, so the correct logical place is tests/sys/vm/, not tests/sys/kern/
* MFC r282075:ngie2015-05-131-15/+24
| | | | Convert this testcase over to a TAP format testcase
* MFC r262526,r262730:ngie2015-05-132-1/+80
| | | | | | | | | | | | | | | | | r262526 (by pho): Added a regression test for r234131. Discussed with: asomers Sponsored by: EMC / Isilon storage division r262730 (by pho): Changed name of test case to a more descriptive one and moved comment to the "descr" property. Suggested by: jmmv Sponsored by: EMC / Isilon storage division
* MFC r281966:ngie2015-05-131-0/+3
| | | | Add #include sys/types.h for register_t for mips
* MFC r281618,r281823:ngie2015-05-131-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | r281618: Defeat race with MK_KERBEROS == yes introduced with bootstrap-tools parallelization work done in r279197 - kerberos5/lib/libroken requires kerberos5/tools/make-roken to build - kerberos5/tools/asn1_compile, kerberos5/tools/slc, and usr.bin/compile_et require kerberos5/lib/libroken and kerberos5/lib/libvers This race is incredibly evident when cross-building sparc64 on ref10-amd64.freebsd.org Pointyhat to: ngie r281823: Serialize all of _kerberos5_bootstrap_tools to avoid build failures involving make bootstrap-tools On the plus side, this also greatly reduces complexity Pointyhat to: ngie Reported by: Willem Jan Withagen <wjw@digiware.nl>
* MFC r282364, r282429, r282524:mav2015-05-131-20/+60
| | | | | | | | Implement BSY reporting and in-order execution of non-NCQ commands. Block command queue on BSY or DRQ bits set or device error reported. This can be a performance penalization for non-NCQ commands, but it is required for proper error recovery and standard compliance.
* MFC r282345: Initialize PxCMD on reset and make its read-only bits such.mav2015-05-131-2/+16
|
* MFC r282344: Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop().mav2015-05-131-1/+2
|
* MFC r282073:ngie2015-05-132-57/+57
| | | | | | | | | | - Fix style(9) a bit -- Fix whitespace -- Use err/errx -- Remove superfluous braces - Be a bit more defensive with input from the end-user - Don't throw a floating point exception by dividing by 0 when processing a zero-byte file
* MFC r282067:ngie2015-05-1326-148/+424
| | | | | Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo and tools/regression/file into the FreeBSD test suite as tests/sys/file
* MFC r282063:ngie2015-05-1313-4/+29
| | | | | Integrate tools/regression/kqueue into the FreeBSD test suite as tests/sys/kqueue
* MFC r281766, r281767:mav2015-05-131-2/+2
| | | | | | Report link as up only if we managed to open tap device. It would be cool to report tap device status, but it has no such API.
* MFC r281764, r282563: Disable RX/TX queues notifications when not needed.mav2015-05-131-14/+15
| | | | | | This reduces CPU load and doubles iperf throughput, reaching 2-3Gbit/s. Sponsored by: iXsystems, Inc.
* MFC r282062:ngie2015-05-131-5/+5
| | | | | Fix -Wformat warnings by using proper format string qualifiers for long and unsigned[ long] types
* MFC r282056:ngie2015-05-131-0/+6
| | | | | | | | The fmodl compat shims on arm/mips/powerpc aren't complete Disable the test code for now on those architectures PR: 199422
* MFC r282054:ngie2015-05-131-4/+9
| | | | | ath3kfw, bcmfw, bthidcontrol, bthidd all require usb(4); build them conditionally if MK_USB != no
* MFC r281967:ngie2015-05-131-0/+1
| | | | | Assuming a system has /bin/csh on it is a bad idea (especially it being optional on FreeBSD). Look for /bin/cat instead
* Convert space to tabs in the bits that I changed in my last commit.araujo2015-05-131-23/+23
| | | | | | No functional change. Reported by: jmallet@
* MFC r281984:hiren2015-05-131-5/+10
| | | | | | | | | | Currently there is no easy way to specify net.isr.maxthreads = all cpus. We need to specify exact number of cpus in loader.conf which get annoying when you have mix of machines which don't have equal number of total cpus. I propose "-1" as that value. When loader.conf has net.isr.maxthreads = -1, netisr will use all available cpus. Sponsored by: Limelight Networks
* Partial MFC r281838:hiren2015-05-131-2/+19
| | | | | | | | | For igb(4), when we are doing multiqueue, we are all setup to have full 32bit RSS hash from the card. Expose that so others like lagg(4) can use that and avoid hashing the traffic by themselves. Setting hashtype as OPAQUE because FreeBSD 10 doesn't have RSS support. Sponsored by: Limelight Networks
* MFC: 282215gnn2015-05-133-0/+9
| | | | | | | | Make it possible to statically link SIFTR into the kernel as a new option. Reviewed by: bz Discussed with: lstewart
* MFC r281944: vt(4): Simplify mouse area detectionemaste2015-05-121-13/+7
| | | | | | | | vt_is_cursor_in_area needs to return true if any part of the mouse cursor is visible in the rectangle area. Replace the existing test with a simpler version of a test for overlapping rectangles. Sponsored by: The FreeBSD Foundation
* MFC r282247: vt: fix vt_fb_bitblt_bitmap mask corruptionemaste2015-05-121-31/+23
| | | | | | | | | Previously the mask wrapped when one or more of the mask bytes extended past the right edge of the window. Simplify the logic and use the same byte offset and bit in both the pattern and mask. PR: 199648 Sponsored by: The FreeBSD Foundation
* Fix the media detected for copper cables NIC based on chipsest X540T.araujo2015-05-121-11/+23
| | | | | Requested by: hiren@ MFH: 279803
* MFC r282469:garga2015-05-122-0/+2
| | | | | | | | | Add support for Sierra MC7354 card Author: Jeremy Porter <jporter@netgate.com> Differential Revision: https://reviews.freebsd.org/D2444 Reviewed by: gnn, hselasky Sponsored by: Netgate
* followup to r282748: sys/modules/cyclic was not removed by svn mergeavg2015-05-121-19/+0
| | | | | | | This directory and its content were removed by the original commit but somehow the merge did not remove the directory. Spotted by: smh
* followup to r282748: remove another instance of cyclic in sys/modules/Makefileavg2015-05-121-3/+0
| | | | | Those lines were not present in head and thus were not removed by the original commit and its merge.
* MFC r282205:smh2015-05-121-15/+17
| | | | | | | Fix misuse of input argument in traverse_visitbp Obtained from: zfsonlinux (a585f2f844ed3d4270221fed88f5e494eb55d932 Sponsored by: Multiplay
* MFC r282680:kib2015-05-121-2/+0
| | | | Remove unused define.
* MFC r274223 (by glebius):hrs2015-05-121-4/+0
| | | | | | | Remove VNET_SYSCTL_ARG(). The generic sysctl(9) code handles that. A panic could occur by "sysctl -a" when using VIMAGE-enabled stable/10 kernel after r262734 because of this missing MFC.
* Fix r282781:hiren2015-05-121-2/+3
| | | | | | | We should return OPAQUE from M_HASHTYPE_GET() if M_FLOWID is there and rsstype is not set. Submitted by: hans
* r281955 removed M_FLOWID which could cause problems for old drivers still usinghiren2015-05-113-12/+20
| | | | | | | | | | | | | | | | | the field. It cannot be removed from stable/10 so restore it. Change M_HASHTYPE_GET() and M_HASHTYPE_SET() to do the right thing when M_FLOWID exists. Also bumping the FreeBSD version to note the fact that M_FLOWID is brought back in stable/10. (Just a note that M_FLOWID has been removed from -head.) Spotted by: np Suggested by: hans Reviewed by: hans, tuexen (earlier version) Helped by: jhb, delphij, gjb Sponsored by: Limelight Networks
* MFC r282131: replace a comment about zfs recv -F corner case with a longer oneavg2015-05-111-7/+17
|
* MFC r282130: zfs_onexit_fd_hold: return EBADF even if devfs_get_cdevpriv ↵avg2015-05-111-1/+1
| | | | gave ENOENT
* MFC r282127: dsl_dir_rename_check: return EXDEV on cross-pool rename attemptavg2015-05-111-1/+1
|
* MFC r282126: FV r282123: 5610 zfs clone from different source and target poolsavg2015-05-112-12/+4
|
* MFC r282125: MFV r282124: 5393 spurious failures from dsl_dataset_hold_obj()avg2015-05-111-1/+2
|
* MFC r282122: nvpair_type_is_array: DATA_TYPE_INT8_ARRAY was not recognizedavg2015-05-111-0/+1
|
* MFC r282121: dump_nvlist: handle DATA_TYPE_BOOLEAN_ARRAYavg2015-05-111-0/+11
|
* MFC r277796: hook userland threads suspend + resume into acpi suspend codeavg2015-05-114-3/+8
|
* MFC r277795,278849: vt(4): Use power_{suspend,resume} event handlersavg2015-05-115-33/+65
|
* MFC r275576: remove opensolaris cyclic code, replace with high-precision ↵avg2015-05-1115-2336/+171
| | | | callouts
* MFC r282434:gjb2015-05-1114-269/+1131
| | | | | | | | | | | | | | MFV r225523, r282431: r225523 (hrs): Import openresolv-3.4.4. r282431: Import openresolv-3.7.0. PR: 199854 Submitted by: yuri@rawbw.com Relnotes: yes Sponsored by: The FreeBSD Foundation
* MFC r282041: hexdump: Don't use uninitialized struct stat.jilles2015-05-101-1/+1
| | | | PR: 196194
* MFC: 273293gnn2015-05-091-0/+2
| | | | | | | Update the TCP structure used by DTrace to show the smoothed RTT. This will allow similar functionality to SIFTR to be built with DTrace. Submitted by: Grenville Armitage
* MFC: 281558gnn2015-05-091-6/+5
| | | | Minor change to the macros to make sure that if an AF is passed that is neither AF_INET6 nor AF_INET that we don't touch random bits of memory.
OpenPOWER on IntegriCloud