ƒ¶I256000 160 137 1007 1068 239 496 262 460 225 266 303 343 198 163 235 163 173 117 155 160 178 470 160 236 116 898 708 707 1842 1842 388 317 208 407 307 410 178 223 96 259 472 373 193 1023 117 162 457 668 167 136 172 249 149 191 159 170 392 468 171 298 675 615 310 315 116 157 211 258 142 395 376 176 706 4327 941 234 194 149 321 207 254 116 466 289 116 271 872 457 294 240 198 497 117 149 246 373 231 216 186 116 112 235 255 213 286 177 198 490 273 213 213 150 106 306 177 211 247 231 221 241 252 196 185 166 139 165 217 194 159 199 335 494 313 269 272 208 463 117 312 454 461 219 250 173 264 152 722 168 157 565 106 118 292 342 296 734 279 656 407 265 354 K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-02T18:23:46.926865Z K 7 svn:log V 45 Switch from %%FOO%% syntax to ${FOO} syntax. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-10-02T18:45:37.736802Z K 7 svn:log V 914 MFC 236768,252209,253047: Several improvements to rmlock(9). Many of these are based on patches provided by Isilon. - Add an rm_assert() supporting various lock assertions similar to other locking primitives. Because rmlocks track readers the assertions are always fully accurate unlike rw_assert() and sx_assert(). - Flesh out the lock class methods for rmlocks to support sleeping via condvars and rm_sleep() (but only while holding write locks), rmlock details in 'show lock' in DDB, and the lc_owner method used by dtrace. - Add an internal destroyed cookie so that API functions can assert that an rmlock is not destroyed. - Make use of rm_assert() to add various assertions to the API (e.g. to assert locks are held when an unlock routine is called). - Give RM_SLEEPABLE locks their own lock class and always use the rmlock's own lock_object with WITNESS. - Various updates to the manpage. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-10-02T18:51:48.619168Z K 7 svn:log V 975 MFC r250574, r250812, r253725; DTrace: option for time-ordered output Merge changes from illumos: 3021 option for time-ordered output from dtrace(1M) 3022 DTrace: keys should not affect the sort order when sorting by value 3023 it should be possible to dereference dynamic variables 3024 D integer narrowing needs some work 3025 register leak in D code generation This brings yet another feature implemented in upstream DTrace. A complete description is available here: http://dtrace.org/blogs/ahl/2012/07/28/my-new-dtrace-favorite/ This change bumps the DT_VERS_* number to 1.9.1 in accordance to what is done in illumos. Special thanks to Mark Johnston for fixes and testing. Illumos Revisions: 13758:23432da34147 Reference: https://www.illumos.org/issues/3021 https://www.illumos.org/issues/3022 https://www.illumos.org/issues/3023 https://www.illumos.org/issues/3024 https://www.illumos.org/issues/3025 https://www.illumos.org/issues/1694 Obtained from: Illumos END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-10-02T19:06:05.126835Z K 7 svn:log V 141 MFC r255878: Now that the portsnap buildbox is generating the raw bits for INDEX-10, add it to the set of INDEX files built by portsnap. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-10-02T19:18:00.501759Z K 7 svn:log V 403 MFC r249426; Merge change from illumos: 3519 DTrace fails to resolve const types from fbt 3520 dtrace internal error -- token type 316 is not a valid D compilation token 3521 clean up dtrace unit tests Illumos Revision: e98f46c Reference: https://www.illumos.org/issues/3519 https://www.illumos.org/issues/3520 https://www.illumos.org/issues/3521 Tested by: Fabian Keil Obtained from: Illumos END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-10-02T19:20:15.153209Z K 7 svn:log V 169 MFC 233422,233680,233681,237619,239904,249373,252346,252379,252423: Sync locking(9) with HEAD. The only change not merged is that 9 still supports !MPSAFE filesystems. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-10-02T19:23:02.499117Z K 7 svn:log V 367 MFC r254941; Merge a couple of CTF fixes from illumos: 2942 CTF tools need to handle files which legitimately lack data 2978 ctfconvert still needs to ignore legitimately dataless files on SPARC Illumos Revisions: 13745:6b3106b4250f 13754:7231b684c18b Reference: https://www.illumos.org/issues/2942 https://www.illumos.org/issues/2978 Obtained from: Illumos END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-02T20:40:21.567289Z K 7 svn:log V 124 Implement GET_STACK_USAGE() on PowerPC. This implementation is identical to that on x86 and sparc64. Approved by: re (kib) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-02T20:44:36.636268Z K 7 svn:log V 169 Clear knlist before destroying it in tap(4) and tun(4). This fixes later crash, when a kqueue descriptor tries to dereference appropriate knotes. Approved by: re (kib) END K 10 svn:author V 7 roberto K 8 svn:date V 27 2013-10-02T21:47:25.685006Z K 7 svn:log V 206 Meinberg clocks support was inadvertently removed during the last vendor import. Add it back. PR: bin/182545 Submitted by: Joerg Pulz Approved by: re (delphij) MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-02T22:45:12.129574Z K 7 svn:log V 249 In the A/D bit emulation handler the 'pvh_global_lock' needs to be acquired only if the mapping is eligible for superpage promotion. This avoids having to unconditionally acquire the 'pvh_global_lock' on every nested page fault. Suggested by: kib@ END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-10-02T23:36:57.950519Z K 7 svn:log V 102 Remove redundant MD file/functions after the unified clock code import. Approved by: gibbs(implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-10-02T23:48:37.219577Z K 7 svn:log V 68 oops! Revert debug cruft from r256011 Approved by: gibbs(implicit) END K 10 svn:author V 3 mdf K 8 svn:date V 27 2013-10-03T01:18:06.158657Z K 7 svn:log V 142 Fix up typos from r255963 in mtree Makefile. BSD.debug.dist should be iterated if present, and remove a stray .endif. Approved by: re (gjb) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-03T01:53:17.438655Z K 7 svn:log V 68 Append the Git branch to the version string. Approved by: re (gjb) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-03T06:14:44.561018Z K 7 svn:log V 81 MFC r255880: Acquire a hold reference on the vnode when a knote is instantiated. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-03T10:11:52.643251Z K 7 svn:log V 21 Create my repospace. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-03T10:17:07.965906Z K 7 svn:log V 59 Start the OS course with a lame lame introduction lection. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-10-03T11:26:19.707793Z K 7 svn:log V 68 Added regression test. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-03T11:51:15.331190Z K 7 svn:log V 82 Refresh the tips for the new pkg system. Reviewed by: bapt Approved by: re (hrs) END K 10 svn:author V 4 rene K 8 svn:date V 27 2013-10-03T12:28:51.025792Z K 7 svn:log V 376 MFC r250198 (edwin, 2013-05-03): On 30 April 2013 queen Beatrix resigned and crownprince Willem Alexander became the new king. King's day is on 27 April. MFC r255956 (rene, 2013-09-30): Update the Dutch calendar entries: - prince Johan Friso passed away in 2013 - correct status of queen Maxima and crown princess Catharina-Amalia - language fixes Approved by: gjb (mentor) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-10-03T12:28:51.215172Z K 7 svn:log V 68 Added regression test. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-10-03T15:19:16.609804Z K 7 svn:log V 143 Do not install bluetooth rc(8) scripts if MK_BLUETOOTH = no. Approved by: re (glebius) MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-03T17:30:55.729419Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-03T17:50:14.358462Z K 7 svn:log V 805 Pull in r186338 from upstream llvm trunk: Remove invalid assert in DAGTypeLegalizer::RemapValue There is a comment at the top of DAGTypeLegalizer::PerformExpensiveChecks which, in part, says: // Note that these invariants may not hold momentarily when processing a node: // the node being processed may be put in a map before being marked Processed. Unfortunately, this assert would be valid only if the above-mentioned invariant held unconditionally. This was causing llc to assert when, in fact, everything was fine. Thanks to Richard Sandiford for investigating this issue! Fixes PR16562. This fixes assertions which could occur in the multimedia/ffmpeg1 and multimedia/ffmpeg2 ports. Approved by: re (hrs) Reported by: Matthias Apitz MFC after: 3 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-10-03T18:48:43.354349Z K 7 svn:log V 611 MFC r255521, r255526, r255707: r255521 (jmg): add support for writing the pid of the daemon program to a pid file so that daemon can be used w/ rc.subr and ports can use the additional functionality, such as keeping the ldap daemon up and running, and have the proper program to signal to exit.. PR: bin/181341 Submitted by: feld r255526 (joel): mdoc: remove EOL whitespace. r255707: 1. Properly clean pid files in the case of the error. 2. Write the supervisor pid before the restart loop, so we don't uselessly rewrite it after every child restart. 3. Remove duplicate ppfh and pfh initialization. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-10-03T18:50:09.510164Z K 7 svn:log V 610 MFC r255521, r255526, r255707: r255521 (jmg): add support for writing the pid of the daemon program to a pid file so that daemon can be used w/ rc.subr and ports can use the additional functionality, such as keeping the ldap daemon up and running, and have the proper program to signal to exit. PR: bin/181341 Submitted by: feld r255526 (joel): mdoc: remove EOL whitespace. r255707: 1. Properly clean pid files in the case of the error. 2. Write the supervisor pid before the restart loop, so we don't uselessly rewrite it after every child restart. 3. Remove duplicate ppfh and pfh initialization. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-10-03T18:52:04.873897Z K 7 svn:log V 1744 MFC r255714, r255716, r255717: r255714: Use cv_broadcast() instead of cv_signal() when waking up threads waiting on an empty queue as the queue may have several consumers. Before the fix the following scenario was possible: 2 threads are waiting on empty queue, 2 threads are inserting simultaneously. The first inserting thread detects that the queue is empty and is going to send the signal, but before it sends the second thread inserts too. When the first sends the signal only one of the waiting threads receive it while the other one may wait forever. The scenario above is is believed to be the cause of the observed cases, when ggate_recv_thread() was getting stuck on taking free request, while the free queue was not empty. Reviewed by: pjd Tested by: Yamagi Burmeister yamagi.org r255716: When updating the map of dirty extents, most recently used extents are kept dirty to reduce the number of on-disk metadata updates. The sequence of operations is: 1) acquire the activemap lock; 2) update in-memory map; 3) if the list of keepdirty extents is changed, update on-disk metadata; 4) release the lock. On-disk updates are not frequent in comparison with in-memory updates, while require much more time. So situations are possible when one thread is updating on-disk metadata and another one is waiting for the activemap lock just to update the in-memory map. Improve this by introducing additional, on-disk map lock: when in-memory map is updated and it is detected that the on-disk map needs update too, the on-disk map lock is acquired and the on-memory lock is released before flushing the map. Reported by: Yamagi Burmeister yamagi.org Tested by: Yamagi Burmeister yamagi.org Reviewed by: pjd r255717: Fix comments. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-10-03T18:53:13.231134Z K 7 svn:log V 1744 MFC r255714, r255716, r255717: r255714: Use cv_broadcast() instead of cv_signal() when waking up threads waiting on an empty queue as the queue may have several consumers. Before the fix the following scenario was possible: 2 threads are waiting on empty queue, 2 threads are inserting simultaneously. The first inserting thread detects that the queue is empty and is going to send the signal, but before it sends the second thread inserts too. When the first sends the signal only one of the waiting threads receive it while the other one may wait forever. The scenario above is is believed to be the cause of the observed cases, when ggate_recv_thread() was getting stuck on taking free request, while the free queue was not empty. Reviewed by: pjd Tested by: Yamagi Burmeister yamagi.org r255716: When updating the map of dirty extents, most recently used extents are kept dirty to reduce the number of on-disk metadata updates. The sequence of operations is: 1) acquire the activemap lock; 2) update in-memory map; 3) if the list of keepdirty extents is changed, update on-disk metadata; 4) release the lock. On-disk updates are not frequent in comparison with in-memory updates, while require much more time. So situations are possible when one thread is updating on-disk metadata and another one is waiting for the activemap lock just to update the in-memory map. Improve this by introducing additional, on-disk map lock: when in-memory map is updated and it is detected that the on-disk map needs update too, the on-disk map lock is acquired and the on-memory lock is released before flushing the map. Reported by: Yamagi Burmeister yamagi.org Tested by: Yamagi Burmeister yamagi.org Reviewed by: pjd r255717: Fix comments. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-03T18:58:35.318293Z K 7 svn:log V 294 Delay the initialization of the PG_xx bits until the point that it is actually needed. The PG_M bit can be set gratuitously for all unmanaged, writeable mappings regardless of the pmap type. Verify that the 'dst_pmap' and 'src_pmap' are of the same type in pmap_copy(). Pointed out by: alc@ END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-03T20:38:57.254838Z K 7 svn:log V 224 Pull in r189644 from upstream llvm trunk: Add ms_abi and sysv_abi attribute handling. Based on a patch by Benno Rice! This will help to develop EFI support. Approved by: re (kib) Verified by: benno MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-03T21:46:43.813809Z K 7 svn:log V 114 Add a comment in pmap_copy() explaining why we skip the function entirely for emulated pmaps. Requested by: alc@ END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-10-03T22:52:03.482780Z K 7 svn:log V 311 Change len checks for fstypelen and fspathlen to be against absolute len not strlen as they are *not* strings. Discovered by GSOC student, Mike Ma during his fuse.glusterfs port to FreeBSD. Final patch from mckusick@ Submitted by: mckusick@ Approved by: re (hrs) MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-03T23:52:02.451442Z K 7 svn:log V 210 MFC r255718: Update arcmsr(4) driver to 1.20.00.28 which fixes mutex recursion in CCB abort codepath. Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-03T23:56:38.862809Z K 7 svn:log V 313 MFC r252857,255718: Refresh vendor driver version which fixes command queue full issue with ARC-1214 and ARC-1224. Update arcmsr(4) driver to 1.20.00.28 which fixes mutex recursion in CCB abort codepath. Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-10-04T01:39:20.031619Z K 7 svn:log V 83 Make the i386 xen/pv mptable.c common for amd64/i386 Approved by: gibbs(implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-10-04T01:42:27.785710Z K 7 svn:log V 127 Glue in cpu enumeration without -DSMP. This is a shim for until we get an MP build for amd64 pv. Approved by: gibbs(implicit) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-04T02:18:30.074179Z K 7 svn:log V 4 IFC END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-10-04T02:21:39.853977Z K 7 svn:log V 162 Fix clearing MAC stats registers. Previously it cleared every fourth register. Submitted by: Paul A. Patience Approved by: re (gjb) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-10-04T02:44:04.939213Z K 7 svn:log V 379 Add epair(4) support in $cloned_interfaces. One should be specified as "epair0" in $cloned_interfaces and "epair0[ab]" in the others in rc.conf like the following: cloned_interfaces="epair0" ifconfig_epair0a="inet 192.168.1.1/24" ifconfig_epair0b="inet 192.168.2.1/24" /etc/rc.d/netif now accepts both "netif start epair0" and "netif start epair0a". Approved by: re (kib) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-10-04T04:15:18.358514Z K 7 svn:log V 280 Do not attempt to do AF-specific configurations on a interface when noafif() is true. The following warning message was displayed when pflog0 interface existed, for example: ifconfig: ioctl(SIOCGIFINFO_IN6): Protocol family not supported Reported by: bz Approved by: re (gjb) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-10-04T05:11:00.698850Z K 7 svn:log V 98 We now use vmem(9) instead of submaps to manage pv VA allocations. Approved by: gibbs (implicit) END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-04T06:55:06.122391Z K 7 svn:log V 928 Snapshot. This passes the build test, but has not yet been finished or debugged. Contains: * Refactor the hardware RNG CPU instruction sources to feed into the software mixer. This is unfinished. The actual harvesting needs to be sorted out. Modified by me (see below). * Remove 'frac' parameter from random_harvest(). This was never used and adds extra code for no good reason. * Remove device write entropy harvesting. This provided a weak attack vector, was not very good at bootstrapping the device. To follow will be a replacement explicit reseed knob. * Separate out all the RANDOM_PURE sources into separate harvest entities. This adds some secuity in the case where more than one is present. * Review all the code and fix anything obviously messy or inconsistent. Address som review concerns while I'm here, like rename the pseudo-rng to 'dummy'. Submitted by: Arthur Mesh (the first item) END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-04T07:00:59.464739Z K 7 svn:log V 23 MFC - tracking commit. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-10-04T09:02:02.998478Z K 7 svn:log V 70 Added a regression test. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2013-10-04T10:01:20.156417Z K 7 svn:log V 359 Style fixes for the Netlogic XLP RSA driver Updates to the Netlogic XLP on-chp RSA block driver. The changes are to follow style(9) guidelines, to improve readability and to remove unnecessary initialization. No changes to logic have been introduced by this commit. Submitted by: Venkatesh J. V. Approved by: re (hrs) END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2013-10-04T11:11:51.625418Z K 7 svn:log V 570 Fixes for the Netlogic XLP on-chip RSA block driver The changes are to: * Use contigmalloc/contigfree which handling microcode buffer * Use a different buffer to send microcode to each engine * Swap microcode in little-endian compilation * Fix freeback message queue id field * Simplify xlp_get_rsa_opsize() to remove unnecessary checks * Fix NULL check after use in xlp_free_cmd_params() * Do better error handling when the hardware returns error * Fix error codes in few cases Submitted by: Vekatesh J. V. Approved by: re (hrs) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-10-04T11:16:48.261762Z K 7 svn:log V 75 Make sure mount point exists. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-10-04T11:55:20.721456Z K 7 svn:log V 44 Fix make depend. Approved by: re (glebius) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-10-04T13:27:19.267892Z K 7 svn:log V 80 Added regression test for r234131. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-10-04T16:08:44.450233Z K 7 svn:log V 154 Remove useless check - ki_loginclass is an array; can't be NULL. CID: 1006559 Approved by: re (kib) MFC after: 2 weeks Sponsored by: FreeBSD Foundation END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-10-04T16:44:24.383421Z K 7 svn:log V 56 mdoc: remove EOL whitespace. Approved by: re (blanket) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-04T16:52:03.313132Z K 7 svn:log V 96 Block-layer backend interface for bhyve block-io device emulations. Approved by: re@ (blanket) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-10-04T17:21:01.146815Z K 7 svn:log V 67 add aesni module to i386 and amd64 NOTES... Approved by: re (gjb) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-10-04T17:52:56.865397Z K 7 svn:log V 76 MFC r254134: Add -c flag to pgrep(1) and pkill(1), to match login classes. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-04T18:27:02.468691Z K 7 svn:log V 291 Disable use of compiler atomic builtins. For APR, this is limited to architectures where they are known not to work. For SVN itself, use the least common denominator and disable them across the board. This allows svnlite to build and run on all FreeBSD architectures. Approved by: re (gjb) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-04T18:31:38.318462Z K 7 svn:log V 372 Import Zhixiang Yu's GSoC'13 AHCI emulation: https://wiki.freebsd.org/SummerOfCode2013/bhyveAHCI This provides ICH8 SATA disk and ATAPI ports, selectable via the bhyve slot command-line parameter: SATA -s ,ahci-hd, ATAPI -s ,ahci-cd, Slight modifications by: grehan@ Approved by: re@ (blanket) Obtained from: FreeBSD GSoC'13 END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-04T18:44:47.630082Z K 7 svn:log V 76 Hook up the AHCI and blockif code to the build. Approved by: re@ (blanket) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-10-04T19:31:41.106191Z K 7 svn:log V 203 Don't leak memory when removing an unconnected session, and remove useless UMA_ZONE_NOFREE that caused another leak when unloading the module. Approved by: re (glebius) Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-04T19:57:47.029334Z K 7 svn:log V 582 MFC r255978: Pull in r191711 from upstream llvm trunk: The X86FixupLEAs pass for Intel Atom must not call convertToThreeAddress on ADD16rr opcodes, if src1 != src, since that would cause convertToThreeAddress to try to create a virtual register. This is not permitted after register allocation, which is when the X86FixupLEAs pass runs. This patch fixes PR16785. Pull in r191715 from upstream llvm trunk: Forgot to add a break statement. This should enable building the x11-toolskits/libXaw port with CPUTYPE=atom. Reported by: Kenta Suzumoto END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-10-04T21:25:55.384016Z K 7 svn:log V 519 kldxref: Do not depend on the directory order. Sort the filenames to get a consistent result between machines of the same architecture. Also, sort FTS_D entries after other entries so kldxref -R works properly in the uncommon case that a directory contains both subdirectories and modules. Previously, this may have happened to work, depending on the order of files in the directory. PR: bin/182098 Submitted by: Derek Schrock (original version) Tested by: Derek Schrock Approved by: re (delphij) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-04T22:05:23.484256Z K 7 svn:log V 217 Add padding to match the compat32 struct stat32 definition to the real struct stat on 32bit architectures. Debugged and tested by: bsam Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (marius) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-04T23:29:07.649290Z K 7 svn:log V 219 Remove obsolete cmd-line options and code associated with these. The mux-vcpus option may return at some point, given it's utility in finding bhyve (and FreeBSD) bugs. Approved by: re@ (blanket) Discussed with: neel@ END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-05T15:27:08.836846Z K 7 svn:log V 22 MFC- tracking commit. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-10-05T16:21:01.127511Z K 7 svn:log V 65 An experimental branch for evaluating a kernel without PG_CACHE. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-10-05T16:22:33.937390Z K 7 svn:log V 116 Split cfiscsi_datamove() in two; no functional changes. Approved by: re (glebius) Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-10-05T18:07:24.930923Z K 7 svn:log V 162 Do not hold the vtnet Rx queue lock when calling up into the stack This matches other similar drivers and avoids various LOR warnings. Approved by: re (marius) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-05T18:41:27.883180Z K 7 svn:log V 50 No need to build 9.2 now that it's been released. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-10-05T18:53:03.559766Z K 7 svn:log V 302 Tidy up kmeminit(): Since r245575, 'nmbclusters' is calculated after kmeminit() runs, so it contributes nothing to 'vm_kmem_size'; update a comment to reflect that r254025 replaced the kmem submap with the kmem arena. Reviewed by: kib Approved by: re (gjb) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-10-05T19:17:56.633174Z K 7 svn:log V 281 Expose system level ixgbe sysctls. Device level sysctls are already exposed as dev.ix. Fixing the case where number of queues for igb is auto-tuned and hw.igb.num_queues does not return current/updated value. Reviewed by: jfv Approved by: re (delphij) MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-05T19:29:48.772767Z K 7 svn:log V 84 Hack the WORD_OPTIONS validation so strings like i386/pc98 are seen as valid words. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-10-05T19:51:09.559146Z K 7 svn:log V 611 Correct panic caused by attaching both Xen PV and HyperV virtualization aware drivers on Xen hypervisors that advertise support for some HyperV features. x86/xen/hvm.c: When running in HVM mode on a Xen hypervisor, set vm_guest to VM_GUEST_XEN so other virtualization aware components in the FreeBSD kernel can detect this mode is active. dev/hyperv/vmbus/hv_hv.c: Use vm_guest to ignore Xen's HyperV emulation when Xen is detected and Xen PV drivers are active. Reported by: Shanker Balan Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (Xen blanket) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-05T21:22:35.297047Z K 7 svn:log V 4232 Merge projects/bhyve_npt_pmap into head. Make the amd64/pmap code aware of nested page table mappings used by bhyve guests. This allows bhyve to associate each guest with its own vmspace and deal with nested page faults in the context of that vmspace. This also enables features like accessed/dirty bit tracking, swapping to disk and transparent superpage promotions of guest memory. Guest vmspace: Each bhyve guest has a unique vmspace to represent the physical memory allocated to the guest. Each memory segment allocated by the guest is mapped into the guest's address space via the 'vmspace->vm_map' and is backed by an object of type OBJT_DEFAULT. pmap types: The amd64/pmap now understands two types of pmaps: PT_X86 and PT_EPT. The PT_X86 pmap type is used by the vmspace associated with the host kernel as well as user processes executing on the host. The PT_EPT pmap is used by the vmspace associated with a bhyve guest. Page Table Entries: The EPT page table entries as mostly similar in functionality to regular page table entries although there are some differences in terms of what bits are used to express that functionality. For e.g. the dirty bit is represented by bit 9 in the nested PTE as opposed to bit 6 in the regular x86 PTE. Therefore the bitmask representing the dirty bit is now computed at runtime based on the type of the pmap. Thus PG_M that was previously a macro now becomes a local variable that is initialized at runtime using 'pmap_modified_bit(pmap)'. An additional wrinkle associated with EPT mappings is that older Intel processors don't have hardware support for tracking accessed/dirty bits in the PTE. This means that the amd64/pmap code needs to emulate these bits to provide proper accounting to the VM subsystem. This is achieved by using the following mapping for EPT entries that need emulation of A/D bits: Bit Position Interpreted By PG_V 52 software (accessed bit emulation handler) PG_RW 53 software (dirty bit emulation handler) PG_A 0 hardware (aka EPT_PG_RD) PG_M 1 hardware (aka EPT_PG_WR) The idea to use the mapping listed above for A/D bit emulation came from Alan Cox (alc@). The final difference with respect to x86 PTEs is that some EPT implementations do not support superpage mappings. This is recorded in the 'pm_flags' field of the pmap. TLB invalidation: The amd64/pmap code has a number of ways to do invalidation of mappings that may be cached in the TLB: single page, multiple pages in a range or the entire TLB. All of these funnel into a single EPT invalidation routine called 'pmap_invalidate_ept()'. This routine bumps up the EPT generation number and sends an IPI to the host cpus that are executing the guest's vcpus. On a subsequent entry into the guest it will detect that the EPT has changed and invalidate the mappings from the TLB. Guest memory access: Since the guest memory is no longer wired we need to hold the host physical page that backs the guest physical page before we can access it. The helper functions 'vm_gpa_hold()/vm_gpa_release()' are available for this purpose. PCI passthru: Guest's with PCI passthru devices will wire the entire guest physical address space. The MMIO BAR associated with the passthru device is backed by a vm_object of type OBJT_SG. An IOMMU domain is created only for guest's that have one or more PCI passthru devices attached to them. Limitations: There isn't a way to map a guest physical page without execute permissions. This is because the amd64/pmap code interprets the guest physical mappings as user mappings since they are numerically below VM_MAXUSER_ADDRESS. Since PG_U shares the same bit position as EPT_PG_EXECUTE all guest mappings become automatically executable. Thanks to Alan Cox and Konstantin Belousov for their rigorous code reviews as well as their support and encouragement. Thanks for John Baldwin for reviewing the use of OBJT_SG as the backing object for pci passthru mmio regions. Special thanks to Peter Holm for testing the patch on short notice. Approved by: re Discussed with: grehan Reviewed by: alc, kib Tested by: pho END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-10-05T23:11:01.787712Z K 7 svn:log V 846 Formalize the concept of virtual CPU ids by adding a per-cpu vcpu_id field. Perform vcpu enumeration for Xen PV and HVM environments and convert all Xen drivers to use vcpu_id instead of a hard coded assumption of the mapping algorithm (acpi or apic ID) in use. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (blanket Xen) amd64/include/pcpu.h: i386/include/pcpu.h: Add vcpu_id to the amd64 and i386 pcpu structures. dev/xen/timer/timer.c x86/xen/xen_intr.c Use new vcpu_id instead of assuming acpi_id == vcpu_id. i386/xen/mp_machdep.c: i386/xen/mptable.c x86/xen/hvm.c: Perform Xen HVM and Xen full PV vcpu_id mapping. x86/xen/hvm.c: x86/acpica/madt.c Change SYSINIT ordering of acpi CPU enumeration so that it is guaranteed to be available at the time of Xen HVM vcpu id mapping. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-06T05:50:55.536760Z K 7 svn:log V 141 MFC r255798: Pre-acquire the filedesc sx when a possibility exists that the later code could need to remove a kqueue from the filedesc list. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-06T05:53:29.394821Z K 7 svn:log V 101 MFC r255945: Make the mac_policy_rm lock recursable, which allows reentrance into the mac framework. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-06T06:05:11.787078Z K 7 svn:log V 57 MFC r255940: Add LK_TRYUPGRADE operation for lockmgr(9). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-06T06:09:43.150855Z K 7 svn:log V 228 MFC r255941: Increase the chance of the buffer write from the bufdaemon helper context to succeed. If the locked vnode which owns the buffer to be written is shared locked, try the non-blocking upgrade of the lock to exclusive. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-06T06:14:29.787593Z K 7 svn:log V 114 MFC r255942: For vunref(), try to upgrade the vnode lock if the function was called with the vnode shared-locked. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-06T06:57:28.724728Z K 7 svn:log V 161 Remove the uipc_cow.c file, which is not used since the zero copy sockets removal. Noted by: alc Sponsored by: The FreeBSD Foundation Approved by: re (delphij) END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-06T09:37:57.732893Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-06T09:55:28.993574Z K 7 svn:log V 371 SNAPSHOT. Simplify the malloc pools; We only need one for this device. Simplify the harvest queue. Marginally improve the entropy pool hashing, making it a bit faster in the process. Connect up the hardware "live" source harvesting. This is simplistic for now, and will need to be made rate-adaptive. All of the above passes a compile test but needs to be debugged. END K 10 svn:author V 5 decke K 8 svn:date V 27 2013-10-06T10:12:11.394382Z K 7 svn:log V 194 ename internal function test() to avoid name clashes with common macros. This fixes ports like mysql 5.6 which has an internal macro called test. Approved by: re (gjb) Discussed with: theraven END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-06T12:31:24.438894Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-06T12:35:29.328739Z K 7 svn:log V 176 Don't use the "real" assembler mnemonics; older compilers may not understand them (like when building CURRENT on 9.x). Submitted by: Konstantin Belousov END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-06T12:39:12.538952Z K 7 svn:log V 779 MFC r256024: Pull in r186338 from upstream llvm trunk: Remove invalid assert in DAGTypeLegalizer::RemapValue There is a comment at the top of DAGTypeLegalizer::PerformExpensiveChecks which, in part, says: // Note that these invariants may not hold momentarily when processing a node: // the node being processed may be put in a map before being marked Processed. Unfortunately, this assert would be valid only if the above-mentioned invariant held unconditionally. This was causing llc to assert when, in fact, everything was fine. Thanks to Richard Sandiford for investigating this issue! Fixes PR16562. This fixes assertions which could occur in the multimedia/ffmpeg1 and multimedia/ffmpeg2 ports. Reported by: Matthias Apitz END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-06T12:40:32.377975Z K 7 svn:log V 362 Debug run. This now works, except that the "live" sources haven't been tested. With all sources turned on, this unlocks itself in a couple of seconds! That is no my box, and there is no guarantee that this will be the case everywhere. * Cut debug prints. * Use the same locks/mutexes all the way through. * Be a tad more conservative about entropy estimates. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-06T12:43:42.182988Z K 7 svn:log V 199 As userland writing to /dev/random is no more, remove the "better than nothing" bootstrap mode. Add SWI harvesting to the mix. My box seeds Yarrow by itself in a few seconds! YMMV; more to follow. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-06T13:01:42.210037Z K 7 svn:log V 145 Fix up the man page for random(4). This mainly removes no-longer-relevant details about HW RNGs, reseeding explicitly and user-supplied entropy. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-06T15:59:06.548715Z K 7 svn:log V 105 Document LK_TRYUPGRADE. Sponsored by: The FreeBSD Foundation MFC after: 3 days Approved by: re (marius) END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-06T16:12:45.254304Z K 7 svn:log V 404 Pull in r192064 from upstream llvm trunk: X86: Don't fold spills into SSE operations if the stack is unaligned. Regalloc can emit unaligned spills nowadays, but we can't fold the spills into SSE ops if we can't guarantee alignment. PR12250. This fixes unaligned SSE accesses (leading to a SIGBUS) which could occur in the ffmpeg ports. Approved by: re (kib) Reported by: tijl MFC after: 3 days END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-06T18:56:13.499095Z K 7 svn:log V 23 MFC - tracking commit. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-10-06T19:47:06.383269Z K 7 svn:log V 57 Update head/ to 10.0-ALPHA5. Approved by: re (implicit) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-06T20:46:01.104031Z K 7 svn:log V 149 Lection that tries to embrace multitasking, context switching, privelege separation, entering and exiting kernel and ends in implementing a syscall. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-06T22:45:02.787556Z K 7 svn:log V 278 Snapshot. Looking pretty good; this mostly works now. New code includes: * Read cached entropy at startup, both from files and from loader(8) preloaded entropy. Failures are soft, but announced. Untested. * Use EVENTHANDLER to do above just before we go multiuser. Untested. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-10-07T02:23:00.984012Z K 7 svn:log V 135 Good bye RCS. You will be missed. (devel/rcs and devel/rcs57 are available as alternatives) Approved by: core Approved by: re (hrs) END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-10-07T06:50:00.730862Z K 7 svn:log V 121 With r253139, firmware for urtwn(4) is in base system. Correct the man page to reflect that. Approved by: re (blackend) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-07T07:32:16.372561Z K 7 svn:log V 94 Add _atf and unbound and move smmsp and mailnull to where they belong. Approved by: re (kib) END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-07T07:36:21.929944Z K 7 svn:log V 22 MFC - tracking commit END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-07T08:14:41.328714Z K 7 svn:log V 20 Forgotten mergeinfo END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-07T08:14:58.108346Z K 7 svn:log V 142 Add the definition of DF_1_INTERPOSE flag. Reviewed by: kan Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (glebius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-07T08:19:30.149469Z K 7 svn:log V 162 Implement support for the interpose dso flag. Requested by: bf Reviewed by: kan Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (glebius) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-07T08:19:41.808405Z K 7 svn:log V 120 MFH (r255597): add unbound user to facilitate cross-building MFH (r256097): add missing entries to ftpusers and reorder END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-07T08:20:56.796571Z K 7 svn:log V 193 MFH (r255243): create /var/authpf with correct ownership and permissions MFH (r255597): add unbound user to facilitate cross-building MFH (r256097): add missing entries to ftpusers and reorder END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-10-07T08:39:54.162275Z K 7 svn:log V 85 Added test scenario for IGB(4) problem. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 phk K 8 svn:date V 27 2013-10-07T10:01:23.790799Z K 7 svn:log V 105 Add a va_copy() to our fall-back stdarg implementation for use with lint(1) Approved by: re@ (glebius@) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-07T10:26:38.005554Z K 7 svn:log V 397 Introduce the /libexec/freebsd-version script, which is intended to be used by auditing tools to determine the userland patch level when it differs from what `uname -r` reports. This can happen when the system is kept up-to-date using freebsd-update and the last SA did not touch the kernel, or when a new kernel has been installed but the system has not yet rebooted. Approved by: re (glebius) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-07T11:23:01.232929Z K 7 svn:log V 180 When displaying a struct stat, if the -r option was not specified, display the numeric rather than symbolic representation of st_mode. Approved by: re (glebius) MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-07T12:07:40.833959Z K 7 svn:log V 116 Fix mbuf leak. Submitted by: Loganaden Velvindron Obtained from: NetBSD Approved by: re (kib) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-10-07T12:57:27.416883Z K 7 svn:log V 116 MFC r237560,254319 (by uqs): Fix 'make depend'. PR: misc/180918 Submitted by: Eugene Grosbein END K 10 svn:author V 3 rmh K 8 svn:date V 27 2013-10-07T14:22:19.726957Z K 7 svn:log V 58 Fix implicit declaration of jail_getid() Approved by: re END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-07T15:28:08.853577Z K 7 svn:log V 14 MFC @ r256110 END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-07T16:33:16.333771Z K 7 svn:log V 213 Add support for assembling and disassembling Intel Random Number Generator extensions (e.g. the 'rdrand' mnemonic) to our copy of binutils. Approved by: re (kib) Obtained from: OpenBSD, via pfg MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-10-07T16:45:16.978009Z K 7 svn:log V 82 Fix resource leaks Found by: Coverity Scan, CID 1016673, 1007118 Approved by: re END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-10-07T16:49:53.550705Z K 7 svn:log V 118 add missing sections, de-Xr non-existent page, properly space punctuation.. Approved by: re (joel) MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-07T16:53:26.590435Z K 7 svn:log V 154 Remove redundant declaration of force_evtchn_callback() in the i386-specific xen-os.h, to silence a gcc warning. Approved by: re (gjb) MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-07T16:54:29.520210Z K 7 svn:log V 138 Give an unnamed union in sys/ofed/include/rdma/ib_verbs.h a name, to silence a gcc warning. Approved by: re (gjb) MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-07T16:55:34.223469Z K 7 svn:log V 128 Initialize a variable in sys/dev/xen/control/control.c, to silence a gcc warning. Approved by: re (gjb) MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-07T16:56:56.039912Z K 7 svn:log V 148 Remove redundant declaration of cpu_clflush_line_size in sys/dev/cxgbe/t4_sge.c, to silence a gcc warning. Approved by: re (gjb) MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-07T16:57:48.694697Z K 7 svn:log V 159 Remove redundant declarations of szsigcode and sigcode in sys/i386/ibcs2/ibcs2_sysvec.c, to silence two gcc warnings. Approved by: re (gjb) MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-10-07T19:22:53.235618Z K 7 svn:log V 100 This regenerates src.conf.5 for both the RCS removal as well as r255784. Approved by: re (glebius) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-10-07T19:23:43.071975Z K 7 svn:log V 90 Add an UPDATING entry for the RCS removal. Requested by: kargl Approved by: re (glebius) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-10-07T19:27:54.927987Z K 7 svn:log V 71 Add the latest NetBSD and FreeBSD releases. Approved by: re (glebius) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-10-07T20:29:31.709278Z K 7 svn:log V 47 Remove a stale comment. Approved by: re (gjb) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-10-07T20:30:05.139331Z K 7 svn:log V 73 Add manpages for VOP_ADVISE() and VOP_ALLOCATE(). Approved by: re (gjb) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-07T20:48:24.367379Z K 7 svn:log V 124 Make isci(4) loadable. Reviewed by: jimharris Sponsored by: The FreeBSD Foundation MFC after: 1 week Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-07T21:39:42.352956Z K 7 svn:log V 98 Reduce priority of host key exists message in sshd startup script to info. Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-07T21:54:30.380013Z K 7 svn:log V 63 MFC r255035: Add a few missing language directories for /usr. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-07T21:59:18.564799Z K 7 svn:log V 102 MFC r248979 (emaste): Format per etc/mtree/README - Spaces instead of tabs - Sort some i18n entries END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-07T22:03:40.146732Z K 7 svn:log V 238 MFC r255036: Add directories that is installed as part of bsdconfig. These are included unconditionally for now because bsdconfig is currently installed unconditionally. This fixes 'make -j 17 installworld' caused by a race condition. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-10-07T22:22:57.031998Z K 7 svn:log V 401 don't assert on bad args, instead return an error.. Since so many programs don't check return value, always NUL terminate the buf... fix rounding when using base 1024 (the bug that started it all)... add a set of test cases so we can make sure that things don't break in the future... Thanks to Clifton Royston for testing and the test program... Approved by: re (hrs, glebius) MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-07T22:30:03.366507Z K 7 svn:log V 220 Fix kernel build on amd64 after r256118, since the machine/md_var.h header is not implicitly included there. So include it explicitly. Approved by: re (delphij) Pointy hat to: dim MFC after: 3 days X-MFC-With: r256118 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-08T01:38:24.895037Z K 7 svn:log V 172 Improve lzjb decompress performance by reorganizing the code to tighten the copy loop. Submitted by: Denis Ahrens MFC after: 2 weeks Approved by: re (gjb) END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-10-08T04:16:22.736684Z K 7 svn:log V 177 Fix an inverted check for the master user in "camcontrol security -U". PR: bin/182703 Submitted by: Scott Burns Approved by: re (gjb) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-08T04:52:40.202995Z K 7 svn:log V 115 MFC r255979: When printing the vnode information from ddb, print the lengths of the dirty and clean buffer queues. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-08T06:54:52.442153Z K 7 svn:log V 368 Debugging. My attempt at EVENTHANDLER(multiuser) was a failure; use EVENTHANDLER(mountroot) instead. This means we can't count on /var being present, so something will need to be done about harvesting /var/db/entropy/... . Some policy now needs to be sorted out, and a pre-sync cache needs to be written, but apart from that we are now ready to go. Over to review. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-08T07:02:23.586813Z K 7 svn:log V 23 MFC - tracking commit. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-08T08:16:17.755381Z K 7 svn:log V 215 When destination parameter is missing, exit with a clear synopsis, instead of writing to kernel and printing EINVAL description. PR: bin/181532 Submitted by: Kurt Jaeger Approved by: re (hrs) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-08T11:05:26.834327Z K 7 svn:log V 361 Add YARROW_RNG and FORTUNA_RNG to sys/conf/options. Add a SYSINIT that forces a reseed during proc0 setup, which happens fairly late in the boot process. Add a RANDOM_DEBUG option which enables some debugging printf()s. Add a new RANDOM_ATTACH entropy source which harvests entropy from the get_cyclecount() delta across each call to a device attach method. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-08T11:28:59.941296Z K 7 svn:log V 365 Add channel survey support to the AR5212 HAL. The AR5212 series of MACs implement the same channel counters as the later 11n chips - except, of course, the 11n specific counter (extension channel busy.) This allows users of these NICs to use 'athsurvey' to see how busy their current channel is. Tested: * AR5212, AR2413 NICs, STA mode Approved by: re@ (gleb) END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-08T11:33:24.266584Z K 7 svn:log V 126 Add fb_info structure definition. Drivers should fill it to give access to framebuffer. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-08T11:48:58.971328Z K 7 svn:log V 157 Add Newcons KMS driver. Based on drm_fb_helper functionality. TODO: Should be moved to separate framebuffer interface. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-08T11:51:20.509994Z K 7 svn:log V 81 Enable fill of fb_info for i915kms driver. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-08T12:01:17.454962Z K 7 svn:log V 171 o Rename methods according to "consdev style". o Add cngrab/cnungrab methods. o Allow later console attach with termcn_cnregister(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-08T12:03:40.255152Z K 7 svn:log V 60 VT want keyboard too. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-08T12:40:04.020045Z K 7 svn:log V 629 o Implement history buffer. o Join history buffer with screen buffer. Same type of things. o Reimplement buffer as an array of rows. Make it circular, so no overflow tracking. o Implement VT_PROCESS mode. Locking of VT switching by owner process. o Add debug and deadtimer sysctls. deadtimer - defaulting to 15 seconds, time to wait process answer in VT_PROCESS mode, to do VT switch in case when process hang. o Implement later console attach. o Fix (partially yet) keyboard allocation. o Add drivers priority. Disallow to replace KMS driver with VGA. o Add ability to resize terminals. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-08T12:41:58.987631Z K 7 svn:log V 76 vt_history.c is not required anymore. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-08T12:42:52.999256Z K 7 svn:log V 65 Forget about vt_history.c. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-10-08T12:56:46.601343Z K 7 svn:log V 470 Initialize and free the DTrace taskqueue in the dtrace module load/unload handlers rather than in the dtrace device open/close methods. The current approach can cause a panic if the device is closed which the taskqueue thread is active, or if a kernel module containing a provider is unloaded while retained enablings are present and the dtrace device isn't opened. Submitted by: gibbs (original version) Reviewed by: gibbs Approved by: re (glebius) MFC after: 2 weeks END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-08T14:02:35.789118Z K 7 svn:log V 14 MFC @r256148. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-08T14:10:32.111470Z K 7 svn:log V 22 ifnet cleanup project END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-10-08T15:44:04.080724Z K 7 svn:log V 193 Add driver-assisted striping for upcoming Intel NVMe controllers that can benefit from it. Sponsored by: Intel Reviewed by: kib (earlier version), carl Approved by: re (hrs) MFC after: 1 week END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-10-08T15:47:22.111390Z K 7 svn:log V 243 Extend some 32-bit fields and variables to 64-bit to prevent overflow when calculating stats in nvmecontrol perftest. Sponsored by: Intel Reported by: Joe Golio Reviewed by: carl Approved by: re (hrs) MFC after: 1 week END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-10-08T15:49:14.968193Z K 7 svn:log V 197 Do not enable temperature threshold as an asynchronous event notification on NVMe controllers that do not support it. Sponsored by: Intel Reviewed by: carl Approved by: re (hrs) MFC after: 1 week END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-10-08T16:00:12.142564Z K 7 svn:log V 635 Log and then disable asynchronous notification of persistent events after they occur. This prevents repeated notifications of the same event. Status of these events may be viewed at any time by viewing the SMART/Health Info Page using nvmecontrol, whether or not asynchronous events notifications for those events are enabled. This log page can be viewed using: nvmecontrol logpage -p 2 Future enhancements may re-enable these notifications on a periodic basis so that if the notified condition persists, it will continue to be logged. Sponsored by: Intel Reviewed by: carl Approved by: re (hrs) MFC after: 1 week END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-10-08T16:01:43.452040Z K 7 svn:log V 180 Do not leak resources during attach if nvme_ctrlr_construct() or the initial controller resets fail. Sponsored by: Intel Reviewed by: carl Approved by: re (hrs) MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-08T16:36:17.506272Z K 7 svn:log V 562 Change the behavior of bhyve such that the gdb listening port is opt-in rather than opt-out. Prior to this change if the "-g" option was not specified then a listening socket for tunneling gdb packets would be opened at port 6466. If a second virtual machine is fired up, also without the "-g" option, then that would fail because there is already a listener on port 6466. After this change if a gdb tunnel port needs to be created it needs to be explicitly specified with a "-g " command line option. Reviewed by: grehan@ Approved by: re@ (blanket) END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-08T17:26:28.114778Z K 7 svn:log V 314 Now our binutils's assembler supports the Intel Random Number Generator extensions, we can change the .byte directives in sys/dev/random/ivy.c to plain 'rdrand' mnemonics. This already worked for clang users, but now it will also work for gcc users. Approved by: re (kib) Approved by: so (des) MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-08T18:09:00.055320Z K 7 svn:log V 172 After r256062, the static function fbsdrun_get_next_cpu() in usr.sbin/bhyve/bhyverun.c is no longer used, so remove it to silence a gcc warning. Approved by: re (glebius) END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-10-08T18:48:11.617936Z K 7 svn:log V 259 Time to eat crow for me. I replaced the sx_* locks that Arthur used with regular mutexes; this turned out the be the wrong thing to do as the locks need to be sleepable. Revert this folly. Submitted by: Arthur Mesh (In original diff) END