ƒ´c247000 170 168 131 230 391 1058 330 172 162 254 334 133 202 392 704 363 144 165 99 165 178 131 447 176 258 119 433 133 106 293 406 264 237 206 373 249 118 260 182 121 145 113 254 248 278 337 339 286 667 719 817 537 108 219 202 197 445 106 127 344 221 141 323 392 143 803 174 288 132 138 298 229 240 194 133 386 108 230 201 149 168 165 170 125 230 165 458 188 239 394 137 754 754 396 192 107 107 174 99 166 166 150 580 265 418 432 429 146 140 136 374 134 231 304 2257 2692 2428 1335 338 201 217 159 159 400 177 139 139 464 178 142 170 136 144 138 300 151 219 634 315 247 99 155 137 137 137 721 909 157 137 139 209 880 107 639 121 375 194 581 386 146 471 160 284 213 526 182 504 1096 139 223 378 K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-19T16:43:48.890381Z K 7 svn:log V 73 Fixup r246916 in case gcc is used to build. Reported by: attilio, simon END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-02-19T17:09:23.575049Z K 7 svn:log V 34 Fix includes for use in libstand. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-19T17:38:18.708053Z K 7 svn:log V 137 Import change 6d783560e4aad1e680097d11e89755647a5aba87 from upstream heimdal: fix sizeof(uuid) Found by: clang ToT Reviewed by: stas END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-19T17:53:32.516226Z K 7 svn:log V 298 Pull in r175360 from upstream llvm trunk: MCParser: Reject .balign with non-pow2 alignments. GNU as rejects them and there are configure scripts in the wild that check if the assembler rejects ".align 3" to determine whether the alignment is in bytes or powers of two. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-02-19T17:57:17.082453Z K 7 svn:log V 966 MFC r232977 and r233945: Make init(8) slightly more robust when /dev/console is missing. If the environment doesn't offer a working /dev/console, the existing version of init(8) will simply refuse running rc(8) scripts. This means you'll only have a system running init(8) and nothing else. Change the code to do the following: - Open /dev/console like we used to do, but make it more robust to use O_NONBLOCK to prevent blocking on a carrier. - If this fails, use /dev/null as stdin and /var/log/init.log as stdout and stderr. - If even this fails, use /dev/null as stdin, stdout and stderr. So why us this useful? Well, if you remove the `getpid() == 1' check in main(), you can now use init(8) inside jails to properly execute rc(8). It still requires some polishing, as existing tools assume init(8) has PID 1. Also it is now possible to use use init(8) on `headless' devices that don't even have a serial boot console. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-19T18:22:25.404252Z K 7 svn:log V 237 MFcalloutng: Make dcons input polling adaptive, reducing poll rate to 1Hz after several minutes of inactivty to reduce global interrupt rate. Most of users never used FireWire debugging, so it is not very useful to consume power by it. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-02-19T18:28:25.695299Z K 7 svn:log V 80 dtc: fix bootstrapping from 8.2-STABLE MFC after: 1 week Approved by: theraven END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-19T19:14:22.414979Z K 7 svn:log V 70 Update man pages to reflect switch from struct bintime to sbintime_t. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-19T19:25:50.234112Z K 7 svn:log V 161 MFcalloutng: Make led(4) fire callouts at 10Hz only when there is at least one LED that is requested to blink. Do not fire if all LEDs are static (usual case). END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-19T20:33:55.014339Z K 7 svn:log V 239 Roll back change of frequency for initialization sequence since it seems to cause more problems then previous behavior: it either breaks initilization sequence in other places or uncovers problems with high-speed mode timing for SDHCI 3.0 END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-19T21:24:52.500227Z K 7 svn:log V 39 Spelling fixes Spotted by: N. J. Mann END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-02-19T21:33:21.241547Z K 7 svn:log V 104 Add support to mxge for IPv6 TX csum offload & IPv6 TSO. Sponsored by: Myricom, Inc. MFC after: 7 days END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-02-19T21:35:17.173306Z K 7 svn:log V 299 add support for AES and PCLMULQDQ instructions to binutils... Thanks to Mike Belopuhov for the pointer to the OpenBSD patch, though OpenBSD's gcc is very different that it only helped w/ where to modify, not how... Thanks to jhb for some early reviews... Reviewed by: imp, kib MFC after: 1 month END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-19T23:46:51.272824Z K 7 svn:log V 608 sh: Fix a crash with the stackmark code. If a stack mark is set while the current stack block is empty, the stack block may move later on (because of realloc()) and the stack mark needs to be updated. This updating does not happen after popstackmark() has been called; therefore, call setstackmark() again if the stack mark is still being used. For some reason, this only affects a few users. I cannot reproduce it. The situation seems quite rare as well because an empty stack block would usually be freed (by popstackmark()) before execution reaches a setstackmark() call. PR: 175922 Tested by: KT Sin END K 10 svn:author V 8 keramida K 8 svn:date V 27 2013-02-19T23:57:39.769725Z K 7 svn:log V 265 Add a sample program that shows how a custom comparison function and qsort(3) can work together to sort an array of integers. PR: docs/176197 Submitted by: Fernando, fapesteguia at opensistemas.com Approved by: gjb (mentor) MFC after: 1 week END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-02-20T00:13:26.304648Z K 7 svn:log V 52 Do no assume ${DESTDIR}/usr/include is always valid END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-20T00:58:07.970266Z K 7 svn:log V 69 Create a branch to make the VM_OBJECT_LOCK transition into a rwlock. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-20T02:40:03.099895Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-02-20T03:59:45.702314Z K 7 svn:log V 70 MFC r246890: Close a race relating to setting the PCPU pointer (r13). END K 10 svn:author V 5 jamie K 8 svn:date V 27 2013-02-20T04:14:31.863393Z K 7 svn:log V 84 MFC r246804: Handle (ignore) when a process disappears before it can be tracked. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-02-20T06:48:39.167507Z K 7 svn:log V 36 MFC Approved by: grehan (implicit) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-20T10:38:34.556594Z K 7 svn:log V 350 Switch vm_object lock to be a rwlock. * VM_OBJECT_LOCK and VM_OBJECT_UNLOCK are mapped to write operations * VM_OBJECT_SLEEP() is introduced as a general purpose primitve to get a sleep operation using a VM_OBJECT_LOCK() as protection * The approach must bear with vm_pager.h namespace pollution so many files require including directly rwlock.h END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-20T10:40:27.580587Z K 7 svn:log V 80 Remove unused VM_OBJECT_LOCKPTR(). Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-20T10:51:34.396164Z K 7 svn:log V 161 There is no need to use VM_OBJECT_LOCKED() as the assertion won't make the check available in any case if INVARIANTS is switched off. Remove VM_OBJECT_LOCKED(). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-20T10:58:42.531236Z K 7 svn:log V 28 Remove in6_clearscope call. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-20T11:14:55.500402Z K 7 svn:log V 337 CFG_ERR, DATA_UNDERRUN and DELIM_UNDERRUN are all flags, rather than part of ts_status. Thus: * make sure we decode them from ts_flags, rather than ts_status; * make sure we decode them regardless of whether there's an error or not. This correctly exposes descriptor configuration errors, TX delimiter underruns and TX data underruns. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-20T11:17:03.639075Z K 7 svn:log V 38 Post interrupts in the ath alq trace. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-20T11:17:29.117726Z K 7 svn:log V 11 oops, tab! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-20T11:20:51.348279Z K 7 svn:log V 197 Enable TX FIFO underrun interrupts. This allows the TX FIFO threshold adjustment code to now run. Tested: * AR5416, STA TODO: * Much more thorough testing on the other chips, AR5210 -> AR9287 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-20T11:22:44.538278Z K 7 svn:log V 310 A couple of quick tidyups: * Delete this debugging print - I used it when debugging the initial TX descriptor chaining code. It now works, so let's toss it. It just confuses people if they enable TX descriptor debugging as they get two slightly different versions of the same descriptor. * Indenting. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-20T11:24:11.721616Z K 7 svn:log V 168 If any of the TX queues have underrun reporting enabled, enable HAL_INT_TXURN in the interrupt mask register. This should now allow for TXURN interrupts to be posted. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-20T12:03:20.027672Z K 7 svn:log V 140 Rename VM_OBJECT_LOCK(), VM_OBJECT_UNLOCK() and VM_OBJECT_TRYLOCK() to their "write" versions. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-20T12:06:33.572801Z K 7 svn:log V 109 Add read mode operations to VM_OBJECT_LOCK* class of functions. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-20T12:14:49.883363Z K 7 svn:log V 277 Configure larger TX FIFO default and maximum level values. This has reduced the number of TX delimiter and data underruns when doing large UDP transfers (>100mbit). This stops any HAL_INT_TXURN interrupts from occuring, which is a good sign! Obtained from: Qualcomm Atheros END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-20T12:40:26.734002Z K 7 svn:log V 152 Check if the -sec option is given without an argument. PR: bin/170413 Submitted by: Andrey Simonenko MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-20T12:59:21.922019Z K 7 svn:log V 26 Reduce excessive nesting. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-02-20T13:47:05.472060Z K 7 svn:log V 162 Add interface name filtering via 'match' cmd. Add 'pps' cmd for switching beetween interface packets/bytes statistics. Submitted by: vsevolod MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-02-20T14:19:09.490129Z K 7 svn:log V 85 Fix several new & old style issues. Pointed by: ae, pluknet, zont MFC with: r247036 END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-20T14:19:59.934330Z K 7 svn:log V 30 Do not use embedded zone ids. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-20T14:22:12.293765Z K 7 svn:log V 54 Rename variables that were missed in the last commit. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-02-20T14:26:51.469976Z K 7 svn:log V 13 IFC @ 247036 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-20T15:18:42.749417Z K 7 svn:log V 158 Add a -D flag that causes duplicate entries in an mtree manifest to be treated as warnings rather than errors. Reviewed by: marcel Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-20T15:25:40.966709Z K 7 svn:log V 152 Fix the -N option in manifest mode by using pwcache(3). This also speeds up image creation appreciably. Reviewed by: marcel Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-20T15:28:40.657272Z K 7 svn:log V 182 Allow '.' components in manifest paths. They are always the first component of mtree -C and install -M output and are easily skipped. Reviewed by: marcel Sponsored by: DARPA, AFRL END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-20T15:44:40.956861Z K 7 svn:log V 240 ip_savecontrol() style fixes. No functional changes. - fix indentation - put the operator at the end of the line for long statements - remove spaces between the type and the variable in a cast - remove excessive parentheses Tested by: md5 END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-02-20T16:32:38.165026Z K 7 svn:log V 241 Fix "fdt addr" to accept literal addresses rather than va offsets. When initializing the fdt, query U-Boot as well. With this change, it is now feasible to have U-Boot load the FDT, ubldr will pull it from U-Boot and hand it to the kernel. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-02-20T16:48:52.391826Z K 7 svn:log V 193 Initialize vm_max_kernel_address on non-FDT platforms. (This should have been included in r246926.) The second parameter to pmap_bootstrap() is redundant. Eliminate it. Reviewed by: andrew END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-20T17:39:52.270825Z K 7 svn:log V 574 Convert machine/elf.h, machine/frame.h, machine/sigframe.h, machine/signal.h and machine/ucontext.h into common x86 includes, copying from amd64 and merging with i386. Kernel-only compat definitions are kept in the i386/include/sigframe.h and i386/include/signal.h, to reduce amd64 kernel namespace pollution. The amd64 compat uses its own definitions so far. The _MACHINE_ELF_WANT_32BIT definition is to allow the sys/boot/userboot/userboot/elf32_freebsd.c to use i386 ELF definitions on the amd64 compile host. The same hack could be usefully abused by other code too. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-02-20T17:46:38.641165Z K 7 svn:log V 624 Orphaned processes that are being traced are killed by the kernel. Properly restore, continue, and detach from processes being DTraced when DTrace exits with an error so the program being inspected is not terminated. cddl/contrib/opensolaris/cmd/dtrace/dtrace.c: In fatal(), the generic error handler, close the DTrace handle as is done in the "probe/script" error handler dfatal(). fatal() can be invoked after DTrace attaches to processes (e.g. a script specified by command line argument can't be found) and closing the handle will release them. Submitted by: Spectra Logic Corporation Reviewed by: rpaulo, gnn END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-02-20T17:55:17.157959Z K 7 svn:log V 722 Avoid panic when tearing down the DTrace pid provider for a process that has crashed. sys/cddl/contrib/opensolaris/uts/common/dtrace/fasttrap.c: In fasttrap_pid_disable(), we cannot PHOLD the proc structure for a process that no longer exists, but we still have other, fasttrap specific, state that must be cleaned up for probes that existed in the dead process. Instead of returning early if the process related to our probes isn't found, conditionalize the locking and carry on with a NULL proc pointer. The rest of the fasttrap code already understands that a NULL proc is possible and does the right things in this case. Sponsored by: Spectra Logic Corporation Reviewed by: rpaulo, gnn MFC after: 1 week END K 10 svn:author V 8 keramida K 8 svn:date V 27 2013-02-20T18:31:55.293997Z K 7 svn:log V 439 Various improvements to the qsort(3) usage example: - Remove unused #include. - Do not cast away const. - Use the canonical idiom to compare two numbers. - Use proper type for sizes, i.e. size_t instead of int. - Correct indentation. - Simplify printf("\n") to puts(""). - Use return instead of exit() in main(). Submitted by: Christoph Mallon, christoph.mallon at gmx.de Approved by: gjb (mentor) Reviewed by: stefanf MFC after: 1 week END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-02-20T19:05:13.276557Z K 7 svn:log V 15 Sort sections. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-20T19:32:31.107655Z K 7 svn:log V 123 Support hardlinks in manifest files by the same logic as the treewalk code. Reviewed by: marcel Sponsored by: DARPA, AFRL END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-20T20:12:17.592875Z K 7 svn:log V 109 MFC r239359: Remove unused member of struct indir (in_exists) from UFS and EXT2 code. Discussed with: mjg END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-02-20T20:42:56.208322Z K 7 svn:log V 101 Fix parallel build race with DEBUG_FLAGS Reported by: Jan Beich on freebsd-current Tested by: markj END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-20T20:56:07.057085Z K 7 svn:log V 352 MFC r246347, r246348, r246349, r246350, r246351, r246352: ext2fs: Miscellaneous cleanups and fixes. Use EXT2_LINK_MAX instead of LINK_MAX. Use nitems(). Correct off-by-one errors in FFTODT() and DDTOFT(). Remove useless rootino local variable. Remove unused em_e2fsb definition. Move assignment where it is not dead. Submitted by: Christoph Mallon END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-20T21:16:50.671566Z K 7 svn:log V 14 revert 247035 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-20T21:49:52.243579Z K 7 svn:log V 32 MFC r246507: sh: Fix a comment. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-20T21:57:01.156850Z K 7 svn:log V 248 MFC r246371: sh: Do not test for digit_contig in mksyntax. ISO/IEC 9899:1999 (E) 5.2.1p3 guarantees that the values of the characters 0123456789 are contiguous. The generated syntax.c and syntax.h remain the same. Submitted by: Christoph Mallon END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-20T22:20:49.712494Z K 7 svn:log V 128 Remove the unused spl functions: spl0, splsoftcam, splsofttty, splsofttq and splstatclock. Other used spl functions to follow. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-02-20T22:51:42.759687Z K 7 svn:log V 48 Do not use deprecated functions from libarchive END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-20T22:59:53.228789Z K 7 svn:log V 230 When porting XTS-related code from OpenBSD I forgot to update copyright (only OpenBSD was credited in one of two commits). Fix it. Reported by: Theo de Raadt Reviewed by: Damien Miller END K 10 svn:author V 2 np K 8 svn:date V 27 2013-02-20T23:15:40.887164Z K 7 svn:log V 300 cxgbe(4): Assume that CSUM_TSO in the transmit path implies CSUM_IP and CSUM_TCP too. They are all set explicitly by the kernel usually. While here, fix an unrelated bug where hardware L4 checksum calculation was accidentally disabled for some IPv6 packets. Reported by: alfred@ MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-20T23:26:14.988763Z K 7 svn:log V 48 MFC r222292,r230095: Show errno messages in cd. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-02-21T00:25:45.847524Z K 7 svn:log V 710 Refresh on the shared code for the E1000 drivers. - bear with me, there are lots of white space changes, I would not do them, but I am a mere consumer of this stuff and if these drivers are to stay in shape they need to be taken. em driver changes: support for the new i217/i218 interfaces igb driver changes: - TX mq start has a quick turnaround to the stack - Link/media handling improvement - When link status changes happen the current flow control state will now be displayed. - A few white space/style changes. lem driver changes: - the shared code uncovered a bogus write to the RLPML register (which does not exist in this hardware) in the vlan code,this is removed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T00:26:31.092202Z K 7 svn:log V 82 No longer need splhigh() since locking was done, delete it and comments about it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T00:27:51.921157Z K 7 svn:log V 195 Replace splhigh() with critical_enter()/leave() to ensure we write the config mode unlock sequence quickly enough. This likely isn't too critical, since splhigh() has been a noop for a decade... END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T00:36:12.536421Z K 7 svn:log V 40 Kill now-bogus splhigh() -- it is a nop END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T00:40:08.278381Z K 7 svn:log V 46 Fix broken usage of splhigh() by removing it. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T02:34:04.511014Z K 7 svn:log V 205 The other giant locked storage drivers have removed splbio(), for the most part, so remove it here too. Anybody locking this driver will need far more than locks where splbio() were, so remove these nops. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T02:40:20.085464Z K 7 svn:log V 136 Most other giant locked storage drivers in the tree don't use splsoftclock to note the need for future locking, so remove it from here. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2013-02-21T02:41:37.888243Z K 7 svn:log V 145 Don't worry if a module is already loaded when looking for a fstype to mount (possible in a race condition). Reviewed by: kib MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T02:43:44.702169Z K 7 svn:log V 101 The request queue is already locked, so we don't need the splsofclock/splx here to note future work. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-21T02:52:13.137064Z K 7 svn:log V 38 Remove this unneeded printf(), sorry! END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-02-21T04:44:46.411214Z K 7 svn:log V 288 PMU speed changes now work. When coming out of reset the AP bringup code, which I use, sets the PCPU thread to the idle thread. To work around this, I set it after the fact to the current thread (contents of %r2). Since CPU speed change works, I can also clean up the debug printf()s. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-02-21T05:08:21.714401Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-21T05:38:11.495944Z K 7 svn:log V 137 MFC r246472: Stop translating the ERESTART error from the open(2) into EINTR. Posix requires that open(2) is restartable for SA_RESTART. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-21T05:47:52.852586Z K 7 svn:log V 108 MFC r246484: Allow ptrace(2) operation on the child created by vfork(2), if the debugger is not the parent. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-21T05:53:42.502830Z K 7 svn:log V 57 MFC r246801: Assert that user address is never qremoved. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-21T05:55:52.998999Z K 7 svn:log V 76 MFC r246802: Print slightly more useful information on the 'bad pte' panic. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-21T05:57:51.589615Z K 7 svn:log V 73 MFC r246476: Document the ERESTART translation to EINTR for devfs nodes. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-21T05:59:16.796485Z K 7 svn:log V 78 MFC r246485: Document the detail of interaction between vfork and PT_TRACEME. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-21T06:00:33.436152Z K 7 svn:log V 33 MFC r246486: Document P_PPTRACE. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-21T06:10:36.909119Z K 7 svn:log V 137 MFC r246472: Stop translating the ERESTART error from the open(2) into EINTR. Posix requires that open(2) is restartable for SA_RESTART. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-21T06:12:26.226587Z K 7 svn:log V 73 MFC r246476: Document the ERESTART translation to EINTR for devfs nodes. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-21T06:18:40.887261Z K 7 svn:log V 362 Add a new option to limit the maximum size of aggregates. The default is to limit them to what the hardware is capable of. Add sysctl twiddles for both the non-RTS and RTS protected aggregate generation. Whilst here, add some comments about stuff that I've discovered during my exploration of the TX aggregate / delimiter setup path from the reference driver. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T06:38:24.140962Z K 7 svn:log V 96 Correct comment about use of pmtimer, and the real reason it isn't used or desirable for amd64. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-21T06:38:49.062375Z K 7 svn:log V 143 Add an option to allow the minimum number of delimiters to be tweaked. This is primarily for debugging purposes. Tested: * AR5416, STA mode END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T07:16:40.728539Z K 7 svn:log V 301 Locking for todr got pushed down into inittodr and the client libraries it calls (although some might not be doing it right). We are serialized right now by giant as well. This means the splsoftclock are now an anachronism that has no benefit, even marking where locking needs to happen. Remove them. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T07:19:50.151025Z K 7 svn:log V 45 Remove incorrect comment about splsoftclock. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-21T07:48:07.449806Z K 7 svn:log V 656 MFC r246616 and r246759: - Move scratch data from the USB bus structure to the USB device structure so that simultaneous access cannot happen. Protect scratch area using the enumeration lock. - Reduce stack usage in usbd_transfer_setup() by moving some big stack members to the scratch area. This saves around 200 bytes of stack. - Fix a whitespace. - Protect control requests using the USB device enumeration lock. - Make sure all callers of usbd_enum_lock() check the return value. - Remove the control transfer specific lock. - Bump the FreeBSD version number, hence external USB modules may need to be recompiled due to a USB device structure change. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-21T08:21:14.524343Z K 7 svn:log V 656 MFC r246616 and r246759: - Move scratch data from the USB bus structure to the USB device structure so that simultaneous access cannot happen. Protect scratch area using the enumeration lock. - Reduce stack usage in usbd_transfer_setup() by moving some big stack members to the scratch area. This saves around 200 bytes of stack. - Fix a whitespace. - Protect control requests using the USB device enumeration lock. - Make sure all callers of usbd_enum_lock() check the return value. - Remove the control transfer specific lock. - Bump the FreeBSD version number, hence external USB modules may need to be recompiled due to a USB device structure change. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-21T08:42:40.175700Z K 7 svn:log V 300 Be slightly more paranoid with the TX DMA buffer maximum threshold. Specifically - never jack the TX FIFO threshold up to the absolute maximum; always leave enough space for two DMA transactions to appear. This is a paranoia from the Linux ath9k driver. It can't hurt. Obtained from: Linux ath9k END K 10 svn:author V 5 erwin K 8 svn:date V 27 2013-02-21T12:13:06.192268Z K 7 svn:log V 98 Fetch $ZFS_MOUNTPOINT from the environment instead of assuming it directly under "/${ZFS_VOLUME}" END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-02-21T12:40:52.830003Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-02-21T12:52:18.800453Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-21T15:02:36.687890Z K 7 svn:log V 78 Fix other architectures and ZFS. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-21T15:06:19.583603Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T15:21:25.947458Z K 7 svn:log V 74 MFC r244983 (by jfv): Add Intel Lynx Point PCH SATA Controller Device IDs END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T15:22:54.729941Z K 7 svn:log V 74 MFC r244983 (by jfv): Add Intel Lynx Point PCH SATA Controller Device IDs END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T15:26:26.475429Z K 7 svn:log V 58 MFC r236242: Add quirk for Marvell based AHCI controller. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T15:35:48.330111Z K 7 svn:log V 487 Use critical_enter/critical_exit around the time sensitive part of this code to depessimize the worst case we've lived with silently and uneventfully for the past 12 years. Add a comment about a refinement for those needing more assurance of accuracy. Fix ddb's show rtc command deadlock potential when debugging rtc code by not taking the lock if we're in the debugger. If you need a thumb to count the number of people that have encountered this, I'd be surprised. Submitted by: bde END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-21T15:41:09.872220Z K 7 svn:log V 168 In the EXAMPLES section: append the subsystem regular expression with a typical interface name pattern as devd(8) uses full string match. Discussed with: avg, glebius END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T16:59:28.733131Z K 7 svn:log V 325 MFC r238379, r238382 (by bruefer): Renamed the kern.cam.da.da_send_ordered sysctl and tunable to kern.cam.da.send_ordered, more in line with the other da sysctls/tunables. Renamed the kern.cam.ada.ada_send_ordered sysctl and tunable to kern.cam.ada.send_ordered, more in line with the other da sysctls/tunables. PR: 169765 END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-02-21T17:00:35.605634Z K 7 svn:log V 334 Fix tcp_lro_rx_ipv4() for drivers that do not set CSUM_IP_CHECKED. Specifcially, in_cksum_hdr() returns 0 (not 0xffff) when the IPv4 checksum is correct. Without this fix, the tcp_lro code will reject good IPv4 traffic from drivers that do not implement IPv4 header harder csum offload. Sponsored by: Myricom Inc. MFC after: 7 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T17:00:37.640054Z K 7 svn:log V 336 MFC r238379, r238382 (by bruefer): Renamed the kern.cam.da.da_send_ordered sysctl and tunable to kern.cam.da.send_ordered, more in line with the other da sysctls/tunables. Renamed the kern.cam.ada.ada_send_ordered sysctl and tunable to kern.cam.ada.send_ordered, more in line with the other da sysctls/tunables. PR: 169765 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-21T17:16:04.818979Z K 7 svn:log V 51 Vendor import of NetBSD's (un)vis(3) at 2013-02-21 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-21T17:17:13.787235Z K 7 svn:log V 45 Tag 2013-02-21 import of NetBSD's (un)vis(3) END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T17:40:59.857287Z K 7 svn:log V 44 Remove splsoftclock() since it is now gone. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T17:50:21.734862Z K 7 svn:log V 281 bus_dmamap_load_ccb doesn't exist on earlier versions of FreeBSD or DragonFlyBSD, so it certainly doesn't need splsoftvm(). Remove it. # I doubt this driver will now compile on older FreeBSD versions or DFBSD # We should consider unifdefing it since that code seems unmaintained. END K 10 svn:author V 3 imp K 8 svn:date V 27 2013-02-21T17:54:14.755252Z K 7 svn:log V 42 splsoftvm() is no longer in the tree. gc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T18:15:41.623523Z K 7 svn:log V 138 MFC r230590 (by ken) except parts changing ABI: Add CAM infrastructure to allow reporting when a drive's long read capacity data changes. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-21T18:41:35.163096Z K 7 svn:log V 211 MFC r237574: Ensure crunchen uses the same make binary as the rest of the build. I actually had already merged the crunchgen part of it as part of the the enhanced ELF support. Discussed with: Simon Gerraty END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T18:49:05.260158Z K 7 svn:log V 2163 MFC r236138 (by ken) for recently merged scsi_enc.c: Work around a race condition in devfs by changing the way closes are handled in most CAM peripheral drivers that are not handled by GEOM's disk class. The usual character driver open and close semantics are that the driver gets N open calls, but only one close, when the last caller closes the device. CAM peripheral drivers expect that behavior to be honored to the letter, and the CAM peripheral driver code (specifically cam_periph_release_locked_busses()) panics if it is done incorrectly. Since devfs has to drop its locks while it calls a driver's close routine, and it does not have a way to delay or prevent open calls while it is calling the close routine, there is a race. The sequence of events, simplified a bit, is: - devfs acquires a lock - devfs checks the reference count, and if it is 1, continues to close. - devfs releases the lock - 2nd process open call on the device happens here - devfs calls the driver's close routine - devfs acquires a lock - devfs decrements the reference count - devfs releases the lock - 2nd process close call on the device happens here At the second close, we get a panic in cam_periph_release_locked_busses(), complaining that peripheral has been released when the reference count is already 0. This is because we have gotten two closes in a row, which should not happen. The fix is to add the D_TRACKCLOSE flag to the driver's cdevsw, so that we get a close() call for each open(). That does happen reliably, so we can make sure that our reference counts are correct. Note that the sa(4) and pt(4) drivers only allow one context through the open routine. So these drivers aren't exposed to the same race condition. scsi_ch.c, scsi_enc.c, scsi_enc_internal.h, scsi_pass.c, scsi_sg.c: For these drivers, change the open() routine to increment the reference count for every open, and just decrement the reference count in the close. Call cam_periph_release_locked() in some scenarios to avoid additional lock and unlock calls. scsi_pt.c: Call cam_periph_release_locked() in some scenarios to avoid additional lock and unlock calls. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T18:56:09.898353Z K 7 svn:log V 2598 MFC r237328 (by ken) for recently merged scsi_enc.c: Fix several reference counting and object lifetime issues between the pass(4) and enc(4) drivers and devfs. The pass(4) driver uses the destroy_dev_sched() routine to schedule its device node for destruction in a separate thread context. It does this because the passcleanup() routine can get called indirectly from the passclose() routine, and that would cause a deadlock if the close routine tried to destroy its own device node. In any case, once a particular passthrough driver number, e.g. pass3, is destroyed, CAM considers that unit number (3 in this case) available for reuse. The problem is that devfs may not be done cleaning up the previous instance of pass3, and will panic if isn't done cleaning up the previous instance. The solution is to get a callback from devfs when the device node is removed, and make sure we hold a reference to the peripheral until that happens. Testing exposed some other cases where we have reference counting issues, and those were also fixed in the pass(4) driver. cam_periph.c: In camperiphfree(), reorder some of the operations. The peripheral destructor needs to be called before the peripheral is removed from the peripheral is removed from the list. This is because once we remove the peripheral from the list, and drop the topology lock, the peripheral number may be reused. But if the destructor hasn't been called yet, there may still be resources hanging around (like devfs nodes) that haven't been fully cleaned up. cam_xpt.c: Add an argument to xpt_remove_periph() to indicate whether the topology lock is already held. scsi_enc.c: Acquire an extra reference to the peripheral during registration, and release it once we get a callback from devfs indicating that the device node is gone. Call destroy_dev_sched_cb() in enc_oninvalidate() instead of calling destroy_dev() in the cleanup routine. scsi_pass.c: Add reference counting to handle peripheral and devfs object lifetime issues. Add a reference to the peripheral and the devfs node in the peripheral registration. Don't attempt to add a physical path alias if the peripheral has been marked invalid. Release the devfs reference once the initial physical path alias taskqueue run has completed. Schedule devfs node destruction in the passoninvalidate(), and release our peripheral reference in a new routine, passdevgonecb() once the devfs node is gone. This allows the peripheral to fully go away, and the peripheral destructor, passcleanup(), will get called. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T19:02:29.159761Z K 7 svn:log V 2334 MFC r244014 (by ken): Fix a device departure bug for the the pass(4), enc(4), sg(4) and ch(4) drivers. The bug occurrs when a userland process has the driver instance open and the underlying device goes away. We get the devfs callback that the device node has been destroyed, but not all of the closes necessary to fully decrement the reference count on the CAM peripheral. The reason is that once devfs calls back and says the device has been destroyed, it is moved off to deadfs, and devfs guarantees that there will be no more open or close calls. So the solution is to keep track of how many outstanding open calls there are on the device, and just release that many references when we get the callback from devfs. scsi_pass.c, scsi_enc.c, scsi_enc_internal.h: Add an open count to the softc in these drivers. Increment it on open and decrement it on close. When we get a devfs callback to say that the device node has gone away, decrement the peripheral reference count by the number of still outstanding opens. Make sure we don't access the peripheral with cam_periph_unlock() after what might be the final call to cam_periph_release_locked(). The peripheral might have been freed, and we will be dereferencing freed memory. scsi_ch.c, scsi_sg.c: For the ch(4) and sg(4) drivers, add the same changes described above, and in addition, fix another bug that was previously fixed in the pass(4) and enc(4) drivers. These drivers were calling destroy_dev() from their cleanup routine, but that could cause a deadlock because the cleanup routine could be indirectly called from the driver's close routine. This would cause a deadlock, because the device node is being held open by the active close call, and can't be destroyed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-21T19:02:50.498843Z K 7 svn:log V 1241 Further refine the handling of stop signals in the NFS client. The changes in r246417 were incomplete as they did not add explicit calls to sigdeferstop() around all the places that previously passed SBDRY to _sleep(). In addition, nfs_getcacheblk() could trigger a write RPC from getblk() resulting in sigdeferstop() recursing. Rather than manually deferring stop signals in specific places, change the VFS_*() and VOP_*() methods to defer stop signals for filesystems which request this behavior via a new VFCF_SBDRY flag. Note that this has to be a VFC flag rather than a MNTK flag so that it works properly with VFS_MOUNT() when the mount is not yet fully constructed. For now, only the NFS clients are set this new flag in VFS_SET(). A few other related changes: - Add an assertion to ensure that TDF_SBDRY doesn't leak to userland. - When a lookup request uses VOP_READLINK() to follow a symlink, mark the request as being on behalf of the thread performing the lookup (cnp_thread) rather than using a NULL thread pointer. This causes NFS to properly handle signals during this VOP on an interruptible mount. PR: kern/176179 Reported by: Russell Cattelan (sigdeferstop() recursion) Reviewed by: kib MFC after: 1 month END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-02-21T19:13:19.634303Z K 7 svn:log V 245 reorder so all the flags are together and make the PCLMUL flag unique.. This fixes the problem on amd64 miscompiling mpboot.s causing boot issues... We are still using gas for a few files in the kernel... Submitted by: kib MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T19:23:35.409860Z K 7 svn:log V 108 MFC r239175: Add missing FAILED event to g_raid_subdisk_event2str() to print it properly in debug messages. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T19:35:45.808419Z K 7 svn:log V 124 MFC r241418: NULL-ify last previously used pointer instead of last possible pointer. This should be only a cosmetic change. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T19:40:46.991219Z K 7 svn:log V 67 MFC r244980 (by jvf): Add Intel Lynx Point PCH HD Audio Device IDs END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T19:44:05.384355Z K 7 svn:log V 67 MFC r244980 (by jvf): Add Intel Lynx Point PCH HD Audio Device IDs END K 10 svn:author V 2 np K 8 svn:date V 27 2013-02-21T20:13:15.976280Z K 7 svn:log V 308 cxgbe(4): Add sysctls to extract debug information from the chip: dev.t4nex.X.misc.cim_la logic analyzer dump dev.t4nex.X.misc.cim_qcfg queue configuration dev.t4nex.X.misc.cim_ibq_xxx inbound queues dev.t4nex.X.misc.cim_obq_xxx outbound queues Obtained from: Chelsio MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-21T20:24:00.932546Z K 7 svn:log V 81 MFC r238802: Update the 'C1x draft' reference to '.St -isoC-2011' mdoc macro. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T20:28:42.757262Z K 7 svn:log V 47 MFC r226064 (by wxs): Fix a typo in a comment. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-21T20:29:43.584475Z K 7 svn:log V 47 MFC r226064 (by wxs): Fix a typo in a comment. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-21T20:40:37.315761Z K 7 svn:log V 367 MFC: r158812 (ache): Reflect size_t changes in glob.h Obtained from: NetBSD (mostly) r159294: - ANSIfy. - Remove two unnecessary casts. r243779 (marcel): Protect against DoS attacks, such as being described in CVE-2010-2632. The changes were derived from what has been committed to NetBSD, with modifications. This fixes FreeBSD-SA-13:02.libc for stable/6. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-21T20:42:51.239375Z K 7 svn:log V 82 Remove supposedly unused vm_pager.h. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-21T20:44:53.347695Z K 7 svn:log V 47 Vendor import of NetBSD's vis(1) at 2013-02-21 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-21T20:45:19.726473Z K 7 svn:log V 74 Separate items in the list of System values with .Pp to ease readability. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-21T20:45:24.846200Z K 7 svn:log V 41 Tag 2013-02-21 import of NetBSD's vis(1) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-21T21:09:55.812766Z K 7 svn:log V 49 Vendor import of NetBSD's unvis(1) at 2013-02-21 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-02-21T21:16:42.464647Z K 7 svn:log V 43 Tag 2013-02-21 import of NetBSD's unvis(1) END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-02-21T21:28:33.987742Z K 7 svn:log V 202 Improve mxge's receive performance for IPv6: - Add support for IPv6 rx csum offload - Finally switch mxge from using its own driver lro, to using tcp_lro MFC after: 7 days Sponsored by: Myricom Inc. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-21T21:35:09.155730Z K 7 svn:log V 55 Reflect CARP media-type departure. X-MFC after: never END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-21T21:47:35.906677Z K 7 svn:log V 123 Disable debugging entries about BAW issues. I haven't seen any issues to do with BAW tracking in the last 9 months or so. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-02-21T21:48:38.352995Z K 7 svn:log V 539 MFC r239672 (by rrs): This small change takes care of a race condition that can occur when both sides close at the same time. If that occurs, without this fix the connection enters FIN1 on both sides and they will forever send FIN|ACK at each other until the connection times out. This is because we stopped processing the FIN|ACK and thus did not advance the sequence and so never ACK'd each others FIN. This fix adjusts it so we *do* process the FIN properly and the race goes away ;-) Approved by: emaste (co-mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-21T21:54:53.514957Z K 7 svn:log V 218 Hide the details for the assertion for VM_OBJECT_LOCK operations. Rename current VM_OBJECT_LOCK_ASSERT(foo, RA_WLOCKED) into VM_OBJECT_ASSERT_WLOCKED(foo) Sponsored by: EMC / Isilon storage division Requested by: alc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-21T21:56:51.594059Z K 7 svn:log V 150 Complete the asserts by definining also assertions for RA_RLOCKED and RA_LOCKED cases. Sponsored by: EMC / Isilon storage division Requested by: alc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-21T21:59:35.838668Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-21T22:21:45.609907Z K 7 svn:log V 59 Document VFCF_SBDRY. Reviewed by: jhb X-MFC with: r247116 END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2013-02-21T22:38:39.436907Z K 7 svn:log V 40 MFC: Merge sendmail 8.14.6 errata issue END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2013-02-21T22:46:26.919663Z K 7 svn:log V 40 MFC: Merge sendmail 8.14.6 errata issue END K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2013-02-21T22:48:25.412519Z K 7 svn:log V 40 MFC: Merge sendmail 8.14.6 errata issue END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-02-22T00:46:32.186229Z K 7 svn:log V 625 Add the ability to have a 'fallback' search for memory ranges. These set of ranges will be looked at if a standard memory range isn't found, and won't be installed in the cache. Use this to implement the memory behaviour of the PCI hole on x86 systems, where writes are ignored and reads always return -1. This allows breakpoints to be set when issuing a 'boot -d', which has the side effect of accessing the PCI hole when changing the PTE protection on kernel code, since the pmap layer hasn't been initialized (a bug, but present in existing FreeBSD releases so has to be handled). Reviewed by: neel Obtained from: NetApp END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-22T07:07:11.644598Z K 7 svn:log V 813 Add a workaround for AR5416, AR9130 and AR9160 chipsets - work around an incorrectly calculated RTS duration value when transmitting aggregates. These earlier 802.11n NICs incorrectly used the ACK duration time when calculating what to put in the RTS of an aggregate frame. Instead it should have used the block-ack time. The result is that other stations may not reserve enough time and start transmitting _over_ the top of the in-progress blockack field. Tsk. This workaround is to popuate the burst duration field with the delta between the ACK duration the hardware is using and the required duration for the block-ack. The result is that the RTS field should now contain the correct duration for the subsequent block-ack. This doesn't apply for AR9280 and later NICs. Obtained from: Qualcomm Atheros END K 10 svn:author V 5 erwin K 8 svn:date V 27 2013-02-22T08:42:53.332499Z K 7 svn:log V 63 Get rid of hardcoded /var/portbuild, which is now /a/portbuild END K 10 svn:author V 5 erwin K 8 svn:date V 27 2013-02-22T08:43:56.831448Z K 7 svn:log V 43 Fix name of qmanager rc script in comment. END K 10 svn:author V 5 erwin K 8 svn:date V 27 2013-02-22T08:47:21.597775Z K 7 svn:log V 45 Clean out another instance of /var/portbuild END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-22T08:56:48.149171Z K 7 svn:log V 112 MFC r246832: vn_io_faults_cnt: - use u_long consistently - use SYSCTL_ULONG to match the type of variable END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-22T09:47:21.017865Z K 7 svn:log V 787 MFC r242852, r243069: Several optimizations to sched_idletd(): - Do not try to steal load from other CPUs if there was no context switches on this CPU (i.e. it was idle all the time and woke up just for bus mastering or TLB shutdown). If current CPU was idle, then it is quite unlikely that some other CPU has load to steal. Under high I/O rate, when TLB shutdowns cause numerous CPU wakeups, on 24-CPU system load stealing code may consume up to 25% of all CPU time without giving any benefits. - Change code that implements spinning for load to restart spin in case of context switch. Previous code periodically called cpu_idle() even under high interrupt/context switch rate. - Rise spinning threshold to 10KHz, where it gives at least some effect that may worth consumed power. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-02-22T12:41:24.463397Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-02-22T16:46:28.849354Z K 7 svn:log V 541 Try harder to make mxge safe for all combinations of INET and INET6 - Re-fix build by restoring local removed in r247151, but protected by #if defined(INET) || defined(INET6) so that the compile succeeds in the !(INET||INET6) case. - Protect call to in_pseudo() with an #ifdef INET, to allow a kernel to link with mxge when INET is not compiled in. - Also remove an errant (improperly commented) obsolete debugging printf Thanks to Glebius for pointing out the !(INET||INET6) build issue. Sponsored by: Myricom MFC After: 7 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-02-22T16:59:52.501991Z K 7 svn:log V 29 Eliminate an unused #define. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-22T17:45:32.481862Z K 7 svn:log V 282 Add DA_Q_NO_PREVENT quirk for Kingston DataTraveler G3 1.00 USB flash. PREVENT ALLOW MEDIUM REMOVAL commands return errors on these devices without returning sense data. In some cases unrelated following commands start to return errors too, that makes device to be dropped by CAM. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-22T18:30:41.349121Z K 7 svn:log V 101 MFC r246857: Regenerate libstdc++'s config.h, synchronizing it with our current almost-C99 headers. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-22T18:33:42.340240Z K 7 svn:log V 488 MFC r246858: Pull in r175057 from upstream llvm trunk: X86: Disable generation of rep;movsl when %esi is used as a base pointer. This happens when there is both stack realignment and a dynamic alloca in the function. If we overwrite %esi (rep;movsl uses fixed registers) we'll lose the base pointer and the next register spill will write into oblivion. Fixes PR15249 and unbreaks firefox on i386/freebsd. Mozilla uses dynamic allocas and freebsd a 4 byte stack alignment. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-22T18:35:40.480177Z K 7 svn:log V 293 MFC r247003: Pull in r175360 from upstream llvm trunk: MCParser: Reject .balign with non-pow2 alignments. GNU as rejects them and there are configure scripts in the wild that check if the assembler rejects ".align 3" to determine whether the alignment is in bytes or powers of two. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-22T18:50:41.866226Z K 7 svn:log V 50 Create a branch to make Linuxulator 1:1 threaded. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-02-22T19:21:29.311461Z K 7 svn:log V 373 Improvements for newer mxge nics: - Some mxge nics may store the serial number in the SN2 field of the EEPROM. These will also have an SN=0 field, so parse the SN2 field, and give it precedence. - Skip MXGEFW_CMD_UNALIGNED_TEST on mxge nics which do not require it. This saves roughly 10ms per port at device attach time. Sponsored by: Myricom MFC After: 7 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-02-22T19:23:33.343854Z K 7 svn:log V 63 Bump mxge copyright. Sponsored by: Myricom MFC After: 7 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-22T19:53:12.019298Z K 7 svn:log V 191 Hide SEMB port of the SiI3826 Port Multiplier by default to avoid extra errors while it tries to talk via I2C to usually missing external SEP. There is tunable to enable it back when needed. END K 10 svn:author V 4 ache K 8 svn:date V 27 2013-02-22T19:57:18.077481Z K 7 svn:log V 119 Back out prev. change preventing /sys/sys symlink. It appears my install was not very recent and not acts like 'ln -h' END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-22T20:16:16.813679Z K 7 svn:log V 430 MFC r246522: sh: Simplify mksyntax and make it fit for cross-compiling. Now it outputs fixed files, which use constants provided by the C standard library to determine appropriate values for the target machine. Before, mksyntax inspected the host machine which resulted in subtle breakage if e.g. char is signed on the host and unsigned on the target such as when cross-compiling on x86 for ARM. Submitted by: Christoph Mallon END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-22T20:49:50.147022Z K 7 svn:log V 90 Don't print an empty line for files with no attributes when -q is given for lsextattr(8). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-22T21:43:21.220731Z K 7 svn:log V 411 Fix command timeout caused by data underrun during fetching ATAPI sense data, introduced by r246713. There are two places where ata_request is filled in ATA_CAM: ata_cam_begin_transaction() and ata_cam_request_sense(). In the first case DMA should be done for addresses from the CCB. In second case, DMA should be done to the different address, the address of the sense buffer inside the CCB structure itself. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-22T22:40:10.228176Z K 7 svn:log V 1002 Pull in r172354 from upstream clang trunk: Refactor the x86 CPU name logic in the driver and pass -march and -mcpu flag information down from the Clang driver into the Gold linker plugin for LTO. This allows specifying -march on the linker commandline and should hopefully have it pass all the way through to the LTO optimizer. Fixes PR14697. Pull in r175919 from upstream clang trunk: Driver: Pass down the -march setting down to -cc1as on x86 too. The assembler historically didn't make use of any target features, but this has changed when support for old CPUs that don't support long nops was added. This should fix the long nops that still occurred in crt*.o, and possibly other object files, if the system was compiled for a CPU that does not support those, such as Geode. Note that gcc on i386 also does not pass through any -march, -mcpu or -mtune setting to gas, but this has not caused any trouble yet, because gas defaults to i386. Reported by: lev MFC after: 1 week END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2013-02-23T04:51:20.797009Z K 7 svn:log V 42 MFC support for -print-file-name=include. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-23T07:51:33.132121Z K 7 svn:log V 126 In preparation for switching linuxulator to the use the native 1:1 threads print out thread id in the debug messages. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-23T07:55:27.162765Z K 7 svn:log V 281 In preparation for switching linuxulator to the use the native 1:1 threads introduce linux_exit() stub instead of calling sys_exit() call (which terminates process). In the new linuxulator exit() system call terminates the calling thread (not a whole process). END