summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Switch from make_dev_alias to make_dev_alias_p since make_dev_alias_p canambrisko2015-06-091-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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 needs to be done to mrsas(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
* | Include opt_em.h now that there are actual kernel compile options for em(4).sbruno2015-06-091-1/+2
| | | | | | | | | | | | Submitted by: jfv MFC after: 2 week Sponsored by: Limelight Networks
* | When updating/accessing the timehands, barriers are needed to ensurekib2015-06-091-41/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that: - th_generation update is visible after the parameters update is visible; - the read of parameters is not reordered before initial read of th_generation. On UP kernels, compiler barriers are enough. For SMP machines, CPU barriers must be used too, as was confirmed by submitter by testing on the Freescale T4240 platform with 24 PowerPC processors. Submitted by: Sebastian Huber <sebastian.huber@embedded-brains.de> MFC after: 1 week
* | Handle X2APIC entries in the MADT for APICs with an ID < 255. At least onejhb2015-06-091-32/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | BIOS has been seen to include such entries even though the relevant specs require that X2APIC entries only be used for CPUs with an APIC ID >= 255. This was tested on a system with "plain" local APIC entries in the MADT to ensure no regressions, but it has not yet been tested on a system with X2APIC entries in the MADT. Currently such systems do not boot at all, and with this change they might now boot correctly. Differential Revision: https://reviews.freebsd.org/D2521 Reviewed by: kib MFC after: 2 weeks
* | Support guest writes to the TSC by enabling the "use TSC offsetting"tychon2015-06-093-4/+26
| | | | | | | | | | | | | | | | execution control and writing the difference between the host TSC and the guest TSC into the TSC offset in the VMCS upon encountering a write. Reviewed by: neel
* | Map the allocated DMA memory into the address space.marcel2015-06-081-1/+9
| |
* | Implement mmap(2) for the busdma resource.marcel2015-06-083-12/+39
| |
* | Merge r283870 from amd64:dim2015-06-081-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unneeded NULL checks in trap_fatal(). Since td_name is an array member of struct thread, it can never be NULL, so the check can be removed. In addition, curproc can never be NULL, so remove the if statement, and splice the two printfs() together. While here, remove the u_long cast, and use the correct printf format specifier for curproc->p_pid. Requested by: jhb MFC after: 3 days
* | Properly initialize flags for accept4(2) not to return spurious EINVAL.jkim2015-06-081-0/+1
| | | | | | | | | | | | Note this fixes a Linuxulator regression introduced in r283490. PR: 200662
* | Move contrib/top/top.X to contrib/top/top.xs and movemarcel2015-06-083-2/+2
| | | | | | | | | | | | | | | | | | contrib/top/top.local.H to contrib/top/top.local.hs. This fixes a build breakage when src is on a case- insensitive file system -- we never properly create top.x nor top.local.h. Change the makefile accordingly. MFC after: 3 days
* | Cleanup some style(9) issues.bdrewery2015-06-082-42/+52
| | | | | | | | | | | | | | | | | | | | - Whitespace. - Comments. - Wrap long lines. MFC after: 2 weeks X-MFC-with: r284105,r284106 Sponsored by: EMC / Isilon Storage Division
* | It has been long time that when doing 'ls -G /path/to/a/symlink', instead ofdelphij2015-06-081-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | using the color of symbolic link, the color is determined by the link target. This behavior was quite confusing. Looking at the file history, it looks like that r203665 intends to fix this but the issue was never actually fixed. Fix this by not setting FTS_COMFOLLOW when color is requested like what was done in r203665. MFC after: 2 weeks
* | Revert r284153, as I believe it breaks the dtrace sdt module. I willjhb2015-06-081-31/+13
| | | | | | | | fix the original issue a different way.
* | Futex is an aligned 32-bit integer. Use the proper instruction anddchagin2015-06-081-24/+24
| | | | | | | | operand when dereferencing futex pointer.
* | Add user facing errors for exceeding process memory limitsemaste2015-06-081-10/+24
| | | | | | | | | | | | | | | | | | | | Previously the process terminating with SIGABRT at startup was the only notification. PR: 200617 Reviewed by: kib Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D2731
* | Add an internal "locked" variant of linker_file_lookup_set() and changejhb2015-06-081-13/+31
| | | | | | | | | | the public function to acquire the global linker lock directly. This permits linker_file_lookup_set() to be safely used from other modules.
* | Add makefile to build geom_map kld. Document some GEOM_* optionsae2015-06-085-3/+17
| | | | | | | | in NOTES and geom(4).
* | Teach G_PART_GPT class to handle g_resize_provider event.ae2015-06-081-1/+1
| | | | | | | | MFC after: 10 days
* | backout remove of -q option for pw [user|group] nextbapt2015-06-084-9/+20
| | | | | | | | | | | | While the return code is broken, some corner case usage depends on the functionnality, so backout until we get better regression tests covering those corner case usage.
* | Fix typobapt2015-06-081-1/+1
| |
* | Retire VM_FREEPOOL_CACHE as the next step in eliminating PG_CACHE pages.alc2015-06-089-25/+14
| | | | | | | | | | | | Differential Revision: https://reviews.freebsd.org/D2712 Reviewed by: kib Sponsored by: EMC / Isilon Storage Division
* | Add busdma_mem_alloc & busdma_mem_free.marcel2015-06-085-73/+205
| |
* | Cope with .. less memory.adrian2015-06-082-0/+6
| |
* | Add DMA memory allocation and freeing.marcel2015-06-084-41/+181
| | | | | | | | Slightly rework the tag handling.
* | Break out the current 802.11 software scan methods into an indirect table.adrian2015-06-085-98/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order for drivers to provide an alternate set of scan methods, these have to finally use an indirection table and all of the calls in ieee80211_scan.c need to use said table. For all existing drivers - this is basically a glorified, KBI-breaking functional no-op. This is also not the final form - too much functionality is currently hiding in ieee80211_scan_sw.c that should be in ieee80211_scan.c. That'll be the target of some follow-up commits. Note: * You have to recompile your kernel/drivers after this - the net80211 KBI has changed. * I'm not yet planning on bumping any versioning - I have a few more things to shuffle around. Tested: * urtwn(4) - STA mode * Intel 7260 in local repo - overriding the methods and table at attach time has the desired effect (ie, all the methods are called, but nothing is ever performed.)
* | Revert my previoius commit as it explicit pollute the ficl on otheraraujo2015-06-081-1/+0
| | | | | | | | | | | | architectures. It will be reworked by GSoC students. Requested by: ngie, bms and pfg.
* | Remove the start-scan call and re-inline it for now.adrian2015-06-081-12/+1
| |
* | Fix mistakes than came along with r284139bapt2015-06-071-2/+2
| |
* | Remove '-q' support for pw [user|group] nextbapt2015-06-074-20/+9
| | | | | | | | | | | | the intent of -q in this command is to return as exit status the value of the next group/user id, which does not make sense given exit status are limited to values between 0 and 255.
* | Fix setting uid/gid min/max via pwbapt2015-06-074-5/+87
| |
* | Fix generating configuration filebapt2015-06-076-6/+86
| |
* | Fix duplicate checkingbapt2015-06-074-18/+21
| |
* | Remove uneeded code (already done by pw_make_v7)bapt2015-06-071-3/+0
| |
* | In case of rename validate the length of the new namebapt2015-06-076-12/+49
| | | | | | | | Check early that the new name fits MAXLOGNAME and store it in pwconf
* | Refactor input validationbapt2015-06-075-103/+117
| | | | | | | | | | Mutualize code to validate inputs of both 'user' and 'group' command Test that the input name fits into MAXLOGNAME
* | witness: don't warn about matrix inconsistencies without holding the mutexmarkj2015-06-071-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | Lock order checking is done without the witness mutex held, so multiple threads that are racing to establish a new lock order may read matrix entries that are in an inconsistent state. Don't print a warning in this case, but instead just redo the check after taking the witness lock. Differential Revision: https://reviews.freebsd.org/D2713 Reviewed by: jhb MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* | Finish converting -7 to pwconfbapt2015-06-071-4/+3
| |
* | Add new USB quirk.hselasky2015-06-072-0/+2
| | | | | | | | | | PR: 200693 MFC after: 1 week
* | Handle -7 via gloval pwconfbapt2015-06-073-6/+9
| |
* | Initialize conf using menset(3)bapt2015-06-071-3/+1
| |
* | Handle pretty print (-P) via global pwconfbapt2015-06-074-21/+18
| |
* | Handle dryrun (-N) via global pwconfbapt2015-06-074-7/+11
| |
* | Sort headersbapt2015-06-071-2/+2
| |
* | Handle -C and -Y locally and stop adding them to arglistbapt2015-06-071-5/+15
| |
* | Add a new global struct pwconf to store etcpath, rootdir and struct userconfbapt2015-06-077-113/+86
| | | | | | | | | | Do not add anymore -R and -V to arglist Add an error message if both -V and -R are set in arguments
* | Fix pw userdel -r not deleting homedirbapt2015-06-071-1/+1
| |
* | Include header libi386.h to silence the clang warning of implicit declarationaraujo2015-06-071-0/+1
| | | | | | | | | | | | | | of functions biospci_*. Differential Revision: D2668 Reviewed by: rodrigc
* | Stop checking for ARM_TP_ADDRESS when we mean to check if building forandrew2015-06-075-26/+32
| | | | | | | | ARMv6 or later.
* | Test explicitly the result of strcmp to be consistent with the rest of the codebapt2015-06-071-1/+1
| |
* | Improve readability by reducing indentations levelsbapt2015-06-071-9/+11
| |
OpenPOWER on IntegriCloud