summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r266848:kib2014-06-055-15/+25
| | | | Add support for the unmapped i/o to mfi(4).
* MFC r266846:kib2014-06-051-3/+20
| | | | | | When usermode loaded non-default segment selector into the %gs, correctly prepare KGSBASE msr to restore the user descriptor base on the last swapgs during return to usermode.
* MFC 266281:jhb2014-06-041-0/+1
| | | | | | | | Clear the data buffer length field when freeing a command structure so that it doesn't leak through when the command structure is reused for a user command without a data buffer. PR: 189668
* MFC 260999:jhb2014-06-041-1/+1
| | | | | Increase the block-layer backend maximum number of requests to match the AHCI command queue depth.
* MFC 260972:jhb2014-06-044-7/+34
| | | | | There is no need to initialize the IOMMU if no passthru devices have been configured for bhyve to use.
* MFC 263772: Fix build without SMP.jhb2014-06-041-1/+5
| | | | PR: 187854
* Fix syntax error thrown at the point of creating the root pool, caused byroberto2014-06-041-12/+17
| | | | | | | | | | | | | | | | | an embedded newline appearing within the options string surrounded by double-quotes. Rework the logic that goes into setting dataset options on the root pool dataset while we're here -- added two new variables (which can be altered via scripting) ZFSBOOT_POOL_CREATE_OPTIONS and also ZFSBOOT_BOOT_POOL_CREATE_OPTIONS for setting pool/dataset attributes at the time of pool creation. The former is for setting options on the root pool (zroot) and the latter is for setting options on the optional separate boot pool (bootpool) implicitly enabled when using either GELI or MBR. The default value for the root pool variable (ZFSBOOT_POOL_CREATE_OPTIONS) is "-O compress=lz4 -O atime=off" and the default value for separate boot pool variable (ZFSBOOT_BOOT_POOL_CREATE_OPTIONS) is NULL (no additional options for the separate boot pool dataset). Reviewed by: allanjude
* MFC r266780:kib2014-06-041-4/+1
| | | | Remove the assert which can be triggered by the userspace.
* MFC r266107,r266108,r266109:roberto2014-06-041-27/+108
| | | | | | | | | | | | | | | | | | | | | | | | Here is a patch for the bsdinstall root-on-zfs stuff that adds optional encryption for swap, and optional gmirror for swap (which can be combined) Updates to the datasets created by zfsboot. Set compress=lz4 for the entire pool, removing it from the individual datasets Remove exec=no from /usr/src, breaks the test suite. Fix the "disks" variable reuse. It starts off being used to track the grammar for the number of disks (singular vs plural) and then it is reused as the list of available disks. Replace the variable with disks_grammar and move 'disk' and 'disks' to msg_ vars so they can be translated in the future. Submitted by: Allan Jude <freebsd@allanjude.com> Reviewed by: roberto Sponsored by: ScaleEngine Inc.
* MFC: r266821 (partial)marius2014-06-041-4/+2
| | | | | | | | - Actually, modules are built correctly when compiled along the kernel as they then pick up an opt_global.h from KERNBUILDDIR having PAE defined. Thus, build all modules by default except those which still really are defective as of r267043. - Minor style cleanup.
* MFC: r266820 (partial)marius2014-06-041-5/+4
| | | | | | - Shrink the list of excluded modules to what actually still doesn't build as of r267043. - Some style cleanups.
* MFC r266664:hselasky2014-06-041-0/+2
| | | | | | | Add empty LIBUSB_CALL macro, to be compatible to the libusb 1.0-API from sourceforge. PR: usb/190204
* MFC r266798 and r266803:hselasky2014-06-041-1/+0
| | | | Fix for big-endian architectures.
* MFC: r266793, r266799, r266808marius2014-06-041-7/+8
| | | | | | | | | | | - Fix compilation with PAE support enabled by merging r233362 and, thus, doing away with the unnecessary uint8_t pointer casting. physical addresses. - Nuke the unused softc of emujoy(4). - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. Sponsored by: Bally Wulff Games & Entertainment GmbH
* MFC: r266792marius2014-06-041-2/+2
| | | | | | | | | | | | | | | | | | | Fix DMA handling in radeon_dummy_page_init(): - Based on actual usage and on what Linux does, dummy_page.addr should contain the physical bus address of the dummy page rather than its virtual one. As a side-effect, correcting this bug fixes compilation with PAE support enabled by getting rid of an inappropriate cast. - Also based on actual usage of dummy_page.addr, theoretically Radeon devices could do a maximum of 44-bit DMA. In reality, though, it is more likely that they only support 32-bit DMA, at least that is what radeon_gart_table_ram_alloc() sets up for, too. However, passing ~0 to drm_pci_alloc() as maxaddr parameter translates to 64-bit DMA on amd64/64-bit machines. Thus, use BUS_SPACE_MAXSIZE_32BIT instead, which the existing 32-bit DMA limits within the drm2 code spelled as 0xFFFFFFFF should also be changed to. Reviewed by: dumbbell Sponsored by: Bally Wulff Games & Entertainment GmbH
* MFC r266778:nwhitehorn2014-06-042-4/+4
| | | | | | | | | | Repair nested signal handling on PowerPC. The signal trampoline code was not allocating space for the parameter save area in the stack frame. If the compiler chose to save the argument to the signal handler on the stack, it would overwrite the first 32 bits of the sigaction struct with it, corrupting it for a subsequent invocation. PR: powerpc/183040
* MFC r266833:hselasky2014-06-041-27/+38
| | | | | Add some more spinlocks to protect the state of the USB transfer queue. Rename some functions to indicate locking requirements.
* MFC r266335:lwhsu2014-06-041-0/+2
| | | | | | Add axge(4) to LINT Approved by: kevlo
* MFC: r266709brueffer2014-06-031-16/+26
| | | | | | Language cleanup. Reviewed by: mav, bcr, wblock
* MFC r266605.cy2014-06-031-8/+6
| | | | | | | | Move mutex creation from ipf_log_soft_init() to ipf_log_soft_create() to be consistent with mutex destruction in ipf_log_soft_destroy(). As a result mutex destruction in ipf_log_soft_fini() is redundant. Approved by: glebius (mentor)
* Fix incorrect error handling in PAM policy parser. [SA-14:13]delphij2014-06-031-7/+33
|
* MFC r266938:rodrigc2014-06-031-0/+11
| | | | | | | | | | | | Allow customization of the brand displayed in the boot menu. If the user specifies in /boot/loader.conf: loader_brand="mycustom-brand" Then "mycustom-brand" will be executed instead of "fbsd-logo". Submitted by: alfred Obtained from: FreeNAS
* MFC r266468:mav2014-06-033-0/+3
| | | | | | Add IOMMU PCI subclass, found on Tyan S8236 motherboard. Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* MFC r266925:dchagin2014-06-034-4/+34
| | | | | To allow to run the interpreter itself add a new ELF branding type. Allow Linux ABI to run ELF interpreter.
* MFC r266924:dchagin2014-06-031-31/+40
| | | | | | | | | | | | | | | | | Glibc was switched to the FUTEX_WAIT_BITSET op and CLOCK_REALTIME flag has been added instead of FUTEX_WAIT to replace the FUTEX_WAIT logic which needs to do gettimeofday() calls before the futex syscall to convert the absolute timeout to a relative timeout. Before this the CLOCK_MONOTONIC used by the FUTEX_WAIT_BITSET op. When the FUTEX_CLOCK_REALTIME is specified the timeout is an absolute time, not a relative time. Rework futex_wait to handle this. On the side fix the futex leak in error case and remove useless parentheses. Properly calculate the timeout for the CLOCK_MONOTONIC case. Tested by: Hans Petter Selasky
* MFC r266490, r266738:kevlo2014-06-033-246/+223
| | | | | | | | - Configure Rx bulk - Announce flow control capability to PHY drivers - Improve performance by fixing incorrect Rx/Tx handling - Rename definition of AXGE_* to reflect reality - Add new USB IDs
* MFC r266444:ae2014-06-021-0/+8
| | | | | | | | | | We have two functions from where a geom orphan method could be called: g_orphan_register and g_resize_provider_event. Both are called from the event queue. Also we have GEOM_DEV class, which does deferred destroy for its consumers via g_dev_destroy (also called from the event queue). So it is possible, that for some consumers an orphan method will be called twice. This triggers panic in g_dev_orphan. Check that consumer isn't already orphaned before call orphan method.
* MFC r266908:np2014-06-021-2/+6
| | | | | | | cxgbe(4): Fix a NULL dereference when the very first call to get_scatter_segment() in get_fl_payload() fails. While here, fix the code to adjust fl_bufs_used when a failure occurs for any other scatter segment.
* MFC r264480: mergemaster: Avoid "/var/tmp/temproot disappeared" if there isjilles2014-06-011-1/+1
| | | | | | | | | | | | | | | | | nothing to compare. Because of the change to find in SVN r253886, the entire temproot would be deleted if it became empty, leading to a confusing message "*** FATAL ERROR: The temproot directory ${TEMPROOT} has disappeared!" Note that mergemaster does not do anything useful in this situation anyway (e.g. put IGNORE_FILES="/etc/group /etc/master.passwd" in /etc/mergemaster.rc and run mergemaster -p). As noted in that commit, add -mindepth 1. PR: bin/188485 Submitted by: David Boyd
* MFC r266285,266866:bjk2014-06-011-7/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r266285 | bjk | 2014-05-16 23:05:52 -0400 (Fri, 16 May 2014) | 9 lines Correct documentation of the limit on how much memory can be mlock()ed vm.max_wired is a system-wide limit, not per-process. Reword the section to make this more clear. PR: docs/189214 Submitted by: Lawrence Chen (original text) Approved by: hrs (mentor) ------------------------------------------------------------------------ r266866 | bjk | 2014-05-29 22:16:28 -0400 (Thu, 29 May 2014) | 5 lines Minor mdoc fix Submitted by: hrs Approved by: hrs (mentor, implicit) ------------------------------------------------------------------------ PR: docs/189214 Approved by: hrs (mentor)
* MFC: r266270brueffer2014-05-318-20/+3
| | | | Remove some unused variables.
* MFC r266782:dchagin2014-05-311-13/+16
| | | | | | | | | | | In r218101 I have not changed properly the futex syscall definition. Some Linux futex ops atomically verifies that the futex address uaddr (uval) contains the value val. Comparing signed uval and unsigned val may lead to an unexpected result, mostly to a deadlock. So copyin uaddr to an unsigned int to compare the parameters correctly. While here change ktr records to print parameters in more readable format.
* MFC r263446hiren2014-05-318-38/+763
| | | | | Update hwpmc to support core events for Atom Silvermont microarchitecture. (Model 0x4D as per Intel document 330061-001 01/2014)
* MFC: 266209gnn2014-05-303-3/+51
| | | | | | | | Add a command line argument (-l) to end event collection after some number of seconds. The number of seconds may be a fraction. Submitted by: Julien Charbon <jcharbon@versign.com> Relnotes: yes
* MFC: 266166gnn2014-05-301-2/+2
| | | | Extend the size of the function or symbol that can be annotated.
* MFC: 266171, 266174gnn2014-05-301-5/+5
| | | | | | | Extend the size of the function or symbol that can be annotated. Update the amount of data we can collect for hwpmc(4) by default to work with modern processors and available memory.
* MFC r264235:cy2014-05-295-87/+117
| | | | | | | | | | Implement the final missing sysctls by moving ipf_auth_softc_t from ip_auth.c to ip_auth.h. ip_frag_soft_t moves from ip_frag.c to ip_frag.h. mlfk_ipl.c creates sysctl MIBs that reference control blocks that are dynamically created when IP Filter is loaded. This necessitated creating them on-the-fly rather than statically at compile time. Approved by: glebius (mentor)
* MFC r265995:delphij2014-05-281-1/+1
| | | | | | Switch using the new $2b$ format by default, when bcrypt is used. Relnotes: default Blowfish crypt(3) format have been changed to $2b$.
* MFC: r266483marck2014-05-281-0/+24
| | | | | | Document VMware-related filesystems additions. Reviewed by: jmg
* MFC: r264177marius2014-05-284-21/+26
| | | | | Make some unwise casts. On i386 these casts wind up being safe. Rather than disturb the API, go with these casts to shut gcc up.
* MFC r266674:dim2014-05-281-1/+1
| | | | | | | | | | | | Pull in r209489 from upstream clang trunk (by Akira Hatanaka): Fix a bug in xmmintrin.h. The last step of _mm_cvtps_pi16 should use _mm_packs_pi32, which is a function that reads two __m64 values and packs four 32-bit values into four 16-bit values. <rdar://problem/16873717>
* MFC r266520:delphij2014-05-272-2/+4
| | | | | | | | | | | | Explicitly link libzfs against libavl as it is done in OpenSolaris (4543:12bb2876a62e). Without this, some third party applications may break because the lack of AVL related symbols. FreeBSD base system are not affected because the FreeBSD ZFS command line tools were all linked against libavl and thus hide the underlying issue. PR: bin/183081
* MFC 266621: Eliminte spurious interrupts caused by ARM weak memory ordering.ian2014-05-274-2/+76
|
* MFC r264096, r264097, r264099 r264100, r264101, r264102, r264119:ian2014-05-276-19/+67
| | | | | | Fixes to the ti_sdhci and sdhci drivers (fix clock divisor calcs). Use the ti_sdhci driver instead of ti_mmchs for Pandaboard.
* MFC: r259428marius2014-05-272-0/+3
| | | | | | | | Clear content of keyfiles loaded by the loader after processing them. MFC: r259429 Clear some more places with potentially sensitive data.
* MFC 266721:kevlo2014-05-271-0/+1
| | | | | | Remove r264317 by accident. Spotted by: Kuan-Chung Chiu
* MFC r264885smh2014-05-261-26/+30
| | | | | | Eliminate duplicate checks in vdev_geom_io_intr error handling Sponsored by: Multiplay
* MFC r264881smh2014-05-262-1/+123
| | | | | | Add Linux socket call decoding to truss Sponsored by: Multiplay
* MFC r264879smh2014-05-263-8/+10
| | | | | | | Fix jailed raw sockets not setting the correct source address by calling in_pcbladdr instead of prison_get_ip4. Sponsored by: Multiplay
* MFC 263949, 265063: Add library dependencies for a couple bootstrap libsian2014-05-261-0/+4
| | | | to fix build failures for high -jN values when building with gcc.
OpenPOWER on IntegriCloud