ƒ´[216000 158 223 223 444 444 314 314 206 206 210 366 227 233 219 611 306 216 387 342 189 280 153 166 854 245 245 598 598 402 402 167 167 432 432 235 235 165 184 206 154 568 210 805 333 191 202 245 280 118 131 375 299 172 283 352 705 705 354 160 189 222 426 137 144 319 642 180 241 209 139 191 263 359 434 150 166 191 145 395 177 139 199 128 132 635 489 762 283 1293 5669 192 1042 547 142 165 233 134 180 186 259 425 193 266 154 328 143 514 205 353 721 270 218 992 142 317 904 936 558 375 911 393 594 265 342 310 310 287 184 135 327 330 228 140 256 141 381 117 114 254 347 141 228 380 256 300 176 353 173 229 249 135 137 212 183 183 191 223 243 264 K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-28T15:57:22.955375Z K 7 svn:log V 127 MFC: r215905 Ensure Bay flow control is disabled as we're going to use IEEE 802.3 annex 31B full duplex flow control instead. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-28T15:57:26.229641Z K 7 svn:log V 127 MFC: r215905 Ensure Bay flow control is disabled as we're going to use IEEE 802.3 annex 31B full duplex flow control instead. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-28T15:59:39.628433Z K 7 svn:log V 348 MFC: r215906 Fix and implement missing parts of flow control support. This also removes the dev.fxp.%d.noflow tunable as the same effect can now be achieved with ifconfig(8) by setting the flowcontrol media option as desired (besides the tunable never having a chance to actually enable flow control support so far). In joint forces with: yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-28T15:59:45.630396Z K 7 svn:log V 348 MFC: r215906 Fix and implement missing parts of flow control support. This also removes the dev.fxp.%d.noflow tunable as the same effect can now be achieved with ifconfig(8) by setting the flowcontrol media option as desired (besides the tunable never having a chance to actually enable flow control support so far). In joint forces with: yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-28T16:03:01.595911Z K 7 svn:log V 218 MFC: r215907 Remove the description of the dev.fxp.%d.noflow tunable as it was removed in r215906 (MFC'ed to stable/8 in r216002) and the flowcontrol media option now should be set as desired via ifconfig(8) instead. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-28T16:03:03.454854Z K 7 svn:log V 218 MFC: r215907 Remove the description of the dev.fxp.%d.noflow tunable as it was removed in r215906 (MFC'ed to stable/7 in r216003) and the flowcontrol media option now should be set as desired via ifconfig(8) instead. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-28T16:09:36.998384Z K 7 svn:log V 110 MFC: r215923 Allow pause support advertisement to be turned off again. Submitted by: yongari (ip1000phy(4)) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-28T16:09:40.002863Z K 7 svn:log V 110 MFC: r215923 Allow pause support advertisement to be turned off again. Submitted by: yongari (ip1000phy(4)) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-28T16:25:16.444325Z K 7 svn:log V 112 MFC r204157: Remove atkbd and friends, since they cause the XEN kernel to panic. PR: kern/148262, kern/149853 END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-11-28T16:31:39.233647Z K 7 svn:log V 274 MFC r215423: Do not initialize flag variables before needed. Consistently use the LLE_ prefix for lla_lookup() and the ND6_ prefix for nd6_lookup() even though both are defined the same. Use the right flag variable when checking each. No real functional change. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-11-28T17:02:02.470609Z K 7 svn:log V 135 MFC r215559: In case of an early return from the function there is no need to zero the route upfront, so defer as long as we can. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-11-28T17:23:28.637704Z K 7 svn:log V 141 MFC r215641: Add a missing ';' and change the debugging sysctl from xint to int. Submitted by: Mikolaj Golub (to.my.trociny gmail.com) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-28T17:56:34.194841Z K 7 svn:log V 126 Calling fill_fpregs() for curthread is legitimate, and ELF coredump does this. Reported and tested by: pho MFC after: 5 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-28T18:53:29.971133Z K 7 svn:log V 515 Several chipset drivers alter parameters relevant for the DMA tag creation, i.e. alignment, max_address, max_iosize and segsize (only max_address is thought to have an negative impact regarding this issue though), after calling ata_dmainit() either directly or indirectly so these values have no effect or at least no effect on the DMA tags and the defaults are used for the latter instead. So change the drivers to set these parameters up-front and ata_dmainit() to honor them. Reviewd by: mav MFC after: 1 month END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2010-11-28T18:53:57.378762Z K 7 svn:log V 212 Add option -D for ranlib(1). When -D is speicified, ranlib(1) will generate a deterministic archive symbol table (i.e. timestamp for the symbol table member header is set to 0). Submitted by: Erik Cederstrand END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-28T18:59:52.744365Z K 7 svn:log V 118 MFC r215665,r215732: Don't lose seconds to integer overflow if we go more than one second between calls to tc_windup. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2010-11-28T19:26:20.309449Z K 7 svn:log V 293 Define VM_KMEM_SIZE_MAX on sparc64. Otherwise kernel built with DEBUG_MEMGUARD panics early in kmeminit() with the message "kmem_suballoc: bad status return of 1" because of zero "size" argument passed to kmem_suballoc() due to "vm_kmem_size_max" being zero. The problem also exists on ia64. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-11-28T20:56:51.211262Z K 7 svn:log V 249 MFC r215799: Add gptboot_enable rc variable, which allows to turn gptboot reporting off in case user wants to implement his own actions and doesn't want the attributes to vanish. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2010-11-28T22:07:08.816795Z K 7 svn:log V 93 MFC r215095,215104: Add quirks for 3G MSC resets. Add a man page for the usb_quirks module. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-28T22:49:58.280251Z K 7 svn:log V 184 sh: Make the test for cd/pwd with long pathnames more useful: * Use $(getconf PATH_MAX /) to make sure we actually exercise the hard part * Delete our test area even if the test fails END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-11-28T23:19:23.317821Z K 7 svn:log V 58 IFV this branch in preparation to merge from Yahoo source END K 10 svn:author V 3 jmg K 8 svn:date V 27 2010-11-28T23:34:20.717393Z K 7 svn:log V 74 document that most of ioctl requests in cd(4) are implemented by acd(4).. END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-11-29T00:04:08.891698Z K 7 svn:log V 762 Plug well observed races on la_hold entries with the callout handler. Call the handler function with the lock held, return unlocked as we might free the entry. Rework functions later in the call graph to be either called with the lock held or, only if needed, unlocked. Place asserts to document and tighten assumptions on various lle locking, which were not always true before. We call nd6_ns_output() unlocked and the assignment of ip6->ip6_src was decentralized to minimize possible complexity introduced with the formerly missing locking there. This also resulted in a push down of local variable scopes into smaller blocks. Reported by: many PR: kern/148857 Submitted by: Dmitrij Tejblum (tejblum yandex-team.ru) (original version) MFC After: 4 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:28:12.743119Z K 7 svn:log V 148 MFC r215850: Enable ethernet flow-control on all alc(4) controllers. This change should reduce a lot of dropped frames under high network load. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:30:49.877617Z K 7 svn:log V 148 MFC r215850: Enable ethernet flow-control on all alc(4) controllers. This change should reduce a lot of dropped frames under high network load. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:33:25.171107Z K 7 svn:log V 501 MFC r215847: Disable retrying RX descriptor loading. The counter is used to set number of retry to be performed whenever controller found RX descriptor was empty. RX empty interrupt is generated only when the retry counter is over. Experimentation shows retrying RX descriptor loading increased number of dropped frames under flow-control enabled environments so disable it and have controller generate RX empty interrupt as fast as it can. While I'm here fix RXCSR_DESC_RT_CNT macro. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:34:43.699258Z K 7 svn:log V 501 MFC r215847: Disable retrying RX descriptor loading. The counter is used to set number of retry to be performed whenever controller found RX descriptor was empty. RX empty interrupt is generated only when the retry counter is over. Experimentation shows retrying RX descriptor loading increased number of dropped frames under flow-control enabled environments so disable it and have controller generate RX empty interrupt as fast as it can. While I'm here fix RXCSR_DESC_RT_CNT macro. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:36:15.743315Z K 7 svn:log V 305 MFC r215848: Allocate 1 MSI/MSI-X vector. Originally jme(4) was designed to support multi-queue but the hardware limitation made it hard to implement supporting multi-queue. Allocating more than necessary vectors is resource waste and it can be added back when we implement multi-queue support. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:37:27.697419Z K 7 svn:log V 305 MFC r215848: Allocate 1 MSI/MSI-X vector. Originally jme(4) was designed to support multi-queue but the hardware limitation made it hard to implement supporting multi-queue. Allocating more than necessary vectors is resource waste and it can be added back when we implement multi-queue support. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:38:41.823768Z K 7 svn:log V 71 MFC r215849: Enable ethernet flow-control on all jme(4) controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:39:46.563184Z K 7 svn:log V 71 MFC r215849: Enable ethernet flow-control on all jme(4) controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:41:56.249581Z K 7 svn:log V 335 MFC r215329: Add flow control for all re(4) controllers. re(4) controllers do not provide any MAC configuration interface for resolved flow control parameters. There is even no register that configures water mark which will control generation of pause frames. However enabling flow control surely enhanced performance a lot. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:43:17.461256Z K 7 svn:log V 335 MFC r215329: Add flow control for all re(4) controllers. re(4) controllers do not provide any MAC configuration interface for resolved flow control parameters. There is even no register that configures water mark which will control generation of pause frames. However enabling flow control surely enhanced performance a lot. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:45:25.488062Z K 7 svn:log V 138 MFC r215328: Add flow control for 3C905B and newer controllers. Note, these controllers support RX pause only. Reviewed by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-29T01:50:58.207559Z K 7 svn:log V 138 MFC r215328: Add flow control for 3C905B and newer controllers. Note, these controllers support RX pause only. Reviewed by: marius END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-11-29T03:38:40.763473Z K 7 svn:log V 69 MFC r214726,214852,215258,215734 Sync all u3g device ids from head. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-29T04:25:44.143148Z K 7 svn:log V 89 This is an MFC of 215951 Partially revert 208119. We were overwriting tunable settings. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-29T04:29:36.601437Z K 7 svn:log V 110 This is an MFC of 208542,208543 Treat PRLI the same as PLOGI and make a database entry for it (target mode). END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-29T04:31:25.371411Z K 7 svn:log V 59 This is an MFC of 208548 Don't leak CCBs for every ABORT. END K 10 svn:author V 3 gad K 8 svn:date V 27 2010-11-29T04:57:46.647473Z K 7 svn:log V 475 = MFC of r211190: - Improve the wait4data() routine so it behaves better when checking print-jobs which have last-modification times that are in the future. This shouldn't happen, of course, but it can. And when it did happen, the previous check could cause completely-spooled jobs to sit in the queue for 20 minutes per job. The new code waits until the last-modify time is not changing, instead of making decisions based on the specific value of last-modify. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-29T05:50:20.943460Z K 7 svn:log V 113 Make German formal clause to be consistent with the keymap counterpart. Submitted by: arundel MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-29T06:50:30.761053Z K 7 svn:log V 707 Fix bug introduced by r194784: Under XEN, the page(s) allocated to dpcpu for CPU #0 weren't being properly reserved. Under VM pressure this would cause problems when the dpcpu structures were overwritten by arbitrary data; the most common symptom was a panic when netisr attempted to lock a mutex. For some reason the XEN code keeps track of the start of available memory in the variables 'first', 'physfree', and 'init_first'; as far as I can tell, we always have first == physfree == init_first * PAGE_SIZE. The earlier commit adjusted 'first' (which, on !XEN, is the only variable which tracks this value) but not the other two variables. Exercise for reader: Eliminate two of these three variables. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-29T08:04:10.669828Z K 7 svn:log V 236 MFC r215544,215683: Scan the list in reverse order for the shutdown handlers of loaded modules. This way, when there is a dependency between two modules, the handler of the latter probed runs first. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-29T08:12:21.426910Z K 7 svn:log V 95 MFC r215758,215811: Make this printf output more verbose. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-29T08:16:48.937396Z K 7 svn:log V 105 MFC r215821: Add a missing CTL description from CVS revision 1.147. Sponsored by: Sandvine Incorporated END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-11-29T08:17:44.043900Z K 7 svn:log V 150 Support the Falcom Twist USB GSM/GPRS modem in uftdi(4) PR: usb/151862 Submitted by: Alessandro de Manzano MFC after: 1 week END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-29T08:44:32.644941Z K 7 svn:log V 185 Revert some FreeBSD specific changes (mainly made to fix various security issues), and bring us back to using vendor versions of the files. This was already done on head and stable/8. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-29T09:21:26.945032Z K 7 svn:log V 24 Fix fd leak in get_font END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-29T09:24:03.189818Z K 7 svn:log V 37 MFC r216047: Fix fd leak in get_font END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-29T10:10:56.540978Z K 7 svn:log V 277 Some drivers rely on the existence of certain keys. The Atheros 9xxx driver for example requests the NetCfgInstanceId but doesn't check the returned status code and will happily access random memory instead. Submitted by: Paul B Mahol MFC after: 2 weeks END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-29T10:21:45.178989Z K 7 svn:log V 201 Add a dummy for IoOpenDeviceRegistryKey(). With that change the Atheros 9xxx driver is actually usable and does not panic anymore. Submitted by: Paul B Mahol MFC after: 2 weeks END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-29T10:22:45.247188Z K 7 svn:log V 78 Revert previous change since it's without proper MFC period. Requested by kib END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-29T11:28:31.115211Z K 7 svn:log V 187 Update the serial port device names. They changed in 8.0 because the default driver is now uart(4). PR: bin/140887 Submitted by: Joe Barbish MFC after: 3 days END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-29T11:55:17.872750Z K 7 svn:log V 256 If no floppy drive is installed kldBrowser() can generate an error early on. Initialize menu and count so the cleanup code doesn't try and use their uninitialized values. PR: bin/152270 Submitted by: Remi LAURENT MFC after: 3 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-11-29T13:36:20.583194Z K 7 svn:log V 607 MFC 215686: Fix a TSO checksum bug on mxge(4): The Myri10GE NIC will assume all TSO frames contain partial checksum, and will emit TSO segments with bad TCP checksums if a TSO frame contains a full checksum. The mxge driver takes care to make sure that TSO is disabled when checksum offload is disabled for this reason. However, modules that modify packet contents (like pf) may end up completing a checksum on a TSO frame, leading to the NIC emitting TSO segments with bad checksums. To workaround this, restore the partial checksum in the mxge driver when we're fed a TSO frame with a full checksum. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-11-29T13:36:37.446120Z K 7 svn:log V 607 MFC 215686: Fix a TSO checksum bug on mxge(4): The Myri10GE NIC will assume all TSO frames contain partial checksum, and will emit TSO segments with bad TCP checksums if a TSO frame contains a full checksum. The mxge driver takes care to make sure that TSO is disabled when checksum offload is disabled for this reason. However, modules that modify packet contents (like pf) may end up completing a checksum on a TSO frame, leading to the NIC emitting TSO segments with bad checksums. To workaround this, restore the partial checksum in the mxge driver when we're fed a TSO frame with a full checksum. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-11-29T14:47:59.587659Z K 7 svn:log V 256 Turn on commit approval for stable/8 and stable/7 to mark the beginning of Code Freeze for the upcoming 8.2/7.4 releases. While here set up approval for the branches that will be created later as part of the release process. Approved by: core (implicit) END K 10 svn:author V 6 sanpei K 8 svn:date V 27 2010-11-29T15:08:18.702230Z K 7 svn:log V 65 Add new device ids. Buffalo (Melco Inc.) WLI-UC-G PR: 141777 END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-11-29T18:17:53.786898Z K 7 svn:log V 97 Use the SYSCTL_CHILDREN macro in kern_sysctl.c to help de-obfuscate the code. MFC after: 3 days END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-11-29T18:18:00.702939Z K 7 svn:log V 129 Slightly modify the logic in sysctl_find_oid to reduce the indentation. There should be no functional change. MFC after: 3 days END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-11-29T18:18:07.622158Z K 7 svn:log V 333 Do not hold the sysctl lock across a call to the handler. This fixes a general LOR issue where the sysctl lock had no good place in the hierarchy. One specific instance is #284 on http://sources.zabbadoz.net/freebsd/lor.html . Reviewed by: jhb MFC after: 1 month X-MFC-note: split oid_refcnt field for oid_running to preserve KBI END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-11-29T18:32:03.551700Z K 7 svn:log V 42 IFV and accept alc@ changes to big memory END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-29T18:33:20.560572Z K 7 svn:log V 50 Add mappings for RELENG branches for 8.2 and 8.3. END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-29T20:43:06.990790Z K 7 svn:log V 224 Fix a race condition exists in the OpenSSL TLS server extension code and a double free in the SSL client ECDH handling code. Approved by: so (simon) Security: CVE-2010-2939, CVE-2010-3864 Security: FreeBSD-SA-10:10.openssl END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-11-29T21:04:00.510460Z K 7 svn:log V 544 Don't free the work queue entry that we're using to hold the scatter-gather list on exit from the transmit path. The scatter-gather list itself can be asynchronously DMAed to the transmit hardware, and we could actually lock up the transmitter if any of a number of races around this were lost. Instead, let the PKO free the scatter-gather list when it is done with it, and use the "i" bit in each segment of the packet to avoid having them go into the FPA. This fixes an unrecoverable transmit stall under transmit load. MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-11-29T21:31:25.337455Z K 7 svn:log V 86 Update the description of green_saver.ko Improvements to my suggested text from: jhb END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-11-29T21:53:21.409096Z K 7 svn:log V 148 Fix uninitialized variable warning that shows on Tinderbox but not my setup. (??) Submitted by: Michael Butler END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-29T22:19:19.000526Z K 7 svn:log V 115 Honor font size for the video mode when default fonts are compiled in kernel and VESA mode is enabled from loader. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-29T22:20:44.433796Z K 7 svn:log V 46 Clean up code a bit to make it more readable. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-11-30T01:27:54.648084Z K 7 svn:log V 94 Display some Octeon 2 features and a feature for distinguishing between PCIe implementations. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-30T05:54:21.863360Z K 7 svn:log V 170 Remove redundant (and bogus) insertion of pnp info when announcing new and retiring devices. That's already inserted elsewhere. Submitted by: n_hibma MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-11-30T07:14:05.376926Z K 7 svn:log V 261 Run all poll requests through a single function that can either do the generic link state polling or media-specific ones, while avoidiing changing link state on interfaces that use miibus; this substantially speeds up link time on interface (re)initialization. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2010-11-30T08:25:57.388427Z K 7 svn:log V 336 We need to define a cdev variable associated with each USB device, hence existing applications like webcamd are expecting that. This problem was introduced by SVN change 214221 where cdev= was replaced by ugen= by accident. Solve this problem by redefining cdev= in devd notifications. MFC after 3 days. Approved by: thompsa (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-30T08:39:05.559744Z K 7 svn:log V 58 MFC r215942: Remove DEBUG sections. Approved by: re (bz) END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2010-11-30T09:34:47.863382Z K 7 svn:log V 70 Fix two errors in the man page Submitted by: ruslan MFC after: 1 day END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-11-30T15:57:00.573920Z K 7 svn:log V 95 Use time_uptime instead of non-monotonic time_second to drive ARP timeouts. Suggested by: bde END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-11-30T16:00:59.249954Z K 7 svn:log V 49 That should belong to r216075. Pointy hat on me. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-30T16:04:40.338409Z K 7 svn:log V 297 Teach crashinfo(8) to look at the currently running kernel (based on the kern.bootfile sysctl). Prior to this commit, crashinfo(8) only looks at /boot/*/kernel; this includes the usual places where kernels reside, so for most systems this will have no effect. Approved by: jhb MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-11-30T16:14:19.114550Z K 7 svn:log V 81 Do not hardcode (20*60), but use current ARP timeout value configured in kernel. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-30T16:46:15.363953Z K 7 svn:log V 46 Clean up code a bit to make it more readable. END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2010-11-30T16:49:06.918041Z K 7 svn:log V 105 Change VM_KMEM_SIZE_MAX to be just (VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS) Suggested by: marius END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-30T17:32:28.224000Z K 7 svn:log V 35 Stop hardcoding default font size. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-30T17:34:15.518779Z K 7 svn:log V 39 Rename a variable to match scvidctl.c. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-30T20:54:14.853266Z K 7 svn:log V 539 Several chipset drivers alter parameters relevant for the DMA tag creation, i.e. alignment, max_address, max_iosize and segsize (only max_address is thought to have an negative impact regarding this issue though), after calling ata_dmainit() either directly or indirectly so these values have no effect or at least no effect on the DMA tags and the defaults are used for the latter instead. So change the drivers to set these parameters up-front and ata_dmainit() to honor them. This file was missed in r216013. Submitted by: nwhitehorn END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-11-30T21:04:05.340098Z K 7 svn:log V 394 Don't panic when we read an empty ACL from ZFS. Apparently this may happen with filesystems created under MacOS X ZFS port. This is kind of filesystem corruption (we don't allow for setting empty ACLs), so make acl_get_file(3) and related syscalls fail with EINVAL in that case. In theory, we could return empty ACL to userland, but I'm afraid this would break some code. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-30T21:08:59.823585Z K 7 svn:log V 666 - Remove the remaining support for older (in this case pre-7.0-RELEASE) versions of FreeBSD. In fact we are already missing a lot of conditional code necessary to support older versions of FreeBSD, including alternatives for vital functionality not yet provided by the respective subsystem back then (see for example r199663). So this change shouldn't actually break this driver on versions of FreeBSD that were supported before. Besides, this driver also isn't maintained as an multi-release version outside of the main repository, so removing the conditional code shouldn't be a problem in that regard either. - Sprinkle some more const on tables. END K 10 svn:author V 3 das K 8 svn:date V 27 2010-11-30T21:26:21.119158Z K 7 svn:log V 190 Update the documentation to reflect changes to the implementation in r197752, which is related to handling of null buffer pointers. Also make a few minor wording changes. Reported by: jh@ END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2010-11-30T22:25:44.679109Z K 7 svn:log V 1197 Merge revision 211236 form current: Allow interrupt driven config hooks to be registered from config hook callbacks. Interrupt driven configuration hooks serve two purposes: they are a mechanism for registering for a callback that is invoked once interrupt services are available, and they hold off root device selection so long as any configuration hooks are still active. Before this change, it was not possible to safely register additional hooks from the context of a configuration hook callback. The need for this feature arises when interrupts are required to discover new devices (e.g. access to the XenStore to find para-virtualized devices) which in turn also require the ability to hold off root device selection until some lengthy, interrupt driven, configuration task has completed (e.g. Xen front/back device driver negotiation). More specifically, the mutex protecting the list of active configuration hooks is never held during a callback, and static information is used to ensure proper ordering and only a single callback to each hook even when faced with registration or removal of a hook during an active run. Sponsored by: Spectra Logic Corporation Approved by: re (kib) END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-11-30T22:39:46.257442Z K 7 svn:log V 5575 Add Serial Management Protocol (SMP) passthrough support to CAM. This includes support in the kernel, camcontrol(8), libcam and the mps(4) driver for SMP passthrough. The CAM SCSI probe code has been modified to fetch Inquiry VPD page 0x00 to determine supported pages, and will now fetch page 0x83 in addition to page 0x80 if supported. Add two new CAM CCBs, XPT_SMP_IO, and XPT_GDEV_ADVINFO. The SMP CCB is intended for SMP requests and responses. The ADVINFO is currently used to fetch cached VPD page 0x83 data from the transport layer, but is intended to be extensible to fetch other types of device-specific data. SMP-only devices are not currently represented in the CAM topology, and so the current semantics are that the SIM will route SMP CCBs to either the addressed device, if it contains an SMP target, or its parent, if it contains an SMP target. (This is noted in cam_ccb.h, since it will change later once we have the ability to have SMP-only devices in CAM's topology.) smp_all.c, smp_all.h: New helper routines for SMP. This includes SMP request building routines, response parsing routines, error decoding routines, and structure definitions for a number of SMP commands. libcam/Makefile: Add smp_all.c to libcam, so that SMP functionality is available to userland applications. camcontrol.8, camcontrol.c: Add smp passthrough support to camcontrol. Several new subcommands are now available: 'smpcmd' functions much like 'cmd', except that it allows the user to send generic SMP commands. 'smprg' sends the SMP report general command, and displays the decoded output. It will automatically fetch extended output if it is available. 'smppc' sends the SMP phy control command, with any number of potential options. Among other things, this allows the user to reset a phy on a SAS expander, or disable a phy on an expander. 'smpmaninfo' sends the SMP report manufacturer information and displays the decoded output. 'smpphylist' displays a list of phys on an expander, and the CAM devices attached to those phys, if any. cam.h, cam.c: Add a status value for SMP errors (CAM_SMP_STATUS_ERROR). Add a missing description for CAM_SCSI_IT_NEXUS_LOST. Add support for SMP commands to cam_error_string(). cam_ccb.h: Rename the CAM_DIR_RESV flag to CAM_DIR_BOTH. SMP commands are by nature bi-directional, and we may need to support bi-directional SCSI commands later. Add the XPT_SMP_IO CCB. Since SMP commands are bi-directional, there are pointers for both the request and response. Add a fill routine for SMP CCBs. Add the XPT_GDEV_ADVINFO CCB. This is currently used to fetch cached page 0x83 data from the transport later, but is extensible to fetch many other types of data. cam_periph.c: Add support in cam_periph_mapmem() for XPT_SMP_IO and XPT_GDEV_ADVINFO CCBs. cam_xpt.c: Add support for executing XPT_SMP_IO CCBs. cam_xpt_internal.h: Add fields for VPD pages 0x00 and 0x83 in struct cam_ed. scsi_all.c: Add scsi_get_sas_addr(), a function that parses VPD page 0x83 data and pulls out a SAS address. scsi_all.h: Add VPD page 0x00 and 0x83 structures, and a prototype for scsi_get_sas_addr(). scsi_pass.c: Add support for mapping buffers in XPT_SMP_IO and XPT_GDEV_ADVINFO CCBs. scsi_xpt.c: In the SCSI probe code, first ask the device for VPD page 0x00. If any VPD pages are supported, that page is required to be implemented. Based on the response, we may probe for the serial number (page 0x80) or device id (page 0x83). Add support for the XPT_GDEV_ADVINFO CCB. sys/conf/files: Add smp_all.c. mps.c: Add support for passing in a uio in mps_map_command(), so we can map a S/G list at once. Add support for SMP passthrough commands in mps_data_cb(). SMP is a special case, because the first buffer in the S/G list is outbound and the second buffer is inbound. Add support for warning the user if the busdma code comes back with more buffers than will work for the command. This will, for example, help the user determine why an SMP command failed if busdma comes back with three buffers. mps_pci.c: Add sys/uio.h. mps_sas.c: Add the SAS address and the parent handle to the list of fields we pull from device page 0 and cache in struct mpssas_target. These are needed for SMP passthrough. Add support for the XPT_SMP_IO CCB. For now, this CCB is routed to the addressed device if it supports SMP, or to its parent if it does not and the parent does. This is necessary because CAM does not currently support SMP-only nodes in the topology. Make SMP passthrough support conditional on __FreeBSD_version >= 900026. This will make it easier to MFC this change to the driver without MFCing the CAM changes as well. mps_user.c: Un-staticize mpi_init_sge() so we can use it for the SMP passthrough code. mpsvar.h: Add a uio and iovecs into struct mps_command for SMP passthrough commands. Add a cm_max_segs field to struct mps_command so that we can warn the user if busdma comes back with too many segments. Clear the cm_reply when a command gets freed. If it is not cleared, reply frames will eventually get freed into the pool multiple times and corrupt the pool. (This fix is from scottl.) Add a prototype for mpi_init_sge(). sys/param.h: Bump __FreeBSD_version to 900026 for the for the inclusion of the XPT_GDEV_ADVINFO and XPT_SMP_IO CAM CCBs. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-12-01T03:24:38.957541Z K 7 svn:log V 96 Don't print usbus[0-9] interfaces that it's not the interesting interface type for ifconfig(8). END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-12-01T03:35:19.941390Z K 7 svn:log V 949 Correct an error in the allocation of the vm_page_dump array in vm_page_startup(). Specifically, the dump_avail array should be used instead of the phys_avail array to calculate the size of vm_page_dump. For example, the pages for the message buffer are allocated prior to vm_page_startup() by subtracting them from the last entry in the phys_avail array, but the first thing that vm_page_startup() does after creating the vm_page_dump array is to set the bits corresponding to the message buffer pages in that array. However, these bits might not actually exist in the array, because the size of the array is determined by the current value in the last entry of the phys_avail array. In general, the only reason why this doesn't always result in an out-of-bounds array access is that the size of the vm_page_dump array is rounded up to the next page boundary. This change eliminates that dependence on rounding (and luck). MFC after: 6 weeks END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-12-01T03:51:06.770198Z K 7 svn:log V 450 Explicitly UP and DOWN the usbus interfaces (IFT_USB) when it's attached or detached. Normally it should be changed through user land ioctl(2) system calls but it looks there's no apps for USB and no need. With this patch, libpcap would detect the usbus interfaces correctly and tcpdump(1) could dump the USB packets into PCAP format with -w option. However it couldn't print the output to console because there's no printer-routine at tcpdump(1). END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-12-01T05:24:29.727301Z K 7 svn:log V 45 Add interrupt describing and binding to CIU. END K 10 svn:author V 3 ken K 8 svn:date V 27 2010-12-01T05:39:02.300186Z K 7 svn:log V 73 Add smp_all.c to the cam module build to un-break it. Reported by: jkim END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-12-01T05:52:27.258918Z K 7 svn:log V 140 phys_avail[] is correctly defined as an array of vm_paddr_t's in machdep.c. Use that same type, and not vm_offset_t, in this include file. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-12-01T08:07:32.214957Z K 7 svn:log V 40 Closing file descriptors when it's done END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-01T15:28:23.249648Z K 7 svn:log V 88 MFC r215797: Allow shared-locked vnode to be passed to vunref(9). Approved by: re (bz) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-01T15:31:31.495723Z K 7 svn:log V 94 MFC r215798: Remove the note about possible unlocking during vunref(9). Approved by: re (bz) END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-12-01T19:24:07.995203Z K 7 svn:log V 167 - Report an error when a label with invalid name is attempted to be created with glabel(8). - Fix a typo in an error message. - Fix comment typos. Approved by: pjd END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-01T21:19:11.957733Z K 7 svn:log V 332 Journal start looks up .sujournal file by doing lookup on the root dvp. As result, failed softdep_mount() might leave up to two vnodes on the mp mountlist, preventing mnt_ref from going to zero. Call ffs_flushfiles() after failed softdep_mount() to clean mountlist. Initial report by: Garrett Cooper Reproduced and tested by: pho END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-12-01T23:26:32.514846Z K 7 svn:log V 98 sh(1): Document that command's -p option also works with -v/-V. This was implemented in r201343. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-12-02T00:47:55.492076Z K 7 svn:log V 168 Pass NULL instead of 0 for the th pointer value. NULL != 0 on all platforms. Submitted by: David Hayes MFC after: 9 weeks X-MFC with: r215166 END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-02T00:49:02.643194Z K 7 svn:log V 62 MFC r215838: Account i/o done on cdevs. Approved by: re (bz) END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-12-02T01:01:37.257058Z K 7 svn:log V 230 Set ssthresh appropriately on RTO. This change was accidentally not ported from the pre modular CC stack. Sponsored by: FreeBSD Foundation Submitted by: David Hayes MFC after: 9 weeks X-MFC with: r215166 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-02T01:14:45.739060Z K 7 svn:log V 49 Remove useless NULL checks for M_WAITOK mallocs. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-12-02T01:36:00.137526Z K 7 svn:log V 416 - Reinstantiate the after_idle hook call in tcp_output(), which got lost somewhere along the way due to mismerging r211464 in our development tree. - Capture the essence of r211464 in NewReno's after_idle() hook. We don't use V_ss_fltsz/V_ss_fltsz_local yet which needs to be revisited. Sponsored by: FreeBSD Foundation Submitted by: David Hayes MFC after: 9 weeks X-MFC with: r215166 END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-12-02T01:46:06.278920Z K 7 svn:log V 110 Don't error out while searching for empty directories. Submitted by: Bakul Shah END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-12-02T02:32:46.329952Z K 7 svn:log V 255 General cleanup of the NewReno CC module (no functional changes): - Remove superfluous includes and unhelpful comments. - Alphabetically order functions. - Make functions static. Sponsored by: FreeBSD Foundation MFC after: 9 weeks X-MFC with: r215166 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-02T02:34:39.226593Z K 7 svn:log V 620 Rewrite the hypervisor page table manipulation stuff to use KOBJ, and split the non-hypervisor page table manipulation code into a separate MMU module. This makes the page table interface and HV extensions vastly cleaner. There seems to be no speed penalty associated with this; the cost of the TLB invalidations and other operations required in page table manipulations vastly exceeds the function call overhead, and, through some perverse behavior of gcc, calling through function pointers can be somehow be faster than calling inline functions in some cases. Many thanks to Peter Grehan for suggesting this change. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-12-02T03:10:35.471534Z K 7 svn:log V 172 Add build infrastructure for the forthcoming CC algorithm modules. Sponsored by: FreeBSD Foundation Submitted by: David Hayes MFC after: 3 months END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-02T03:34:27.173425Z K 7 svn:log V 117 The useful thing about IOMMUs is that they avoid needing bounce pages. Don't use bounce pages if an IOMMU is set up. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-02T03:53:29.351247Z K 7 svn:log V 895 If RX lockup workaround is enabled, fxp(4) will periodically reset the controller to workaround silicon bug of i82557. Each reset will re-establish link which in turn triggers MII status change callback. The callback will try to reconfigure controller if the controller is not i82557 to enable flow-control. This caused endless link UP/DOWN when the workaround was enabled on non-i82557 controller. To fix the issue, apply RX lockup workaround only for i82557. Previously it blindly checked undocumented EEPROM location such that it sometimes enabled the workaround for other controllers. At this time, only i82557 is known to have the silicon bug. This fixes a regression introduced in r215906 which enabled flow control support for all controllers except i82557. Reported by: Karl Denninger (karl <> denninger dot net) Tested by: Karl Denninger (karl <> denninger dot net) MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-12-02T04:28:01.826761Z K 7 svn:log V 50 removed tag is '-', not '+'. remove extra return. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-02T04:58:07.190112Z K 7 svn:log V 216 The driver-XXX.c files used for host CPU detection with -march=native should not be compiled in the cross-tools case (where -march=native makes no sense). This fixes cross-building x86 toolchains on non-x86 systems. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-12-02T06:05:44.583636Z K 7 svn:log V 806 Import a clean-room implementation of the experimental CUBIC congestion control algorithm based on the Internet-Draft "draft-rhee-tcpm-cubic-02.txt". It is implemented as a kernel module compatible with the recently committed modular congestion control framework. CUBIC was designed for provide increased throughput in fast and long-distance networks. It attempts to maintain fairness when competing with legacy NewReno TCP in lower speed scenarios where NewReno is able to operate adequately. The paper "CUBIC: A New TCP-Friendly High-Speed TCP Variant" provides additional detail. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: rpaulo (older patch from a few weeks ago) MFC after: 3 months END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-12-02T06:40:21.406614Z K 7 svn:log V 838 Import a clean-room implementation of the experimental H-TCP congestion control algorithm based on the Internet-Draft "draft-leith-tcp-htcp-06.txt". It is implemented as a kernel module compatible with the recently committed modular congestion control framework. H-TCP was designed to provide increased throughput in fast and long-distance networks. It attempts to maintain fairness when competing with legacy NewReno TCP in lower speed scenarios where NewReno is able to operate adequately. The paper "H-TCP: A framework for congestion control in high-speed and long-distance networks" provides additional detail. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: rpaulo (older patch from a few weeks ago) MFC after: 3 months END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-02T09:09:46.949911Z K 7 svn:log V 462 MFC r216052: Update the serial port device names. They changed in 8.0 because the default driver is now uart(4). PR: bin/140887 Submitted by: Joe Barbish MFC r216053: If no floppy drive is installed kldBrowser() can generate an error early on. Initialize menu and count so the cleanup code doesn't try and use their uninitialized values. PR: bin/152270 Submitted by: Remi LAURENT Approved by: re (kensmith) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-02T09:10:45.451012Z K 7 svn:log V 279 MFC r216053: If no floppy drive is installed kldBrowser() can generate an error early on. Initialize menu and count so the cleanup code doesn't try and use their uninitialized values. PR: bin/152270 Submitted by: Remi LAURENT Approved by: re (kensmith) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-02T10:39:44.771950Z K 7 svn:log V 819 MFC r216022: Plug well observed races on la_hold entries with the callout handler. Call the handler function with the lock held, return unlocked as we might free the entry. Rework functions later in the call graph to be either called with the lock held or, only if needed, unlocked. Place asserts to document and tighten assumptions on various lle locking, which were not always true before. We call nd6_ns_output() unlocked and the assignment of ip6->ip6_src was decentralized to minimize possible complexity introduced with the formerly missing locking there. This also resulted in a push down of local variable scopes into smaller blocks. Reported by: many Submitted by: Dmitrij Tejblum (tejblum yandex-team.ru) (original version) Tested by: remko PR: kern/148857 Approved by: re (kib) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-12-02T10:46:05.734531Z K 7 svn:log V 300 Remove more duplicates. Just so that I can lookup the command for the next time: for t in `make -V TARGETS universe`; do __MAKE_CONF=/dev/null make -f Makefile.inc1 -m $PWD/share/mk TARGET=$t \ -V OLD_FILES -V OLD_LIBS -V OLD_DIRS delete-old | \ xargs -n1|sort|uniq -c|egrep -v "^ *1 "; done END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-02T12:44:51.474702Z K 7 svn:log V 501 For non-stopped threads, td_frame pointer is undefined. As a consequence, fill_regs() and fill_fpregs() access random data, usually on the thread kernel stack. Most often the td_frame points to the previous frame saved by last kernel entry sequence, but this is not guaranteed. For /proc//{regs,fpregs} read access, require the thread to be in stopped state. Otherwise, return EBUSY as is done for write case. Reported and tested by: pho Approved by: des (procfs maintainer) MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-12-02T13:40:21.565161Z K 7 svn:log V 170 Remove two unused variables, left over from the refactoring in r180104. PR: bin/152551 Submitted by: Henning Petersen MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-02T15:10:27.288883Z K 7 svn:log V 241 Define bswap macros for constants to allow the compiler to pre-compute byte-swapped versions of compile-time constants. This allows use of bswap() and htole*() in initializers, which is required to cross-build btxld. Obtained from: sparc64 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-12-02T15:58:54.121746Z K 7 svn:log V 217 MFC 215820: Add device IDs for two more ServerWorks Host-PCI bridges so that we can read their starting PCI bus number for older systems that do not support ACPI (or have a broken _BBN method). Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-12-02T15:59:41.012029Z K 7 svn:log V 217 MFC 215820: Add device IDs for two more ServerWorks Host-PCI bridges so that we can read their starting PCI bus number for older systems that do not support ACPI (or have a broken _BBN method). Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-12-02T16:27:28.210129Z K 7 svn:log V 195 MFC r206989: Avoid memory access after free. Use the (shortend) copy for the ipsec mtu lookup as well. Submitted by: Peter Molnar (peter molnar.cc) PR: kern/145736 Approved by: re (kib) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-02T16:46:28.005573Z K 7 svn:log V 84 Add some more error-checking and robustification and interrupt slightly less often. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-02T17:36:47.822504Z K 7 svn:log V 35 Unbreak amd64<->i386 cross builds. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-12-02T17:37:16.328850Z K 7 svn:log V 232 Replace pointer to "struct uidinfo" with pointer to "struct ucred" in "struct vm_object". This is required to make it possible to account for per-jail swap usage. Reviewed by: kib@ Tested by: pho@ Sponsored by: FreeBSD Foundation END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-02T18:01:18.170195Z K 7 svn:log V 229 Set the cache hint bit in our IOPTEs so that they are not evicted by hardware. This prevents I/O hangs now that more of the address space is accessible to the EHCI driver. While here, remove some irrelevant DMA tag restrictions. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-02T18:24:22.780605Z K 7 svn:log V 131 Decode IPC_CREAT and IPC_EXCL for semget(2). PR: bin/152781 Submitted by: Anton Yuzhaninov MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-12-02T18:37:34.886693Z K 7 svn:log V 44 Document loader tunable hw.re.prefer_iomap. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-12-02T19:47:27.971043Z K 7 svn:log V 160 Add a note about the magic number 20. Actually, 22.75 entries fit in a 512 byte sector but when choosing magic numbers, 20 looks nicer. Discussed with: marcel END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-12-02T22:00:57.708782Z K 7 svn:log V 49 Sync: merge r215944 through r216132 from ^/head. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-02T22:19:30.230158Z K 7 svn:log V 285 Disallow passing in a count of zero bytes to the bus_space(9) functions. Passing a count of zero on i386 and amd64 for [I386|AMD64]_BUS_SPACE_MEM causes a crash/hang since the 'loop' instruction decrements the counter before checking if it's zero. PR: kern/80980 Discussed with: jhb END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-12-02T22:36:51.130356Z K 7 svn:log V 23 Import OpenSSL 0.9.8q. END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-12-02T22:37:50.795202Z K 7 svn:log V 20 Tag OpenSSL 0.9.8q. END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-03T00:05:49.540962Z K 7 svn:log V 161 Disable gcc's built-in rint() function when compiling s_nearbyint.c. It results in incorrect optimizations that break nearbyint(). PR: 143358 Reviewed by: bde END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-12-03T00:44:07.248259Z K 7 svn:log V 250 Changes the meaning of each characters '<' and '>' that it could be confused with USB OUT or USB IN packets though it just represents USB submit or done. To know the USB packet direction, the endpoint address should be referred. Requested by: jkim END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-03T00:44:31.896116Z K 7 svn:log V 49 Add some basic regression tests for nearbyint(). END K 10 svn:author V 6 gordon K 8 svn:date V 27 2010-12-03T02:07:34.636614Z K 7 svn:log V 132 Add ability to decompress different format manual pages. Add support for .so directive in manual pages. Approved by: mentor (wes@) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-12-03T04:39:48.245134Z K 7 svn:log V 287 To make minidumps work properly on mips for memory that's direct mapped and entered via vm_page_setup, keep track of it like we do for amd64. # A separate commit will be made to move this to a capability-based ifdef # rather than arch-based ifdef. Submitted by: alc@ MFC after: 1 week END K 10 svn:author V 3 das K 8 svn:date V 27 2010-12-03T07:01:07.581701Z K 7 svn:log V 163 Explain some of the reasons that fpsetprec() is unlikely to work as one might expect. (These functions have already been deprecated for many years.) PR: 133583 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-03T07:09:23.179830Z K 7 svn:log V 204 Revert r216134. This checkin broke platforms where bus_space are macros: they need to be a single statement, and do { } while (0) doesn't work in this situation so revert until a solution can be devised. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-12-03T07:33:43.877353Z K 7 svn:log V 84 _WITHOUT_SRCCONF has too much baggage. Instead, use the simpler SRCCONF=/dev/null. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-12-03T07:39:29.605643Z K 7 svn:log V 260 o Mount the device async when we're doing the copy. o Create a sparse file instead of a fully zerod one. This trades the possibiltiy of running out of space during the build for the speed gain not having do write all those zeros... Submitted by: n_hibma END K 10 svn:author V 6 philip K 8 svn:date V 27 2010-12-03T09:26:56.889316Z K 7 svn:log V 78 Take rpaulo's commit bit into safekeeping per his request. Approved by: core END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-12-03T10:06:19.009973Z K 7 svn:log V 132 * Recommend a overwrite of whole geli provider before use. * Correct a typo while I'm there. Reviewed by: pjd MFC after: 2 weeks END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-12-03T14:20:20.555654Z K 7 svn:log V 151 Fixup for r216141, dump_add_page needs to be non-static now. Add it to sys/mips/include/md_var.h, make dump_drop_page non-static too for completeness. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-03T16:07:50.563112Z K 7 svn:log V 43 Add SLIST_SWAP() macro. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-03T16:15:44.506663Z K 7 svn:log V 45 Reviewed by: jeff, rwatson MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-03T16:17:53.262621Z K 7 svn:log V 119 Extend the unix gc regression test to cover the case of r216150. Requested and reviewed by: rwatson MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-03T16:21:12.545121Z K 7 svn:log V 86 MFC r216077: Teach crashinfo(8) about the kern.bootfile sysctl. Approved by: re (bz) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-12-03T16:21:39.421654Z K 7 svn:log V 86 MFC r216077: Teach crashinfo(8) about the kern.bootfile sysctl. Approved by: re (bz) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-12-03T16:37:37.899904Z K 7 svn:log V 91 Provide a simple IOMMU framework on PowerPC, which is required to support PPC hypervisors. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-12-03T16:40:47.843234Z K 7 svn:log V 130 MFC r215864: MFaesni r215427: Only save FPU context when not executing in the context of the crypto thread. Approved by: re (bz) END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-12-03T18:30:55.739997Z K 7 svn:log V 147 Document the fact that passing in a count of zero to the bus_space functions will result in undefined behaviour. Taken from NetBSD's bus_space(9). END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-12-03T19:22:18.180090Z K 7 svn:log V 166 1. Fix off by one errors in calls to MIPS_DIRECT_MAPPABLE, reported by alc@ 2. Remove unnecessary #defines from vmparam.h Submitted by: alc (2) Reviewed by: alc (1) END