ƒ”265000 167 379 176 923 745 438 116 103 174 335 198 147 177 614 263 194 291 260 321 543 534 456 128 175 227 501 305 156 139 316 350 218 377 521 168 227 160 219 201 264 370 370 370 121 116 103 146 466 328 363 142 442 465 442 116 408 358 395 264 332 200 458 201 577 213 168 166 535 379 594 628 167 870 141 260 260 192 192 151 239 239 239 98 382 126 436 193 205 116 182 450 540 188 633 125 202 464 619 731 404 178 639 916 254 338 279 150 223 178 176 270 111 148 479 213 228 2261 152 240 109 205 222 210 397 210 413 203 235 269 305 255 332 301 266 158 211 147 172 140 150 176 135 198 274 198 274 229 198 2059 168 202 661 280 1107 150 399 649 189 508 148 324 220 217 255 137 135 378 1749 K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-04-27T02:22:21.503715Z K 7 svn:log V 278 Add vt_efifb to VT kernel configuration now that that actually works. This kernel will now boot on both BIOS and EFI systems without modification. Equivalent functionality in GENERIC requires making vt(9) the default console driver, which is probably appropriate at this point. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-04-27T02:28:32.125369Z K 7 svn:log V 76 Don't need this now. VT does the same thing, but better. Submitted by: gjb END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-04-27T05:19:01.945228Z K 7 svn:log V 830 When vm_fault_copy_entry() is called from vm_map_protect() for a wired entry and performs the upgrade of the entry permissions from read-only to read-write, we must allow to search for the source pages in the backing object, like we do in the case of forking the read-only wired entry. For the fork case, the behaviour is allowed by src_readonly boolean, which in fact is only used to assert that read-write case provides all source pages in the top-level object. Eliminate the src_readonly variable. Allow for the copy loop to look into the backing objects, add explicit asserts to ensure that only read-only and upgrade case actually does. Expand comments. Change the panic call into assert. Reported by: markj Tested by: markj, pho (previous version) Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-04-27T05:28:14.243047Z K 7 svn:log V 652 Fix order of libthr and libc in the global dso list for sshd, by explicitely linking main binary with -lpthread. Before, libthr appeared in the list due to dependency of one of the kerberos libs. Due to the change in ld(1) behaviour of not copying NEEDED entries from direct dependencies into the link results, the order becomes reversed. The libthr must appear before libc to properly interpose libc symbols and provide working rtld locks implementation. The symptom was sshd hanging on rtld bind lock during nested symbol binding from a signal handler. Approved by: des (openssh maintainer) Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-04-27T05:37:01.907745Z K 7 svn:log V 345 Same as it was done in r263878 for invlrng_handler(), fix order of checks for special pcid values in invlpg_pcid_handler(). Forst check for special values, and only then do PCID-specific page invalidation. Minor fix to the style compliance, declare local variable at the function start. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-27T08:02:55.103471Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-04-27T08:13:43.191518Z K 7 svn:log V 11 Merge head END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-04-27T08:22:44.147191Z K 7 svn:log V 82 Added a regression test for r265002. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 2 mm K 8 svn:date V 27 2014-04-27T09:05:34.921564Z K 7 svn:log V 243 MFC r264689: De-virtualize UMA zone pf_mtag_z and move to global initialization part. The m_tag struct does not know about vnet context and the pf_mtag_free() callback is called unaware of current vnet. This causes a panic. PR: kern/182964 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-04-27T09:49:35.025681Z K 7 svn:log V 100 Do not delay freeing rtm. Bandaid added in r227061 is not needed since r227061, MFC after: 1 month END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-04-27T10:20:37.964458Z K 7 svn:log V 50 Cleanup route_output() a bit. MFC after: 1 month END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-04-27T10:43:48.154118Z K 7 svn:log V 80 Remove useless zeroing of RTAX_DST on error. Cleanup a bit. MFC after: 1 month END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-04-27T12:11:00.856370Z K 7 svn:log V 520 Fix the gpio-specifier decoding by respecting the GPIO controller's #gpio-cells property. Add a new ofw_bus method (OFW_BUS_MAP_GPIOS()) that allows the GPIO controller to implement its own mapping to deal with gpio-specifiers, allowing the decoding of gpio-specifiers to be controller specific. The default ofw_bus_map_gpios() decodes the linux standard (#gpio-cells = <2>) and the FreeBSD standard (#gpio-cells = <3>). It pass the gpio-specifier flag field to the children as an ivar variable so they can act upon. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-04-27T13:10:51.762371Z K 7 svn:log V 169 Revert r258678. Make the led gpio-specifier match again the #gpio-cells settings from the GPIO controller, which i had broken in r258678. Restore the active-low flag. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-27T15:14:59.826171Z K 7 svn:log V 99 Report boot method (BIOS/UEFI) via sysctl machdep.bootmethod Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-04-27T15:41:44.350339Z K 7 svn:log V 193 Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel LynxPoint USB 3.0 controllers found in MacBookPro 2013's. MFC after: 2 days Tested by: Huang Wen Hui END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-04-27T15:58:07.273583Z K 7 svn:log V 159 Finish connecting up installer UEFI support. If the kernel was booted using EFI, set up the disks for an EFI system. If booted from BIOS/CSM, set up for BIOS. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-04-27T16:34:59.499513Z K 7 svn:log V 220 loader's GPT support on BIOS does not seem to like the root filesystem being the last filesystem on the disk for some reason when made by this script. Add a vestigial swap partition to allow this to boot with QEMU BIOS. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-27T16:40:40.125839Z K 7 svn:log V 450 Turn off the full witness trace on console output. On head/, or more specifically, when WITNESS is in the kernel config, the console is spammed excessively with lock order reversal between isofs and devfs. Set debug.witness.trace=0 in the installer sysctl.conf to avoid printing the full KDB stack backtrace. This does not prevent printing the lock order reversal has happened, only lessens the console spam. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-04-27T17:41:18.214748Z K 7 svn:log V 436 Improve memory allocation model for rt_msg2() rtsock messages: * memory is now allocated as early as possible, without holding locks. * sysctl users are now guaranteed to get a response (M_WAITOK buffer prealloc). * socket users are more likely to use on-stack buffer for replies. * standard kernel malloc/free functions are now used instead of radix wrappers. rt_msg2() has been renamed to rtsock_msg_buffer(). MFC after: 1 month END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-27T18:12:55.921382Z K 7 svn:log V 363 Remove cpu_idcache_wbinv_all() from kdb_cpu_trap(), it's no longer needed. This was added ca. 2004 for the purpose of ensuring the caches were in the right state after the debugger set a breakpoint. kdb_cpu_sync_icache() was added in 2007 to handle that situation, and now the wbinv_all is actually harmful because the operation isn't broadcast to other cores. END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-27T18:57:56.433393Z K 7 svn:log V 34 Reorder to get 'n' set correctly. END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-27T19:00:14.526956Z K 7 svn:log V 81 Remove some debugging printfs, refactor for architectures that have __uint128_t. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-27T20:01:59.370155Z K 7 svn:log V 134 There is no difference between IPI_STOP and IPI_STOP_HARD on ARM, so map them both to the same interrupt number like other arches do. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-27T20:16:51.078345Z K 7 svn:log V 408 Flush and invalidate caches on each CPU as part of handling IPI_STOP. Flushing the caches is required before doing a panic dump, but ARM doesn't provide a flavor of flush that gets broadcast to other cores. However, all cores except one are stopped before doing a dump, so this works around the lack of a global flush/invalidate by doing it locally on each CPU as part of stopping. Discussed with: cognet@ END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-27T20:26:15.525504Z K 7 svn:log V 212 Explain why wbinv_all is SMP-safe in this case, and add a missing l2 cache flush. (Either it was missing here, or it isn't needed in the minidump case. Adding it here seems like the safer path to consistancy.) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-04-27T20:36:19.915063Z K 7 svn:log V 56 No EFI on i386. This unbreaks the i386 VT kernel build. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-04-27T21:17:54.465487Z K 7 svn:log V 42 Fix build Found by: ian Pointyhat to: me END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-04-27T22:18:33.368573Z K 7 svn:log V 220 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). Reviewed by: nwhitehorn, emaste END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-27T23:31:42.922791Z K 7 svn:log V 254 Do a read-after-write to ensure the interrupt register update is flushed to the hardware. The QCA HAL has a comment noting that if this isn't done, modifications to AR_IMR_S2 before AR_IMR is flushed may produce spurious interrupts. Obtained from: QCA END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-27T23:33:37.404205Z K 7 svn:log V 122 Fix the AR_SLEEP1 and AR_SLEEP2 definitions. Oops! Tested: * AR9285, STA * AR5416, STA Obtained from: QCA, Linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-27T23:35:05.067199Z K 7 svn:log V 281 Program the AR_TSFOOR_THRESHOLD register with a default lifted from the QCA HAL. This fires off an interrupt if the TSF from the AP / IBSS peer is wildly out of range. I'll add some code to the ath(4) driver soon which makes use of this. TODO: * verify this didn't break TDMA! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-27T23:36:44.668374Z K 7 svn:log V 425 * Add a new capability which returns whether the hardware supports the MYBEACON RX filter (only receive beacons which match the BSSID) or all beacons on the current channel. * Add the relevant RX filter entry for MYBEACON. Tested: * AR5416, STA * AR9285, STA TODO: * once the code is in -HEAD, just make sure that the code which uses it correctly sets BEACON for pre-AR5416 chips. Obtained from: QCA, Linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-27T23:37:03.061352Z K 7 svn:log V 73 Note that the AR5416 and later hardware supports the MYBEACON RX filter. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-27T23:37:39.999350Z K 7 svn:log V 131 Note that the AR9380 and later hardware supports MYBEACON. (Yes, I said AR5416 in the committed code. It's still strictly true.) END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-27T23:47:38.644272Z K 7 svn:log V 68 Move duplicated code to print l2 cache config into the common code. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-28T02:35:28.764350Z K 7 svn:log V 126 Don't use multiprocessing-extensions instruction on processors that don't support SMP. Submitted by: loos@ Pointy hat to: me END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-04-28T04:20:14.578099Z K 7 svn:log V 107 MFC r264741: Add placeholder Kyuafiles for various top-level hierarchies. This is "make tinderbox" clean. END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-04-28T05:39:20.995896Z K 7 svn:log V 167 Move common device tree informations to separate dtsi files for A10 and A20 SoC. Change cubieboard1 and cubieboard2 dts files accordingly. Approved by: stas (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-28T06:11:03.446248Z K 7 svn:log V 273 MFC r264467: Take into account when zpool history block grows exceeding 128KB in zpool(8) and zdb(8) by growing the buffer on demand with a cap of 1GB (specified in spa_history_create_obj()). PR: bin/186574 Submitted by: Andrew Childs (with changes) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-28T06:11:44.443845Z K 7 svn:log V 273 MFC r264467: Take into account when zpool history block grows exceeding 128KB in zpool(8) and zdb(8) by growing the buffer on demand with a cap of 1GB (specified in spa_history_create_obj()). PR: bin/186574 Submitted by: Andrew Childs (with changes) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-28T06:12:15.077864Z K 7 svn:log V 273 MFC r264467: Take into account when zpool history block grows exceeding 128KB in zpool(8) and zdb(8) by growing the buffer on demand with a cap of 1GB (specified in spa_history_create_obj()). PR: bin/186574 Submitted by: Andrew Childs (with changes) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-04-28T06:24:37.506260Z K 7 svn:log V 26 bsd-family-tree: Fix date END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-28T07:48:33.971484Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-04-28T07:50:45.668957Z K 7 svn:log V 11 Merge head END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-28T07:51:07.675318Z K 7 svn:log V 52 It turns out powerpc also doesn't have __uint128_t. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-04-28T09:00:00.812734Z K 7 svn:log V 373 Fix ZIO reordering done by vdev_queue_io causing panics when zio_vdev_io_start returns ZIO_PIPELINE_CONTINUE from vdev_op_io_start to zio_execute resulting in the wrong ZIO continuing its pipeline. This is a serious issue which could cause data loss / corruption but appears to be limited to error handling such as when vdev_readable(vd) returns false. MFC after: 2 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-28T12:46:23.839246Z K 7 svn:log V 235 MFC uftdi(4) driver changes... r264010: Support speeds up to 12mbaud on newer chips. r264031: Use 2K IO buffers for improved throughput. r264149: Add ioctl(2) calls to access bitbang, MPSSE, CPU_FIFO, and other modes. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-28T13:12:19.233869Z K 7 svn:log V 270 MFC r264800: fixes for problems found by Coverity scan... - Get transmit loop more in line with the other serial drivers. - Add a comment about FTDI and ZLPs. - Correctly check odditiy of baud rate divisor. - Correct IOCTL handling for "error" and "event" char. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-28T13:18:30.694160Z K 7 svn:log V 50 MFC r264018: update list of supported FTDI chips. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-28T13:28:10.227861Z K 7 svn:log V 349 MFC uftdi(4) driver changes... r264010: Support speeds up to 12mbaud on newer chips. r264018: Update list of supported FTDI chips. r264031: Use 2K IO buffers for improved throughput. r264149: Add ioctl(2) calls to access bitbang, MPSSE, CPU_FIFO, and other modes. r264800: Various fixes to r264149 pointed out by Coverity scan. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-28T13:42:41.000519Z K 7 svn:log V 369 Drop explicit unsigned from FD_SETSIZE constant FD_SETSIZE is often used as an argument to select or compared with an integer file descriptor. Rather than force 3rd party software to add explicit casts, just make it a plain (int) constant as on other operating systems. Previous discussion: http://lists.freebsd.org/pipermail/freebsd-standards/2012-July/002410.html END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-28T14:20:21.686964Z K 7 svn:log V 349 MFC uftdi(4) driver changes... r264010: Support speeds up to 12mbaud on newer chips. r264018: Update list of supported FTDI chips. r264031: Use 2K IO buffers for improved throughput. r264149: Add ioctl(2) calls to access bitbang, MPSSE, CPU_FIFO, and other modes. r264800: Various fixes to r264149 pointed out by Coverity scan. END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-28T14:44:08.679547Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-04-28T15:03:52.090966Z K 7 svn:log V 315 Reduce number of opens by REOM RAID during provider taste. Instead opening/closing provider by each of metadata classes, do it only once in core code. Since for SCSI disks open/close means sending some SCSI commands to the device, this change reduces taste time. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-04-28T17:58:40.495018Z K 7 svn:log V 262 Add proto(4): A driver for prototyping and diagnostics. It exposes I/O resources to user space, so that programs can peek and poke at the hardware. It does not itself have knowledge about the hardware device it attaches to. Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-04-28T18:06:11.268599Z K 7 svn:log V 299 Add a C libary and a Python module that implements an API similar to bus_space(9) and that uses the proto(4) driver for talking to hardware. If the I/O resource is a memory mapped I/O resource, then mmap(2) will be attempted to avoid read(2)/write(2) overhead. Sponsored by: Juniper Networks, Inc. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-04-28T18:25:21.489776Z K 7 svn:log V 163 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. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-04-28T18:41:25.820332Z K 7 svn:log V 236 Implement legacy interrupts for the AHCI device emulation according to the method outlined in the AHCI spec. Tested with FreeBSD 9/10/11 with MSI disabled, and also NetBSD/amd64 (lightly). Reviewed by: neel, tychon MFC after: 3 weeks END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-04-28T18:54:12.165623Z K 7 svn:log V 104 Set the new floating point exception mask correctly Submitted by: Keith White END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-04-28T20:38:08.266578Z K 7 svn:log V 362 Revert r263754, re-adding support for hw.bus.devctl_disable. Breaking old devd's and thus hosts that get IP addresses from DHCP was too much of a POLA violation. The sysctl may be removed again after r263758 has been merged to at least stable/9 and stable/10, and releases have been cut from those branches. Discussed with: mjg Reported by: theraven, rwatson END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-28T20:40:36.070507Z K 7 svn:log V 108 Remove note about hw.bus.devctl_disable removal, restored in r265060. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-04-28T22:06:40.021186Z K 7 svn:log V 483 Allow a virtual machine to be forcibly reset or powered off. This is done by adding an argument to the VM_SUSPEND ioctl that specifies how the virtual machine should be suspended, viz. VM_SUSPEND_RESET or VM_SUSPEND_POWEROFF. The disposition of VM_SUSPEND is also made available to the exit handler via the 'u.suspended' member of 'struct vm_exit'. This capability is exposed via the '--force-reset' and '--force-poweroff' arguments to /usr/sbin/bhyvectl. Discussed with: grehan@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-04-28T23:16:46.934962Z K 7 svn:log V 120 Add dependency for libm to libstdc++. This fixes high -j value builds when not building with clang. Submitted by: ian@ END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-28T23:46:04.528442Z K 7 svn:log V 76 MFC r257210, r258527: No hardfloat in ubldr, save/restore r9 for api calls. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-29T00:09:48.229583Z K 7 svn:log V 74 MFC r261819 & r262242: Actually validate the header of a loaded dtb file. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-29T00:13:25.428029Z K 7 svn:log V 442 MFC r262326 (white space) and r262327 (fdt_addr). This change was supposed to be whitespace only, but a functional change snuck in, as follows: Look for both fdtaddr and fdt_addr env var names. Grepping the u-boot source shows that board vendors seem to be about evenly split on this. The added lines were: /* Board vendors use both fdtaddr and fdt_addr names. Grrrr. */ if (s == NULL) s = ub_env_get("fdt_addr"); END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-29T00:17:30.181156Z K 7 svn:log V 286 MFC r262337: Allow the boot device to be choosen by a u-boot env variable. If a "loaderdev=" env variable is set and the named device exists, it is used. If the device doesn't exist, fall back to the historic "probe" loop that prefers disk devices over network devices. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-29T00:31:32.060857Z K 7 svn:log V 501 MFC r262340, r262345, r262347, find and load an appropriate dtb file. The search order for a usable dtb in fdt_setup_fdtp() is now - A dtb loaded with an explicit "load -t dtb" command. - A dtb already loaded into memory somehow[*] and pointed to by fdt_to_load. - A dtb in the memory pointed to by the u-boot env vars fdtaddr or fdt_addr. - A file named by the u-boot env vars fdtfile or fdt_file. - A static dtb compiled into the kernel. * Presumably by some arch-specific command or code. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-29T00:36:51.856370Z K 7 svn:log V 535 MFC r262664, r262694: Prevent fdt data loaded from a file from overwriting the kernel environment, by having uboot_autoload() do the fdt setup (which may load a file) rather than waiting until we're actually in the process of launching the kernel. As part of making this happen... - Define LOADER_FDT_SUPPORT on the uboot/lib compile command line when MK_FDT is set. - Make fdt_setup_fdtb() public. - Declare public fdt_whatever() functions in a header instead of using scattered extern decls in .c files. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-29T00:38:46.933468Z K 7 svn:log V 75 MFC r262666: exit with code 0xbadab1 if the u-boot API support is missing. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-29T00:45:42.702408Z K 7 svn:log V 777 MFC r263052, r263124, r263265, r263267... Enhance loaderdev env var. Enhance the mechanism that lets you configure the ubldr boot device by setting the u-boot environment variable loaderdev=. It used to accept only 'disk' or 'net'. Now it allows specification of unit, slice, and partition as well. In addition to the generic 'disk' it also accepts specific storage device types such as 'mmc' or 'sata'. If there isn't a loaderdev env var, the historical behavior is maintained. It will use the first storage device it finds, or a network device if no working storage device exists. 99% of the work on this was done by Patrick Kelsey, but I made some changes, so if anything goes wrong, blame me. (Indeed, the 3 followup commits fixed things I got wrong on the first.) END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-04-29T01:17:43.145866Z K 7 svn:log V 44 Remove redundant include MFC after: 3 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-04-29T03:36:04.174890Z K 7 svn:log V 165 MFC r264436: Fix some off-by-one errors. The kve_end and rdl_eaddr fields contain the first address after the end of the map entry and should therefore be excluded. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-04-29T03:37:30.076156Z K 7 svn:log V 165 MFC r264436: Fix some off-by-one errors. The kve_end and rdl_eaddr fields contain the first address after the end of the map entry and should therefore be excluded. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-04-29T03:49:40.665068Z K 7 svn:log V 98 MFC r262775: Log the name of the file that we failed to open rather than an uninitialized buffer. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-04-29T03:50:23.747644Z K 7 svn:log V 98 MFC r262775: Log the name of the file that we failed to open rather than an uninitialized buffer. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-04-29T03:58:17.132017Z K 7 svn:log V 57 Revert r265076; r262775 should not be MFC'd to stable/9. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-04-29T05:45:17.541819Z K 7 svn:log V 141 MFC r265015: Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel LynxPoint USB 3.0 controllers found in MacBookPro 2013's. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-04-29T05:47:13.706704Z K 7 svn:log V 141 MFC r265015: Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel LynxPoint USB 3.0 controllers found in MacBookPro 2013's. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-04-29T05:48:50.614281Z K 7 svn:log V 141 MFC r265015: Setting the IMOD value below 0x3F8 can cause IRQ lockups in the Intel LynxPoint USB 3.0 controllers found in MacBookPro 2013's. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-04-29T06:12:57.002626Z K 7 svn:log V 4 IFC END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-04-29T06:14:36.576058Z K 7 svn:log V 286 Provide the source sockaddr to the UDP tunnel callback vxlan needs this to populate its forwarding table. And while here, make upd6_append() look a bit more like upd_append(). While I doubt there is an out of tree consumer of the UDP tunneling callback, this does make an MFC a pain. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-04-29T06:15:21.171408Z K 7 svn:log V 31 Add DEF_CLONE_CMD_ARG2() macro END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-04-29T06:18:06.459710Z K 7 svn:log V 340 Initial WIP snapshot of the vxlan pseudo device Currently only supports IPv4 point to point configurations. Generally works, but still rough around the edges. Remaining work includes: - Add multicast support. - Add IPv6 support. I think adding support for RFC6936 is a prerequisite. - Cleanup the ifconfig CLI and ioctl interfaces. END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-04-29T07:17:33.846883Z K 7 svn:log V 98 Document the -a option that was added in r262424. Obtained from: Netflix, Inc. MFC after: 3 days END K 10 svn:author V 6 scottl K 8 svn:date V 27 2014-04-29T07:19:22.270313Z K 7 svn:log V 109 Fix formatting of the -a option in usage() to be consistent. Obtained from: Netflix, Inc. MFC after: 3 days END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-29T07:29:13.869728Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-04-29T07:45:21.949405Z K 7 svn:log V 85 Add standard SYNOPSIS wording, fix typos, contractions and new sentence -> new line. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-04-29T07:48:07.286224Z K 7 svn:log V 358 After r264897 restore the ability to add bootoptions from FDT for platforms which do not use loaders or kernels that want to hardcode options or for FDT passed in by loader. Also fix a build issue by putting the kmdp variable accessed back under the #ifdef FDT; we may wish to revisit decision in which case more code needs changing. Submitted by: brooks END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-04-29T11:31:22.701348Z K 7 svn:log V 444 Merge r133175 from upstream: 2008-03-13 Dennis Czeremin PR libstdc++/35566 * include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator, _InputIterator)): Forward to _M_insert_equal, not _M_insert_unique. This patch was GPL2 at the time and fixes a regression introduced with the merge of GCC r129013 in FreeBSD r236829. MFC after: 3 days Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-04-29T12:52:36.645708Z K 7 svn:log V 91 Do not use senderr() in rtrequest1_fib_change(). Suggested by: glebius MFC after: 4 weeks END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-04-29T14:46:45.206989Z K 7 svn:log V 536 Fix a panic when removing an IP address from an interface, if the same address exists on another interface. The panic was introduced by change 264887, which changed the fibnum parameter in the call to rtalloc1_fib() in ifa_switch_loopback_route() from RT_DEFAULT_FIB to RT_ALL_FIBS. The solution is to use the interface fib in that call. For the majority of users, that will be equivalent to the legacy behavior. PR: kern/189089 Reported by: neel Reviewed by: neel MFC after: 3 weeks X-MFC with: 264887 Sponsored by: Spectra Logic END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-04-29T14:52:39.575248Z K 7 svn:log V 33 NLS is used by the build system. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-04-29T15:12:23.541155Z K 7 svn:log V 105 Add regression test for PR kern/189088. PR: kern/189088 MFC after: 3 weeks Sponsored by: Spectra Logic END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-04-29T15:25:57.400571Z K 7 svn:log V 371 citrus: Avoid invalid code points. From the OpenBSD log: The UTF-8 decoder should not accept byte sequences which decode to unicode code positions U+D800 to U+DFFF (UTF-16 surrogates), U+FFFE, and U+FFFF. http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 http://unicode.org/faq/utf_bom.html#utf8-4 Reported by: Stefan Sperling Obtained from: OpenBSD MFC after: 5 days END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-04-29T16:51:28.289094Z K 7 svn:log V 521 Fix "netstat -gW" behavior broken in r259638. netstat has two options for printing multicast tables: sysctl (the default one for live systems) and kvm-based one (for cores). It looks like kvm-based one hasn't been working since it's been introduced in r190012 due to absence of mfctablesize kernel symbol. Check for all ipv4-multicast symbols being correctly resolved was introduced in r259638 regardless of 'live' value leading to "No IPv4 MROUTING" error message. Reported by: Olivier Cochard-LabbĂ© MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-04-29T16:57:25.350222Z K 7 svn:log V 635 Merge from CheriBSD: commit 1d1b908107255ffdff4d17f015d8f057d73cc6cb Author: Brooks Davis Date: Fri Mar 28 16:24:45 2014 +0000 Add a long needed seatbelt. Exit with an error when make is called without a target at the top level rather than poluting the source tree and causing use confusion in future builds. commit a9d9aa341b2f4308a227ab460ba85f1f287ad028 Author: Brooks Davis Date: Tue Apr 29 16:06:12 2014 +0000 Simplify seatbelt added in 1d1b908 based in feedback. Discussed with: imp@FreeBSD.org Reviewed by: imp Sponsored by: DARPA, AFRL END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-04-29T17:22:29.813797Z K 7 svn:log V 308 Bump WITNESS_PENDLIST by MAXCPU to account for the pmap pvlist locks which are scaled by MAXCPU. This allows an amd64 system to boot with MAXCPU set to 256, which is currently FreeBSD's hard limit without x2apic support. Compile-tested for other arch's. PR: 185831 Discussed with: jhb MFC after: 3 weeks END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-29T17:48:57.022470Z K 7 svn:log V 86 Add SMP support for Zedboard. Submitted by: Thomas Skibo END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-04-29T18:42:37.333619Z K 7 svn:log V 546 For the VM_PHYSSEG_DENSE case, checking the requested range to fall into the area backed by vm_page_array wrongly compared end with vm_page_array_size. It should be adjusted by first_page index to be correct. Also, the corner and incorrect case of the requested range extending after the end of the vm_page_array was incorrectly handled by allocating the segment. Fix the comparision for the end of range and return EINVAL if the end extends beyond vm_page_array. Discussed with: royger Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-04-29T18:42:56.374820Z K 7 svn:log V 822 Some Linux guests will implement a 'halt' by disabling the APIC and executing the 'HLT' instruction. This condition was detected by 'vm_handle_hlt()' and converted into the SPINDOWN_CPU exitcode . The bhyve(8) process would exit the vcpu thread in response to a SPINDOWN_CPU and when the last vcpu was spun down it would reset the virtual machine via vm_suspend(VM_SUSPEND_RESET). This functionality was broken in r263780 in a way that made it impossible to kill the bhyve(8) process because it would loop forever in vm_handle_suspend(). Unbreak this by removing the code to spindown vcpus. Thus a 'halt' from a Linux guest will appear to be hung but this is consistent with the behavior on bare metal. The guest can be rebooted by using the bhyvectl options '--force-reset' or '--force-poweroff'. Reviewed by: grehan@ END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-04-29T19:02:34.046447Z K 7 svn:log V 161 Fix two cases of recursive acquisitions of the vm object lock, only possible in rare failure situations. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-04-29T19:14:42.901758Z K 7 svn:log V 240 Move rt_setmetrics() from rtsock.c to route.c. All rtsock-initiated rte creation/modification are now performed in route.c holding radix tree write lock. This reduces the need for per-rte mutex. Sponsored by: Yandex LLC MFC after: 1 month END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-04-29T19:48:11.401992Z K 7 svn:log V 181 Partially revert r265019 - allocating 512 bytes on stack can be too much for architectures like ARM. Always use rounded malloc instead. Discussed with: jmallett MFC after: 4 weeks END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-29T20:44:27.474776Z K 7 svn:log V 56 MFC - tracking commit. Merging r265087 through r265104. END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-29T20:48:15.066566Z K 7 svn:log V 128 Minimalist frobbing to get a (mips) kernel to compile without "device random". No evidence exists that this actually works yet. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-29T20:49:47.243135Z K 7 svn:log V 83 Be consistent with the whitespace in the rest of these files. X-MFC-With: r264007 END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-04-29T20:51:57.313940Z K 7 svn:log V 81 Given that as of r258002 the last external user is gone, make sched_lock static. END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-29T20:52:39.300980Z K 7 svn:log V 175 Fix a printf to work with a ssize_t variable. Fix the 128-bit code to use an available macro to detect compiler-native 128-bit integers. Thanks to John Baldwin for the clue. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-04-29T20:57:25.120425Z K 7 svn:log V 16 Update comment. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-29T23:29:28.485760Z K 7 svn:log V 56 Make this declaration into a proper function prototype. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-30T02:03:13.333343Z K 7 svn:log V 383 * Only update ah_powerMode if we're setting the chip sleep state. Some code will appear soon that is actually setting the chip powerstate separate from the self-generated frames power state. * Allow the AR5416 family chips to actually have the power state changed from the self generated state change. Tested (STA mode): * AR5210 * AR5211 * AR5412 * AR5413 * AR5416 * AR9285 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-30T02:03:47.117235Z K 7 svn:log V 117 Only track the power state variable if the power state is changed, not if the self-generated frame state is changed. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-04-30T02:08:27.489922Z K 7 svn:log V 134 Ignore writes to microcode update MSR. This MSR is accessed by RHEL7 guest. Add KTR tracepoints to annotate wrmsr and rdmsr VM exits. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-30T02:19:41.813407Z K 7 svn:log V 2164 Bring over some initial power save management support, reset path fixes and beacon programming / debugging into the ath(4) driver. The basic power save tracking: * Add some new code to track the current desired powersave state; and * Add some reference count tracking so we know when the NIC is awake; then * Add code in all the points where we're about to touch the hardware and push it to force-wake. Then, how things are moved into power save: * Only move into network-sleep during a RUN->SLEEP transition; * Force wake the hardware up everywhere that we're about to touch the hardware. The net80211 stack takes care of doing RUN<->SLEEP<->(other) state transitions so we don't have to do it in the driver. Next, when to wake things up: * In short - everywhere we touch the hardware. * The hardware will take care of staying awake if things are queued in the transmit queue(s); it'll then transit down to sleep if there's nothing left. This way we don't have to track the software / hardware transmit queue(s) and keep the hardware awake for those. Then, some transmit path fixes that aren't related but useful: * Force EAPOL frames to go out at the lowest rate. This improves reliability during the encryption handshake after 802.11 negotiation. Next, some reset path fixes! * Fix the overlap between reset and transmit pause so we don't transmit frames during a reset. * Some noisy environments will end up taking a lot longer to reset than normal, so extend the reset period and drop the raise the reset interval to be more realistic and give the hardware some time to finish calibration. * Skip calibration during the reset path. Tsk! Then, beacon fixes in station mode! * Add a _lot_ more debugging in the station beacon reset path. This is all quite fluid right now. * Modify the STA beacon programming code to try and take the TU gap between desired TSF and the target TU into account. (Lifted from QCA.) Tested: * AR5210 * AR5211 * AR5212 * AR5413 * AR5416 * AR9280 * AR9285 TODO: * More AP, IBSS, mesh, TDMA testing * Thorough AR9380 and later testing! * AR9160 and AR9287 testing Obtained from: QCA END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-30T02:29:31.665428Z K 7 svn:log V 57 Add ar9300_get_next_tbtt(). Tested: * AR9380, STA mode END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-04-30T02:44:07.220668Z K 7 svn:log V 144 * Modify the beacon interval in debugging to be ni_intval, not 102400 * Be paranoid about avoiding divide-by-zero. Tested: * AR9380, STA mode END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-04-30T03:49:21.469627Z K 7 svn:log V 12 MFH@r265080 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-30T04:02:32.071966Z K 7 svn:log V 108 Fix devfs rules not applied by default for jails. Security: FreeBSD-SA-14:07.devfs Security: CVE-2014-3001 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-30T04:02:36.588949Z K 7 svn:log V 125 Fix OpenSSL use-after-free vulnerability. Obtained from: OpenBSD Security: FreeBSD-SA-14:09.openssl Security: CVE-2010-5298 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-30T04:02:57.177907Z K 7 svn:log V 113 Fix TCP reassembly vulnerability. Patch done by: glebius Security: FreeBSD-SA-14:08.tcp Security: CVE-2014-3000 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-30T04:03:05.546333Z K 7 svn:log V 300 Fix devfs rules not applied by default for jails. Fix OpenSSL use-after-free vulnerability. Fix TCP reassembly vulnerability. Security: FreeBSD-SA-14:07.devfs Security: CVE-2014-3001 Security: FreeBSD-SA-14:08.tcp Security: CVE-2014-3000 Security: FreeBSD-SA-14:09.openssl Security: CVE-2010-5298 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-30T04:04:20.484749Z K 7 svn:log V 113 Fix TCP reassembly vulnerability. Patch done by: glebius Security: FreeBSD-SA-14:08.tcp Security: CVE-2014-3000 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-30T04:04:42.373091Z K 7 svn:log V 316 Fix devfs rules not applied by default for jails. Fix OpenSSL use-after-free vulnerability. Fix TCP reassembly vulnerability. Security: FreeBSD-SA-14:07.devfs Security: CVE-2014-3001 Security: FreeBSD-SA-14:08.tcp Security: CVE-2014-3000 Security: FreeBSD-SA-14:09.openssl Security: CVE-2010-5298 Approved by: so END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-30T04:05:47.701190Z K 7 svn:log V 106 Fix TCP reassembly vulnerability. Security: FreeBSD-SA-14:08.tcp Security: CVE-2014-3000 Approved by: so END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-04-30T04:24:21.017347Z K 7 svn:log V 139 Teach libdisk about mfid devices. This is a direct commit to stable/4 since stable/5 and newer have r105681 which made this code obsolete. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-04-30T04:44:51.885976Z K 7 svn:log V 173 MF6 r157468: Teach sysinstall about MFI (scottl) NB: Merged from stable/6/usr.sbin/sysinstall to stable/4/release/sysinstall (location changed in between releases 4 and 6). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-04-30T05:00:52.650486Z K 7 svn:log V 209 Fix lnc0 detection in VMware when PXE booting. This is a direct commit to stable/4 since lnc(4) was deprecated and does not exist beyond this branch. Submitted by: Paul Meng PR: kern/77982 END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-04-30T05:26:31.659712Z K 7 svn:log V 159 As-per r161293 (jhb), only recognize mfi(4) on i386. This is a direct commit to stable/4 as all future branches contain r105818 which made this code obsolete. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-04-30T05:59:31.789131Z K 7 svn:log V 236 Add tested known good version of Areca SATA RAID driver (arcmsr) working in stable/4. An MFC of slightly later code than that of r144411 (scottl). This is a direct commit to stable/4. Obtained from: Erich Chen END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-04-30T06:03:01.165747Z K 7 svn:log V 205 Merge r144423 with r144497 in-mind. Glue the arcmsr driver into the stable/4 branch -- but don't build arcmsr on pc98. This is a direct commit to stable/4 as arcmsr is already hooked into stable/5 and up. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-04-30T06:20:48.435181Z K 7 svn:log V 170 Add a /dev/full device. /dev/full is similar to /dev/zero except it always returns ENOSPC when you attempt to write to it. Reviewed by: jhibbits Discussed with: rpaulo END K 10 svn:author V 6 dteske K 8 svn:date V 27 2014-04-30T06:27:23.337292Z K 7 svn:log V 63 MFH r144419 (scottl): Add a manual page for the arcmsr driver. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-04-30T06:30:37.124633Z K 7 svn:log V 115 null.c: fix ordering Use a consistent ordering of full -> null -> zero (alphabetical) in null.c Reported by: mjg END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-04-30T06:34:53.311518Z K 7 svn:log V 52 man pages: add missing comma Reported by: brueffer END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-04-30T06:40:30.466540Z K 7 svn:log V 77 null.c: uio is unused Mark another parameter as unused Reported by: rpaulo END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-04-30T06:54:35.831981Z K 7 svn:log V 45 Add missing comma Relnotes: yes (/dev/full) END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-30T07:09:16.940460Z K 7 svn:log V 56 MFC - tracking commit. Merging r265105 through r265137. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-04-30T07:17:51.072348Z K 7 svn:log V 82 Change type from int to short to match function prototypes. Reviewed by: glebius END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-04-30T08:51:30.302483Z K 7 svn:log V 41 Document m_get2(). Reviewed by: glebius END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-04-30T09:53:14.511526Z K 7 svn:log V 105 MFC r265046 Fix ZIO reordering issue which could cause data loss / corruption. Sponsored by: Multiplay END K 10 svn:author V 5 erwin K 8 svn:date V 27 2014-04-30T09:55:45.613493Z K 7 svn:log V 179 Pick up the 2014032601 update which adds an IPv6 address for C. Note that this is a direct commit to stable/9 as this file is no longer in HEAD. Sponsored by: DK Hostmaster A/S END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-04-30T09:55:50.332128Z K 7 svn:log V 105 MFC r265046 Fix ZIO reordering issue which could cause data loss / corruption. Sponsored by: Multiplay END K 10 svn:author V 5 erwin K 8 svn:date V 27 2014-04-30T09:57:38.772746Z K 7 svn:log V 179 Pick up the 2014032601 update which adds an IPv6 address for C. Note that this is a direct commit to stable/8 as this file is no longer in HEAD. Sponsored by: DK Hostmaster A/S END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-04-30T09:58:28.978443Z K 7 svn:log V 136 Don't forget to remember previous element at the end of the loop. Reported by: brueffer Found with: Coverity Prevent(tm) CID: 1135301 END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-04-30T11:06:02.457682Z K 7 svn:log V 105 MFC r265046 Fix ZIO reordering issue which could cause data loss / corruption. Sponsored by: Multiplay END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-04-30T14:09:26.767664Z K 7 svn:log V 1962 MFC: r241028 Change queue overflow checks from DIAGNOSTIC+panic() to KASSERT() to make them enabled on HEAD by default. It is probably better to do single compare then hunt for unexpected memory corruption. MFC: r241444 Increase device CCB queue array size by CAM_RL_VALUES - 1 (4) elements. It is required to store extra recovery requests in case of bus resets. On ATA/SATA this fixes assertion panics on HEAD with INVARIANTS enabled or possible memory corruptions otherwise if timeout/reset happens when device CCB queue is already full. MFC: r249466 (partial), r249438, r249481, r250025 (partial) Remove multilevel freezing mechanism, implemented to handle specifics of the ATA/SATA error recovery, when post-reset recovery commands should be allocated when queues are already full of payload requests. Instead of removing frozen CCBs with specified range of priorities from the queue to provide free openings, use simple hack, allowing explicit CCBs over- allocation for requests with priority higher (numerically lower) then CAM_PRIORITY_OOB threshold. Simplify CCB allocation logic by removing SIM-level allocation queue. After that SIM-level queue manages only CCBs execution, while allocation logic is localized within each single device. MFC: r253958 Change CCB queue resize logic to be able safely handle overallocations: - (re)allocate queue space in power of 2 chunks with 64 elements minimum and never shrink it; with only 4/8 bytes per element size is insignificant. - automatically reallocate the queue to double size if it is overflowed. - if queue reallocation failed, store extra CCBs in unsorted TAILQ, fetching them back as soon as some queue element is freed. To free space in CCB for TAILQ linking, change highpowerq from keeping high-power CCBs to keeping devices frozen due to high-power CCBs. This encloses all pieces of queue resize logic inside of cam_queue.[ch], removing some not obvious duties from xpt_release_ccb(). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-30T14:38:13.283116Z K 7 svn:log V 76 Convert the Zynq SoC support to the new routines for static device mapping. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-04-30T16:42:12.873681Z K 7 svn:log V 109 Make uninteresting PCI devices with no attached drivers only print out on a verbose boot MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-04-30T17:38:26.681107Z K 7 svn:log V 568 Do not reread SCSI disk VPD pages on every device open. Instead of rereading VPD pages on every device open, do it only on initial device probe, and in cases when device reported via UNIT ATTENTIONs that something has changed. Capacity is still rereaded on every open because it is more critical for operation and more probable to change in run time. On my tests with Intel 530 SSDs on mps(4) HBA this change reduces time GEOM needs to retaste the device (that includes few open/close cycles) from ~150ms to ~30ms. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-04-30T17:43:49.733432Z K 7 svn:log V 185 Nuke svn:ignore on the conf directory - This makes sense for the compile directory, but not so much for here as it's including ignores for things like GENERIC etc. Submitted by: markm END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-04-30T17:46:29.454060Z K 7 svn:log V 1013 Reintroduce priority for the TRIM ZIOs instead of using the "NOW" priority The changes how TRIM requests are generated to use ZIO_TYPE_FREE + a priority instead of ZIO_TYPE_IOCTL, until processed by vdev_geom; only then is it translated the required geom values. This reduces the amount of changes required for FREE requests to be supported by the new IO scheduler. This also eliminates the need for a specific DKIOCTRIM. Also fixed FREE vdev child IO's from running ZIO_STAGE_VDEV_IO_DONE as part of their schedule. As the new IO scheduler can result in a request to execute one type of IO to actually run a different type of IO it requires that zio_trim requests are processed without holding the trim map lock (tm->tm_lock), as the free request execute call may result in write request running hence triggering a trim_map_write_start call, which takes the trim map lock and hence would result in recused on no-recursive sx lock. This is based off avg's original work, so credit to him. MFC after: 1 month END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-04-30T17:56:05.496471Z K 7 svn:log V 56 MFC - tracking commit. Merging r265138 through r265152. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-04-30T18:02:04.356653Z K 7 svn:log V 306 Allow FDT_DTS_FILE to be a list, either in the makedtb target, or in a kernel config file. If you also want to have a static DTB compiled into your kernel, however, it cannot be a list. We have no mechanism in the kernel for picking one, so that doesn't make sense and will result in a compile-time error. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-04-30T18:02:10.228602Z K 7 svn:log V 556 Omit from the universe build all config files tagged with #NO_UNIVERSE. Many of these config files are important examples, but add little to no regresive value to the intended purpose of UNIVERSE. We now build over 120 kernels during universe. There's really little to no value to this over building say 60 or even 30 of them (either is still a way too big number). This is especially true for kernels that are nothing more than including a common base and adding a static DTB file. Start by pruning 1/3 of the arm kernels that add little regresion value. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-04-30T18:02:19.360306Z K 7 svn:log V 97 This was copied to IMX6, which has since evolved further. Remove this as it is no longer needed. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-30T18:11:53.151789Z K 7 svn:log V 412 kldxref: Clean up error reporting Omit "too many sections" warnings if the ELF file is not dynamically linked (and is therefore skipped anyway), and otherwise output it only once. An errant core file would previously cause kldxref to output a number of warnings. Also introduce a MAXSEGS #define and replace literal 2 with it, to make comparisons clear. Reviewed by: kib Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-04-30T18:25:14.798949Z K 7 svn:log V 54 List LINT* instead of completely removing svn:ignore. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-04-30T19:44:31.253406Z K 7 svn:log V 231 Respect MAXIMUM TRANSFER LENGTH field of Block Limits VPD page. Nobody yet reported disk supporting I/Os less then our MAXPHYS value, but since we any way have code to read Block Limits VPD page, that is easy. MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-04-30T20:39:08.740948Z K 7 svn:log V 127 MFC r264581, r264744: Various style(9) fixes and typos in printf, grep, sort and patch. #define should be followed by a tab. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-04-30T20:46:52.233961Z K 7 svn:log V 124 MFC r264581, r264744 (partial): Various style(9) fixes and typos in printf and grep. #define should be followed by a tab. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-04-30T20:47:40.309721Z K 7 svn:log V 162 Turns out this .if evaluated not in the context of the makedtb target sometimes due to Makefile expansion rules. Make the test for things being NULL elsewhere... END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-04-30T20:52:38.308950Z K 7 svn:log V 45 Fix logic error. Submitted by: ian@ END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-04-30T21:19:46.057257Z K 7 svn:log V 43 Small cleanup: mostly whitespace vs. tabs. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-05-01T00:12:24.659676Z K 7 svn:log V 282 Provide an alias for the userboot console and name it 'comconsole'. This allows existing loader.conf files that set "console=comconsole" to work without failing. No functional difference otherwise. Reported by: Michael Dexter, pfSense install. Reviewed by: neel MFC after: 3 weeks END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-01T00:31:19.610713Z K 7 svn:log V 1655 MFC: r258705,r258709,r263140,r263184,r263185,r263186,r263187,r263188, r263189,r263190,r263192,r263193,r263287,r263288,r263890,r264281, r264655,r264656,r264856,r264857,r264858,r264859,r264860,r264861, r264891,r264892,r264909 Catch up on all the referenced changes in -current, in brief: r258705 | n_hibma | Use NANO_PMAKE for build, but not install r258709 | mr | pkgng goo + bootstrap r263140 | glebius | Axe IPX. r263184 | imp | Fix build with spaces in names. r263185 | imp | Make pcengines config files compile again. r263186 | imp | Use UFS2 by default, but allow fallback to UFS1 r263187 | imp | Print an error message when we exit out early. r263188 | imp | Sometimes only copy MBR when backing via swap r263189 | imp | Update save_cfg r263190 | imp | Be more explicit about setting SRCCONF to /dev/null r263192 | imp | Rely on default UFS type r263193 | imp | Remove TARGET_BIG_ENDIAN. It's no longer relevant. r263287 | bdrewery | pkg(8) has no limits r263288 | bdrewery | Remove comment meant for removal in r263287 r263890 | imp | Up default media size to 1GB. r264281 | imp | Ignore .hg and .git files r264655 | imp | rm -x for safety r264656 | imp | new example: dhcpd derived from FreeNAS/BSDRP r264856 | imp | Override the parallel make target to use all CPUs. r264857 | imp | No need for true here, remove it. r264858 | imp | NANO_PKG_META_BASE r264859 | imp | stylize umount hack r264860 | imp | switch dhcpd to pkg(8). r264861 | imp | CR and CR0 added from dhcpd r264891 | imp | Try to alwaays use () for functions r264892 | imp | bash whines about r264857, revert r264909 | imp | Move back to {} for functions that need global effects END