summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Actually add c++filt's Makefileemaste2015-04-301-0/+17
| | | | | | Missed in r282285 Pointy hat to: emaste
* Don't require <sys/cpuset.h> to be always included before <machine/vmm.h>.neel2015-04-3014-20/+4
| | | | | | | Only a subset of source files that include <machine/vmm.h> need to use the APIs that require the inclusion of <sys/cpuset.h>. MFC after: 1 week
* Fix KASSERT introduced in r282155.melifaro2015-04-301-3/+4
| | | | Found by: dhw
* Add ELF Tool Chain's c++filt to the buildemaste2015-04-303-1/+8
| | | | | | Differential Revision: https://reviews.freebsd.org/D2408 Reviewed by: brooks, imp Sponsored by: The FreeBSD Foundation
* When an instruction cannot be decoded just return to userspace so bhyve(8)neel2015-04-301-2/+6
| | | | | | | can dump the instruction bytes. Requested by: grehan MFC after: 1 week
* Mark local function as static as a result of removing recursion.oshogbo2015-04-302-6/+2
| | | | Approved by: pjd (mentor)
* Rename macros to use prefix ERRNO. Add macro ERRNO_SET. Nowoshogbo2015-04-303-90/+94
| | | | | | | ERRNO_{RESTORE/SAVE} must by used together, additional variable is not needed. Always use ERRNO_{SAVE/RESTORE/SET} macros. Approved by: pjd (mentor)
* Advertise the MTRR feature via CPUID and emulate the minimal set of MTRR MSRs.neel2015-04-303-3/+38
| | | | | | | This is required for booting Windows guests. Reported by: Leon Dang (ldang@nahannisys.com) MFC after: 2 weeks
* Various fixes to the stats in igb(4), ixgbe(4), and ixl(4).jhb2015-04-303-6/+86
| | | | | | | | | | | | | | | | | | | - Use hardware counters for ifnet stats in igb(4) when possible. This ensures these stats include packets that bypass the regular stack via netmap. - Don't derefence values off the end of the igb(4) VF stats structure. Instead, add a dedicated if_get_counter method for igb(4) VF interfaces. - Report missed packets on igb(4) as input queue drops rather than an input error. - Report bug_ring drop counts as output queue drops for igb(4) and ixgbe(4). - Export the buf_ring drop stats for individual rings via sysctl on ixgbe(4). - Fix a typo that in ixl(4) that caused output queue drops to be reported as input queue drops and input queue drops to be unreported. Differential Revision: https://reviews.freebsd.org/D2402 Reviewed by: jfv, rstone (6) Sponsored by: Norse Corp, Inc.
* Remove leftover from r282269.jkim2015-04-303-16/+5
| | | | | MFC after: 2 weeks X-MFC with: r282269
* Move the SIFTR DTrace probe out of the writing thread contextgnn2015-04-301-1/+2
| | | | and directly into the place where the data is collected.
* Remove support for Xen PV domU kernels. Support for HVM domU kernelsjhb2015-04-3062-10628/+90
| | | | | | | | | | | | | | | | | | | | | remains. Xen is planning to phase out support for PV upstream since it is harder to maintain and has more overhead. Modern x86 CPUs include virtualization extensions that support HVM guests instead of PV guests. In addition, the PV code was i386 only and not as well maintained recently as the HVM code. - Remove the i386-only NATIVE option that was used to disable certain components for PV kernels. These components are now standard as they are on amd64. - Remove !XENHVM bits from PV drivers. - Remove various shims required for XEN (e.g. PT_UPDATES_FLUSH, LOAD_CR3, etc.) - Remove duplicate copy of <xen/features.h>. - Remove unused, i386-only xenstored.h. Differential Revision: https://reviews.freebsd.org/D2362 Reviewed by: royger Tested by: royger (i386/amd64 HVM domU and amd64 PVH dom0) Relnotes: yes
* Update this page to note that XENHVM now works on i386. (It shippedjhb2015-04-301-6/+3
| | | | | | | enabled in GENERIC in 10.0.) Reviewed by: royger (earlier version) MFC after: 1 week
* Remove oldnfs remnants from nfsd(8).trasz2015-04-302-120/+60
| | | | | Reviewed by: rmacklem@ Sponsored by: The FreeBSD Foundation
* atkbd: remove usage of x86biosroyger2015-04-301-54/+17
| | | | | | | | | | Instead of trying to get the keyboard repeat rate set by the BIOS just set a default one. This allows removing the usage of x86bios from atkbd. Sponsored by: Citrix Systems R&D Reviewed by: jkim, delphij Differential Revision: https://reviews.freebsd.org/D2399 MFC after: 2 weeks
* Also happened to miss this in r282264.jhibbits2015-04-301-3/+4
|
* Missed ofw_machdep.c in r282264.jhibbits2015-04-301-7/+16
|
* - Disable usb aggregation mode by default since it boots performancekevlo2015-04-301-7/+7
| | | | | | | - Minor tweak PR: 199718 Submitted by: Mikhail <mp39590 at gmail dot com>
* Setting PATH to anything is useless as a bare command. Its only relevantsbruno2015-04-301-2/+2
| | | | | | | | | if its set in the environement of each command seperately. Move the PATH setting to the NXBMAKE variable so its picked up to find the one-off gperf build for the native-xtools target. Pointed Out by: ngie
* Unify booke and AIM machdep.jhibbits2015-04-307-698/+531
| | | | | | | | | | | | Much of the code was common to begin with. There is one nit, which is likely not an issue at all. With the old code, the AIM machdep would __syncicache() the entire kernel core at setup. However, in the unified setup, that seems to hang on the MPC7455, perhaps because it's running later than before. Removing this allows it to boot just fine. Examining the code, the FreeBSD loader already does syncicache of the full kernel, and each module loaded, so this doesn't appear to be an actual problem. Initial code by Nathan Whitehorn.
* Phabricator: enable "history.immutable":eadler2015-04-301-1/+2
| | | | | | | | With certain arc workflows leaving history.immutable as false results in using the upstream template instead of our usual commit template. Since the git workflow issues alluded to in my prior commit message can be worked around, set history.immutable once again.
* Fix native-xtools breakage when building a gcc enabled target on a clangsbruno2015-04-301-0/+15
| | | | | | | | enabled host. Build a one-off gperf and put it in the PATH for the rest of the target so the ONE call to gperf by the gcc build picks it up and DTRT. Reviewed by: imp
* Re-implement RTC current time calculation to eliminate the possibility ofneel2015-04-291-21/+32
| | | | | | | | | | | | losing time. The problem with the earlier implementation was that the uptime value used by 'vrtc_curtime()' could be different than the uptime value when 'vrtc_time_update()' actually updated 'base_uptime'. Fix this by calculating and updating the (rtctime, uptime) tuple together. MFC after: 2 weeks
* Save errno from close override.oshogbo2015-04-292-1/+7
| | | | Approved by: pjd (mentor)
* Remove the nvlist_.*[fv] functions.oshogbo2015-04-296-1233/+59
| | | | | | | | | | | | | | | | Those functions are problematic, because there is no way to report memory allocation problems without complicating the API, so we can either abort or potentially return invalid results. None of which is acceptable. In most cases the caller knows the size of the name, so he can allocate buffer on the stack and use snprintf(3) to prepare the name. After some discussion the conclusion is to removed those functions, which also simplifies the API. Discussed with: pjd, rstone Approved by: pjd (mentor)
* Bump __FreeBSD_version for smb(4) changes in r281985grembo2015-04-291-1/+1
| | | | | | Differential Revision: https://reviews.freebsd.org/D2398 Reviewed by: bapt, flo Approved by: bapt, flo
* Obsolute /usr/bin/gperf for non-gcc enabled targets.sbruno2015-04-291-0/+4
| | | | | | Leave it as valid for mips/sparc64 gcc enabled targets. Reviewed by: imp@
* Remove the use of nvlist_.*[fv] functions from tests.oshogbo2015-04-292-48/+24
| | | | Approved by: pjd (mentor)
* Remove the use of nvlist_.*[vf] functions from casper and replaceoshogbo2015-04-292-8/+22
| | | | | | them with snprintf(3). Assert the results of snprintf(3). Approved by: pjd (mentor)
* Remove the use of nvlist_.*[vf] functions from libcapsicum and replaceoshogbo2015-04-293-20/+59
| | | | | | them with snprintf(3). Assert the results of snprintf(3). Approved by: pjd (mentor)
* Remove recursion from descriptor-related functions.oshogbo2015-04-291-38/+37
| | | | Approved by: pjd (mentor)
* Nvlist functionality is not used within interrupt context, so we shouldoshogbo2015-04-291-3/+3
| | | | | | use M_WAITOK to allocate memory. Approved by: pjd (mentor)
* Always use the nv_malloc macro instead of malloc(3).oshogbo2015-04-291-2/+2
| | | | Approved by: pjd (mentor)
* Style fixes.oshogbo2015-04-292-14/+24
| | | | Approved by: pjd (mentor)
* vt: fix vt_fb_bitblt_bitmap mask corruptionemaste2015-04-291-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 Differential Revision: https://reviews.freebsd.org/D2360
* Revert r281889:pfg2015-04-291-4/+0
| | | | | | | | The change would appease the static analyzers but it is pretty much a no-op. I need to trust static analyzers much less, especially for the kernel. Requested by: jkim
* Remove the #ifdef DEBUG code, which is not compilable on 64bitkib2015-04-291-14/+0
| | | | | | | | architectures. It seems to be an overlooked chunk in the r15645. PR: 199767 Sponsored by: The FreeBSD Foundation MFC after: 1 week
* Fix typo. It should have been atf_tc_skip, not atf_skipngie2015-04-291-1/+1
| | | | | | Reported by: many, Jenkins Pointyhat to: ngie MFC after: 4 days
* Brief demo script showing the various values that can be read via the new ↵gnn2015-04-291-0/+68
| | | | | | SIFTR statically defined tracepoint (SDT). Reviewed by: bz, markj
* Don't free mbufs when stopping an interface in netmap mode.jhb2015-04-291-0/+5
| | | | | | | | | | | | | | | | | | | | | Currently if you ifconfig down a vtnet interface while it is being used via netmap, the kernel panics due to trying to treat the cookie values in the virtio rings as mbufs to be freed. When netmap is enabled, these cookie values are pointers to something else. Note that other netmap-aware drivers don't seem to need this as they store the mbuf pointers in the software rings that mirror the hardware descriptor rings, and since netmap doesn't touch those, the software state always has NULL mbuf pointers causing the loops to free mbufs to not do anything. However, vtnet reuses the same state area for both netmap and non-netmap mode, so it needs to explicitly avoid looking at the rings and treating the cookie values as mbufs if netmap is enabled. Differential Revision: https://reviews.freebsd.org/D2348 Reviewed by: adrian, bryanv, luigi MFC after: 1 week Sponsored by: Norse Corp, Inc.
* Brief demo script showing the various values that can be read viagnn2015-04-294-0/+84
| | | | | | | the new SIFTR statically defined tracepoint (SDT). Differential Revision: https://reviews.freebsd.org/D2387 Reviewed by: bz, markj
* Revert r282227. It is clearly incorrect as it frees an object that is stillscottl2015-04-291-3/+0
| | | | | | | | referenced. I think that there does exist an unlikely edge case for a memory leak, but only if a driver is incorrectly written and specifies no valid range of targets to scan. That can be fixed in a follow-up commit. Obtained from: Netflix, Inc.
* Remove spurious period.trasz2015-04-291-1/+1
| | | | | MFC after: 1 month Sponsored by: International OCD Foun^W^W^WThe FreeBSD Foundation
* Fix typobrd2015-04-291-1/+1
|
* Make rctl(8) more user-friendly when RACCT/RCTL is disabled for some reason.trasz2015-04-291-5/+42
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Fix mis usage of ms(7) macrosbapt2015-04-291-2/+2
| | | | Submitted by: heirloom doctools upstream
* Document r280297, OpenSSL updated to version 1.0.1m.gjb2015-04-291-3/+3
| | | | Sponsored by: The FreeBSD Foundation
* Improve support for blacklisting bad memory locations. The user can supplyscottl2015-04-292-25/+163
| | | | | | | | | | | | | | | | | a text file with a list of physical memory addresses to exclude, and have it loaded at boot time via the provided example in loader.conf. The tunable 'vm.blacklist' remains, but using an external file means that there's no practical limit to the size of the list. This change also improves the scanning algorithm for processing the list, scanning the list only once instead of scanning it for every page in the system. Both the sysctl and the file can be unsorted and contain duplicates so long as each entry is numeric (decimal or hex) and is separated by a space, comma, or newline character. The sysctl 'vm.page_blacklist' is now provided to report what memory locations were successfully excluded. Reviewed by: imp, emax Obtained from: Netflix, Inc. MFC after: 3 days
* Fix memory leak in scsi_scan_bus()pfg2015-04-291-0/+3
| | | | | CID: 1007770 PR: 199671
* Plug memory leaks in kbdmux(4) (take 2)pfg2015-04-291-0/+4
| | | | | | | | | | | | This is a fix to the previous attempt in r281889, which some (most?) keyboards. Discussed with: emaste, jkim Found by: clang static analyzer CID: 1007072 CID: 1007073 CID: 1007074
OpenPOWER on IntegriCloud