summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* remove unused code (building older releases should use theluigi2014-05-231-67/+8
| | | | picobsd file in the release itself)
* add libraries to the initial build for picobsd.luigi2014-05-231-2/+7
| | | | | | add a -j option so we can tune the amount of parallel make, the default we used (-j 8) is large and was giving problems with SUBDIR_PARALLEL due to some missing dependencies.
* Add emulation of the "outsb" instruction. NetBSD guests use this to write toneel2014-05-2311-80/+509
| | | | | | | | | | | | the UART FIFO. The emulation is constrained in a number of ways: 64-bit only, doesn't check for all exception conditions, limited to i/o ports emulated in userspace. Some of these constraints will be relaxed in followup commits. Requested by: grehan Reviewed by: tychon (partially and a much earlier version)
* A Centos 6.4 guest will write 0xff to the 8259 mask register before beginningneel2014-05-231-0/+1
| | | | | | | | | | the proper ICWx initialization sequence. It assumes, probably correctly, that the boot firmware has done the 8259 initialization. Since grub-bhyve does not initialize the 8259 this write to the mask register takes a code path in which 'error' remains uninitialized (ready=0,icw_num=0). Fix this by initializing 'error' at the start of the function.
* cxgbe(4): Remove stray if_up from the code that creates the tracing ifnet.np2014-05-231-1/+0
|
* Remove NetBSD implementation details not relevant to FreeBSD.imp2014-05-231-8/+0
|
* Minor style nits...imp2014-05-231-2/+2
|
* Fix the comment. This really isn't just a 4.x compatibility thing, butimp2014-05-231-2/+1
| | | | is used pervasively through our tree, making it really part of the API.
* When libelf and libdwarf were updated, we didn't bump the minimalimp2014-05-231-3/+2
| | | | | version needed for CTF tools, so sometimes we'd use the host's CTF tools that didn't work. Be sure to bootstrap in that case.
* Add .../share/mk to the default system make path. This will fix theimp2014-05-231-1/+0
| | | | | | | | | | problem with broken in-tree builds (which are used far more pervasively than I'd known outside the tree). However, weird results may now happen if at any point in the tree above you there happens to be a directory that has subdirectory of share/mk, as unpredictable results will follow. This was considered the lessor of the two evils, at least for now. In the future this will be removed again when the underlying issues are resolved.
* Map device memory using PTE_DEVICE attributes, and also ensure that theian2014-05-221-8/+10
| | | | | | | | | | | shared flag is set on normal-memory mappings made via pmap_kenter() for SMP. The "shared flag" part of this change isn't obvious from the diff, here's the deal... by using the array of preformatted page table entry templates instead of constructing the PTE from scratch, we automatically get the right attribute bits set for both caching and shared. MFC after: 1 week
* Create our temporary file in $TMPDIR, if the environment variablemarcel2014-05-222-2/+15
| | | | | | is set. /tmp otherwise. Submitted by: Dan McGregor <danismostlikely@gmail.com>
* Fix syntax error thrown at the point of creating the root pool, caused bydteske2014-05-221-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 after: 7 days X-MFC-with: r266107-266109
* Disable the main FreeBSD pkg(7) repositories in the dvdgjb2014-05-221-0/+4
| | | | | | | | repository configuration to avoid fetching from upstream in case there may be conflicts. MFC After: 3 days Sponsored by: The FreeBSD Foundation
* Add forward-compatibility glue with pkg-1.3:gjb2014-05-221-2/+5
| | | | | | | | | | | | | | - Use ASSUME_ALWAYS_YES=YES instead of ASSUME_ALWAYS_YES=1 since pkg-1.3 expects "yes" or "true" values. - Before exporting PKG_ABI, strip extra characters from what is parsed from 'pkg -vv'. This causes problems further down when creating the packages directory for inclusion on the dvd1.iso. Previously PKG_ABI would be 'freebsd:9:x86:64', but now is '"freebsd:9:x86:64";' in pkg-1.3 Tested on: stable/9@r265858 with ports-mgmt/pkg-devel MFC After: 3 days Sponsored by: The FreeBSD Foundation
* Don't permit users to request a subset of the AVX512 or MPX xsave masks.jhb2014-05-221-0/+4
| | | | | | | | These masks are documented in the Intel Architecture Instruction Set Extensions Programming Reference (March 2014). Reviewed by: kib MFC after: 1 month
* Whitespace fix.jhb2014-05-221-3/+3
| | | | Submitted by: kib
* Allow vmx_getdesc() and vmx_setdesc() to be called for a vcpu that is in theneel2014-05-223-10/+24
| | | | | VCPU_RUNNING state. This will let the VMX exit handler inspect the vcpu's segment descriptors without having to exit the critical section.
* Don't delete our new vt(4) man page.truckman2014-05-221-1/+0
| | | | X-MFC-With: r265798
* Make iwn(4) able to get itself back into working condition aftertrasz2014-05-222-2/+52
| | | | | | | | | "fatal firmware error" happens. Previously it was neccessary to reset it manually, using "/etc/rc.d/netif restart". Approved by: adrian@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Erm, revert r266544; wrong tree.trasz2014-05-221-54/+2
|
* Make iwn(4) able to get itself back into working condition aftertrasz2014-05-221-2/+54
| | | | | | | | | "fatal firmware error" happens. Previously it was neccessary to reset it manually, using "/etc/rc.d/netif restart". Approved by: adrian@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
* fix picobsd cross builds on stable/10luigi2014-05-221-0/+2
|
* - Give firmware loading more time.hselasky2014-05-221-2/+2
| | | | MFC after: 3 days
* - Fix a bug where the TLBPC value was forced to being odd for INhselasky2014-05-221-11/+5
| | | | | | | | | | direction isochronous transfers. - Remove setting of fields which does not belong to the respective TRBs. These fields are currently set as zero and this is more a cosmetic change. MFC after: 3 days Submitted by: Horse Ma <HMa@wyse.com>
* Proper fix of VT_LOCKSWITCH ioctl.ray2014-05-221-2/+2
| | | | Sponsored by: The FreeBSD Foundation
* Rollback r266496.ray2014-05-221-2/+2
| | | | | | | Different meaning of flags for lock(1) and vidcontrol(1) confuse me. Pointy hat to: ray Sponsored by: The FreeBSD Foundation
* Make ng_mppc to not disable the node in case of multiple packet loss.mav2014-05-221-4/+33
| | | | | | | | | Quite often it can be just packet reorder, and killing link in such case is inconvenient. Add few sysctl's to control that behavior. PR: kern/182212 Submitted by: Eugene Grosbein <egrosbein@rdtc.ru> MFC after: 2 weeks
* Use CPU_FIRST() / CPU_NEXT() to iterate over the valid CPU IDs.adrian2014-05-221-4/+6
|
* Use NG_WAITOK as ng_package_msg() argument instead of M_WAITOK.mav2014-05-221-1/+1
| | | | Submitted by: Dmitry Luhtionov <dmitryluhtionov@gmail.com>
* - Stop transfers when RSU init fails.hselasky2014-05-221-26/+41
| | | | | | | | - Make sure TX/RX lists don't leak and are only allocated once. - Fix off-by one transfer index computation. - Give firmware loading more time. MFC after: 3 days
* Fix build: Build libavl as prebuild-lib.delphij2014-05-221-0/+2
| | | | X-MFC-With: 266520
* Improve sysctl descriptions for new ZFS sysctls:allanjude2014-05-221-4/+4
| | | | | | | | | vfs.zfs.dirty_data_max vfs.zfs.dirty_data_max_max vfs.zfs.dirty_data_sync Reviewed by: smh Approved by: wblock (mentor)
* imagact_binmisc builds for all supported architectures, so enable it for all.jhibbits2014-05-2210-12/+6
| | | | | | | Any bugs in execution will be dealt with as they crop up. MFC after: 3 weeks Relnotes: Yes
* Note merge to head for sendmail 8.14.9.gshapiro2014-05-221-1/+1
| | | | MFC after: 3 days
* Minor changes to force commit these files so new freebsd*.cf files aregshapiro2014-05-222-2/+0
| | | | | | built to use the new sendmail-8.14.9/cf tree. MFC after: 3 days
* Update for sendmail 8.14.9 importgshapiro2014-05-221-2/+2
| | | | MFC after: 3 days
* Merge sendmail 8.14.9 to HEADgshapiro2014-05-22547-584/+593
| | | | MFC after: 3 days
* Inject page fault into the guest if the page table walker detects an invalidneel2014-05-224-25/+82
| | | | translation for the guest linear address.
* Explicitly link libzfs against libavl as it is done in OpenSolarisdelphij2014-05-221-2/+2
| | | | | | | | | | | | | (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: java/183081 Tested by: jkim MFC after: 3 days
* Remove duplicate:sbruno2014-05-211-1/+0
| | | | option AH_DEBUG_ALQ
* "%p" formatting already includes "0x" prefix in printout.hselasky2014-05-211-2/+2
|
* Fix CID 1204379 (vtoc8.c) & CID 1204380 (bsd.c): Cast ncyls to lba_tmarcel2014-05-212-2/+2
| | | | | before multiplying the 32-bit integrals to avoid any possibility of truncation before widening. Not a likely scenario to begin with...
* Fix CID 1204394: Use strncpy(3) instead of strcpy(3). Note that it'smarcel2014-05-211-4/+6
| | | | ok to not have the name and type strings terminated.
* Fix CID 1215124: Handle errors properly.marcel2014-05-211-1/+5
|
* Fix CID 1215125: fstat(2) returns -1 on error and sets errno. It doesmarcel2014-05-211-4/+2
| | | | not return the error (oops).
* Fix CID 1215128: Free the allocated buf when image_set_size()marcel2014-05-211-1/+3
| | | | returns and error and we return from bsd_write().
* Fix CID 1215129: move the call to lseek(2) before the call to malloc(3)marcel2014-05-211-2/+2
| | | | | so that the error path (taken due to lseek(2) failing) isn't leaking memory.
* Implement interrupt endpoint methods for host mode transfers.hselasky2014-05-212-1/+194
| | | | Sponsored by: DARPA, AFRL
* - Split transmit queue into one for each type. Apparently there willhselasky2014-05-212-105/+94
| | | | | | | | | | | be a race when using a single active queue for all transmit types. - Last argument of usb_pause_mtx() is ticks and not milliseconds. - Remove unused watchdog. - Remove some unused fields from the RSU softc structure. - Workaround usbd_transfer_start() recursion from inside of completion callback. MFC after: 3 days
OpenPOWER on IntegriCloud