ƒ³X263313 183 883 216 216 207 812 621 160 642 289 160 721 115 183 183 183 461 369 353 312 254 399 151 282 313 191 161 170 182 185 182 434 132 191 744 381 205 479 155 340 221 161 205 205 167 181 181 237 155 155 279 574 449 291 561 176 388 304 140 157 156 422 219 947 947 136 250 209 987 151 614 152 278 197 205 205 218 313 313 313 313 554 554 358 358 341 341 270 270 172 172 629 629 229 229 271 246 314 272 145 181 136 152 159 631 406 453 171 148 242 231 676 121 192 126 152 374 785 108 149 160 193 311 205 419 313 219 177 398 153 593 252 183 893 299 316 373 410 193 119 459 372 621 176 312 249 163 626 223 230 364 352 524 158 152 127 464 170 118 288 151 148 209 1126 186 161 572 254 148 148 148 148 148 148 148 276 148 148 148 245 148 148 148 148 K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-18T19:35:26.091098Z K 7 svn:log V 790 Pull in r203311 from upstream llvm trunk (by Arnold Schwaighofer): ISel: Make VSELECT selection terminate in cases where the condition type has to be split and the result type widened. When the condition of a vselect has to be split it makes no sense widening the vselect and thereby widening the condition. We end up in an endless loop of widening (vselect result type) and splitting (condition mask type) doing this. Instead, split both the condition and the vselect and widen the result. I ran this over the test suite with i686 and mattr=+sse and saw no regressions. Fixes PR18036. With this fix the original problem case from the graphics/rawtherapee port (posted in http://llvm.org/PR18036 ) now compiles within ~97MB RSS. Reported by: mandree MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-18T20:01:00.531520Z K 7 svn:log V 119 MFC r249559: Don't leak lock when returning. PR: kern/177888 Submitted by: Sven-Thorsten Dietrich END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-18T20:01:46.910905Z K 7 svn:log V 119 MFC r249559: Don't leak lock when returning. PR: kern/177888 Submitted by: Sven-Thorsten Dietrich END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-18T20:05:55.698682Z K 7 svn:log V 110 MFC r249562: Fix incomplete printf. PR: kern/177889 Submitted by: Sven-Thorsten Dietrich END K 10 svn:author V 2 np K 8 svn:date V 27 2014-03-18T20:14:13.067856Z K 7 svn:log V 720 cxgbe(4): significant rx rework. - More flexible cluster size selection, including the ability to fall back to a safe cluster size (PAGE_SIZE from zone_jumbop by default) in case an allocation of a larger size fails. - A single get_fl_payload() function that assembles the payload into an mbuf chain for any kind of freelist. This replaces two variants: one for freelists with buffer packing enabled and another for those without. - Buffer packing with any sized cluster. It was limited to 4K clusters only before this change. - Enable buffer packing for TOE rx queues as well. - Statistics and tunables to go with all these changes. The driver's man page will be updated separately. MFC after: 5 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-03-18T21:32:03.469776Z K 7 svn:log V 524 Remove dead code from umtx support: - Retire long time unused (basically always unused) sys__umtx_lock() and sys__umtx_unlock() syscalls - struct umtx and their supporting definitions - UMUTEX_ERROR_CHECK flag - Retire UMTX_OP_LOCK/UMTX_OP_UNLOCK from _umtx_op() syscall __FreeBSD_version is not bumped yet because it is expected that further breakages to the umtx interface will follow up in the next days. However there will be a final bump when necessary. Sponsored by: EMC / Isilon storage division Reviewed by: jhb END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-03-18T21:34:11.318813Z K 7 svn:log V 64 Regen per r263318. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-18T22:07:45.236570Z K 7 svn:log V 549 Add separate patch files for all the customizations we have currently applied to our copy of llvm/clang. These can be applied in alphabetical order to a pristine llvm/clang 3.4 release source tree, to result in the same version used in FreeBSD. This is intended to clearly document all the changes until now, which mostly consist of cherry pickings from the respective upstream trunks, plus a number of hand-written FreeBSD-specific ones. Hopefully those can eventually be cleaned up and sent upstream too. MFC after: 1 week X-MFC-With: r263313 END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-03-18T22:22:47.988874Z K 7 svn:log V 196 Switch kern.vt.suspendswitch to 0 by default (disabled). kern.vt.suspendswitch - sysctl/tunable which enable switch to VT0 before going to suspend and switch back after resume. MFC after: 7 days END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-03-18T23:25:35.657384Z K 7 svn:log V 65 Don't reissue in-flight commands. Approved by: neel (co-mentor) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-18T23:51:34.951314Z K 7 svn:log V 625 Fix and improve exception tracing: 1. Name the kernel option XTRACE instead of EXCEPTION_TRACING 2. Put support functions in ia64/ia64/xtrace.c 3. Make it work with SMP by giving each CPU its own buffer 4. Save 16 key registers in the buffer for every exception 5. In ia64_handle_intr() and trap() transfer the trace record to the KTR trace buffer using CTRx() and with some basic information for now 6. Use a tunable to anble tracing and stop tracing as soon as we enter the debugger Room for improvements: 1. Transferring exception-relevant information to KTR 2. Add a sysctl to enable/disable tracing END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-03-19T00:38:27.775048Z K 7 svn:log V 19 Fix GENERIC build. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-19T00:53:24.649938Z K 7 svn:log V 86 MFC r263021: Support Last-Modified behind proxies which return UTC instead of GMT. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-19T00:54:43.923926Z K 7 svn:log V 86 MFC r263021: Support Last-Modified behind proxies which return UTC instead of GMT. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-19T00:55:12.030428Z K 7 svn:log V 86 MFC r263021: Support Last-Modified behind proxies which return UTC instead of GMT. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-03-19T01:13:42.620474Z K 7 svn:log V 364 vm_page_grab() and vm_pager_get_pages() can drop the vm_object lock, then threads can sleep on the pip condition. Avoid to deadlock such threads by correctly awakening the sleeping ones after the pip is finished. swapoff side of the bug can likely result in shutdown deadlocks. Sponsored by: EMC / Isilon Storage Division Reported by: pho, pluknet Tested by: pho END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-03-19T01:27:56.250578Z K 7 svn:log V 274 Only invoke fasttrap hooks for traps from user mode, and ensure that they're called with interrupts enabled. Calling fasttrap_pid_probe() with interrupts disabled can lead to deadlock if fasttrap writes to the process' address space. Reviewed by: rpaulo MFC after: 3 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-19T01:43:03.166291Z K 7 svn:log V 260 MFC r263105, r263106: r263105: Add hyperv manual pages provided by Microsoft, formatted for FreeBSD standards. Very little, if any, content was modified. r263106: Connect the hyperv driver manuals to the build. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-19T03:33:32.527196Z K 7 svn:log V 215 Now, after r263102 we have ifi_oqdrops in if_data, restore printing of output queue drops in netstat(1). No driver, neither kernel fills this field in if_data, yet. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-19T06:03:26.591516Z K 7 svn:log V 157 Add counter for Tx errors returned from if_transmit. Submitted-by: Boris Misenov Sponsored by: Solarflare Communications, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-19T06:08:03.379957Z K 7 svn:log V 302 When exporting ifnet via sysctl, add ifqueue(9) drop count to the ifi_oqdrops. This is a temporary workaround until ifqueue(9) vanishes. While here, remove the pointless ifi_vhid assignment. It has sense only when we are exporting ifaddrs, not ifnets. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-19T09:23:58.692855Z K 7 svn:log V 55 Merge r262747: remove extraneous ifa_ref()/ifa_free(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-19T09:36:29.122784Z K 7 svn:log V 185 Merge r259562,r259566,r259638,r259645,r260124 by melifaro: Switch netstat -rn to use standard API for retrieving list of routes instead of peeking inside in-kernel radix via kget. END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-03-19T09:41:12.498790Z K 7 svn:log V 220 Added sysctl kern.maxfiles increase test, do not use /etc/passwd for tests and use volatile sig_atomic_t for signal handler variable. Reviewed by: asomers (previous version) Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-03-19T10:05:31.587588Z K 7 svn:log V 99 Added a regression test for problem fixed in r263328. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-03-19T10:14:17.674142Z K 7 svn:log V 69 Remove unused variable. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-03-19T10:15:37.196613Z K 7 svn:log V 78 Initialize variable before test. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 5 achim K 8 svn:date V 27 2014-03-19T10:18:34.010498Z K 7 svn:log V 88 MFC r257847, r260243: Update aacraid to version 3.2.5. Approved by: emaste (co-mentor) END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-03-19T10:18:50.065515Z K 7 svn:log V 93 Added scenario for "swapped out" state problem. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 5 achim K 8 svn:date V 27 2014-03-19T10:20:13.542844Z K 7 svn:log V 88 MFC r257847, r260243: Update aacraid to version 3.2.5. Approved by: emaste (co-mentor) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-03-19T10:32:57.181143Z K 7 svn:log V 337 Merge r262690 from head to stable/9: When querying a process's umask via sysctl in libprocstat(), don't print a warning if EPERM is returned as this is an expected failure mode rather than error -- similar to current handling of ESRCH. This makes the output of 'procstat -as' vastly more palatable. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-19T10:42:10.870004Z K 7 svn:log V 36 Merge head r258543 through r263342. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-19T12:06:51.298551Z K 7 svn:log V 98 Expand tabs that sneaked in into spaces. Problem introduced by r263227. Spotted by Alan Somers. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-19T12:29:20.593617Z K 7 svn:log V 650 Migrate tools/regression/usr.bin/make/ to the new tests layout. Note that these tests are for fmake, not bmake, and thus they are not installed nor run when bmake is selected (the default). Yes, I have wasted a *ton* of time on moving tests for no real reason other than ensuring they are not left behind. But maybe, just maybe, it was not work in vain: the majority of these tests also work with bmake and the few that don't may point at broken stuff. For example, the tests for the "archive" feature do not work with bmake, but bmake's manpage and source tree seem to imply that they should. So... to be investigated later; need to poke sjg@. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-19T12:30:44.206579Z K 7 svn:log V 284 Implement optional (default to 0) readahead for the new sendfile. If readahead is enabled, and vm_pager_has_page() hints us that we can do more pages in a single I/O than socket can consume, then we preload that much pages to memory. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-19T12:32:50.393286Z K 7 svn:log V 111 Add Makefiles missed in r263346. Grrr, I wish svn clearly displayed files not yet added when about to commit. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-19T12:35:04.555971Z K 7 svn:log V 386 Make the array pointed to by AT_PAGESIZES auxv properly aligned. Also, remove the expression which calculated the location of the strings for a new image and grown over the time to be non-comprehensible. Instead, calculate the offsets by steps, which also makes fixing the alignments much cleaner. Reported and reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-03-19T12:45:40.229287Z K 7 svn:log V 59 Fix comments. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-19T12:46:04.964180Z K 7 svn:log V 246 Migrate tools/regression/usr.bin/pkill to the new tests layout. Interestingly, the pkill tool lives in bin, not usr.bin. Haven't bothered to check if this is because the tool moved or because the tests were originally added in the wrong place. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-19T12:51:40.838387Z K 7 svn:log V 127 Make the priv test program exit with non-zero if any failures are detected. And, mind you, this already returns a failure :-/ END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-19T12:52:49.690032Z K 7 svn:log V 68 errx prepends the program name to the message; don't do it by hand. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-19T12:55:57.014357Z K 7 svn:log V 112 MFC r263079: The auio structure is only initialized when the vnode is symlink, avoid reading from it otherwise. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-19T12:57:13.252048Z K 7 svn:log V 112 MFC r263079: The auio structure is only initialized when the vnode is symlink, avoid reading from it otherwise. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-03-19T13:00:44.655304Z K 7 svn:log V 73 Make the error message more clear. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-19T13:02:17.911053Z K 7 svn:log V 89 MFC r263080: Use correct types for sizeof() in the calculations for the malloc(9) sizes. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-19T13:02:26.966342Z K 7 svn:log V 89 MFC r263080: Use correct types for sizeof() in the calculations for the malloc(9) sizes. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-19T13:04:16.325849Z K 7 svn:log V 144 MFC r263092: Do not vdrop() the tmpfs vnode until it is unlocked. The hold reference might be the last, and then vdrop() would free the vnode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-19T13:09:17.475930Z K 7 svn:log V 63 MFC r263095: Initialize paddr to handle the case of zero size. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-19T13:09:38.351209Z K 7 svn:log V 63 MFC r263095: Initialize paddr to handle the case of zero size. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-19T13:10:25.576934Z K 7 svn:log V 185 Include strings.h so that bpf_filter.c can be built in userland. This is to bring in a definition for bzero(3), which in turn allows the tests in tools/regression/bpf/ to build again. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-19T13:11:35.878555Z K 7 svn:log V 478 MFC r258054: Update LLDB to upstream r194122 snapshot Inludes minor changes relative to upstream, for compatibility with FreeBSD's in-tree LLVM 3.3: - Reverted LLDB r191806, restoring use of previous API. - Reverted part of LLDB r189317, restoring previous enum names. - Work around missing LLVM r192504, using previous registerEHFrames API (limited functionality). - Removed PlatformWindows header include and init/terminate calls. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-19T13:13:47.724739Z K 7 svn:log V 353 MFC r258094: lldb: Correct a standalone debug file path For a file /bin/ls with a .gnu_debuglink entry of "ls.debug" the path should be /usr/lib/debug/bin/ls.debug, not /usr/lib/debug/bin/ls. ref: https://sourceware.org/gdb/onlinedocs/gdb/Separate-Debug-Files.html Upstream defect pr17903 (http://llvm.org/pr17903) Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-19T13:15:16.702153Z K 7 svn:log V 195 MFC r258098: Merge upstream LLDB r194487: Log failure to restore thread state in ThreadPlanCallFunction::DoTakedown In order to help track down llvm.org/pr17226. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-19T13:16:58.562837Z K 7 svn:log V 465 MFC r258873: Workaround lldb issue with main module base address On FreeBSD lldb sometimes reloads the the main module's (executable's) symbols at the wrong address. Work around this for now by explicitly reloading at base_address=0 when it happens. A proper fix is needed but early testers have reported this issue so this workaround should allow them to make further progress. http://llvm.org/bugs/show_bug.cgi?id=17880 Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-19T13:18:42.839744Z K 7 svn:log V 81 MFC r258884: Update LLDB to upstream r196259 snapshot Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-19T13:19:56.172177Z K 7 svn:log V 292 MFC r258892: lldb: Threaded inferior support for FreeBSD This is in the process of being submitted to the upstream LLDB repository. The thread list functionality is modelled in part on GDBRemoteCommunicationClient. LLDB bug pr16696 and code review D2267 Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-19T13:24:47.170235Z K 7 svn:log V 208 MFC r258897: Update LLDB to upstream r196322 snapshot Upstream revisions of note: r196298 - Fix use of std::lower_bound r196322 - Fix log message for new invalidation checks Sponsored by: DARPA, AFRL END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-19T13:37:51.443620Z K 7 svn:log V 44 Merge r257485: install netpfil/pf includes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-19T17:34:37.993752Z K 7 svn:log V 65 Add my humble request for reviews before nanobsd changes happen. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-19T17:53:09.537432Z K 7 svn:log V 64 Remove redunant declaration. gcc complains while clang doesn't. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-03-19T18:54:53.551307Z K 7 svn:log V 329 Add a way to apply CFLAGS only when building the given architecture. This is useful primarily on a system used for cross-building, when you have a set of flags to apply to the TARGET_ARCH being cross-built but don't want those settings applied to building the cross-tools or other components that run on the build host machine. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-19T19:31:21.721916Z K 7 svn:log V 123 MFC r258003: Merge upstream LLVM r182803: [Mips] Add Mips specific dynamic table entry tags. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T19:32:53.298557Z K 7 svn:log V 850 Make it possible to call VOP_PUTPAGES with shared vnode lock instead of insisting an exclusive lock. When VFS_LOCK_DEBUG is enabled and when the underlying file system is capable of MNT_SHARED_WRITES, a failed assertion may lead to a panic because when calling fsync(2), a.k.a. sys_fsync() over a vnode with mmap'ed page, it will grab a shared lock when underlying file system is capable, then call vm_object_page_clean that eventually proceeded to vnode_pager_putpages() that tries to do VOP_PUTPAGES, where VOP_PUTPAGES_APV generated from the declaration asserts the vnode is always exclusively locked by caller. This is a direct commit to stable/9 because a majority portion of the original changeset 257899 (kib), which main goal was an optimization, was omitted. We saw the panic independently in a FreeNAS bug ticket (#4578). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T19:33:55.521252Z K 7 svn:log V 850 Make it possible to call VOP_PUTPAGES with shared vnode lock instead of insisting an exclusive lock. When VFS_LOCK_DEBUG is enabled and when the underlying file system is capable of MNT_SHARED_WRITES, a failed assertion may lead to a panic because when calling fsync(2), a.k.a. sys_fsync() over a vnode with mmap'ed page, it will grab a shared lock when underlying file system is capable, then call vm_object_page_clean that eventually proceeded to vnode_pager_putpages() that tries to do VOP_PUTPAGES, where VOP_PUTPAGES_APV generated from the declaration asserts the vnode is always exclusively locked by caller. This is a direct commit to stable/8 because a majority portion of the original changeset 257899 (kib), which main goal was an optimization, was omitted. We saw the panic independently in a FreeNAS bug ticket (#4578). END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-19T20:40:57.626946Z K 7 svn:log V 44 Revert last change, it breaks other things. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-03-19T20:46:02.163633Z K 7 svn:log V 154 MFC r258005: Merge upstream LLVM r192118: Formally added an explicit enum for DWARF TLS support. No functionality change. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-03-19T21:03:04.988476Z K 7 svn:log V 116 Remove vestiges of knowing the ISA bus, which we gave up on around 20 years ago. Remove redunant copy of isaregs.h. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-19T21:30:10.222587Z K 7 svn:log V 891 Add KTR events for the PMAP interface functions 1. move unmapped_buf_allowed to machdep.c. 2. map both pmap_mapbios() and pmap_mapdev() to pmap_mapdev_attr() and have the actual work done by pmap_mapdev_priv() (renamed from pmap_mapdev()). Use pmap_mapdev_priv() to map the I/O port space because we can't use CTR() that early. 3. add pmap_pinit_common() that's used by both pmap_pinit0() and pmap_pinit(). Previously pmap_pinit0() would call pmap_pinit(), but that would create 2 KTR events. While here, use pmap_t instead of "struct pmap *". 4. fix pmap_kenter() to use vm_paddr_t as the type for the physical. 5. various white-space adjustments for consistency. 6. use C99 and KNF for function definitions where appropriate. 7. slightly re-order prototypes and defines in No functional change (other than the creation of KTR_PMAP events). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-19T21:37:44.008593Z K 7 svn:log V 56 Set BINDIR & WARNS while we're outside the source tree. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-19T21:44:51.820756Z K 7 svn:log V 518 Add mkimg.h. It contains the 'part' structure definition and the linked list (STAILQ) so that it can be shared and re-used in all source files. Replace the now unneeded scheme_add_part() with scheme_check_part() for posterity. Also (should have been a separate commit), remove the enforcement of creating a GPT table with at least 128 entries. While this is generally advised as the default or minimum, it's not actually a hard requirement. We now recreate a table that's precisely enough (rounded of course). WHile END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-19T22:27:10.694404Z K 7 svn:log V 57 Expand usage(). This serves even now as a good reminder. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-19T22:50:14.097839Z K 7 svn:log V 185 MFC r259860 (by mjacob): Harvest one no longer used constant string. Remove another and place it into play in the normally ifdef protected zone it would be used int. Noticed by: dim END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:04:52.890437Z K 7 svn:log V 100 Remove unused option -r from zpool. Submitted by: Richard Yao MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:21:31.473922Z K 7 svn:log V 108 MFC r254587: MFV r254421: Illumos ZFS issues: 3996 want a libzfs_core API to rollback to latest snapshot END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:22:25.810438Z K 7 svn:log V 108 MFC r254587: MFV r254421: Illumos ZFS issues: 3996 want a libzfs_core API to rollback to latest snapshot END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-03-19T23:29:00.122557Z K 7 svn:log V 124 Mark multi_test as requiring /usr/share/dict/words. The file may not be present if MK_DICT=no. Pointed out by Casey Peel. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:31:47.478785Z K 7 svn:log V 216 MFC r259811: MFV r258373: 4168 ztest assertion failure in dbuf_undirty 4169 verbatim import causes zdb to segfa 4170 zhack leaves pool in ACTIVE state illumos/illumos-gate@7fdd916c474ea52896c671bbe7b56ba34a1ca132 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:36:12.877150Z K 7 svn:log V 216 MFC r259813 + r259813: MFV r258374: 4171 clean up spa_feature_*() interfaces 4172 implement extensible_dataset feature for use by other zpool features illumos/illumos-gate@2acef22db7808606888f8f92715629ff3ba555b9 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:38:23.002936Z K 7 svn:log V 216 MFC r259813 + r259816: MFV r258374: 4171 clean up spa_feature_*() interfaces 4172 implement extensible_dataset feature for use by other zpool features illumos/illumos-gate@2acef22db7808606888f8f92715629ff3ba555b9 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:40:08.531616Z K 7 svn:log V 216 MFC r259813 + r259816: MFV r258374: 4171 clean up spa_feature_*() interfaces 4172 implement extensible_dataset feature for use by other zpool features illumos/illumos-gate@2acef22db7808606888f8f92715629ff3ba555b9 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:44:03.614311Z K 7 svn:log V 457 MFC r260138: MFV r242733: 3306 zdb should be able to issue reads in parallel 3321 'zpool reopen' command should be documented in the man page and help message illumos/illumos-gate@31d7e8fa33fae995f558673adb22641b5aa8b6e1 FreeBSD porting notes: the kernel part of this changeset depends on Solaris buf(9S) interfaces and are not really applicable for our use. vdev_disk.c is patched as-is to reduce diverge from upstream, but vdev_file.c is left intact. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:46:59.679639Z K 7 svn:log V 457 MFC r260138: MFV r242733: 3306 zdb should be able to issue reads in parallel 3321 'zpool reopen' command should be documented in the man page and help message illumos/illumos-gate@31d7e8fa33fae995f558673adb22641b5aa8b6e1 FreeBSD porting notes: the kernel part of this changeset depends on Solaris buf(9S) interfaces and are not really applicable for our use. vdev_disk.c is patched as-is to reduce diverge from upstream, but vdev_file.c is left intact. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:50:13.133365Z K 7 svn:log V 261 MFC r260141: MFV r258385: (Note: this change is not applicable to FreeBSD and the file is not included in build. It's integrated for completeness). 4128 disks in zpools never go away when pulled illumos/illumos-gate@39cddb10a31c1c2e66aed69e6871d09caa4c8147 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:51:29.327768Z K 7 svn:log V 261 MFC r260141: MFV r258385: (Note: this change is not applicable to FreeBSD and the file is not included in build. It's integrated for completeness). 4128 disks in zpools never go away when pulled illumos/illumos-gate@39cddb10a31c1c2e66aed69e6871d09caa4c8147 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:55:03.286859Z K 7 svn:log V 244 MFC r260150: MFV r259170: 4370 avoid transmitting holes during zfs send 4371 DMU code clean up illumos/illumos-gate@43466aae47bfcd2ad9bf501faec8e75c08095e4f NOTE: Make sure the boot code is updated if a zpool upgrade is done on boot zpool. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-19T23:58:05.811891Z K 7 svn:log V 244 MFC r260150: MFV r259170: 4370 avoid transmitting holes during zfs send 4371 DMU code clean up illumos/illumos-gate@43466aae47bfcd2ad9bf501faec8e75c08095e4f NOTE: Make sure the boot code is updated if a zpool upgrade is done on boot zpool. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:01:19.406727Z K 7 svn:log V 173 MFC r260157: MFV r260153: 4121 vdev_label_init should treat request as succeeded when pool is read only illumos/illumos-gate@973c78e94bf9634782164382c9e291bf81161fa5 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:02:14.926302Z K 7 svn:log V 173 MFC r260157: MFV r260153: 4121 vdev_label_init should treat request as succeeded when pool is read only illumos/illumos-gate@973c78e94bf9634782164382c9e291bf81161fa5 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:05:23.515789Z K 7 svn:log V 76 MFC r260181: Fix build on platforms where atomic_swap_64 is not available. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:06:16.825247Z K 7 svn:log V 76 MFC r260181: Fix build on platforms where atomic_swap_64 is not available. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:10:58.502487Z K 7 svn:log V 532 MFC r256999 (smh): Added support for the 'zfs list -t snap' and 'zfs snap' aliases which are available under Oracle Solaris 11. This includes an update to the ZFS(8) man page to reflect all the available alias (snap, umount, and recv). Initial changes obtained from ZFS On Linux + fixes for man page and cmd help: https://github.com/zfsonlinux/zfs/commit/10b75496bb0cb7a7b8146c263164adc37f1d176a https://github.com/zfsonlinux/zfs/commit/cf81b00a73fe47fdb21586ac1cc179b734540973 Obtained from: https://github.com/zfsonlinux/zfs END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:14:45.425321Z K 7 svn:log V 532 MFC r256999 (smh): Added support for the 'zfs list -t snap' and 'zfs snap' aliases which are available under Oracle Solaris 11. This includes an update to the ZFS(8) man page to reflect all the available alias (snap, umount, and recv). Initial changes obtained from ZFS On Linux + fixes for man page and cmd help: https://github.com/zfsonlinux/zfs/commit/10b75496bb0cb7a7b8146c263164adc37f1d176a https://github.com/zfsonlinux/zfs/commit/cf81b00a73fe47fdb21586ac1cc179b734540973 Obtained from: https://github.com/zfsonlinux/zfs END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:24:35.841073Z K 7 svn:log V 132 MFC r259850: MFV r258384: 2583 Add -p (parsable) option to zfs list illumos/illumos-gate@43d68d68c1ce08fb35026bebfb141af422e7082e END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:25:40.040198Z K 7 svn:log V 132 MFC r259850: MFV r258384: 2583 Add -p (parsable) option to zfs list illumos/illumos-gate@43d68d68c1ce08fb35026bebfb141af422e7082e END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:28:53.333508Z K 7 svn:log V 174 MFC r260183: MFV r260154 + 260182: 4369 implement zfs bookmarks 4368 zfs send filesystems from readonly pools Illumos/illumos-gate@78f171005391b928aaf1642b3206c534ed644332 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:32:26.529268Z K 7 svn:log V 149 MFC r254755: MFV r254748: Fix memory leak in libzfs's iter_dependents_cb(). Illumos ZFS issues: 4061 libzfs: memory leak in iter_dependents_cb() END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-20T00:38:17.466486Z K 7 svn:log V 218 Use linker sets to provide build-time selection of the schemes that need to be supported. Each scheme provides data and callbacks for handling the scheme-specifics. To this end, put each scheme in its own source file. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:38:46.797580Z K 7 svn:log V 175 MFC r260183: MFV r260154 + 260182: 4369 implement zfs bookmarks 4368 zfs send filesystems from readonly pools Illumos/illumos-gate@78f171005391b928aaf1642b3206c534ed644332 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T00:46:25.565036Z K 7 svn:log V 49 Add Solaris's common/zfs to include search path. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-03-20T01:58:04.902895Z K 7 svn:log V 90 cxgbe(4): if_iqdrops statistic should include tunnel congestion drops. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2014-03-20T02:23:52.095697Z K 7 svn:log V 45 Add a shorter alias for if_data.ifi_oqdrops. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-20T02:27:25.656362Z K 7 svn:log V 57 Check the partition type alias as defined by the scheme. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-03-20T02:28:05.217536Z K 7 svn:log V 68 cxgbe(4): Use ifi_oqdrops in if_data to count drops in the tx path. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-20T04:47:34.603535Z K 7 svn:log V 535 Don't call ath_init() inside the lock. Yes, this means that sc_invalid is slightly racy, but there are other issues here which need fixing. This fixes a source of eventual LORs - ath_init() grabs ATH_LOCK to do work and releases it before it calls ieee80211_start_all(). ieee80211_start_all() will grab the net80211 comlock to iterate over the VAPs. TODO: * .. I should just migrate the ieee80211_start_all() work to a deferred task so it can be done later; it doesn't have to be immediately done. Tested: * AR5416, STA mode END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-20T05:08:31.123267Z K 7 svn:log V 310 Shuffle ah_powerMode to be in a sane spot for the given power operation. This way the state changes from sleep->awake before the registers are poked and from awake->sleep after the registers are poked. This way spurious warnings aren't printed by my (to be committed) debugging code. Tested: * AR5416, STA END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-20T05:10:17.720008Z K 7 svn:log V 357 Add some debugging code to print out if registers are touched whilst the device is asleep. This doesn't avoid logging errors for things that are actually OK to access whilst the chip is asleep (eg, the RTC registers (0x7000->0x70ff on the AR5416 and later.) But, this is a pretty good indicator if things are accessed incorrectly. Tested: * AR5416, STA END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-20T06:22:39.469998Z K 7 svn:log V 75 Since mlaier has been inactive for a long time, grab maintainership on pf. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-20T09:20:37.050224Z K 7 svn:log V 52 Fix several build breakages due to sb_cc disappear. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-20T10:56:05.365959Z K 7 svn:log V 149 MFH (r254407, r254960, r255371): misc cleanup MFH (r255386): make libssh private MFH (r255369, r255376, r255393, r262530): import OpenPAM Nummularia END K 10 svn:author V 3 des K 8 svn:date V 27 2014-03-20T11:09:20.027422Z K 7 svn:log V 138 MFH (r255590): list OpenSSH in OptionalObsoleteFiles.inc Also fix the libssh-went-private bit in ObsoleteFiles.inc, which was incomplete. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-03-20T13:53:24.448966Z K 7 svn:log V 578 Try to resolve a possible deadlock when detaching USB devices which create character devices. The deadlock can happen if an application is issuing IOCTLs which require USB refcounting, at the same time the USB device is detaching. There is already a counter in place in the USB device structure to detect this situation, but it was not always checked ahead of invoking functions that might destroy character devices, like detach, set configuration, set alternate interface or detach active kernel driver. Reported by: Daniel O'Connor MFC after: 1 week END K 10 svn:author V 2 br K 8 svn:date V 27 2014-03-20T17:01:21.142550Z K 7 svn:log V 30 Disable debugging by default. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-03-20T17:03:44.520192Z K 7 svn:log V 100 - Add display-related and clk devices to the tree - Prevent resources intersection with EHCI driver END K 10 svn:author V 2 br K 8 svn:date V 27 2014-03-20T17:07:14.670204Z K 7 svn:log V 35 Add driver for Display Controller. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-03-20T17:10:01.410663Z K 7 svn:log V 61 Add support for Samsung Chromebook (ARM Cortex A15 machine). END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-20T17:13:07.680341Z K 7 svn:log V 277 share/man/man7/tests.7 Added a section on test suite configuration, and cleaned up up grammar errors and awkward prose. The config variables were discussed on freebsd-testing. Discussed with: Garrett Cooper, jmmv MFC after: 2 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-20T17:30:09.816339Z K 7 svn:log V 688 Fix kern/187712: config(8) does not respect KERNCONFDIR. The impact of this bug is that you cannot build a kernel if both of the following are true: 1) The kernel config file is in a non-default location 2) The kernel config file uses the "include" statement from config(5). usr.sbin/config/main.c usr.sbin/config/config.8 usr.sbin/config/config.h usr.sbin/config/lang.l Added a "-I path" option to config(8). By analogy to cc(1), it adds an extra path in which the "include" statement will search for files. Makefile.inc1 Pass "-I ${KERNCONFDIR}" to config(8). PR: kern/187712 Reviewed by: will, imp (previous version) MFC after: 3 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 2 br K 8 svn:date V 27 2014-03-20T17:33:01.688944Z K 7 svn:log V 17 Remove printf's. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-03-20T17:53:56.836953Z K 7 svn:log V 58 Rename mct and ehci drivers files to match common naming. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-03-20T18:15:37.818367Z K 7 svn:log V 67 Use 'cpuset_t' to represent the vcpus active in a virtual machine. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-20T18:43:57.863139Z K 7 svn:log V 100 Support Relnotes: for svn template Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-20T18:44:37.396429Z K 7 svn:log V 218 - Update commit template to include 'Relnotes:' tag, to help re@ track release notes candidates. Discussed with: re Reviewed by: peter MFC after: 3 days X-MFC-To: stable/10 only Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-03-20T19:17:46.295627Z K 7 svn:log V 111 Add new CPUTYPEs supported by Clang 3.4, i.e., AMD Steamroller (bdver3) and Intel Silvermont (slm) processors. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T19:19:11.381808Z K 7 svn:log V 322 3947 zpool(1M) references nonexistent zfs-features(5) 4540 zpool(1M) man page doesn't describe "readonly" property 3948 zfs sync=default is not accepted 4611 zfs(1M) still mentions 'send -r' in synopsis 4415 zpool(1M) man page missing "import -m" description illumos/illumos-gate@409f1c06a8ed7e94e186a77bff5bfe5f77c5ebb1 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T19:23:38.338685Z K 7 svn:log V 216 4570 Document dedupditto pool property 4572 Dedup-related documentation additions for zpool and zdb. 1371 Add -D option description to zpool(1M) manpage illumos/illumos-gate@e902ed8e4d63380fc7ba67f74c52053dcedf7761 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-20T19:24:29.834492Z K 7 svn:log V 122 4571 Add documentation for -T and interval to "zpool list" illumos/illumos-gate@b55998b6d68438193f311140cafa2104f2038571 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-20T19:37:14.198896Z K 7 svn:log V 85 Remove project branch that will not be merged. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-20T19:37:30.496246Z K 7 svn:log V 302 Replace *_get_leader() and *_get_trailer() with a single *_metadata(). This single function takes a where argument to indicate the kind of metadata to "size". This way we can also get rid of the "padding" field in the scheme structure. This should make it a little more understandable what's going on. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-03-20T20:14:04.934540Z K 7 svn:log V 61 msdosfs: minor format fix - spaces vs tab MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-20T20:14:26.261707Z K 7 svn:log V 497 Add a scheme-specific write callback to write the metadata. While here: 1. Move FreeBSD-specific headers to a more centralized place, so that it's easier to port mkimg. 2. Remove inclusion of where we don't need it (copy-pasted). 3. Check the partition data given on the command line before we do any I/O. 4. Add scheme_round() for rounding the partition size. 5. Have scheme_write call the scheme-specific write callback and have it propagate errors back to the caller. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-20T20:18:08.828711Z K 7 svn:log V 159 MFC r226141 (by ed): Remove extraneous WARNS=7. WARNS above 6 has no use. Also, all of usr.bin is also built with WARNS=6 by default. Discussed with: edwin END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-20T20:33:18.012708Z K 7 svn:log V 91 MFC r251862 (by pluknet): Clean up -Wheader-guard warnings. Submitted by: END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-03-20T20:39:41.921984Z K 7 svn:log V 796 Add several ATF tests that deal with multiple fibs. They're described in several different PRs, but the tests share some common code, so I'm committing them together. sbin/ifconfig/tests sbin/ifconfig/tests/fibs_test.sh sbin/ifconfig/tests/Makefile sbin/ifconfig/Makefile Add fibs_test.sh, which regresses bin/187551 tests/sys/netinet tests/sys/netinet/fibs_test.sh tests/sys/netinet/udp_dontroute.c tests/sys/netinet/Makefile tests/sys/Makefile Add fibs_test.sh, which regresses kern/167947, kern/187552 kern/187549, kern/187550, and kern/187553 etc/mtree/BSD.tests.dist Add newly created directories PR: bin/187551 PR: kern/167947 PR: kern/187552 PR: kern/187549 PR: kern/187550 PR: kern/187553 Discussed with: melifaro MFC after: 3 weeks Sponsored by: Spectra Logic Corporation END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-03-20T20:51:08.410836Z K 7 svn:log V 204 Update hwpmc to support core events for Atom Silvermont microarchitecture. (Model 0x4D as per Intel document 330061-001 01/2014) Tested by: Olivier Cochard-Labbe MFC after: 4 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-20T20:55:57.283765Z K 7 svn:log V 223 MFC r243164 (by adrian): I'm not sure why ah_desc.h was required here, but it doesn't _need_ to be. So, just toss it. There's no options or ah_desc fields in here. Whilst I'm here, fix up the #ifdef and #define to mach. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-20T21:12:23.058210Z K 7 svn:log V 280 MFC r260020: For sys/dev/drm2/radeon, only use -fms-extensions with gcc. This flag is only to stop gcc complaining about anonymous unions, which clang does not do. For clang 3.4 however, -fms-extensions enables the Microsoft __wchar_t type, which clashes with our own types.h. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-03-20T21:19:13.730041Z K 7 svn:log V 317 ext2fs: minor update to the dirpref policy. Bring in a minor change to the dirpref policy based on r248623. This is pretty minimal change to keep the implementation in sync with UFS but other parts from the original change are not directly applicable so don't expect improvements in fsck times. MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-20T21:49:24.723015Z K 7 svn:log V 100 MFC r260039: Turn off warnings about unused variables for a bunch of files under contrib/ipfilter. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-03-20T21:57:10.148527Z K 7 svn:log V 28 cxgbe(4): man page updates. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-20T22:03:37.695264Z K 7 svn:log V 366 MFC r260046 (by glebius): Fix the parse type for NGM_LISTTYPES. Actually, text versions of generic commands are not used, since ngctl(8) uses binary messages for them. And to request a text command one needs a working ngctl(8). That's why the bug was never discovered. I'm pondering on removing the text support for generic commands. Found by: dim with clang 3.4 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-03-20T22:38:13.270487Z K 7 svn:log V 276 sh: Don't overwrite old exit status if a PID is reused. Only store exit status for a process if that process has not terminated yet. Test (slow): exit 7 & p1=$!; until exit 8 & p2=$!; [ "$p1" = "$p2" ]; do wait "$p2"; done; sleep 0.1; wait %1; echo $? should write "7". END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-03-20T23:16:58.361623Z K 7 svn:log V 525 Throw the flush messages behind ATH_DEBUG_RESET as well. These are needed to diagnose TX hangs that I and hiren are seeing. Without it, the only way we'll see debugging is by having ATH_DEBUG_SW_TX enabled and that is going to be very, very spammy. ATH_DEBUG_RESET is fine; it's only going to be done during stuck beacon situations in AP mode. Whilst I'm here, and now that it's behind debugging, let's just disable the "print only one" conditional. I'll eventually make it more tunable. Tested: * AR9220, hostap mode. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-20T23:48:18.930131Z K 7 svn:log V 84 MFC r262393 (by ian): Fix a typo _IMX51_TZICRREG_H_ -> _IMX51_TZICREG_H_ (extra R) END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-03-21T00:19:20.998309Z K 7 svn:log V 219 MFC r262408 (by ian): Eliminate an unused-var warning by wrapping #if 0 around some tables of values that were probably entered "for completeness" from a datasheet, and for all I know may be useful/necessary some day. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-03-21T00:56:56.064214Z K 7 svn:log V 157 cxgbe(4): Recognize the "spider" configuration where a T5 card's 40G QSFP port is presented as 4 distinct 10G SFP+ ports to the driver. MFC after: 2 weeks END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-03-21T01:30:33.630130Z K 7 svn:log V 71 audit: plug FILEDESC_LOCK leak in audit_canon_path. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-03-21T01:32:25.230880Z K 7 svn:log V 529 MFV 263436-263438: 3947 zpool(1M) references nonexistent zfs-features(5) 4540 zpool(1M) man page doesn't describe "readonly" property 3948 zfs sync=default is not accepted 4611 zfs(1M) still mentions 'send -r' in synopsis 4415 zpool(1M) man page missing "import -m" description 4570 Document dedupditto pool property 4572 Dedup-related documentation additions for zpool and zdb. 1371 Add -D option description to zpool(1M) manpage 4571 Add documentation for -T and interval to "zpool list" MFC after: 2 weeks END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-03-21T01:34:19.805233Z K 7 svn:log V 130 Take filedesc lock only for reading when allocating new fdtable. Code populating the table does this already. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-21T03:27:42.142425Z K 7 svn:log V 134 Dump my WIP of write support for GPT. This compiles, appears to be complete, but isn't accepted by g_part_gpt. Time to debug and fix. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-21T04:14:26.100941Z K 7 svn:log V 268 Fix writing GPT: 1. Fix copy-paste bug that resulted in not sizing the image correctly for the secondary header and table. 2. The hdr_lba_end field in the header is the LBA of the last usable sector, not the one after it. While here, fix a white-space nit. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-03-21T04:33:38.034002Z K 7 svn:log V 259 Revert r263449; ext2fs: minor update to the dirpref policy. The change in UFS r254996, reverted the change as the older code seems to work better. This was not visible in local testing but we can trust UFS is vastly more exercised in diferent environments. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-03-21T04:45:57.414480Z K 7 svn:log V 426 Mask out SRR1 bits that aren't exported to the MSR. This appears to fix a strange condition with X on 32-bit PowerBooks I observed, caused by one of these bits getting set in the mcontext, but not set in the thread, which may be a symptom of another problem, more difficult to diagnose. Since these bits aren't exported anyway, this change makes it more explicit that the bits aren't MSR-related in SRR1. MFC after: 3 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-21T04:52:46.976630Z K 7 svn:log V 63 Make this work on big-endian architectures by adding encoding. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-21T05:30:27.612464Z K 7 svn:log V 57 Add support for partition labels and write them for GPT. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-21T05:37:25.992612Z K 7 svn:log V 32 Update usage for label support. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-03-21T09:29:01.459830Z K 7 svn:log V 372 When loader(8) inspects MBR, it chooses GPT as main partition table, when MBR contains only PMBR entry or it is bootcamp-compatible. If MBR has PMBR entry and some other, the loader rejects it. Make these checks to be less strict. If loader decided that PMBR isn't suitable for GPT, it will use MBR. Reported by: Paul Thornton Tested by: Paul Thornton MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-21T11:11:30.775405Z K 7 svn:log V 74 There is already a warning printf in vnode_pager_generic_getpages_done(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-21T13:31:56.309731Z K 7 svn:log V 26 MFC r263304: Trim at EOL. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-21T13:55:57.293157Z K 7 svn:log V 195 Initialize vm_map_entry member wiring_thread on the map entry creation. This was missed in r253190. Reported by: hps, peter Tested by: hps Sponsored by: The FreeBSD Foundation MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T14:03:59.396883Z K 7 svn:log V 59 Bump copyright year. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T14:11:01.780020Z K 7 svn:log V 56 Document r263421. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T14:19:47.838688Z K 7 svn:log V 116 Note that openpam_ttyconv(3) has been completely rewritten. Submitted by: des Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-03-21T14:25:09.097056Z K 7 svn:log V 1032 Fix two issues with /dev/mem access on amd64, both causing kernel page faults. First, for accesses to direct map region should check for the limit by which direct map is instantiated. Second, for accesses to the kernel map, success returned from the kernacc(9) does not guarantee that consequent attempt to read or write to the checked address succeed, since other thread might invalidate the address meantime. Add a new thread private flag TDP_DEVMEMIO, which instructs vm_fault() to return error when fault happens on the MAP_ENTRY_NOFAULT entry, instead of panicing. The trap handler would then see a page fault from access, and recover in normal way, making /dev/mem access safer. Remove GIANT_REQUIRED from the amd64 memrw(), since it is not needed and having Giant locked does not solve issues for amd64. Note that at least the second issue exists on other architectures, and requires similar patching for md code. Reported and tested by: clusteradm (gjb, sbruno) Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T14:47:23.371815Z K 7 svn:log V 94 Prune entries not relevant to what will be 9.3-RELEASE. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T15:04:09.535707Z K 7 svn:log V 69 Bump FreeBSD version entities. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-03-21T15:15:30.961997Z K 7 svn:log V 475 Merge r262763, r262767, r262771, r262806 from head: - Remove rt_metrics_lite and simply put its members into rtentry. - Use counter(9) for rt_pksent (former rt_rmx.rmx_pksent). This removes another cache trashing ++ from packet forwarding path. - Create zini/fini methods for the rtentry UMA zone. Via initialize mutex and counter in them. - Fix reporting of rmx_pksent to routing socket. - Fix netstat(1) to report "Use" both in kvm(3) and sysctl(3) mode. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-03-21T15:30:31.754115Z K 7 svn:log V 156 nv(3) was not in 10.0. It might be MFC'd to stable/10 for 10.1, but for now update the manual to avoid confusion on its availability. Discussed with: pjd END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T15:35:36.474204Z K 7 svn:log V 56 Document r263410. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T15:35:38.372646Z K 7 svn:log V 56 Document r263408. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T15:35:40.834633Z K 7 svn:log V 56 Document r263406. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T15:35:42.817651Z K 7 svn:log V 56 Document r263404. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T15:35:44.697962Z K 7 svn:log V 56 Document r263391. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T15:46:45.506744Z K 7 svn:log V 56 Document r263340. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T15:46:47.352525Z K 7 svn:log V 56 Document r263326. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-03-21T16:11:49.005485Z K 7 svn:log V 180 Add more partition types (mostly just the FreeBSD ones) to GPT. Avoid having schemes use literal strings by introducing an enum as the intermediate representation (see geom_part). END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T16:27:48.244621Z K 7 svn:log V 56 Document r263286. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T16:27:50.264736Z K 7 svn:log V 56 Document r263212. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T16:27:52.153531Z K 7 svn:log V 56 Document r263171. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T16:32:39.427548Z K 7 svn:log V 152 Add reference to r263170. The Radeon KMS driver was added in r263170, and r263171 is the __FreeBSD_version bump. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T16:49:45.179879Z K 7 svn:log V 56 Document r263128. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T16:49:47.075190Z K 7 svn:log V 56 Document r263103. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T16:49:48.947096Z K 7 svn:log V 56 Document r263042. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-03-21T16:57:32.576751Z K 7 svn:log V 56 Document r263038. Sponsored by: The FreeBSD Foundation END