ƒ¹N231556 142 736 736 152 283 226 226 226 377 490 207 307 307 477 117 135 1504 238 805 426 146 1059 1232 654 132 176 170 229 159 343 153 175 1831 181 363 130 232 197 145 432 183 170 141 141 177 177 234 234 216 187 187 206 192 192 206 295 295 1356 1356 1356 143 178 171 195 228 152 918 230 152 152 152 898 898 898 152 152 152 193 632 444 277 414 414 136 136 175 175 246 168 168 211 211 450 171 325 459 118 124 261 109 261 261 203 203 203 218 218 218 210 200 200 200 1048 325 237 431 939 364 716 279 154 162 162 410 1969 1969 200 213 170 201 201 201 162 809 809 306 306 914 175 278 278 1696 1802 K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-12T07:57:58.133350Z K 7 svn:log V 639 MFC r231015, r231016: r231015: Fix the regression introduced in r226859: if the local component is out of date BIO_READ requests got lost instead of being sent to the remote component. Reviewed by: pjd r231016: If a local write request is from the synchronization thread, when it is synchronizing data that is out of date on the local component, we should not send G_GATE_CMD_DONE acknowledge to the kernel. This fixes the issue, observed in async mode, when on synchronization from the remote component the worker terminated with "G_GATE_CMD_DONE failed" error. Reported by: Artem Kajalainen Reviewed by: pjd END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-02-12T07:59:25.027624Z K 7 svn:log V 639 MFC r231015, r231016: r231015: Fix the regression introduced in r226859: if the local component is out of date BIO_READ requests got lost instead of being sent to the remote component. Reviewed by: pjd r231016: If a local write request is from the synchronization thread, when it is synchronizing data that is out of date on the local component, we should not send G_GATE_CMD_DONE acknowledge to the kernel. This fixes the issue, observed in async mode, when on synchronization from the remote component the worker terminated with "G_GATE_CMD_DONE failed" error. Reported by: Artem Kajalainen Reviewed by: pjd END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-02-12T14:54:19.264249Z K 7 svn:log V 60 newvers.sh: unbreak git/git-svn support MFC after: 2 weeks END K 10 svn:author V 3 rmh K 8 svn:date V 27 2012-02-12T14:55:27.179721Z K 7 svn:log V 190 Move WITHOUT_SOURCELESS_* files to sys/conf/ in order to avoid "universe" target processing them as if they were standalone kernel config files. Approved by: kib (mentor) MFC after: 5 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-12T14:56:31.119421Z K 7 svn:log V 133 MFC r231054: In usr.bin/rpcgen/rpc_main.c, properly check the return value of strlcpy(), in addition to checking that of strlcat(). END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-12T14:56:40.854526Z K 7 svn:log V 133 MFC r231054: In usr.bin/rpcgen/rpc_main.c, properly check the return value of strlcpy(), in addition to checking that of strlcat(). END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-12T14:56:50.162216Z K 7 svn:log V 133 MFC r231054: In usr.bin/rpcgen/rpc_main.c, properly check the return value of strlcpy(), in addition to checking that of strlcat(). END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-02-12T14:58:50.058082Z K 7 svn:log V 284 start watchdogd before most of other daemons/servers The main benefit is that watchdogd would shutdown after most of other daemons/servers and thus, for example, would remedy a system hang caused by unlucky X server shutdown. Reviewed by: dougb (earlier version) MFC after: 2 weeks END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-12T18:29:56.122162Z K 7 svn:log V 398 Globally replace u_int*_t from (non-contributed) man pages. The reasoning behind this, is that if we are consistent in our documentation about the uint*_t stuff, people will be less tempted to write new code that uses the non-standard types. I am not going to bump the man page dates, as these changes can be considered style nits. The meaning of the man pages is unaffected. MFC after: 1 month END K 10 svn:author V 3 rmh K 8 svn:date V 27 2012-02-12T19:29:34.738651Z K 7 svn:log V 114 Fix a typo. Approved by: kib (mentor) Reported by: lwhsu, Niclas Zeising MFC after: 5 days END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-02-12T23:07:45.557043Z K 7 svn:log V 211 MFC 231196: eui64_aton and eui64_ntoa are actually the equivalent of ether_aton_r and ether_nota_r and do not use static variables so remove the note copied from ethers.3 saying they do. Reported by: bms END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-02-12T23:12:47.136135Z K 7 svn:log V 211 MFC 231196: eui64_aton and eui64_ntoa are actually the equivalent of ether_aton_r and ether_nota_r and do not use static variables so remove the note copied from ethers.3 saying they do. Reported by: bms END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-02-12T23:18:05.299341Z K 7 svn:log V 381 Prevent periodic scripts that run longer than the expected period from starting up before the previous script finishes. This prevents an infinite number of them from piling up and slowing a system down. Since all the refactoring to make this happen required churning the indenting of most of this file, make the indentation more consistent. Reviewed by: simon MFC after: 1 week END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-12T23:45:27.000251Z K 7 svn:log V 23 Clean out unused files END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-12T23:48:39.475713Z K 7 svn:log V 41 Replace readl/writel with read_4/write_4 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-13T00:28:41.204387Z K 7 svn:log V 1407 Attempt to address some potential vap->iv_bss race conditions. There are unfortunately a number of situations where vap->iv_bss is changed or freed by some code in net80211. Because multiple threads can concurrently be doing work (and the vap->iv_bss access isn't at all done behind any kind of lock), it's quite possible that: * a change will occur in one thread - eg, by a call through ieee80211_sta_join1(); * a state change occurs in another thread - eg an RX is scheduled in the ath tasklet and it calls ieee80211_input_mimo_all(), which does dereference vap->iv_bss; * these two executing concurrently, causing things to explode. Another instance is ath_beacon_alloc() which takes an ieee80211_node *. It's called with the vap->iv_bss node from ath_newstate(). If the node has changed in the meantime (say it's been freed elsewhere) the reference that it grabbed _before_ refcounting it may be stale. I would _prefer_ that these sorts of things were serialised somewhere but that may be a bit much to ask. Instead, the best we can (currently) hope is that the underlying bss node is still (somewhat) valid. There is a related PR (kern/164382) described by the first case above. That should be fixed by properly serialising the RX path and reset path so an RX can't occur at the same time as the vap free/shutdown path. This is inspired by some related fixes in r212127. PR: kern/165060 END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2012-02-13T01:33:39.547052Z K 7 svn:log V 140 Missing conditions in checking whether an inode has been written. Found and tested by: Peter Holm MFC after: 2 weeks (to 9 only) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-13T01:44:12.966580Z K 7 svn:log V 709 Fix panic after "WARNING - ATA_IDENTIFY taskqueue timeout" When performing a firmware upgrade via atacontrol[1] the subsequent command may time out producing the error message above. When this happens the callout could still be active, and the system would then panic due to a destroyed semaphore. Instead, ensure that the callout is done first, via callout_drain. Note that this fix applies to the "old" ata(4) and so isn't applicable to the default configuration in HEAD. It is still applicable to stable/8. [1] http://lists.freebsd.org/pipermail/freebsd-current/2012-January/031122.html Submitted by: Nima Misaghian Reviewed by: rstone, attilio, mav Obtained from: SVOS MFC after: 3 days END K 10 svn:author V 8 truckman K 8 svn:date V 27 2012-02-13T07:30:42.187640Z K 7 svn:log V 328 MFC r231102: Improve sparse file handling when printing the block list for an inode by not bailing out early when a hole is encountered in the direct block list. Print NULL block pointers in the direct block list. Simplify the code that prints the fragment count. Match the style of the existing code. Reviewed by: mckusick END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-02-13T07:47:16.249071Z K 7 svn:log V 49 Re-generate /etc/devd/usb.conf MFC after: 1 day END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-02-13T07:47:36.619700Z K 7 svn:log V 963 Correct the 802.11s mesh configuration structure and related tidbits. * Change the mesh IE size to be IEEE80211_MESH_CONF_SZ rather than the size of the structure; * conf_cap is now a uint8_t rather than a uint16_t (uint16_t in D3.0, uint8_t in the amendment spec); * Update mesh config capability bits - earlier bits were from draft X, current is amendment spec; * Update the following to be an enum rather than #define and added a VENDOR entry too from the amendment spec; IEEE80211_MESHCONF_PATH_* IEEE80211_MESHCONF_METRIC_* IEEE80211_MESHCONF_CC_* IEEE80211_MESHCONF_SYNC_* IEEE80211_MESHCONF_AUTH_* * Kept IEEE80211_MESHCONF_FORM_* and IEEE80211_MESHCONF_CAP_* as defines because they are defined in a way that we need to mask in/out information; * In IEEE80211_MESHCONF_CAP_* IEEE80211_MESHCONF_CAP_TBTTA is removed and 0x80 is made reserved as defined in the amendment spec. Submitted by: monthadar@gmail.com Reviewed by: rpaulo END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-02-13T10:24:22.714249Z K 7 svn:log V 1137 MFC r228636: Correct a logic error in usr.bin/hexdump/conv.c, found by clang. Whenever the conv_c() function encounters an incomplete multibyte char, it peeks ahead. It also sets p to peekbuf, to indicate it is still processing the incomplete character. However, on the next retry, it compares buf against peekbuf, which always returns false, since both buf and peekbuf are local char arrays, whose addresses are never the same. Fix this by comparing against p instead, which was the intention. Also turn peekbuf into an array of u_char, to prevent conversion warnings. MFC r229794: - Fix how hexdump parses escape strings From the NetBSD bug: The way how hexdump(1) parses escape sequences has some bugs. It shows up when an escape sequence is used as the non-last character of a format string. MFC r230649: Fix decoding of escape sequences in format strings: - Zero-terminate the resulting string by letting the for-loop copy the terminating zero. - Exit the for-loop after handling a backslash at the end of the format string to fix a buffer overrun. - Remove some unnecessary comments and blank lines. PR: bin/144722 END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-02-13T10:24:49.310204Z K 7 svn:log V 560 MFC r229794: - Fix how hexdump parses escape strings From the NetBSD bug: The way how hexdump(1) parses escape sequences has some bugs. It shows up when an escape sequence is used as the non-last character of a format string. MFC r230649: Fix decoding of escape sequences in format strings: - Zero-terminate the resulting string by letting the for-loop copy the terminating zero. - Exit the for-loop after handling a backslash at the end of the format string to fix a buffer overrun. - Remove some unnecessary comments and blank lines. PR: bin/144722 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-13T10:40:14.377969Z K 7 svn:log V 40 MFC r230784: Add support for GNU RELRO. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-13T10:45:20.809215Z K 7 svn:log V 84 MFC r231077: JNEWBLK dependency may legitimately appear on the buf dependency list. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-13T10:48:43.623961Z K 7 svn:log V 78 MFC r231091: Add missing opt_quota.h include to activate #ifdef QUOTA blocks. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-02-13T11:15:29.949737Z K 7 svn:log V 136 Add missed EOL when die() was converted to use rtld_fdputstr() instead of errx(). Reported by: amdmi3 PR: bin/165075 MFC after: 3 days END K 10 svn:author V 3 pho K 8 svn:date V 27 2012-02-13T11:36:42.092706Z K 7 svn:log V 67 Added two snapshot scenarios that also fails for the non SUJ case. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-13T11:59:59.848788Z K 7 svn:log V 251 Polish diff against upstream. - Revert unneeded whitespace changes. - Revert modifications to loginrec.c, as the upstream version already does the right thing. - Fix indentation and whitespace of local changes. Approved by: des MFC after: 1 month END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-13T13:07:56.861688Z K 7 svn:log V 57 No need to optimise for a node with no hooks, my braino. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-13T14:40:15.153920Z K 7 svn:log V 79 Fix write(1) to support wide characters. Submitted by: amdmi3 PR: bin/164317 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-13T15:21:12.234756Z K 7 svn:log V 1733 Merge from head 226829, 230213, 230480, 230486, 230487, 231585: r226829 in ng_base: - If KDB & NETGRAPH_DEBUG are on, print traces on discovered failed invariants. - Reduce tautology in NETGRAPH_DEBUG output. r230213 in ng_socket: Remove some disabled NOTYET code. Probability of enabling it is low, if anyone wants, he/she can take it from svn. r230480 in ng_base: Convert locks that protect name hash, ID hash and typelist from mutex(9) to rwlock(9) based locks. While here remove dropping lock when processing NGM_LISTNODES, and NGM_LISTTYPES generic commands. We don't need to drop it since memory allocation is done with M_NOWAIT. r230486 in subr_hash.c: Convert panic()s to KASSERT()s. This is an optimisation for hashdestroy() since in absence of INVARIANTS a compiler will drop the entire for() cycle. 230487, 231585 in ng_socket: Provide a findhook method for ng_socket(4). The node stores a hash with names of its hooks. It starts with size of 16, and grows when number of hooks reaches twice the current size. A failure to grow (memory is allocated with M_NOWAIT) isn't fatal, however. I used standard hash(9) function for the hash. With 25000 hooks named in the mpd (ports/net/mpd5) manner of "b%u", the distributions is the following: 72.1% entries consist of one element, 22.1% consist of two, 5.2% consist of three and 0.6% of four. Speedup in a synthetic test that creates 25000 hooks and then runs through a long cyclce dereferencing them in a random order is over 25 times. The last merge was done in an ABI preserving manner, the struct ngsock is still exposed to userland (unlike in head), but its new fields are at its end and under #ifdef _KERNEL. END K 10 svn:author V 5 markm K 8 svn:date V 27 2012-02-13T16:43:29.885998Z K 7 svn:log V 87 MFC: sha256 ($5$) and sha512 ($6$) crypt(3) types. PR: misc/124164 Delayed by: markm END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-02-13T16:48:49.516130Z K 7 svn:log V 267 Add a sysctl to report the firmware build number. Some older firmware versions have issues that can be worked around by avoiding certain operations. Add a sysctl dev.aac.#.firmware_build to make it easy for scripts or userland tools to detect the firmware version. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-13T18:10:13.203250Z K 7 svn:log V 36 MFC: cross-arch support for picobsd END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-02-13T18:26:58.841277Z K 7 svn:log V 140 MFC r230373: Change mount_fs() to not exit on error. The "failok" mount option requires that errors are passed to the caller. PR: 163668 END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T18:41:32.661360Z K 7 svn:log V 105 Use the non-sleeping variang of t4_wr_mbox in code that can be called with locks held. MFC after: 1 day END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T18:54:15.750052Z K 7 svn:log V 54 MFC r231115: cxgbe: reduce diffs with other branches. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-13T18:56:34.508523Z K 7 svn:log V 337 - use struct ifnet as explicit type of the argument to the txsync() and rxsync() callbacks, removing some variables made useless by this change; - add generic lock and irq handling routines. These can be useful in case there are no driver locks that we can reuse; - add a few macros to reduce differences with the Linux version. END K 10 svn:author V 2 se K 8 svn:date V 27 2012-02-13T18:57:36.343972Z K 7 svn:log V 92 MFC r223596: Add macros to specify owner, group and mode of config files for installation. END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-02-13T19:02:11.497289Z K 7 svn:log V 79 MFC r230377: Don't print the nmount(2) provided error message if it is empty. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:17:43.001659Z K 7 svn:log V 50 MFC r231116: Remove if_start from cxgb and cxgbe. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:18:08.015499Z K 7 svn:log V 50 MFC r231116: Remove if_start from cxgb and cxgbe. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:25:37.969561Z K 7 svn:log V 86 MFC r231120: Acquire the adapter lock before updating fields of the filter structure. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:25:58.843157Z K 7 svn:log V 86 MFC r231120: Acquire the adapter lock before updating fields of the filter structure. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:31:16.170703Z K 7 svn:log V 142 MFC r231172: Program the MAC exact match table in batches of 7 addresses at a time when possible. This is more efficient than one at a time. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:31:32.613992Z K 7 svn:log V 142 MFC r231172: Program the MAC exact match table in batches of 7 addresses at a time when possible. This is more efficient than one at a time. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-02-13T19:35:35.805128Z K 7 svn:log V 123 Use if_maddr_*lock() routines to lock the per-interface multicast address list rather than manipulating the lock directly. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:35:38.691960Z K 7 svn:log V 96 MFC r231175: Allocate the BAR for userspace doorbells after the is_offload check is functional. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:36:00.593864Z K 7 svn:log V 96 MFC r231175: Allocate the BAR for userspace doorbells after the is_offload check is functional. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-02-13T19:36:09.838847Z K 7 svn:log V 113 MFC 230332: Add support for the Em command. This restores a missing 'not' in the description of snd_emu10kx(4). END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:41:01.179252Z K 7 svn:log V 100 MFC r231592: Use the non-sleeping variang of t4_wr_mbox in code that can be called with locks held. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-02-13T19:41:31.013057Z K 7 svn:log V 100 MFC r231592: Use the non-sleeping variang of t4_wr_mbox in code that can be called with locks held. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-02-13T19:49:45.703342Z K 7 svn:log V 113 MFC 230332: Add support for the Em command. This restores a missing 'not' in the description of snd_emu10kx(4). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-02-13T19:51:59.194298Z K 7 svn:log V 202 MFC 230340: Properly return success once a matching VPD entry is found in pci_get_vpd_readonly_method(). Previously the loop was always running to completion and falling through to failing with ENXIO. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-02-13T19:52:18.818551Z K 7 svn:log V 202 MFC 230340: Properly return success once a matching VPD entry is found in pci_get_vpd_readonly_method(). Previously the loop was always running to completion and falling through to failing with ENXIO. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-13T20:59:20.781850Z K 7 svn:log V 1262 MFC r231079: Let rpcgen(1) support an environment variable RPCGEN_CPP to find the C preprocessor to run. Previously, it always ran /usr/bin/cpp, unless you used the -Y option, and even then you could not set the basename. It also attempted to run /usr/ccs/lib/cpp for SVR4 compatibility, but this is obsolete, and has been removed. Note that setting RPCGEN_CPP to a command with arguments is supported, though the command line parsing is simplistic. However, setting it to e.g. "gcc46 -E" or "clang -E" will lead to problems, because both gcc and clang in -E mode will consider files with unknown extensions (such as .x) as object files, and attempt to link them. This could be worked around by also adding "-x c", but it is much safer to set RPCGEN_CPP to e.g. "cpp46" or "clang-cpp" instead. MFC r231080: Amend r231079 by properly shifting up the existing arguments in rpc_main.c's insarg() function. I had forgotten to put this in my patch queue, sorry. Pointy hat to: me MFC r231101: In usr.bin/rpcgen/rpc_main.c, use execvp(3) instead of execv(3), so rpcgen will search the current PATH for the preprocessor. This makes it possible to run a preprocessor built during the cross-tools stage of buildworld. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-13T20:59:58.394695Z K 7 svn:log V 1262 MFC r231079: Let rpcgen(1) support an environment variable RPCGEN_CPP to find the C preprocessor to run. Previously, it always ran /usr/bin/cpp, unless you used the -Y option, and even then you could not set the basename. It also attempted to run /usr/ccs/lib/cpp for SVR4 compatibility, but this is obsolete, and has been removed. Note that setting RPCGEN_CPP to a command with arguments is supported, though the command line parsing is simplistic. However, setting it to e.g. "gcc46 -E" or "clang -E" will lead to problems, because both gcc and clang in -E mode will consider files with unknown extensions (such as .x) as object files, and attempt to link them. This could be worked around by also adding "-x c", but it is much safer to set RPCGEN_CPP to e.g. "cpp46" or "clang-cpp" instead. MFC r231080: Amend r231079 by properly shifting up the existing arguments in rpc_main.c's insarg() function. I had forgotten to put this in my patch queue, sorry. Pointy hat to: me MFC r231101: In usr.bin/rpcgen/rpc_main.c, use execvp(3) instead of execv(3), so rpcgen will search the current PATH for the preprocessor. This makes it possible to run a preprocessor built during the cross-tools stage of buildworld. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-02-13T21:07:48.434635Z K 7 svn:log V 1262 MFC r231079: Let rpcgen(1) support an environment variable RPCGEN_CPP to find the C preprocessor to run. Previously, it always ran /usr/bin/cpp, unless you used the -Y option, and even then you could not set the basename. It also attempted to run /usr/ccs/lib/cpp for SVR4 compatibility, but this is obsolete, and has been removed. Note that setting RPCGEN_CPP to a command with arguments is supported, though the command line parsing is simplistic. However, setting it to e.g. "gcc46 -E" or "clang -E" will lead to problems, because both gcc and clang in -E mode will consider files with unknown extensions (such as .x) as object files, and attempt to link them. This could be worked around by also adding "-x c", but it is much safer to set RPCGEN_CPP to e.g. "cpp46" or "clang-cpp" instead. MFC r231080: Amend r231079 by properly shifting up the existing arguments in rpc_main.c's insarg() function. I had forgotten to put this in my patch queue, sorry. Pointy hat to: me MFC r231101: In usr.bin/rpcgen/rpc_main.c, use execvp(3) instead of execv(3), so rpcgen will search the current PATH for the preprocessor. This makes it possible to run a preprocessor built during the cross-tools stage of buildworld. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-02-13T23:02:51.158517Z K 7 svn:log V 46 Minor cleanup and added missing svn keywords. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-14T00:12:15.119645Z K 7 svn:log V 84 Add __aeabi_read_tp function required for thread-local storage Reviewed by: cognet END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-14T00:12:55.092882Z K 7 svn:log V 77 Add ARM relocations types used for thread-local storage Reviewed by: cognet END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-14T00:16:34.441110Z K 7 svn:log V 100 Add thread-local storage support for ARM to rtld-elf Reviewed by: cognet Obtained from: NetBSD END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-14T00:17:43.258542Z K 7 svn:log V 133 Add thread-local storage support for arm: - Switch to Variant I TCB layout - Use function from rtld for TCB allocation/deallocation END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-02-14T00:18:18.263350Z K 7 svn:log V 58 Enable TLS support for ARM toolchain Reviewed by: cognet END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T00:18:35.556999Z K 7 svn:log V 822 - As it turns out, MSI-X is broken for at least LSI SAS1068E when passed through by VMware so blacklist their PCI-PCI bridge for MSI/MSI-X here. Note that besides currently there not being a quirk type that disables MSI-X only and there's no evidence that MSI doesn't work with the VMware pass-through, it's really questionable whether MSI generally works in that setup as VMware only mention three know working devices [1, p. 4]. Also not that this quirk entry currently doesn't affect the devices emulated by VMware in any way as these don't claim support MSI/MSI-X to begin with. [2] While at it, make the PCI quirk table const and static. - Remove some duplicated empty lines. - Use DEVMETHOD_END. PR: 163812, http://forums.freebsd.org/showthread.php?t=27899 [2] Reviewed by: jhb MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2012-02-14T00:54:40.037887Z K 7 svn:log V 133 For RTL8168/8111D controller, make sure to wake PHY from power down mode. Otherwise, PHY access times out under certain conditions. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T00:54:50.416169Z K 7 svn:log V 57 MFC: r231518 Remove extra newlines from panic messages. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T00:54:59.735338Z K 7 svn:log V 57 MFC: r231518 Remove extra newlines from panic messages. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T00:56:01.671373Z K 7 svn:log V 57 MFC: r231518 Remove extra newlines from panic messages. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T01:05:37.543195Z K 7 svn:log V 802 Forced commit to denote that the commit message of r231623 actually should have read: MFC: r231518 Flesh out support for SAS1078 and SAS1078DE (which are said to actually be the same chip): - The I/O port resource may not be available with these. However, given that we actually only need this resource for some controllers that require their firmware to be up- and downloaded (which excludes the SAS1078{,DE}) just handle failure to allocate this resource gracefully when possible. While at it, generally put non-fatal resource allocation failures under bootverbose. - SAS1078{,DE} use a different hard reset protocol. - Add workarounds for the 36GB physical address limitation of scatter/ gather elements of these controllers. Tested by: Slawa Olhovchenkov PR: 149220 (remaining part) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T01:08:16.012997Z K 7 svn:log V 802 Forced commit to denote that the commit message of r231624 actually should have read: MFC: r231518 Flesh out support for SAS1078 and SAS1078DE (which are said to actually be the same chip): - The I/O port resource may not be available with these. However, given that we actually only need this resource for some controllers that require their firmware to be up- and downloaded (which excludes the SAS1078{,DE}) just handle failure to allocate this resource gracefully when possible. While at it, generally put non-fatal resource allocation failures under bootverbose. - SAS1078{,DE} use a different hard reset protocol. - Add workarounds for the 36GB physical address limitation of scatter/ gather elements of these controllers. Tested by: Slawa Olhovchenkov PR: 149220 (remaining part) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T01:09:10.119544Z K 7 svn:log V 802 Forced commit to denote that the commit message of r231625 actually should have read: MFC: r231518 Flesh out support for SAS1078 and SAS1078DE (which are said to actually be the same chip): - The I/O port resource may not be available with these. However, given that we actually only need this resource for some controllers that require their firmware to be up- and downloaded (which excludes the SAS1078{,DE}) just handle failure to allocate this resource gracefully when possible. While at it, generally put non-fatal resource allocation failures under bootverbose. - SAS1078{,DE} use a different hard reset protocol. - Add workarounds for the 36GB physical address limitation of scatter/ gather elements of these controllers. Tested by: Slawa Olhovchenkov PR: 149220 (remaining part) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T01:15:01.601451Z K 7 svn:log V 57 MFC: r231228 Remove extra newlines from panic messages. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T01:15:26.499507Z K 7 svn:log V 57 MFC: r231228 Remove extra newlines from panic messages. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-02-14T01:15:46.510218Z K 7 svn:log V 57 MFC: r231228 Remove extra newlines from panic messages. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-02-14T02:03:17.009931Z K 7 svn:log V 97 wctob() returns EOF and not WEOF. Noticed by: Zhihao Yuan MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-14T04:07:35.589468Z K 7 svn:log V 534 MFC: r230801 jwd@ reported a problem via email to freebsd-fs@ on Aug 25, 2011 under the subject "F_RDLCK lock to FreeBSD NFS fails to R/O target file". This occurred because the server side NLM always checked for VWRITE access, irrespective of the type of lock request. This patch replaces VOP_ACCESS(..VWRITE..) with one appropriate to the lock operation. It allows unlock and lock cancellation to be done without a check of VOP_ACCESS(), so that files can't be left locked indefinitely after the file permissions have been changed. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-02-14T04:18:59.677434Z K 7 svn:log V 351 Add a rudimentary test to run through all the available counters on a system and then execute a program with pmcstat in counting mode. The program will verify that all counters fire and that the code neither panics the system nor locks it up. This should be considered a first pass conformance test for new sets of counters being added to hwpmc(4). END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-02-14T04:20:02.041156Z K 7 svn:log V 180 MFC 231106: Plug a memory leak. When a cached thread is reused, don't clear sleep queue pointers, just reuse it. MFC 231503: Make code more stable by checking NULL pointers. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-14T04:48:36.884235Z K 7 svn:log V 316 MFC: r230803 When a "mount -u" switches an NFS mount point from TCP to UDP, any thread doing an I/O RPC with a transfer size greater than NFS_UDPMAXDATA will be hung indefinitely, retrying the RPC. After a discussion on freebsd-fs@, I decided to add a warning message for this case, as suggested by Jeremy Chadwick. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-02-14T05:12:52.141914Z K 7 svn:log V 316 MFC: r230803 When a "mount -u" switches an NFS mount point from TCP to UDP, any thread doing an I/O RPC with a transfer size greater than NFS_UDPMAXDATA will be hung indefinitely, retrying the RPC. After a discussion on freebsd-fs@, I decided to add a warning message for this case, as suggested by Jeremy Chadwick. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-02-14T06:40:58.598762Z K 7 svn:log V 39 MFC r231575: Update /etc/devd/usb.conf END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-02-14T06:42:43.227919Z K 7 svn:log V 39 MFC r231575: Update /etc/devd/usb.conf END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-14T07:12:46.100171Z K 7 svn:log V 84 MFC r231349: Let's be more realistic and limit maximum number of partition to 4k. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-14T07:13:09.764975Z K 7 svn:log V 84 MFC r231349: Let's be more realistic and limit maximum number of partition to 4k. END K 10 svn:author V 3 rmh K 8 svn:date V 27 2012-02-14T07:14:42.284579Z K 7 svn:log V 153 Disable jail support in ifconfig when either building a rescue image or MK_JAIL knob has been set to "no". Reviewed by: bz Approved by: adrian (mentor) END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-14T07:24:22.413502Z K 7 svn:log V 77 MFC r231367: Add alias for the partition with type 0x42 to the MBR scheme. END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-02-14T07:24:44.210780Z K 7 svn:log V 77 MFC r231367: Add alias for the partition with type 0x42 to the MBR scheme. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-14T09:11:54.718031Z K 7 svn:log V 119 Create a working branch to prepare the merge of multi-FIB IPv6 support to stable/9. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-14T09:12:08.469108Z K 7 svn:log V 119 Create a working branch to prepare the merge of multi-FIB IPv6 support to stable/8. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-02-14T09:19:30.440037Z K 7 svn:log V 357 Do not handle MOD_SHUTDOWN equally to MOD_UNLOAD in sound kernel module. MOD_SHUTDOWN is not an end of existence, and there is a life after it. In particular, code previously called on MOD_SHUTDOWN grabbed lock and deallocated unit numbering. That caused infinite wait loop if snd_uaudio tried to destroy its PCM device after that point. MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-02-14T09:29:37.807954Z K 7 svn:log V 80 Restore message in man page on VFS timestamp precision. Requested by: bde, jhb END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-14T09:36:02.442737Z K 7 svn:log V 230 MFC: reserve an IFCAP bit for netmap, instruct ifconfig to parse the information (just a change on the format string suffices), and put a comment on if_var.h to tell that if_pspare[0] may be used to point to the netmap structure. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-14T09:42:02.509737Z K 7 svn:log V 364 MFC: import netmap core files into RELENG_9. This is the same code as in HEAD. Device driver modifications will be imported separately because the base drivers differ and patches might be slightly different between the various releases. The code is disconnected from the main build targets unless you explicitly put a 'device netmap' in your kernel config file. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-14T10:11:45.952938Z K 7 svn:log V 24 Remove unnecessary cast END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-14T10:11:53.496169Z K 7 svn:log V 30 properly sort dev/oce entries END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:16:56.879044Z K 7 svn:log V 166 MFC r230099: Change rcvar= assignments to the literal values set_rcvar would have returned. This will slightly reduce boot time, and help in diff reduction to HEAD. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-02-14T10:17:03.319980Z K 7 svn:log V 15 readlink len-1 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:17:14.090165Z K 7 svn:log V 166 MFC r230099: Change rcvar= assignments to the literal values set_rcvar would have returned. This will slightly reduce boot time, and help in diff reduction to HEAD. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:17:30.548792Z K 7 svn:log V 166 MFC r230099: Change rcvar= assignments to the literal values set_rcvar would have returned. This will slightly reduce boot time, and help in diff reduction to HEAD. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:18:49.612214Z K 7 svn:log V 108 MFC r230374: If we're booting there is no need to waste time determining if the service is running or not. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:19:27.707829Z K 7 svn:log V 108 MFC r230374: If we're booting there is no need to waste time determining if the service is running or not. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:19:58.695587Z K 7 svn:log V 108 MFC r230374: If we're booting there is no need to waste time determining if the service is running or not. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:29:32.634248Z K 7 svn:log V 123 MFC r231194: Add a knob to always load the default rulesets. While I'm here document the other devfs_ knobs in rc.conf.5. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:29:48.562581Z K 7 svn:log V 123 MFC r231194: Add a knob to always load the default rulesets. While I'm here document the other devfs_ knobs in rc.conf.5. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:30:12.960296Z K 7 svn:log V 123 MFC r231194: Add a knob to always load the default rulesets. While I'm here document the other devfs_ knobs in rc.conf.5. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-14T10:30:22.936201Z K 7 svn:log V 115 MFC: the "oce" driver for Emulex OneConnect 10Gbit Ethernet. This is the same exact code that you can find in HEAD END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:33:57.239244Z K 7 svn:log V 105 MFC r231507: Move addswap to run right after kld (aka early in the second stage), as it did previously. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:34:15.081505Z K 7 svn:log V 105 MFC r231507: Move addswap to run right after kld (aka early in the second stage), as it did previously. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:34:27.765183Z K 7 svn:log V 105 MFC r231507: Move addswap to run right after kld (aka early in the second stage), as it did previously. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-02-14T10:51:24.445135Z K 7 svn:log V 953 Fix various issues with the NFS and RPC related scripts: 1. Add new functionality to the force_depend method to incorporate the tests for whether the service is enabled and/or already running. 2. Add a new option to bypass checking only that the service is enabled at boot time, and always check if it is running. 3. Use this new functionality to greatly simplify the rc.d scripts that use force_depend. 4. Add a force_depend for statd in lockd 5. Remove the check that either nfs_server or nfs_client is _enable'd from statd and lockd. This was always overkill, and prevented using the {one|force}start options, as well as stop'ing on the command line. 6. The yp* scripts had some of their arguments in various weird orders. Bring them into line with the model. 7. If mountd fails to create /var/db/mountdtab, err out. Ideas, suggestions, and/or review from delphij and jilles. Pointy hats are completely my responsibility however. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-02-14T11:16:13.103367Z K 7 svn:log V 230 - Fix a bug that always resulted in a HEUR_PREFIX_ARRAY heuristic - Store the fragments for later processing (will be used for the Wu-Manber algorithm to match more patterns at a time) - Refactor the code for better readability END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-02-14T11:24:24.628175Z K 7 svn:log V 143 Replace PRIdMAX with "jd" in a printf call. Cast the corresponding value to intmax_t instead of uintmax_t, because the original type is off_t. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-14T11:37:04.350117Z K 7 svn:log V 339 Switch from setfib(2) moving the process to a different FIB to setsockopt(2) with SO_SETFIB to only tag the socket with the right FIB. That way either setfib(1) or nc -V can be used depending on what wants to be achieved. This also allows nc to be used for simple regression testing of either feature. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-14T11:51:32.074220Z K 7 svn:log V 847 Allow to provide a hint to in6_selectsrc() for the interface using the return ifnet double pointer. Pass that hint down to in6_selectif() to be used when i) the default FIB is queried and ii) route lookup fails because the network is not present (i.e. someone deleted the connected subnet). This hint should not be generally used from anywhere outside the neighbor discovery code. We just make use of it from nd6_ns_output(). Extend the nd6_na_output() interface by a nd6_na_output_fib() version and pass the FIB number from the NS mbuf on to NA to allow the new mbuf to inherit the FIB tag and a later lookup from ip6_output() to succeed in the aformentioned example case. Provide a wrapper function for the old public interface also used from CARP but mark it with BURN_BRIDGES to cleanup in HEAD after MFC. Sponsored by: Cisco Systems, Inc. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-02-14T12:00:34.549487Z K 7 svn:log V 268 Fix a bug where the wrong protocol overhead was used. This can lead to a deadlock of an association when an IPv6 socket was used to communcate with IPv4 and an ICMPv4 fragmentation needed message was received. While there, simplify the code a bit. MFC after: 3 days. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-02-14T12:03:23.415471Z K 7 svn:log V 618 Cleanup of xlocale: - Address performance regressions encountered by das@ by caching per-thread data in TLS where available. - Add a __NO_TLS flag to cdefs.h to indicate where not available. - Reorganise the xlocale.h definitions into xlocale/*.h so that they can be included from multiple places. - Export the POSIX2008 subset of xlocale when POSIX2008 says it should be exported, independently of whether xlocale.h is included. - Fix the bug where programs using ctype functions always assumed ASCII unless recompiled. - Fix some style(9) violations. Reviewed by: brooks (mentor) Approved by: dim (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-02-14T12:06:56.591688Z K 7 svn:log V 184 - Fix possible segfaults by reading before or after the bounds of the input string - Fix a bug in the relative end offset of the context that caused that some matches were missing END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-02-14T12:13:04.594692Z K 7 svn:log V 60 - Add some more verbose comments about how this stuff works END K 10 svn:author V 3 des K 8 svn:date V 27 2012-02-14T12:43:33.221965Z K 7 svn:log V 70 MFH r230007, r230388: document quiet*, fix devd/dhclient interaction. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-02-14T12:47:57.144067Z K 7 svn:log V 70 MFH r230007, r230388: document quiet*, fix devd/dhclient interaction. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2012-02-14T12:50:20.474431Z K 7 svn:log V 316 Change some headers such that lang/gcc* ports no longer patch them. The lang/gcc* ports patch headers where they think something is non-standard. These patched headers override the system headers which means you have to rebuild these ports whenever you do installworld to make sure they contain the latest changes. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-14T14:17:46.146132Z K 7 svn:log V 1875 MFC 231240 Bring in a number of mps(4) driver fixes from LSI: 1. Fixed timeout specification for the msleep in mps_wait_command(). Added 30 second timeout for mps_wait_command() calls in mps_user.c. 2. Make sure we call mps_detach_user() from the kldunload path. 3. Raid Hotplug behavior change. The driver now removes a volume when it goes to a failed state, so we also need to add volume back to the OS when it goes to opitimal/degraded/online from failed/missing. Handle raid volume add and remove from the IR_Volume event. 4. Added some more debugging information. 5. Replace xpt_async(AC_LOST_DEVICE, path, NULL) with mpssas_rescan_target(). This is to work around a panic in CAM that shows up when adding a drive with a rescan and removing another device from the driver thread with an AC_LOST_DEVICE async notification. This problem was encountered in testing with the LSI sas2ircu utility, which was used to create a RAID volume from physical disks. The driver has to create the RAID volume target and remove the physical disk targets, and triggered a panic in the process. The CAM issue needs to be fully diagnosed and fixed, but this works around the issue for now. 6. Fix some memory initialization issues in mps_free_command(). 7. Resolve the "devq freeze forever" issue. This was caused by the internal read capacity command issued in the non-head version of the driver. When the command completed with an error, the driver wasn't unfreezing thd device queue. The version in head uses the CAM infrastructure for getting the read capacity information, and therefore doesn't have the same issue. 8. Bump the version to 13.00.00.00-fbsd. (this is very close to LSI's internal stable driver 13.00.00.00) Submitted by: Kashyap Desai END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-14T14:18:28.887189Z K 7 svn:log V 1875 MFC 231240 Bring in a number of mps(4) driver fixes from LSI: 1. Fixed timeout specification for the msleep in mps_wait_command(). Added 30 second timeout for mps_wait_command() calls in mps_user.c. 2. Make sure we call mps_detach_user() from the kldunload path. 3. Raid Hotplug behavior change. The driver now removes a volume when it goes to a failed state, so we also need to add volume back to the OS when it goes to opitimal/degraded/online from failed/missing. Handle raid volume add and remove from the IR_Volume event. 4. Added some more debugging information. 5. Replace xpt_async(AC_LOST_DEVICE, path, NULL) with mpssas_rescan_target(). This is to work around a panic in CAM that shows up when adding a drive with a rescan and removing another device from the driver thread with an AC_LOST_DEVICE async notification. This problem was encountered in testing with the LSI sas2ircu utility, which was used to create a RAID volume from physical disks. The driver has to create the RAID volume target and remove the physical disk targets, and triggered a panic in the process. The CAM issue needs to be fully diagnosed and fixed, but this works around the issue for now. 6. Fix some memory initialization issues in mps_free_command(). 7. Resolve the "devq freeze forever" issue. This was caused by the internal read capacity command issued in the non-head version of the driver. When the command completed with an error, the driver wasn't unfreezing thd device queue. The version in head uses the CAM infrastructure for getting the read capacity information, and therefore doesn't have the same issue. 8. Bump the version to 13.00.00.00-fbsd. (this is very close to LSI's internal stable driver 13.00.00.00) Submitted by: Kashyap Desai END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-02-14T14:19:53.109371Z K 7 svn:log V 105 MFC: bring in the "oce" driver for Emulex OneConnect 10 Gbit adapters. Same code as in HEAD and stable/9 END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-02-14T14:24:37.281732Z K 7 svn:log V 115 Fix a misplaced __NO_TLS locations, and change a GNUism to a C11ism for consistency. Approved by: brooks (mentor) END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-02-14T14:55:27.606456Z K 7 svn:log V 76 - Separate different matching logics for better later reuse and readability END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-14T15:17:48.410435Z K 7 svn:log V 109 MFC 229547: Mark a couple of file local functions static and stop exporting them. Discussed with: rwatson END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-14T15:17:58.710618Z K 7 svn:log V 109 MFC 229547: Mark a couple of file local functions static and stop exporting them. Discussed with: rwatson END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-02-14T15:18:08.241740Z K 7 svn:log V 109 MFC 229547: Mark a couple of file local functions static and stop exporting them. Discussed with: rwatson END K 10 svn:author V 6 cognet K 8 svn:date V 27 2012-02-14T15:28:19.594935Z K 7 svn:log V 67 Let bgray destroy the svn repo if he wishes to. Approved by: core END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-02-14T15:56:01.503294Z K 7 svn:log V 710 MFC r230843, r231134, r231136, r231137, r231296 Add isci(4) driver for amd64 and i386 targets. The isci driver is for the integrated SAS controller in the Intel C600 (Patsburg) chipset. Source files in sys/dev/isci directory are FreeBSD-specific, and sys/dev/isci/scil subdirectory contains an OS-agnostic library (SCIL) published by Intel to control the SAS controller. This library is used primarily as-is in this driver, with some post-processing to better integrate into the kernel build environment. isci.4 and a README in the sys/dev/isci directory contain a few additional details. This driver is only built for amd64 and i386 targets. Sponsored by: Intel Reviewed by: scottl Approved by: scottl END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-02-14T15:58:49.768620Z K 7 svn:log V 710 MFC r230843, r231134, r231136, r231137, r231296 Add isci(4) driver for amd64 and i386 targets. The isci driver is for the integrated SAS controller in the Intel C600 (Patsburg) chipset. Source files in sys/dev/isci directory are FreeBSD-specific, and sys/dev/isci/scil subdirectory contains an OS-agnostic library (SCIL) published by Intel to control the SAS controller. This library is used primarily as-is in this driver, with some post-processing to better integrate into the kernel build environment. isci.4 and a README in the sys/dev/isci directory contain a few additional details. This driver is only built for amd64 and i386 targets. Sponsored by: Intel Reviewed by: scottl Approved by: scottl END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-14T16:46:59.713863Z K 7 svn:log V 213 MFC 231485 Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR from the mps driver probe routine. This will allow LSI to ship drivers that return BUS_PROBE_VENDOR to override the in-tree version of the driver. END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-14T16:47:52.334232Z K 7 svn:log V 213 MFC 231485 Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR from the mps driver probe routine. This will allow LSI to ship drivers that return BUS_PROBE_VENDOR to override the in-tree version of the driver. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-02-14T17:09:20.622732Z K 7 svn:log V 822 MFC r230129,r230143,r230407,r231012: MFC r320129 [1]: Introduce vn_path_to_global_path() This function updates path string to vnode's full global path and checks the size of the new path string against the pathlen argument. In vfs_domount(), sys_unmount() and kern_jail_set() this new function is used to update the supplied path argument to the respective global path. Unbreaks jailed zfs(8) with enforce_statfs set to 1. MFC r230143 [2]: Fix missing in r230129: kern_jail.c: initialize fullpath_disabled to zero vfs_cache.c: add missing dot in comment MFC r230407 [3]: Use separate buffer for global path to avoid overflow of path buffer. MFC r231012: Analogous to r230407 a separate path buffer in vfs_mount.c is required for r230129. Fixes a out of bounds write to fspath. Reviewed by: kib [1] [2], jamie [3] END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-02-14T17:11:34.140756Z K 7 svn:log V 77 Update HISTORY for isci.4 man page. Sponsored by: Intel Approved by: scottl END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-02-14T17:16:45.161687Z K 7 svn:log V 179 MFC r231615, r231693 r231615: Minor cleanup and added missing svn keywords (from brueffer@) r231693: Update HISTORY for isci.4 man page. Sponsored by: Intel Approved by: scottl END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-02-14T17:18:45.395447Z K 7 svn:log V 179 MFC r231615, r231693 r231615: Minor cleanup and added missing svn keywords (from brueffer@) r231693: Update HISTORY for isci.4 man page. Sponsored by: Intel Approved by: scottl END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-02-14T17:35:44.448822Z K 7 svn:log V 1598 Merge netgraph related fixes and enhancements from head/. Revisions merged: r223754,224031,226829,229003,230213,230480, 230486-230487,231585. r223754 to ng_base: - Use refcount(9) API to manage node and hook refcounting. r224031 to ng_socket: In ng_attach_cntl() first allocate things that may fail, and then do the rest of initialization. This simplifies code and fixes a double free in failure scenario. r226829 to ng_base: - If KDB & NETGRAPH_DEBUG are on, print traces on discovered failed invariants. - Reduce tautology in NETGRAPH_DEBUG output. r229003 to ng_base: style(9), whitespace and spelling nits. r230213 to ng_socket: Remove some disabled NOTYET code. Probability of enabling it is low, if anyone wants, he/she can take it from svn. r230480 to ng_base: Convert locks that protect name hash, ID hash and typelist from mutex(9) to rwlock(9) based locks. While here remove dropping lock when processing NGM_LISTNODES, and NGM_LISTTYPES generic commands. We don't need to drop it since memory allocation is done with M_NOWAIT. r230486 to hashinit(9): Convert panic()s to KASSERT()s. This is an optimisation for hashdestroy() since in absence of INVARIANTS a compiler will drop the entire for() cycle. r230487,r231585 to ng_socket: Provide a findhook method for ng_socket(4). The node stores a hash with names of its hooks. It starts with size of 16, and grows when number of hooks reaches twice the current size. A failure to grow (memory is allocated with M_NOWAIT) isn't fatal, however. Tested by: Eugene Grosbein, Mike Tancsa END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-02-14T18:00:37.015496Z K 7 svn:log V 1708 MFC 230587, 230916 Xen netback driver rewrite. r230587 | ken | 2012-01-26 09:35:09 -0700 (Thu, 26 Jan 2012) | 38 lines Xen netback driver rewrite. share/man/man4/Makefile, share/man/man4/xnb.4, sys/dev/xen/netback/netback.c, sys/dev/xen/netback/netback_unit_tests.c: Rewrote the netback driver for xen to attach properly via newbus and work properly in both HVM and PVM mode (only HVM is tested). Works with the in-tree FreeBSD netfront driver or the Windows netfront driver from SuSE. Has not been extensively tested with a Linux netfront driver. Does not implement LRO, TSO, or polling. Includes unit tests that may be run through sysctl after compiling with XNB_DEBUG defined. sys/dev/xen/blkback/blkback.c, sys/xen/interface/io/netif.h: Comment elaboration. sys/kern/uipc_mbuf.c: Fix page fault in kernel mode when calling m_print() on a null mbuf. Since m_print() is only used for debugging, there are no performance concerns for extra error checking code. sys/kern/subr_scanf.c: Add the "hh" and "ll" width specifiers from C99 to scanf(). A few callers were already using "ll" even though scanf() was handling it as "l". Submitted by: Alan Somers Submitted by: John Suykerbuyk Sponsored by: Spectra Logic Reviewed by: ken r230916 | ken | 2012-02-02 10:54:35 -0700 (Thu, 02 Feb 2012) | 13 lines Fix the netback driver build for i386. netback.c: Add missing VM includes. xen/xenvar.h, xen/xenpmap.h: Move some XENHVM macros from to on i386 to match the amd64 headers. conf/files: Add netback to the build. Submitted by: jhb END