summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a 'ubenv import' command to import environment variables from theian2014-09-082-0/+95
| | | | | | | u-boot env into the loader(8) env (which also gets them into the kernel env). You can import selected variables or the whole environment. Each u-boot var=value becomes uboot.var=value in the loader env. You can also use 'ubenv show' to display uboot vars without importing them.
* Include the gssapi_krb5 library in KRB5_LDFLAGS.gjb2014-09-081-1/+1
| | | | | | PR: 156245 MFC after: 3 days Sponsored by: The FreeBSD Foundation
* Add clang patch for r271282emaste2014-09-081-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | Note that r271282 contains only the src change from Clang rev 200797. This patch file includes two follow-on changes to the test case, which do not apply to the copy in the FreeBSD tree. Upstream Clang revisions: 200797: Debug info: fix a crasher when when emitting debug info for not-yet-completed templated types. getTypeSize() needs a complete type. rdar://problem/15931354 200798: Simplify testcase from r200797 some more. 200805: Further simplify r200797 and add an explanatory comment. PR: 193347 MFC after: 3 days Sponsored by: DARPA, AFRL
* Merge Clang debug info crash fix rev 200797:emaste2014-09-081-3/+4
| | | | | | | | | | | Debug info: fix a crasher when when emitting debug info for not-yet-completed templated types. getTypeSize() needs a complete type. rdar://problem/15931354 PR: 193347 MFC after: 3 days Sponsored by: DARPA, AFRL
* Avoid rs(1) hitting LINE_MAX with custom trees that have large dependencies.bdrewery2014-09-081-3/+3
|
* Revert r271257 after several issues were pointed out. An updated patchdes2014-09-082-13/+14
| | | | will be committed at a later date.
* Bunch of microoptimizations to reduce dereferences and cache collisions.mav2014-09-083-163/+137
|
* Make it possible to use empty user name ("-U ''") for mount_smbfs(8).trasz2014-09-081-9/+0
| | | | | | | | It's just like "-U guest", except that it actually works, at least with Samba 4, which seems to return authentication failure for "-U guest". MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Make mount_smbfs(8) preserve the "automounted" mount flag.trasz2014-09-081-1/+8
| | | | | | | | The issue here is that we have to pass this flag as a string, in iov, because it doesn't fit in mntflags, which is an int. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
* Use the correct idiom for default values, and ensure that the scriptdes2014-09-082-14/+13
| | | | | | | | works correctly if the user overrides them. PR: 193255 Submitted by: hrs@ MFC after: 3 days
* Fail rather than segfault if neither PAM_TTY nor PAM_RHOST is set.des2014-09-081-7/+10
| | | | | PR: 83099 MFC after: 3 days
* Fix support for IPv6 nameservers.des2014-09-081-1/+1
| | | | | | PR: 188931 Submitted by: Takefu <takefu@airport.fm> MFC after: 3 days
* - Make hhook_run_socket() vnet-aware instead of adding CURVNET_SET() aroundhrs2014-09-081-31/+20
| | | | | | | | the function calls. - Fix a memory leak and stats in the case that hhook_run_socket() fails in soalloc(). PR: 193265
* pause_sbt(): Take the cold path (ie. use DELAY()) if KDB is activedumbbell2014-09-081-1/+1
| | | | | | | | | | This fixes a panic in the i915 driver when one uses debug.kdb.enter=1 under vt(4). PR: 193269 Reported by: emaste@ Submitted by: avg@ MFC after: 3 days
* Use __DECONST to avoid compiler warnings (and thus build failures)bz2014-09-081-2/+2
| | | | with gcc on sparc64, mips, and powerpc after r271173.
* vt(4): Change the terminal and buffer sizes, even without a fontdumbbell2014-09-081-24/+35
| | | | | | | | | | | | | | | | | | | | | | This fixes a bug where scroll lock would not work for tty #0 when using vt_vga's textmode. The reason was that this window is created with a static 256x100 buffer, larger than the real size of 80x25. Now, in vt_change_font() and vt_compute_drawable_area(), we still perform operations even of the window has no font loaded (this is the case in textmode here vw->vw_font == NULL). One of these operation resizes the buffer accordingly. In vt_compute_drawable_area(), we take the terminal size as is (ie. 80x25) for the drawable area. The font argument to vt_set_border() is removed (it was never used) and the code now uses the computed drawable area instead of re-doing its own calculation. Reported by: Harald Schmalzbauer <h.schmalzbauer_omnilan.de> Tested by: Harald Schmalzbauer <h.schmalzbauer_omnilan.de> MFC after: 3 days
* Implement htprotmode handling.adrian2014-09-081-3/+6
| | | | | | | | | This is separate to 11g protection - the default is to RTS protect 11n frames, including A-MPDU frames. Tested: * Intel 5100, STA mode
* Temporarily remove the warning added r270781 - it prints the warningpeter2014-09-081-2/+0
| | | | | regardless of whether the usage is correct or not and this generates a LOT of noise, even when you have specified a mask.
* (more) correctly account TX completion status for A-MPDU session frames.adrian2014-09-081-26/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rules turn out to be: * for non-aggregation session TX queues - it's either sent or not sent. * for aggregation session TX queues - if nframes=1, then the status reflects the completed transmission. * however, for nframes > 1, then this is just a status reflecting what the initial transmission did. The compressed BA (immediate or delayed) may not have yet been received, so the actual frame status is in the compressed BA updates. Whilst here, I fiddled with debugging and formatting a bit. There's also RTS attempts (what the atheros chips call "short retries") which weren't being logged and they aren't yet being used in the rate control statistics updates. For now, at least log them. TODO: * This still isn't 100% correct! So I have to tinker with this some more. (The failures aren't always failures..) * Extend the rate control API in net80211 so it can take both short and long retry counts. Tested: * Intel 5100, STA mode
* Bring over some more status codes from the Linux iwlwifi driver.adrian2014-09-081-12/+91
| | | | | | | | | | The (eventual) intention is to create MIB counters for transmitted frame completion to count how many packets with each status are transmitted. Note the difference between A-MPDU and non A-MPDU status. Obtained from: Linux iwlwifi/dvm driver
* Silence a bmake(1) warning in the gif(4) module buildgjb2014-09-081-1/+1
| | | | | | | when built with WITHOUT_INET6. LGTM: sbruno Sponsored by: The FreeBSD Foundation
* Oops. vm_map_simplify_entry() is used by mac_proc_vm_revoke_recurse(), soalc2014-09-082-2/+2
| | | | it can't be static.
* Make two functions static and eliminate an unused #define.alc2014-09-082-7/+6
|
* Include src.opts.mk after SHLIBDIR has been defined so libnv is installed tongie2014-09-071-1/+2
| | | | | | | | | | /lib , not /usr/lib MFC after: 3 days Approved by: rpaulo (mentor) Submitted by: antoine Pointyhat to: me Phabric: D739
* When entering the kernel with the MMU off assume we are running from aandrew2014-09-071-5/+2
| | | | | | | | va == pa map. I'm not sure the code would work if we are not running from the identity map as the ARM core may attempt to read the next instruction from an invalid memory location.
* Remove redundant kern conf entries that are inherited via includesbruno2014-09-072-7/+1
| | | | Move cfg to spi1 as that's where it is located from the factory
* Remove Lvirtaddr and Lphysaddr, these don't appear to be used.andrew2014-09-071-4/+0
|
* Generalise the va to pa code and use it when starting secondary coresandrew2014-09-071-23/+43
| | | | | Reviewed by: ian@, rpaulo@ Differential Revision: https://reviews.freebsd.org/D736
* Address warnings generated by the clang analyzer.tuexen2014-09-073-5/+4
| | | | MFC after: 1 week
* Address another warnings reported by Patrick Laimbock when compilingtuexen2014-09-072-29/+15
| | | | | | in userspace. While there, improve consistency. MFC after: 1 week
* MFV r271225:delphij2014-09-071-17/+18
| | | | | | | | | | | | Iterate through all the children instead of returning error when we hit the first error. This makes the error message give more information rather than just the first device that causes problem. Illumos issue: 5118 When verifying or creating a storage pool, error messages only show one device MFC after: 2 weeks
* MFV r271223:delphij2014-09-071-5/+5
| | | | | | | | | | In dnode_sync(), do dnode_increase_indirection() before processing the dn_next_nblkptr. Illumos issue: 5117 space map reallocation can cause corruption MFC after: 3 days
* Fix typo.delphij2014-09-071-1/+1
| | | | | Submitted by: Dmitry Morozovsky <marck rinet ru> MFC after: 3 days
* Use union sctp_sockstore instead of struct sockaddr_storage. Thistuexen2014-09-078-111/+79
| | | | | | | | | eliminiates some warnings when building in userland. Thanks to Patrick Laimbock for reporting this issue. Remove also some unnecessary casts. There should be no functional change. MFC after: 1 week
* Create a common i.MX53 config and use it with the two existing i.MX53andrew2014-09-073-297/+179
| | | | | | | | | | boards. This is just intended to split the common config entries out, further cleanup is expected. Reviewed by: ian@, rpaulo@ (earlier version) Differential Revision: https://reviews.freebsd.org/D731
* Use SYSCTL_PROC instead of SYSCTL_VNET_PROC.tuexen2014-09-071-9/+9
| | | | | Suggested by: glebius@ MFC after: 1 week
* Update mixer description for FastTrackPro.hselasky2014-09-071-2/+2
| | | | MFC after: 3 days
* style(9)glebius2014-09-071-4/+3
|
* Fix for r271182.glebius2014-09-071-4/+6
| | | | | Submitted by: mjg Pointy hat to: me, submitter and everyone who urged me to commit
* Implement local sfbuf_map and sfbuf_unmap for MIPS32.adrian2014-09-062-0/+20
| | | | | | | The pre-rework behaviour was not to keep the cached mappings around after the sfbuf was used but instead to recycle said mappings. PR: kern/193400
* Fix a leak of an address, if the address is scheduled for removaltuexen2014-09-061-0/+3
| | | | | | | | and the stack is torn down. Thanks to Peter Bostroem and Jiayang Liu from Google for reporting the issue. MFC after: 1 week
* Add a define for index of IA32_XSS MSR, which is, per SDM rev. 50, ankib2014-09-061-0/+2
| | | | | | | analog of XCR0 for ring 0 FPU state, used by XSAVES and XRSTORS. Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Save one register read (AHCI_IS) for AHCI controllers with only one port.mav2014-09-061-1/+3
| | | | | | | | For controllers with only one port (like PCIe or M.2 SSDs) interrupt can come from only one source, and skipping read saves few percents of CPU time. MFC after: 1 month H/W donated by: I/O Switch
* SDM rev. 50 defines the use of the next 8 bytes in the xstate header.kib2014-09-061-1/+3
| | | | | | | | | | It is the compaction bitmask, with the highest bit defining if compact format of the xsave area is used at all. Adjust the definition of struct xstate_hdr, provide define for bit 63. Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Fix the handling of sysctl variables when used with VIMAGE.tuexen2014-09-064-501/+188
| | | | | | While there do some cleanup of the code. MFC after: 1 week
* When registering an association between a device and an xref phandle, createian2014-09-061-10/+45
| | | | | | | | | | | | | | | | | | | an entry in the xref list if one doesn't already exist for the given handle. On a system that uses phandle properties, the init-time scan of the tree which builds the xref list will pre-create entries for every xref handle that exists in the data. On systems where the xref and node handles are synonymous there is no phandle property in referenced nodes, and the xref list will initialize to an empty state. In the latter case, we still need to be able to associate a device_t with an xref handle, so we create list entries on the fly as needed. Since the node and xref handles are synonymous, we have all the info needed to create a list entry at device registration time. The downside to this change is that it basically allows on the fly creation of xref handles as synonyms of node handles, and the association of a device_t with them. Whether this is a bug or a feature is in the eye of the beholder, I guess.
* Restore order of interrupt setup. Minor problems can result byimp2014-09-062-7/+9
| | | | | | | setting up the interrupts too early: Reviewed by: mav@ Sponsored by: Netflix
* o Remove __unused attribute on variables which actually usedbr2014-09-062-33/+24
| | | | | | | | | o Unmagic 'configuration done' bit o Move probe() to place before attach() for better navigation o Use bus_read_n instead of bus_space_read_n functions Pointed out by: andrew Sponsored by: DARPA, AFRL
* Revert rr271190, it was based on a misunderstanding. The problem ofian2014-09-062-21/+5
| | | | | non-existant device<->xref info needs to be handled by creating the info, which will come in a subsequent commit.
* Fixthe spelling of ehciandrew2014-09-061-1/+1
|
OpenPOWER on IntegriCloud