ƒ²4251311 196 344 344 261 624 342 207 222 159 144 144 411 438 190 258 106 325 275 321 165 190 163 173 177 485 504 318 174 198 470 406 168 395 523 221 221 165 262 176 266 147 157 281 196 120 260 223 267 234 265 176 899 105 167 360 176 133 110 128 140 358 299 749 233 300 188 99 121 181 212 138 185 287 158 210 180 173 208 130 299 700 235 479 137 305 489 915 366 119 230 395 708 130 270 124 167 154 154 146 138 174 212 139 151 138 146 174 211 169 1229 114 111 146 184 232 766 571 401 401 312 333 730 154 177 174 287 124 142 132 170 130 628 560 302 380 193 502 190 158 122 133 223 224 144 125 154 182 200 167 193 160 160 166 143 168 157 171 176 232 159 431 327 99 120 209 159 210 220 445 291 258 803 464 570 155 327 325 3132 622 117 294 776 173 130 190 303 292 269 214 369 127 115 174 99 151 158 137 K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-03T17:07:34.008222Z K 7 svn:log V 251 MFC 248167: Fix the 'C' field for a running thread to match the behavior described in the manpage by having it display the current CPU (ki_oncpu) rather than the previously used CPU (ki_lastcpu). ki_lastcpu is still used for all other thread states. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-03T17:07:57.490549Z K 7 svn:log V 251 MFC 248167: Fix the 'C' field for a running thread to match the behavior described in the manpage by having it display the current CPU (ki_oncpu) rather than the previously used CPU (ki_lastcpu). ki_lastcpu is still used for all other thread states. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T17:13:37.739160Z K 7 svn:log V 168 MFC r251033: When handling an exception from the attempt from loading the faulting context on return from the trap handler, re-enable the interrupts on i386 and amd64. END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-06-03T17:17:56.964454Z K 7 svn:log V 532 Add libiconv based versions of *c16*() and *c32*(). I initially thought wchar_t was locale independent, but this seems to be only the case on Linux. This means that we cannot depend on the *wc*() routines to implement *c16*() and *c32*(). Instead, use the Citrus libiconv that is part of libc. I'll see if there is anything I can do to make the existing functions somewhat useful in case the system is built without libiconv in the nearby future. If not, I'll simply remove the broken implementations. Reviewed by: jilles, gabor END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T17:21:43.365235Z K 7 svn:log V 247 ld80/s_expl.c: * Update Copyright years to include 2013. ld128/s_expl.c: * Correct and update Copyright years. This code originated from the ld80 version, so it should reflect the same time period. Reviewed by: bde (as part of larger diff) END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T17:24:46.931165Z K 7 svn:log V 112 * Style(9). Start non-Copyright fancy formatted comments with /**. Reviewed by: bde (as part of larger diff) END K 10 svn:author V 2 np K 8 svn:date V 27 2013-06-03T17:30:21.095877Z K 7 svn:log V 130 cxgbe(4): t4fw_cfg must be explicitly loaded if the driver is being loaded via loader.conf. Submitted by: jwd@ MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T17:30:40.434775Z K 7 svn:log V 67 Remove irrelevant comments. Discussed with: alc MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-03T17:33:12.309403Z K 7 svn:log V 52 MFC 248200: Remove fortunes-o from the base system. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-03T17:34:48.818241Z K 7 svn:log V 52 MFC 248200: Remove fortunes-o from the base system. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T17:36:26.543652Z K 7 svn:log V 316 * Rename the polynomial coefficients from P2, P3, ... to A2, A3, .... The names now coincide with the name used in PTP Tang's paper. * Rename the variable from s to tbl to better reflect that this is a table, and to be consistent with the naming scheme in s_exp2l.c Reviewed by: bde (as part of larger diff) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T17:36:43.761503Z K 7 svn:log V 345 Be more generous when donating the current thread time to the owner of the vnode lock while iterating over the free vnode list. Instead of yielding, pause for 1 tick. The change is reported to help in some virtualized environments. Submitted by: Roger Pau Monn? Discussed with: jilles Tested by: pho MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-03T17:38:57.808875Z K 7 svn:log V 98 - Handle the recursed/not recursed flags with RA_RLOCKED in rw_assert(). - Tweak a panic message. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T17:40:05.768802Z K 7 svn:log V 165 Assert that interrupts are enabled in the trap handlers on x86 before calling generic code to deliver signals. Discussed with: bde Tested by: pho MFC after: 1 week END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T17:40:52.697498Z K 7 svn:log V 12 Whitespace. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-03T17:41:11.631333Z K 7 svn:log V 232 - Fix a couple of inverted panic messages for shared/exclusive mismatches of a lock within a single thread. - Fix handling of interlocks in WITNESS by properly requiring the interlock to be held exactly once if it is specified. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T17:51:08.298464Z K 7 svn:log V 180 Introduce the macro LOG2_INTERVAL, which is log2(number of intervals). Use the macroi as a micro-optimization to convert a subtraction and division to a shift. Obtained from: bde END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T18:07:04.125751Z K 7 svn:log V 226 Add a u suffix to the IEEEl2bits unions o_threshold and u_threshold, and use macros to access the e component of the unions. This allows the portions of the code in ld80 to be identical to the ld128 code. Obtained from: bde END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T18:13:25.931493Z K 7 svn:log V 73 MFC r251037: The ia32_get_mcontext() does not need to set PCB_FULL_IRET. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T18:14:18.469000Z K 7 svn:log V 96 Update a comment to reflect that we are using an endpoint of an interval instead of a midpoint. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T18:15:48.135422Z K 7 svn:log V 71 MFC r251038: Use _MC_IA32_HASFPXSTATE name instead of _MC_HASFPXSTATE. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-03T18:17:47.689136Z K 7 svn:log V 81 MFC r251039: Use slightly more idiomatic expression to get the address of array. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T18:18:08.764201Z K 7 svn:log V 83 Rename a few P2, P3, ... coefficients to A2, A3, ... missed in my previous commit. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T18:40:00.487168Z K 7 svn:log V 390 ld80/s_expl.c: * Update the evaluation of the polynomial. This allows the removal of the now unused variables t23 and t45. ld128/s_expl.c: * Update the evaluation of the polynomial and the intermediate result t. This update allows several numerical constants to be written as double rather than long double constants. Update the constants as appropriate. Obtained from: bde END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T18:51:34.942938Z K 7 svn:log V 409 ld80/s_expl.c: * In the special case x = -Inf or -NaN, use a micro-optimization to eliminate the need to access u.xbits.man. * Fix an off-by-one for small arguments |x| < 0x1p-65. ld128/s_expl.c: * In the special case x = -Inf or -NaN, use a micro-optimization to eliminate the need to access u.xbits.manh and u.xbits.manl. * Fix an off-by-one for small arguments |x| < 0x1p-114. Obtained from: bde END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-03T18:52:14.423441Z K 7 svn:log V 225 ext2fs: Update Block Group Descriptor struct. Uncover some, previously reserved, fields that are used by Ext4. These are currently unused but it is good to have them for future reference. Reviewed by: bde MFC after: 3 days END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T18:53:40.798986Z K 7 svn:log V 80 Add a comment to note that bde supplied most, if not all, of the optimizations. END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T18:57:35.716207Z K 7 svn:log V 103 Micro-optimization: move the unary mius operator to operate on a literal constant. Obtained from: bde END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T19:13:44.824114Z K 7 svn:log V 375 ld80/s_expl.c: * Use integral numerical constants, and let the compiler do the conversion to long double. ld128/s_expl.c: * Use integral numerical constants, and let the compiler do the conversion to long double. * Use the ENTERI/RETURNI macros, which are no-ops on ld128. This however makes the ld80 and ld128 identical. Reviewed by: bde (as part of larger diff) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-03T19:14:29.409401Z K 7 svn:log V 310 Fix receive on the AR9285 (Kite) with only one antenna connected. The main problem here is that fast and driver RX diversity isn't actually configured; I need to figure out why that is. That said, this makes the single-antenna connected AR9285 and AR2427 (AR9285 w/ no 11n) work correctly. PR: kern/179269 END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T19:29:03.093794Z K 7 svn:log V 74 Fix two comments that got lost in the disentanglement of the larger diff. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-03T19:39:37.332764Z K 7 svn:log V 299 Fix the order of TX shutdown and reset. * Grab the reset lock first, so any subsequent interrupt, TX, RX work will fail * Then shut down interrupts * Then wait for TX/RX to finish running At this point no further work will be running, so it's safe to do the reset path code. PR: kern/179232 END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T19:51:32.454866Z K 7 svn:log V 428 ld80 and ld128 implementations of expm1l(). This code started life as a fairly faithful implementation of the algorithm found in PTP Tang, "Table-driven implementation of the Expm1 function in IEEE floating-point arithmetic," ACM Trans. Math. Soft., 18, 211-222 (1992). Over the last 18-24 months, the code has under gone significant optimization and testing. Reviewed by: bde Obtained from: bde (most of the optimizations) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-03T20:02:45.593997Z K 7 svn:log V 128 ext2fs: Small cosmetic fixes. Make a long macro readable and sort a header. Obtained from: Christoph Mallon MFC after: 3 days END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-06-03T20:09:22.307304Z K 7 svn:log V 126 Change a comma to a semicolon. Remove a blank line that crept into the declarations. Fix a comment to show a sign on a NaN. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-03T20:33:05.220484Z K 7 svn:log V 73 ext2fs: space vs tab. Obtained from: Christoph Mallon MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2013-06-03T20:52:20.626442Z K 7 svn:log V 170 Add ATOMIC_*_LOCK_FREE constants. These constants are part of the C standard. Both Clang and GCC seem to export these constants under the name __GCC_ATOMIC_*_LOCK_FREE. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-03T21:35:04.685966Z K 7 svn:log V 84 MFC r249934: Updated TRIM calculations in CAM ATA to be based off ATA_DSM_* defines END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-03T21:52:19.274753Z K 7 svn:log V 169 Fix a typo: XPORT_SPI should be tested against transport, nor protocol. Submitted by: Sascha Wildner Reviewed by: mjacob MFC after: 2 weeks END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-03T22:06:09.426996Z K 7 svn:log V 55 MFC r249937: Refactored scsi_xpt use of device_has_vpd END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-06-03T22:22:53.551896Z K 7 svn:log V 63 Fixing a typo. Approved by: sbruno (mentor) MFC after: 3 days END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-06-03T23:51:46.397291Z K 7 svn:log V 188 bmake does not like universe_${target}_prologue in the .ORDER when there is an explicit dependency for it anyway. Remove it so both bmake and fmake do the same thing. Reviewed by: OBrien END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T00:30:05.148914Z K 7 svn:log V 100 Improve debugging for f_dialog_*_constrain() to print constrained rather than unconstrained values. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T00:35:57.476587Z K 7 svn:log V 25 Whitespace and comments. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T00:38:19.113728Z K 7 svn:log V 164 Fix menu accenting for the package category list. The single-space indent for duplicate initial-characters was removed for making comparisons but was not put back. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-06-04T00:40:26.862333Z K 7 svn:log V 125 Pad the PCPU MD struct, to satisfy an assert added with the projects/counters branch import. PR: ports/179173,ports/179164 END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T00:42:31.601233Z K 7 svn:log V 171 Fix a code typo (missing `eval') which lead to improperly-sized menu when displaying packages (menu was always maximum height). The problem was introduced by SVN r251232. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-06-04T02:25:25.879970Z K 7 svn:log V 142 cxgbe(4): Provide accurate hit count for filters on T5 cards. The location within the TCB and the size have both changed. MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-04T02:28:47.069642Z K 7 svn:log V 172 Relax the object locking in vm_pageout_map_deactivate_pages() and vm_pageout_object_deactivate_pages(). A read lock suffices. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-04T02:56:56.517158Z K 7 svn:log V 81 Add the combined (mixed) diversity support capability bit for the AR9285/AR9485. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T03:30:44.421556Z K 7 svn:log V 803 Similar to r251236, r251242, and r251244. Introduce new function-pair to dialog(1) API in dialog.subr responsible for retrieving menu-choice data (for the --menu widget). Add f_dialog_menuitem_store()/f_dialog_menuitem_fetch() for storing and retrieving the menuitem (not the tag) from a --menu widget result. The dialog --menu widget returns the `tag' from the tag/item pair of choices for a menu list. Because the menu list is often local to the function that is displaying it, the ability to dereference this into the item is not possible unless you use a global. This changes things so the function (upon successful return of dialog) dereferences the tag into the item and stores it for later retrieval using these functions. NOTE: Tags are dereferenced into items using f_dialog_menutag2item(). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T03:37:35.359492Z K 7 svn:log V 10 Comments. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T03:38:16.874416Z K 7 svn:log V 72 Use a case-statement instead of multiple (separate even) if-statements. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T03:47:21.082195Z K 7 svn:log V 264 Use f_shell_escape() instead of forking to awk. In this case, the replacement comes with a great performance increase (as f_shell_escape() uses the built-in based f_replaceall() which out-performs forking to awk(1)). This should also improve readability slightly. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-04T05:07:03.412339Z K 7 svn:log V 84 MFC r251047: Avoid a nested frame for getcontext() call in check_deferred_signal(). END K 10 svn:author V 3 das K 8 svn:date V 27 2013-06-04T05:41:38.948113Z K 7 svn:log V 41 Add man links for expl(3) and expm1l(3). END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-04T05:44:52.804049Z K 7 svn:log V 18 Update a comment. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-06-04T06:38:01.950251Z K 7 svn:log V 33 Match the options of the kernel. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-06-04T07:37:06.015745Z K 7 svn:log V 47 mdoc: convert .Fd to .In, which is much nicer. END K 10 svn:author V 4 gber K 8 svn:date V 27 2013-06-04T09:21:18.080232Z K 7 svn:log V 264 Implement pmap_copy() for ARMv6/v7. Copy the given range of mappings from the source map to the destination map, thereby reducing the number of VM faults on fork. Submitted by: Zbigniew Bodek Sponsored by: The FreeBSD Foundation, Semihalf END K 10 svn:author V 4 gber K 8 svn:date V 27 2013-06-04T09:33:03.182938Z K 7 svn:log V 205 Fix the passing of time on Armada XP. In order to become independent of Coherency Fabric frequency, configure Timer and Watchdog to operate in 25MHz mode. Submitted by: Zbigniew Bodek END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-04T10:47:44.715364Z K 7 svn:log V 656 Enhanced BIO_DELETE support for CAM SCSI to add ATA_TRIM support. Disable CAM BIO queue sorting for non-rotating media by default. MFC r249939 Added available delete methods discovery during device probe MFC r249941 Automatically disable BIO queue sorting for non-rotating media MFC r250033 Correct comment typo's MFC r250179 Update probe flow so that devices with lbp can also disable disksort MFC r250180 Fix probe in progress check in dareprobe MFC r250181 Check for ATA Information VPD before querying for ATA MFC r250183 Enable CAM SCSI to choice ATA TRIM during autodetection MFC r250967 Enforce validation on the selected delete method via sysctl END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-04T11:05:57.813362Z K 7 svn:log V 137 Flag isp(4) as supporting unmapped I/O; all necessary conversion actually already has been done as part of r246713. Reviewed by: mjacob END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-06-04T11:19:08.821357Z K 7 svn:log V 203 Improve r250890, so that we stop processing of a message with zero descriptors as early as possible, and assert that number of descriptors is positive in unp_freerights(). Reviewed by: mjg, pjd, jilles END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-04T13:42:14.990111Z K 7 svn:log V 92 Readd missing vm_page_lock(). Sponsored by: EMC / Isilon storage division Reported by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-04T13:48:04.050581Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-04T13:55:03.110826Z K 7 svn:log V 25 Merge from vmcontention. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-04T14:38:50.570613Z K 7 svn:log V 89 MFC 249066: Check for SS_NBIO in the socket state field rather than socket buffer flags. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-06-04T15:25:57.826038Z K 7 svn:log V 119 Include more stuff within the meta mode block, so that buildworld can function normally. Submitted by: John Van Horne END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-06-04T15:27:09.050825Z K 7 svn:log V 46 Remove external/bsd (not in this branch yet). END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-06-04T15:27:41.144339Z K 7 svn:log V 93 Ensure this makefile and anything it runs, does so without meta mode. Allows buildworld etc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-04T15:35:37.466730Z K 7 svn:log V 194 Build fix: Only should be included before __FBSDID(). needs to be included after any "opt_foo.h" headers so it sees the same set of defined macros as other headers. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-04T15:40:45.056318Z K 7 svn:log V 66 Eliminate unnecessary vm object locking from tmpfs_nocacheread(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-04T15:54:20.938229Z K 7 svn:log V 117 Upgrade Glen commit bits with the src one. His area of interest is the release engineering work. Approved by: core END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-06-04T16:02:00.456836Z K 7 svn:log V 88 Add myself to committers-src.dot, and note kib is my mentor. Approved by: kib (mentor) END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-04T16:16:43.481742Z K 7 svn:log V 81 MFC r250792: Added output of device QUIRKS for CAM and AHCI devices during boot. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-06-04T16:24:38.517369Z K 7 svn:log V 115 Remove myself from access.doc to avoid receiving duplicate email. Approved by: core (implicit), doceng (implicit) END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-04T16:32:17.749789Z K 7 svn:log V 38 MFC r251061: More 4k quirks for SSD's END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T16:48:23.198396Z K 7 svn:log V 203 Lessen verbosity of "Exit" menutag items to appear more consistent across menus from one module to the next. Replacing "Exit this menu (returning to previous)" with "Exit this menu". PR: ports/169316 END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-06-04T17:08:26.924113Z K 7 svn:log V 604 Shift Console->Saver menu items to place the default item at the top, making this menu consistent with Console->Repeat, Console->Font, Console->Screenmap and many others which place the default choice at the top. NOTE: SVN r249751 changed things so that these menus highlight the active selection, so the idea that the default choice (now at top) "can be selected immediately by hitting ENTER" is not possible unless the default choice is the currently active setting (e.g., on first visit to the menu). However, it is still warranted to have the default choice at the top of the menu. PR: bin/169316 END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-04T17:23:09.022601Z K 7 svn:log V 142 Relax the vm object locking in mac_proc_vm_revoke_recurse(). A read lock suffices in one place. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-06-04T19:47:26.375239Z K 7 svn:log V 383 Start to merge the updated ARM NetBSD setjump/longjmp functions. To begin with merge the functions but leave out the code to save/load the VFP registers as that requires other changes to ensure the VFP is enabled first. This removes storing the old fpa registers. These were never fully supported, and the only user of this code I can find have moved to newer CPUs which use a VFP. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-04T20:40:16.503599Z K 7 svn:log V 45 Fix build with both INET and INET6 disabled. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-04T20:49:17.467819Z K 7 svn:log V 209 CAM_DEV_QFREEZE handling should only be done on request submission but neither on completion nor by SIM drivers in the first place. This issue has been revealed by r249466. Reviewed by: mav MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-06-04T22:29:19.722076Z K 7 svn:log V 391 MFC: r251079 Post-r248567, there were times when the client would return a truncated directory for some NFS servers. This turned out to be because the size of a directory reported by an NFS server can be smaller that the ufs-like directory created from the RPC XDR in the client. This patch fixes the problem by changing r248567 so that vnode_pager_setsize() is only done for regular files. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2013-06-04T22:32:33.315675Z K 7 svn:log V 818 sys/dev/mps/mps.c sys/dev/mps/mps_user.c Fix uninitialized memory reference in mps_read_config_page. It was referencing a field (params->hdr.Ext.ExtPageType) that would only be set when reading an Extended config page. The symptom was that MPSIO_READ_CFG_PAGE ioctls would randomly fail with MPI2_IOCSTATUS_CONFIG_INVALID_PAGE errors. The solution is to determine whether an extended or an ordinary config page is requested by looking at the PageType field, which should be available regardless. Similarly, mps_user_read_extcfg_header and mps_user_read_extcfg_page, which call mps_read_config_page, had to be fixed to always set the PageType field. They were implicitly assuming that mps_read_config_page always operated on Extended pages. Reviewed by: ken Approved by: ken (mentor) MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-04T22:47:01.624250Z K 7 svn:log V 269 In vm_object_split(), busy and consequently unbusy the pages only when swap_pager_copy() is invoked, otherwise there is no reason to do so. This will eliminate the necessity to busy pages most of the times. Sponsored by: EMC / Isilon storage division Reviewed by: alc END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-04T23:52:57.257171Z K 7 svn:log V 24 Add RX STBC statistics. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-05T00:39:20.615021Z K 7 svn:log V 134 Document the AR9285/AR9485 LNA configuration information that's stored in the ctl/ext RSSI field for chain 2. Tested: * AR9285, STA END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-05T00:42:04.298498Z K 7 svn:log V 299 Add a new capability flag to announce that the chip implements LNA mixing for the RX path. This is different to the div comb HAL flag, that says it actually can use this for RX diversity (the "slow" diversity path implemented but disabled in the AR9285 HAL code.) Tested: * AR9285, STA operation END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-05T00:45:19.499683Z K 7 svn:log V 612 Implement a bit of a hack to store the AR9285/AR9485 RX LNA configuration in the RX antenna field. The AR9285/AR9485 use an LNA mixer to determine how to combine the signals from the two antennas. This is encoded in the RSSI fields (ctl/ext) for chain 2. So, let's use that here. This maps RX antennas 0->3 to the RX mixer configuration used to receive a frame. There's more that can be done but this is good enough to diagnose if the hardware is doing "odd" things like trying to receive frames on LNA2 (ie, antenna 2 or "alt" antenna) when there's only one antenna connected. Tested: * AR9285, STA mode END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-05T01:07:40.618895Z K 7 svn:log V 35 Handle/mark/nuke unused arguments. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-05T01:22:59.501216Z K 7 svn:log V 174 - Flag sym(4) as supporting unmapped I/O; all necessary conversion actually already has been done as part of r246713. - Revert a part of r251402 in order to appease clang. END K 10 svn:author V 3 das K 8 svn:date V 27 2013-06-05T05:33:01.682108Z K 7 svn:log V 32 Style fixes. Submitted by: bde END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-06-05T07:37:45.108039Z K 7 svn:log V 72 Remove part of the NetBSD longjmp code that was not ready to be merged. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T09:48:12.342384Z K 7 svn:log V 62 MFC r247426: Add hw.mfi.cmd_timeout loader / sysctl tuneable. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T10:19:21.117230Z K 7 svn:log V 62 MFC r247426: Add hw.mfi.cmd_timeout loader / sysctl tuneable. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T10:37:27.934207Z K 7 svn:log V 54 MFC r248579: Add missing descriptions for ZFS sysctls END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T10:53:27.482456Z K 7 svn:log V 46 MFC r250206: Fix uninitialized warning in mps END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T11:16:17.895828Z K 7 svn:log V 82 MFC r245479: Report pools which have a removed l2cache disk under zpool status -x END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T11:23:10.796472Z K 7 svn:log V 119 MFC r244194: Fixe zfs receive errors caused by snapshot replication being processed in random order. PR: kern/172259 END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T11:28:55.639844Z K 7 svn:log V 47 MFC r219696: Add ZFS to UFS-like file systems. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T11:37:00.677872Z K 7 svn:log V 59 MFC r245250: Allow perl scripts to be used in rc.d scripts END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T11:39:22.064504Z K 7 svn:log V 46 MFC r250206: Fix uninitialized warning in mps END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T11:42:03.851009Z K 7 svn:log V 54 MFC r248579: Add missing descriptions for ZFS sysctls END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T11:46:43.376414Z K 7 svn:log V 82 MFC r245479: Report pools which have a removed l2cache disk under zpool status -x END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T11:55:35.350653Z K 7 svn:log V 118 MFC r244194: Fix zfs receive errors caused by snapshot replication being processed in random order. PR: kern/172259 END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T11:59:36.041424Z K 7 svn:log V 77 MFC r245250: Allow perl scripts to be used in rc.d scripts PR: conf/117027 END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-05T13:03:47.924918Z K 7 svn:log V 1135 Added ZFS TRIM support which is enabled by default. To disable ZFS TRIM support set vfs.zfs.trim.enabled=0 in loader.conf. Creating new ZFS pools and adding new devices to existing pools first performs a full device level TRIM which can take a significant amount of time. The sysctl vfs.zfs.vdev.trim_on_init can be set to 0 to disable this behaviour. ZFS TRIM requires the underlying device support BIO_DELETE which is currently provided by methods such as ATA TRIM and SCSI UNMAP via CAM, which are typically supported by SSD's. Stats for ZFS TRIM can be monitored by looking at the sysctl's under kstat.zfs.misc.zio_trim. MFC r240868: Add TRIM support MFC r244155: Renamed zfs trim stats MFC r244187: Upgrade TRIM free request sizes optimisation MFC r244188: Added vfs.zfs.vdev.trim_on_init sysctl MFC r248572: Add TRIM support for L2ARC MFC r248574: Improve TXG handling in the TRIM module MFC r248575: TRIM cache devices based on time instead of TXGs MFC r248576: Names the ZFS TRIM thread MFC r248577: Optimisation of TRIM processing MFC r248602: Fix for building libzpool under i386 MFC r249921: Enabled ZFS TRIM by default END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-06-05T15:51:46.656151Z K 7 svn:log V 22 Import bmake-20130604 END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-06-05T15:52:24.936535Z K 7 svn:log V 19 Tag bmake-20130604 END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-06-05T16:12:50.884097Z K 7 svn:log V 54 Update to bmake-20130604 to fix file descriptor leak. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-05T17:00:10.039373Z K 7 svn:log V 92 Relax the vm object locking. Use a read lock. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-06-05T17:02:21.781112Z K 7 svn:log V 136 New install flags were merged to 9-STABLE and will appear in FreeBSD-9.2. Sponsored by: DARPA, AFRL Submitted by: ru MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-06-05T17:27:59.375184Z K 7 svn:log V 671 - fix a bug in the previous commit that was dropping the last packet from each batch flowing on the VALE switch - feature: add glue for 'indirect' buffers on the sender side: if a slot has NS_INDIRECT set, the netmap buffer contains pointer(s) to the actual userspace buffers, which are accessed with copyin(). The feature is not finalised yet, as it will likely need to deal with some iovec variant for proper scatter/gather support. This will save one copy for clients (e.g. qemu) that cannot use the netmap buffer directly. A curiosity: on amd64 copyin() appears to be 10-15% faster than pkt_copy() or bcopy() at least for sizes of 256 and greater. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-06-05T17:37:59.992645Z K 7 svn:log V 476 new features (mostly for testing netmap capabilities) + pkt-gen -f rx now remains active even when traffic stops Previous behaviour (exit after 1 second of silence) can be restored with the -W option + the -X option does a hexdump of the content of a packet (both tx and rx). This can be useful to check what goes in and out. + the -I option instructs the sender to use indirect buffers (not really useful other than to test the kernel module in the VALE switch) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-05T18:42:44.191195Z K 7 svn:log V 308 MFC r250286: Some fixes to snd_envy24ht(4) driver: - Allow DMA addresses anywhere in the lower 4GB; Envy24HT has a 32-bit DMA engine, not 28-bit like Envy24. - Mark interrupt handler as MPSAFE, seems to be correctly synchronized. PR: kern/152378 Submitted by: Jason Harmening END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-05T18:49:28.452871Z K 7 svn:log V 308 MFC r250286: Some fixes to snd_envy24ht(4) driver: - Allow DMA addresses anywhere in the lower 4GB; Envy24HT has a 32-bit DMA engine, not 28-bit like Envy24. - Mark interrupt handler as MPSAFE, seems to be correctly synchronized. PR: kern/152378 Submitted by: Jason Harmening END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-06-05T19:08:22.650870Z K 7 svn:log V 216 sh: Allow multiple operands in wait builtin. This is only part of the PR; the behaviour for unknown/invalid pids/jobs remains unchanged (aborts the builtin with status 2). PR: 176916 Submitted by: Vadim Goncharov END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-06-05T19:40:52.349217Z K 7 svn:log V 237 sh: Return status 127 for unknown jobs in wait builtin. This is required by POSIX, at least for pids that are not known child processes. Other problems with job specifications still cause wait to abort with exit status 2. PR: 176916 END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-06-05T19:46:39.630362Z K 7 svn:log V 637 Pull in r183297 from upstream llvm trunk: PR15662: Optimized debug info produces out of order function parameters When a function is inlined we lazily construct the variables representing the function's parameters. After that, we add any remaining unused parameters. If the function doesn't use all the parameters, or uses them out of order, then the DWARF would produce them in that order, producing a parameter order that doesn't match the source. This fix causes us to always keep the arg variables at the start of the variable list & in the original order from the source. Reported by: avg MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-06-05T19:54:28.676658Z K 7 svn:log V 59 sh(1): Document new features in wait builtin. PR: 176916 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-06-05T20:15:18.894260Z K 7 svn:log V 82 sleep: Explain in a comment why the [EINTR] check is there. Suggested by: eadler END K 10 svn:author V 2 np K 8 svn:date V 27 2013-06-05T20:57:52.267017Z K 7 svn:log V 83 cxgbe(4): Never install a firmware if hw.cxgbe.fw_install is 0. MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-05T21:12:55.785468Z K 7 svn:log V 193 Import couple of important bug fixes from the upstream. http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=7e2f0d2 http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commit;h=a445af0 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-05T21:27:04.078822Z K 7 svn:log V 31 Add GNU regex from glibc 2.17. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-05T21:28:33.114967Z K 7 svn:log V 49 Fix build for FreeBSD. We do not have alloca.h. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-05T21:31:06.097532Z K 7 svn:log V 39 Connect libgnuregex 2.17 to the build. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-05T21:55:20.809135Z K 7 svn:log V 74 Remove unneeded reference to link.h (sys/link_elf.h). MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-05T21:56:29.621704Z K 7 svn:log V 34 Use calloc(). MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-05T22:21:13.168006Z K 7 svn:log V 532 As a temporary work-around (read: until there's a nice API for exposing and controlling this form of antenna diversity) - print out the AR9285 antenna diversity configuration at attach time. This will help track down and diagose if/when people have connectivity issues on cards (eg if they connect a single antenna to LNA1, yet the card has RX configured to only occur on LNA2.) Tested: * AR9285 w/ antenna diversity enabled in EEPROM; * AR9285 w/ antenna diversity disabled in EEPROM; mapping only to a single antenna (LNA1.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-05T22:23:13.127777Z K 7 svn:log V 464 Enable slow diversity combining for the AR9285. Now that I understand what's going on - and the RX antenna array maps to what the receive LNA configuration actually is - I feel comfortable in enabling this. If people do have issues with this, there's enough debugging now available that we have a chance to diagnose it without writing it up as 'weird crap.' Tested: * AR9285 STA w/ diversity combining enabled in EEPROM TODO: * (More) testing in hostap mode END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-06-05T22:27:49.162626Z K 7 svn:log V 206 release: Allow empty extra distributions. For example, WITHOUT_SHAREDOCS= in src.conf creates an empty doc distribution. Submitted by: Kurt Lidl Tested by: Kurt Lidl Discussed with: gjb MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-06-05T23:17:39.453010Z K 7 svn:log V 282 Add a "-v" (verbose) option to the gssd daemon, to help with diagnosis of kerberized NFS mount problems. When set, messages are sent to syslog() (or fprintf(stderr,...) if "-d" is also specified) to indicate activity/results of kgssapi upcalls. Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-06-05T23:28:29.690407Z K 7 svn:log V 96 Document the new "-v" option for the gssd daemon. This is a content change. MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2013-06-05T23:53:00.120762Z K 7 svn:log V 408 - Consolidate duplicate code into support functions. - Split the bqlock into bqclean and bqdirty locks. - Only acquire the wakeup synchronization locks when we cross a threshold requiring them. - Restructure the way flushbufqueues() targets work so they are more smp friendly and sane. Reviewed by: kib Discussed with: mckusick, attilio Sponsored by: EMC / Isilon Storage Division M vfs_bio.c END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-06T03:18:07.805438Z K 7 svn:log V 98 MFC r251336, r251344, r251346: ext2fs: update Block Group Descriptor struct plus cosmetic fixes. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-06T05:17:51.610168Z K 7 svn:log V 66 MFC: r250746 and r250805. Fix build after DocBook 4.5 conversion. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-06T05:20:05.511078Z K 7 svn:log V 30 Remove obsolete translations. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-06T05:28:28.785333Z K 7 svn:log V 41 MFC r251318: Remove irrelevant comments. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-06T06:11:43.794091Z K 7 svn:log V 130 Update errata document for 8.4R: - dhclient does not work on fxp(4). - ZFS pool interoperability issue between 8.4 and 9.[01]. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-06T06:17:20.721320Z K 7 svn:log V 131 Don't busy the page unless we are likely to release the object lock. Reviewed by: kib Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T08:48:02.984780Z K 7 svn:log V 52 MFC r221229: Implement BIO_DELETE for vnode devices END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T08:57:32.826238Z K 7 svn:log V 33 MFC r221853: Global zeros region END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T09:13:07.161050Z K 7 svn:log V 62 MFC r221855: Move the ZERO_REGION_SIZE to a machine-dependent END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T09:23:21.925225Z K 7 svn:log V 90 MFC r226737: Allow upper layers to discover that BIO_DELETE / BIO_FLUSH is not supported. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T09:45:22.817848Z K 7 svn:log V 107 MFC r230053: BIO_DELETE for SCSI da devices MFC r239655: Fix scsi_da's BIO_DELETE->SCSI_UNMAP translation END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T09:50:42.387013Z K 7 svn:log V 75 MFC r245251: Remove essentially unused variables from scsi_da probe setups END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T09:55:00.521990Z K 7 svn:log V 100 MFC r245252: Always maintain disk d_flags MFC r249929: Removed unneeded tests in dadeletemethodset END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T09:58:23.734807Z K 7 svn:log V 68 MFC r245253: Use sysctl tuneable values for scsi_da and retry_count END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T10:00:22.908779Z K 7 svn:log V 68 MFC r246146: Format CDB output as 2 digit hex correcting the length END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T10:06:32.284247Z K 7 svn:log V 74 MFC r248922: Adds the ability to enable / disable sorting of BIO requests END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T10:09:20.391371Z K 7 svn:log V 51 MFC r248992: Added ATA Pass-Through support to CAM END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T10:25:58.256991Z K 7 svn:log V 76 MFC r249930: Added a sysctl to control the maximum size of a delete request END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T10:27:34.408560Z K 7 svn:log V 65 MFC r249931: Added Dataset Management defines to be used by TRIM END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T11:41:22.155488Z K 7 svn:log V 79 MFC r249933: Added the ability to send ATA identify and TRIM commands via SCSI END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T11:47:54.649191Z K 7 svn:log V 84 MFC r249934: Updated TRIM calculations in cam/ata to be based off ATA_DSM_* defines END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-06T11:59:38.415741Z K 7 svn:log V 138 Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note this actually reverts r250860 and r250861. Reported by: gjb, tinderbox END K 10 svn:author V 3 des K 8 svn:date V 27 2013-06-06T13:47:36.692701Z K 7 svn:log V 67 MFH (r247863): fix occasional SIGSEGV when an interface was added. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-06T14:43:19.064190Z K 7 svn:log V 338 Do not compare the existing mask of a cpuset with a new mask when changing the mask of a cpuset. Also, change the cpuset's mask before updating the masks of all children. Previously changing a cpuset's mask first required setting the mask to a super-set of both the old and new masks and then changing it a second time to the new mask. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-06T18:19:26.683951Z K 7 svn:log V 230 Complete r251452: Avoid to busy/unbusy a page in cases where there is no need to drop the vm_obj lock, more nominally when the page is full valid after vm_page_grab(). Sponsored by: EMC / Isilon storage division Reviewed by: alc END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-06T18:25:48.892007Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-06T18:30:33.125391Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-06T20:14:40.924078Z K 7 svn:log V 112 Update vendor-sys/illumos/dist to illumos-gate 14039:6cfd5a5778b9 Illumos ZFS issues: 3137 L2ARC compression END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-06-06T21:09:27.974965Z K 7 svn:log V 64 Switch to 2-clause license and standard text Approved by: bms@ END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2013-06-06T22:02:03.570736Z K 7 svn:log V 112 Fix r251444 so that gssd.c still builds for WITHOUT_KERBEROS. Reported by: bf1783@gmail.com MFC after: 2 weeks END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-06T22:31:52.593910Z K 7 svn:log V 127 MFC r216088: Manual partial MFC of only basic VPD support for scsi_xpt MFC r249937: Refactored scsi_xpt use of device_has_vpd END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-06T23:21:41.904531Z K 7 svn:log V 348 MFV r251474: * Illumos zfs issue #3137 L2ARC compression Whether or not to compress buffers entering the L2ARC is controlled by "compression" setting on the dataset, when compression is not "off", L2ARC compression is enabled. The compress method is always LZ4 for L2ARC when enabled because it works best for the scenario. MFC after: 2 weeks END K 10 svn:author V 6 scottl K 8 svn:date V 27 2013-06-07T00:22:38.806329Z K 7 svn:log V 195 Simplify the checking of flags for cam_periph_mapmem(). This gets rid of a lot of code redundancy and grossness at very minor expense. Reviewed by: smh Obtained from: Netflix MFC after: 3 days END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-07T00:48:01.308423Z K 7 svn:log V 165 gcc: install AMD intrinsics header ammintrin.h This file was included in the changes from r251212 and originated in the pre-GPLv3 gcc43 branch. MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-06-07T01:01:39.507775Z K 7 svn:log V 706 Do not report current link status if driver is not running. Reporting link status in driver has a side-effect that makes mii(4) check current link status. mii(4) will call link status change callback when it sees link state change. Normally this wouldn't have problems. However, ASF/IPMI firmware can actively access PHY regardless of driver's running state such that reporting link status for not-running interface can generate meaningless link UP/DOWN messages. This change also makes dhclient think driver got a valid link regardless of link establishment so it will bypass dhclient's initial link status check. I think that wouldn't be issue though. Tested by: Daniel Braniss END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-06-07T01:21:09.011089Z K 7 svn:log V 367 Correct setting TX random backoff register. This register is implemented as a 10 bits linear feedback shift register so only lower 10 bits are valid. Because this register is used to initialize random backoff interval register only when resolved duplex is half-duplex, it wouldn't have caused issues in these days. Submitted by: Masanobu SAITOH END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-07T05:17:58.927822Z K 7 svn:log V 474 Add bluetooth fixes to the AR5416/AR92xx HAL: * Call the bluetooth setup function during the reset path, so the bluetooth settings are actually initialised. * Call the AR9285 diversity functions during bluetooth setup; so the AR9285 diversity and antenna configuration registers are correctly programmed * Misc debugging info. Tested: * AR9285+AR3011 bluetooth combo; this code itself doesn't enable bluetooth coexistence but it's part of what I'm currently using. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-07T05:18:07.855751Z K 7 svn:log V 60 Add accessor macros for the bluetooth coexistence routines. END K 10 svn:author V 2 jh K 8 svn:date V 27 2013-06-07T07:17:46.990370Z K 7 svn:log V 235 Revert r238399. The "failok" option doesn't have any effect at all unless specified in fstab(5) and combined with the -a flag. The "failok" option is already documented in fstab(5). PR: 177630 No objection: eadler MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-06-07T08:06:48.283842Z K 7 svn:log V 233 Use getnameinfo(3) instead of inet_ntop(3) to make printable versions of sockaddr_in6 structures. getnameinfo(3) does the same thing, but it is also able to represent a scope zone id as described in the RFC 4007. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-07T09:02:02.376287Z K 7 svn:log V 3035 Bring over the initial static bluetooth coexistence configuration for the WB195 combo NIC - an AR9285 w/ an AR3011 USB bluetooth NIC. The AR3011 is wired up using a 3-wire coexistence scheme to the AR9285. The code in if_ath_btcoex.c sets up the initial hardware mapping and coexistence configuration. There's nothing special about it - it's static; it doesn't try to configure bluetooth / MAC traffic priorities or try to figure out what's actually going on. It's enough to stop basic bluetooth traffic from causing traffic stalls and diassociation from the wireless network. To use this code, you must have the above NIC. No, it won't work for the AR9287+AR3012, nor the AR9485, AR9462 or AR955x combo cards. Then you set a kernel hint before boot or before kldload, where 'X' is the unit number of your AR9285 NIC: # kenv hint.ath.X.btcoex_profile=wb195 This will then appear in your boot messages: [100482] athX: Enabling WB195 BTCOEX This code is going to evolve pretty quickly (well, depending upon my spare time) so don't assume the btcoex API is going to stay stable. In order to use the bluetooth side, you must also load in firmware using ath3kfw and the binary firmware file (ath3k-1.fw in my case.) Tested: * AR9280, no interference * WB195 - AR9285 + AR3011 combo; STA mode; basic bluetooth inquiries were enough to cause traffic stalls and disassociations. This has stopped with the btcoex profile code. TODO: * Importantly - the AR9285 needs ASPM disabled if bluetooth coexistence is enabled. No, I don't know why. It's likely some kind of bug to do with the AR3011 sending bluetooth coexistence signals whilst the device is asleep. Since we don't actually sleep the MAC just yet, it shouldn't be a problem. That said, to be totally correct: + ASPM should be disabled - upon attach and wakeup + The PCIe powersave HAL code should never be called Look at what the ath9k driver does for inspiration. * Add WB197 (AR9287+AR3012) support * Add support for the AR9485, which is another combo like the AR9285 * The later NICs have a different signaling mechanism between the MAC and the bluetooth device; I haven't even begun to experiment with making that HAL code work. But it should be a lot more automatic. * The hardware can do much more interesting traffic weighting with bluetooth and wifi traffic. None of this is currently used. Ideally someone would code up something to watch the bluetooth traffic GPIO (via an interrupt) and then watch it go high/low; then figure out what the bluetooth traffic is and adjust things appropriately. * If I get the time I may add in some code to at least track this stuff and expose statistics. But it's up to someone else to experiment with the bluetooth coexistence support and add the interesting stuff (like "real" detection of bulk, audio, etc bluetooth traffic patterns and change wifi parameters appropriately - eg, maximum aggregate length, transmit power, using quiet time to control TX duty cycle, etc.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-07T09:03:56.845326Z K 7 svn:log V 526 Don't hold the node lock over the iterator. The "find node" function call will increase the node reference anyway; so there's no reason to hold the node table lock during the MLME change. The only reason I could think of is to stop overlapping mlme ioctls from causing issues, but this should be fixed a different way. This fixes a whole class of LORs that creep up when nodes are being timed out or removed by hostapd. Tested: * AR5416, hostap, with nodes coming and going. No LORs or stability issues were observed. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-07T09:06:50.080707Z K 7 svn:log V 25 Document a bge(4) issue. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-06-07T10:27:50.889818Z K 7 svn:log V 197 Properly set curvnet context in lagg_port_setlladdr() task handler. Reported by: Nikos Vassiliadis Submitted by: zec Tested by: Nikos Vassiliadis MFC after: 1 week END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-07T12:24:15.165166Z K 7 svn:log V 683 Enhanced BIO_DELETE support for CAM SCSI to add ATA_TRIM support. Disable CAM BIO queue sorting for non-rotating media by default. MFC r245253 Use sysctl tunable values for scsi_da & retry_count (stable/8 only) MFC r249939 Added available delete methods discovery during device probe MFC r249941 Automatically disable BIO queue sorting for non-rotating media MFC r250033 Correct comment typo's MFC r250179 Update probe flow so that devices with lbp can also disable disksort MFC r250181 Check for ATA Information VPD before querying for ATA MFC r250183 Enable CAM SCSI to choice ATA TRIM during autodetection MFC r250967 Enforce validation on the selected delete method via sysctl END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-07T12:33:40.194136Z K 7 svn:log V 81 MFC r250792: Added output of device QUIRKS for CAM and AHCI devices during boot. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-07T12:42:49.142164Z K 7 svn:log V 38 MFC r251061: More 4k quirks for SSD's END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-07T13:30:59.283509Z K 7 svn:log V 98 MFC r249115: Adds security command to camcontrol which provides the ability to secure erase SSD's END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-06-07T13:45:58.175531Z K 7 svn:log V 207 Add libusb_get_port_numbers libusbx deprecated libusb_get_port_path and replaced it with libusb_get_port_numbers. The latter omits an extra parameter which was unused in the FreeBSD implementation anyway. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-07T13:59:41.588325Z K 7 svn:log V 199 MFC r249895: Add Host Protected Area (HPA) support to camcontrol MFC r249904: mdoc: remove superfluous paragraph macro. MFC r249153: (included in r251494) mdoc: remove superfluous paragraph macro. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-07T14:10:18.486162Z K 7 svn:log V 176 MFC r249115: Adds security command to camcontrol which provides the ability to secure erase SSD's MFC r249153: (included in r251494) mdoc: remove superfluous paragraph macro. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-07T14:23:11.192237Z K 7 svn:log V 121 MFC r249895: Add Host Protected Area (HPA) support to camcontrol MFC r249904: mdoc: remove superfluous paragraph macro. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-06-07T14:30:06.774245Z K 7 svn:log V 271 Add support for polling the XHCI interrupt handler when the regular interrupt handler is not working properly or in case of MSI interrupts which are not yet supported. Remove interrupt setup code for FreeBSD versions older than 700031. MFC after: 1 week PR: usb/179342 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-06-07T15:52:33.029134Z K 7 svn:log V 31 Add the entry for 8.4-RELEASE. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-06-07T17:06:08.302985Z K 7 svn:log V 19 FreeBSD 8.4 added. END K 10 svn:author V 3 bms K 8 svn:date V 27 2013-06-07T17:12:08.886427Z K 7 svn:log V 82 Disable IGMPv3 link timers on a transition to IGMPv2. Submitted by: Alan Smithee END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-06-07T18:46:47.483044Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-06-07T19:02:32.758091Z K 7 svn:log V 56 MFC: r251368, r251382: Match the options of the kernel. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-06-07T19:42:00.345381Z K 7 svn:log V 66 Add missing VM object unlocks in an error case. Reviewed by: kib END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-06-07T19:45:04.025051Z K 7 svn:log V 45 Override bmake's default MAKEFILE_PREFERENCE END