ƒ´/273702 170 124 539 363 167 323 505 154 157 169 245 398 387 166 867 130 218 318 316 316 271 316 316 316 152 152 290 340 228 254 148 141 287 592 1586 293 313 182 131 212 116 235 208 270 172 230 332 374 220 383 242 152 240 339 254 234 248 248 213 110 238 221 278 222 189 200 593 467 471 222 245 290 418 315 132 634 150 158 377 324 99 500 733 237 313 108 234 136 144 138 338 150 175 128 126 237 422 149 384 808 338 204 507 131 146 453 183 198 358 441 265 150 327 171 219 189 285 225 285 322 179 252 234 415 238 188 1324 452 217 365 233 346 396 535 254 288 352 429 147 367 642 597 329 157 197 178 435 198 363 608 213 219 197 198 547 228 187 259 418 437 259 703 165 670 1265 326 196 698 2434 117 207 K 10 svn:author V 7 stefanf K 8 svn:date V 27 2014-10-26T17:56:58.167472Z K 7 svn:log V 28 Remove incorrect semicolon. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T18:30:35.233466Z K 7 svn:log V 446 Remove the ARM_DEVICE_MULTIPASS option and make its effect be the default. Multipass device attachment was tested on many arm platforms by users and only success was reported on the arm@ mailing list. This is just the long-delayed followup of making it the default. Multipass attachment is necessary when using vendor-supplied FDT data, because our devices may need to be attached in a different order than they are described in the FDT data. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-26T18:41:01.059365Z K 7 svn:log V 270 Fix CF ERASE breakage caused by 268205. This prevents BIO_DELETE requests getting stuck in the TRIM queue which results in a panic on shutdown due to outstanding requests. PR: 194606 Reported by: Guido Falsi Reviewed by: mav MFC after: 3 days Sponsored by: Multiplay END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T18:46:03.636290Z K 7 svn:log V 75 MFC r272528: Make kevent(2) periodic timer events more reliably periodic. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-26T19:03:06.935038Z K 7 svn:log V 229 Change the type of the first argument to the I/O emulation handlers to 'struct vm *'. Previously it used to be a 'void *' but there is no reason to hide the actual type from the handler. Discussed with: tychon MFC after: 1 week END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-26T19:42:44.365135Z K 7 svn:log V 412 Avoid dynamic syscall overhead for statically compiled modules. The kernel tracks syscall users so that modules can safely unregister them. But if the module is not unloadable or was compiled into the kernel, there is no need to do this. Achieve this by adding SY_THR_STATIC_KLD macro which expands to SY_THR_STATIC during kernel build and 0 otherwise. Reviewed by: kib (previous version) MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-26T20:13:46.002092Z K 7 svn:log V 62 Fix support for LUN flat space addressing. MFC after: 1 week END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2014-10-26T20:48:26.761547Z K 7 svn:log V 60 Replace update from -r271410 accidentally lost in -r273575. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-26T21:17:44.348360Z K 7 svn:log V 76 Add a comment explaining the intent behind the I/O reservation [0x72-0x77]. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-26T23:25:42.781546Z K 7 svn:log V 152 Allocate buffer for READ BUFFER/WRITE BUFFER commands on demand. These commands are rare, but consume additional 256KB RAM per LUN. MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T23:37:24.471019Z K 7 svn:log V 305 MFC r262606, r262607, r262608, r262609, r262610, r269528, r269609, r271133: - Move imported dts source from sys/contrib/dts/ to sys/gnu/dts. - Fix some missing properties. - Import dts-related header files. - Update everything to latest vendor branch representing 3.17-rc2 level of Linux DTS API. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T23:39:15.518836Z K 7 svn:log V 294 MFC 271140: Delete old arm dts tree. This was created by cherry picking from a full vendor tree. This worked great until it was time to update, but now it is time to update. Hit the rest button by removing this branch and re-adding it by a full copy of whatever is in the vendor tree. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-26T23:45:33.915995Z K 7 svn:log V 74 MFC r271143, r271151: Reimport dts from vendor branch after proper trim. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-10-27T00:47:55.553271Z K 7 svn:log V 774 MFC r262626, r262626, r264979, r265154, r265162, r265163, r267319, r270863, r270991, r271045: Enhancements related to compiling FDT data... - Use proper include path for dtc as well as cpp. - Call cpp with -P to avoid printing line markings. - Allow FDT_DTS_FILE to be a list, either in the makedtb target, or in a kernel config file. - Add the dts include directory to the -I list when doing arm builds. - Invoke make_dtb with MACHINE defined for cross building friendliness. - Allow the make_dtb script to work outside of a "make buildkernel" context by setting MACHINE from uname -m if it's not set already. - Use sh -c '...' to launch the dtb build scripts with env prepended, otherwise it tries to treat the env var stuff as a script file name. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-10-27T01:10:40.923001Z K 7 svn:log V 38 Simplify memrw(). MFC after: 10 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-27T04:09:23.834827Z K 7 svn:log V 123 getgrouplist(3) was reimplemented in terms of getgrent_r(3) in r174547, so this bug is no longer valid. MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-10-27T05:50:02.245581Z K 7 svn:log V 223 Merge of 273518, tzdata2014i Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11. Europe/Minsk will go from FET to MSK. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-10-27T06:05:40.055400Z K 7 svn:log V 221 MFC of 273718, tzdata2014i Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11. Europe/Minsk will go from FET to MSK. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-10-27T06:12:10.633075Z K 7 svn:log V 221 MFC of 273718, tzdata2014i Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11. Europe/Minsk will go from FET to MSK. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-10-27T06:12:29.665272Z K 7 svn:log V 176 MFC of 267473,tzdata2014e Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-10-27T06:12:41.617515Z K 7 svn:log V 221 MFC of 273718, tzdata2014i Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11. Europe/Minsk will go from FET to MSK. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-10-27T06:13:22.527600Z K 7 svn:log V 221 MFC of 273718, tzdata2014i Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11. Europe/Minsk will go from FET to MSK. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-10-27T06:14:13.938468Z K 7 svn:log V 221 MFC of 273718, tzdata2014i Upgrade to 2014i Lots of historical data Pacific/Fiji will go into DST from 2014-11-02 to 2015-01-18 Pacific/Bougainville will go from UTC+10 to UTC+11. Europe/Minsk will go from FET to MSK. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-27T07:20:39.652745Z K 7 svn:log V 60 MFC r273328: Add another PCI ID for JMB368 PATA controller. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-27T07:21:37.189793Z K 7 svn:log V 60 MFC r273328: Add another PCI ID for JMB368 PATA controller. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-27T07:47:13.125807Z K 7 svn:log V 197 Allow the vfs.nfsd knobs to be set from loader.conf (or using kenv(8)). This is useful when nfsd is loaded as module. Reviewed by: rmacklem Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-27T07:51:26.507099Z K 7 svn:log V 247 Add a method to iicbus to request IIC_M_NOSTOP behaviour for multibyte transfers to be default. It simplifies porting code which assumes such settings. Discussed with: avg, llos, nwhitehorn Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-27T09:07:30.933196Z K 7 svn:log V 130 MFC r272733, r272807 and r272822: Add support for disabling USB enumeration or USB port power in general or on selected USB HUBs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-27T09:26:24.475131Z K 7 svn:log V 161 Reduce code duplication around Write Exclusive persistent reservation. While there, allow some more commands to pass persistent reservation. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-27T09:30:57.880589Z K 7 svn:log V 56 Remove comment obsoleted by r273730. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-27T10:34:09.347057Z K 7 svn:log V 50 Remove unused function. Sponsored by: Yandex LLC END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-27T11:21:47.787210Z K 7 svn:log V 189 Make assignments to "net.inet.tcp.cc.algorithm" work by fixing a bad string comparison. MFC after: 3 days Reported by: Jukka Ukkonen Sponsored by: Mellanox Technologies END K 10 svn:author V 2 pi K 8 svn:date V 27 2014-10-27T11:38:17.349184Z K 7 svn:log V 500 bin/dd: Fix incorrect casting of arguments dd(1) casts many of its numeric arguments from uintmax_t to intmax_t and back again to detect whether or not the original arguments were negative. This caused wrong behaviour in some boundary cases: $ dd if=/dev/zero of=/dev/null count=18446744073709551615 dd: count cannot be negative After the fix: $ dd if=/dev/zero of=/dev/null count=18446744073709551615 dd: count: Result too large PR: 191263 Submitted by: will@worrbase.com Approved by: cognet@ END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-27T12:18:07.007627Z K 7 svn:log V 1491 MFC: r266336, r270230 and r273263 r266336: Allow us to compile the Ti iic driver for both OMAP4 and AM335x. r270230: Rewrite of ti_i2c based on gonzo's patch, fix the following bugs/problems: . interrupt storm detected on "intr70:"; throttling interrupt source; . Added access serialization on iicbus_transfer(), previously there was no such protection and a new transfer could easily confuse the controller; . Add error checkings (i.e. stop the transfer when a error is detected and do _not_ overwrite the previous error); . On command done interrupt do not assume that the transfer was finished sucessfully as we will receive the command done interrupt even after errors; . Simplify the FIFO handling; . Reset the FIFO between the transfers as the FIFO may contain data from the last (failed) transfer; . Fix the iicbus speed for AM335x, which in turn will make better use of the I2C noise filter (set to one internal clock cycle); . Move the read and write handler to ithread instead of notifying the requesting thread with wakeup(9); . Fix the comments based on OMAP4 TRM. The above changes allows me to read the EDID from my HDMI monitor on BBB with gonzo's patches to support TDA19988 (which does 128 bytes reads) and repeatedly scan the iicbus (with a modified i2c(8)) without lock up the bus. r273263: Fix the chan address for mtx_sleep() on bus wait. Without this fix the threads waiting for the bus would never wake. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-27T14:38:00.010139Z K 7 svn:log V 195 MFC r263710, r273377, r273378, r273423 and r273455: - De-vnet hash sizes and hash masks. - Fix multiple issues related to arguments passed to SYSCTL macros. Sponsored by: Mellanox Technologies END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-27T15:33:44.081296Z K 7 svn:log V 219 Clarify the documentation of pmcstat: the -d argument should be passed before -p, -s, -P or -S to be taken in account Differential Revision: https://reviews.freebsd.org/D1011 Reviewed by: adrian, gnn MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-27T15:45:37.711343Z K 7 svn:log V 90 Correct a typo: this is the manpage for pthread_cleanup_pop, not push. Submitted by: ian END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-27T15:50:47.123210Z K 7 svn:log V 38 Fix rendering Submitted by: brueffer END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-27T16:08:41.670219Z K 7 svn:log V 114 Preserve limitation of "TCP_CA_NAME_MAX" when matching the algorithm name. MFC after: 3 days Suggested by: gnn @ END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-27T16:13:51.600899Z K 7 svn:log V 20 Tiny comment fixup. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-27T16:15:15.021454Z K 7 svn:log V 143 Do not automatically install routes to link-local and interface-local multicast addresses. Obtained from: Yandex LLC Sponsored by: Yandex LLC END K 10 svn:author V 2 pi K 8 svn:date V 27 2014-10-27T17:39:37.116444Z K 7 svn:log V 116 bin/dd: revert 273734, as it fails on 32bit platforms Revert: insufficient testing on 32bit platforms PR: 191263 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-27T18:37:11.846008Z K 7 svn:log V 177 Add foo_genassym.c files to DPSRCS so dependencies for them are generated. This ensures these objects are rebuilt to generate an updated header of assembly constants if needed. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-27T20:18:30.497296Z K 7 svn:log V 80 De-k&r-ify function definitions in kern/kern_resource.c No functional changes. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-27T20:20:05.913099Z K 7 svn:log V 137 Tidy up functions related to uidinfo management. - reference found uidinfo in uilookup - reduce nesting by handling shorter cases first END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-27T21:29:42.190027Z K 7 svn:log V 235 Remove an extra copy of hv_kvp_daemon(8) [1]. While I'm there also correct typos in OptionalObsoleteFiles and add information of the command line options for hv_kvp_daemon(8). Reported by: jmg [1] Reviewed by: jmg MFC after: 2 weeks END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-10-27T22:02:35.326161Z K 7 svn:log V 278 Output a summary of optional SVM features in dmesg similar to CPU features. If bootverbose is enabled, a detailed list is provided; otherwise, a single-line summary is displayed. Differential Revision: https://reviews.freebsd.org/D1008 Reviewed by: jhb, neel MFC after: 1 week END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-10-27T22:20:51.405182Z K 7 svn:log V 124 Remove bhyve SVM feature printf's now that they are available in the general CPU feature detection code. Reviewed by: neel END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-27T22:22:46.086935Z K 7 svn:log V 291 Some cxgbe/iw_cxgbe fixes: - Free rt in c4iw_connect only if it is allocated. - Call soclose instead of so_shutdown if there is an abort from the peer. - Close socket and return failure if TOE is not enabled. Submitted by: Hariprasad at Chelsio dot com Sponsored by: Chelsio Communications END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-27T22:41:55.375393Z K 7 svn:log V 150 krping: In verbose mode print only first 128 bytes of krping data. Submitted by: Hariprasad at Chelsio dot com. Sponsored by: Chelsio Communications END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-10-27T23:03:17.845473Z K 7 svn:log V 60 fix typo, properly install a link to nv for nvlist_freev... END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-27T23:11:48.790060Z K 7 svn:log V 148 iwcm_event status needs to be populated for close_complete_upcall Submitted by: Hariprasad at Chelsio dot com Sponsored by: Chelsio Communications END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-10-27T23:19:51.509463Z K 7 svn:log V 238 Use pkg-1.4-style platform identifiers based on MACHINE_ARCH (e.g. FreeBSD:11:amd64 instead of freebsd:11:x86:64) when bootstrapping pkg. Thanks to portmgr for providing symlinks so both styles work. Reviewed by: bapt MFC after: 3 weeks END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-27T23:31:07.584479Z K 7 svn:log V 160 Rename XFLAGS to XCFLAGS and XXFLAGS to XCXXFLAGS This is less confusing names and actually more reflexting what they are intended to. Discussed with: brooks END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-10-27T23:43:25.043044Z K 7 svn:log V 141 only install .pc files when we are not installing 32bit compat libs... This fixes the problem of installing the .pc files multiple times... END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-28T00:43:00.325656Z K 7 svn:log V 151 MFC r273359: It seems multicast filtering of RTL8168F does not work. Workaround the silicon bug by accepting any multicast packets. PR: 193488 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-28T00:44:20.218173Z K 7 svn:log V 151 MFC r273359: It seems multicast filtering of RTL8168F does not work. Workaround the silicon bug by accepting any multicast packets. PR: 193488 END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-10-28T01:34:01.847554Z K 7 svn:log V 115 Add CAPABILITIES and CAPABILITY_MODE to powerpc GENERIC64, missed with the addition to GENERIC MFC after: 3 weeks END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-10-28T02:05:57.714349Z K 7 svn:log V 16 Fix prototypes. END K 10 svn:author V 6 araujo K 8 svn:date V 27 2014-10-28T03:42:09.394304Z K 7 svn:log V 142 Drop __DECONST as well as few fixes of style(9). Phabric: D1012 Suggested by: mjg, jhb Reviewed by: mjg, jhb Sponsored by: QNAP Systems Inc. END K 10 svn:author V 6 julian K 8 svn:date V 27 2014-10-28T04:18:09.121121Z K 7 svn:log V 125 Allow loading of dtraceall without nfscl if what you really wnat is nfsclient Obtained from: Panzura tree MFC after: 1 week END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-28T04:33:57.634404Z K 7 svn:log V 185 Change loginclass mutex to an rwlock. While here reduce nesting in loginclass_free. Submitted by: Tiwei Bie X-Additional: JuniorJobs project MFC after: 2 weeks END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-28T04:59:33.884343Z K 7 svn:log V 129 Simplify sys_getloginclass. Just use current thread credentials as they have the same accuracy as the ones obtained from proc.. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-28T06:17:25.038568Z K 7 svn:log V 95 MFC r273370: Correct the calculation of tcps_rto in the struct tcpcb -> tcpsinfo_t translator. END K 10 svn:author V 6 araujo K 8 svn:date V 27 2014-10-28T07:19:02.689084Z K 7 svn:log V 104 Reported by: Coverity CID: 1249760 Reviewed by: neel Approved by: neel Sponsored by: QNAP Systems Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-28T08:00:28.780304Z K 7 svn:log V 500 MFC r273638: Revert somewhat hackish geom_disk optimization, committed as part of r256880, and the following r273143 commit, supposed to workaround introduced issue by quite innocent-looking change. While there is no clear understanding why, but r273143 is accused in data corruption in some environments with high I/O load. I personally don't see any problem in that commit, and possibly it is just a trigger to some other bug somewhere, but better safe then sorry for now. Requested by: scottl@ END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-28T10:25:59.092601Z K 7 svn:log V 372 Remove the distinction between strings and numbers from ctld(8) yacc parser. This fixes problems with passing strings that look like numbers to clauses that expect strings; previously it caused syntax errors and had to be worked by user, using quotes. The workaround introduced in r267833 is no longer neccessary. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-28T10:33:31.516159Z K 7 svn:log V 377 Improve compatibility with GNU timeout According to the coreutils regression testsuite for timeout(1) It is expect to exit with a status being: 125 in case an invalid duration or signal is passed in arguments 126 in case an invalid command is passed in arguments 127 in case the command passed in arguments does not exists. While here document this behaviour in the man page END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-28T10:39:29.117601Z K 7 svn:log V 127 Fix build after previous commit. While here, improve error messages. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-28T10:39:41.200386Z K 7 svn:log V 151 Add regression tests for the timeout(1) utility They are modeled over the regression tests that are provided for the GNU coreutils timeout(1) utility END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-28T11:20:30.261664Z K 7 svn:log V 196 When a group is renamed then the group has been invalidated for sure. In that case get the group information using the new name. Add a regression test about this bug PR: 193704 Reported by: az END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-28T12:00:39.418164Z K 7 svn:log V 320 The SYSCTL data pointers can come from userspace and must not be directly accessed. Although this will work on some platforms, it can throw an exception if the pointer is invalid and then panic the kernel. Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure. MFC after: 3 days Sponsored by: Mellanox Technologies END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-28T13:38:10.372375Z K 7 svn:log V 217 Make some infiniband example utilities easily buildable: - Add new Makefiles. - Add more include directories when building. - Fixed a printf() formatting string. MFC after: 3 days Sponsored by: Mellanox Technologies END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-28T13:38:30.520700Z K 7 svn:log V 36 Merge head r258543 through r273773. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-28T14:01:58.745862Z K 7 svn:log V 541 MFS10 r273767 / MFC r273638: Revert somewhat hackish geom_disk optimization, committed as part of r256880, and the following r273143 commit, supposed to workaround introduced issue by quite innocent-looking change. While there is no clear understanding why, but r273143 is accused in data corruption in some environments with high I/O load. I personally don't see any problem in that commit, and possibly it is just a trigger to some other bug somewhere, but better safe then sorry for now. Requested by: scottl@ Approved by: re (kib@) END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-10-28T14:03:22.674558Z K 7 svn:log V 56 MFC - tracking commit. Merging r273542 through r273775. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-10-28T14:11:54.951578Z K 7 svn:log V 58 Remove spurious libelf dependency. Submitted by: pluknet END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-28T14:19:17.759971Z K 7 svn:log V 283 Fix a regression in pw usermod -G list The user was perperly adding the to different groups from "list" but was not removed from the other groups it could have belong to. While here add a regression test about this bug PR: 185666 Reported by: sub.mesa@gmail.com MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-28T14:48:52.990958Z K 7 svn:log V 228 Add missing /usr/lib/debug directories Directories for /usr/lib{,32}/{i18n,private} were missing from the mtree file, which caused installworld to install the files that should be in the directory as the name of the directory. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-10-28T14:49:10.450154Z K 7 svn:log V 4 MFH END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-28T14:54:04.986567Z K 7 svn:log V 406 Do not delete the group wheel when bad argument is passed to pw groupdel -g Check that the -g argument is actually a number, if not report an error. This argument is converted without checking with atoi(3) later so without this check it converts any alpha entries into 0 meaning it deletes the group wheel Add a regression test about it PR: 90114 Reported by: bkoenig@cs.tu-berlin.de MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-28T15:22:13.463809Z K 7 svn:log V 640 Add fueword(9) and casueword(9) functions. They are like fuword(9) and casuword(9), but do not mix value read and indication of fault. I know (or remember) enough assembly to handle x86 and powerpc. For arm, mips and sparc64, implement fueword() and casueword() as wrappers around fuword() and casuword(), which means that the functions cannot distinguish between -1 and fault. On architectures where fueword() and casueword() are native, implement fuword() and casuword() using fueword() and casuword(), to reduce assembly code duplication. Sponsored by: The FreeBSD Foundation Tested by: pho MFC after: 2 weeks (ia64 needs treating) END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-28T15:28:20.819947Z K 7 svn:log V 144 Replace some calls to fuword() by fueword() with proper error checking. Sponsored by: The FreeBSD Foundation Tested by: pho MFC after: 3 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-28T15:30:33.619210Z K 7 svn:log V 220 Convert kern_umtx.c to use fueword() and casueword(). Also fix some mishandling of suword(9) errors as errno, which resulted in spurious ERESTART. Sponsored by: The FreeBSD Foundation Tested by: pho MFC after: 3 weeks END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-28T15:33:15.679327Z K 7 svn:log V 15 Fix atf syntax END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-28T15:46:22.525095Z K 7 svn:log V 140 Ensure pw userdel -u do not try to remove root Check the uid passed is actually a number as early as possible MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-10-28T16:19:02.729506Z K 7 svn:log V 43 Actually install casuword(9) to fix build. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-28T16:24:07.690463Z K 7 svn:log V 49 Vendor import of NetBSD's mtree(8) at 2014-10-28 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-28T16:24:44.466953Z K 7 svn:log V 43 Tag 2014-10-28 import of NetBSD's mtree(8) END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-28T16:27:29.217252Z K 7 svn:log V 244 Fix renaming a group via the gr_copy function Add a regression test to pw(8) because the bug was discovered via using: pw groupmod PR: 187189 Reported by: mcdouga9@egr.msu.edu Tested by: mcdouga9@egr.msu.edu Patch by: Marc de la Gueronniere END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-10-28T17:08:13.089633Z K 7 svn:log V 56 MFC - Tracking commit. Merging r273776 through r273782. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-28T17:11:51.101115Z K 7 svn:log V 81 Document iSNS defaults. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-28T17:13:48.279411Z K 7 svn:log V 33 Fix build by removing dangling \ END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-28T17:32:49.055209Z K 7 svn:log V 31 Remove duplicated linux_time.c END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-28T17:52:26.017940Z K 7 svn:log V 141 Import in latest mtree from NetBSD to fix a bug in parsing group files that jmg fixed upstream. MFC after: 1 week Sponsored by: DARPA, AFRL END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-28T18:10:57.263403Z K 7 svn:log V 330 Always request a completion for every work request for iWARP. The initial MPA exchange must be tracked this way so that t4_tom's state for the tid is all clean at the time the tid transitions to RDMA mode. Once it does, t4_tom is out of the way and iw_cxgbe uses the qp endpoints directly. Sponsored by: Chelsio Communications END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-28T18:19:22.170383Z K 7 svn:log V 57 Merge upstream r825: fix line continuation in whitespace END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-10-28T18:33:59.937281Z K 7 svn:log V 290 Make the GPIO children attach to the first unit available and not only to unit 0. It seems that this 'simplification' was copied to all GPIO drivers in tree. This fix a bug where a GPIO controller could fail to attach its children (gpioc and gpiobus) if another GPIO driver attach first. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-28T19:17:44.141914Z K 7 svn:log V 715 Rework virtual machine hypervisor detection. - Move the existing code to x86/x86/identcpu.c since it is x86-specific. - If the CPUID2_HV flag is set, assume a hypervisor is present and query the 0x40000000 leaf to determine the hypervisor vendor ID. Export the vendor ID and the highest supported hypervisor CPUID leaf via hv_vendor[] and hv_high variables, respectively. The hv_vendor[] array is also exported via the hw.hv_vendor sysctl. - Merge the VMWare detection code from tsc.c into the new probe in identcpu.c. Add a VM_GUEST_VMWARE to identify vmware and use that in the TSC code to identify VMWare. Differential Revision: https://reviews.freebsd.org/D1010 Reviewed by: delphij, jkim, neel END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-28T21:06:04.644724Z K 7 svn:log V 242 Apply r267563 to the 64-bit linuxolator The "new ELF branding type" change originated in the lemul branch and was later committed to HEAD and then reverted, leaving the 64-bit linuxolator version of the change in the branch. Revert it now. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-10-28T22:14:31.747044Z K 7 svn:log V 108 Treat IFS separators in "$*" as quoted. This makes a difference if IFS starts with *, ?, [ or a CTL* byte. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-28T23:01:09.200917Z K 7 svn:log V 413 Filter out TESTS_SUBDIRS already added to SUBDIR instead of blindly appending the TESTS_SUBDIRS variable to SUBDIR Duplicate directory entries can cause unexpected side effects, like installing the same files multiple times. This can be easily reproduced via the following testcase prior to this commit: SUBDIR= dir TESTS_SUBDIRS+= dir .include Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-28T23:32:05.810176Z K 7 svn:log V 36 Add linux_timer.c from HEAD r271743 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-29T00:27:02.413513Z K 7 svn:log V 54 MFC r273457: Document sort_io_queue sysctls/tunables. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-29T01:15:48.334275Z K 7 svn:log V 361 Userspace library for Chelsio's Terminator 5 based iWARP RNICs (pretty much every T5 card that does _not_ have "-SO" in its name is RDMA capable). This plugs into the OFED verbs framework and allows userspace RDMA applications to work over T5 RNICs. Tested with rping. Obtained from: Chelsio Communications Relnotes: Yes Sponsored by: Chelsio Communications END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-29T01:54:37.305595Z K 7 svn:log V 90 MFC r273666. Don't pass the 'error' return from an I/O port handler directly to vm_run(). END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-10-29T02:23:50.162305Z K 7 svn:log V 105 make this compile on arm... bus_size_t is not size_t, and it has different sizes on different arches... END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-29T03:14:29.787300Z K 7 svn:log V 265 Implement better handling for ENOSPC error for both CTL and CAM. This makes VMWare VAAI Thin Provisioning Stun primitive activate, pausing the virtual machine, when backing storage (ZFS pool) is getting overflowed. MFC after: 1 week Sponsored by: iXsystems, Inc. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-29T04:32:46.230060Z K 7 svn:log V 347 Fix the logic inversion in the previous commit by ensuring that the matched expression (:M) is empty, not the not matched (:N) is empty. The former case means we have not found the TEST_SUBDIR value in SUBDIR Reported by: rodrigc X-MFC with: r273803 Pointyhat to: me (did not use a clean install root) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-29T06:24:12.742588Z K 7 svn:log V 173 rping: make sure that the CQ event thread can never poll a CQ after it has been destroyed. Submitted by: Hariprasad at Chelsio dot com Sponsored by: Chelsio Communications END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-10-29T09:06:05.474617Z K 7 svn:log V 56 MFC - tracking commit. Merging r273783 through r273811. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-29T09:26:55.639526Z K 7 svn:log V 232 Add discovery-filter. This makes it possible to restrict which targets are returned during discovery based on initiator portal, name, and CHAP credentials. Reviewed by: mav@ MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-29T09:27:24.892050Z K 7 svn:log V 79 MFC: r273704 Fix CF ERASE breakage caused by 268205. Sponsored by: Multiplay END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-10-29T09:32:36.522104Z K 7 svn:log V 122 MFC r261271: Ressurect the local change documenting authpf's requirement for a mounted fdescfs(5). PR: docs/186250 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-29T09:36:02.767517Z K 7 svn:log V 95 Simplify code; no functional changes. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-29T11:07:40.085717Z K 7 svn:log V 193 MFC r272746: Add an ability to set dumpdev via loader(8) tunable. MFC r272747: Revert r156046. We support setting dumpdev via loader tunable again. Also change default disk name to ada. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-10-29T11:11:54.992274Z K 7 svn:log V 132 MFS10 r273814 MFC r273704 Fix ATA CF ERASE breakage caused by 268205 PR: 194606 Approved by: re (marius) Sponsored by: Multiplay END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-29T11:47:04.462342Z K 7 svn:log V 193 MFC r272746: Add an ability to set dumpdev via loader(8) tunable. MFC r272747: Revert r156046. We support setting dumpdev via loader tunable again. Also change default disk name to ada. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-29T12:10:39.118981Z K 7 svn:log V 227 Make it possible to optionally use semicolon to separate statements. This makes it possible to format stuff like this: target xxx { lun 0 { path /foo/bar; size 4G; } } MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-29T12:12:27.717429Z K 7 svn:log V 85 Keep the token list sorted. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-29T12:22:32.071527Z K 7 svn:log V 157 Fix iscsictl(8) and ctld(8) to correctly handle Windows newlines (CRLF) in iscsi.conf and ctl.conf. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-29T14:57:30.324264Z K 7 svn:log V 141 Move virtual machine / cloud provider targets and options from release/Makefile to their own Makefile. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-29T15:52:17.275051Z K 7 svn:log V 322 Add glue to allow enabling building cloud provider VM images by default. When WITH_CLOUDWARE is not empty, add CLOUDTARGETS to the release/Makefile 'release' target. CLOUDTARGETS is generated from the contents of CLOUDWARE, which should be a list of all supported target providers. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-29T16:18:29.609805Z K 7 svn:log V 145 Avoid hard-coding the Azure image file format. While here, avoid using OSRELEASE for the output file name. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-29T16:20:49.177289Z K 7 svn:log V 96 Remove a few vestiges of passing an exit code to panic(). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-29T16:24:02.566896Z K 7 svn:log V 1227 MFC r269956: From https://sourceware.org/ml/newlib/2014/msg00113.html By Richard Earnshaw at ARM > >GCC has for a number of years provides a set of pre-defined macros for >use with determining the ISA and features of the target during >pre-processing. However, the design was always somewhat cumbersome in >that each new architecture revision created a new define and then >removed the previous one. This meant that it was necessary to keep >updating the support code simply to recognise a new architecture being >added. > >The ACLE specification (ARM C Language Extentions) >(http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.set.swdev/index.html) >provides a much more suitable interface and GCC has supported this >since gcc-4.8. > >This patch makes use of the ACLE pre-defines to map to the internal >feature definitions. To support older versions of GCC a compatibility >header is provided that maps the traditional pre-defines onto the new >ACLE ones. Stop using __FreeBSD_ARCH_armv6__ and switch to __ARM_ARCH >= 6 in the couple of places in tree. clang already implements ACLE. Add a define that says we implement version 1.1, even though the implementation isn't quite complete. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-29T16:36:08.239523Z K 7 svn:log V 356 MFC r273284: Allow libkvm to get the kernel va to pa delta without the need for physaddr. This should allow for a kernel where PHYSADDR and KERNPHYSADDR are both undefined. For now libkvm will use the old method of reading physaddr and kernaddr to allow it to work with old kernels. This could be removed in the future when enough time has passed. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-29T16:38:13.583247Z K 7 svn:log V 121 MFC r273287: Only build the ARM tranpoline when KERNPHYSADDR is defined as it is otherwise unneeded in armv6 kernels. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-10-29T16:41:20.670255Z K 7 svn:log V 269 MFC r273288: Allow the armv6 kernel to be build with PHYSADDR undefined. The kernel will now find the virtual to physical mapping for libkvm to use at runtime. This makes PHYSADDR redundant, however keep it around to give everyone a chance to update their libkvm. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-10-29T16:48:18.335744Z K 7 svn:log V 132 MFC r271539,273003,273005: Add ZFS support to the bsdinstall partition editor and sade Submitted by: Kurt Lidl (original version) END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-29T16:49:28.934662Z K 7 svn:log V 252 MFS10 r273573, MFC r273356: Fix a race in pmap_emulate_accessed_dirty() that could trigger a EPT misconfiguration VM-exit. MFS10 r273807, MFC r273666: Don't pass the 'error' return from an I/O port handler directly to vm_run(). Approved by: re (kib) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-29T17:04:09.109649Z K 7 svn:log V 303 Initial commit providing a mechanism to create openstack images as part of the release build. This mimics the way Microsoft Azure images are built, with the addition of installing the net/cloud-init package and adding a (commented) rc.conf(5) entry for cloudinit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-29T18:01:09.874476Z K 7 svn:log V 442 Rework the EXAMPLES section to be a bit clearer. - Add an example of using etcupdate diff. - Create a subsection on bootstrapping that is below the simple examples. This should make it clearer that 'etcupdate extract' is a one-time operation and not part of the common workflow. It also adds more suggestions on when bootstrapping is needed and additional steps to make future merges simpler. Reviewed by: adrian MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-10-29T19:21:19.995736Z K 7 svn:log V 160 Replace a magic number with the proper definition. This change actually fixes broken state field after r273266, i.e., "CPU-1" was displayed in place of "RUN". END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-29T19:44:34.477881Z K 7 svn:log V 195 Fix output file name for openstack images. No further conversion is necessary for this VM file target, so there is no need to append the '.raw' suffix here. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-10-29T20:18:37.697179Z K 7 svn:log V 259 Fix a clang 3.5 warning about abs(3) being given an argument of type quad_t in setusercontext(). While here, sanitize the clamping of the priority value, and use the correct type for the return value of login_getcapnum(). Reviewed by: kib MFC after: 3 days END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-10-29T22:17:45.941898Z K 7 svn:log V 333 MFC r272720, 273061, 273062, 273063, 273064 Implement PLPMTUD blackhole detection (RFC 4821), inspired by code from xnu sources. If we encounter a network where ICMP is blocked the Needs Frag indicator may not propagate back to us. Attempt to downshift the mss once to a preconfigured value. Note, this is turned off by default. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-29T22:22:24.079666Z K 7 svn:log V 51 .a's are installed in /usr/lib, don't delete them. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-10-29T22:55:16.690148Z K 7 svn:log V 271 MFC r264628: fcntl.h: Make visible various POSIX.1-2008 features. Also, remove #if __BSD_VISIBLE where it is redundant. When __BSD_VISIBLE is defined to 1, __POSIX_VISIBLE, __XSI_VISIBLE and __ISO_C_VISIBLE are also defined to the newest supported version. PR: 188173 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-10-29T23:10:48.876992Z K 7 svn:log V 546 MFC r266842: netinet/in.h: Expose htonl(), htons(), ntohl() and ntohs() in strict POSIX mode. Put the htonl(), htons(), ntohl() and ntohs() declarations under __POSIX_VISIBLE >= 200112. POSIX.1-2001 and newer require these to be exposed from (as well as ). Note that it may be unnecessary to check __POSIX_VISIBLE >= 200112 because older versions of POSIX and the C standard do not define this header. However, other places in the same file already perform the check. PR: 188316 Submitted by: Christian Neukirchen END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-30T05:10:33.065871Z K 7 svn:log V 504 filedesc: get rid of atomic_load_acq_int from fget_unlocked A read barrier was necessary because fd table pointer and table size were updated separately, opening a window where fget_unlocked could read new size and old pointer. This patch puts both these fields into one dedicated structure, pointer to which is later atomically updated. As such, fget_unlocked only needs data a dependency barrier which is a noop on all supported architectures. Reviewed by: kib (previous version) MFC after: 2 weeks END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-30T05:21:12.926183Z K 7 svn:log V 236 filedesc: microoptimize fget_unlocked by retrying obtaining reference count without restarting whole lookup Restart is only needed when fp was closed by current process, which is a much rarer event than ref/deref by some other thread. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-10-30T06:54:25.888418Z K 7 svn:log V 65 fix spelling of offset since that is what is used in the body... END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-10-30T07:21:38.415817Z K 7 svn:log V 104 filedesc: make sure to force table reload in fget_unlocked when count == 0 This is a fixup to r273843. END K 10 svn:author V 7 matthew K 8 svn:date V 27 2014-10-30T08:03:26.618862Z K 7 svn:log V 82 Take kientzle's commit bit in for safe keeping at his request. Approved by: core END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-30T08:04:48.637630Z K 7 svn:log V 337 MFC r273733, r273740 and r273773: The SYSCTL data pointers can come from userspace and must not be directly accessed. Although this will work on some platforms, it can throw an exception if the pointer is invalid and then panic the kernel. Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure. Sponsored by: Mellanox Technologies END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-30T08:05:51.940546Z K 7 svn:log V 103 Get rid of obsolete code in mount_nfs(8). Reviewed by: rmacklem@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-30T08:50:01.626001Z K 7 svn:log V 268 Add support for "timeo", "actimeo", "noac", and "proto" options to mount_nfs(8). They are implemented on Linux, OS X, and Solaris, and thus can be expected to appear in automounter maps. Reviewed by: rmacklem@ MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jch K 8 svn:date V 27 2014-10-30T08:53:56.979970Z K 7 svn:log V 515 Fix a race condition in TCP timewait between tcp_tw_2msl_reuse() and tcp_tw_2msl_scan(). This race condition drives unplanned timewait timeout cancellation. Also simplify implementation by holding inpcb reference and removing tcptw reference counting. Differential Revision: https://reviews.freebsd.org/D826 Submitted by: Marc De la Gueronniere Submitted by: jch Reviewed By: jhb (mentor), adrian, rwatson Sponsored by: Verisign, Inc. MFC after: 2 weeks X-MFC-With: r264321 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-30T09:06:52.544318Z K 7 svn:log V 118 Note that the "timeout" nfs option is in tenths of a second. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-30T09:25:03.115811Z K 7 svn:log V 124 Fix handling of "conn" mount_nfs(8) option. Reviewed by: rmacklem@ MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-30T10:49:50.977230Z K 7 svn:log V 102 Make it clear that ACL flags are NFSv4-only. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-30T10:56:38.317955Z K 7 svn:log V 103 Update acl(3) to expand on NFSv4 ACL support. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-30T10:59:57.875895Z K 7 svn:log V 455 Fix mbuf leak in IPv6 multicast code. When multicast capable interface goes away, it leaves multicast groups, this leads to generate MLD reports, but MLD code does deffered send and MLD reports are queued in the in6_multi's in6m_scq ifq. The problem is that in6_multi structures are freed when interface leaves multicast groups and thread that does deffered send will not take these queued packets. PR: 194577 MFC after: 1 week Sponsored by: Yandex LLC END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-10-30T11:27:03.470281Z K 7 svn:log V 134 Add two new functions to the AGP driver KPI to bind/unbind arbitrary sets of pages into the GTT. Reviewed by: kib MFC after: 1 month END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-30T11:34:07.988457Z K 7 svn:log V 96 Move ifq drain into in6m_purge(). Suggested by: bms MFC after: 1 week Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-30T12:44:46.521505Z K 7 svn:log V 167 Remove redundant code. if_detach already did these steps. Also, now we didn't keep routes to link-local addresses. Obtained from: Yandex LLC Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-30T13:53:57.271577Z K 7 svn:log V 326 MFC r272770: When tunneling interface is going to insert mbuf into netisr queue after stripping outer header, consider it as new packet and clear the protocols flags. This fixes problems when IPSEC traffic goes through various tunnels and router doesn't send ICMP/ICMPv6 errors. PR: 174602 Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-30T13:59:28.987938Z K 7 svn:log V 345 MFC r272770 (modified version): When tunneling interface is going to insert mbuf into netisr queue after stripping outer header, consider it as new packet and clear the protocols flags. This fixes problems when IPSEC traffic goes through various tunnels and router doesn't send ICMP/ICMPv6 errors. PR: 174602 Sponsored by: Yandex LLC END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-30T14:05:48.897316Z K 7 svn:log V 164 Remove two functions unused after r273848. Would be nice if clang or at least scan-build yelled about it. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-10-30T14:26:36.614229Z K 7 svn:log V 609 Port the TTM AGP backend to the FreeBSD agp driver and enable AGP support in the radeonkms driver. Note: In PCI mode virtual addresses on the graphics card that map to system RAM are translated to physical addresses by the graphics card itself. In AGP mode address translation is done by the AGP chipset so fictitious addresses appear on the system bus. For the CPU cache management to work correctly when the CPU accesses this memory it needs to use the same fictitious addresses (and let the chipset translate them) instead of using the physical addresses directly. Reviewed by: kib MFC after: 1 month END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-10-30T14:36:27.831270Z K 7 svn:log V 72 Avoid possible overflow in agp_generic_alloc_memory. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-30T15:41:25.606908Z K 7 svn:log V 572 MFC r254122, r254123, r256116, r255970, r247671, r269861, r268314, r256269, r255969, r256179, r230135, r254121, r255932, r255972, r255973, r256281, r256470, r257867, r259608, r269862, r271127, r272407, r257864, r256682, r258276, r254734, r247675, r254735 and r272683: Hardware driver update from Mellanox Technologies, including: - improved performance - better stability - new features - bugfixes Supported HCAs: - ConnectX-2 - ConnectX-3 - ConnectX-3 Pro NOTE: - TSO feature needs r271946, which is not yet merged. Sponsored by: Mellanox Technologies END K 10 svn:author V 8 ambrisko K 8 svn:date V 27 2014-10-30T15:52:01.354454Z K 7 svn:log V 1166 Make UEFI booting of 4Kn disks work: - convert boot1.efi to corrrectly calculate the lba for what the media reports and convert the size based on what FreeBSD uses. The existing code would use the 512 byte lba and convert the size using 4K byte size. - make fsck_msdosfs read the boot block as 4K so the read doesn't fail on a 4Kn drive since FreeBSD will error out parition reads of a block. Make the bpbBytesPerSec check a multiple of 512 since it can be 512 or 4K depending on the disk. This allows fsck to pass checking the EFI partition on a 4Kn disk. To create the EFI file system I used: newfs_msdos -F 32 -S 4096 -c 1 -m 0xf8 This works for booting 512 and 4Kn disks. Caveat is that loader.efi cannot read the 4Kn EFI partition. This isn't critical right now since boot1.efi will read loader.efi from the ufs partition. It looks like loader.efi can be fixed via making some of the 512 bytes reads more flexible. loader.efi doesn't have trouble reading the ufs partition. This is probably a simple fix. I now have FreeBSD installed on a system with 4Kn drives and tested the same code works on 512. MFC after: 1 week END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2014-10-30T16:26:17.865382Z K 7 svn:log V 228 Plug memory ordering holes in buf_ring_enqueue. For at least some users this patch eliminates the races previously discussed on the mailing list. Submitted by: oleg Reviewed by: kmacy MFC after: 2 weeks Tested by: kmacy,rpaulo END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-30T16:57:56.980236Z K 7 svn:log V 99 Fix compile warning by removing unused variable. MFC: 3 days Sponsored by: Mellanox Technologies END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-30T17:05:32.225161Z K 7 svn:log V 600 MFC r273135 and r273867: Update the OFED Linux compatibility layer and Mellanox hardware driver(s): - Properly name an inclusion guard. - Fix compile warnings regarding unsigned enums. - Fix compile warning regarding unused variable. - Add two new sysctl nodes. - Remove all empty linux header files. - Make an error printout more verbose. - Use "mod_delayed_work()" instead of cancelling and starting a timeout. - Implement more Linux scatterlist functions. - Don't forget to add "options OFED" to the kernel configuration file before using infiniband. Sponsored by: Mellanox Technologies END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-10-30T17:14:07.044095Z K 7 svn:log V 2339 Import atf-0.21: Released on October 23rd, 2014. * Restored the atf(7) manual page to serve as a reference to all the other manual pages shipped by ATF. * Added the -s flag to atf-sh to support specifying the shell interpreter to be used. * Removed ATF_WORKDIR. The only remaining consumers have been converted to use the standard TMPDIR environment variable. As a benefit, and because Kyua forces the TMPDIR to live within the test case's work directory, any stale files left behind by ATF will be automatically cleaned up. * Documented the environment variables recognized by each component in the relevant manual pages. This information was lost with the atf-config(1) removal. * Added a new "require.diskspace" metadata property to test cases so that they can specify the minimum amount of disk space required for the test to run. * Renamed the atf-{c,c++,sh}-api(3) manual pages to atf-{c,c++,sh}(3) for discoverability purposes. Symbolic links are provided for the time being to still make the old names visible. * Issue #5: Recommend the (expected, actual) idiom for calls to the test macros in the manual pages. * Issue #7: Stopped catching unhandled exceptions in atf-c++ tests. This propagates the crash to the caller, which in turn allows it to obtain proper debugging information. In particular, Kyua should now be able to extract a stacktrace pinpointing the problem. * Issue #8: Fixed atf-c/macros_test:use test failures spotted by the clang that ships with FreeBSD 11.0-CURRENT. * Issue #12: Improved documentation of atf-sh(3) and atf-check(1) by better explaining how they relate to each other. * Issue #14: Stopped setting 'set -e' in atf-sh. This setting was initially added as a way to enable a "strict" mode in the library and to make test cases fail fast when they run unprotected commands. However, doing so in the library is surprising as the responsibility of enabling 'set -e' should be on the user's code. Also, 'set -e' introduces inconsistent behavior on subshells and users do not expect that. * Issue #15: Fixed atf_utils_{fork,wait} to support nested calls. * Issue #16: Fixed test failures (by removing a long-standing hack) on systems that lack \e support in printf(1). * Issue #19: Removed stale references to atf-config and atf-run. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-10-30T17:14:51.001632Z K 7 svn:log V 24 Tag import of atf-0.21. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-30T17:58:57.830886Z K 7 svn:log V 114 Skip the smap sysctl instead of panicing if no kernel metadata can be found. Submitted by: bde MFC after: 3 days END