M271135 139 9555 1833 188 150 484 366 712 268 167 257 212 646 149 451 348 145 137 260 460 313 730 139 161 318 175 173 221 317 385 119 187 134 382 153 251 195 1033 359 294 341 355 248 215 231 276 178 177 219 163 462 485 228 199 135 417 365 285 467 252 389 364 185 567 119 276 355 234 1092 645 216 768 403 365 284 287 255 1691 269 300 198 171 198 104 159 181 368 361 174 469 575 543 287 433 232 176 164 573 250 151 174 158 342 227 450 225 349 292 127 151 187 231 406 1129 286 265 997 213 426 320 291 199 189 256 335 364 206 165 200 544 240 199 228 219 248 361 220 215 224 225 K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T21:01:10.799335Z K 7 svn:log V 9458 MFC UEFI loader This MFC consists of the following SVN revisions: 258741 261568 261603 261668 263115 263117 263968 264078 264087 264088 264092 264095 264115 264132 264208 264261 264262 264263 264319 265028 265057 268974 Detailed commit messages: r258741: Note that libstand is 32-bit on amd64 and powerpc64 r261568: Build libstand as a 64-bit library on amd64 The 32-bit bootloaders now link against libstand.a in sys/boot/libstand32, so there is no need to force /usr/lib/libstand.a to be 32-bit. r261603: Don't force efi to a 32-bit build on amd64 r261668: Build libstand as a 64-bit library on ppc64 The 32-bit bootloaders now link against libstand.a in sys/boot/libstand32, so there is no need to force /usr/lib/libstand.a to be 32-bit. This is equivalent to r261568 for amd64. r263115: Add amd64 EFI headers r263117: Connect 64-bit boot ficl to the build It is not yet used, but this will ensure it doesn't get broken. r263968: Use EFI types for EFI values (silences warnings). EFI UINTN is actually a 64-bit type on 64-bit processors. r264078: Put each source file on a separate line This will simplify rebasing the amd64 UEFI patch set. r264087: Build boot/ficl as 64-bit library on amd64 The 32-bit bootloaders on amd64 now use the 32-bit version in ficl32, as is done with libstand32. The native 64-bit ficl will be used by the upcoming UEFI loader. r264088: Merge efilib changes from projects/uefi r247216: Add the ability for a device to have an "alias" handle. r247379: Fix network device registration. r247380: Adjust our load device when we boot from CD under UEFI. The process for booting from a CD under UEFI involves adding a FAT filesystem containing your loader code as an El Torito boot image. When UEFI detects this, it provides a block IO instance that points at the FAT filesystem as a child of the device that represents the CD itself. The problem being that the CD device is flagged as a "raw device" while the boot image is flagged as a "logical partition". The existing EFI partition code only looks for logical partitions and so the CD filesystem was rendered invisible. To fix this, check the type of each block IO device. If it's found to be a CD, and thus an El Torito boot image, look up its parent device and add that instead so that the loader will then load the kernel from the CD filesystem. This is done by using the handle for the boot filesystem as an alias. Something similar to this will be required for booting from other media as well as the loader will live in the EFI system partition, not on the partition containing the kernel. r247381: Remove a scatalogical debug printf that crept in. r264092: Add -fPIC for amd64 r264095: Support UEFI booting on amd64 via loader.efi This is largely the work from the projects/uefi branch, with some additional refinements. This is derived from (and replaces) the original i386 efi implementation; i386 support will be restored later. Specific revisions of note from projects/uefi: r247380: Adjust our load device when we boot from CD under UEFI. The process for booting from a CD under UEFI involves adding a FAT filesystem containing your loader code as an El Torito boot image. When UEFI detects this, it provides a block IO instance that points at the FAT filesystem as a child of the device that represents the CD itself. The problem being that the CD device is flagged as a "raw device" while the boot image is flagged as a "logical partition". The existing EFI partition code only looks for logical partitions and so the CD filesystem was rendered invisible. To fix this, check the type of each block IO device. If it's found to be a CD, and thus an El Torito boot image, look up its parent device and add that instead so that the loader will then load the kernel from the CD filesystem. This is done by using the handle for the boot filesystem as an alias. Something similar to this will be required for booting from other media as well as the loader will live in the EFI system partition, not on the partition containing the kernel. r246231: Add necessary code to hand off from loader to an amd64 kernel. r246335: Grab the EFI memory map and store it as module metadata on the kernel. This is the same approach used to provide the BIOS SMAP to the kernel. r246336: Pass the ACPI table metadata via hints so the kernel ACPI code can find them. r246608: Rework copy routines to ensure we always use memory allocated via EFI. The previous code assumed it could copy wherever it liked. This is not the case. The approach taken by this code is pretty ham-fisted in that it simply allocates a large (32MB) buffer area and stages into that, then copies the whole area into place when it's time to execute. A more elegant solution could be used but this works for now. r247214: Fix a number of problems preventing proper handover to the kernel. There were two issues at play here. Firstly, there was nothing preventing UEFI from placing the loader code above 1GB in RAM. This meant that when we switched in the page tables the kernel expects to be running on, we are suddenly unmapped and things no longer work. We solve this by making our trampoline code not dependent on being at any given position and simply copying it to a "safe" location before calling it. Secondly, UEFI could allocate our stack wherever it wants. As it happened on my PC, that was right where I was copying the kernel to. This did not cause happiness. The solution to this was to also switch to a temporary stack in a safe location before performing the final copy of the loaded kernel. r246231: Add necessary code to hand off from loader to an amd64 kernel. r246335: Grab the EFI memory map and store it as module metadata on the kernel. This is the same approach used to provide the BIOS SMAP to the kernel. r246336: Pass the ACPI table metadata via hints so the kernel ACPI code can find them. r246608: Rework copy routines to ensure we always use memory allocated via EFI. The previous code assumed it could copy wherever it liked. This is not the case. The approach taken by this code is pretty ham-fisted in that it simply allocates a large (32MB) buffer area and stages into that, then copies the whole area into place when it's time to execute. A more elegant solution could be used but this works for now. r247214: Fix a number of problems preventing proper handover to the kernel. There were two issues at play here. Firstly, there was nothing preventing UEFI from placing the loader code above 1GB in RAM. This meant that when we switched in the page tables the kernel expects to be running on, we are suddenly unmapped and things no longer work. We solve this by making our trampoline code not dependent on being at any given position and simply copying it to a "safe" location before calling it. Secondly, UEFI could allocate our stack wherever it wants. As it happened on my PC, that was right where I was copying the kernel to. This did not cause happiness. The solution to this was to also switch to a temporary stack in a safe location before performing the final copy of the loaded kernel. r247216: Use the UEFI Graphics Output Protocol to get the parameters of the framebuffer. r264115: Fix printf format mismatches r264132: Connect sys/boot/amd64 to the build r264208: Do not build the amd64 UEFI loader with GCC The UEFI loader causes buildworld to fail when building with (in-tree) GCC, due to a typedef redefinition. As it happens the in-tree GCC cannot successfully build the UEFI loader anyhow, as it does not support __attribute__((ms_abi)). Thus, just avoid trying to build it with GCC, rather than disconnecting it from the build until the underlying issue is fixed. r264261: Correct a variable's type for 64-bit Ficl FICL_INT is long. r264262: Fix printf args for 64-bit archs r264263: Add explicit casts to quiet warnings in libefi r264319: Fix EFI loader object tree creation on 9.x build hosts Previously ${COMPILER_TYPE} was checked in sys/boot/amd64, and the efi subdirectory was skipped altogether for gcc (since GCC does not support a required attribute). However, during the early buildworld stages ${COMPILER_TYPE} is the existing system compiler (i.e., gcc on 9.x build hosts), not the compiler that will eventually be used. This caused "make obj" to skip the efi subdirectory. In later build stages ${COMPILER_TYPE} is "clang", and then the efi loader would attempt to build in the source directory. r265028 (dteske): Disable the beastie menu for EFI console ... which doesn't support ANSI codes (so things like `at-xy', `clear', and other commands don't work making it impossible to generate a living menu). r265057 (nwhitehorn): Turn off various fancy instruction sets... as well as deduplicate some options. This makes the EFI loader build work with CPUTYPE=native in make.conf on my Core i5. r268974 (sbruno): Supress clang warning for FreeBSD printf %b and %D formats Relnotes: Yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T21:05:04.975710Z K 7 svn:log V 1736 MFC boot1.efi stub loader r264391 (nwhitehorn): Add a simple EFI stub loader. This is a quick and dirty of boot1.chrp from the PowerPC port with all the Open Firmware bits removed and replaced by their EFI counterparts. On the whole, I think I prefer Open Firmware. This code is supposed to be an immutable shim that sits on the EFI system partition, loads /boot/loader.efi from UFS and tells the real loader what disk/partition to look at. It finds the UFS root partition by the somewhat braindead approach of picking the first UFS partition it can find. Better approaches are called for, but this works for now. This shim loader will also be useful for secure boot in the future, which will require some rearchitecture. r264403 (nwhitehorn): Fix buildworld. I had some local bits in my build tree that caused this to work by accident. r264404 (nwhitehorn): Add my copyright here. Most of this is unmodified from the original sparc64 version, but at least some indication of changes that postdate the actual invention of EFI is probably a good idea. r264414 (nwhitehorn): Apparently some of the i386 boot blocks are so close to full that adding single lines to ufsread.c spills them over. Duplicate a whole bunch of code to get file sizes into boot1.efi/boot1.c rather than modifying ufsread.c. r264975 (nwhitehorn): Add generation of an EFI filesystem to hold boot1.efi. This is a near- exact copy of the code from boot1.chrp again. The resulting image is installed to /boot/boot1.efifat. If dd'ed to an 800K "efi" partition, it should result in a bootable system. r268975 (sbruno): Remove boot1.efi during clean target. Relnotes: Yes Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-09-04T21:06:33.255122Z K 7 svn:log V 94 Add mrsas(4) to GENERIC for i386 and amd64. Approved by: ambrisko, kadesai MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-04T21:10:24.709883Z K 7 svn:log V 55 Add UPDATING entry for r271116 Noticed by: nwhitehorn END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-04T21:26:34.822086Z K 7 svn:log V 391 Properly trim the vendor tree to include only those files that we want merged into FreeBSD. Cherry picking from a full vendor tree was too hard and lead to undestirable svn results. Note: We only tim the dts* files, we don't trim the dt-bindings tree, since having all of them causes no problems and the benefit to trimming there is far out weighed by the cost of doing the trim each time. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-04T21:28:25.146321Z K 7 svn:log V 273 Delete old arm dts tree. This was created by cherry picking from a full vendor tree. This worked great until it was time to update, but now it is time to update. Hit the rest button by removing this branch and re-adding it by a full copy of whatever is in the vendor tree. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-09-04T21:31:25.230167Z K 7 svn:log V 616 Allow multiple image activators to run on the same execution by changing imgp->interpreted to a bitmask instead of, functionally, a bool. Each imgactivator now requires its own flag in interpreted to indicate whether or not it has already examined argv[0]. Change imgp->interpreted to an unsigned char to add one extra bit for future use. With this change, one can execute a shell script from a 64bit host native make and still get the binmisc image activator to fire for the script interpreter. Prior to this, execution would fail. Phabric: https://reviews.freebsd.org/D696 Reviewed by: jhb@ MFC after: 4 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-04T21:44:44.389186Z K 7 svn:log V 175 Require explicit re@ approval for commits to stable/10 as, the code freeze for 10.1-RELEASE is now in effect. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-04T21:48:33.280809Z K 7 svn:log V 75 Reimport dts files from vendor repo now that it has been properly trimmed. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-09-04T21:48:33.763630Z K 7 svn:log V 161 sh: Allow enabling job control without a tty in non-interactive mode. If no tty is available, 'set -m' is still useful to put jobs in their own process groups. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-09-04T22:00:52.830563Z K 7 svn:log V 119 Fix a bug which prevented mount.fstab parameter from being converted when jail_JID_devfs_enable=NO. Spotted by: peter END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-04T22:22:53.473652Z K 7 svn:log V 553 Separate out PCI attachment from the main AHCI driver. Move checks of PCI IDs into quirks, which mostly fit (though you'd get no argument from me that AHCI_Q_SATA1_UNIT0 is oddly specific). Set these quirks in the PCI attachment. Make some shared functions public so that PCI and possibly other bus attachments can use them. The split isn't perfect yet, but it is functional. The split will be perfected as other bus attachments for AHCI are written. Sponsored by: Netflix Reviewed by: kan, mav Differential Revision: https://reviews.freebsd.org/D699 END K 10 svn:author V 5 kargl K 8 svn:date V 27 2014-09-04T23:50:05.643187Z K 7 svn:log V 55 Remove an initialized, but otherwise, unused variable. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-09-04T23:53:51.445460Z K 7 svn:log V 358 use a straight buffer instead of an iov w/ 1 segment... The aesni driver when it hits a mbuf/iov buffer, it mallocs and copies the data for processing.. This improves perf by ~8-10% on my machine... I have thoughts of fixing AES-NI so that it can better handle segmented buffers, which should help improve IPSEC performance, but that is for the future... END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-09-05T01:06:45.058408Z K 7 svn:log V 255 Apply known workarounds for modern MacBooks. The legacy USB circuit tends to give trouble on MacBook. While the original report covered MacBook, extend the fix preemptively for the newer MacBookPro too. PR: 191693 Reviewed by: emaste MFC after: 5 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-05T02:20:06.491739Z K 7 svn:log V 53 Bring in forgotten pinfunc.h files from last import. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-05T02:21:45.034453Z K 7 svn:log V 45 Merge forgotten .h files from vendor branch. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-05T03:33:16.476534Z K 7 svn:log V 166 Merge svm_set_vmcb() and svm_init_vmcb() into a single function that is called just once when a vcpu is initialized. Discussed with: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-09-05T05:07:38.021869Z K 7 svn:log V 362 MFC r258078,258079 Increase the stack size for ppc64 from 4 pages to 8. I found a stack overflow when a coredump was taken onto a ZFS volume with heavy network activity. 2 DSI traps, plus one DECR trap, along with several function calls in the stack, overflowed the 4 pages. 8 page stack fixes this. Discussed with: nwhitehorn Approved by: re Relnotes: yes END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-05T05:20:52.820935Z K 7 svn:log V 221 Partially revert r271012. Incredibly weird: GCC 4.7/4.9 do support the _Noreturn and _Thread_local keywords, but not during bootstrapping. GCC is by far the weirdest compiler that I've ever used. Reported by: andreast@ END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-09-05T05:36:32.966600Z K 7 svn:log V 638 Roll back r271012 even more aggressively. I've looked at the GCC sources and I now understand what's going wrong. THe C11 keywords are simply nonexistent when using C++ mode. They are marked as C-only in the parser. This is absolutely impractical for multiple reasons: - The C11 keywords do not conflict with C++ naming rules. They all start with _[A-Z]. There is no reason to make them C-only. - It makes it practically impossible for people to use these keywords in C header files and expect them to work from within C++ sources. As I said in my previous commit message: GCC is by far the weirdest compiler that I've ever used. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-05T07:42:34.598322Z K 7 svn:log V 47 Add IDs for Intel Patsburg USB 2.0 controller. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-05T11:10:44.504285Z K 7 svn:log V 67 Fix typo. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-05T11:11:15.041060Z K 7 svn:log V 220 * Use modular opcode handling inside ipfw_ctl3() instead of static switch. * Provide hints for subsystem initializers if they are called for the first/last time. * Convert every IP_FW3 opcode user to use new sopt API. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-09-05T11:25:58.342893Z K 7 svn:log V 81 The USB LED driver for the Dream Cheeky WebMail Notifier. Reviewed by: hselasky END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-05T11:48:32.723575Z K 7 svn:log V 76 Use per-function errno handling instead of global one. Requested by: luigi END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-05T13:22:28.146263Z K 7 svn:log V 128 Add function and wrapper to switch lockmgr and vnode lock back to auto-promotion of shared to exclusive. Approved by: re (gjb) END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-05T13:25:27.494264Z K 7 svn:log V 224 MFC r270797: Direct access to the quota files, in particular, lookup, causes lock conflict with the quota metadata access. Mark quota vnode lock as recursive and always exclusive to avoid the problem. Approved by: re (gjb) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-05T13:45:14.253651Z K 7 svn:log V 292 Invert AHCI_Q_NOBSYRES quirk meaning, waiting for readiness by default. I gave up to update list of Marvell chips that require this quirk. The final nail was growing number of PCIe/M.2 SSDs where Marvell chips have PCI IDs of different vendors. MFC after: 1 week H/W donated by: I/O Switch END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-05T13:52:39.589893Z K 7 svn:log V 22 Sync to HEAD@r271160. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-05T13:56:05.913016Z K 7 svn:log V 90 Return setsockopt() directly. Suggested by: Steven Hartland at killing@multiplay.co.uk. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-05T14:19:02.315605Z K 7 svn:log V 37 Change copyrights to the proper one. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-05T14:32:09.049909Z K 7 svn:log V 287 Make it possible to quote names in autofs maps using double quotes. Note that this is a workaround, not a proper solution. If you know lex well, and want to help - please let me know, I'll explain how it should work. PR: 192968 MFC after: 1 week Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-09-05T14:35:34.421800Z K 7 svn:log V 59 Revert r271159, Mis-patched the tree. Pointed out by: kib END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-05T14:48:06.162162Z K 7 svn:log V 156 Turn two errors, which are possible to trigger only by bugs, into assertions. Discussed with: mav@ MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-05T14:58:24.863522Z K 7 svn:log V 100 Document initiator-portal netmask support. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-09-05T15:13:41.052943Z K 7 svn:log V 935 MFC r261095,r263464,r263752,r264189 r263464,r263752,r275189: Mask out SRR1 bits that aren't exported to the MSR. This appears to fix a strange condition with X on 32-bit PowerBooks I observed, caused by one of these bits getting set in the mcontext, but not set in the thread, which is a symptom of another problem, more difficult to diagnose. Since these bits aren't exported anyway, this change makes it more explicit that the bits aren't MSR-related in SRR1. r261095: Fix 32-bit signal handling on ppc64. This was broken when the PSL_USERSTATIC macro was changed. Since copying 64-bit srr1 into 32-bit srr1 drops the upper 32 bits, any bits set in the context were dropped, meaning the context check fails. Since 32-bit set_context() can't change those bits anyway, copy the ones from the current context (td->td_frame) before calling set_context(). Approved by: re Relnotes: yes (Affects 10-stable, but not 10.0-release) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-05T15:45:20.385644Z K 7 svn:log V 266 MFC 270222: Bump the default size of cpuset_t masks in userland from 128 bits to 256. This should not be an ABI change since the various public APIs that use cpusets all include an explicit size parameter in addition to the cpuset parameter. Approved by: re (gjb) END K 10 svn:author V 5 benno K 8 svn:date V 27 2014-09-05T16:40:47.889664Z K 7 svn:log V 199 Add support for gdb's memory searching capabilities to our in-kernel gdb server. Submitted by: Daniel O'Connor Reviewed by: jhb Sponsored by: EMC Isilon Storage Division END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-09-05T16:46:28.036508Z K 7 svn:log V 244 Clarify a diagnostic printf() in the mbuf code: M_EXT doesn't necessarily imply a cluster is attached; it could also refer to some other sort of external storage (e.g., an sf_buf). MFC after: 3 days Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-09-05T17:05:51.798577Z K 7 svn:log V 258 Garbage collect NFSMINOFF() from the NFS stack; this unused macro replicates mbuf-initialisation logic that is best left to centralised mbuf utility code rather than scattered around the kernel. MFC after: 3 days Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-05T17:22:20.575553Z K 7 svn:log V 155 MFC 270674: Clarify that the -c argument clears the list of tracepoints specified by -t (it does not clear all tracepoints). Approved by: re (gjb for 10) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-05T17:44:10.836562Z K 7 svn:log V 122 MFC 270722: Correct the destroy example. The -n argument is not needed (and is not valid). Approved by: re (gjb for 10) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-05T18:07:15.948695Z K 7 svn:log V 135 Correct patch paths (remove contrib/llvm/) The example in contrib/llvm/patches/README.TXT fails otherwise. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-05T18:11:36.260838Z K 7 svn:log V 180 Add the fp{get,set}{mask,round} functions to the public symbols in the map. These are only exported for armv6hf as the soft-float ABIs have these in the softfloat Symbol.map file. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-05T18:11:39.017560Z K 7 svn:log V 81 vt_vga: vd_setpixel_t and vd_drawrect_t are noop in text mode MFC after: 3 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-05T19:00:30.459703Z K 7 svn:log V 82 Add the virtual timer irq to the list of interrupts we enable on secondary cores. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-05T19:50:18.398742Z K 7 svn:log V 122 Set vnet context before accessing V_socket_hhh[]. Submitted by: "Hiroo Ono (小野寛生)" END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-09-05T23:56:25.694586Z K 7 svn:log V 71 Plug unnecessary fp assignments in kern_fcntl. No functional changes. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-09-06T04:33:37.456078Z K 7 svn:log V 367 MFC r270348: Add some missing checks for unsupported interfaces (e.g. pflog(4)) when handling ioctls. While here, remove duplicated checks for a NULL ifp in in6_control(): this check is already done near the beginning of the function. MFC r270349: Suppress warnings when retrieving protocol stats from interfaces that don't support IPv6 (e.g. pflog(4)). PR: 189117 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-09-06T04:39:26.371204Z K 7 svn:log V 390 MFC r270348: Add some missing checks for unsupported interfaces (e.g. pflog(4)) when handling ioctls. While here, remove duplicated checks for a NULL ifp in in6_control(): this check is already done near the beginning of the function. MFC r270349: Suppress warnings when retrieving protocol stats from interfaces that don't support IPv6 (e.g. pflog(4)). PR: 189117 Approved by: re (gjb) END K 10 svn:author V 2 br K 8 svn:date V 27 2014-09-06T08:48:57.692857Z K 7 svn:log V 136 Add FPGA Manager driver. This driver allows to program FPGA core from FreeBSD userspace running on ARM core. Sponsored by: DARPA, AFRL END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-06T09:03:13.534224Z K 7 svn:log V 104 Avoid ctld(8) crash on getaddrinfo(3) failure. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-09-06T11:19:12.248904Z K 7 svn:log V 42 mdoc: remove superfluous paragraph macro. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-06T13:21:07.165168Z K 7 svn:log V 321 Allow us to use the virtual timer. It is currently disabled, but should be usable as the default timer in place of the physical timer. We are guaranteed to have access to the virtual timer, but when running under a hypervisor may not have access to the physical. Differential Revision: https://reviews.freebsd.org/D588 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-06T15:11:35.260321Z K 7 svn:log V 272 Add OF_xref_from_node_strict() which returns -1 if there is no xref handle for the node. The default routine returns the untranslated handle, which is sometimes useful, but sometimes you really need to know there's no entry in the xref<->node<->device translation table. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-06T15:15:06.207880Z K 7 svn:log V 192 MFC 270826: MFamd64: Add a machdep.bootmethod sysctl to inform the installer which firmware method was used for booting. This is hardcoded to BIOS on i386. PR: 192962 Approved by: re (gjb) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-06T15:23:28.252661Z K 7 svn:log V 374 Create a separate structure for per-CPU state saved across suspend and resume that is a superset of a pcb. Move the FPU state out of the pcb and into this new structure. As part of this, move the FPU resume code on amd64 into a C function. This allows resumectx() to still operate only on a pcb and more closely mirrors the i386 code. Reviewed by: kib (earlier version) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-06T15:24:48.071719Z K 7 svn:log V 159 MFC r269228: Add support for SOUND_MIXER_INFO IOCTL, used by gstreamer. Submitted by: Dmitry Luhtionov Approved by: re (marius) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-06T15:26:38.923821Z K 7 svn:log V 296 MFC r270423: Restore pre-r239157 handling of sched_yield(), when thread time slice was aborted, allowing other threads to run. Without this change thread is just rescheduled again, that was illustrated by provided test tool. PR: 192926 Submitted by: eric@vangyzen.net Approved by: re (marius) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-06T15:30:57.462073Z K 7 svn:log V 271 MFC r270423: Restore pre-r239157 handling of sched_yield(), when thread time slice was aborted, allowing other threads to run. Without this change thread is just rescheduled again, that was illustrated by provided test tool. PR: 192926 Submitted by: eric@vangyzen.net END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-06T15:37:55.271766Z K 7 svn:log V 93 Fix typo in comments. Submitted by: Benedict Reuschling MFC after: 6 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-06T15:45:45.802961Z K 7 svn:log V 474 Add more bits for the XSAVE features from CPUID 0xd, sub-function 1 %eax report. Print the XSAVE features 0xd/1 in the boot banner. The printcpuinfo() is executed late enough so that XSAVE is already enabled. There is no known to me off the shelf hardware that implements any feature bits except XSAVEOPT, the list is taken from SDM rev. 50. The banner printing will allow us to note the hardware arrival. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-06T17:33:41.612011Z K 7 svn:log V 24 Fixthe spelling of ehci END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-06T17:50:59.980485Z K 7 svn:log V 183 Revert rr271190, it was based on a misunderstanding. The problem of non-existant device<->xref info needs to be handled by creating the info, which will come in a subsequent commit. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-09-06T18:08:21.607832Z K 7 svn:log V 263 o Remove __unused attribute on variables which actually used 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 END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-06T18:20:50.773647Z K 7 svn:log V 141 Restore order of interrupt setup. Minor problems can result by setting up the interrupts too early: Reviewed by: mav@ Sponsored by: Netflix END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-06T18:43:17.446318Z K 7 svn:log V 999 When registering an association between a device and an xref phandle, create 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. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-06T19:02:52.997767Z K 7 svn:log V 551 Do proper ASID management for guest vcpus. Prior to this change an ASID was hard allocated to a guest and shared by all its vcpus. The meant that the number of VMs that could be created was limited to the number of ASIDs supported by the CPU. It was also inefficient because it forced a TLB flush on every VMRUN. With this change the number of guests that can be created is independent of the number of available ASIDs. Also, the TLB is flushed only when a new ASID is allocated. Discussed with: grehan Reviewed by: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-09-06T19:12:14.722402Z K 7 svn:log V 120 Fix the handling of sysctl variables when used with VIMAGE. While there do some cleanup of the code. MFC after: 1 week END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-09-06T19:38:40.971043Z K 7 svn:log V 670 MFC r259657,r264205,r264207: r259657: Add suspend/resume capabilities to the ATI backlight ppc driver. With this, also shut off the display (DPMS-style) and disable the clocking when the backlight level is set to 0. This is taken from the radeonkms driver (radeon_legacy_encoders.c) which doesn't yet support PowerPC. r264205,r264207: Fix the ATI backlight driver off/on handling. Now this driver works correctly with the ATI Radeon 9700 in the PowerBook G4 1.67GHz. Code shamelessly taken in spirit from the radeonkms driver, which I hope will make this driver redundant in the future. Approved by: re (marius) Relnotes: yes (not suspend/resume, but the rest) END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-06T19:39:12.355886Z K 7 svn:log V 310 SDM rev. 50 defines the use of the next 8 bytes in the xstate header. 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 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-06T19:43:48.430819Z K 7 svn:log V 272 Save one register read (AHCI_IS) for AHCI controllers with only one port. 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 END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-06T19:47:37.543934Z K 7 svn:log V 191 Add a define for index of IA32_XSS MSR, which is, per SDM rev. 50, an analog of XCR0 for ring 0 FPU state, used by XSAVES and XRSTORS. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-09-06T20:03:24.899566Z K 7 svn:log V 191 Fix a leak of an address, if the address is scheduled for removal and the stack is torn down. Thanks to Peter Bostroem and Jiayang Liu from Google for reporting the issue. MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-06T20:16:45.584556Z K 7 svn:log V 162 MFC r271043: Update the autofs(5) manual to reflect it first appeared iN FreeBSD 10.1-RELEASE. Approved by: re (marius) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-09-06T22:17:54.648406Z K 7 svn:log V 1594 Fix the PCPU access macros. It was found that the PCPU pointer, when held in register r13, is used outside the bounds of critical_enter() and critical_exit() by virtue of optimizations performed by the compiler. The net effect being that address computations of fields in the PCPU structure could be relative to the PCPU structure of the CPU on which the address computation was performed and not related to the CPU that executes the actual load or store operation. The typical failure mode being that the per-CPU cache of UMA got corrupted due to accesses from other CPUs. Adding more volatile decorating to the register expression does not help. The thinking being that volatile is assumed to work on memory references and not register references. Thus, the fix is to perform the address computation using a volatile inline assembly statement. Additionally, since the reference is fundamentally non-atomic on ia64 by virtue of have a distinct address computation followed by the actual load or store operation, it is required to wrap the entire PCPU access in a critical section. With PCPU_GET and friends requiring curthread now that they're in a critical section, low-level use of these macros in functions like cpu_switch() is not possible anymore. Consequently, a second order set of changes is needed to avoid using PCPU_GET and friends where curthread is either not set yet, or in the process of being changed. In those cases, explicit dereferencing of pcpup is needed. In those cases it is also possible to do that. This is a direct commit to stable/10. Approved by: re@ (marius) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-09-06T22:37:47.751454Z K 7 svn:log V 171 MFC r269701: Set the si_code appropriately for exception-caused signals. LLDB checks the si_code, and aborts if a code isn't known. Approved by: re (gjb) Relnotes: yes END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-06T22:38:32.724135Z K 7 svn:log V 204 Implement local sfbuf_map and sfbuf_unmap for MIPS32. 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 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-07T00:44:59.179056Z K 7 svn:log V 105 MFC r271078: Fix typo: s/_maske/_mask/ Approved by: re (rodrigc) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-07T00:46:57.860523Z K 7 svn:log V 79 MFC r271078: Fix typo: s/_maske/_mask/ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-07T05:44:14.815375Z K 7 svn:log V 101 Fix for r271182. Submitted by: mjg Pointy hat to: me, submitter and everyone who urged me to commit END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-07T05:47:48.775800Z K 7 svn:log V 9 style(9) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-07T07:23:33.357306Z K 7 svn:log V 62 Update mixer description for FastTrackPro. MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-09-07T07:49:49.367262Z K 7 svn:log V 86 Use SYSCTL_PROC instead of SYSCTL_VNET_PROC. Suggested by: glebius@ MFC after: 1 week END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-07T08:16:27.625544Z K 7 svn:log V 272 Create a common i.MX53 config and use it with the two existing i.MX53 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 END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-09-07T09:06:26.722310Z K 7 svn:log V 265 Use union sctp_sockstore instead of struct sockaddr_storage. This 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 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-07T11:57:08.371820Z K 7 svn:log V 78 Fix typo. Submitted by: Dmitry Morozovsky MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-07T12:07:26.303470Z K 7 svn:log V 372 5117 space map reallocation can cause corruption Reviewed by: Matthew Ahrens Reviewed by: Sebastien Roy Reviewed by: Richard Elling Approved by: Richard Lowe Author: George Wilson illumos/illumos-gate@e503a685964805f048b35c2a4e70e0638344f2b7 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-07T12:13:49.949876Z K 7 svn:log V 478 5116 zpool history -i goes into infinite loop Reviewed by: Christopher Siden Reviewed by: Dan Kimmel Reviewed by: George Wilson Reviewed by: Richard Elling Reviewed by: Boris Protopopov Approved by: Dan McDonald Author: Matthew Ahrens illumos/illumos-gate@3339867a862f63acdad71abd574d5d79e18d8579 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-07T12:18:12.812819Z K 7 svn:log V 446 5118 When verifying or creating a storage pool, error messages only show one device Reviewed by: Adam Leventhal Reviewed by: Dan Kimmel Reviewed by: Matt Ahrens Reviewed by: Boris Protopopov Approved by: Dan McDonald Author: Basil Crow illumos/illumos-gate@75fbdf9b9f63da7e23a9814982b78a782559c086 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-07T13:13:42.704113Z K 7 svn:log V 190 MFV r271223: 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 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-07T13:22:14.486008Z K 7 svn:log V 336 MFV r271225: 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 END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-09-07T17:07:19.174387Z K 7 svn:log V 136 Address another warnings reported by Patrick Laimbock when compiling in userspace. While there, improve consistency. MFC after: 1 week END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-09-07T17:42:32.129451Z K 7 svn:log V 82 Don't add intrng.c twice. Compile arm/arm/intr.c if ARM_INTRNG option is not set. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-09-07T18:05:37.201557Z K 7 svn:log V 69 Address warnings generated by the clang analyzer. MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-09-07T18:30:29.440531Z K 7 svn:log V 475 Make ipfw_nat module use IP_FW3 codes. Kernel changes: * Split kernel/userland nat structures eliminating IPFW_INTERNAL hack. * Add IP_FW_NAT44_* codes resemblin old ones. * Assume that instances can be named (no kernel support currently). * Use both UH+WLOCK locks for all configuration changes. * Provide full ABI support for old sockopts. Userland changes: * Use IP_FW_NAT44_* codes for nat operations. * Remove undocumented ability to show ranges of nat "log" entries. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-07T18:32:42.324187Z K 7 svn:log V 154 Generalise the va to pa code and use it when starting secondary cores Reviewed by: ian@, rpaulo@ Differential Revision: https://reviews.freebsd.org/D736 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-09-07T18:42:45.736872Z K 7 svn:log V 57 MFC r271137: Add mrsas(4) to GENERIC for i386 and amd64. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-09-07T18:43:26.353841Z K 7 svn:log V 80 MFC r271137: Add mrsas(4) to GENERIC for i386 and amd64. Approved by: re (gjb) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-07T19:33:38.546130Z K 7 svn:log V 63 Remove Lvirtaddr and Lphysaddr, these don't appear to be used. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2014-09-07T20:11:23.051299Z K 7 svn:log V 245 MFC r262351: Remove KASSERT from in6p_lookup_mcast_ifp(). When the devel/jenkins port, version 1.551 was started, the kernel would panic if INVARIANTS was enabled in the kernel config. Suggested by: bms Approved by: re (gjb) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-09-07T20:27:48.665329Z K 7 svn:log V 131 Remove redundant kern conf entries that are inherited via include Move cfg to spi1 as that's where it is located from the factory END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-09-07T21:30:47.114749Z K 7 svn:log V 357 MFC r256956: Improve ZFS N-way mirror read performance by using load and locality information. MFC r260713: Fix ZFS mirror code for handling multiple DVA's Also make the addition of the d_rotation_rate binary compatible. This allows storage drivers compiled for 10.0 to work by preserving the ABI for disks. Approved by: re (gjb) Sponsored by: Multiplay END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-09-07T21:40:14.884668Z K 7 svn:log V 129 Fix previous commit: unbreak build of libkvm by including sys/systm.h only when _KERNEL is defined. Approved by: re@ (implicit) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-07T21:46:54.086659Z K 7 svn:log V 253 When entering the kernel with the MMU off assume we are running from a 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. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-07T22:56:57.626691Z K 7 svn:log V 198 Include src.opts.mk after SHLIBDIR has been defined so libnv is installed to /lib , not /usr/lib MFC after: 3 days Approved by: rpaulo (mentor) Submitted by: antoine Pointyhat to: me Phabric: D739 END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-09-08T00:16:34.322356Z K 7 svn:log V 32 Add initial man pages for vxlan END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-09-08T00:19:03.976640Z K 7 svn:log V 59 Make two functions static and eliminate an unused #define. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-09-08T02:25:01.775347Z K 7 svn:log V 95 Oops. vm_map_simplify_entry() is used by mac_proc_vm_revoke_recurse(), so it can't be static. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T02:37:45.072623Z K 7 svn:log V 138 Silence a bmake(1) warning in the gif(4) module build when built with WITHOUT_INET6. LGTM: sbruno Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-08T03:12:42.010746Z K 7 svn:log V 310 Bring over some more status codes from the Linux iwlwifi driver. 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 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-08T03:16:28.270139Z K 7 svn:log V 1032 (more) correctly account TX completion status for A-MPDU session frames. 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 END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-09-08T05:14:58.644001Z K 7 svn:log V 191 Temporarily remove the warning added r270781 - it prints the warning regardless of whether the usage is correct or not and this generates a LOT of noise, even when you have specified a mask. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-08T07:16:00.682286Z K 7 svn:log V 169 Implement htprotmode handling. This is separate to 11g protection - the default is to RTS protect 11n frames, including A-MPDU frames. Tested: * Intel 5100, STA mode END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-08T07:37:03.693446Z K 7 svn:log V 899 vt(4): Change the terminal and buffer sizes, even without a font 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 Tested by: Harald Schmalzbauer MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-09-08T08:12:09.350660Z K 7 svn:log V 121 Use __DECONST to avoid compiler warnings (and thus build failures) with gcc on sparc64, mips, and powerpc after r271173. END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-09-08T08:25:33.137526Z K 7 svn:log V 329 MFC r270973 r270973 Fix for WITNESS warning while doing xpt_rescan. This happen when converting any JBOD to RAID or creating any new RAID from Unconfigured Drives. Without this fix, user may see call trace if WITNESS is enabled. System may panic when reconfiguring the RAID. Reviewed by: ambrisko Approved by: re (gleb) --- END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-09-08T08:44:50.301245Z K 7 svn:log V 222 pause_sbt(): Take the cold path (ie. use DELAY()) if KDB is active 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 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-09-08T09:04:22.376632Z K 7 svn:log V 198 - Make hhook_run_socket() vnet-aware instead of adding CURVNET_SET() around the function calls. - Fix a memory leak and stats in the case that hhook_run_socket() fails in soalloc(). PR: 193265 END K 10 svn:author V 3 des K 8 svn:date V 27 2014-09-08T09:16:07.169837Z K 7 svn:log V 106 Fix support for IPv6 nameservers. PR: 188931 Submitted by: Takefu MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2014-09-08T09:19:01.168813Z K 7 svn:log V 97 Fail rather than segfault if neither PAM_TTY nor PAM_RHOST is set. PR: 83099 MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2014-09-08T09:33:43.133957Z K 7 svn:log V 163 Use the correct idiom for default values, and ensure that the script works correctly if the user overrides them. PR: 193255 Submitted by: hrs@ MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-08T10:57:43.562175Z K 7 svn:log V 240 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. MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-08T11:01:57.149426Z K 7 svn:log V 269 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". MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2014-09-08T11:18:27.241206Z K 7 svn:log V 113 MFH (r270392, r270676, r270679, r270698): add support for subdirectories in rc.conf.d Approved by: re (glebius) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-08T12:11:49.567700Z K 7 svn:log V 73 Bunch of microoptimizations to reduce dereferences and cache collisions. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-09-08T12:26:52.846949Z K 7 svn:log V 107 Revert r271257 after several issues were pointed out. An updated patch will be committed at a later date. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-08T14:45:58.458409Z K 7 svn:log V 451 MFC 271048: Always seek back to the beginning of a regular directory, even if the previous seek location was 0. Without this, readdir() would see dd_loc of zero and call getdirentries() which would start reading entries at the current seek location of the directory ignoring the first batch of entries. Also, rewinddir() should always seek so that it reads the directory from the beginning to get updated entries. PR: 192935 Approved by: re (gjb) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T14:59:43.952754Z K 7 svn:log V 147 Document r271095, vt(4) keymap support added to the syscons rc(8) startup script. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T14:59:45.888769Z K 7 svn:log V 106 Document r271111, vt(4) enabled for PS3. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T14:59:47.823511Z K 7 svn:log V 135 Document r271116, ofwfb updated to work with x11-servers/xorg-server. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T14:59:49.736589Z K 7 svn:log V 126 Document r271128, several performance enhancements to vt(4). Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T14:59:51.681103Z K 7 svn:log V 155 Document r271130, sys/boot/libstand moved to 32-bit specific directory naming convention. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T14:59:53.614044Z K 7 svn:log V 268 - Refine entry for r271130 since a follow-up commit adds 64-bit libstand. - Document r271135, initial UEFI boot support. - Document r271136, boot1.efi, boot1.efifat, loader.efi installed to /boot. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T14:59:55.528290Z K 7 svn:log V 127 Document r271153, KSTACK_PAGES increased 4 -> 8 on powerpc64. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T14:59:57.479293Z K 7 svn:log V 122 Document r271205, powerpc ATI Radeon 9700 backlight fix. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T14:59:59.388931Z K 7 svn:log V 131 Document r271234, mrsas(4) enabled in GENERIC for amd64 and i386. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T15:00:01.390563Z K 7 svn:log V 132 Document r271260, support for /etc/rc.d// subdirectories. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END