ƒ«)221183 169 157 206 182 206 182 309 141 545 282 213 356 228 378 135 214 217 201 106 155 1406 324 224 200 182 224 386 1604 146 186 166 519 449 126 208 382 521 339 1085 664 664 371 535 131 127 654 171 504 154 425 318 921 829 126 193 195 303 123 141 173 457 371 108 111 108 289 342 517 431 147 308 144 546 123 153 279 352 294 250 132 256 290 249 388 391 311 251 248 239 559 144 204 1673 140 114 109 186 197 114 195 166 220 332 497 120 110 201 115 284 385 264 512 499 291 155 256 293 141 118 134 142 469 614 112 272 436 186 232 355 505 257 182 155 183 160 2330 140 115 380 243 198 331 246 110 292 209 168 235 522 225 189 276 441 269 265 180 110 180 111 176 240 214 147 158 1485 140 162 118 99 1414 K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-28T20:25:15.916735Z K 7 svn:log V 65 Update a comment since ext2fs does not use SU. Reviewed by: kib END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-04-28T21:25:58.760323Z K 7 svn:log V 113 portbuild: rsync per-build scripts into /tmp. We don't always have ${builddir}, so use /tmp/${buildid} instead. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-04-28T21:27:34.879419Z K 7 svn:log V 86 MFC r220316 Lower WARNS to unbreak the build, some archs may have alignment issues. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-28T21:41:00.481084Z K 7 svn:log V 111 When doing -F + --packages* for an individual port, don't bail out before we have checked the run dependencies END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-04-28T22:21:53.841008Z K 7 svn:log V 90 Small change to make backporting to stable/7, thanks to Arnaud Lacombe for suggesting it. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-28T22:23:39.205158Z K 7 svn:log V 215 Define "Hypervisor Present" bit. This bit is used by several hypervisors to identify CPUs running under emulation. Currently QEMU-KVM, Xen-HVM, VMware, and MS Hyper-V are known to set this bit. MFC after: 3 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-04-28T23:21:40.572674Z K 7 svn:log V 49 Add a #define for driver portability to older OS END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-28T23:21:50.779644Z K 7 svn:log V 447 Fix the new NFS client so that it handles the "nfs_args" value in mnt_optnew. This is needed so that the old mount(2) syscall works and that is needed so that amd(8) works. The code was basically just cribbed from sys/nfsclient/nfs_vfsops.c with minor changes. This patch is mainly to fix the new NFS client so that amd(8) works with it. Thanks go to Craig Rodrigues for helping with this. Tested by: Craig Rodrigues (for amd) MFC after: 2 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-04-29T00:00:54.689483Z K 7 svn:log V 189 MFC of the 1G Intel drivers, the following revisions from HEAD are merged: 217318,218530,218548,218581,218582,218583,218587,218588, 219753,219763,219764,220251,220254,220375,221187,221189 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2011-04-29T00:24:17.237215Z K 7 svn:log V 120 MFC of the ixgbe driver: revisions 217131, 217132, and 221041. This brings this driver up to the level in HEAD as well. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-04-29T00:40:00.117672Z K 7 svn:log V 259 MFC r220582: Add support for IEE/IEC (and now also SI) power of two notions of prefixes (Ki, Mi, Gi...) for humanize_number(3). Note that applications has to pass HN_IEC_PREFIXES to use this feature for backward compatibility reasons. Reviewed by: arundel END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-29T01:14:12.920069Z K 7 svn:log V 130 Another man page update related to the switchover of the NFS clients done by r221124. This is a content change. Submitted by: jh END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-29T03:16:15.093290Z K 7 svn:log V 283 Recursive irony alert: When called from gen_dep_list, which also uses temp_list as a local variable, uniquify_list needs its own set of local variables otherwise temp_list ends up being duplicated by uniquify_list Continue the campaign to unset things to keep the environment small END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-04-29T03:20:51.659901Z K 7 svn:log V 39 Release hselasky, onwards and upwards. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2011-04-29T05:00:48.081137Z K 7 svn:log V 120 MFC: revision 218390 Clear the padding when returning context to the usermode, for MI ucontext_t and x86 MD parts. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-29T06:25:11.550380Z K 7 svn:log V 121 Tidy up the naming of the ip2 DDR flush routine, and add an inline accessor method (which is currently unused) in there. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-04-29T06:28:29.942164Z K 7 svn:log V 106 Guard against default ni_chan PR: kern/144642 Submitted by: Arthur Hartwig END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-04-29T06:36:39.612781Z K 7 svn:log V 12 Add urtw(4) END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-04-29T07:14:37.974902Z K 7 svn:log V 63 Make CAM_DEBUG_CDB also dump ATA commands in addition to SCSI. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-29T07:26:22.417728Z K 7 svn:log V 1310 Fix an unfortunately long-standing bug in the --package code, we need to update the +REQUIRED_BY files for ports that the installed port depends on. When I tested pkg_add originally I confirmed that it did this, but I neglected to re-test when adding the --no-deps option, which suppresses this behavior. Mea culpa. So take this opportunity to fix the bug, and improve some other things in the process: * Add code to the section that updates dependencies for the newly installed package which walks the +CONTENTS file and runs the +REQUIRED_BY update for every port that the newly installed depends on. I may revisit this later with a more tightly focused solution, but this code is pretty fast, and at this point I'd rather be thorough. * Create update_required_by() to consolidate the 2 places that were doing this already, and avoid adding a 3rd above * Set PM_VERBOSE unconditionally for --check-depends. The functions that it uses all had code of the form [ -n "$PM_VERBOSE" -o -n "$CHECK_DEPENDS" ] which was growing increasingly pointless, and I didn't want to duplicate this in the new function. Doing it this way allows me to simplify some code quite a bit. * Remove a no-longer-used variable from --check-depends * Remove a spurious 'return 0' at the end of check_dependency_files END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-04-29T10:28:55.962198Z K 7 svn:log V 229 Merge r220652 from head: Remove an incorrect be16toh() that prevented geom_part_apm from working on little-endian machines. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-04-29T10:33:54.943178Z K 7 svn:log V 129 Merge r220652 from head: Remove an incorrect be16toh() that prevented geom_part_apm from working on little-endian machines. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-29T12:30:15.223136Z K 7 svn:log V 102 The build was broken by r221190 for 64bit arches like amd64. This patch fixes it. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-29T12:52:18.673447Z K 7 svn:log V 87 Remove some holdovers from the AR5212 origin of this code. These aren't relevant here. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-29T14:01:49.751389Z K 7 svn:log V 131 Fix build of this kernel config. The ath(4) bits need the 11n frame format even though ar5416 isn't enabled. Reviewed by: adrian END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-29T14:06:37.388321Z K 7 svn:log V 293 Add a 'show progress' command that shows a summary of all in-progress commands for a given adapter. Specifically, it shows the status of any drive or volume activities currently in progress similar to the 'drive process' and 'volume progress' commands. Reviewed by: emaste MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-29T15:40:12.256522Z K 7 svn:log V 1510 TCP reuses t_rxtshift to determine the backoff timer used for both the persist state and the retransmit timer. However, the code that implements "bad retransmit recovery" only checks t_rxtshift to see if an ACK has been received in during the first retransmit timeout window. As a result, if ticks has wrapped over to a negative value and a socket is in the persist state, it can incorrectly treat an ACK from the remote peer as a "bad retransmit recovery" and restore saved values such as snd_ssthresh and snd_cwnd. However, if the socket has never had a retransmit timeout, then these saved values will be zero, so snd_ssthresh and snd_cwnd will be set to 0. If the socket is in fast recovery (this can be caused by excessive duplicate ACKs such as those fixed by 220794), then each ACK that arrives triggers either NewReno or SACK partial ACK handling which clamps snd_cwnd to be no larger than snd_ssthresh. In effect, the socket's send window is permamently stuck at 0 even though the remote peer is advertising a much larger window and pending data is only sent via TCP window probes (so one byte every few seconds). Fix this by adding a new TCP pcb flag (TF_PREVVALID) that indicates that the various snd_*_prev fields in the pcb are valid and only perform "bad retransmit recovery" if this flag is set in the pcb. The flag is set on the first retransmit timeout that occurs and is cleared on subsequent retransmit timeouts or when entering the persist state. Reviewed by: bz MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-29T16:43:30.337311Z K 7 svn:log V 51 Cosmetic changes to fit 80 character screen width. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-29T17:04:52.163330Z K 7 svn:log V 90 MFC r220362: Extend the DDB command watchdog with the ability to specify a timeout value. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-29T17:57:35.845678Z K 7 svn:log V 69 MFC: r200069 Remove unneeded ifdefs. MFC'd with trasz@'s permission. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-29T18:17:01.394260Z K 7 svn:log V 421 MFC: r220645 Modify the experimental NFSv4 server so that it handles crossing of server mount points properly. The functions nfsvno_fillattr() and nfsv4_fillattr() were modified to take the extra arguments that are the mount point, a flag to indicate that it is a file system root and the mounted on fileno. The mount point argument needs to be busy when nfsvno_fillattr() is called, since the vp argument is not locked. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-04-29T18:20:12.561677Z K 7 svn:log V 355 Detect VMware guest and set the TSC frequency as reported by the hypervisor. VMware products virtualize TSC and it run at fixed frequency in so-called "apparent time". Although virtualized i8254 also runs in apparent time, TSC calibration always gives slightly off frequency because of the complicated timer emulation and lost-tick correction mechanism. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-29T18:26:17.344030Z K 7 svn:log V 34 Add the AH_SUPPORT_AR9130 option. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-29T18:27:50.189983Z K 7 svn:log V 115 Add the mipsn32eb TARGET_ARCH to the list of mips targets for the XLRN32 kernel config. Reviewed by: imp, jmallet END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-29T18:30:53.999460Z K 7 svn:log V 284 MFC: r220648 Fix the experimental NFSv4 server so that it uses VOP_PATHCONF() to determine if a file system supports NFSv4 ACLs. Since VOP_PATHCONF() must be called with a locked vnode, the function is called before nfsvno_fillattr() and the result is passed in as an extra argument. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-29T18:41:21.003816Z K 7 svn:log V 428 Change rman_manage_region() to actually honor the rm_start and rm_end constraints on the rman and reject attempts to manage a region that is out of range. - Fix various places that set rm_end incorrectly (to ~0 or ~0u instead of ~0ul). - To preserve existing behavior, change rman_init() to set rm_start and rm_end to allow managing the full range (0 to ~0ul) if they are not set by the caller when rman_init() is called. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-29T18:49:36.731893Z K 7 svn:log V 241 MFC: r220683 Change the experimental NFS client so that it creates nfsiod threads in the same manner as the regular NFS client after r214026 was committed. This resolves the lors fixed by r214026 and its predecessors for the regular client. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-29T20:05:19.806539Z K 7 svn:log V 992 Extend the rman(9) API to support altering an existing resource. Specifically, these changes allow a resource to back a relocatable and resizable resource such as the I/O window decoders in PCI-PCI bridges. - rman_adjust_resource() can adjust the start and end address of an existing resource. It only succeeds if the newly requested address space is already free. It also supports shrinking a resource in which case the freed space will be marked unallocated in the rman. - rman_first_free_region() and rman_last_free_region() return the start and end addresses for the first or last unallocated region in an rman, respectively. This can be used to determine by how much the resource backing an rman must be adjusted to accomodate an allocation request that does not fit into the existing rman. While here, document the rm_start and rm_end fields in struct rman, rman_is_region_manager(), the bound argument to rman_reserve_resource_bound(), and rman_init_from_resource(). END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-29T20:31:52.967546Z K 7 svn:log V 569 MFC r216744 for rc.d/devd: Add pidfile [1] While I'm here, don't run the sysctl frob unconditionally, and s/sysctl/$SYSCTL/ MFC r220962: Introduce to rc.subr get_pidfile_from_conf(). It does just what it sounds like, determines the path to a pid file as it is specified in a conf file. Use the new feature for rc.d/named and rc.d/devd, the 2 services in the base that list their pid files in their conf files. Remove the now-obsolete named_pidfile, and warn users if they have it set. MFC r220963: Improve the error handling for the new get_pidfile_from_conf() END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-29T20:44:39.827852Z K 7 svn:log V 569 MFC r216744 for rc.d/devd: Add pidfile [1] While I'm here, don't run the sysctl frob unconditionally, and s/sysctl/$SYSCTL/ MFC r220962: Introduce to rc.subr get_pidfile_from_conf(). It does just what it sounds like, determines the path to a pid file as it is specified in a conf file. Use the new feature for rc.d/named and rc.d/devd, the 2 services in the base that list their pid files in their conf files. Remove the now-obsolete named_pidfile, and warn users if they have it set. MFC r220963: Improve the error handling for the new get_pidfile_from_conf() END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-29T20:46:09.059460Z K 7 svn:log V 276 MFC 221007: Create a function for the code from r192246 so that it can be used both times mount is called. Limit the automatic behavior to when AUTO is specified (as it is in etc/defaults/rc.conf) and for everything else take advantage of all of the goodness in checkyesno. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-29T20:55:15.511153Z K 7 svn:log V 440 MFC r192246: do not create and mount new file systems on top of the old ones on every invocation of this script once we already have one (in case tmpmfs="YES"). MFC r221007: Create a function for the code from r192246 so that it can be used both times mount is called. Limit the automatic behavior to when AUTO is specified (as it is in etc/defaults/rc.conf) and for everything else take advantage of all of the goodness in checkyesno. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-29T21:02:47.581844Z K 7 svn:log V 36 Put debug printf under bootverbose. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-29T21:09:03.278218Z K 7 svn:log V 32 Complete the AP wake-up revamp. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-29T21:10:41.124936Z K 7 svn:log V 559 Rather than trusting that nothing is going to sneak in before the early_late_divider in the second run (and thus be skipped altogether), keep a list of the scripts run early, and use that list to skip things in the second run. This has the primary benefit of not skipping a local script that gets ordered too early in the second run. It also gives an opportunity to clean up/simplify the code a bit. Use a space-separated list rather than the more traditional colon for maximum insurance against creativity in local naming conventions. Reviewed by: brooks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-29T21:10:45.623623Z K 7 svn:log V 76 o Add as_trace field. o as_delay must be signed as it can drop below 0. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-04-29T21:18:41.087619Z K 7 svn:log V 411 Implement BIO_DELETE for vnode devices by simply overwriting the deleted sectors with all-zeroes. The zeroes come from a static buffer; null(4) uses a dynamic buffer for the same purpose (for /dev/zero). It might be a good idea to have a static, shared, read-only all-zeroes page somewhere in the kernel that md(4), null(4) and any other code that needs zeroes could use. Reviewed by: kib MFC after: 3 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-29T21:19:30.477866Z K 7 svn:log V 59 Provide symbol bdata to mark the base of the data segment. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-04-29T21:36:45.262406Z K 7 svn:log V 332 Add a new bus method, BUS_ADJUST_RESOURCE() that is intended to be a wrapper around rman_adjust_resource(). Include a generic implementation, bus_generic_adjust_resource() which passes the request up to the parent bus. There is currently no default implementation. A bus_adjust_resource() wrapper is provided for use in drivers. END K 10 svn:author V 3 des K 8 svn:date V 27 2011-04-29T22:40:11.635441Z K 7 svn:log V 225 Somewhere around the 473rd time I mistyped "mdconfig file" instead of "mdconfig -f file", I decided that it would be easier to make mdconfig DWIM than to teach my fingers to type the correct command line. MFC after: 3 weeks END K 10 svn:author V 3 des K 8 svn:date V 27 2011-04-29T23:00:23.140185Z K 7 svn:log V 828 Add an -E option to mirror newfs's. The idea is that if you have a system that was built before ffs grew support for TRIM, your filesystem will have plenty of free blocks that the flash chip doesn't know are free, so it can't take advantage of them for wear leveling. Once you've upgraded your kernel, you enable TRIM on the filesystem (tunefs -t enable), then run fsck_ffs -E on it before mounting it. I tested this patch by half-filling an mdconfig'ed filesystem image, running fsck_ffs -E on it, then verifying that the contents were not damaged by comparing them to a pristine copy using rsync's checksum functionality. There is no reliable way to test it on real hardware. Many thanks to mckusick@, who provided the tricky parts of this patch and reviewed the final version. Reviewed by: mckusick@ MFC after: 3 weeks END K 10 svn:author V 5 kargl K 8 svn:date V 27 2011-04-29T23:13:43.429124Z K 7 svn:log V 734 Improve the accuracy from a max ULP of ~2000 to max ULP < 0.79 on i386-class hardware for sinl and cosl. The hand-rolled argument reduction have been replaced by e_rem_pio2l() implementations. To preserve history the following commands have been executed: svn cp src/e_rem_pio2.c ld80/e_rem_pio2l.h mv ${HOME}/bde/ld80/e_rem_pio2l.c ld80/e_rem_pio2l.h svn cp src/e_rem_pio2.c ld128/e_rem_pio2l.h mv ${HOME}/bde/ld128/e_rem_pio2l.c ld128/e_rem_pio2l.h The ld80 version has been tested by bde, das, and kargl over the last few years (bde, das) and few months (kargl). An older ld128 version was tested by das. The committed version has only been compiled tested via 'make universe'. Approved by: das (mentor) Obtained from: bde END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-30T00:17:45.078887Z K 7 svn:log V 32 Make -F --packages work with -r END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-04-30T00:44:17.092697Z K 7 svn:log V 99 In multiport(), don't unset PM_UPDATE_IF_NEWER until we're done testing all the ports in the loop. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-30T01:16:19.990643Z K 7 svn:log V 98 MFC: r220731 Add mutex locking on the nfs node in ncl_inactive() for the experimental NFS client. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-04-30T01:29:18.854619Z K 7 svn:log V 205 MFC: r220732 Add a lktype flags argument to nfscl_nget() and ncl_nget() in the experimental NFS client so that its nfs_lookup() function can use cn_lkflags in a manner analagous to the regular NFS client. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-04-30T01:49:36.274018Z K 7 svn:log V 27 Fix a bogus error message. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-30T02:31:56.655372Z K 7 svn:log V 46 Add a missing DDR FIFO method for the ar71xx. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-04-30T02:44:15.437945Z K 7 svn:log V 77 Bomb out if there are no bindist files. While here, remove an antique line. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-30T05:28:54.895518Z K 7 svn:log V 361 Unbreak non-x86 and in particular ia64, The default stack size on ia64 is 32KB. Unconditionally hardcoding a 16KB stack for reasons of increasing the stack size on i386 is just wrong. If the size was indeed expressed in terms of pages, as the commit log suggested, then it would happen to be just right for ia64, though only accidentally. Pointy hat: avg, pjd END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-04-30T10:55:14.560683Z K 7 svn:log V 279 Import a stock copy of ncurses 5.8 into the vendor space. It seems both local changes we made to 5.7 have already been fixed upstream properly, so there is no need to preserve the changes. Also, with SVN we import full source trees. Unlike CVS, where we removed unneeded cruft. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-04-30T10:56:08.837587Z K 7 svn:log V 17 Tag ncurses 5.8. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-04-30T10:59:17.438537Z K 7 svn:log V 20 Import ncurses 5.9. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-04-30T10:59:55.407624Z K 7 svn:log V 17 Tag ncurses 5.9. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T11:04:34.862148Z K 7 svn:log V 197 Make the PCB code compile without INET support by adding #ifdef INETs and correcting few #includes. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T11:17:00.087817Z K 7 svn:log V 250 Make the UDP code compile without INET. Expose udp_usrreq.c to IPv6 only as well compiling out most functions adding or extending #ifdef INET coverage. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-04-30T11:18:16.395695Z K 7 svn:log V 421 Improve compilation of SCTP code without INET support. Some bugs where fixed while doing this: * ASCONF-ACK messages might use wrong port number when using IPv6. * Checking for additional addresses takes the correct address into account and also does not do more comparisons than necessary. This patch is based on one received from bz@ who was sponsored by The FreeBSD Foundation and iXsystems. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T11:21:29.046701Z K 7 svn:log V 339 Make the TCP code compile without INET. Sort #includes and add #ifdef INETs. Add some comments at #endifs given more nestedness. To make the compiler happy, some default initializations were added in accordance with the style on the files. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-04-30T11:22:30.285742Z K 7 svn:log V 52 Remove some leftover debug code. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-30T11:28:21.990661Z K 7 svn:log V 212 In preparation for the AR724x PCIe bus code, make the AR71xx PCI bus glue require 'device ar71xx_pci' . Users of the AR71xx board configs will now require this for functioning PCI: device pci device ar71xx_pci END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-30T11:30:42.641993Z K 7 svn:log V 49 Add UPDATING entry for the AR71xx config changes END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-30T11:36:16.168175Z K 7 svn:log V 450 Add some initial PCIe bridge support for the AR724x chipsets. This is reported to work on the AR7240 based Ubiquiti Rocket M5 but I haven't tested it on that hardware. I also don't yet have it fully working on the AR7242 based development board here; probe/attach functions but the register space resource looks like the endian-ness is wrong (0x10000000 instead of 0x00001000).o Further digging will be required. Submitted by: Luiz Otavio O Souza END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-30T11:40:31.954062Z K 7 svn:log V 28 Flip off debugging for now. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-30T11:56:04.763724Z K 7 svn:log V 58 Call the DDR FIFO flush method when IP2 interrupts occur. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-30T12:07:15.743990Z K 7 svn:log V 183 The AR724x SoC's require the irq status line to be acked/cleared. This allows console IO to occur correctly once the kernel is in multi-user mode. Submitted by: Luiz Otavio O Souza END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T12:07:31.038769Z K 7 svn:log V 260 Add some more missing optional dependencies on inet6, not only inet, to get the files for an IPv6 only kernel as well, remove extra inet6 option where not needed. Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-04-30T12:25:09.950512Z K 7 svn:log V 198 An example configuration file for the Atheros PB92. TODO: * pcie doesn't yet work properly, I'm working on it. * if_arge doesn't work - it's likely the phy mask is wrong; again I'm working on it. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T12:39:47.622338Z K 7 svn:log V 158 After r221249 allow SCTP to be compiled in an IPv6 only environment as well. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 10 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-04-30T13:49:03.246339Z K 7 svn:log V 40 Clarify the comment. MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T14:22:45.193933Z K 7 svn:log V 164 Fis a problem with r221258 that mac is still needed in case for ient6 only for mac_inet.c. Reported by: Luiz Otavio O Souza (lists.br gmail.com) MFC after: 4 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-04-30T14:52:49.301788Z K 7 svn:log V 198 Fix deduplicated zfs receive (dmu_recv_stream builds incomplete guid_to_ds_map) Illumos-gate changeset: 13329:c48b8bf84ab7 MFC together with v28 Approved by: pjd Obtained from: Illumos (Bug #755) END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T16:30:18.780973Z K 7 svn:log V 157 Fix a mismerge from p4 in that in_localaddr() is not available without INET. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 4 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T17:51:39.110289Z K 7 svn:log V 296 Allow MKMODULESENV being preset from other sources like makeoptions kernel configurations to apply WITH_* WITHOUT_* knobs we use for module building as well to restrict or control opt_*.h flags. Reviewed by: imp, + Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T17:58:28.336575Z K 7 svn:log V 299 Introduce two new options MK_INET and MK_INET_SUPPORT analogically with INET6 equivalents. Patch reather than re-genenerating src.conf (given the current problem with the script that does the re-gen). Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-04-30T17:59:54.620444Z K 7 svn:log V 219 Update carp, gre and pf module builds to be depenent on INET and/or INET6_SUPPORT. Reviewed by: gnn (slightly earlier version without pf) Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks END K 10 svn:author V 3 flz K 8 svn:date V 27 2011-04-30T20:14:20.121294Z K 7 svn:log V 158 portbuild: various fixes. - Fix path to portbuild now that per-build scripts are in /tmp/${buildid}. - Resolve buildid, in case it's "latest" or "previous". END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-30T20:16:49.941039Z K 7 svn:log V 152 Turn PBVM page table entries into PTEs so that they can be inserted into the TLB as-is. While here, have ia64_platform_alloc() return ~0UL on failure. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2011-04-30T20:34:52.738953Z K 7 svn:log V 142 LACP frames must not be send VLAN-tagged, check for that before processing. PR: kern/156743 Submitted by: Dmitrij Tejblum MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-30T20:49:00.951499Z K 7 svn:log V 463 Stop linking against a direct-mapped virtual address and instead use the PBVM. This eliminates the implied hardcoding of the physical address at which the kernel needs to be loaded. Using the PBVM makes it possible to load the kernel irrespective of the physical memory organization and allows us to replicate kernel text on NUMA machines. While here, reduce the direct-mapped page size to the kernel's page size so that we can support memory attributes better. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-30T21:00:36.880312Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@221271 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-30T21:55:08.102097Z K 7 svn:log V 107 Create a project branch for managing kernel and userland conversion to big CPUs count booting possibility. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-04-30T22:07:04.500515Z K 7 svn:log V 1580 MFC 219374, 219376, 219639, 219640, 219697, 219711, 220150: MFC r219374: Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2) These options are supported in this shape in all newer GCC versions. Source: gcc-4_3-branch (rev. 118090, 118973, 120846; GPLv2) MFC r219376: Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.conf For CPUTYPE=core2 use -march=core2 MFC r219639: Backport SSSE3 instruction set support to base gcc. Enabled by default for -march=core2 Source: gcc-4_3-branch (rev. 117958, 121687, 121726, 123639; GPLv2) MFC r219640: Add ssse3 capability for CPUTYPE=core2 to MACHINE_CPU in bsd.cpu.mk MFC r219697: Fix -march/-mtune=native autodetection for Intel Core 2 CPUs Source: gcc-4_3-branch (partial rev. 119454; GPLv2) MFC r219711: Backport missing tunings for -march=core2: - enable extra 80387 mathematical constants (ext_80387_constants) - enable compare and exchange 16 bytes (cmpxchg16b) Verified against llvm-gcc (and apple gcc) Source: gcc-4_3-branch (ref. svn revs. 119260, 121140; GPLv2) MFC r220150: Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision (rev. 127959 of gcc-4_2-branch). Resolved GCC bugs: c++: 17763, 29365, 30535, 30917, 31337, 31941, 32108, 32112, 32346, 32898, 32992 debug: 32610, 32914 libstdc++: 33084, 33128 middle-end: 32563 rtl-optimization: 33148 tree-optimization: 25413, 32723 target: 32218 Source: gcc-4_2-branch (up to rev. 127959) Obtained from: gcc (var. revs of gcc-4_2-branch and gcc-4_3-branch; GPLv2) PR: gnu/153298, gnu/153959, gnu/154385, gnu/155308 END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-04-30T22:15:14.719838Z K 7 svn:log V 49 Bump __FreeBSD_version for the gcc MFC (r220150) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-04-30T22:17:40.582643Z K 7 svn:log V 19 White-space fixes. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-30T22:24:45.695255Z K 7 svn:log V 13 MFC @ 221273 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-30T22:30:18.340124Z K 7 svn:log V 90 idle_cpus_mask is just used in the SMP case and within sched_4BSD. Declare appropriately. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-30T22:33:11.058758Z K 7 svn:log V 100 Remove unnecessary usage of memory barriers when dealing with pmc_cpumask. Discussed with: fabient END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-30T22:34:44.011390Z K 7 svn:log V 18 Fix a typo/error. END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-04-30T22:46:02.124951Z K 7 svn:log V 102 Fix typos. Noted by: Fabian Keil Pointy hat to: kib MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-04-30T23:00:41.463736Z K 7 svn:log V 75 Add ChangeLog.gcc43 for backported changes from gcc 4.3 MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-30T23:02:17.767299Z K 7 svn:log V 123 Remove the support for lazy cr3 switching from i386. amd64 has already this micro-optimization removed. Submitted by: kib END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-30T23:12:37.924764Z K 7 svn:log V 235 Add the function md_assert_nopreempt(), which is a very consistent function on the possibility of a thread to not preempt. As this function is very tied to x86 (interrupts disabled checkings) it is not intended to be used in MI code. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-04-30T23:28:07.707728Z K 7 svn:log V 400 - Remove the following sysctl: kern.sched.ipiwakeup.onecpu kern.sched.ipiwakeup.htt2 Because they are absolutely obsolete. Probabilly the whole wakeup forward mechanism should be revisited for a better fitting in modern hw. - As map2 variable is no longer used rename map3 to map2 - Fix a string by making more informative the msg and removing the arguments passing Approved by: julian END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-01T00:08:13.732696Z K 7 svn:log V 24 Remove unnused typedef. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-01T00:48:03.304485Z K 7 svn:log V 14 MFC @ r221286 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-01T01:34:22.133802Z K 7 svn:log V 103 Fix the Makefile for mount_nfs so that it creates a link for mount_oldnfs.8 instead of mount_newnfs.8. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-01T01:49:35.478714Z K 7 svn:log V 20 s/NFSCLIENT/NFSCL/g END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-01T02:22:54.802496Z K 7 svn:log V 186 MFC: r220735 Fix readdirplus in the experimental NFS client so that it skips over ".." to avoid a LOR race with nfs_lookup(). This fix is analagous to r138256 in the regular NFS client. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-01T02:36:09.260700Z K 7 svn:log V 287 MFC: r220739 Change some defaults in the experimental NFS client to be the same as the regular NFS client for NFSv3. The main one is making use of a reserved port# the default. Also, set the retry limit for TCP the same and fix the code so that it doesn't disable readdirplus for NFSv4. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-01T02:47:54.684927Z K 7 svn:log V 166 MFC: r220751 Fix up some of the sysctls for the experimental NFS client so that they use the same names as the regular client. Also add string descriptions for them. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-01T03:01:21.072191Z K 7 svn:log V 414 MFC: r220752 Get rid of the "nfscl: consider increasing kern.ipc.maxsockbuf" message that was generated when doing experimental NFS client mounts. I put that message in because the krpc would hang with the default size for mounts that used large rsize/wsize values. Since the bug that caused these hangs was fixed by r213756, which fixed the way the krpc used soreserve(), I think the message is no longer needed. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-01T03:16:13.465771Z K 7 svn:log V 401 MFC: r220762 Change the mutex locking for several locations in the experimental NFS client's vnode op functions to make them compatible with the regular NFS client. I'll admit I'm not sure that the mutex locks around the assignments are needed, but the regular client has them, so I added them. Also, add handling of the case of partial attributes in setattr to be compatible with the regular client. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-01T05:36:59.557116Z K 7 svn:log V 195 Each bus is in its own domain and each domain assigns resources independently to devices and from the same local address window. As such, we need the PCI host controller to manage the resources. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-01T13:26:34.379859Z K 7 svn:log V 58 Add the remaining wireless drivers. Discussed with: joel END K 10 svn:author V 3 ume K 8 svn:date V 27 2011-05-01T15:46:18.348423Z K 7 svn:log V 163 Fix typo in manpage resolvconf.conf(5). PR: docs/156494 Submitted by: bcr Requested by: bcr Obtained from: http://roy.marples.name/projects/openresolv/ticket/12 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-01T17:26:52.167414Z K 7 svn:log V 198 For -F --packages* -r handle the case where there is no +REQUIRED_BY Micro-optimize a few more cases where we can avoid going out to disk to test stuff by separating the test for a variable first. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-01T18:41:57.544201Z K 7 svn:log V 44 No need for htole32(), which is an uint8_t. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-01T18:42:56.588630Z K 7 svn:log V 21 Add files for wpi(4) END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-01T19:05:54.028086Z K 7 svn:log V 37 These are of course i386/amd64 only. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-01T19:24:51.768911Z K 7 svn:log V 48 Don't print the "you can restart" message if -F END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-01T19:47:34.536965Z K 7 svn:log V 376 Let users' PATH decide which groff suite to pick up. Let groff pass the -c flag to grotty, which will turn off ANSI sequences. While these are not a problem for our more/less, they get mangled by col(1) and this will result in garbage output. This makes man(1) work together with textproc/groff, in case the user decided to delete the old groff from base (-DWITHOUT_GROFF). END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-05-01T20:14:10.433515Z K 7 svn:log V 521 recoverdisk(8): treat output file consistently and abort on EINVAL This improves usability a little as we no longer require using touch. Also reword the manpage wrt. parameters and fix usage() [1] With no media in a cd(4) drive, the reads will loop producing EINVAL, abort in that case [2]. Document the shortcoming of sectorsize and MAXPHYS (a quick solution to this might be having MAXPHYS as the "bigsize", in short testing it didn't make a difference on throughput). Submitted by: arundel [1] PR: bin/154528 [2] END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-05-01T20:46:37.647074Z K 7 svn:log V 15 Minor cleanup. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-01T22:19:52.849393Z K 7 svn:log V 174 Add the kernel support needed to zero out the nfsstats structure for the new NFS subsystem. This will be used by nfsstats.c to implement the "-z" option. MFC after: 2 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-01T23:32:37.785072Z K 7 svn:log V 340 Some AR724x PCIe fixes, which should wrap up the first round of endian-ness issues with the AR724x. From Luiz: * Fix the bus space tag used so endian-ness is correctly handled; * Only do the workaround for the AR7240; AR7241/AR7242 (PB92) don't require this From me: * Add a read flush from openwrt Submitted by: Luiz Otavio O Souza END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-01T23:41:35.606933Z K 7 svn:log V 89 Fix nfsstat so that the "-z" option works for the new NFS subsystem. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-01T23:55:56.206624Z K 7 svn:log V 134 Fix nfsstat.1 to indicate that "-z" now works for the new NFS subsystems after r221308. This is a content change. MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-02T00:49:47.704502Z K 7 svn:log V 257 MFC: r220763 Add vput() calls in two places in the experimental NFS client that would be needed if, in the future, nfscl_loadattrcache() were to return an error. Currently nfscl_loadattrcache() never returns an error, so these cases never currently happen. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-02T01:01:03.278355Z K 7 svn:log V 407 MFC: r220764 Add a vput() to nfs_lookitup() in the experimental NFS client for a case that will probably never happen. It can only happen if a server were to successfully lookup a file, but not return attributes for that file. Although technically allowed by the NFSv3 RFC, I doubt any server would ever do this. However, if it did, the client would have not vput()'d the new vnode when it needed to do so. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-02T05:39:43.588118Z K 7 svn:log V 161 Add documentation to sys/conf/options pointing out that AH_SUPPORT_AR9130 shouldn't be enabled by default unless you're truely building for the AR913x platform. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-02T06:14:51.627608Z K 7 svn:log V 88 If -F --packages-only and there is no package to fetch, give the user a menu of options END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-02T06:52:42.592488Z K 7 svn:log V 61 Indicate in usage() that --packages* can now be used with -F END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-02T06:54:46.307980Z K 7 svn:log V 89 Update for version 3.9, -L can now take --index-only and -t, -F can now take --packages* END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-02T06:59:09.050348Z K 7 svn:log V 66 Condense the new usage() line for -F to fit an 80-column terminal END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-05-02T08:31:53.111666Z K 7 svn:log V 2237 MFC 218895, 218896, 219374, 219376, 219639, 219640, 219697, 219711, 220150: MFC r218895: Backport svn r124339 from gcc 4.3 and add opteron-sse3, athlon64-sse3 and k8-sse3 cpu-types for -march=/-mtune= gcc options. These new cpu-types include the SSE3 instruction set that is supported by all newer AMD Athlon 64 and Opteron processors. All three cpu-types are supported by clang and all gcc versions starting with 4.3 SVN rev 124339 (at that time GPLv2 licensed). Source: gcc-4_3-branch (rev. 124339; GPLv2) MFC r218896: Add opteron-sse3, athlon64-sse3 and k8-sse3 cpu types to bsd.cpu.mk. - add "sse3" to MACHINE_CPU for the new cpu types - for i386, default to CPUTYPE=prescott for the new cpu types MFC r219374: Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2) These options are supported in this shape in all newer GCC versions. Source: gcc-4_3-branch (rev. 118090, 118973, 120846; GPLv2) MFC r219376: Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.conf For CPUTYPE=core2 use -march=core2 MFC r219639: Backport SSSE3 instruction set support to base gcc. Enabled by default for -march=core2 Source: gcc-4_3-branch (rev. 117958, 121687, 121726, 123639; GPLv2) MFC r219640: Add ssse3 capability for CPUTYPE=core2 to MACHINE_CPU in bsd.cpu.mk MFC r219697: Fix -march/-mtune=native autodetection for Intel Core 2 CPUs Source: gcc-4_3-branch (partial rev. 119454; GPLv2) MFC r219711: Backport missing tunings for -march=core2: - enable extra 80387 mathematical constants (ext_80387_constants) - enable compare and exchange 16 bytes (cmpxchg16b) Verified against llvm-gcc (and apple gcc) Source: gcc-4_3-branch (ref. svn revs. 119260, 121140; GPLv2) MFC r220150: Upgrade of base gcc and libstdc++ to the last GPLv2-licensed revision (rev. 127959 of gcc-4_2-branch). Resolved GCC bugs: c++: 17763, 29365, 30535, 30917, 31337, 31941, 32108, 32112, 32346, 32898, 32992 debug: 32610, 32914 libstdc++: 33084, 33128 middle-end: 32563 rtl-optimization: 33148 tree-optimization: 25413, 32723 target: 32218 Source: gcc-4_2-branch (up to rev. 127959) Obtained from: gcc (var. revs of gcc-4_2-branch and gcc-4_3-branch; GPLv2) PR: gnu/153298, gnu/153959, gnu/154385, gnu/155308, gnu/154906 END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-05-02T08:33:20.171112Z K 7 svn:log V 49 Bump __FreeBSD_version for the gcc MFC (r221317) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2011-05-02T09:47:13.311592Z K 7 svn:log V 21 o OpenBSD 4.9 added. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-05-02T10:35:27.843709Z K 7 svn:log V 284 Add -Wmissing-include-dirs to CWARNFLAGS, so tinderbox will punish those developers committing new code with broken include directories. Fix a few whitespace issues. Improve a couple of comments. -W is now deprecated and is referred to as -Wextra (see gcc(1)). Submitted by: arundel END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-02T10:42:19.180933Z K 7 svn:log V 147 Add in the work-around for the AR8316 gige switch PHY. This allows the ethernet to function on the PB92 board. Submitted by: Luiz Otavio O Souza END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-02T13:56:47.980168Z K 7 svn:log V 101 - Merge a fix fixup for the last lazyfix removal - Sync xen with i386 about the ipi_send_cpu() usage END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-05-02T13:58:40.930283Z K 7 svn:log V 239 MFC r216461: - Assert that dm_lock is exclusively held in devfs_rules_apply() and in devfs_vmkdir() while adding the entry to de_list of the parent. - Apply devfs rules to newly created directories and symbolic links. PR: kern/125034 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-02T14:13:12.500148Z K 7 svn:log V 153 Add implementations of BUS_ADJUST_RESOURCE() to the PCI bus driver, generic PCI-PCI bridge driver, x86 nexus driver, and x86 Host to PCI bridge drivers. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-02T14:23:36.008451Z K 7 svn:log V 14 MFC @ r221324 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-02T14:34:03.464099Z K 7 svn:log V 199 Add an entry for the Kuroutoshikou SERIAL4P-LPPCI2 which uses an Oxford 4 port chip but with a nonstandard clock. PR: kern/104212 Submitted by: Shuichi KITAGUCHI kit of ysnb net MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-02T15:01:28.334371Z K 7 svn:log V 116 Don't explicitly list pci_write_ivar() for bus_write_ivar, the method is already inherited from the PCI bus driver. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-02T15:53:00.430345Z K 7 svn:log V 73 Some more cleanups related to an kernel without INET. MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-02T16:51:02.249785Z K 7 svn:log V 137 All PCI based wireless drivers seem to be explicitly removed from the PAE kernel config, do that also for those added to GENERIC lately. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-02T17:04:09.573068Z K 7 svn:log V 426 As it happens, interrupts actually do work. The problem is that bge(4) in this case is simply not asserting an interrupt. I suspect that this is due to DMA not working. A non-DMA device that generates interrupts (A 3D graphics card, programmed to interrupt on DDC events in this particular case) proofs that interrupts work. With this out of the way, what's left to do is: 1. IPIs (fairly trivial) 2. DMA (rather involved) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-02T17:08:36.243554Z K 7 svn:log V 131 Fix build with clang. Please note there is an LLVM/Clang PR: http://llvm.org/bugs/show_bug.cgi?id=9379 Reported by: rpaulo, dim END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-02T17:13:40.712156Z K 7 svn:log V 93 Remove the redefinition of MEMSTAT_MAXCPU and just use MAXCPU for that. Reviewed by: sbruno END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-02T17:46:59.323950Z K 7 svn:log V 183 Remove usr/include/nfs/krpc.h and usr/include/nfs/nfsdiskless.h from ObsoleteFiles.inc, since these files have been reincarnated in the new NFS implementation. Reviewed by: rmacklem END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-02T17:49:05.721910Z K 7 svn:log V 345 Don't use the whole region 5 for KVA, because the CPU may not implement all of the 61 bits available within the region for virtual addressing. Since there's no good way for us to map out the gap in the virtual address space, limit KVA to the architectural minimum implemented address bits. This still gives us 1 petabyte of KVA, so no worries. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-02T18:41:54.063843Z K 7 svn:log V 172 Correct a typo. According to Intel document 318914, the Tj(max) for Core 2 Duo Mobile CPUs should be 105. Noticed by: Mark Johnston MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-02T19:02:30.358410Z K 7 svn:log V 172 The ACPI Host-PCI bridge driver actually supports multiple domains via the optional _SEG function. Return that value (ap->segment) rather than 0 for the pcib domain ivar. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-02T19:34:44.438667Z K 7 svn:log V 88 Vendor import of llvm trunk r130700: http://llvm.org/svn/llvm-project/llvm/trunk@130700 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-02T19:37:33.009619Z K 7 svn:log V 18 Tag llvm r130700. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-02T19:39:53.447157Z K 7 svn:log V 88 Vendor import of clang trunk r130700: http://llvm.org/svn/llvm-project/cfe/trunk@130700 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-02T19:40:52.002536Z K 7 svn:log V 19 Tag clang r130700. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-02T20:37:30.219042Z K 7 svn:log V 81 Probe the PHY accompanying BCM57765. Tested by: Paul Thornton MFC after: 1 week END K 10 svn:author V 7 davidch K 8 svn:date V 27 2011-05-02T20:43:24.054273Z K 7 svn:log V 143 - Re-committed r220603 which was accidentally backed out by an earlier commit. - Fixed a bug in an unused debug macro. MFC after: One week. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-02T20:45:19.123434Z K 7 svn:log V 118 Fix an logic bug which caused jumbo buffers to not be synced. Reported and tested by: Michael Moll MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-02T21:04:23.488769Z K 7 svn:log V 52 Correct spelling in comments. Submitted by: brucec END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-02T21:04:37.086365Z K 7 svn:log V 66 Upgrade our copy of llvm/clang to r130700, from upstream's trunk. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-02T21:05:52.183093Z K 7 svn:log V 1391 Handle a rare edge case with nearly full TCP receive buffers. If a TCP buffer fills up causing the remote sender to enter into persist mode, but there is still room available in the receive buffer when a window probe arrives (either due to window scaling, or due to the local application very slowing draining data from the receive buffer), then the single byte of data in the window probe is accepted. However, this can cause rcv_nxt to be greater than rcv_adv. This condition will only last until the next ACK packet is pushed out via tcp_output(), and since the previous ACK advertised a zero window, the ACK should be pushed out while the TCP pcb is write-locked. During the window while rcv_nxt is greather than rcv_adv, a few places would compute the remaining receive window via rcv_adv - rcv_nxt. However, this value was then (uint32_t)-1. On a 64 bit machine this could expand to a positive 2^32 - 1 when cast to a long. In particular, when calculating the receive window in tcp_output(), the result would be that the receive window was computed as 2^32 - 1 resulting in advertising a far larger window to the remote peer than actually existed. Fix various places that compute the remaining receive window to either assert that it is not negative (i.e. rcv_nxt <= rcv_adv), or treat the window as full if rcv_nxt is greather than rcv_adv. Reviewed by: bz MFC after: 1 month END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-02T21:10:13.202693Z K 7 svn:log V 48 Minor updates to the clang and tblgen manpages. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-05-02T21:13:08.340821Z K 7 svn:log V 70 Clang r130700 can now compile sys/boot/i386/boot2 with room to spare. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-02T21:46:13.190005Z K 7 svn:log V 23 Restore closing brace. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-02T22:03:30.464415Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-02T22:49:43.669662Z K 7 svn:log V 1316 MFC r220368: Add initial jumbo frame support for BCM5714/BCM5715 and BCM5780. Unlike other controllers which have more advanced jumbo support, these controllers have one send ring, one standard receive producer ring and one receive return ring. In order to receive jumbo frames on the controllers, driver now will increase Rx buffer size to 9k. Two Rx modes are supported on these controllers and I chose standard Rx BDs over extended Rx BDs. The extended Rx BD mode allows up to 4 segmentations for each Rx BDs such that kernel does not have to allocate large buffer of contiguous memory for receiving. The extended Rx BD mode is already used on controllers that have separate jumbo receive ring. However, using extended Rx BDs on BCM5714/BCM5715/BCM5780 reduces the number of Rx BDs to 256 entries which in turn may reduce the performance. Also UMA backed page allocator for jumbo frame returns contiguous memory so using extended Rx BD has no advantage on FreeBSD unless highly customized local allocator implemented in driver is used. To use jumbo buffers in standard receive ring, Rx buffer allocation handler was changed to allocate MJUM9BYTES sized mbuf. PR: kern/155192 Tested by: Vijay Singh gmail dot com> Submitted by: mjacob (initial version) END