ĦZ260477 158 299 550 180 180 243 379 235 112 235 235 166 554 369 380 463 252 186 368 500 417 465 135 135 195 165 404 715 634 665 461 715 2472 285 634 167 109 150 205 159 228 1279 1278 1533 562 449 167 460 184 464 534 161 314 314 314 558 593 157 228 339 265 153 153 153 236 286 167 157 203 715 110 235 341 417 203 233 187 188 320 389 177 274 247 226 261 176 251 211 344 253 330 1136 243 243 219 503 153 262 262 175 435 355 157 756 271 197 136 137 687 305 304 136 165 503 1023 166 243 206 248 202 125 138 223 696 223 628 457 195 195 266 566 165 329 281 230 180 233 205 247 229 284 314 135 683 245 166 311 159 159 159 308 161 161 711 693 109 683 620 654 K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-09T10:59:31.897179Z K 7 svn:log V 206 MFC r257946: Introduce seperate mutex lock to protect protect CTL I/O pools, slightly reducing global CTL lock scope and congestion. While there, simplify CTL I/O pools KPI, hiding implementation details. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-09T11:11:47.195387Z K 7 svn:log V 457 MFC r258220, r258251: Implement automatic live resize support for GEOM MULTIPATH class. In "manual" mode just automatically resize provider in any direction. In "automatic" mode allow growth (with new metadata write); in case of shrinking check if there is already valid metadata found at the new location. This should allow easy transparent recovery if first resize was done by mistake. While there, unify metadata write code and fix minor memory leak. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-09T11:13:03.834062Z K 7 svn:log V 88 MFC r258683: Escape special XML chars, returned by some devices, confusing XML parsers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-09T11:15:05.038122Z K 7 svn:log V 88 MFC r258683: Escape special XML chars, returned by some devices, confusing XML parsers. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-09T14:58:06.864600Z K 7 svn:log V 151 Add MRT6_DLOG() macro for debugging. Reduce number of MRT6DEBUG ifdefs and fix some broken format strings. MFC after: 1 week Sponsored by: Yandex LLC END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-01-09T15:31:44.887518Z K 7 svn:log V 283 Be much more specific (and correct) about the device id matching. These device IDs have an AR3012 bluetooth device that shows up with bcdDevice=1 when it doesn't have the firmware loaded, and bcdDevice=2 when it's ready to speak full HCI. Tested: * AR5B225 PCIe - AR9485 + AR3012 END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-01-09T15:34:23.242229Z K 7 svn:log V 141 Import error message shown to the user when trying to load a module that is already loaded or compiled withing the kernel MFC after: 1 week END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-01-09T15:35:35.120239Z K 7 svn:log V 19 Fix error counting END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-09T15:38:28.705844Z K 7 svn:log V 143 Remove extra nesting from X_ip6_mforward() function. Also remove disabled definitions from ip6_mroute.h. PR: 185148 Sponsored by: Yandex LLC END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-09T15:55:55.227484Z K 7 svn:log V 142 Remove very low default limit of 4 nfsd threads. nfsd's own default is 8 * hw.ncpu, that sounds more appropriate for these SMP/NCQ/... days. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-01-09T17:27:00.679964Z K 7 svn:log V 74 MFH: tracking commit (head@r260486) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-01-09T18:13:25.634544Z K 7 svn:log V 456 Split rt_newaddrmsg_fib() into two different functions. Adding/deleting interface addresses involves access to 3 different subsystems, int different parts of code. Each call can fail, so reporting successful operation by rtsock in the middle of the process error-prone. Further split routing notification API and actual rtsock calls via creating public-available rt_addrmsg() / rt_routemsg() functions with "private" rtsock_* backend. MFC after: 2 weeks END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-01-09T18:28:58.356751Z K 7 svn:log V 275 MFC r257064: Add an OFW SPI compatible bus. Fix the spibus probe to return BUS_PROBE_GENERIC and not BUS_PROBE_SPECIFIC (0) so the OFW SPI bus can attach when enabled. Export the spibus devclass_t and driver_t declarations. Submitted by: ray Approved by: adrian (mentor) END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-01-09T18:51:57.922970Z K 7 svn:log V 287 Add a function to print the contents of the static device mapping table, and invoke it for bootverbose logging, and also from a new DDB command, "show devmap". Also tweak the format string for the bootverbose output of physical memory chunks to get the leading zeros in the hex values. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-09T18:53:21.854034Z K 7 svn:log V 369 Use .cpp as the extension for temporary C++ files. Using a .c extension for a C++ file raises the following warning, which breaks our header file tests if the compiler is using -Werror as well: c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated Obtained from: atf (git 3104010c2849330440cc0ce108ff341913433339) MFC after: 3 days END K 10 svn:author V 3 lme K 8 svn:date V 27 2014-01-09T20:06:14.738165Z K 7 svn:log V 159 Check if the given argument to 'gpart add' is actually a geom device and give a hint to use 'gpart create' before trying to add a partition. Approved by: pjd END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-01-09T20:57:19.244874Z K 7 svn:log V 94 Add a prototype for the new arm_devmap_print_table(). This should have been part of r260490. END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-09T22:16:30.412665Z K 7 svn:log V 275 Fix a braino with r259730: we cannot currently use CFLAGS.gcc or CFLAGS.clang in sys/conf/Makefile.arm, since the main kernel build does not use . So revert that particular change for now. Pointy hat to: me Noticed by: zbb MFC after: 3 days X-MFC-With: r259730 END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-09T22:40:51.783842Z K 7 svn:log V 407 MFC r260102: Similar to r260020, only use -fms-extensions with gcc, for all other modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable, defined in kern.pre.mk, which can be used to easily supply the flag (or not), depending on the compiler type. MFC r260322: In addition to r260102, also define GCC_MS_EXTENSIONS in bsd.sys.mk, since kernel module builds do not use kern.pre.mk. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-01-09T22:41:18.209238Z K 7 svn:log V 324 revert part of r260485 which changes how part of the header gets included.. netstat uses -DKERNEL=1 to get these parts and breaks the build w/o it... melifaro@ says that ae@ is probably asleep, and the PR doesn't have this part of the patch... Probably a local change got in by accident.. PR: 185148 Pointy hat to: ae@ END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-09T23:08:56.920651Z K 7 svn:log V 372 MFC r260334: Split the last gcc-specific flags off into CFLAGS.gcc. This also removes the need to use -Qunused-arguments for clang throughout the tree. MFC r260369: Apply band-aid for 32-bit compat libs failures after r260334: put back -Qunused-arguments for clang for now, until I can figure out a way to make it unneeded in all scenarios. Sorry about the breakage. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-01-09T23:51:47.908736Z K 7 svn:log V 40 MFC r260358 Fix a cut and paste error. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-01-09T23:52:55.522766Z K 7 svn:log V 40 MFC r260358 Fix a cut and paste error. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-01-10T01:44:34.670287Z K 7 svn:log V 102 MFH: tracking commit (head@r260487) - Unbreak all the things. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-01-10T02:47:20.243443Z K 7 svn:log V 71 Use m_getcl() instead of MGETHDR/MCLGET macros. Suggested by: glebius END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-10T07:43:40.812017Z K 7 svn:log V 312 MFC r258357: Add "resize" verb to gmirror(8) and such functionality to geom_mirror(4). Now it is easy to expand the size of the mirror when all its components are replaced. Also add g_resize method to geom_mirror class. It will write updated metadata to new last sector, when parent provider is resized. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-10T07:48:36.329227Z K 7 svn:log V 623 MFC r259634: Prevent users from deactivating the last component of a mirror. MFC r259929: Add an ability to stop gmirror and clear its metadata in one command. This fixes the problem, when gmirror starts again just after stop. The problem occurs when gmirror's component has geom label with equal size. E.g. gpt and gptid have the same size as partition, diskid has the same size as entire disk. When gmirror's geom has been destroyed, glabel creates its providers and this initiate retaste. Now "gmirror destroy" command is available. It destroys geom and also erases gmirror's metadata. PR: 184985 END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-10T09:45:28.094720Z K 7 svn:log V 542 MFC r260151 (by adrian): Use an RLOCK here instead of an RWLOCK - matching all the other calls to lla_lookup(). This drastically reduces the very high lock contention when doing parallel TCP throughput tests (> 1024 sockets) with IPv6. MFC r260187: lla_lookup() does modification only when LLE_CREATE is specified. Thus we can use IF_AFDATA_RLOCK() instead of IF_AFDATA_LOCK() when doing lla_lookup() without LLE_CREATE flag. MFC r260217: Add IF_AFDATA_WLOCK_ASSERT() in case lla_lookup() is called with LLE_CREATE flag. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-10T10:36:14.884965Z K 7 svn:log V 571 Allow tests to provide a Kyuafile when they relied on auto-generation. When generating a Kyuafile in the KYUAFILE=auto case, use a filename that is unlikely to clash with the filename used by explicitly-provided Kyuafiles. This allows a Makefile to set KYUAFILE=yes and provide a Kyuafile in the same directory when such Makefile was previously relying on KYUAFILE=auto. Fixes issues with new Kyuafiles not being picked up in NO_CLEAN builds (although manual intervention is required once, unfortunately, as described in UPDATING). Reviewed by: sjg MFC after: 1 week END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-10T10:39:01.025097Z K 7 svn:log V 367 Run the sh(1) and test(1) tests as unprivileged. One of the tests for test(1) fails and some of the tests for sh(1) are silently bypassed when running as root. To fix these tests and ensure they all run, mark the test programs for sh(1) and test(1) as requiring an unprivileged user. (This should and will be the default in Kyua but isn't yet.) MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-10T12:09:38.360499Z K 7 svn:log V 623 MFC r259634: Prevent users from deactivating the last component of a mirror. MFC r259929: Add an ability to stop gmirror and clear its metadata in one command. This fixes the problem, when gmirror starts again just after stop. The problem occurs when gmirror's component has geom label with equal size. E.g. gpt and gptid have the same size as partition, diskid has the same size as entire disk. When gmirror's geom has been destroyed, glabel creates its providers and this initiate retaste. Now "gmirror destroy" command is available. It destroys geom and also erases gmirror's metadata. PR: 184985 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-01-10T12:13:55.931349Z K 7 svn:log V 2373 Simplify inet alias handling code: if we're adding/removing alias which has the same prefix as some other alias on the same interface, use newly-added rt_addrmsg() instead of hand-rolled in_addralias_rtmsg(). This eliminates the following rtsock messages: Pinned RTM_ADD for prefix (for alias addition). Pinned RTM_DELETE for prefix (for alias withdrawal). Example (got 10.0.0.1/24 on vlan4, playing with 10.0.0.2/24): before commit, addition: got message of size 116 on Fri Jan 10 14:13:15 2014 RTM_NEWADDR: address being added to iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 10.0.0.2 10.0.0.255 got message of size 192 on Fri Jan 10 14:13:15 2014 RTM_ADD: Add Route: len 192, pid: 0, seq 0, errno 0, flags: locks: inits: sockaddrs: 10.0.0.0 10.0.0.2 (255) ffff ffff ff after commit, addition: got message of size 116 on Fri Jan 10 13:56:26 2014 RTM_NEWADDR: address being added to iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 14.0.0.2 14.0.0.255 before commit, wihdrawal: got message of size 192 on Fri Jan 10 13:58:59 2014 RTM_DELETE: Delete Route: len 192, pid: 0, seq 0, errno 0, flags: locks: inits: sockaddrs: 10.0.0.0 10.0.0.2 (255) ffff ffff ff got message of size 116 on Fri Jan 10 13:58:59 2014 RTM_DELADDR: address being removed from iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 10.0.0.2 10.0.0.255 adter commit, withdrawal: got message of size 116 on Fri Jan 10 14:14:11 2014 RTM_DELADDR: address being removed from iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 10.0.0.2 10.0.0.255 Sending both RTM_ADD/RTM_DELETE messages to rtsock is completely wrong (and requires some hacks to keep prefix in route table on RTM_DELETE). I've tested this change with quagga (no change) and bird (*). bird alias handling is already broken in *BSD sysdep code, so nothing changes here, too. I'm going to MFC this change if there will be no complains about behavior change. While here, fix some style(9) bugs introduced by r260488 (pointed by glebius and bde). Sponsored by: Yandex LLC MFC after: 4 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-10T12:18:05.758089Z K 7 svn:log V 192 Replace several instances of -1 with appropriate CAM_*_WILDCARD and types. It was equal before r259397, but for good or bad, not any more for LUNs. This change fixes at least CAM debugging. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-10T12:22:49.818999Z K 7 svn:log V 542 MFC r260151 (by adrian): Use an RLOCK here instead of an RWLOCK - matching all the other calls to lla_lookup(). This drastically reduces the very high lock contention when doing parallel TCP throughput tests (> 1024 sockets) with IPv6. MFC r260187: lla_lookup() does modification only when LLE_CREATE is specified. Thus we can use IF_AFDATA_RLOCK() instead of IF_AFDATA_LOCK() when doing lla_lookup() without LLE_CREATE flag. MFC r260217: Add IF_AFDATA_WLOCK_ASSERT() in case lla_lookup() is called with LLE_CREATE flag. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-10T12:33:28.266093Z K 7 svn:log V 76 Mechanically replace direct accessing to if_xname to using if_name() macro. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-01-10T13:08:21.234880Z K 7 svn:log V 18 Merge from head/. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-01-10T14:47:20.593119Z K 7 svn:log V 56 Use m_get2() instead of m_getcl(). Spotted by: glebius END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-10T14:56:37.057118Z K 7 svn:log V 111 Install pkgconf into the VM. A couple of atf tests require pkg-config to run, so install pkgconf into the VM. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-01-10T16:00:27.645942Z K 7 svn:log V 65 sync with our internal repo - small change in debugging messages END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-01-10T16:01:44.732572Z K 7 svn:log V 133 Fix netmap emulation when NICs attached to a VALE switch have a different number of tx and rx rings Submitted by: Vincenzo Maffione END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-01-10T16:56:59.389765Z K 7 svn:log V 1181 MFC 259240 sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c When a da or ada device dissappears, outstanding IOs fail with ENXIO, not EIO. The check for EIO was probably copied from Illumos, where that is indeed the correct errno. Without this change, pulling a busy drive from a zpool would usually turn it into UNAVAIL, even though pulling an idle drive would turn it into REMOVED. With this change, it is REMOVED every time. Also, vdev_geom_io_intr shouldn't do zfs_post_remove, because that results in devd getting two resource.fs.zfs.removed events. The comment said that the event had to be sent directly instead of through the async removal thread because "the DE engine is using this information to discard prevoius I/O errors". However, the fact that vdev_geom_io_intr was never actually sending the events until now, and that vdev_geom_orphan never sent them at all, and that vdev_geom_orphan usually gets called about 2 seconds after the actual removal, means that FreeBSD's userland can cope with a late event just fine. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-01-10T17:40:29.948506Z K 7 svn:log V 1180 MFC 259240 sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c When a da or ada device dissappears, outstanding IOs fail with ENXIO, not EIO. The check for EIO was probably copied from Illumos, where that is indeed the correct errno. Without this change, pulling a busy drive from a zpool would usually turn it into UNAVAIL, even though pulling an idle drive would turn it into REMOVED. With this change, it is REMOVED every time. Also, vdev_geom_io_intr shouldn't do zfs_post_remove, because that results in devd getting two resource.fs.zfs.removed events. The comment said that the event had to be sent directly instead of through the async removal thread because "the DE engine is using this information to discard prevoius I/O errors". However, the fact that vdev_geom_io_intr was never actually sending the events until now, and that vdev_geom_orphan never sent them at all, and that vdev_geom_orphan usually gets called about 2 seconds after the actual removal, means that FreeBSD's userland can cope with a late event just fine. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-01-10T17:56:23.890484Z K 7 svn:log V 1435 MFC 259339 sbin/devd/devd.cc Increase the size of devd's client socket's send buffer from the default (8k) to 128k. This prevents clients from getting POLLHUPped during event storms. For example, during zpool creation, the kernel emits a resource.fs.zfs.statechange event for every vdev in the pool. A 128k buffer is large enough to hold the statechange events for a pool with nearly 800 drives. MFC 259362 sbin/devd/devd.cc Promoting the SIGINFO handler's log message from LOG_INFO to LOG_NOTICE, and promoting the "Processing event ..." message from LOG_DEBUG to LOG_INFO. Setting the logfile to LOG_NOTICE with this change will have the same result as setting it to LOG_INFO without this change. Setting it to LOG_INFO with this change will include the useful "Processing event ..." messages that were previously at LOG_DEBUG, without including useless messages like "Pushing table". The intent of this change is that one can log "Processing event ..." without logging "Pushing table" and related messages that are sent for every event. The number of lines actually logged is reduced by about 75% by making this change and setting syslog to LOG_INFO vs setting syslog to LOG_DEBUG. etc/syslog.conf Changing the recommended loglevel to notice instead of info. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-01-10T18:14:15.698657Z K 7 svn:log V 465 MFC 259339 sbin/devd/devd.cc Increase the size of devd's client socket's send buffer from the default (8k) to 128k. This prevents clients from getting POLLHUPped during event storms. For example, during zpool creation, the kernel emits a resource.fs.zfs.statechange event for every vdev in the pool. A 128k buffer is large enough to hold the statechange events for a pool with nearly 800 drives. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-10T19:21:46.159719Z K 7 svn:log V 356 Remove not applicable PI_SDTR_ABLE and PI_WIDE_16 hba_inquiry flags to make CAM to not try negotiate unsupported settings and suppress warnings. While there, enable command queuing on pass-through devices, announced in hba_inquiry, but disabled. Even though queue size is very small, It seems working well enough. Reviewed by: scottl MFC after: 2 weeks END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-01-10T19:41:01.120810Z K 7 svn:log V 74 Add the manual page for geom_uncompress(4). Approved by: adrian (mentor) END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-01-10T20:29:46.621738Z K 7 svn:log V 366 Build the geom_uncompress(4) module by default. Fix geom_uncompress(4) module loading. Don't link zlib.c (which is a module itself) directly. The built module was verified and used to read a few mkulzma(8) images on amd64 to validate some of the informations on the manual page. While here, don't overwrite CFLAGS. Reviewed by: ray Approved by: adrian (mentor) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-01-10T23:08:18.135202Z K 7 svn:log V 87 Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8). MFC after: 2 weeks END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-10T23:38:33.096747Z K 7 svn:log V 370 Respect the original layout of the atf-{c,c++} tests. Put test programs for internal modules into a 'detail' subdirectory of the libatf-c and libatf-c++ test directories, just as the upstream distribution does. This is necessary because the tests assume such layout to find the process_helper program, and currently fail because of this divergence. MFC after: 1 week END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-10T23:41:01.215157Z K 7 svn:log V 440 Fix path to the process_helpers for the libatf-c++ tests. Because we respect the FreeBSD src tree layout under /usr/tests, and because the layout of the tests in the atf distfile does not match the former, the tests for atf-c++ were not able to find the process_helper binary. Fix this by explicitly hardcoding the right path in the FreeBSD test suite. Obtained from: atf (git 1f0e878f7f127741a3762883ef24aef317e239d5) MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-01-11T00:00:11.040266Z K 7 svn:log V 67 use explicit casts with void* to compile when included by C++ code END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-11T01:44:22.454162Z K 7 svn:log V 221 MFC r260361: gcc: Fix optimization bug. GCC-PR rtl-optimization/34628 * combine.c (try_combine): Stop and undo after the first combination if an autoincrement side-effect on the first insn has effectively been lost. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-11T01:45:20.008265Z K 7 svn:log V 221 MFC r260361: gcc: Fix optimization bug. GCC-PR rtl-optimization/34628 * combine.c (try_combine): Stop and undo after the first combination if an autoincrement side-effect on the first insn has effectively been lost. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-11T01:50:45.284711Z K 7 svn:log V 221 MFC r260361: gcc: Fix optimization bug. GCC-PR rtl-optimization/34628 * combine.c (try_combine): Stop and undo after the first combination if an autoincrement side-effect on the first insn has effectively been lost. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-01-11T03:14:05.661673Z K 7 svn:log V 464 Enable the "Acknowledge Interrupt on VM exit" VM-exit control. This control is needed to enable "Posted Interrupts" and is present in all the Intel VT-x implementations supported by bhyve so enable it as the default. With this VM-exit control enabled the processor will acknowledge the APIC and store the vector number in the "VM-Exit Interruption Information" field. We now call the interrupt handler "by hand" through the IDT entry associated with the vector. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-01-11T04:22:00.995258Z K 7 svn:log V 499 Enable "Posted Interrupt Processing" if supported by the CPU. This lets us inject interrupts into the guest without causing a VM-exit. This feature can be disabled by setting the tunable "hw.vmm.vmx.use_apic_pir" to "0". The following sysctls provide information about this feature: - hw.vmm.vmx.posted_interrupts (0 if disabled, 1 if enabled) - hw.vmm.vmx.posted_interrupt_vector (vector number used for vcpu notification) Tested on a Intel Xeon E5-2620v2 courtesy of Allan Jude at ScaleEngine. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-01-11T06:35:29.587321Z K 7 svn:log V 60 Save and restore the GPIOs on the macio for suspend/resume. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-11T07:53:03.055992Z K 7 svn:log V 130 Move USB ID from u3g driver to uhso driver. Submitted by: Lundberg, Johannes MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-11T08:10:01.245577Z K 7 svn:log V 241 Force clearing of event ring interrupts. The "Intel Lynx Point" XHCI controller found in the MBP2013 has been observed to not work properly unless this operation is performed. MFC after: 1 week Tested by: Huang Wen Hui END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-11T08:16:31.834517Z K 7 svn:log V 167 Optimise interrupt logic. Technically writing a zero to the XHCI USB status register has no effect. Can happen when the interrupt vector is shared. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-11T08:21:13.872553Z K 7 svn:log V 56 MFC r260184: Minor correction for the XHCI reset logic. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-11T08:23:02.064829Z K 7 svn:log V 56 MFC r260184: Minor correction for the XHCI reset logic. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-11T08:24:52.477392Z K 7 svn:log V 56 MFC r260184: Minor correction for the XHCI reset logic. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-01-11T09:44:00.735399Z K 7 svn:log V 138 Bump dates in nestat(1) and route(8) man pages. Fix several small errors introduced by r260524. Suggested by: glebius MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-11T13:35:36.196683Z K 7 svn:log V 193 Take additional reference on SCSI probe periph to cover its freeze count. Otherwise periph may be invalidated and freed before single-stepping freeze is dropped, causing use after free panic. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-01-11T14:48:16.820166Z K 7 svn:log V 73 Fix a logic error when checking if Tx power entries are greater than 31. END K 10 svn:author V 5 riggs K 8 svn:date V 27 2014-01-11T14:56:04.874268Z K 7 svn:log V 63 Add myself as a ports committer Approved by: thierry (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-01-11T15:01:30.458815Z K 7 svn:log V 107 Close the newly-created FD if the pathname is too long. Coverity: CID 1007204 Sponsored by: Netflix, Inc. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-11T15:19:04.437809Z K 7 svn:log V 622 ext2fs: fix inode flag conversion. After r252890 we are naively attempting to pass through the inode flags. This is technically incorrect as the ext2 inode flags don't match the UFS/system values used in FreeBSD and a clean conversion is needed. Some filtering was left in place so the change didn't cause significant changes in FreeBSD but some of the garbage passed is likely to be the cause for warning messages in linux. Fix the issue by resetting the flags before conversion as was done previously. This also means we will not pass the EXT4_* inode flags into FreeBSD's inode. PR: kern/185448 MFC after: 3 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-01-11T15:38:31.549596Z K 7 svn:log V 15 MFC to r260544 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-11T16:37:20.534954Z K 7 svn:log V 142 Fix for r260541: do not drop periph reference when request is restarted. CAM_DEV_QFREEZE flag is still there and it will freeze device again. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-01-11T16:50:41.961075Z K 7 svn:log V 243 We don't need chain write lock since we're not modifying its contents. LibAliasSetAddress() uses its own mutex to serialize changes. While here, convert ifp->if_xname access to if_name() function. MFC after: 2 weeks Sponsored by: Yandex LLC END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-11T16:52:09.557966Z K 7 svn:log V 324 Move xpt_run_devq() call before request completion callback where it was originally. I am not sure why exactly have I moved it during one of many refactorings during camlock project, but obviously it opens race window that may cause use after free panics during SIM (in reported cases umass(4)) detach. MFC after: 2 weeks END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-01-11T17:37:53.208210Z K 7 svn:log V 109 Fix amd64 build breakage caused by r260532. Submitted by: Marcus Karlsson (mk@acc.umu.se) Pointy hat to: me END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-01-11T18:27:34.463341Z K 7 svn:log V 135 Revert r260548. We really should not use IPFW_WLOCK() here but this requires some more playing with IPFW_UH_WLOCK(). Leave till later. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-01-11T18:56:48.806811Z K 7 svn:log V 93 Add firmware for Intel Centrino Wireless-N 105 devices. Committed from: Centrino 105 device END K 10 svn:author V 8 theraven K 8 svn:date V 27 2014-01-11T19:02:17.479504Z K 7 svn:log V 91 Add missing C++11 typeinfos to the libcxxrt version script. PR: 185663 MFC after: 1 week END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-01-11T20:49:22.277732Z K 7 svn:log V 227 use a real uint64_t instead of writing code to emulate one.. I verified w/ a: dd if=/dev/zero bs=1m count=5000 | sha256 a33351fafd00e4c4bcdee2a1c5d019026500f8cdfeaf91a9b8dbbb2619429659 Reviewed by: cperciva MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-01-11T21:12:27.011478Z K 7 svn:log V 293 find: Allow -type d without statting everything. fts(3) detects directories even in FTS_NOSTAT mode (so it can descend into them). No functional change is intended, but find commands that use -type d but no primaries that still require stat/lstat calls make considerably fewer system calls. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-01-11T22:00:16.104575Z K 7 svn:log V 82 Add some missing .Nm for newer syscalls in existing man pages. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-01-11T22:41:10.332336Z K 7 svn:log V 179 Remove spaces from boot messages when we print the CPU ID/Family/Stepping to match the rest of the CPU identification lines, and once again fit into 80 columns in the usual case. END K 10 svn:author V 5 remko K 8 svn:date V 27 2014-01-11T23:10:59.135571Z K 7 svn:log V 152 MFC r260446 virtio-block does not exist, the correct name is virtio-blk. PR: 185573 Submitted by: Allan Jude Facilitated by: Snow B.V. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-12T11:44:28.157724Z K 7 svn:log V 128 Don't do synchronous USB requests inside USB transfer callbacks. It is technically OK, but not recommended. MFC after: 1 weeks END K 10 svn:author V 6 cherry K 8 svn:date V 27 2014-01-12T12:14:38.666029Z K 7 svn:log V 165 Revert the first part of r259097. 32bit ops on registers automatically clear out the top 32bits of its 64bits. Suggested by: jilles@ Approved by: gibbs@ (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2014-01-12T12:31:14.007443Z K 7 svn:log V 81 Disable the kernel's use of 'xsave' under XEN pv Approved by: gibbs@ (implicit) END K 10 svn:author V 6 cherry K 8 svn:date V 27 2014-01-12T12:48:50.632927Z K 7 svn:log V 155 re-implement pmap_enter_quick_locked() Do not assume that cleared pte entries are zeroed under XEN. Test for PG_V instead. Approved by: gibbs@ (implicit) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-12T13:16:25.942101Z K 7 svn:log V 113 Make sure reserved fields of the EHCI DMA descriptors are not dirty after previous transfers. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-01-12T14:37:39.630872Z K 7 svn:log V 251 MFC r260494: Fix a braino with r259730: we cannot currently use CFLAGS.gcc or CFLAGS.clang in sys/conf/Makefile.arm, since the main kernel build does not use . So revert that particular change for now. Pointy hat to: me Noticed by: zbb END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-01-12T15:35:03.917915Z K 7 svn:log V 157 Fix gcc with EABI on big-endian ARM by setting the endian correctly. Without this gcc would generate byte loads for a little-endian core. MFC after: 1 week END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-01-12T17:40:47.200042Z K 7 svn:log V 234 Remove incorrect bit shift when assigning the LUN request field This caused duplicate targets appearing on Google Compute Engine instances. PR: kern/185626 Submitted by: Venkatesh Srinivas MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-01-12T19:04:20.820980Z K 7 svn:log V 1042 Correctly update the count of stuck pages, "addl_page_shortage", in vm_pageout_scan(). There were missing increments in two less common cases. Don't conflate the count of stuck pages and the pageout deficit provided by vm_page_alloc{,_contig}(). (A proposed fix to the OOM code depends on this.) Handle held pages consistently in the inactive queue scan. In the more common case, we did not move the page to the tail of the queue. Whereas, in the less common case, we did. There's no particular reason to move the page in the less common case, so remove it. Perform the calculation of the page shortage for the active queue scan a little earlier, before the active queue lock is acquired. The correctness of this calculation doesn't depend on the active queue lock being held. Eliminate a redundant variable, "pcount". Use the more descriptive variable, "maxscan", in its place. Apply a few nearby style fixes, e.g., eliminate stray whitespace and excess parentheses. Reviewed by: kib Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-12T20:09:17.392562Z K 7 svn:log V 150 MFC r259920: gcc: Implement -Wmost for compatibility with clang. This is equivalent to -Wall -Wno-parentheses. Obtained from: Apple GCC 4.2 - 5531 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-12T20:10:12.959541Z K 7 svn:log V 150 MFC r259920: gcc: Implement -Wmost for compatibility with clang. This is equivalent to -Wall -Wno-parentheses. Obtained from: Apple GCC 4.2 - 5531 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-12T20:18:12.482671Z K 7 svn:log V 126 Revert unrelated fix that went into r260569. The fix is good but the minimum MFC period for this change has not elapsed yet. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-01-12T20:30:55.525787Z K 7 svn:log V 407 fts: Stat things relative to the directory fd, if possible. As a result, the kernel needs to process shorter pathnames if fts is not changing directories (if fts follows symlinks (-L option to utilities), fts cannot open "." or FTS_NOCHDIR was specified). Side effect: If pathnames exceed PATH_MAX, [ENAMETOOLONG] is not hit at the stat stage but later (opendir or application fts_accpath) or not at all. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-01-12T20:47:08.378006Z K 7 svn:log V 58 fts(3): Remove stray mentions of the obsolete fts_bignum. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-12T21:16:26.450979Z K 7 svn:log V 169 MFC r260310: libcpp: misc fixes from Apple's GCC. Fixes some bugs detected by Apple: #error with unmatched quotes pragma mark Obtained from: Apple GCC 4.2 - 5553 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-12T21:19:49.460272Z K 7 svn:log V 169 MFC r260310: libcpp: misc fixes from Apple's GCC. Fixes some bugs detected by Apple: #error with unmatched quotes pragma mark Obtained from: Apple GCC 4.2 - 5553 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-12T21:21:19.483024Z K 7 svn:log V 78 MFC r244607 and r244650: Fix regression issues after r244503. PR: usb/185628 END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-12T21:56:26.505495Z K 7 svn:log V 341 Generate and install pkg-config files for atf. These files are required to get packages in ports to build against atf and also to get a couple of currently-failing tests to pass. I'm following the approach already used by the libusb pkg-config files installed by the system regarding the location and the install rules. MFC after: 5 days END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-12T22:17:10.137182Z K 7 svn:log V 261 Add atf pkg-config files from the vendor branch. These were originally deleted by mistake (because they were not yet being installed) and are actually necessary. This should have been part of r260576 but I missed committing this directory. MFC after: 5 days END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-12T22:17:56.541075Z K 7 svn:log V 64 MFC r260491: Use .cpp as the extension for temporary C++ files. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-01-12T23:17:56.174941Z K 7 svn:log V 660 MFC r260336,r260355: find: Fix -lname and -ilname: * Take into account that readlink() does not add a terminating '\0'. * Do not match symlinks that are followed because of -H or -L. This is explicitly documented in GNU find's info file and is like -type l. * Fix matching symlinks in subdirectories when fts changes directories. As before, symlinks of length PATH_MAX or more are not handled correctly. (These can only be created on other operating systems.) Also, avoid some readlink() calls on files that are obviously not symlinks (because of fts(3) restrictions, not all of them). PR: bin/185393 Submitted by: Ben Reser (parts, original version) END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-01-13T00:22:37.591610Z K 7 svn:log V 176 Remove these conversion relics. Most of the real import branches were remapped to the vendor/ area and this is mostly noise or relics from easy-import.pl. Prodded by: rpaulo END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-01-13T04:41:08.693777Z K 7 svn:log V 101 Add sglist_append_bio(9) to append a struct bio's data to a sglist Reviewed by: jhb, kib (long ago) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-01-13T04:43:01.603917Z K 7 svn:log V 41 Add unmapped IO support to virtio_blk(4) END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-01-13T04:46:48.676260Z K 7 svn:log V 42 Add unmapped IO support to virtio_scsi(4) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-13T10:47:26.442983Z K 7 svn:log V 593 Prevent misc_helpers from running as a test. Do this by generating misc_helpers explicitly, without using the ATF_TESTS_SH functionality. While this script is technically an atf-sh test program, it is not intended to be run as a test and therefore it mustn't end up in the Kyuafile. Using ATF_TESTS_SH means that misc_helpers ended up registered in the Kyuafile and then failed to run as a test. The alternative would be to supply an explicit Kyuafile from this directory that lists the known test files, but doing it the way described above will be easier to maintain. MFC after: 3 days END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-13T11:51:12.633311Z K 7 svn:log V 211 Install perl5 in the VMs. Some test programs are written in perl and rely on /usr/bin/perl... which surprisingly to me is provided by a port. Should fix the execution of the bin/pax tests in the test cluster. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-13T12:17:41.340733Z K 7 svn:log V 210 Mark the bin/pax tests as requiring perl. The effect of this is that the test program is marked as skipped when perl is missing, instead of marking it as broken due to an execution failure. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-13T13:27:00.559359Z K 7 svn:log V 39 Add new testcase for USB mass storage. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-13T15:06:03.484769Z K 7 svn:log V 68 Separate I/O errors from reception of STALL PID. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-13T15:21:11.575548Z K 7 svn:log V 405 Implement better error recovery for Transaction Translators, TTs, found in High Speed USB HUBs which translate from High Speed USB into FULL or LOW speed USB. In some rare cases SPLIT transactions might get lost, which might leave the TT in an unknown state. Whenever we detect such an error try to issue either a clear TT buffer request, or if that is not possible reset the whole TT. MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-13T15:22:37.678081Z K 7 svn:log V 930 MFC r258081, r258138, r258143, r258179, r258157, r258204, r258205, r258206, r258207, r258321 This is a series of commits inspired on Google's gcc-4.2.1 for Android that were taken from the gcc pre-4.3 under the GPLv2. gcc: Backport fixes for -W parentheses in C++ This fixes GCC 19564. gcc: merge rs6000 change from FSF pre-gcc43 Don't set MASK_PPC_GFXOPT for 8540 or 8548. Merge vrp-tree fix from gcc-4.3 Fix missed conversion from / to >> (GCC PR32521) Merge in GCCr120505 to include definition of TREE_OVERFLOW_P gcc: warn about integer overflow in constant expressions in the C++ frontend. gcc: Add a new option -Wvla to warn variable length array. libcpp: preprocessor speedup patches from upstream gcc. gcc: add femit-struct-debug support to reduce Reduce dwarf debug size gcc: Fix postreload-gcse treatment of call-clobbered registers. gcc: Record some previous commits in the ChangeLog.gcc43 file. Tested by: danfe END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-13T15:28:39.424899Z K 7 svn:log V 74 MFC r258573: Removes strict-aliasing warnings from newer GCC in tcpdump. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-13T15:32:37.453581Z K 7 svn:log V 150 MFC r259920: gcc: Implement -Wmost for compatibility with clang. This is equivalent to -Wall -Wno-parentheses. Obtained from: Apple GCC 4.2 - 5531 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-13T16:05:18.856952Z K 7 svn:log V 113 MFC r259666, r259696: gcc: warnings from -Wformat-security Obtained from: Apple GCC 4.2 - 5646 (Radar 5764921) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-01-13T16:23:09.419422Z K 7 svn:log V 154 Point the user to dmesg(1) to get informations about why loading a module did fail instead of printing the cryptic "Exec format error" MFC after: 1 week END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-01-13T16:45:43.879451Z K 7 svn:log V 108 Update the BUGS section according the recent changes in kldload(8) Reviewed by: bdrewery MFC after: 1 week END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-01-13T16:47:25.286710Z K 7 svn:log V 32 Fix typo Reported by: dumbbell END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-01-13T17:14:10.342835Z K 7 svn:log V 45 Fix dmesg(1) -> dmesg(8) Reported by: trasz END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-01-13T18:57:30.906771Z K 7 svn:log V 130 MFC 243152,255478: Two SOCK_SEQPACKET fixes: - Update comment. - Provide pr_ctloutput method for AF_LOCAL/SOCK_SEQPACKET sockets. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-01-13T19:01:14.731807Z K 7 svn:log V 600 Re-apply the part of r260022 that was reverted by r260030 with one significant difference: for LIB32 builds both TARGET_ARCH and MACHINE_ARCH are defined. TARGET_ARCH confusingly holds the architecture of the host (e.g. amd64), while MACHINE_ARCH holds the architecture were trying to build (e.g. i386). With both set and different, r260022 changed the behaviour to interpret the condition as building a cross-amd64 libkvm on i386, when obviously we're trying to build an i386 version on amd64. When COMPAT_32BIT is defined, we're building LIB32 and ignore the value of TARGET_ARCH as we did before. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-01-13T19:02:31.332323Z K 7 svn:log V 127 We don't have to worry about page sizes when working on virtual cores (i.e. minidumps). Every segment is virtually contiguous. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-01-13T19:08:25.549635Z K 7 svn:log V 532 When building a cross-kgdb, suppress the registration of the standard core target by declaring coreops_suppress_target with initializer. This is also happening for non-cross kgdb, by virtue of having fbsd-threads.c in libgdb and having it do the exact same thing. Since fbsd-threads.c is not included in in libgdb when building a cross debugger, we ended up with more than 1 core file targets (the standard gdb core file target and kgdb's libkvm based core file target) and this behaves the same as not having a core target at all. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-13T19:14:29.640600Z K 7 svn:log V 364 MFC r259197: Do not DELAY() for P-state transition unless we want to see the result. Intel manual says: "If a transition is already in progress, transition to a new value will subsequently take effect. Reads of IA32_PERF_CTL determine the last targeted operating point." So seems it should be fine to just trigger wanted transition and go. Linux does the same. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-13T19:34:23.608996Z K 7 svn:log V 99 MFC r260110: Eliminate unused drbr_stats_update implementation in oce(4) driver. Noticed by: dim END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-13T19:42:37.734534Z K 7 svn:log V 99 MFC r260110: Eliminate unused drbr_stats_update implementation in oce(4) driver. Noticed by: dim END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-01-13T20:55:15.714465Z K 7 svn:log V 168 Remove scary comment about this being a test key. There has been no need to regenerate the signing key. Reported by: mat Approved by: bapt (mentor) MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-01-13T21:29:34.735394Z K 7 svn:log V 473 MFC 197775,197777-197779,197781,197794,243152,243313,255478: First cut at implementing SOCK_SEQPACKET support for UNIX (local) domain sockets. This allows for reliable bi-directional datagram communication over UNIX domain sockets, in contrast to SOCK_DGRAM (M:N, unreliable) or SOCK_STERAM (bi-directional bytestream). Largely, this reuses existing UNIX domain socket code. This allows applications requiring record- oriented semantics to do so reliably via local IPC. END K 10 svn:author V 8 andreast K 8 svn:date V 27 2014-01-13T21:44:17.485167Z K 7 svn:log V 68 The onyx codec works also as module, so add it. MFC after: 1 month END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-01-13T22:07:36.945550Z K 7 svn:log V 231 MFC r260605: Remove scary comment about this being a test key. There has been no need to regenerate the signing key. Early MFC as it is just a comment and needs to get into releng/10.0. Approved by: bapt (mentor, implicit) END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-01-13T22:15:57.307374Z K 7 svn:log V 183 MFS r260608: Remove scary comment about this being a test key. There has been no need to regenerate the signing key. Approved by: bapt (mentor, implicit) Approved by: re (gjb) END K 10 svn:author V 8 andreast K 8 svn:date V 27 2014-01-13T22:21:29.279054Z K 7 svn:log V 132 Described in the man page but not implemented. Here it comes, atomic_swap_32/64. The latter only for powerpc64. MFC after: 1 month END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-01-13T23:15:51.643811Z K 7 svn:log V 88 Update copyright year. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 bmah K 8 svn:date V 27 2014-01-13T23:27:24.491354Z K 7 svn:log V 139 Move myself from ports alumni to active ports committer section. Add an edge indicating mat as my ports mentor. Approved by: mat (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-01-13T23:34:43.107810Z K 7 svn:log V 112 Add entity for if_cxgbe(4) manual. Fix a typo. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-01-13T23:48:01.625167Z K 7 svn:log V 154 Add punctuation to sentences where missing. Remove one instance of unneeded punctuation. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-01-14T00:25:46.000503Z K 7 svn:log V 136 Fix various release notes nits. Submitted by: dt71@gmx.com (via -doc@) Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-01-14T01:04:11.052352Z K 7 svn:log V 191 Clean up unnecessary blank lines. Clean up leading/trailing whitespace. Wrap long lines. End 'para' tags on the correct line. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-01-14T01:28:08.230490Z K 7 svn:log V 217 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-01-14T01:52:34.449577Z K 7 svn:log V 39 ANSI-fy prototype. MFC after: 2 weeks END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-01-14T01:55:58.065684Z K 7 svn:log V 589 Add an API to rendezvous all active vcpus in a virtual machine. The rendezvous can be initiated in the context of a vcpu thread or from the bhyve(8) control process. The first use of this functionality is to update the vlapic trigger-mode register when the IOAPIC pin configuration is changed. Prior to this change we would update the TMR in the virtual-APIC page at the time of interrupt delivery. But this doesn't work with Posted Interrupts because there is no way to program the EOI_exit_bitmap[] in the VMCS of the target at the time of interrupt delivery. Discussed with: grehan@ END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-01-14T03:18:29.149557Z K 7 svn:log V 152 Revert r260613, iw_cxgbe is correct, but does not have a manual page. Submitted by: np Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-01-14T04:28:41.511043Z K 7 svn:log V 69 Add missing EM_PPC64 to e_machine header display. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-01-14T08:43:38.269976Z K 7 svn:log V 213 Don't output any modifier keys before we see a valid non-modifier key press. This prevents so-called "ghost keyboards" keeping modifier keys pressed while not actually seen as a real keyboard. MFC after: 2 weeks END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-14T09:49:42.118920Z K 7 svn:log V 63 MFC r259921,259950: Provide the manual page for aio_fsync(2). END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-14T09:58:33.237032Z K 7 svn:log V 63 MFC r259921,259950: Provide the manual page for aio_fsync(2). END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-14T10:03:31.725450Z K 7 svn:log V 63 MFC r259921,259950: Provide the manual page for aio_fsync(2). END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-01-14T12:01:36.549096Z K 7 svn:log V 215 MFC r260541, r260547: Take additional reference on SCSI probe periph to cover its freeze count. Otherwise periph may be invalidated and freed before single-stepping freeze is dropped, causing use after free panic. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-14T14:03:28.350457Z K 7 svn:log V 65 MFC r257705: Clean up -Wtautological-compare -Wformat warnings. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-01-14T14:05:29.090795Z K 7 svn:log V 65 MFC r257705: Clean up -Wtautological-compare -Wformat warnings. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-14T15:20:33.848829Z K 7 svn:log V 618 MFC r260545: ext2fs: fix inode flag conversion. After r252890 we are naively attempting to pass through the inode flags. This is technically incorrect as the ext2 inode flags don't match the UFS/system values used in FreeBSD and a clean conversion is needed. Some filtering was left in place so the change didn't cause significant changes in FreeBSD but some of the garbage passed is likely to be the cause for warning messages in linux. Fix the issue by resetting the flags before conversion as was done previously. This also means we will not pass the EXT4_* inode flags into FreeBSD's inode. PR: kern/185448 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-01-14T15:21:19.262221Z K 7 svn:log V 600 MFC r260545: ext2fs: fix inode flag conversion. After r252890 we are naively attempting to pass through the inode flags. This is technically incorrect as the ext2 inode flags don't match the UFS/system values used in FreeBSD and a clean conversion is needed. Some filtering was left in place so the change didn't cause significant changes in FreeBSD but some of the garbage passed is likely to be the cause for warning messages in linux. Fix the issue by resetting the flags before conversion as was done previously. This also means we will not pass the EXT4_* inode flags into FreeBSD's inode. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-01-14T16:18:45.617681Z K 7 svn:log V 12 MFC@r260604 END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-14T18:32:47.907940Z K 7 svn:log V 589 Support defining test program metadata from the Makefiles. Introduce a new, per-test-program TEST_METADATA. variable that contains a list of key/value paris describing metadata properties for that test program. These properties are later written into the auto-generated Kyuafile when using the KYUAFILE=auto functionality. This is to avoid having to supply hand-crafted Kyuafiles when the needs for metadata overrides are trivial. While doing this, and because I am documenting TEST_METADATA, take the chance to document the TEST_INTERFACE setting as well. MFC after: 5 days END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-14T18:35:56.581706Z K 7 svn:log V 526 Support perl-based TAP-compliant test programs. Introduce a TAP_TESTS_PERL primitive to list test programs written in perl. Only do this in tap.test.mk because I only expect perl-based test programs with this interface. This is very similar to TAP_TESTS_SH but the difference is that we record in the Kyuafile that the test program requires a perl interpreter. This in turn makes Kyua mark the test as skipped if the perl package is not yet installed, instead of mysteriously failing to run the program. MFC after: 5 days END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-01-14T18:39:30.829302Z K 7 svn:log V 560 Use TAP_TESTS_PERL to register the legacy_test in bin/pax. Redo r260586 by using the new functionality in tap.test.mk to transparently support perl-based test programs. As a side-effect, we get rid of an explicit path to /usr/bin/perl by replacing it with /usr/local/bin/perl (or as defined in tap.test.mk). This also fixes the name of the legacy_test source file because this should have always been legacy_test.pl and not legacy_test.sh. My mistake when originally moving the code around without realizing that this was a perl script. MFC after: 5 days END