ƒ´c219561 172 826 635 541 144 261 117 251 145 1019 397 302 235 149 253 136 419 215 697 251 195 147 148 148 401 369 369 158 214 293 194 186 221 163 394 394 547 259 599 186 429 912 301 251 487 707 178 126 187 257 206 133 109 105 137 258 202 331 175 291 217 169 139 489 293 355 618 660 119 180 352 134 1047 1376 347 117 209 143 137 268 179 190 452 233 133 152 224 221 1209 173 387 281 483 167 440 268 192 206 178 383 275 284 619 277 217 142 1041 175 221 149 213 249 307 170 169 136 251 582 2154 379 183 144 440 321 377 347 118 346 346 346 346 1172 144 259 253 168 674 225 323 308 133 841 218 208 117 114 324 116 277 203 444 394 514 273 120 166 146 294 172 240 116 432 148 160 209 209 499 438 319 186 170 153 117 K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-12T09:09:25.806940Z K 7 svn:log V 733 add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls Add systrace_linux32 and systrace_freebsd32 modules which provide support for tracing compat system calls in addition to native system call tracing provided by systrace module. Provided that all the systrace modules are loaded now you can select what syscalls to trace in the following manner: syscall::xxx:yyy - work on all system calls that match the specification syscall:freebsd:xxx:yyy - only native system calls syscall:linux32:xxx:yyy - linux32 compat system calls syscall:freebsd32:xxx:yyy - freebsd32 compat system calls on amd64 PR: kern/152822 Submitted by: Artem Belevich Reviewed by: jhb (earlier version) MFC after: 3 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-12T09:41:25.885585Z K 7 svn:log V 543 Make sure the locally cached value of rt->rt_gateway stays stable, even after dropping the reference and unlocking. Previously we have dereferenced a NULL pointer (after r121765). Simply unlocking after the block does not work either because of lock ordering (see r121765) and in addition we would still hold a pointer to something that might be gone by the time we access it. Thus take a copy of the value rather than just caching the pointer. PR: kern/151908 Submitted by: chenyl (netstar2008 126.com) (initial version) MFC after: 2 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2011-03-12T11:12:30.069621Z K 7 svn:log V 448 Add "ruser" and "luser" options. The former corresponds to the current behavior, where the module checks that the supplicant is a member of the required group. The latter checks the target user instead. If neither option was specified, pam_group(8) assumes "ruser" and issues a warning. I intend to eventually change the default to "luser" to match the behavior of similarly-named service modules in other operating systems. MFC after: 1 month END K 10 svn:author V 3 des K 8 svn:date V 27 2011-03-12T11:26:37.549038Z K 7 svn:log V 52 Mention the name of the module in warning messages. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-03-12T12:10:17.666879Z K 7 svn:log V 164 Move cap_enter(2) and cap_getmode(2) symbols from FBSD_1.1 to FBSD_1.2. Suggested by: kib Obtained from: Capsicum Project Sponsored by: Google MFC after: 3 months END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-12T14:09:43.475205Z K 7 svn:log V 25 Add some missing consts. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-12T14:33:32.419514Z K 7 svn:log V 155 Sync licenses and the corresponding RCS IDs with NetBSD, mainly switching the licenses of Matthew R. Green and the TNF to 2-clause. Obtained from: NetBSD END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-12T14:47:54.369504Z K 7 svn:log V 50 Fix warnings and style(9) issues. Set WARNS to 6. END K 10 svn:author V 3 osa K 8 svn:date V 27 2011-03-12T14:57:10.690680Z K 7 svn:log V 926 MFC r216697: Fix typo (Pashka -> Paskha). MFC r217025: Fix typo: March -> September. MFC r218471: Fix Paskha and Paskha-specific holidays. MFC r218473: Always convert Paskha day from Julian (old) to Gregorian (new) style by adding 13 days. Bug introduced in 1.13 revision. MFC r218771: Fix the beginning day of the Great Lent, it starts on Monday for 7 weeks before Paskha. Fix the Exaltation of the Holy Cross day. Add more Twelve holidays (dvunadesyatye prazdniki). MFC r218797: Replace hard-coded value by Julian2Gregorian converter function. MFC r219174: Fix beginning day of the Carnival. MFC r219175: Expand the name of Palm Sunday holiday with more canonical Entry of the Lord into Jerusalem. Merge the Pentecost and Trinity Sunday holidays, they are synonyms. Remove Body of Christ day, nonexistent holiday for Orthodox Church. Fix typo in the name of Ioann The Baptist, introduced in previous commit. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-12T16:45:15.130264Z K 7 svn:log V 305 Push a possible "unbind" in some situation from in6_pcbsetport() to callers. This also fixes a problem when the prison call could set the inp->in6p_laddr (laddr) and a following priv_check_cred() call would return an error and will allow us to merge the IPv4 and IPv6 implementation. MFC after: 2 weeks END K 10 svn:author V 5 kargl K 8 svn:date V 27 2011-03-12T16:50:39.964748Z K 7 svn:log V 207 Implement the long double version for the cube root function, cbrtl. The algorithm uses Newton's iterations with a crude estimate of the cube root to converge to a result. Reviewed by: bde Approved by: das END K 10 svn:author V 5 kargl K 8 svn:date V 27 2011-03-12T17:03:41.108887Z K 7 svn:log V 140 Temporary disable the building of cbrtl until I can determine why svn will not allow one to commit a new file. Approved by: das (implicit) END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-12T17:05:18.312733Z K 7 svn:log V 58 Document GEOM_PART_EBR_COMPAT option. MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-12T19:05:39.425330Z K 7 svn:log V 160 Add example of using 'scan' for wireless networks, similarly to OpenBSD's ifconfig(8). PR: 151952 Submitted by: Jared (rhyous of yahoo com) MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-12T19:07:19.295126Z K 7 svn:log V 44 Remove unneeded newline. MFC after: 1 week END K 10 svn:author V 5 kargl K 8 svn:date V 27 2011-03-12T19:37:35.442725Z K 7 svn:log V 324 Take two. Add the missing file that should have been committed with r219571 and re-enable building of cbrtl. Implement the long double version for the cube root function, cbrtl. The algorithm uses Newton's iterations with a crude estimate of the cube root to converge to a result. Reviewed by: bde Approved by: das END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-12T20:36:52.006044Z K 7 svn:log V 119 Allocate the DMA memory shared between the host and the controller as coherent. Approved by: gibbs MFC after: 2 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-12T21:13:08.056209Z K 7 svn:log V 602 Use the allexport option in load_rc_config() in order to avoid having to repeatedly read the conf files. Depending on what is enabled the files are being read anywhere from 15, 30, or more times currently. By loading the values in the environment this is reduced to 1, with perhaps a couple more, again depending on what is enabled. The speed-up for boot and shutdown is negligible when rc.conf is on local disk, noticable when accessing files over NFS, and dramatic when pulling rc.conf values from a database. This change also includes a minor optimization to the conditional for $_rc_conf_loaded. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-12T21:46:37.080652Z K 7 svn:log V 159 Merge the two identical implementations for local port selections from in_pcbbind_setup() and in6_pcbsetport() in a single in_pcb_lport(). MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-12T21:50:48.965977Z K 7 svn:log V 103 INET6 for some time needed in_pcb.c so make sure we compile it in case of no inet. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-12T21:51:56.907005Z K 7 svn:log V 56 Fix grammar. Pointed out: Ben Kaduk MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-12T22:46:36.629713Z K 7 svn:log V 56 Add missing mdio_total_disks initialization on `label`. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-12T22:48:51.565588Z K 7 svn:log V 56 Add support for SiliconImage RAID BIOS metadata format. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-13T01:38:24.767425Z K 7 svn:log V 300 Add generation of memstick images to the bsdinstall release makefile for i386 and amd64. This involved moving the memstick generation script to the arch directories from scripts/, in analogy to mkisoimages.sh. This script was never called from /usr/src/release/Makefile, so that hasn't been updated. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-13T05:30:14.766718Z K 7 svn:log V 273 * Add in some board settings debugging to log what's being written to the TX closed-loop power control registers. * Modify a couple of functions to take the register chain number, rather than the regChainOffset value. This allows for the register chain to be logged. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-13T05:54:05.973282Z K 7 svn:log V 273 Move out some of the shared eeprom board value calculation routines into ah.c rather than duplicating them for the v14 (ar5416+) and v4k (ar9285) codebases. Further chipsets (eg the AR9287) have yet another EEPROM format which will use these routines to calculate things. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-13T08:22:46.360136Z K 7 svn:log V 64 Remove the svn:executable property on Makefile Add it on hastd END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-13T08:23:59.539421Z K 7 svn:log V 118 The number of streams is not based on the interface stream count, but the number of streams needed for that MCS rate. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-13T08:28:21.071617Z K 7 svn:log V 197 Commit FIFO configuration fixes from OpenWRT. This fixes performance issues with if_arge on the AR913x and AR724x. Reference: https://dev.openwrt.org/ticket/6754 Submitted by: Luiz Otavio O Souza END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-13T08:34:14.905170Z K 7 svn:log V 99 Fix the TX underrun status reset; remove a now unused variable. Submitted by: Luiz Otavio O Souza END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-13T08:36:57.436022Z K 7 svn:log V 91 Add the missing AR724x DDR flush routines for if_arge0. Submitted by: Luiz Otavio O Souza END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-13T08:46:58.002826Z K 7 svn:log V 125 * Add wireless MAC reset, in prep for bringing over AR9130 support. * Whilst I'm here, reformat to fit inside 80 characters. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-13T08:59:46.231863Z K 7 svn:log V 71 Add support for SiI spare disks creation. Bunch of small improvements. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-13T09:36:52.241454Z K 7 svn:log V 301 MFC r219352: The execution of the shebang script requires putting interpreter path, possible option and script path in the place of argv[0] supplied to execve(2). It is possible and valid for the substitution to be shorter then the argv[0]. Avoid signed underflow in this case. PR: kern/155321 END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-13T10:08:02.065282Z K 7 svn:log V 301 MFC r219352: The execution of the shebang script requires putting interpreter path, possible option and script path in the place of argv[0] supplied to execve(2). It is possible and valid for the substitution to be shorter then the argv[0]. Avoid signed underflow in this case. PR: kern/155321 END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-13T11:40:18.585884Z K 7 svn:log V 449 First step on removing the harcoded RX/TX stream and MCS0-15 assumptions. Initialize ic_rxstream/ic_txstream with 2, for compatibility reasons. Introduce 4 new HTC flags, which are used in addition to ic_rxstream and ic_txstream to compute the hc_mcsset content and also for initializing ni_htrates. The number of spatial streams is enough to determine support for MCS0-31 but not for MCS32-76 as well as some TX parameters in the hc_mcsset field. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-03-13T11:44:16.360004Z K 7 svn:log V 167 Cross-reference ip(4) rather than sysctl(8) for the global, shared MIB values to control the various port ranges. ip(4) describes these in detail. MFC after: 13 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-13T11:45:58.816149Z K 7 svn:log V 501 Change the way HT capatibilities are announced. Get rid of the assumption that every device is capable of 40MHz, SGI and 2 spartial streams. Instead of printing, in the worst case, 8 times 76 MCS rates, print logically connect ranges and the support RX/TX streams. A device without 40MHz and SGI support looks like: ath0: 2T2R ath0: 11na MCS 20Mhz ath0: MCS 0-7: 6.5Mbps - 65Mbps ath0: MCS 8-15: 13Mbps - 130Mbps ath0: 11ng MCS 20Mhz ath0: MCS 0-7: 6.5Mbps - 65Mbps ath0: MCS 8-15: 13Mbps - 130Mbps END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-13T11:47:43.732633Z K 7 svn:log V 89 While determining the maxrate for ieee80211_media_setup() honor the device capabilities. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-13T11:56:33.774839Z K 7 svn:log V 331 Fill hc_mcsset completely. Contrary to the rateset information in legacy frames the MCS Set field also contains TX capability information in cases where the number of available TX and RX spartial streams differ. Because a rateset doesn't contain that information we have to pull the those directly from the hardware capabilities. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-13T11:58:40.801072Z K 7 svn:log V 814 Fix rmax calculation during BSS selection. If multiple networks are available the max bandwidth is one condition used for selecting the "best" BSS. To achieve that we should consider all parameters which affect the max RX rate. This includes 20/40MHz, SGI and the of course the MCS set. If the TX MCS parameters are available we should use those, because an AP announcing support for receiving frames at 450Mbps might only be able to transmit at 150Mbps (1T3R). I haven't seen devices with support for transmitting at higher rates then receiving, so prefering TX over RX information should be safe. While here, remove the hardcoded assumption that MCS15 is the max possible MCS rate, use MCS31 instead which really is the highest rate (according to the 802.11n std). Also, fix a mismatch of an 40MHz/SGI check. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-13T12:16:23.074507Z K 7 svn:log V 203 Honor device capabilities while initializing ni_htrates. Instead of hardcoding MCS0-15 generate the table dynamically, also restrict the MCS rates to our own capabilities while parsing a htcap element. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-13T12:21:04.882384Z K 7 svn:log V 153 Fix a cut&paste error while parsing htcap/htinfo elements. This one is reponsible for not filling ni_htrates if a pre-ht information element is present. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-13T12:56:46.100890Z K 7 svn:log V 389 When injecting frames a temporary node is faked, during this several uses of ic_curchan occur. Due to the nature of a scan, switching channels constantly and all this happening without any kind of locks held, it might happen that ic_curchan points to nowhere leading to panics. Fix this by not allowing frame injections while in SCAN state. Tested by: Paul B. Mahol END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-13T13:00:45.004636Z K 7 svn:log V 611 Fix the nfarray offsets for the ar2133/ar5133 radio - (AR5416, AR9160, etc.) The offsets didn't match the assumption that nfarray[] is ordered by the chainmask bits and programmed via the register order in ar5416_cca_regs[]. This repairs that damage and ensures that chain 1 is programmed correctly. (And extension channels will now be programmed correctly also.) This fixes some of the stuck beacons I've been seeing on my AR9160/AR5416 setups - because Chain 1 would be programmed -80 or -85 dBm, which is higher than the actual noise floor and thus convincing the radio that indeed it can't ever transmit. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-13T13:05:50.821695Z K 7 svn:log V 81 Constantly use MHz instead of Mhz. Pointed out by: N.J. Mann END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-13T13:37:23.262794Z K 7 svn:log V 34 Fix mismerge. Pointy hat to: kib END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-13T13:42:43.115677Z K 7 svn:log V 92 Remove the advertising clause from the UCB license according to the July 22, 1999 addendum. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-13T14:58:02.105817Z K 7 svn:log V 160 Enable shared page use for amd64/linux32 and i386/linux binaries. Move signal trampoline code from the top of the stack to the shared page. MFC after: 2 Weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-13T15:08:06.463640Z K 7 svn:log V 105 Connect the full doc build (Handbook, etc.) to the build. This is not built if no doc checkout is found. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-13T16:20:38.955257Z K 7 svn:log V 38 sh: Add some tests for ${#parameter}. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-13T16:27:36.070457Z K 7 svn:log V 15 Revert r219578 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-13T16:47:21.701220Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 5 pawel K 8 svn:date V 27 2011-03-13T17:03:19.917577Z K 7 svn:log V 43 add myself Approved by: miwi (mentor) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-13T17:15:31.538025Z K 7 svn:log V 157 Add generation of an installation manifest containing SHA256 checksums as well as package descriptions and add code in the installer to check the checksums. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-13T18:02:28.083998Z K 7 svn:log V 101 Fix some typos due to unremoved commented-out lines. A great big pointy hat goes to me for this one. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-13T18:23:47.639080Z K 7 svn:log V 230 Use the manifest file count, if available, to determine the number of files in the archive instead of spinning through it to get a file count for the progress bar. This speeds up installation a lot on systems with slow CD drives. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-13T18:26:16.215759Z K 7 svn:log V 75 Rewind manifest file in case distributions are in a different order there. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-13T19:07:58.731852Z K 7 svn:log V 198 Add few more bricks to the Promise metadata module. Add free_volume() method to metadata API to allow private data cleanup on volume destruction. Unlike previous, Promise uses many per-volume data. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-03-13T19:23:32.775550Z K 7 svn:log V 120 In command line options allow size to be specified using k/M/G/T suffixes. Approved by: pjd (mentor) MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-13T19:35:13.701200Z K 7 svn:log V 77 POSIX accepts only ELOOP if O_NOFOLLOW is specified and target is a symlink. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-13T20:01:00.540093Z K 7 svn:log V 47 Restore accidentally removed free_disk() call. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-13T20:02:39.969164Z K 7 svn:log V 393 sh: Fix some parameter expansion variants ${#...}. These already worked: $# ${#} ${##} ${#-} ${#?} These now work as well: ${#+word} ${#-word} ${##word} ${#%word} There is an ambiguity in the standard with ${#?}: it could be the length of $? or it could be $# giving an error in the (impossible) case that it is not set. We continue to use the former interpretation as it seems more useful. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-13T21:23:25.971856Z K 7 svn:log V 192 Don't sleep while setting the clock. This can cause panics when periodic_resettodr() calls CLOCK_SETTIME() and smu tries to sleep while running from a callout. Reported by: Torfinn Ingolfsen END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-13T21:51:47.055320Z K 7 svn:log V 261 - Fix several object reference leaks that prevent module unloading. - Acquire and release Giant in the right places for devclass. - Don't include opt_inet6.h in module builds. - Fix missing dev_t assignment in the cdev code. - Add kobject types for cdevs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-13T22:04:19.600566Z K 7 svn:log V 522 o Make sure the page table has a size that is mappable. Certain page sizes are not supported. o Map the PBVM page table. o Map the PBVM using the largest possible power of 2 that is less than the amount of PBVM used and round down to a valid page size. Note that the current kernel is between 8MB and 16MB in size, which would mean that 8MB would be the typical size of the mapping, if only 8MB wasn't an invalid page size. In practice, we end up mapping the first 4MB of PBVM in most cases. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-14T00:42:48.262535Z K 7 svn:log V 564 Bring over the AR9285 board update code from ath9k. This does a few things in particular: * Abstracts out the gain control settings into a separate function; * Configure antenna diversity, LNA and antenna gain parameters; * Configure ob/db entries - the later v4k EEPROM modal revisions have multiple OB/DB parameters which are used for some form of calibration. Although the radio does have defaults for each, the EEPROM can override them. This resolves the AR2427 related issues I've been seeing and makes it stable at all 11g rates for both TX and RX. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-14T02:32:10.225835Z K 7 svn:log V 24 Fix typo that snuck in. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-14T05:13:52.126800Z K 7 svn:log V 85 Change the sz argumnt to mmu_wire() from u_int to vm_size_t. It's a size in bytes... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-14T05:16:12.586874Z K 7 svn:log V 256 Move the actual code to the front of the segment and make sure the IVT can be put right at the front when put in its own section. This makes sure that when the loader can only map a relatively small part of the PBVM, the IVT and the startup code is wired. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-14T05:18:27.061630Z K 7 svn:log V 39 Expose the PBVM constants to assembly. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-14T05:29:45.948755Z K 7 svn:log V 951 o Deal with unmapped PBVM in the alternate instruction and data TLB fault handlers. o Put the IVT in its own section and keep the supporting code close. o Make sure the VHPT is sized so that it can be mapped using a single translation. o Map the PAL code and VHPT with a translation that has the right size. Assume the platform has a PAL code size that can be mapped with a single translations. o Pass the pointer to the bootinfo structure as an argument to ia64_init(). o Get rid of LOG2_ID_PAGE_SIZE and IA64_ID_PAGE_SIZE. It was used to map the regions 6 & 7 and was as large as possible. The problem is that we can't support memory attributes easily if the granuratity is not a page. We need to support memory attributes because the new USB stack violates the BUS_DMA(9) interface. o Update some comments... NOTE: this is broken for SMP kernels, because the AP startup code hasn't been updated yet. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-14T09:50:14.344079Z K 7 svn:log V 1283 MFC cxgbe(4) and fixes. r218792: cxgbe(4) - NIC driver for Chelsio T4 (Terminator 4) based 10Gb/1Gb adapters. r219285: Fix incorrect assertion. r219286: Resume tx immediately in response to an SGE egress update from the hardware. r219287: Upgrade the firmware on the card automatically if a better version is available. Downgrade only for a major version mismatch. r219288: A txpkts work request should have a valid FID. r219289: Store the ifnet rather than the port_info in each txq and rxq struct. r219290: Tweaks for rx: - everything related to LRO should be in #ifdef INET blocks - reorder sge_iq's fields so that the most frequently used are all together - pull all rx code into t4_intr_data directly - let go of the ingress queue lock when passing up data - refill the freelist only if it is short of at least 32 buffers r219292: Calculate how many descriptors can be reclaimed before calling reclaim_tx_descs r219293: There is no need to hold an ingress queue's lock while processing its descriptors r219299: Be sure to stay within the bounds of the mod_str array when displaying the transceiver type. r219392: cxgbe shouldn't directly know of the UMA zones where network buffers come from. r219436: Display holdoff timers and packet counts as a list of numbers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-14T09:54:16.912126Z K 7 svn:log V 254 Since Promise metadata are volume-centric (previous were array-centric), give each volume own root mount hold token, timeout and start event to allow them operate independently. Add volume_event() method to MD API to handle volume level metadata events. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-14T10:51:24.614053Z K 7 svn:log V 25 Parse volume parameters. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-14T11:07:12.673196Z K 7 svn:log V 116 Fix potential panic in dbuf_sync_list() relate to spill blocks handling. Obtained from: IllumOS MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-14T11:20:26.678561Z K 7 svn:log V 51 MFC r219388: Simplify uses of the web of pointers. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-14T13:02:12.651412Z K 7 svn:log V 41 Add my birthday to the freebsd calendar. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-14T13:31:34.372637Z K 7 svn:log V 176 Backport SSSE3 instruction set support to base gcc. Enabled by default for -march=core2 Obtained from: gcc 4.3 (rev. 117958, 121687, 121726, 123639; GPLv2) MFC after: 2 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-14T13:36:51.963096Z K 7 svn:log V 88 Add ssse3 capability for CPUTYPE=core2 to MACHINE_CPU in bsd.cpu.mk MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-14T13:47:17.817718Z K 7 svn:log V 90 Thanks to sysinstall for its 15 years of service. And now to sleep, perchance to dream... END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-14T17:08:30.103668Z K 7 svn:log V 360 MFC r209710: Extend the kernel unit number allocator for allocating specific unit numbers. This change adds a new function alloc_unr_specific() which returns the requested unit number if it is free. If the number is already allocated or out of the range, -1 is returned. Update alloc_unr(9) manual page accordingly and add a MLINK for alloc_unr_specific(9). END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-14T17:22:34.710308Z K 7 svn:log V 140 Few more bricks making Promise volumes reading basically working. Extend volume name fields from 16 to 32 characters, supported by Promise. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-14T19:04:44.223769Z K 7 svn:log V 41 Do not sleep in callout handler context. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-14T19:31:43.377596Z K 7 svn:log V 60 Don't forget to read subdisks position/sizes from metadata. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-14T22:05:59.426524Z K 7 svn:log V 130 When TSC is unavailable, broken or disabled and the current timecounter has better quality than i8254 timer, use it for DELAY(9). END K 10 svn:author V 7 davidch K 8 svn:date V 27 2011-03-14T22:42:41.026270Z K 7 svn:log V 124 - Initial release of bxe(4) to support Broadcom NetXtreme II 10GbE. (BCM57710, BCM57711, BCM57711E) MFC after: One month END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-03-14T22:51:51.383950Z K 7 svn:log V 1115 Partially MFC r209867 and r215439, to provide rudimentary support for linking i386 (32 bit) executables on amd64, using gcc's -m32 option. r209867 introduces the needed multilib options to gcc's multilib.h, but was originally intended just for powerpc64. r215439 teaches the linker to search in /usr/lib32 for elf_i386_fbsd output, and amends r209867 to apply to amd64 too. NOTE: this MFC does NOT provide full support for compiling and linking all existing 32 bit programs on amd64, since /usr/include/machine still contains amd64-specific headers. Though simple "Hello World" type programs work, anything relying on machine-specific types might fail in various interesting ways. You have been warned. :) MFC r209867: Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes a variety of bugs in binutils related to handling of 64-bit PPC ELF, provides a GCC configuration for 64-bit PowerPC on FreeBSD, and associated build systems tweaks. Obtained from: projects/ppc64 MFC r215439: Let gcc and ld know where to find 32 bit libraries on amd64. Reviewed by: arch@ Approved by: kib (mentor) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-14T23:09:15.765110Z K 7 svn:log V 80 - Add -fms-extensions to the OFED compile line to support anonymous unions. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-14T23:13:01.882277Z K 7 svn:log V 293 - Port the Mellanox 10gigE driver. This supports ConnectX-2 cards which can be dual IB/Ethernet adapters. The port supports all of the usual high-end offloads. TSO/LRO/RSS/checksums etc. This is a beta quality driver, work is still underway. Sponsored by: Mellanox Technologies END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-14T23:16:57.887526Z K 7 svn:log V 187 - Use SLIST_FOREACH_SAFE when removing OIDs which will be freed when not using a sysctl context. I don't know how we could've gone this long without running into this bug before. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-14T23:19:04.463648Z K 7 svn:log V 389 - Rename mlx4 to mlx4ib to indicate that it is the infiniband mlx4 driver. - Add the mlxen device for the ethernet front end. I chose not to name it mlx4en to avoid confusion in scripts which parse unit numbers. - Add module builds for Infiniband device drivers. Currently the stack must be compiled in for various reasons but drivers can be dynamically loaded and unloaded. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-14T23:30:14.440522Z K 7 svn:log V 74 Make get_cyclecount(9) little bit more useful where binuptime(9) is used. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-14T23:49:41.907981Z K 7 svn:log V 344 Don't define IA64_PBVM_PAGE_SIZE as 1U shifted to the left by some amount. The compiler seems to assume it's a 32-bit integral and rounding to the page size using the standard expression (((u_long)(x) + mask) & ~mask), results in a 32-bit value. Dropping the 'U' suffix is enough to have the compiler treat the expression as a 64-bit integral. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-14T23:54:19.005731Z K 7 svn:log V 174 - Putting my module defines in SI_SUB_KLD made them sensitive to link order. Move them all the way down to SI_SUB_SMP. The module handlers don't do anything anyway. END K 10 svn:author V 7 davidch K 8 svn:date V 27 2011-03-15T01:06:27.365786Z K 7 svn:log V 96 - Inadvertently committed files with +x attribute, fixed. - Minor change to info output string. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-15T06:04:13.183241Z K 7 svn:log V 110 Round the size, not the top address. This makes the code less sensitive to compiler bugs (32-bit truncation). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-15T06:07:02.211229Z K 7 svn:log V 83 Re-order the TRs so that there're less gaps. This could have a performance impact. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-15T06:53:33.568225Z K 7 svn:log V 290 Prefer to use CONCAT transformation module for any array with only one disk. AMD/ATI RAID BIOS for some reason writes RAIDREADY disk as 1-disk RAID0, not as JBOD. Not sure Promise BIOS does the same to just map it at MD. 1-disk RAID0 is also works fine, but CONCAT is more efficient there. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-15T07:15:04.247636Z K 7 svn:log V 183 MFC r219127: Add XMIT_FAILOVER transmit algorithm to ng_one2many node. Packets are delivered out the first active "many" hook. PR: kern/137775 Submitted by: Maxim Ignatenko END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-15T07:15:46.738152Z K 7 svn:log V 192 MFC r219127: Add XMIT_FAILOVER transmit algorithm to ng_one2many node. Packets are delivered out the first active "many" hook. PR: kern/137775 Submitted by: Maxim Ignatenko END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-03-15T08:20:59.718413Z K 7 svn:log V 522 MFC kern.msgbufsize: r217688-217689,r217709,r218666-218667,r218913. Note, that arm/{s3c2xx0,econa} exist only in head, thus not merged. r217688: Make MSGBUF_SIZE kernel option a loader tunable kern.msgbufsize. r217689: Add kern.msgbufsize default setting to /boot/defaults/loader.conf. r217709,218666-218667,218913 by marcel, cognet: Fix up for various arm subtargets: call init_param1() before we use msgbufsize, now that the size of the message buffer is a tunable. Reviewed by: marcel Approved by: avg (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2011-03-15T10:13:35.446575Z K 7 svn:log V 184 Forgot to commit this change along with r219563: pam_group(8) now issues a warning if neither luser nor ruser is specified. The correct option for su(1) is ruser. MFC after: 1 month END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-15T10:17:18.037828Z K 7 svn:log V 124 MFC r219396: Do not assert buffer lock in VFS_STRATEGY() when kernel already paniced. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-15T12:24:40.148388Z K 7 svn:log V 50 Add initial support for Promise metadata writing. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-03-15T13:19:26.626291Z K 7 svn:log V 943 MFC r218497: Linux' shm_open() fails because it wants to find some funky shmfs to construct the full pathname. It starts to search at the default mountpoint which is /dev/shm. If this fails it runs through fstab and searches for shmfs and tmpfs. Whatever it finds will be statfs()'ed to be checked for Linux' fs magic for shmfs (0x01021994). Ideally our tmpfs should deliver this fs magic to Linux processes, but as our tmpfs is considered to be an experimental feature we can not assume that there is always a tmpfs available. To make shared memory work in the Linuxulator, force the fs type of /dev/shm (which can be a symlink) to match what Linux expects. The user is responsible (info has to be added to the linux base ports and the docs) to setup a suitable link for /dev/shm. Noticed by: Andre Albsmeier Submitted by: Andre Albsmeier END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-15T13:27:34.959598Z K 7 svn:log V 75 Turn on softupdates by default. We need a UI to set filesystem parameters. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2011-03-15T13:40:47.144328Z K 7 svn:log V 123 Staticize functions which are not used somewhere else, move the corresponding prototypes from the header to the code file. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-15T13:53:39.872659Z K 7 svn:log V 57 Remove #include needed for debugging. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-15T15:59:37.725348Z K 7 svn:log V 116 - Fix copyright years - Add __FBSDID() - Sort the static variables by use, size and makes comments style compliant. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-15T16:50:17.987750Z K 7 svn:log V 153 Reserve 24KB for the static kernel stack. We use this stack to call into the firmware for physical mode calls and the Altix doesn't work when it's 16KB. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-15T17:14:26.743786Z K 7 svn:log V 213 Unconditionally use binuptime(9) for get_cyclecount(9) on i386. Since this function is almost exclusively used for random harvesting, there is no need for micro-optimization. Adjust the manual page accordingly. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-15T17:19:52.718510Z K 7 svn:log V 77 Deprecate tsc_present as the last of its real consumers finally disappeared. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-15T17:59:30.900380Z K 7 svn:log V 76 Fix a typo in the previous commit. AMD64 and Intel 64 are two brand names. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-15T18:09:29.632086Z K 7 svn:log V 43 Remove tsc_present from this file, really. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-15T19:47:20.075482Z K 7 svn:log V 157 Do not let machdep.tsc_freq modify tsc_freq itself. It is bad for i386 as it does not operate atomically. Actually, it serves no purpose. Noticed by: bde END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-15T20:24:21.208494Z K 7 svn:log V 486 MFC r218019: Do not trip a KASSERT if /dev/null cannot be opened for a setuid program. The fdcheckstd() function makes sure fds 0, 1 and 2 are open by opening /dev/null. If this fails (e.g. missing devfs or wrong permissions), fdcheckstd() will return failure and the process will exit as if it received SIGABRT. The KASSERT is only to check that kern_open() returns the expected fd, given that it succeeded. Tripping the KASSERT is most likely if fd 0 is open but fd 1 or 2 are not. END K 10 svn:author V 3 ken K 8 svn:date V 27 2011-03-15T21:34:10.968419Z K 7 svn:log V 2060 MFC: 212624, 212669, 213535 Merge the mps(4) man page. r212624 | ken | 2010-09-14 15:40:29 -0600 (Tue, 14 Sep 2010) | 7 lines MFp4 (//depot/projects/mps/...) Add a man page for the mps(4) driver, and reference it in the mpt(4) driver man page. Sponsored by: Spectra Logic Corporation r212669 | ken | 2010-09-15 10:05:51 -0600 (Wed, 15 Sep 2010) | 6 lines MFp4 (//depot/projects/mps/...) Fix a typo. Submitted by: pluknet at gmail dot com r213535 | ken | 2010-10-07 15:56:10 -0600 (Thu, 07 Oct 2010) | 36 lines Turn on serialization of task management commands going down to the controller, but make it optional. After a problem report from Andrew Boyer, it looks like the LSI chip may have issues (the watchdog timer fired) if too many aborts are sent down to the chip at the same time. We know that task management commands are serialized, and although the manual doesn't say it, it may be a good idea to just send one at a time. But, since I'm not certain that this is necessary, add a tunable and sysctl variable (hw.mps.%d.allow_multiple_tm_cmds) to control the driver's behavior. mps.c: Add support for the sysctl and tunable, and add a comment about the possible return values to mps_map_command(). mps_sas.c: Run all task management commands through two new routines, mpssas_issue_tm_request() and mpssas_complete_tm_request(). This allows us to optionally serialize task management commands. Also, change things so that the response to a task management command always comes back through the callback. (Before it could come via the callback or the return value.) mpsvar.h: Add softc variables for the list of active task management commands, the number of active commands, and whether we should allow multiple active task management commands. Add an active command flag. mps.4: Describe the new sysctl/loader tunable variable. Sponsored by: Spectra Logic Corporation Reminded by: Hubert Tournier END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-15T21:45:10.033642Z K 7 svn:log V 285 Partially revert r219672. After r198295, kernel need to seed randomness as soon as possible for stack protector. However, dummy timecounter does not have enough entropy and we don't need to sacrifice Pentium class and later. Pointed out by: Maxim Dounin (mdounin at mdounin dot ru) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-15T22:22:11.809856Z K 7 svn:log V 88 bin: Prefer strrchr() to rindex(). This removes the last index/rindex usage from /bin. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-15T23:28:15.680625Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@219680 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-15T23:51:47.006924Z K 7 svn:log V 344 rfork(2): Discourage rfork_thread-like approaches. Calling rfork_thread(3) does not interoperate with pthreads and global state is not properly protected. Remove the BUGS section suggesting LinuxThreads entirely. With the current pthread library libthr, all threads are kernel-level entities so there seems little reason to use LinuxThreads. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-16T00:08:10.089857Z K 7 svn:log V 225 Revert previous commit: EFI_STATUS is a 64-bit integral on ia64. Fix the compile warning on i386 (where EFI_STATUS is a 32-bit integral) by casting the status argument to u_long instead. Pointy hat: brucec MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-16T00:42:15.707507Z K 7 svn:log V 281 Fix mv_gpio_in() for pin numbers that occupy bits 8-31 in GPIO registers. The compiler will truncate the 32-bit return value of mv_gpio_value_get() to match the 8-bit return value of mv_gpio_in(). A conditional expression is used to have mv_gpio_in() always return 0 or 1 instead. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-16T03:07:08.952234Z K 7 svn:log V 252 Vendor import of tzdata2011d: - Pacific/Apia will have DST on 2 April instead of 3 April in 2011. - Turkye will go to DST on 28 April instead of 27 April in 2011. - Cuba will go to DST on 20 April in 2011. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-16T03:23:46.598840Z K 7 svn:log V 24 Tag of tzdat2011d data. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-16T03:28:42.853310Z K 7 svn:log V 251 MFV of r219685, tzdata2011d - Pacific/Apia will have DST on 2 April instead of 3 April in 2011. - Turkye will go to DST on 28 April instead of 27 April in 2011. - Cuba will go to DST on 20 April in 2011. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-16T03:34:12.291325Z K 7 svn:log V 251 MFC of 219687, tzdata2011d: - Pacific/Apia will have DST on 2 April instead of 3 April in 2011. - Turkye will go to DST on 28 April instead of 27 April in 2011. - Cuba will go to DST on 20 April in 2011. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-16T03:34:41.618504Z K 7 svn:log V 251 MFC of 219687, tzdata2011d: - Pacific/Apia will have DST on 2 April instead of 3 April in 2011. - Turkye will go to DST on 28 April instead of 27 April in 2011. - Cuba will go to DST on 20 April in 2011. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-16T03:35:12.869683Z K 7 svn:log V 251 MFC of 219687, tzdata2011d: - Pacific/Apia will have DST on 2 April instead of 3 April in 2011. - Turkye will go to DST on 28 April instead of 27 April in 2011. - Cuba will go to DST on 20 April in 2011. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-16T03:53:18.189217Z K 7 svn:log V 1075 MFaltix: Add support for Pre-Boot Virtual Memory (PBVM) to the loader. PBVM allows us to link the kernel at a fixed virtual address without having to make any assumptions about the physical memory layout. On the SGI Altix 350 for example, there's no usuable physical memory below 192GB. Also, the PBVM allows us to control better where we're going to physically load the kernel and its modules so that we can make sure we load the kernel in memory that's close to the BSP. The PBVM is managed by a simple page table. The minimum size of the page table is 4KB (EFI page size) and the maximum is currently set to 1MB. A page in the PBVM is 64KB, as that's the maximum alignment one can specify in a linker script. The bottom line is that PBVM is between 64KB and 8GB in size. The loader maps the PBVM page table at a fixed virtual address and using a single translations. The PBVM itself is also mapped using a single translation for a maximum of 32MB. While here, increase the heap in the EFI loader from 512KB to 2MB and set the stage for supporting relocatable modules. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-16T04:03:13.248983Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@219691 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-03-16T08:22:29.066213Z K 7 svn:log V 161 o) Properly size caches and TLB on Octeon. o) Make COP0_SYNC do nothing on Octeon, which is fully interlocked. Submitted by: Bhanu Prakash (with modifications) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-03-16T08:51:36.430879Z K 7 svn:log V 155 o) Clean up FPA pools on module unload. o) Allocate output buffer pool based on available output queues. Submitted by: Bhanu Prakash (with modifications) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-03-16T08:56:22.661838Z K 7 svn:log V 71 o) Tear down receive interrupt on detach. Submitted by: Bhanu Prakash END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-16T08:58:09.129428Z K 7 svn:log V 581 From fts.c comment: The "FTS_NOSTAT" option can avoid a lot of calls to stat(2) if it knows that a directory could not possibly have subdirectories. This is decided by looking at the link count: a subdirectory would increment its parent's link count by virtue of its own ".." entry. This assumption only holds for UFS-like filesystems that implement links and directories this way, so we must punt for others. It looks like ZFS is a UFS-like file system, as the above also holds for ZFS. Add ZFS to the list of file systems that allow for such optimization. MFC after: 1 month END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-16T12:40:58.094112Z K 7 svn:log V 133 Fix -march/-mtune=native autodetection for Intel Core 2 CPUs Obtained from: gcc 4.3 (partial rev. 119454; GPLv2) MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-16T16:09:08.253906Z K 7 svn:log V 229 Rework r219679. Always check CPU class at run-time to make it predictable. Unfortunately, it pulls in but it is small enough and namespace pollution is minimal, I hope. Pointed out by: bde Pointy hat: jkim END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2011-03-16T16:22:59.104840Z K 7 svn:log V 212 The hardware has caught up; improvements are now observed even at 128, but stay conservative and bump read_max to "only" 64 (it will probably be a good idea to increase this to 128 after the next major release). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-16T16:44:08.057274Z K 7 svn:log V 40 Revert r219676. Requested by: jhb, bde END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-16T17:09:51.477116Z K 7 svn:log V 744 Remove too expensive bus_dmamap_sync(9) call in dc_rx_resync(). With this change, driver may not notice updated descriptor status change when bounce buffers are active. However, rxeof() in next run will handle the synchronization. Change dc_rxeof() a bit to return the number of processed frames in RX descriptor ring. Previously it returned the number of frames that were successfully passed to upper stack which in turn means it ignored frames that were discarded due to errors. The number of processed frames in RX descriptor ring is used to detect whether driver is out of sync with controller's current descriptor pointer. Returning number of processed frames reduces unnecessary (probably wrong) re-synchronization. Reviewed by: marius END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-16T20:04:56.535182Z K 7 svn:log V 126 Set control flags in putc(). This should fix zfsboot hangs in drvread(). PR: kern/153552 Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-16T20:19:48.214615Z K 7 svn:log V 116 The size of zfsboot2 grown up to 64 Kbytes in r219089. Increase NSECT up to 128 sectors too. Reviewed by: jhb, pjd END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-16T20:53:41.863384Z K 7 svn:log V 24 Import ACPICA 20110316. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-16T20:54:58.912156Z K 7 svn:log V 21 Tag ACPICA 20110316. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2011-03-16T22:51:34.844672Z K 7 svn:log V 226 o) Set MAC addresses starting at the MAC base for all management ports, not just the MR-730. o) Start MAC addresses for the non-management ports after the management ports. Submitted by: Bhanu Prakash (with modifications) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-17T00:29:53.014468Z K 7 svn:log V 23 Merge ACPICA 20110316. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-03-17T01:05:54.469039Z K 7 svn:log V 181 Remove uptime validity check that hasn't been necessary since r151417 switched to clock_gettime. vmstat will now not exit with an error if run on a system with 10 years of uptime. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-17T04:30:43.903783Z K 7 svn:log V 107 Don't add sigwait.c to MISRCS here when sigwait.c lives under ../sys and it's already added to SRCS there. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-17T04:40:37.935159Z K 7 svn:log V 348 When building libc with the syscall compatibility, don't also generate the syscall assembly files. This results in conflicting dependencies and can cause unexpected results for parallel builds. This is because the .c file and the .S file both generate the same .o file. Submitted by: Simon Gerraty Sponsored by: Juniper Networks END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-17T09:44:33.097032Z K 7 svn:log V 302 Backport missing tunings for -march=core2: - enable extra 80387 mathematical constants (ext_80387_constants) [1] - enable compare and exchange 16 bytes (cmpxchg16b) [2] Verified against llvm-gcc (and apple gcc) Obtained from: gcc-4.3 (ref. svn revs. 119260 [1], 121140 [2]; GPLv2) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-17T11:23:12.714151Z K 7 svn:log V 421 Remove the #if defined(FFS) || defined(IFS) braces around the calls to ffs_snapgone(). ufs.ko module is not build with FFS define, causing snapshot inode number slots in superblock never be freed, as well as a reference on the snapshot vnode. IFS was removed several years ago, and UFS/FFS separation was not maintained for real. Reported, analyzed and tested by: Yamagi Burmeister MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-17T11:25:32.379202Z K 7 svn:log V 180 Implement the usertime and systime keywords for ps, printing the corresponding times reported by getrusage(). Submitted by: Dan Nelson MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-17T15:11:06.856067Z K 7 svn:log V 25 Remove merge left-overs. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-17T16:16:09.203395Z K 7 svn:log V 71 SYSCTL_ADD_ULONG() doesn't have a default value like SYSCTL_ADD_UINT() END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-17T16:35:37.289532Z K 7 svn:log V 51 Make it easier to switch to relocatable kernels... END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-17T17:29:46.877393Z K 7 svn:log V 201 Add more details to the 'show battery' command including more raw capacity values, charge cycle count, temperature, and more detailed status. Reviewed by: bz, emaste (older version) MFC after: 1 week END K 10 svn:author V 8 andreast K 8 svn:date V 27 2011-03-17T19:44:00.762600Z K 7 svn:log V 75 Remove duplicate definition of FIRSTARG. Approved by: nwhitehorn (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-03-17T19:47:28.864401Z K 7 svn:log V 148 Import compiler-rt r127823. Changes: - License change; now it's also dual licensed under the MIT licence. - Addition of divmodsi4 and udivmodsi4. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-03-17T19:48:31.523102Z K 7 svn:log V 25 Tag compiler-rt r127823. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-03-17T21:02:14.309283Z K 7 svn:log V 335 For secondary, set 2 * HAST_KEEPALIVE seconds timeout for incoming connection so the worker will exit if it does not receive packets from the primary during this interval. Reported by: Christian Vogt Tested by: Christian Vogt Approved by: pjd (mentor) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-17T21:24:32.877126Z K 7 svn:log V 56 Preserve errno in an error case. Submitted by: gcooper END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-17T22:17:56.663196Z K 7 svn:log V 68 Formatting fix. Submitted by: arundel (via doc@) MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-17T22:35:29.252487Z K 7 svn:log V 116 MFC 219455: - Move the explanation of using arguments for the PRIMARIES above the list of PRIMARIES. PR: 151812 END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-17T22:36:21.282297Z K 7 svn:log V 116 MFC 219455: - Move the explanation of using arguments for the PRIMARIES above the list of PRIMARIES. PR: 151812 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-17T22:47:52.265119Z K 7 svn:log V 403 MFC r219256: Fix some _POSIX minimum/maximum values in limits.h: * Some values changed in POSIX.1-2001; provide the former value if a program requests compliance to an earlier version of POSIX. [1] * Add missing _POSIX_CLOCKRES_MIN constant. This is a maximum value but otherwise works the same as the minimum values. PR: standards/104743 Submitted by: bde [1] (not exact #ifdefs, but the values) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2011-03-18T06:47:23.780889Z K 7 svn:log V 343 In vm_daemon(), when iterating over all processes in the system, skip those which are not yet fully initialized (i.e. ones with p_state == PRS_NEW). Without it, we could panic in _thread_lock_flags(). Note that there may be other instances of FOREACH_PROC_IN_SYSTEM() that require similar fix. Reported by: pho, keramida Discussed with: kib END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-18T08:48:06.152360Z K 7 svn:log V 227 MFC r210371: Convert md(4) to use alloc_unr(9) and alloc_unr_specific(9) for unit number allocation. The old approach had some problems such as it allowed an overflow to occur in the unit number calculation. PR: kern/122288 END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-18T08:52:26.105935Z K 7 svn:log V 95 MFC r210496: - Remove some extra white space. - Wrap g_md_dumpconf() prototype to 80 columns. END K 10 svn:author V 3 sbz K 8 svn:date V 27 2011-03-18T09:03:14.976851Z K 7 svn:log V 78 Add an entry for myself to committers-ports.dot. Approved by: miwi@ (mentor) END K 10 svn:author V 3 sbz K 8 svn:date V 27 2011-03-18T09:06:06.672732Z K 7 svn:log V 61 Add myself to calendar.freebsd. Approved by: miwi@ (mentor) END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-03-18T10:35:54.104306Z K 7 svn:log V 25 Import openresolv-3.4.1. END