summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* MFC r271493,271688,271689,271696,271854:delphij2014-09-2529-103/+3108
| | | | | | | | | | | | Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft, many thanks for their continued support of FreeBSD. While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary. The HyperV utilities are only built for i386 and amd64 targets. Approved by: re (gjb)
* MFC r271259:trasz2014-09-251-9/+0
| | | | | | | | | Make it possible to use empty user name ("-U ''") for mount_smbfs(8). 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". Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* MFC r271258:trasz2014-09-251-1/+8
| | | | | | | | | | Make mount_smbfs(8) preserve the "automounted" mount flag. 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. Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* MFC r272037:trasz2014-09-251-1/+11
| | | | | | | | | | | | | Fix thinko that, with two map entries like shown below, in that order, made automountd(8) mix them up: trying to access the second one would trigger mount for the first one. foo host:/foo foobar host:/foobar PR: 193584 Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* MFC r272025:trasz2014-09-251-0/+2
| | | | | | | | | | | | Fix thinko that, with two map entries like shown below, in that order, made autofs mix them up: the second one wasn't visible in ls(1) output, and trying to access it would trigger mount for the first one. foobar host:/foobar foo host:/foo Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* Document r271947, OpenPAM updated to Ourouparia (20140912).gjb2014-09-251-0/+3
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Document r271943, Latest/pkg.txz symlink included on the DVD togjb2014-09-251-0/+13
| | | | | | | make bootstrapping pkg(8) easier. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Document r271880, serial and null console support added to UEFIgjb2014-09-251-0/+4
| | | | | | | boot loader. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* MFC r271958:se2014-09-251-1/+1
| | | | | | | | Permit use of "no" as specification of a Norwegian keymap file. Only "keymap=NO" (the default in defaults/rc.conf) or "keymap=" (an empty value) will prevent loading of a keymap file. Approved by: re (gjb)
* MFC r268981ray2014-09-251-31/+0
| | | | | | | | | Remove #ifdef-s to reduce difference to upstream. Pointed by: kib Approved by: re (glebius) Sponsored by: The FreeBSD Foundation
* MFC r271957: Fix read overrun handling, broken by using wrong variable.mav2014-09-251-3/+3
| | | | Approved by: re (marius)
* MFC r271949:mav2014-09-251-10/+24
| | | | | | Fix UNMAP stuck if the last block descriptor in the list is empty. Approved by: re (glebius)
* MFC r271953:hselasky2014-09-251-1/+8
| | | | | | | Some XHCI hardware requires dropping the endpoint context before adding it again. Approved by: re, glebius
* MFC r269392: Add /usr/lib32/compat to the default ld-elf32.so.1 path.peter2014-09-241-1/+2
| | | | Approved by: re (gjb, delphij)
* MFC r271934:smh2014-09-241-3/+8
| | | | | | | | Output boot code warning when zpool upgrade -a is used to add features. PR: 188328 Approved by: re (marius) Sponsored by: Multiplay
* MFC r271447, r271496rodrigc2014-09-241-4/+15
| | | | | | | - Attach the ISO to an ahci-cd emulated device - Propagate the error status of /usr/sbin/bhyve Approved by:re (delphij)
* MFC r271429, r271882:smh2014-09-234-1/+191
| | | | | | | Add support for controlling mfi(4) controller properties Approved by: re (glebius) Sponsored by: Multiplay
* MFC 271881: Fix partition alignment and image rounding when any ofmarcel2014-09-2310-54/+54
| | | | | | -P (block size), -T (track size) or -H (number of heads) is given. Approved by: re@ (gjb)
* This is a direct commit rather than an MFC of r271744.bz2014-09-2310-27/+122
| | | | | | | | Re-gen after r272020 (r271743 in head) implementing most of timer_{create,settime,gettime,getoverrun,delete}. Approved by: re (gjb) Sponsored by: DARPA/AFRL
* MFC r271743:bz2014-09-2312-42/+301
| | | | | | | | | | | | | | | Implement most of timer_{create,settime,gettime,getoverrun,delete} for amd64/linux32. Fix the entirely bogus (untested) version from r161310 for i386/linux using the same shared code in compat/linux. It is unclear to me if we could support more clock mappings but the current set allows me to successfully run commercial 32bit linux software under linuxolator on amd64. Reviewed by: jhb Differential Revision: D784 Sponsored by: DARPA, AFRL Approved by: re (gjb)
* Document r272006, GEOM_ELI passphrase caching on boot with multiplegjb2014-09-231-0/+9
| | | | | | | providers. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Document r271967, mkimg(1) empty partition support.gjb2014-09-231-0/+3
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Add sponsor attribution for r271470gjb2014-09-231-3/+3
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Document r271816, drm/i915 HW context support.gjb2014-09-231-0/+5
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* Document r271470, addition of BIOS- and UEFI-capable CDROM images.gjb2014-09-231-0/+6
| | | | | Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
* MFC r271664:cperciva2014-09-231-7/+38
| | | | | | | | | Cache GELI passphrases entered at the console during the boot process, in order to improve user-friendliness when a system has multiple disks encrypted using the same passphrase. Relnotes: yes Approved by: re (gjb)
* MFC r271728davidcs2014-09-221-3/+12
| | | | | | For ECORE_DBG_BREAK_IF() ECORE_BUG() ECORE_BUG_ON() check bxe_debug flag before printing error message. Approved by: re(gjb)
* MFC r271727davidcs2014-09-221-5/+0
| | | | | | remove clean option from Makefile Approved by: re(gjb)
* MFC 270850,271053,271192,271717:jhb2014-09-2212-98/+105
| | | | | | | | | | | | Save and restore FPU state across suspend and resume on i386. - Create a separate structure for per-CPU state saved across suspend and resume that is a superset of a pcb. - Store the FPU state for suspend and resume in the new structure (for amd64, this moves it out of the PCB) - On both i386 and amd64, all of the FPU suspend/resume handling is now done in C. Approved by: re (hrs)
* Make sure all memory updates are made visible before we let gomarcel2014-09-221-0/+2
| | | | | | | | | | | | | | of the thread in cpu_switch(). It's otherwise possible that on another CPU the thread continues from stale context data. Note that this is prominent on newer CPUs, like the Montecito, that really take advantage of the weak memory ordering. First generation Itanium 2 is not that aggressive and does not need this. This is a direct commit to stable/10. Approved by: re@ (gjb)
* Spelling, grammar and punctuation fixes.brueffer2014-09-221-4/+4
| | | | Approved by: re (gjb)
* MFC r271762: Switch to text mode in UEFI bootemaste2014-09-223-0/+274
| | | | | | | | | The loader previously failed to display on MacBooks and other systems where the UEFI firmware remained in graphics mode. Submitted by: Rafael Espindola Approved by: re
* MFC r271726davidcs2014-09-221-5/+0
| | | | | | remove clean option from Makefile Approved by: re(gjb)
* vt(4): Merge several bug fixes and improvementsdumbbell2014-09-223-139/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SVN revisions in this MFC: 271756 271758 271868 271871 271872 271899 Detailed commit list: r271756: vt(4): Fix out-of-bounds array access in VT_ACTIVATE ioctl handling CID: 1229964 r271758 vt(4): Use strncpy() to copy into a fixed-size buffer CID: 1230007 r271868: vt(4): Remove vt_buf->vb_dirtymask This structure and the associated functions were unused since the implementation of vd_bitblt_text_t callbacks. r271871: vt(4): Rewrite history scrolling It's now possible to scroll up the 500 hard-coded lines of history, not just a fraction of them. For instance, one can reach the top of the boot process. Sometimes, when scrolling or when changing the screen size (by changing the font or loading a KMS driver for instance), one could see the history cycling (old content appeared below latest lines). This is fixed. Now, when the resolution changes are more lines can be shown, the displayed area is adjusted so that, if the screen was filled with content before, it's filled with content after as well: more history is visible, instead of having blank lines below the previously visible content. r271872: vt(4): Remove superfluous word in comment Submitted by: brueffer@ r271899: Make gcc happy by initialising the variable only set in a couple of case statements without a default. Approved by: re (marius)
* MFC r271679:bz2014-09-222-71/+183
| | | | | | | | | | Merge atse(4) interrupt handling and race condition fixes from cheribsd. Obtained from: cheribsd Submitted by: rwatson, emaste Sponsored by: DARPA/AFRL Approved by: re (delphij)
* MFC 271482: Add support for adding empty partition entries.marcel2014-09-222-1/+29
| | | | | Relnotes: yes Approved by: re@ (gjb)
* MFC r271711:gjb2014-09-221-2/+2
| | | | | | | | Update the bhyve(8) manual to reflect that it is no longer considered 'experimental.' Approved by: re (delphij) Sponsored by: The FreeBSD Foundation
* MFC r271459:trasz2014-09-223-3/+3
| | | | | | | | | Fix ACL tests to correctly work with ZFS; previous version used wrong paths. PR: 191545 Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* MFC r271450:np2014-09-222-1/+91
| | | | | | cxgbe(4): knobs to enable/disable PAUSE frame based flow control. Approved by: re (glebius)
* MFC 271381-271382,271385,271463-271466,271485,271506ray2014-09-226-53/+145
| | | | | | | | | | | | | | | o Add sysctls to enable/disable potentially dengerous key combinations, like reboot/halt/debug. o Add support for most key combinations supported by syscons(4). o Some spelling fixes o Remove stray whitespaces. o Switch vt(4) to traditional behaviour with copy-paste same as syscons(4) do. o Fix stray char on paste. o Fix 'function declaration isn't a prototype' warning. o vt(4): Enclose vt_mouse_paste() prototype inside #ifndef SC_NO_CUTPASTE/#endif Approved by: re (gjb) Sponsored by: The FreeBSD Foundation
* MFH (r271624): Upgrade to OpenPAM Ourouparia.des2014-09-22103-8825/+8904
| | | | Approved by: re (gjb)
* MFC r271876:gjb2014-09-221-0/+6
| | | | | | | | | | | When populating the dvd/packages/ directory, create a symlink to All/pkg-*.txz in the Latest/ directory. This allows 'pkg bootstrap' to work out-of-box if the REPOS_DIR environment is properly set. Approved by: re (delphij) Sponsored by: The FreeBSD Foundation
* MFC r271797: Make kernel to update LUN size from the backing storagemav2014-09-211-1/+2
| | | | | | | | | on configuration reload also if that size was not specified in the new configuration. Previously it happened only if size was explicitly changed in config. Approved by: re (delphij)
* MFC r271794: When updating device media size use cached cdevsw pointer.mav2014-09-211-20/+20
| | | | | | | | | | Using pointer from the cdev directly is dangerous since we have no reference on it, and it may change any time. That caused panic if device has gone. While there, report capacity change only if it really changed. Approved by: re (dephij)
* MFC r271586:kib2014-09-211-10/+6
| | | | | | Fix mis-spelling of bits and types names in the vnode_pager_putpages(). Approved by: re (delphij)
* MFC r271716:kib2014-09-202-2/+4
| | | | | | | Presence of any VM_PROT bits in the permission argument on x86 implies that the entry is readable and valid. Approved by: re (gjb)
* MFC r271702:mav2014-09-201-2/+7
| | | | | | | | Fix tpc_create_token() introduced in r269497 to encode CREATOR LOGICAL UNIT DESCRIPTOR field as Identification Descriptor CSCD descriptor, not just as Identification Descriptor. Approved by: re (gjb)
* MFC r271700: Fix typo in defined ROD types in r269497.mav2014-09-201-5/+5
| | | | Approved by: re (gjb)
* MFC r271492:hselasky2014-09-201-3/+14
| | | | | | | | | | | | Workaround for receiving Voice Calls using the E1750 dongle from Huawei. It might appear as if the firmware is allocating memory blocks according to the USB transfer size and if there is initially a lot of data, like at the answering machine prompt, it simply dies without any apparent reason. The simple workaround for this is to force a zero length packet at hardware level after every 512 bytes of data. This will force the other side to use smaller memory blocks aswell. Approved by: re, gjb
* MFC r271475 by ambrisko:emaste2014-09-194-0/+25
| | | | | | Add support for serial and null console to UEFI boot loader. Approved by: re
OpenPOWER on IntegriCloud