summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Pull in r183297 from upstream llvm trunk:dim2013-06-051-3/+31
| | | | | | | | | | | | | | | | | | | PR15662: Optimized debug info produces out of order function parameters When a function is inlined we lazily construct the variables representing the function's parameters. After that, we add any remaining unused parameters. If the function doesn't use all the parameters, or uses them out of order, then the DWARF would produce them in that order, producing a parameter order that doesn't match the source. This fix causes us to always keep the arg variables at the start of the variable list & in the original order from the source. Reported by: avg MFC after: 1 week
* sh: Return status 127 for unknown jobs in wait builtin.jilles2013-06-053-5/+27
| | | | | | | | | | This is required by POSIX, at least for pids that are not known child processes. Other problems with job specifications still cause wait to abort with exit status 2. PR: 176916
* sh: Allow multiple operands in wait builtin.jilles2013-06-052-6/+25
| | | | | | | | This is only part of the PR; the behaviour for unknown/invalid pids/jobs remains unchanged (aborts the builtin with status 2). PR: 176916 Submitted by: Vadim Goncharov
* new features (mostly for testing netmap capabilities)luigi2013-06-051-38/+63
| | | | | | | | | | | | | + pkt-gen -f rx now remains active even when traffic stops Previous behaviour (exit after 1 second of silence) can be restored with the -W option + the -X option does a hexdump of the content of a packet (both tx and rx). This can be useful to check what goes in and out. + the -I option instructs the sender to use indirect buffers (not really useful other than to test the kernel module in the VALE switch)
* - fix a bug in the previous commit that was dropping the last packetluigi2013-06-051-11/+39
| | | | | | | | | | | | | | | from each batch flowing on the VALE switch - feature: add glue for 'indirect' buffers on the sender side: if a slot has NS_INDIRECT set, the netmap buffer contains pointer(s) to the actual userspace buffers, which are accessed with copyin(). The feature is not finalised yet, as it will likely need to deal with some iovec variant for proper scatter/gather support. This will save one copy for clients (e.g. qemu) that cannot use the netmap buffer directly. A curiosity: on amd64 copyin() appears to be 10-15% faster than pkt_copy() or bcopy() at least for sizes of 256 and greater.
* New install flags were merged to 9-STABLE and will appear in FreeBSD-9.2.brooks2013-06-051-1/+1
| | | | | | Sponsored by: DARPA, AFRL Submitted by: ru MFC after: 3 days
* Relax the vm object locking. Use a read lock.alc2013-06-053-19/+19
| | | | Sponsored by: EMC / Isilon Storage Division
* Update to bmake-20130604 to fix file descriptor leak.sjg2013-06-056-24/+44
|
* Remove part of the NetBSD longjmp code that was not ready to be merged.andrew2013-06-051-2/+1
|
* Style fixes.das2013-06-054-54/+58
| | | | Submitted by: bde
* - Flag sym(4) as supporting unmapped I/O; all necessary conversion actuallymarius2013-06-051-3/+2
| | | | | already has been done as part of r246713. - Revert a part of r251402 in order to appease clang.
* Handle/mark/nuke unused arguments.marius2013-06-051-49/+49
|
* Implement a bit of a hack to store the AR9285/AR9485 RX LNA configuration inadrian2013-06-053-2/+33
| | | | | | | | | | | | | | | | | | the RX antenna field. The AR9285/AR9485 use an LNA mixer to determine how to combine the signals from the two antennas. This is encoded in the RSSI fields (ctl/ext) for chain 2. So, let's use that here. This maps RX antennas 0->3 to the RX mixer configuration used to receive a frame. There's more that can be done but this is good enough to diagnose if the hardware is doing "odd" things like trying to receive frames on LNA2 (ie, antenna 2 or "alt" antenna) when there's only one antenna connected. Tested: * AR9285, STA mode
* Add a new capability flag to announce that the chip implements LNA mixingadrian2013-06-054-1/+6
| | | | | | | | | | | | for the RX path. This is different to the div comb HAL flag, that says it actually can use this for RX diversity (the "slow" diversity path implemented but disabled in the AR9285 HAL code.) Tested: * AR9285, STA operation
* Document the AR9285/AR9485 LNA configuration information that'sadrian2013-06-051-0/+26
| | | | | | | | stored in the ctl/ext RSSI field for chain 2. Tested: * AR9285, STA
* Add RX STBC statistics.adrian2013-06-041-2/+5
|
* In vm_object_split(), busy and consequently unbusy the pages only whenattilio2013-06-041-3/+4
| | | | | | | | swap_pager_copy() is invoked, otherwise there is no reason to do so. This will eliminate the necessity to busy pages most of the times. Sponsored by: EMC / Isilon storage division Reviewed by: alc
* sys/dev/mps/mps.casomers2013-06-042-1/+3
| | | | | | | | | | | | | | | | | | | | sys/dev/mps/mps_user.c Fix uninitialized memory reference in mps_read_config_page. It was referencing a field (params->hdr.Ext.ExtPageType) that would only be set when reading an Extended config page. The symptom was that MPSIO_READ_CFG_PAGE ioctls would randomly fail with MPI2_IOCSTATUS_CONFIG_INVALID_PAGE errors. The solution is to determine whether an extended or an ordinary config page is requested by looking at the PageType field, which should be available regardless. Similarly, mps_user_read_extcfg_header and mps_user_read_extcfg_page, which call mps_read_config_page, had to be fixed to always set the PageType field. They were implicitly assuming that mps_read_config_page always operated on Extended pages. Reviewed by: ken Approved by: ken (mentor) MFC after: 3 days
* CAM_DEV_QFREEZE handling should only be done on request submission butmarius2013-06-041-14/+3
| | | | | | | | neither on completion nor by SIM drivers in the first place. This issue has been revealed by r249466. Reviewed by: mav MFC after: 3 days
* Fix build with both INET and INET6 disabled.jhb2013-06-041-0/+2
|
* Start to merge the updated ARM NetBSD setjump/longjmp functions. To beginandrew2013-06-042-75/+52
| | | | | | | | | | with merge the functions but leave out the code to save/load the VFP registers as that requires other changes to ensure the VFP is enabled first. This removes storing the old fpa registers. These were never fully supported, and the only user of this code I can find have moved to newer CPUs which use a VFP.
* Relax the vm object locking in mac_proc_vm_revoke_recurse(). A read lockalc2013-06-041-4/+4
| | | | | | suffices in one place. Sponsored by: EMC / Isilon Storage Division
* Shift Console->Saver menu items to place the default item at the top, makingdteske2013-06-041-41/+41
| | | | | | | | | | | | | this menu consistent with Console->Repeat, Console->Font, Console->Screenmap and many others which place the default choice at the top. NOTE: SVN r249751 changed things so that these menus highlight the active selection, so the idea that the default choice (now at top) "can be selected immediately by hitting ENTER" is not possible unless the default choice is the currently active setting (e.g., on first visit to the menu). However, it is still warranted to have the default choice at the top of the menu. PR: bin/169316
* Lessen verbosity of "Exit" menutag items to appear more consistent acrossdteske2013-06-046-7/+6
| | | | | | | | menus from one module to the next. Replacing "Exit this menu (returning to previous)" with "Exit this menu". PR: ports/169316
* Add myself to committers-src.dot, and note kib is my mentor.gjb2013-06-041-0/+2
| | | | Approved by: kib (mentor)
* Eliminate unnecessary vm object locking from tmpfs_nocacheread().alc2013-06-041-2/+0
|
* Build fix: Only <sys/cdefs.h> should be included before __FBSDID().jhb2013-06-041-1/+2
| | | | | <sys/param.h> needs to be included after any "opt_foo.h" headers so it sees the same set of defined macros as other headers.
* Improve r250890, so that we stop processing of a message with zeroglebius2013-06-041-8/+7
| | | | | | | descriptors as early as possible, and assert that number of descriptors is positive in unp_freerights(). Reviewed by: mjg, pjd, jilles
* Flag isp(4) as supporting unmapped I/O; all necessary conversion actuallymarius2013-06-041-2/+2
| | | | | | already has been done as part of r246713. Reviewed by: mjacob
* Fix the passing of time on Armada XP.gber2013-06-042-1/+12
| | | | | | | In order to become independent of Coherency Fabric frequency, configure Timer and Watchdog to operate in 25MHz mode. Submitted by: Zbigniew Bodek <zbb@semihalf.com>
* Implement pmap_copy() for ARMv6/v7.gber2013-06-041-0/+120
| | | | | | | | Copy the given range of mappings from the source map to the destination map, thereby reducing the number of VM faults on fork. Submitted by: Zbigniew Bodek <zbb@semihalf.com> Sponsored by: The FreeBSD Foundation, Semihalf
* mdoc: convert .Fd to .In, which is much nicer.joel2013-06-046-14/+14
|
* Match the options of the kernel.obrien2013-06-046-20/+60
|
* Update a comment.alc2013-06-041-2/+2
|
* Add man links for expl(3) and expm1l(3).das2013-06-041-2/+2
|
* Use f_shell_escape() instead of forking to awk. In this case, thedteske2013-06-043-8/+6
| | | | | | replacement comes with a great performance increase (as f_shell_escape() uses the built-in based f_replaceall() which out-performs forking to awk(1)). This should also improve readability slightly.
* Use a case-statement instead of multiple (separate even) if-statements.dteske2013-06-041-4/+7
|
* Comments.dteske2013-06-041-1/+1
|
* Similar to r251236, r251242, and r251244. Introduce new function-pair todteske2013-06-044-38/+81
| | | | | | | | | | | | | | | | | dialog(1) API in dialog.subr responsible for retrieving menu-choice data (for the --menu widget). Add f_dialog_menuitem_store()/f_dialog_menuitem_fetch() for storing and retrieving the menuitem (not the tag) from a --menu widget result. The dialog --menu widget returns the `tag' from the tag/item pair of choices for a menu list. Because the menu list is often local to the function that is displaying it, the ability to dereference this into the item is not possible unless you use a global. This changes things so the function (upon successful return of dialog) dereferences the tag into the item and stores it for later retrieval using these functions. NOTE: Tags are dereferenced into items using f_dialog_menutag2item().
* Add the combined (mixed) diversity support capability bit for theadrian2013-06-042-0/+4
| | | | AR9285/AR9485.
* Relax the object locking in vm_pageout_map_deactivate_pages() andalc2013-06-041-11/+11
| | | | | | vm_pageout_object_deactivate_pages(). A read lock suffices. Sponsored by: EMC / Isilon Storage Division
* cxgbe(4): Provide accurate hit count for filters on T5 cards. Thenp2013-06-041-2/+8
| | | | | | location within the TCB and the size have both changed. MFC after: 1 week
* Fix a code typo (missing `eval') which lead to improperly-sized menu whendteske2013-06-041-1/+1
| | | | | displaying packages (menu was always maximum height). The problem was introduced by SVN r251232.
* Pad the PCPU MD struct, to satisfy an assert added with the projects/countersjhibbits2013-06-041-1/+1
| | | | | | branch import. PR: ports/179173,ports/179164
* Fix menu accenting for the package category list. The single-space indentdteske2013-06-041-5/+5
| | | | | for duplicate initial-characters was removed for making comparisons but was not put back.
* Whitespace and comments.dteske2013-06-041-3/+3
|
* Improve debugging for f_dialog_*_constrain() to print constrained ratherdteske2013-06-041-2/+15
| | | | than unconstrained values.
* bmake does not like universe_${target}_prologue in the .ORDERsjg2013-06-031-1/+1
| | | | | | | when there is an explicit dependency for it anyway. Remove it so both bmake and fmake do the same thing. Reviewed by: OBrien
* Fixing a typo.hiren2013-06-031-1/+1
| | | | | Approved by: sbruno (mentor) MFC after: 3 days
* Fix a typo: XPORT_SPI should be tested against transport, nor protocol.delphij2013-06-031-1/+1
| | | | | | Submitted by: Sascha Wildner <swildner dragonflybsd org> Reviewed by: mjacob MFC after: 2 weeks
OpenPOWER on IntegriCloud