Го7218000 168 454 433 200 208 197 131 491 174 156 350 393 378 148 561 424 152 480 290 212 589 149 163 359 244 151 283 428 388 209 141 327 133 226 349 349 227 227 332 267 302 161 173 222 157 474 204 212 158 469 403 268 1060 480 352 249 212 479 210 247 155 118 272 289 143 231 346 145 542 836 172 336 144 618 283 225 3075 222 814 172 173 173 201 330 288 377 251 223 143 277 265 575 354 209 589 159 159 153 220 427 154 291 182 348 136 348 215 191 453 453 165 165 191 191 176 376 269 269 168 200 113 279 113 231 231 231 231 181 208 215 591 506 898 229 315 151 193 357 163 409 267 217 349 128 187 99 197 124 210 214 326 563 175 923 1221 516 1225 237 169 200 712 301 123 444 154 338 196 321 937 K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-28T00:22:03.610085Z K 7 svn:log V 358 In uart_tty_outwakeup(), check CTS/RTS flow control settings and prevent sending data when CTS is de-asserted. In uart_tty_intr(), call uart_tty_outwakeup() when the CTS signal changed, knowing that uart_tty_outwakeup() will do the right thing for flow control. This avoids redundant conditionals. PR: kern/148644 Submitted by: John Wehle END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-28T02:10:30.508217Z K 7 svn:log V 339 - Improve the tx completion interrupt and polling logic. - Don't call sdp_do_posts() immediately when the connection is established. This causes a race with mlx4 cards but not mthca. - Add disabled interrupt moderation as it did not help me but it may help in other cases. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-28T02:11:15.836164Z K 7 svn:log V 106 - Add support for printing infiniband addresses. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-28T02:11:41.768512Z K 7 svn:log V 114 - Remove some debugging output I accidentally committed. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-01-28T02:12:43.115663Z K 7 svn:log V 103 - Port dapl include files to support freebsd. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-28T05:42:14.970678Z K 7 svn:log V 35 Style(9) fix. MFC after: 1 month. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-28T05:52:02.709157Z K 7 svn:log V 398 Eliminate caching of the good SD in the rebuild. We likely need to be a little more careful... Try to be a little more careful about resetting the rebuild position. Finally, when rebuilding and a write occurs, we need to comare its position against the rebuild position, not the partion offset... This might fix at least some of the corruption that we're seeing with the random_read program... END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-28T06:12:59.131670Z K 7 svn:log V 77 CDDL fixes for MIPS n32. Provide 64 bit atomic ops, and use 32 bit pointer. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-28T06:58:14.860820Z K 7 svn:log V 64 Abort the rebuild if no good disk can be found to rebuild from. END K 10 svn:author V 5 remko K 8 svn:date V 27 2011-01-28T07:04:01.768475Z K 7 svn:log V 255 MFC r174460,174478 Add information about the maximum file size for msdosfs. PR: docs/112935 Submitted by: Julian Stacey Actually this was inspired by the ticket submitted by Julian. MFC After: 3 days PR: docs/112935 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-01-28T08:00:57.720804Z K 7 svn:log V 295 - Remove double semicolon. - Remove reference to sprintf. Use printf directly. This part of the code should be optimised further to avoid many small printouts. Setting a sensible line buffer length could help aswell when printing out megabytes of data per second. Approved by: thompsa (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-28T08:35:55.578689Z K 7 svn:log V 282 Bring in some 802.11n packet duration calculation functions from a mix of Sam/Rui and linux ath9k . This will eventually be used by rate control modules and by the TX code for calculating packet duration when handling rts/cts protection. Obtained from: sam@, rpaulo@, linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-28T08:45:19.567775Z K 7 svn:log V 53 Make space for the extended 802.11n MCS rate tables. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-28T08:57:58.024395Z K 7 svn:log V 465 (Mostly) teach ath_rate_sample about MCS rates. This is just the bare minimum needed to teach ath_rate_sample to try and handle MCS rates. It doesn't at all attempt to find the best rate by any means - it doesn't know anything about the MCS rate relations, TX aggregation or any of the much sexier 11n stuff that's out there. It's just enough to transmit 11n frames and handle TX completion. It shouldn't affect legacy (11abg) behaviour. Obtained from: rpaulo@ END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-28T11:13:01.516590Z K 7 svn:log V 332 Add new user-friendly aliases for partition types for the MBR and EBR schemes: fat32, ebr, linux-data, linux-raid, linux-swap and linux-lvm. Add bios-boot GUID and alias for the GPT scheme. It used by GRUB 2 loader. Also do sorting definitions of types in diskmbr.h and in g_part.c. PR: bin/120990, kern/147664 MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-28T11:56:14.505997Z K 7 svn:log V 61 Document the "bios-boot" partition type. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-28T13:48:22.570604Z K 7 svn:log V 387 Add `graid label` ability to create arrays missing some disks by specifying NONE instead of their names. It can be used, for example, to migrate from non-RAID setup to RAID1 or if further redundant disks are not available at the moment. Add some checks to validate subdisk sizes. Creating too small subdisk could cause crash, while for too large it may be impossible to write metadata. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-28T14:47:09.179428Z K 7 svn:log V 189 Write rc.conf sections from various configuration steps into separate files and then join them and the end. This will allow the introduction of a 'Back' button or equivalent functionality. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-28T15:25:46.366017Z K 7 svn:log V 111 Allow use to revisit configuration choices and have a chroot shell in their shiny new system before rebooting. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-28T15:29:35.671525Z K 7 svn:log V 493 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. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-28T15:32:59.553384Z K 7 svn:log V 49 Prettify rendering of this prompt in the dialog. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-28T16:09:57.502027Z K 7 svn:log V 63 Truncate rc.conf.services at start to avoid duplicate entries. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-28T16:20:15.909217Z K 7 svn:log V 258 Add a generic partedit platform module as a fallback. This is meant for embedded platforms like MIPS and ARM so that partedit can still build. For lack of better information, it is programmed to trust the user's choices choice and never to suggest anything. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-28T16:28:57.717934Z K 7 svn:log V 151 Add support for storing rebuild position in metadata and reading it back. Not sure this implementation is compatible, but it should be enough for now. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-01-28T17:10:37.171912Z K 7 svn:log V 54 Ready for 7.4-RC3 builds. Approved by: re (implicit) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-01-28T17:30:24.066921Z K 7 svn:log V 186 Remove SuperH architecture from a comment as we do not support it. Presumably it was leaked from NetBSD together with rtld-elf mips support. Approved by: kib (mentor) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-28T17:37:09.279416Z K 7 svn:log V 335 If more than one thread allocated sf buffers for sendfile(2), and each of the threads needs more while current pool of the buffers is exhausted, then neither thread can make progress. Switch to nowait allocations after we got first buffer already. Reported by: az Reviewed by: alc (previous version) Tested by: pho MFC after: 1 week END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2011-01-28T18:25:51.516781Z K 7 svn:log V 290 MFC: r217755 r217822 This script parses output of userland tools. In the case of a faulted zpool the output causes the script to bail out with syntax errors. Since a scrub of a faulted zpool is pointless, just skip over any pools marked as such. PR: conf/150228 Approved by: kib (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-28T18:28:06.214908Z K 7 svn:log V 112 To avoid excessive code duplication move struct rusage translation to a separate function. MFC after: 1 Month. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-01-28T18:42:17.446769Z K 7 svn:log V 49 Sync: merge r217802 through r218028 from ^/head. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-28T18:47:07.184125Z K 7 svn:log V 230 Implement a variation of the linux_common_wait() which should be used by linuxolator itself. Move linux_wait4() to MD path as it requires native struct rusage translation to struct l_rusage on linux32/amd64. MFC after: 1 Month. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-28T19:04:15.081548Z K 7 svn:log V 37 Style(9) fixes. MFC after: 1 Month. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-01-28T19:53:38.007844Z K 7 svn:log V 132 MFC: r217587 Fix yet another fallout from r208833. VM86 BIOS call may cause page fault when FPU is in use. Approved by: re (kib) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-28T20:06:39.071575Z K 7 svn:log V 256 MFC 217416: Add two more features to cpuset(1): - Add a new -C flag to create a new cpuset and move an existing pid into that set. - Allow 'all' to be specified for a cpu list (e.g. cpuset -s 1 -l all) which maps to the list of all CPUs in the system. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-28T20:06:51.081438Z K 7 svn:log V 256 MFC 217416: Add two more features to cpuset(1): - Add a new -C flag to create a new cpuset and move an existing pid into that set. - Allow 'all' to be specified for a cpu list (e.g. cpuset -s 1 -l all) which maps to the list of all CPUs in the system. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-28T20:21:41.939714Z K 7 svn:log V 134 MFC 217702: Restore support for the 'async' and 'sync' mount options lost when switching to nmount(2). While here, sort the options. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-01-28T20:22:03.223142Z K 7 svn:log V 134 MFC 217702: Restore support for the 'async' and 'sync' mount options lost when switching to nmount(2). While here, sort the options. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-01-28T20:49:15.348620Z K 7 svn:log V 239 Fix a bug in the way ECN-Echo chunk sends were being accounted for. The counting was such that we counted only when we queued a chunk, not when we sent it. Now keep an additional counter for queuing and one for sending. MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-28T21:03:32.604966Z K 7 svn:log V 170 Fix logic error. Due to the bug, it incorrectly checked TXQ status which in turn can leave TXQ active. Submitted by: Brad ( brad <> comstyle dot com ) MFC after: 3 days END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-01-28T21:05:21.857756Z K 7 svn:log V 209 Keep track of the real last RTT on each net. This will be used for Data Center congestion control, we won't want to engage it in the ECN code unless we KNOW that the RTT is less than 500us. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T21:36:01.771092Z K 7 svn:log V 69 Initialize all global variables on pjdlog_init(). MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T21:48:15.313845Z K 7 svn:log V 81 Add function to close all unneeded descriptors after fork(2). MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T21:51:40.651340Z K 7 svn:log V 129 Add comments to places where we treat errors as ciritical, but it is possible to handle them more gracefully. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T21:52:37.282968Z K 7 svn:log V 65 Close all unneeded descriptors after fork(2). MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T21:56:47.326858Z K 7 svn:log V 381 Add function to assert that the only descriptors we have open are the ones we expect to be open. Also assert that they point at expected type. Because openlog(3) API is unable to tell us descriptor number it is using, we have to close syslog socket, remember assert message in local buffer and if we fail on assertion, reopen syslog socket and log the message. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T21:57:42.665009Z K 7 svn:log V 111 Use newly added descriptors_assert() function to ensure only expected descriptors are open. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T22:28:12.772929Z K 7 svn:log V 119 Add 'hast' user and 'hast' group that will be used by hastd (and maybe hastctl) to drop privileges. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T22:29:38.495031Z K 7 svn:log V 66 Change hast user home directory to /var/empty. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T22:33:47.567194Z K 7 svn:log V 376 Implement function that drops privileges by: - chrooting to /var/empty (user hast home directory), - setting groups to 'hast' (user hast primary group), - setting real group id, effective group id and saved group id to 'hast', - setting real user id, effective user id and saved user id to 'hast'. At the end verify that those operations where successfull. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-28T22:35:46.219974Z K 7 svn:log V 310 Drop privileges in worker processes. Accepting connections and handshaking in secondary is still done before dropping privileges. It should be implemented by only accepting connections in privileged main process and passing connection descriptors to the worker, but is not implemented yet. MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-28T23:40:13.278276Z K 7 svn:log V 172 Don't use the MAC address in the device tree if it's all zeroes (i.e. 00-00-00-00-00-00). Use the currently programmed address instead. While here, simplify the function. END K 10 svn:author V 3 kan K 8 svn:date V 27 2011-01-28T23:44:57.799619Z K 7 svn:log V 967 Eliminate the use of symlook_needed function in favor of DAGS. Place elements on DAG lists in breadth-first order. This allows us to walk pre-built list in all cases where breadth-first dependency chain enumeration is required. Fix dlsym on special handle obtained by dlopen(NULL, ...) to do what comment claims it does. Take advantage of recently added symlook_global function to iterate over main objects and global DAGs lists properly in search of a symbol. Since rtld itself provides part of the global namespace, search rtld_obj too. Remove recursion from init_dag and symlook_needed functions. Use symlook_needed for ELF filtee processing only and change lookup order used in the function to match the order used by Solaris runtime linker under same circumstances. While there, fix weak symbol handling in the loop so that we return the first weak symbol definition if no strong one was found, instead of the last one. Reviewed by: kib MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-29T00:21:40.346826Z K 7 svn:log V 387 Stop leaking BIOs on rebuild. We used to leak 20k of them on a 20GB rebuild. Now we leak none. Also, if g_clone_bp() fails during a rebuild, just stop rebuilding for a while. Maybe the next step here would be actually reusing the BPs since we don't really need to clone them for a rebuild (we do for resync however). # But we do leak them when we do actual I/O to the disk still :( END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-29T00:33:04.162786Z K 7 svn:log V 259 Kill bio leak in the normal I/O path. Now we can survive the raid_rebuild_test.sh without leaking anything. Before, we'd leak 40k bio when testing on a 200MB volume each time the test is run. # I haven't looked at tr_raid0.c to see if that's affected also. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2011-01-29T00:46:11.791938Z K 7 svn:log V 153 Move the load address of the kernel to the start of KVA as the s3c24x0 copy of initarm expects the kernel to be loaded there. Approved by: imp (mentor) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2011-01-29T00:53:58.466175Z K 7 svn:log V 116 Use bus space functions rather than inw/outw to help a future port of the driver to ARM. Approved by: imp (mentor) END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2011-01-29T02:36:45.535261Z K 7 svn:log V 384 Fix bug in the netfront driver that caused excessive packet drops during receive processing. Remove unnecessary restrictions on the mbuf chain length built during an LRO receive. This restriction was copied from the Linux netfront driver where the LRO implementation cannot handle more than 18 discontinuities. The FreeBSD implementation has no such restriction. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-29T04:34:30.832765Z K 7 svn:log V 114 Keep this in sync with the ar5212 power rate table size. This doesn't yet know about the 802.11n radios or rates. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-29T05:08:21.140921Z K 7 svn:log V 151 Break out the debug macros from if_ath.c into if_ath_debug.[ch] . This is prep work for breaking out the TX path into a separate set of source files. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-29T07:22:33.802815Z K 7 svn:log V 59 My style(9) bug. Pointed out by: kib MFC after: 1 Month. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2011-01-29T08:14:47.223384Z K 7 svn:log V 23 MFC: 'alfred' command. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-29T08:52:06.242361Z K 7 svn:log V 176 Add a check for the AR9285E; I have no idea what this is. The only other changes in ath9k for the AR9285E revolve around sleep modes which are not fully implemented here yet. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-29T09:17:36.410586Z K 7 svn:log V 196 When dirty flag set in metadata, report all disks as STALE instead of ACTIVE. In such case transformation module should make own decisions and shift some of them to ACTIVE and rebuild the others. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-29T09:42:31.160109Z K 7 svn:log V 51 Plug BIOs leak in RAID0. Add basic error handling. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2011-01-29T10:32:00.676156Z K 7 svn:log V 133 Rewrite the ARCH check another way for backward compatibility. Compilation fails now, if TARGET_ARCH=mips instead of mipsel/mipseb. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-29T11:35:23.563457Z K 7 svn:log V 250 Migrate the TX path code out of if_ath and into a separate source file. There's two reasons for this: * the raw and non-raw TX path shares a lot of duplicate code which should be refactored; * the 11n-ready chip TX path needs a little reworking. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-29T12:16:26.841297Z K 7 svn:log V 50 Link in the 11n specific TX methods into the HAL. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-29T12:30:13.009601Z K 7 svn:log V 446 Fix some errors introduced w/ the last commit; fix setting RTS/CTS in the 11n rate scenario. * I messed up a couple of things in if_athvar.h; so fix that. * Undo some guesswork done in ar5416Set11nRateScenario() and introduce a flags parameter which lets the caller set a few things. To begin with, this includes whether to do RTS or CTS protection. * If both RTS and CTS is set, only do RTS. Both RTS and CTS shouldn't be set on a frame. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-29T14:27:20.962003Z K 7 svn:log V 740 Bring over some NF calibration changes from ath9k. Each different radio chipset has a different "good" range of CCA (clear channel access) parameters where, if you write something out of range, it's possible the radio will go deaf. Also, since apparently occasionally reading the NF calibration returns "wrong" values, so enforce those limits on what is being written into the CCA register. Write a default value if there's no history available. This isn't the case right now but it may be later on when "off-channel" scanning occurs without init'ing or changing the NF history buffer. (As each channel may have a different noise floor; so scanning or other off-channel activity shouldn't affect the NF history of the current channel.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-29T14:36:31.288542Z K 7 svn:log V 77 Avoid writing CCA threshold values for the EXT radios for non-HT40 channels. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-01-29T15:23:02.595636Z K 7 svn:log V 243 Reenable the call to vm_map_simplify_entry() from vm_map_insert() for non- MAP_STACK_* entries. (See r71983 and r74235.) In some cases, performing this call to vm_map_simplify_entry() halves the number of vm map entries used by the Sun JDK. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-01-29T15:56:40.593036Z K 7 svn:log V 47 Ready for 8.2-RC3. Approved by: re (implicit) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-01-29T19:55:29.006860Z K 7 svn:log V 525 Fixes to ECN in SCTP. 1) ECN was on an association basis, this is incorrect and will not work with CMT or for that matter if the user is sending to multiple addresses. This commit makes ECN on a per path basis. 2) Adopt the new format for the ECN internet draft. This also maintains compatability with old format chunks as well. 3) Keep track of the real time of a RTT down to micro seconds. For some future conditional features (for like a data center this is good information to have). MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-29T20:25:20.179333Z K 7 svn:log V 187 Introduce macro FDT_MAP_IRQ to map from an interrupt controller and interrupt pin pair to a global IRQ number. When multiple PICs exist on a board, the interrupt pin alone is not unique. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-29T20:28:17.718805Z K 7 svn:log V 129 Have nexus behave the same as the one on ARM (marvell SoCs), so as to prevent warnings during boot WRT to the fdtbus attachment. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-29T20:58:38.312029Z K 7 svn:log V 2978 Fix the interrupt code, broken 7 months ago. The interrupt framework already supported nested PICs, but was limited to having a nested AT-PIC only. With G5 support the need for nested OpenPIC controllers needed to be added. This was done the wrong way and broke the MPC8555 eval system in the process. OFW, as well as FDT, describe the interrupt routing in terms of a controller and an interrupt pin on it. This needs to be mapped to a flat and global resource: the IRQ. The IRQ is the same as the PCI intline and as such needs to be representable in 8 bits. Secondly, ISA support pretty much dictates that IRQ 0-15 should be reserved for ISA interrupts, because of the internal workins of south bridges. Both were broken. This change reverts revision 209298 for a big part and re-implements it simpler. In particular: o The id() method of the PIC I/F is removed again. It's not needed. o The openpic_attach() function has been changed to take the OFW or FDT phandle of the controller as a second argument. All bus attachments that previously used openpic_attach() as the attach method of the device I/F now implement as bus-specific method and pass the phandle_t to the renamed openpic_attach(). o Change powerpc_register_pic() to take a few more arguments. In particular: - Pass the number of IPIs specificly. The number of IRQs carved out for a PIC is the sum of the number of int. pins and IPIs. - Pass a flag indicating whether the PIC is an AT-PIC or not. This tells the interrupt framework whether to assign IRQ 0-15 or some other range. o Until we implement proper multi-pass bus enumeration, we have to handle the case where we need to map from PIC+pin to IRQ *before* the PIC gets registered. This is done in a similar way as before, but rather than carving out 256 IRQs per PIC, we carve out 128 IRQs (124 pins + 4 IPIs). This is supposed to handle the G5 case, but should really be fixed properly using multiple passes. o Have the interrupt framework set root_pic in most cases and not put that burden in PIC drivers (for the most part). o Remove powerpc_ign_lookup() and replace it with powerpc_get_irq(). Remove IGN_SHIFT, INTR_INTLINE and INTR_IGN. Related to the above, fix the Freescale PCI controller driver, broken by the FDT code. Besides not attaching properly, bus numbers were assigned improperly and enumeration was broken in general. This prevented the AT PIC from being discovered and interrupt routing to work properly. Consequently, the ata(4) controller stopped functioning. Fix the driver, and FDT PCI support, enough to get the MPC8555CDS going again. The FDT PCI code needs a whole lot more work. No breakages are expected, but lackiong G5 hardware, it's possible that there are unpleasant side-effects. At least MPC85xx support is back to where it was 7 months ago -- it's amazing how badly support can be broken in just 7 months... Sponsored by: Juniper Networks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-29T21:08:03.289012Z K 7 svn:log V 126 Call newbus_device_create() for PCI devices. Call pci_from_fdt_node() for the newly created device_t, rather than the parent. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-01-29T21:14:29.151370Z K 7 svn:log V 718 Don't operate on the parent of the PCI node. It's the PCI node itself that represents the host controller. This makes the FDT PCI support working an a bare-bones manner. This needs a lot more work, of which the beginning are at the end of the file, compiled-out with #if 0. The intend being that both the Marvell PCIE and Freescale PCI/PCIX/PCIE duplicate the same platform-independent domain initialization, that should be moved into an unified implementation in the FDT code. Handling of resources requires help from the platform. A unified implementation allows us to properly support PCI devices listed in the device tree and configured according to the device tree specification. Sponsored by: Juniper Networks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-29T22:11:13.343089Z K 7 svn:log V 81 Remove duplicate printing of TF_NOPUSH in db_print_tflags(). MFC after: 10 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-29T22:51:27.881417Z K 7 svn:log V 81 MFC r216796: Add kernel side support for BIO_DELETE/TRIM on UFS. Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-29T22:51:46.046838Z K 7 svn:log V 81 MFC r216798: Add support for FS_TRIM to user-mode UFS utilities. Tested by: pho END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-29T23:26:28.236915Z K 7 svn:log V 100 Fix boot on SMP systems after r218075 by delaying CPU binding until a SYSINIT. Reviewed by: marcel END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-30T02:17:47.893657Z K 7 svn:log V 229 MFC r217756: Disable ATAPI DMA unconditionally on Apple Kauai ATA controllers, like it is on the MacIO ones. It appears to be unreliable on all DBDMA-based controllers for unknown reasons, which should be figured out eventually. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-30T07:49:44.972847Z K 7 svn:log V 195 Implement delayed until last provider close node destruction. Use it on system shutdown to gracefully stop rebuild and other processes and close lower level providers, allowing them do the same. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-30T10:35:41.855693Z K 7 svn:log V 284 Implement volume idle state tracking. Volume counted as idle when no payload write requests were running for specified number of seconds. Write volume dirty flag of Intel metadata as !v_idle. This should trigger volume resynchronization or work in SUBOPTIMAL mode after dirty reboot. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-30T11:23:59.612126Z K 7 svn:log V 153 Honor the IEEE80211_SCAN_BGSCAN flag, which makes it possible to actually request a background scan using IEEE80211_IOC_SCAN_BGSCAN. MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-30T12:04:21.880376Z K 7 svn:log V 130 Make `graid label` report name of created geom. This name is required for any further array operations, especially for scripting. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-01-30T12:12:25.181618Z K 7 svn:log V 51 Added test scenarios for the newfs(8) option TRIM. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-30T12:14:06.106823Z K 7 svn:log V 181 Add support for the m25p64; lifted straight from Linux. This flash chip is found on the Ubiquiti LS-SR71 board. I've successfully tested reading; I've not tried writing to it yet. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-01-30T12:57:10.475756Z K 7 svn:log V 172 syscons: install all available kbdmaps eee_nordic.kbd, us.dvorakl.kbd, and us.dvorakr.kbd were not installed. Found by: Neil Short MFC after: 3 weeks END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-30T13:17:45.244647Z K 7 svn:log V 477 When doing a scan while being associated it is possible that the scan is deferred for the time it takes to flush the TX queue. This work being done the scan then is continued, but only if it is marked to do so. As the 'ifconfig scan' request is meant to be used after the interface is brought up, request a background scan by default. This behaviour is already documented in manual page. This fixes on possible case where 'ifconfig scan' hangs infinitely. MFC after: 1 month END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-30T14:00:50.428741Z K 7 svn:log V 256 Change return code semantics of start_scan_locked(). Instead of reporting if a scan is running, report if a scan has been started. The return value itself is not (yet) used anywhere in the tree and it is also not exported to userspace. MFC after: 1 month END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-30T14:05:21.559026Z K 7 svn:log V 111 Instead of always returning 0 to a scan request, indicate if there is one running already. MFC after: 1 month END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-01-30T14:22:45.116034Z K 7 svn:log V 491 Fix the 'scan hang' issue. When requesting a scan and one is already in progess, e.g. while in scan state, we happily wait for a scan done notification. Though, this notification might never be sent, e.g. if we are trying to find a network to associate to and there is none. Instead of always waiting for a notification just do so if a new scan has been started. For both cases the scan cache is used to report available networks even if the content might not be fresh. MFC after: 1 month END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-30T15:05:10.777923Z K 7 svn:log V 59 Make size adjustment for boot partitions somewhat cleaner. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-30T15:10:58.253056Z K 7 svn:log V 59 Do not show (null) for blank labels. Submitted by: brucec END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-30T15:36:19.925573Z K 7 svn:log V 53 Use a cleaner syntax for setting default parameters. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-01-30T15:36:59.266229Z K 7 svn:log V 119 Allow the services menu to keep state. Now, if it is reentered, the same boxes that were ticked earlier remain ticked. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-30T16:14:09.869032Z K 7 svn:log V 334 Make ldd(1) work when versioned dependency file is cannot be loaded. Instead of aborting in locate_dependency(), propagate the error to caller. The rtld startup function does the right thing with an error from rtld_verify_versions(), depending on the mode of operation. Reported by: maho In collaboration with: kan MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-01-30T16:21:25.690309Z K 7 svn:log V 62 Fix grammar in comment. Pointy hat to: kib MFC after: 1 week END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-30T18:17:38.708113Z K 7 svn:log V 194 The kern_wait() code already removes the SIGCHLD signal for the waited process. Removing other SIGCHLD signals is not needed and may cause problems. Pointed out by: jilles MFC after: 1 Month. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-30T20:31:43.148662Z K 7 svn:log V 86 Change linux futex syscall definition to match actual linux one. MFC after: 1 Month. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-30T20:37:42.704046Z K 7 svn:log V 252 MFC r217704: getgroups(2): Remove and refer to sysconf(3). Because {NGROUPS_MAX} may become variable, its value should be obtained using sysconf(3). In head, r217704 removed mention of ; this was not mentioned in stable/8. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-30T20:38:26.694786Z K 7 svn:log V 40 Regen for r218101. MFC after: 1 Month. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-30T21:00:57.569773Z K 7 svn:log V 252 MFC r217704: getgroups(2): Remove and refer to sysconf(3). Because {NGROUPS_MAX} may become variable, its value should be obtained using sysconf(3). In head, r217704 removed mention of ; this was not mentioned in stable/7. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-01-30T22:57:52.924657Z K 7 svn:log V 119 sh: Send messages about signals to stderr. This is required by POSIX and seems to make more sense. See also r217557. END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-30T23:14:34.841378Z K 7 svn:log V 99 Improve the remap comment, add a question about failing vs degrading a disk on the Nth read error. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-30T23:15:45.074535Z K 7 svn:log V 356 MFC r216576,216578-216581,217974: r216576,217974: ae(4), igb(4) and ixgbe(4) supports altq(4). r216578: Add .Xr to altq(4). r216579,216581: igb(4), ixgbe(4), mxge(4) and nxge(4) support VLAN hardware tag insertion/stripping. et(4) and fwe(4) support VLAN oversized frames. r216580: Add ae(4) to the list of drivers use the miibus interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-30T23:16:49.538908Z K 7 svn:log V 356 MFC r216576,216578-216581,217974: r216576,217974: ae(4), igb(4) and ixgbe(4) supports altq(4). r216578: Add .Xr to altq(4). r216579,216581: igb(4), ixgbe(4), mxge(4) and nxge(4) support VLAN hardware tag insertion/stripping. et(4) and fwe(4) support VLAN oversized frames. r216580: Add ae(4) to the list of drivers use the miibus interface. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-30T23:18:25.741118Z K 7 svn:log V 69 MFC r216596: Document limitation of station address reprogramming. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-30T23:18:55.740975Z K 7 svn:log V 69 MFC r216596: Document limitation of station address reprogramming. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-30T23:23:05.061237Z K 7 svn:log V 95 MFC r216766: Add device id for RDC M3010 which is found on Vortex86 SoC. Reviewed by: mav END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-30T23:29:45.995589Z K 7 svn:log V 95 MFC r216766: Add device id for RDC M3010 which is found on Vortex86 SoC. Reviewed by: mav END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-01-30T23:55:48.337476Z K 7 svn:log V 84 Release the free page queues lock earlier in vm_page_alloc(). Discussed with: kib@ END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-01-31T00:09:52.729650Z K 7 svn:log V 284 Update interface stats counters to match the current format in linux and try to export as much information as we can match. Requested on: Debian GNU/kFreeBSD list (debian-bsd lists.debian.org) 2010-12 Tested by: Mats Erik Andersson (mats.andersson gisladisker.se) MFC after: 10 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-31T00:27:34.226386Z K 7 svn:log V 172 MFC r218038: Fix logic error. Due to the bug, it incorrectly checked TXQ status which in turn can leave TXQ active. Submitted by: Brad ( brad <> comstyle dot com ) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-31T00:29:11.302911Z K 7 svn:log V 172 MFC r218038: Fix logic error. Due to the bug, it incorrectly checked TXQ status which in turn can leave TXQ active. Submitted by: Brad ( brad <> comstyle dot com ) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-31T05:59:05.624284Z K 7 svn:log V 72 Implement a futex BITSET op. Submitted by: arundel MFC after: 1 month. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-01-31T06:06:23.087632Z K 7 svn:log V 103 Yet another unimplemented futex operation, print out about. Submitted by: arundel MFC after: 1 month. END K 10 svn:author V 5 maxim K 8 svn:date V 27 2011-01-31T07:47:28.307602Z K 7 svn:log V 19 o Add user 'hast'. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-01-31T09:17:30.222230Z K 7 svn:log V 184 Vendor import of tzdata2011a: - Cleanup rules for Australia/South_Australia (nothing changed) - Add historical information for Honolulu. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-01-31T09:18:32.567547Z K 7 svn:log V 19 Tag of tzdata2011a END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-01-31T09:22:49.520693Z K 7 svn:log V 136 MFV of tzdata2011a, r218120 - Cleanup rules for Australia/South_Australia (nothing changed) - Add historical information for Honolulu. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-01-31T09:29:51.539177Z K 7 svn:log V 136 MFC of 218122, tzdata2011a: - Cleanup rules for Australia/South_Australia (nothing changed) - Add historical information for Honolulu. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-01-31T09:30:25.589339Z K 7 svn:log V 136 MFC of 218122, tzdata2011a: - Cleanup rules for Australia/South_Australia (nothing changed) - Add historical information for Honolulu. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-01-31T09:30:56.151116Z K 7 svn:log V 136 MFC of 218122, tzdata2011a: - Cleanup rules for Australia/South_Australia (nothing changed) - Add historical information for Honolulu. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-01-31T10:18:42.062010Z K 7 svn:log V 85 MFC r218025: Remove SuperH architecture from a comment. Approved by: kib (mentor) END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-01-31T10:57:54.335047Z K 7 svn:log V 116 Add xz(1) support to newsyslog. Rewrite and simplify logfile compression code. Approved by: gad MFC after: 3 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-01-31T11:30:26.342166Z K 7 svn:log V 123 Use correct alphabetical order for xz(1) in SEE ALSO section of newsyslog manpages. Reported by: maxim MFC after: 3 weeks END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-01-31T11:50:11.139494Z K 7 svn:log V 498 More ECN fixes: 1) We now remove ECN-Nonce since it will no longer continue as a I-D 2) Eliminate last_tsn_echo, this tied us to an assoc not the net and thus we were not doing m-homing on the ECN-Echo senders side right. 3) Increment the count going out even if the TSN in lower in the pending ECN-Echo, this way the receiver knows exactly how many packets were marked even with network re-ordering 4) Fix so we DO NOT stop doing delayed sack if a ECN Echo is in queue MFC after: 1 month END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-31T15:17:47.811836Z K 7 svn:log V 413 Move the architecture guessing from Makefile.inc1 to Makefile. We need to do this because variables specified on the command line override those specified in the Makefile. This is why we also moved from TARGET to _TARGET in Makefile, and then set TARGET on the command line when we fork a submake with Makefile.inc1. This makes mips/mips work again, even without the workaround committed to lib/libc/Makefile. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-31T15:42:42.760835Z K 7 svn:log V 802 Don't incorrectly set the burst duration setting in the TX descriptor. After inspecting the ath9k source, it seems the AR5416 and later MACs don't take an explicit RTS/CTS duration. A per-scenario (ie, what multi- rate retry became) rts/cts control flag and packet duration is provided; the hardware then apparently fills in whatever details are required. The per-rate sp/lpack duration calculation just isn't used anywhere in the ath9k TX packet length calculations. The burst duration register controls something different; it seems to be involved with RTS/CTS protection of 11n aggregate frames and is set via a call to ar5416Set11nBurstDuration(). I've done some light testing with rts/cts protected frames and nothing seems to break; but this may break said RTS/CTS and CTS-to-self protection. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-31T15:52:00.715194Z K 7 svn:log V 136 Rename pjdlog_verify() to pjdlog_abort() as it better describes what the the function does and mark it with __dead2. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-01-31T16:20:28.231531Z K 7 svn:log V 223 MFC r188728 by pjd: Document kern.geom.journal.* sysctls. PR: docs/130548 Submitted by: Hywel Mallett MFC r188729 by pjd: Correct the year. Reported by: Florian Smeets END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-01-31T16:58:33.883847Z K 7 svn:log V 54 Update to reflect the package layout for 7.4-RELEASE. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-01-31T17:03:39.778214Z K 7 svn:log V 96 MFC r218134: Update to reflect the package layout for 7.4-RELEASE. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-01-31T17:42:31.674885Z K 7 svn:log V 259 Adjust package set for 8.2-RELEASE. Packages keep being removed due to a 2Gb file limit in the FTP mirroring system that we hope to remove before 8.3-RELEASE so I'm not adjusting what's in stable/8 at this point, just releng/8.2. Approved by: re (implicit) END K 10 svn:author V 3 imp K 8 svn:date V 27 2011-01-31T17:57:53.968568Z K 7 svn:log V 71 MFC r216409: Note with sadness Dan Moschuk's passing PR: misc/147479 END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-31T18:32:17.505005Z K 7 svn:log V 316 - Use pjdlog for assertions and aborts as this will log assert/abort message to syslog if we run in background. - Asserts in proto.c that method we want to call is implemented and remove dummy methods from protocols implementation that are only there to abort the program with nice message. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-31T18:35:17.042965Z K 7 svn:log V 174 Implement two new functions for sending descriptor and receving descriptor over UNIX domain sockets and socket pairs. This is in preparation for capsicum. MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-01-31T18:41:52.277580Z K 7 svn:log V 124 Support for the new DH89xxCC PCH chipset including: - SATA controller - Watchdog timer - SMBus controller END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-01-31T20:00:43.696703Z K 7 svn:log V 252 alc_rev was used without initialization such that it failed to apply AR8152 v1.0 specific initialization code. Fix this bug by explicitly reading PCI device revision id via PCI accessor. Reported by: Gabriel Linder ( linder.gabriel <> gmail dot com ) END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-01-31T21:03:08.066914Z K 7 svn:log V 34 Let rpcbind clean up after itself END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-01-31T22:10:01.835234Z K 7 svn:log V 95 Remove commented genid/syncid bumping code. At this time it is functions of methadata modules. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-01-31T22:14:47.537842Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-31T22:44:28.234187Z K 7 svn:log V 101 Enable AMPDU reorder processing and receiving BAR frames when doing 802.11n. Obtained from: rpaulo@ END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-01-31T22:45:14.427385Z K 7 svn:log V 29 Remove the now unneeded XXX. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-31T23:08:26.008186Z K 7 svn:log V 117 Until I fix the build on ia64 comment out problematic lines. Those lines are part of the (for now) unused functions. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-01-31T23:46:36.304212Z K 7 svn:log V 121 Fix build on ia64. I found no way how to use CMSG_NXTHDR() macro on ia64 without alignment warnings. MFC after: 1 week END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-02-01T01:05:11.151490Z K 7 svn:log V 233 Support for the new Patsburg PCH chipset: - SMBus Controller - SATA Controller - HD Audio Controller - Watchdog Controller Thanks to Seth Heasley (seth.heasley@intel.com) for providing us code. MFC after 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-01T03:51:35.125705Z K 7 svn:log V 467 Add a new capability which reports the number of spatial streams a device supports. The higher levels (net80211, if_ath, ath_rate) need this to make correct choices about what MCS capabilities to advertise and what MCS rates are able to be TXed. In summary: * AR5416 - 2/3 antennas, 2x2 streams * AR9160 - 2/3 antennas, 2x2 streams * AR9220 - 2 antennas, 2x2 sstraems * AR9280 - 2 antennas, 2x2 streams * AR9285 - 2 antennas but with antenna diversity, 1x1 stream END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-01T04:39:15.608725Z K 7 svn:log V 80 Add TX/RX chainmask info to if_ath - this is needed for the 11n TX rate series. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-02-01T06:17:00.542669Z K 7 svn:log V 825 Import a clean-room implementation of the VEGAS congestion control algorithm based on the paper "TCP Vegas: end to end congestion avoidance on a global internet" by Brakmo and Peterson. It is implemented as a kernel module compatible with the recently committed modular congestion control framework. VEGAS uses network delay as a congestion indicator and unlike regular loss-based algorithms, attempts to keep the network operating with stable queuing delays and no congestion losses. By keeping network buffers used along the path within a set range, queuing delays are kept low while maintaining high throughput. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz and others along the way MFC after: 3 months END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-02-01T06:42:46.312760Z K 7 svn:log V 1122 Import a clean-room implementation of the Hamilton-Delay (HD) congestion control algorithm based on the paper "A strategy for fair coexistence of loss and delay-based congestion control algorithms" by Budzisz, Stanojevic, Shorten and Baker. It is implemented as a kernel module compatible with the recently committed modular congestion control framework. HD uses a probabilistic approach to reacting to delay-based congestion. The probability of reducing cwnd is zero when the queuing delay is very small, increasing to a maximum at a set threshold, then back down to zero again when the queuing delay is high. Normal operation keeps the queuing delay below the set threshold. However, since loss-based congestion control algorithms push the queuing delay high when probing for bandwidth, having the probability of reducing cwnd drop back to zero for high delays allows HD to compete with loss-based algorithms. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz and others along the way MFC after: 3 months END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-01T06:59:44.120412Z K 7 svn:log V 420 * Add a rather hacky "does this speak the 11n TX descriptor format" function; which will be later used by the TX path to determine whether to use the extended features or not. * Break out the descriptor chaining logic into a separate function; again so it can be switched out later on for the 11n version when needed. * Refactor out the encryption-swizzling code that's common in the raw and normal TX path. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-02-01T07:05:14.645645Z K 7 svn:log V 1126 Import an implementation of the CAIA-Hamilton-Delay (CHD) congestion control algorithm described in the paper "Improved coexistence and loss tolerance for delay based TCP congestion control" by Hayes and Armitage. It is implemented as a kernel module compatible with the recently committed modular congestion control framework. CHD enhances the approach taken by the Hamilton-Delay (HD) algorithm to provide tolerance to non-congestion related packet loss and improvements to coexistence with loss-based congestion control algorithms. A key idea in improving coexistence with loss-based congestion control algorithms is the use of a shadow window, which attempts to track how NewReno's congestion window (cwnd) would evolve. At the next packet loss congestion event, CHD uses the shadow window to correct cwnd in a way that reduces the amount of unfairness CHD experiences when competing with loss-based algorithms. In collaboration with: David Hayes and Grenville Armitage Sponsored by: FreeBSD Foundation Reviewed by: bz and others along the way MFC after: 3 months END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-02-01T07:10:13.128314Z K 7 svn:log V 139 Fix typo in comment: "course" -> "coarse" Sponsored by: FreeBSD Foundation Submitted by: jmallett MFC after: 3 months X-MFC with: r218152 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-01T07:50:26.918830Z K 7 svn:log V 74 Refator the common code which calculates the 802.11g protection duration. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-02-01T07:58:43.721947Z K 7 svn:log V 107 Do not set socket send and receive buffer. It will be auto-tuned. Confirmed by: rwatson MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-01T08:03:01.938767Z K 7 svn:log V 616 Include some preliminary TX HT rate scenario setup code. The AR5416 and later TX descriptors have new fields for supporting 11n bits (eg 20/40mhz mode, short/long GI) and enabling/disabling RTS/CTS protection per rate. These functions will be responsible for initialising the TX descriptors for the AR5416 and later chips for both HT and legacy frames. Beacon frames will remain using the non-11n TX descriptor setup for now; Linux ath9k does much the same. Note that these functions aren't yet used anywhere; a few more framework changes are needed before all of the right rate information is available for TX. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-02-01T08:10:18.576502Z K 7 svn:log V 205 Add a new method to the rate control modules which extract out the three other rates and try counts. The 11n rate scenario path wants to take a list of rate and tries, rather than calling setupxtxdesc(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-02-01T09:27:24.063768Z K 7 svn:log V 31 Map status 1 is UNINITIALIZED. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-02-01T09:27:28.884864Z K 7 svn:log V 352 MFC r217531: Limit maximum number of GPT entries to 4k. It is most realistic value and can prevent kernel memory exhausting when big value is specified from command line. Split reading and writing operation to several iterations to do not trigger KASSERT when data length is greater than MAXPHYS. PR: kern/144962, kern/147851 END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-01T10:18:36.373792Z K 7 svn:log V 62 MFC r217823: Bio shall not be accessed after g_io_deliver(9). END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-02-01T10:20:31.860826Z K 7 svn:log V 245 MFC r217824: When vtruncbuf() iterates over the vnode buffer list, lock buffer object before checking the validity of the next buffer pointer. Otherwise, the buffer might be reclaimed after the check, causing iteration to run into wrong buffer. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-02-01T10:25:48.733373Z K 7 svn:log V 99 Use correct kernel types for all fields in USB PF code and headers. Approved by: thompsa (mentor) END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-02-01T10:28:05.068270Z K 7 svn:log V 229 Reintroduce bugfix from r210103 and fix xz on strong-aligned architectures. This fix was accidentially reverted with the 5.0.0 update in r215187. PR: bin/154310 Submitted by: Michael Moll MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-02-01T13:32:27.913465Z K 7 svn:log V 839 Algorithm modules can define their own private congestion signal types in the top 8 bits of the 32 bit signal bit field space for internal use. These private signals should not be leaked outside of a module. Given that many algorithm modules use the NewReno hook functions to simplify their implementation, the obvious place such a leak would show up is in the NewReno cong_signal hook function. - Show the full number of significant bits in the signal type definitions in . - Add a bitmask to simplify figuring out if a given signal is in the private or public bit range. - Add a sanity check in newreno_cong_signal() to ensure private signals are not being leaked into the hook function. Sponsored by: FreeBSD Foundation Discussed with: David Hayes MFC after: 1 week X-MFC with: r215166 END