ƒ·:215798 154 354 346 826 323 255 203 176 463 111 463 449 152 286 234 335 186 172 318 432 218 333 425 311 266 121 342 315 514 281 291 576 226 141 178 235 205 497 140 113 209 203 514 276 674 182 181 578 210 138 569 379 152 228 162 162 126 200 257 230 264 134 125 317 338 620 188 230 624 513 191 394 407 180 741 244 132 244 158 172 576 280 4216 174 4216 763 763 418 418 131 131 376 376 441 441 198 198 194 194 1241 144 176 380 152 380 153 189 164 209 430 268 246 166 150 478 582 141 110 130 167 141 157 397 293 294 186 191 166 970 946 398 144 144 245 171 665 123 201 201 303 187 1753 297 423 513 134 126 236 206 212 214 197 179 180 207 K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-24T12:34:25.310192Z K 7 svn:log V 261 Remove the note about possible unlocking during vunref(9). It might only happen if VOP_INACTIVATE() drops the vnode lock, which is quite unreasonable behaviour for filesystem, and should not be mentioned in the description of VFS primitives. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-11-24T15:25:17.954057Z K 7 svn:log V 253 Add gptboot_enable rc variable, which allows to turn gptboot reporting off in case user wants to implement his own actions and doesn't want the attributes to vanish. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-11-24T16:02:58.694064Z K 7 svn:log V 733 Simplify ng_pipe locking model by relying on the netgraph framework to provide serialization of calls into the node, which is accomplished by markng the node as single-threaded (NGF_FORCE_WRITER). The price we pay is that each ng_pipe instance now has its own callout handler which polls for queued frames on each clock tick, as long as the pipe has any frames in its internal queues. OTOH, we got rid of the global ng_pipe mutex, so from now on multiple ng_pipe instances can operate in parallel. This change also fixes counting of forwarded frames when an ng_pipe node is not enforcing any packet impairments. While here, attempt to improve adherance to style(9) throughout otherwise mostly unreadable code. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-24T18:35:11.287691Z K 7 svn:log V 230 Change ambiguous (or invalid, depending on how strict you want to be :) assembly instruction "movw %rcx,2(%rax)" to "movw %cx,2(%rax)", since the intent was to move 16 bits of data, in this case. Found by: clang Reviewed by: kib END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-11-24T19:11:32.613886Z K 7 svn:log V 158 Removes all duplicated code with BPF that it's greatly simplified and take all benefits whenever BPF code is improved. Pointed by: jkim Reviewed by: thompsa END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-11-24T19:15:26.746194Z K 7 svn:log V 106 As a refection of r215802 it should use BPF interfaces because the duplication code of USB pf is removed. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-11-24T21:43:36.880113Z K 7 svn:log V 80 Fixes a compiler warning when it's compiled with INVARIANTS. Pointy hat to: me END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-24T21:54:45.859057Z K 7 svn:log V 367 MFC r215637: dispatch_add_command: Modify the logic so there's only one exit point instead of two. Only insert valid (non-NULL) values into the queue. dispatch_free_command: Ensure that item is not NULL before removing it from the queue and dereferencing the pointer. NULL out free'd pointers to catch any use-after-free bugs. PR: bin/146855 Submitted by: gcooper END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2010-11-24T21:57:45.938408Z K 7 svn:log V 16 Merge from head END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-24T21:58:15.031323Z K 7 svn:log V 367 MFC r215637: dispatch_add_command: Modify the logic so there's only one exit point instead of two. Only insert valid (non-NULL) values into the queue. dispatch_free_command: Ensure that item is not NULL before removing it from the queue and dereferencing the pointer. NULL out free'd pointers to catch any use-after-free bugs. PR: bin/146855 Submitted by: gcooper END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-24T22:24:07.949968Z K 7 svn:log V 356 The purpose of this change is to add a routine to disable ASPM L0S and L1 LINK states on 82573, 82574, and 82583. The theory is that this is behind certain hangs being experienced by some customers. Also included a small optimization in the rxeof routine that was in my internal code. Change the PBA size for pchlan, it was incorrect. MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-11-24T22:44:10.051267Z K 7 svn:log V 57 MFC: r215705: hdr.elf.e_ident[EI_OSABI] is not a bitmask END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-11-25T03:02:53.709049Z K 7 svn:log V 189 Assigning the unit number for each interfaces could not use ubus->parent because it could differ depending on the host controller type. It could lead the duplicate unit number assignment. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-11-25T03:16:31.052963Z K 7 svn:log V 138 Give a bit of a hint of the failure (read != expected) but don't make the error message needlessly more verbose. Discussed with: attilio END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-11-25T03:30:43.506314Z K 7 svn:log V 238 Handles the unit number correctly that the previous commit had a problem (wrong unit number for a host controller) when the module is load / unloaded repeatly. Attaching the USB pf is moved to usbus device's attach. Pointed by: yongari END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-25T04:45:31.403039Z K 7 svn:log V 89 Remove vestigal debugging code which, in fork-heavy workloads, can cause a 30x slowdown. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-11-25T07:02:36.337501Z K 7 svn:log V 77 MFC: r201217: ANSIfy ldconfig and the aout bits it still uses from rtld-aout END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-25T08:55:57.574825Z K 7 svn:log V 220 MFC r215699: The meshid element is memcpy()'ed into se_meshid if included in either beacon or probe-response frames. Fix the condition by checking for the the array's content instead of the always existing array itself. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-11-25T12:10:59.852355Z K 7 svn:log V 339 MFC of 215110: Fix so that a multicast packet can be sent even if there is no route out to that mcast address. The code in in_pcb inadvertantly would error (no route) even though the user may have specified the address with the proper socket option (to specify the egress interface). Thanks bz for reminding me I forgot to commit this ;-) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-11-25T13:39:55.847928Z K 7 svn:log V 125 Adds new dtrace for cwnd functions and lay's groundwork for future dtrace points (rwnd flightsize etc). MFC after: 2 months END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-25T15:05:21.949844Z K 7 svn:log V 235 Rename HYPERVISOR_multicall (which performs the multicall hypercall) to _HYPERVISOR_multicall, and create a new HYPERVISOR_multicall function which invokes _HYPERVISOR_multicall and checks that the individual hypercalls all succeeded. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-25T15:41:34.422245Z K 7 svn:log V 327 Work around paging bug. Somehow we seem to be ending up with entries in the TLB which don't correspond to ptes with PG_V set; prior to this commit I'm sometimes getting the wrong data when pages are loaded into the buffer cache (they're being loaded, but the missing TLB invalidation is causing the wrong data to be visible). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-25T15:42:33.297363Z K 7 svn:log V 218 Add device IDs for two more ServerWorks Host-PCI bridges so that we can read their starting PCI bus number for older systems that do not support ACPI (or have a broken _BBN method). PR: kern/148108 MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-25T15:56:05.414043Z K 7 svn:log V 169 Add a missing CTL description from CVS revision 1.147. Sponsored by: Sandvine Incorporated Discussed with: Jeremie Le Hen MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-25T16:21:56.801307Z K 7 svn:log V 25 MFC r215102: Fix a typo. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-25T18:14:18.009327Z K 7 svn:log V 249 Use unambiguous inline assembly to load a float variable. GNU as silently converts 'fld' to 'flds', without taking the actual variable type into account (!), but clang's integrated assembler rightfully complains about it. Discussed with: cperciva END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-11-25T18:20:28.377758Z K 7 svn:log V 220 Add a sync to the shutdown step. In the common case this will be harmless at worst. On a heavily loaded server it will give the fs a chance to do its business without the axe hanging over its head. Submitted by: ivoras END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-25T18:21:08.675075Z K 7 svn:log V 417 MFC r215234: Update to vendor release 1.20.00.19. Bug fixes: * Fixed "inquiry data fails comparion at DV1 step" * Fixed bad range input in bus_alloc_resource for ADAPTER_TYPE_B * Fixed arcmsr driver prevent arcsas support for Areca SAS HBA ARC13x0 Many thanks to Areca for continuing to support FreeBSD. MFC r215280: Workaround build for PAE case for now - revert the PHYS case to previous panic behavior. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-25T18:27:59.076234Z K 7 svn:log V 183 MFC r198786,198816,198819: Big style cleanup. While there remove references to FreeBSD versions older than 6.0. Submitted by: Paul B Mahol Committed by: rpaulo END K 10 svn:author V 6 rstone K 8 svn:date V 27 2010-11-25T18:32:02.423203Z K 7 svn:log V 195 MFC 215474 When netstat was run with -i/-I and -w1 to produce running counters, the idrop field printed an absolute value rather than the delta from the last value Approved by: emaste (mentor) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-25T18:33:44.428489Z K 7 svn:log V 480 MFC: r215259, r215272 - When printing media with more than one media option set aggregate these in a comma delimited list instead of repeating "mediaopt" for each one. This matches how the options of the active media are printed with print_media_word() and brings us in line what NetBSD does. - When setting a media with no sub-type specified also reset the type specific options along with the global ones so these options don't stick when f.e. switching to IFM_AUTO. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-25T18:34:42.764809Z K 7 svn:log V 128 MFC r201620,201644: Add net80211 media status reporting. Submitted by: Paul B Mahol Committed by: rpaulo END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-25T18:36:44.490047Z K 7 svn:log V 49 Sync: merge r215709 through r215824 from ^/head. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-25T18:37:04.838028Z K 7 svn:log V 81 MFC r213778: WPA_CSE_WEP104 was being incorrectly checked. Committed by: rpaulo END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-25T18:40:56.393269Z K 7 svn:log V 137 MFC r213461: Use the printf-like capability from kproc_create(). Submitted by: Paul B Mahol Committed by: thompsa END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-25T18:43:18.844032Z K 7 svn:log V 107 MFC r214798: Remove 4.x, 5.x and 6.x compatibility bits. Submitted by: Paul B Mahol END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-25T18:50:59.180644Z K 7 svn:log V 399 MFC r215135,215419,215420: - According to specs for MmAllocateContiguousMemorySpecifyCache() physically contiguous memory with requested restrictions must be allocated. - Use kmem_alloc_contig() to honour the cache_type variable. - Fix a panic on i386 for drivers using MmAllocateContiguousMemory() and MmAllocateContiguousMemorySpecifyCache(). Submitted by: Paul B Mahol END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-25T19:05:17.496387Z K 7 svn:log V 44 Add a HARDWARE section. MFC after: 2 weeks END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-11-25T19:22:24.981696Z K 7 svn:log V 21 Pet make checkdpadd. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-25T19:33:39.422902Z K 7 svn:log V 112 Update manual page with respect to latest driver. While I'm there remove ARC-1180 which doesn't seem to exist. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-25T20:05:11.620190Z K 7 svn:log V 110 Account i/o done on cdevs. Reported and tested by: Adam Vande More MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-25T20:09:56.244725Z K 7 svn:log V 417 MFC r215234: Update to vendor release 1.20.00.19. Bug fixes: * Fixed "inquiry data fails comparion at DV1 step" * Fixed bad range input in bus_alloc_resource for ADAPTER_TYPE_B * Fixed arcmsr driver prevent arcsas support for Areca SAS HBA ARC13x0 Many thanks to Areca for continuing to support FreeBSD. MFC r215280: Workaround build for PAE case for now - revert the PHYS case to previous panic behavior. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-25T20:29:14.303572Z K 7 svn:log V 183 Apply backported fix for gcc PR 20218. This makes __attribute__ ((visibility ("hidden"))) work properly, and fixes building devel/glib20 with newer binutils. Silence from: current@ END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-25T20:35:49.930418Z K 7 svn:log V 581 Now that the fix for gcc PR 20218 is applied, and hidden attributes actually work, linking of libgcc_s.so.1 on ia64 will fail with: unwind-ia64.So(.text+0x1762): In function `_Unwind_FindEnclosingFunction': : undefined reference to `_Unwind_FindTableEntry' unwind-ia64.So(.text+0x1d82): In function `uw_frame_state_for': : undefined reference to `_Unwind_FindTableEntry' /usr/bin/ld: libgcc_s.so.1: hidden symbol `_Unwind_FindTableEntry' isn't defined Repair this by not hiding the _Unwind_FindTableEntry symbol; on FreeBSD, it is in libc, not in libgcc. Silence from: current@ END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-11-25T21:42:36.687020Z K 7 svn:log V 88 MF8: Don't abend if we get ENOMEM from sysctl(3). The data returned is sufficient END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-11-25T21:51:43.722173Z K 7 svn:log V 87 Don't zero 'Info' after setting it up in the ASR_IOCTL_COMPAT case. MFC after: 2 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-25T22:06:07.887168Z K 7 svn:log V 480 Revert r215819 and fix the bug properly. In pmap_qremove, paging table updates were being queued by pmap_kremove, but the queue wasn't being flushed; as a result, the updates didn't happen until *after* the call to pmap_invalidate_range, and old entries could stick around in the TLB. Adding a PT_UPDATES_FLUSH() call immediately before pmap_invalidate_range ensures that after the invalidation the TLB will be repopulated with the correct new entries. Thanks to: kib, avg, alc END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-25T22:19:40.094256Z K 7 svn:log V 117 Apply the same fix as in r215823 to sys/amd64/amd64/fpu.c: use unambiguous inline assembly to load a float variable. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-11-25T22:56:26.951219Z K 7 svn:log V 42 Removes a unused function `usb_bus_find'. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-26T01:48:29.934356Z K 7 svn:log V 472 Disable retrying RX descriptor loading. The counter is used to set number of retry to be performed whenever controller found RX descriptor was empty. RX empty interrupt is generated only when the retry counter is over. Experimentation shows retrying RX descriptor loading increased number of dropped frames under flow-control enabled environments so disable it and have controller generate RX empty interrupt as fast as it can. While I'm here fix RXCSR_DESC_RT_CNT macro. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-26T01:58:25.277933Z K 7 svn:log V 282 Allocate 1 MSI/MSI-X vector. Originally jme(4) was designed to support multi-queue but the hardware limitation made it hard to implement supporting multi-queue. Allocating more than necessary vectors is resource waste and it can be added back when we implement multi-queue support. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-26T02:01:16.981041Z K 7 svn:log V 56 Enable ethernet flow-control on all jme(4) controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-26T02:10:56.428699Z K 7 svn:log V 131 Enable ethernet flow-control on all alc(4) controllers. This change should reduce a lot of dropped frames under high network load. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-26T02:15:39.027780Z K 7 svn:log V 66 MFC r214426: Add a short note about kernel modules in FIXIT mode. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-26T02:18:52.161423Z K 7 svn:log V 66 MFC r214426: Add a short note about kernel modules in FIXIT mode. END K 10 svn:author V 3 pho K 8 svn:date V 27 2010-11-26T05:29:19.387650Z K 7 svn:log V 34 Vnode reference leak tests added. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-11-26T08:11:43.493597Z K 7 svn:log V 107 Remove kernel support for BB profiling, now that kernbb(8) is gone, too. PR: bin/83558 Reviewed by: jkim END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-11-26T10:57:52.287965Z K 7 svn:log V 159 MFC r215666: Remove trailing dot from the unimplemented futex messages to make them consistent with the syscall and ipc messages. Submitted by: arundel END K 10 svn:author V 4 tijl K 8 svn:date V 27 2010-11-26T10:59:20.385571Z K 7 svn:log V 136 Merge amd64/i386 _align.h by aligning on the size of register_t (copied from powerpc). Reviewed by: imp, jhb Approved by: kib (mentor) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2010-11-26T11:02:51.918440Z K 7 svn:log V 166 MFC r213471: Fix a comparision of an uninitialised pointer. Submitted by: arundel Found by: clang analysis (automatic service by uqs@) Reviewed by: rdivacky END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-26T11:05:29.761677Z K 7 svn:log V 42 MFC r215742: Add PT_GNU_STACK definition. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-26T11:11:48.750349Z K 7 svn:log V 33 MFC r215741: Add include guards. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-26T11:37:35.874691Z K 7 svn:log V 224 Partial MFC r215548: Remove printf()s in the vop_inactive and vop_reclaim() methods related to prtactive variable. The prtactive variable definition and declaration are kept in the stable branch to preserve the KPI and KBI. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-26T11:48:47.020154Z K 7 svn:log V 240 MFC r215707: Prefer pmap_extract() over pmap_kextract() as done in MmIsAddressValid(). According to the comment for MmIsAddressValid() there are issues on PAE kernels using pmap_kextract(). Submitted by: Paul B Mahol END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-26T11:55:51.808233Z K 7 svn:log V 522 MFC r215708: Resurrect amd64 support. - Many drivers on amd64 are picking system uptime, interrupt time and ticks via global data structure instead of calling functions for performance reasons. For now just patch such address so driver will not trigger page fault when trying to access such data. In future, additional callout may be added to update data in periodic intervals. - On amd64 we need to allocate "shadow space" on stack before calling any function. Submitted by: Paul B Mahol END K 10 svn:author V 4 tijl K 8 svn:date V 27 2010-11-26T11:57:45.410263Z K 7 svn:log V 95 Include x86/_align.h directly instead of including the i386 header. Approved by: kib (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-26T14:35:20.581477Z K 7 svn:log V 137 MFaesni r215427: Only save FPU context when not executing in the context of the crypto thread. Tested by: Mike Tancsa MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-26T14:50:42.310206Z K 7 svn:log V 531 Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs() functions, they are unused. Remove 'user' from npxgetuserregs() etc. names. For {npx,fpu}{get,set}regs(), always use pcb->pcb_user_save for FPU context storage. This eliminates the need for ugly copying with overwrite of the newly added and reserved fields in ucontext on i386 to satisfy alignment requirements for fpusave() and fpurstor(). pc98 version was copied from i386. Suggested and reviewed by: bde Tested by: pho (i386 and amd64) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-26T15:30:02.510681Z K 7 svn:log V 420 MFC r215471: In vm_object_page_clean(), handle the pages that might be cached or not written by vm_pageout_flush(). MFC r215574: The runlen returned from vm_pageout_flush() might be zero legitimately MCF r215610: Eliminate the mab, maf arrays and related variables. The change also fixes off-by-one error in the calculation of mreq. MFC r215796: After the sleep caused by encountering a busy page, relookup the page. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-26T15:33:09.721014Z K 7 svn:log V 99 MFC r215469: Only increment object generation count when inserting the page into object page list. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-26T15:35:08.743406Z K 7 svn:log V 297 - Advertise when the reboot came from a watchdog-induced reset. - Fix a bug where TCO_BOOT_STS was supposed to be cleared after TCO_SECOND_TO_STS and not before. Sponsored by: Sandvine Incorporated Submitted by: Mark Johnston Reviewed by: des MFC after: 10 days END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-11-26T15:44:16.646758Z K 7 svn:log V 314 MFC r215673: Allow for MTU sizes of up to ETHER_MAX_LEN_JUMBO (i.e. 9018) bytes to be configured on ng_eiface ifnets. The default MTU remains unchanged at 1500 bytes. Mark ng_eiface ifnets as IFCAP_VLAN_MTU capable, so that the associated vlan(4) ifnets may use full-sized Ethernet MTUs (1500 bytes). END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-11-26T15:45:34.831047Z K 7 svn:log V 88 MFC r215677: Remove an apparently redundant CURVNET_SET() / CURVNET_RESTORE() pair. END K 10 svn:author V 3 zec K 8 svn:date V 27 2010-11-26T15:46:49.175520Z K 7 svn:log V 648 MFC r215726: Allow for vlan(4) ifnets to have overlapping unit numbers if they are created in separated vnets. As a side-effect of having a separated if_cloner instance for each vnet, all vlan ifnets created in a vnet will be automatically destroyed when vnet teardown is initiated. Disallow SIOCSETVLAN and SIOCGETVLAN ioctls on vlan ifnets which are associated with physical ifnets residing in parent vnets. This is an interim vlan-specific solution which will be superseded by a more generic if_cloner V_irtualization change from p4. For nooptions VIMAGE builds, this should be a no-op change. Discussed with: bz END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-26T16:09:08.766711Z K 7 svn:log V 151 MFC r215133: amd64: introduce minidump version 2 This should reduce size of the minidump. Compatibility with version 1 should be preserved in libkvm. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-26T16:21:44.793985Z K 7 svn:log V 37 Revert a completely fouled up merge. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-26T16:24:55.736228Z K 7 svn:log V 151 MFC r215133: amd64: introduce minidump version 2 This should reduce size of the minidump. Compatibility with version 1 should be preserved in libkvm. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-26T17:14:38.301776Z K 7 svn:log V 66 MFC r215131: make it possible to actually enable hwpstate_verbose END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-26T17:31:02.924347Z K 7 svn:log V 80 MFC r215398: hwpstate: use CPU_FOREACH when binding to all available processors END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T18:44:01.166474Z K 7 svn:log V 480 MFC: r215259, r215272 - When printing media with more than one media option set aggregate these in a comma delimited list instead of repeating "mediaopt" for each one. This matches how the options of the active media are printed with print_media_word() and brings us in line what NetBSD does. - When setting a media with no sub-type specified also reset the type specific options along with the global ones so these options don't stick when f.e. switching to IFM_AUTO. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-11-26T19:36:26.766231Z K 7 svn:log V 187 Make the size of the direct map easily configurable. Changing NDMPML4E now suffices. Increase the size of the direct map to 1TB. An earler version of this patch was tested by sbruno@. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T19:48:27.413428Z K 7 svn:log V 4119 MFC: r214608, r215297(partial), r215713 o Flesh out the generic IEEE 802.3 annex 31B full duplex flow control support in mii(4): - Merge generic flow control advertisement (which can be enabled by passing by MIIF_DOPAUSE to mii_attach(9)) and parsing support from NetBSD into mii_physubr.c and ukphy_subr.c. Unlike as in NetBSD, IFM_FLOW isn't implemented as a global option via the "don't care mask" but instead as a media specific option this. This has the following advantages: o allows flow control advertisement with autonegotiation to be turned on and off via ifconfig(8) with the default typically being off (though MIIF_FORCEPAUSE has been added causing flow control to be always advertised, allowing to easily MFC this changes for drivers that previously used home-grown support for flow control that behaved that way without breaking POLA) o allows to deal with PHY drivers where flow control advertisement with manual selection doesn't work or at least isn't implemented, like it's the case with brgphy(4), e1000phy(4) and ip1000phy(4), by setting MIIF_NOMANPAUSE o the available combinations of media options are readily available from the `ifconfig -m` output - Add IFM_FLOW to IFM_SHARED_OPTION_DESCRIPTIONS and IFM_ETH_RXPAUSE and IFM_ETH_TXPAUSE to IFM_SUBTYPE_ETHERNET_OPTION_DESCRIPTIONS so these are understood by ifconfig(8). o Make the master/slave support in mii(4) actually usable: - Change IFM_ETH_MASTER from being implemented as a global option via the "don't care mask" to a media specific one as it actually is only applicable to IFM_1000_T to date. - Let mii_phy_setmedia() set GTCR_MAN_MS in IFM_1000_T slave mode to actually configure manually selected slave mode (like we also do in the PHY specific implementations). - Add IFM_ETH_MASTER to IFM_SUBTYPE_ETHERNET_OPTION_DESCRIPTIONS so it is understood by ifconfig(8). o Switch bge(4), bce(4), msk(4), nfe(4) and stge(4) along with brgphy(4), e1000phy(4) and ip1000phy(4) to use the generic flow control support instead of home-grown solutions via IFM_FLAGs. This includes changing these PHY drivers and smcphy(4) to no longer unconditionally advertise support for flow control but only if the selected media has IFM_FLOW set (or MIIF_FORCEPAUSE is set) and implemented for these media variants, i.e. typically only for copper. o Switch brgphy(4), ciphy(4), e1000phy(4) and ip1000phy(4) to report and set IFM_1000_T master mode via IFM_ETH_MASTER instead of via IFF_LINK0 and some IFM_FLAGn. o Switch brgphy(4) to add at least the the supported copper media based on the contents of the BMSR via mii_phy_add_media() instead of hardcoding them. The latter approach seems to have developed historically, besides causing unnecessary code duplication it was also undesirable because brgphy_mii_phy_auto() already based the capability advertisement on the contents of the BMSR though. o Let brgphy(4) set IFM_1000_T master mode on all supported PHY and not just BCM5701. Apparently this was a misinterpretation of a workaround in the Linux tg3 driver; BCM5701 seem to require RGPHY_1000CTL_MSE and BRGPHY_1000CTL_MSC to be set when configuring autonegotiation but this doesn't mean we can't set these as well on other PHYs for manual media selection. o Let ukphy_status() report IFM_1000_T master mode via IFM_ETH_MASTER so IFM_1000_T master mode support now is generally available with all PHY drivers. o Don't let e1000phy(4) set master/slave bits for IFM_1000_SX as it's not applicable there. Reviewed by: yongari (plus additional testing) Obtained from: NetBSD (partially), OpenBSD (partially) Unlike as in head, bge(4), bce(4), msk(4), nfe(4) and stge(4) are changed to set MIIF_FORCEPAUSE in stable/7 so they continue to always advertise support of flow control and brgphy(4), ciphy(4), e1000phy(4) as well as ip1000phy(4) are changed to still also accept IFF_LINK0 in addition to the master media option for setting master mode, both in order to not violate POLA. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-11-26T20:34:43.352942Z K 7 svn:log V 82 Remove clause 3 and 4 from TNF licenses. Obtained from: NetBSD Approved by: core END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T20:37:19.056201Z K 7 svn:log V 4119 MFC: r214608, r215297(partial), r215713 o Flesh out the generic IEEE 802.3 annex 31B full duplex flow control support in mii(4): - Merge generic flow control advertisement (which can be enabled by passing by MIIF_DOPAUSE to mii_attach(9)) and parsing support from NetBSD into mii_physubr.c and ukphy_subr.c. Unlike as in NetBSD, IFM_FLOW isn't implemented as a global option via the "don't care mask" but instead as a media specific option this. This has the following advantages: o allows flow control advertisement with autonegotiation to be turned on and off via ifconfig(8) with the default typically being off (though MIIF_FORCEPAUSE has been added causing flow control to be always advertised, allowing to easily MFC this changes for drivers that previously used home-grown support for flow control that behaved that way without breaking POLA) o allows to deal with PHY drivers where flow control advertisement with manual selection doesn't work or at least isn't implemented, like it's the case with brgphy(4), e1000phy(4) and ip1000phy(4), by setting MIIF_NOMANPAUSE o the available combinations of media options are readily available from the `ifconfig -m` output - Add IFM_FLOW to IFM_SHARED_OPTION_DESCRIPTIONS and IFM_ETH_RXPAUSE and IFM_ETH_TXPAUSE to IFM_SUBTYPE_ETHERNET_OPTION_DESCRIPTIONS so these are understood by ifconfig(8). o Make the master/slave support in mii(4) actually usable: - Change IFM_ETH_MASTER from being implemented as a global option via the "don't care mask" to a media specific one as it actually is only applicable to IFM_1000_T to date. - Let mii_phy_setmedia() set GTCR_MAN_MS in IFM_1000_T slave mode to actually configure manually selected slave mode (like we also do in the PHY specific implementations). - Add IFM_ETH_MASTER to IFM_SUBTYPE_ETHERNET_OPTION_DESCRIPTIONS so it is understood by ifconfig(8). o Switch bge(4), bce(4), msk(4), nfe(4) and stge(4) along with brgphy(4), e1000phy(4) and ip1000phy(4) to use the generic flow control support instead of home-grown solutions via IFM_FLAGs. This includes changing these PHY drivers and smcphy(4) to no longer unconditionally advertise support for flow control but only if the selected media has IFM_FLOW set (or MIIF_FORCEPAUSE is set) and implemented for these media variants, i.e. typically only for copper. o Switch brgphy(4), ciphy(4), e1000phy(4) and ip1000phy(4) to report and set IFM_1000_T master mode via IFM_ETH_MASTER instead of via IFF_LINK0 and some IFM_FLAGn. o Switch brgphy(4) to add at least the the supported copper media based on the contents of the BMSR via mii_phy_add_media() instead of hardcoding them. The latter approach seems to have developed historically, besides causing unnecessary code duplication it was also undesirable because brgphy_mii_phy_auto() already based the capability advertisement on the contents of the BMSR though. o Let brgphy(4) set IFM_1000_T master mode on all supported PHY and not just BCM5701. Apparently this was a misinterpretation of a workaround in the Linux tg3 driver; BCM5701 seem to require RGPHY_1000CTL_MSE and BRGPHY_1000CTL_MSC to be set when configuring autonegotiation but this doesn't mean we can't set these as well on other PHYs for manual media selection. o Let ukphy_status() report IFM_1000_T master mode via IFM_ETH_MASTER so IFM_1000_T master mode support now is generally available with all PHY drivers. o Don't let e1000phy(4) set master/slave bits for IFM_1000_SX as it's not applicable there. Reviewed by: yongari (plus additional testing) Obtained from: NetBSD (partially), OpenBSD (partially) Unlike as in head, bge(4), bce(4), msk(4), nfe(4) and stge(4) are changed to set MIIF_FORCEPAUSE in stable/8 so they continue to always advertise support of flow control and brgphy(4), ciphy(4), e1000phy(4) as well as ip1000phy(4) are changed to still also accept IFF_LINK0 in addition to the master media option for setting master mode, both in order to not violate POLA. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T20:45:49.045878Z K 7 svn:log V 667 MFC: r215298, r215459, r215714, r215716 - Change these drivers to take advantage and use the generic IEEE 802.3 annex 31B full duplex flow control as well as the IFM_1000_T master support committed in r215297 (merged to stable/8 in r215881). For atphy(4) and jmphy(4) this includes changing these PHY drivers to no longer unconditionally advertise support for flow control but only if the selected media has IFM_FLOW set (or MIIF_FORCEPAUSE is set). - Rename {atphy,jmphy}_auto() to {atphy,jmphy}_setmedia() as these handle other media types as well. Reviewed by: yongari (plus additional testing) Obtained from: NetBSD (partially), OpenBSD (partially) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T20:45:52.074886Z K 7 svn:log V 667 MFC: r215298, r215459, r215714, r215716 - Change these drivers to take advantage and use the generic IEEE 802.3 annex 31B full duplex flow control as well as the IFM_1000_T master support committed in r215297 (merged to stable/7 in r215879). For atphy(4) and jmphy(4) this includes changing these PHY drivers to no longer unconditionally advertise support for flow control but only if the selected media has IFM_FLOW set (or MIIF_FORCEPAUSE is set). - Rename {atphy,jmphy}_auto() to {atphy,jmphy}_setmedia() as these handle other media types as well. Reviewed by: yongari (plus additional testing) Obtained from: NetBSD (partially), OpenBSD (partially) END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T20:55:58.851378Z K 7 svn:log V 322 MFC: r215302 Move the limiting of the PHY to 10/100 modes of operation due to limitations of certain MAC models from brgphy(4) to bge(4) where it belongs. While at it, update the list of models having that restriction to what OpenBSD uses, which in turn seems to have obtained that information from the Linux tg3 driver. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T20:55:59.416979Z K 7 svn:log V 322 MFC: r215302 Move the limiting of the PHY to 10/100 modes of operation due to limitations of certain MAC models from brgphy(4) to bge(4) where it belongs. While at it, update the list of models having that restriction to what OpenBSD uses, which in turn seems to have obtained that information from the Linux tg3 driver. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T20:57:45.409693Z K 7 svn:log V 36 MFC: r215711 Add missing newlines. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T20:57:48.639877Z K 7 svn:log V 36 MFC: r215711 Add missing newlines. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T20:59:43.422229Z K 7 svn:log V 280 MFC: r215720 - Also probe BCM5214 and BCM5222. - Add some DSP init code for BCM5221. The values derived from Apple's GMAC driver and the same init code also exists in Linux's sungem_phy driver. - Only read media status bits when they are valid. Obtained from: NetBSD, OpenBSD END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T20:59:43.545746Z K 7 svn:log V 280 MFC: r215720 - Also probe BCM5214 and BCM5222. - Add some DSP init code for BCM5221. The values derived from Apple's GMAC driver and the same init code also exists in Linux's sungem_phy driver. - Only read media status bits when they are valid. Obtained from: NetBSD, OpenBSD END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:01:19.258502Z K 7 svn:log V 345 MFC: r215722 - Fix and enable support for flow control. - Partially revert r172334; as it turns out the DELAYs in gem_reset_{r,t}x() are actually necessary although bus space barriers and gem_bitwait() are used, otherwise the controller may trigger an IOMMU errors on at least sparc64. This is in line with what Linux and OpenSolaris do. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:01:21.658156Z K 7 svn:log V 345 MFC: r215722 - Fix and enable support for flow control. - Partially revert r172334; as it turns out the DELAYs in gem_reset_{r,t}x() are actually necessary although bus space barriers and gem_bitwait() are used, otherwise the controller may trigger an IOMMU errors on at least sparc64. This is in line with what Linux and OpenSolaris do. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:02:54.092797Z K 7 svn:log V 102 MFC: r215768 - Sprinkle const on tables. - Remove an alpha remnant. - Minor comment and style fixes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:02:57.919829Z K 7 svn:log V 102 MFC: r215768 - Sprinkle const on tables. - Remove an alpha remnant. - Minor comment and style fixes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:07:19.138243Z K 7 svn:log V 99 MFC: r215721 - Fix and enable support for flow control. - Fix compilation with CAS_DEBUG defined. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:07:20.429659Z K 7 svn:log V 99 MFC: r215721 - Fix and enable support for flow control. - Fix compilation with CAS_DEBUG defined. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-26T21:16:21.056598Z K 7 svn:log V 1146 MFC: r196769, r196771, r211424, r215703, r215754 - Disable caches and flush caches/TLBs when we update PAT as we do for MTRR. Flushing TLBs is required to ensure cache coherency according to the AMD64 architecture manual. Flushing caches is only required when changing from a cacheable memory type (WB, WP or WT) to an uncacheable type (WC, UC or UC-). Since this function is only used once per processor during startup, there is no need to take any shortcuts. - Leave PAT indices 0-3 at the default of WB, WT, UC-, and UC. Program 5 as WP (from default WT) and 6 as WC (from default UC-). Leave 4 and 7 at the default of WB and UC. This is to avoid transition from a cacheable memory type to an uncacheable type to minimize possible cache incoherency. Since we perform flushing caches and TLBs now, this change may not be necessary any more but we do not want to take any chances. - Improve pmap_cache_bits() with an array to map PAT memory type to index. This array is initialized early from pmap_init_pat(), so that we do not need to handle special cases in the function any more. Now this function is identical on both amd64 and i386. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-26T21:22:49.154948Z K 7 svn:log V 51 MFC: r210810 Remove an unnecessary register load. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-26T21:26:13.624729Z K 7 svn:log V 83 MFC: r198422 Try hiding annoying text cursor after the video controller is reset. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:27:13.888289Z K 7 svn:log V 284 MFC: r215780 Remove the description of the link0 link option, since r215297 (merged to stable/8 in r215881) the master media option generally should be used instead. This is MFC'ed in order to discourage the use of the link0 link option, although it's still available in stable/8). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-26T21:30:14.011017Z K 7 svn:log V 59 MFC: r210940 Correct argument order of acpi_restorecpu(). END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:32:21.360759Z K 7 svn:log V 284 MFC: r215780 Remove the description of the link0 link option, since r215297 (merged to stable/7 in r215879) the master media option generally should be used instead. This is MFC'ed in order to discourage the use of the link0 link option, although it's still available in stable/7). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-26T21:33:26.546181Z K 7 svn:log V 60 MFC: r210942 Remove unnecessary casting and simplify code. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-26T21:36:38.443328Z K 7 svn:log V 96 MFC: r211202, r211292 Reset switchtime and switchticks after resynchronizing the system clock. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-26T21:39:11.926817Z K 7 svn:log V 71 MFC: r215753 Reinitialize PAT MSR via pmap_init_pat() while resuming. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:41:42.360237Z K 7 svn:log V 113 Ensure Bay flow control is disabled as we're going to use IEEE 802.3 annex 31B full duplex flow control instead. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:52:33.477913Z K 7 svn:log V 334 Fix and implement missing parts of flow control support. This also removes the dev.fxp.%d.noflow tunable as the same effect can now be achieved with ifconfig(8) by setting the flowcontrol media option as desired (besides the tunable never having a chance to actually enable flow control support so far). In joint forces with: yongari END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-26T21:57:01.879702Z K 7 svn:log V 172 Remove the description of the dev.fxp.%d.noflow tunable as it was removed in r215906 and the flowcontrol media option now should be set as desired via ifconfig(8) instead. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-26T22:23:52.879248Z K 7 svn:log V 148 MFC r215779,215782: Add a few functions used in newer drivers. Fix RtlCompareMemory() while here. Submitted by: Paul B Mahol END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-26T22:31:56.334081Z K 7 svn:log V 74 add UPDATING entry for amd64 minidump version 2 This is a direct commit. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-26T22:36:47.301626Z K 7 svn:log V 58 Unwanted extra call to set_vlan_hw added back by mistake. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-26T22:46:32.749543Z K 7 svn:log V 385 Update ixgbe driver to verion 2.3.6 - This adds a VM SRIOV interface, ixv, it is however transparent to the user, it links with the ixgbe.ko, but when ixgbe is loaded in a virtualized guest with SRIOV configured this will be detected. - Sync shared code to latest - Many bug fixes and improvements, thanks to everyone who has been using the driver and reporting issues. END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-11-26T22:50:58.731323Z K 7 svn:log V 487 Merge OpenSSL 0.9.8p into stable/8. This merges up to and including head/crypto/openssl/ r215697; and head/secure/lib/libcrypto/, head/secure/lib/libssl/, head/secure/usr.bin/openssl/ r215698. To make the merge simpler, a hack was added to set MACHINE_CPUARCH. Security: CVE-2010-2939, CVE-2010-3864 Security: http://www.openssl.org/news/secadv_20101116.txt Security: FreeBSD-SA-10:10.openssl Approved by: re (implicitly - they did not object of the general idea of OpenSSL update) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-26T23:57:13.835028Z K 7 svn:log V 49 A couple fixes got clobbered, putting them back. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-27T00:00:33.383535Z K 7 svn:log V 18 and the header... END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-27T00:04:29.035567Z K 7 svn:log V 38 MFC: r214646, r215781, 215789, 215808 END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-27T00:23:55.576514Z K 7 svn:log V 72 MFC of 209704. Fix the clear function which has been broken for a bit. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-27T00:26:08.400754Z K 7 svn:log V 46 This is an MFC of 211282 Avoid a memory leak. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-11-27T00:26:19.747805Z K 7 svn:log V 62 Fix build by correcting function name. Pointed out by dougb. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-27T00:36:11.374955Z K 7 svn:log V 296 MFC r214493,214495: Fix some memory management issues discovered when trying to boot the PPC OF loader on systems where address cells and size cells are both 2 (the Mambo simulator) and fix an error where cons_probe() was called before init_heap() but used malloc() to set environment variables. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-27T00:37:13.489555Z K 7 svn:log V 192 MFC r214494: Fix netboot on some Apple machines on which calling dma-free on the network device can hang the machine. This causes the loss of 64 KB of accessible memory on netbooted machines. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-27T00:46:57.016950Z K 7 svn:log V 193 MFC r215752: Properly use SCHAR_MAX instead of CHAR_MAX for 0x7f. This fixes operation of locate(1) on systems on which char is unsigned by default (ARM and PowerPC). Reported by: Paul Mather END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-27T01:09:54.612125Z K 7 svn:log V 94 MFC: r214646, r215781, r215789, 215808 Brings 7.4 e1000 drivers to the same level as 8.2 END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-27T01:26:59.336603Z K 7 svn:log V 96 Allow pause support advertisement to be turned off again. Submitted by: yongari (ip1000phy(4)) END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-27T01:34:09.786448Z K 7 svn:log V 74 Interrupt handler, and stats changes from Michael Tuexen, thanks Michael! END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-27T02:18:55.296579Z K 7 svn:log V 872 Partially MFC r215166: Disable priming the congestion window from the host cache. The current method interacts poorly with delayed ack and appropriate byte counting amongst other things, resulting in undesired delay during a connection's opening slow start. Even if we did fix the issues, the current method is still dubious at best and needs to be thought through thoroughly. Due to a mistake on my behalf, the change described above was committed to head as part of a larger patch in revision 215166. Instead of waiting for the MFC of 215166, I'm merging just this small portion for the upcoming release without bringing the mergeinfo for r215166 along. The mergeinfo will sort itself out when r215166 is eventually merged. This is an intentional direct commit to the 8-STABLE branch. Reported by: Maxim Dounin and others Submitted by: andre END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-27T03:12:39.070890Z K 7 svn:log V 848 Partially MFC r215166: Disable priming the congestion window from the host cache. The current method interacts poorly with delayed ack amongst other things, resulting in undesired delay during a connection's opening slow start. Even if we did fix the issues, the current method is still dubious at best and needs to be thought through thoroughly. Due to a mistake on my behalf, the change described above was committed to head as part of a larger patch in revision 215166. Instead of waiting for the MFC of 215166, I'm merging just this small portion for the upcoming release without bringing the mergeinfo for r215166 along. The mergeinfo will sort itself out when r215166 is eventually merged. This is an intentional direct commit to the 7-STABLE branch. Reported by: Maxim Dounin and others Submitted by: andre END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-27T03:19:59.533014Z K 7 svn:log V 300 MFC r215552: When enabling or disabling SIFTR with a VIMAGE kernel, ensure we add or remove the SIFTR pfil(9) hook functions to or from all network stacks. This patch allows packets inbound or outbound from a vnet to be "seen" by SIFTR. Reported and tested by: David Hayes END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-27T03:23:40.010120Z K 7 svn:log V 47 MFC r215553: Fix a minor code redundancy nit. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-27T03:46:32.336861Z K 7 svn:log V 47 MFC r215553: Fix a minor code redundancy nit. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-27T03:55:22.611588Z K 7 svn:log V 149 Roll out 209279, 200279 (which were unfortunate direct commits) and merges 204071 and 205847. This is attempt to rectify errors made in past merges. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-27T03:57:18.397207Z K 7 svn:log V 76 This is an MFC of 204071 - Style fixes. - Prefer strlcpy() over strncpy(). END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-27T03:59:55.189124Z K 7 svn:log V 569 This is an MFC of 205847 Change how multipath labels are created and managed. This makes it easier to support various storage boxes which really aren't active-active. We only write the label on the *first* provider. For all other providers we just "add" the disk. This also allows for an "add" verb. A usage implication is that you should specificy the currently active storage path as the first provider. Note that this does not add RDAC-like functionality, but better allows for autovolumefailover configurations (additional checkins elsewhere will support this). END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-27T04:46:16.035411Z K 7 svn:log V 31 Add missing shared code files. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-27T06:33:53.186685Z K 7 svn:log V 104 MFC r215236: Sync with OpenBSD, primarily better signal and terminal handling. Obtained from: OpenBSD END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-27T06:35:15.492121Z K 7 svn:log V 104 MFC r215236: Sync with OpenBSD, primarily better signal and terminal handling. Obtained from: OpenBSD END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-27T07:03:31.997124Z K 7 svn:log V 210 Do hard reset before soft reset for SATA channels. Soft reset reported to be not enough to restore device readiness in some situations. Tested by: Roger Hammerstein on ServerWorks HT1000. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-11-27T09:26:46.661162Z K 7 svn:log V 95 Remove unused traceroute(8) contrib code from head It still lives on under vendor/traceroute. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-11-27T12:26:40.003001Z K 7 svn:log V 1654 Merge MIPS platform support to 8-STABLE. This commit merges the MIPS platform changes that was now stable in -CURRENT into 8-STABLE. The MIPS changesets are too many (~400) to list here. But the changesets merged in this commit that affect other platforms are summarized below: r204635 : (changes to sys/dev/hwpmc, lib/libpmc, sys/sys/pmc.h) Add support for hwpmc(4) on the MIPS 24K, 32 bit, embedded processor. r205845: (changes to sys/modules/Makefile) Fix for building modules on mips and arm. r204031: (changes to sys/kern/link_elf_obj.c) printf fix, as part of kernel module support for MIPS. r206404: (changes to sys/arm/include/bus.h) Add BUS_SPACE_UNRESTRICTED and define it to be ~0, just like all the other platforms - for arm and mips. r206819: (changes to sys/vm/) Add VMFS_TLB_ALIGNED_SPACE option and kmem_alloc_nofault_space(), which is used to allocate kernel stack address on MIPS. r208165, r211087: (sys/kern/subr_smp.c, sys/kern/sched_ule.c) Enable ULE scheduler for MIPS, Fix for an issue in SMP when 32 cpus are enabled. r208659: (sys/{ia64/ia64,mips/mips,sun4v/sun4v}/pmap.c) Simplify the inner loop of get_pv_entry() r208794: (changes to sys/vm/) Make vm_contig_grow_cache() extern, and use it when vm_phys_alloc_contig() fails to allocate MIPS page table pages. r210327: (changes to sys/vm/) Support for MIPS page table page allocation. Add a new function 'vm_page_t vm_page_alloc_freelist(int flind, int order, int req)' to vm/vm_page.c to allocate a page from a specified freelist, and other related changes. Reviewed by: alc(vm changes only) Approved by: kib(re), alc(vm), imp(mips), jmallett(mips), gnn(mips pmc) END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-11-27T13:35:19.311807Z K 7 svn:log V 199 Use if_transmit method instead of if_start, this avoids the interface queue lock. Use the hardware IP checksum verification on receive. Submitted by: Sriram Gorti (srgorti at netlogicmicro dot com) END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-27T13:38:17.426732Z K 7 svn:log V 331 r214975 was not fully adapted to stable/8 and in-kernel version of "destroy -F" does not work, because g_part_parm_uint assumes that parameter is an asci string, but in head/ it is not. Add gpart_destroy wrapper function to gpart(8). It changes "force" parameter and does convert it to string. This is direct commit to stable/8. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-27T13:53:21.558957Z K 7 svn:log V 421 MFC r215570: Add to gpart(8) an ability to backup partition table and restore it from given backup. MFC r215671: Always dump partition labels with `gpart backup`, but `gpart restore` does restore them only when -l option is specified [1]. Make number of entries field in backup format optional. Document -l and -r options of `gpart show` action. MFC r215672: Add SIGINT handler to `gpart restore` action. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-27T15:41:44.590804Z K 7 svn:log V 42 Remove DEBUG sections. MFC after: 3 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-11-27T18:18:09.145268Z K 7 svn:log V 34 Correct em_poll type for stable/7 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-11-27T19:35:12.083716Z K 7 svn:log V 139 MFC r213379, r213426, r213426, r213427, r213432, r213435, r213437, r213439, r214804 Merge the XHCI usb controller and supporting code. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-11-27T19:37:33.652156Z K 7 svn:log V 109 MFC r213425 The root mount hold reference was not released on USB controller attach failures during boot. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-11-27T19:38:40.909378Z K 7 svn:log V 115 MFC r213802 Correct some root HUB descriptor fields in multiple controller drivers. Remove an unused structure. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-11-27T19:39:29.724298Z K 7 svn:log V 117 MFC r213803 USB network (UHSO): - Correct network interface flags. PR: usb/149039 Submitted by: Fredrik Lindberg END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-11-27T19:40:51.232833Z K 7 svn:log V 100 MFC r213805 Add new driver for iPhone tethering, supports the iPhone 3G/3GS/4G ethernet protocol END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-11-27T19:47:58.943785Z K 7 svn:log V 83 MFC r213857,213861,213864,213869,213871 EHCI fixes for register and TD handling. END K 10 svn:author V 3 pho K 8 svn:date V 27 2010-11-27T20:27:07.886398Z K 7 svn:log V 88 First step in fixing the handle_workitem_freeblocks panic. In collaboration with: kib END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-11-27T20:33:08.530257Z K 7 svn:log V 111 Partially revert 208119. We were overwriting tunable settings. Obtained from: Oleg Sharoyko MFC after: 1 week END