ƒ³#215000 186 1176 342 132 492 492 251 318 221 355 355 307 282 195 178 451 121 264 681 184 126 158 241 363 146 170 250 515 150 110 278 530 117 128 227 143 230 659 225 417 211 328 155 192 214 350 211 249 148 454 348 323 191 155 342 662 342 403 469 221 193 225 111 119 158 241 257 417 167 172 154 201 226 217 183 193 133 149 370 325 125 148 205 690 137 619 174 139 138 258 312 152 163 189 406 176 214 186 240 182 181 252 366 147 221 528 367 197 240 120 163 452 144 134 209 299 262 118 960 387 328 158 117 134 217 145 178 297 693 178 279 119 204 629 772 153 288 152 490 467 308 233 324 560 141 257 124 224 319 262 125 238 260 237 332 175 429 100 311 256 579 175 205 204 485 168 450 2844 207 142 106 153 163 120 808 230 169 367 240 878 450 195 355 156 310 458 368 K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-08T19:54:44.985489Z K 7 svn:log V 1078 MFC r214428: Add initial BCM5718 family support. The BCM5718 family includes the dual port BCM5717 and BCM5718 devices which are intended for mainstream workstation and entry-level server designs and represents the twelfth generation of NetXtreme Ethernet controllers. This family is the successor to the BCM5714/BCM5715 family and supports IPv4/IPv6 checksum offloading, TSO, VLAN hardware tagging, jumbo frames, MSI/MSIX, IOV, RSS and TSS. This change set supports all hardware features except IOV and RSS/TSS. Unlike its predecessors, only extended RX buffer descriptors can be posted to the jumbo producer ring. Single RX buffer descriptors for jumbo frame are not supported. RSS requires a more substantial set of changes and will apply to a larger set of NetXtreme devices so RSS/TSS multi-queue support will be implemented in a future releases. Special thanks to Broadcom who kindly sent a sample board to me and to davidch who gave provided the initial support code. Submitted by: davidch (initial version) HW donated by: Broadcom END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-08T20:03:51.879654Z K 7 svn:log V 249 Only dump the values of the PMC and CMCI local vector table entries on a local APIC if those LVT entries are valid. This quiets spurious illegal register local APIC errors during boot on a CPU that doesn't support those vectors. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-08T20:05:22.019397Z K 7 svn:log V 40 A few small style and whitespace fixes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-08T20:14:38.946390Z K 7 svn:log V 395 MFC r214542: Don't bother to enable ASPM L1 to save more power. Even though I am not able to trigger the issue with sample boards, some users seems to suffer from freeze/lockup when system is booted without UTP cable plugged in. I'm not sure whether this is BIOS issue or controller bug. This change fixes AR8132 lockup issue seen on EEE PC. Reported by: kmoore Tested by: kmoore END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-08T20:16:42.611516Z K 7 svn:log V 395 MFC r214542: Don't bother to enable ASPM L1 to save more power. Even though I am not able to trigger the issue with sample boards, some users seems to suffer from freeze/lockup when system is booted without UTP cable plugged in. I'm not sure whether this is BIOS issue or controller bug. This change fixes AR8132 lockup issue seen on EEE PC. Reported by: kmoore Tested by: kmoore END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-11-08T20:21:24.957341Z K 7 svn:log V 158 MFC r173289,174783,175454,191681,191698,191834,195044,197304,198210,199858-199859,201348,205578,208327,208336,210871,214628: Sync bsd-family-tree with head. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-08T20:25:19.725215Z K 7 svn:log V 224 MFC: r213755 Use AcpiReset() from ACPICA instead of rolling our own, which is actually incomplete. If FADT says the register is available, enable the capability by default. Remove the previous default value from acpi(4). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-08T20:30:59.496782Z K 7 svn:log V 128 Disconnect acpi.ko from the build on i386. ACPI is now only supported when compiled into the kernel, not as a loadable module. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-08T20:32:35.763012Z K 7 svn:log V 262 Remove stub symbols for APIC-related functions when 'device apic' is not included in a kernel config. These stubs had existed previously so that acpi.ko could always include the MADT parsing code and still link with a kernel that did not include 'device apic'. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-08T20:35:09.730609Z K 7 svn:log V 262 Sync the APIC startup sequence with amd64: - Register APIC enumerators at SI_SUB_TUNABLES - 1 instead of SI_SUB_CPU - 1. - Probe CPUs at SI_SUB_TUNABLES - 1. This allows i386 to set a truly accurate mp_maxid value rather than always setting it to MAXCPU - 1. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-08T20:44:11.657409Z K 7 svn:log V 214 Don't mention 'device acpi' or loading ACPI as a kernel module since the latter is not supported. This is also more consistent with manpages for other vendor-specific drivers such as acpi_ibm(4) and acpi_sony(4). END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-11-08T20:56:31.367139Z K 7 svn:log V 189 Add a taskqueue_cancel(9) to cancel a pending task without waiting for it to run as taskqueue_drain(9) does. Requested by: hselasky Original code: jeff Reviewed by: jhb MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-08T20:57:02.666677Z K 7 svn:log V 102 Move the MADT parser for amd64 and i386 to sys/x86/acpica now that it is identical on both platforms. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2010-11-08T20:57:08.915326Z K 7 svn:log V 86 Whitespace and other aspects of style(9). No functional changes. MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-11-08T21:22:55.546713Z K 7 svn:log V 353 o) Recognize the Lanner MR-730. o) Fix enumeration of PHY addresses on the MR-955. o) Parse link state for the MR-730 using the Broadcom PHY support in the SDK. It's not clear that this is entirely-correct, but it seems to work. Since this board uses a BCM5482S, this may mean that we work correctly for copper but not SFI, which is untested. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-11-08T21:23:28.786386Z K 7 svn:log V 24 Recognize the BCM5482S. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-08T21:50:45.826016Z K 7 svn:log V 171 Remove support for autoloading ACPI from the loader. Leave in the code to detect ACPI and export info such as the location of the RSDP via hints as that is still useful. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-08T21:50:50.778645Z K 7 svn:log V 584 Follow the lead of vendor's interrupt moderation mechanism. It seems RTL8169/RTL8168/RTL810xE has a kind of interrupt moderation mechanism but it is not documented at all. The magic value dramatically reduced number of interrupts without noticeable performance drops so apply it to all RTL8169/RTL8169 controllers. Vendor's FreeBSD driver also applies it to RTL810xE controllers but their Linux driver explicitly cleared the register, so do not enable interrupt moderation for RTL810xE controllers. While I'm here sort 8169 specific registers. Obtained from: RealTek FreeBSD driver END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-08T22:03:40.563210Z K 7 svn:log V 88 Consistently use tab character instead of using space character. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-08T22:05:11.841369Z K 7 svn:log V 30 Remove trailing white spaces. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-08T22:10:51.605721Z K 7 svn:log V 62 Remove standard PCI configuration space register definitions. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-11-08T22:12:25.156598Z K 7 svn:log V 143 Use macros rather than inline functions to lock and unlock mutexes, so that line number information is preserved in witness. Reviewed by: jhb END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-08T23:15:10.769052Z K 7 svn:log V 267 test: Move tests to tools/regression/bin/test. Convert the tests to the perl prove format. Remove obsolete TEST.README (results of an old TEST.sh for some old Unices) and TEST.csh (old tests without correct values, far less complete than TEST.sh). MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-09T00:14:39.295253Z K 7 svn:log V 53 Reduce diff between platforms and fix style(9) bugs. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-09T00:27:18.263327Z K 7 svn:log V 77 Now OsdEnvironment.c is identical on amd64 and i386. Move it to a new home. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-09T01:52:09.060934Z K 7 svn:log V 153 Only moderate TX completion interrupts. Relying on taskqueue to suppress RX interrupts seems to give better RX performance than RX interrupt moderation. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-09T01:57:56.064408Z K 7 svn:log V 418 MFC r204309, r204313 and r204319 by nyan: Introduce the x86 subtree for code shared between amd64, i386 and pc98. Differently from the HEAD version, the headers are not moved around, in order to avoid breaking the KPI but it can be eventually done once the core mechanism of r214629 is MFCed. MFCing this patch does allow for simpler MFCs handling on i386/amd64 specific code. Sponsored by: Sandvine Incorporated END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-11-09T02:51:38.297533Z K 7 svn:log V 55 Fix the build on 64-bit hosts. WARNS=6 fails on them. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-09T02:53:24.849264Z K 7 svn:log V 14 MFC @ r215025 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-11-09T05:28:07.251992Z K 7 svn:log V 183 In usage() fill in $pd if it's empty (which it will be for -h|--help) Give a more helpful error message for -o when the port to be replaced isn't installed or listed as a dependency END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-11-09T06:23:06.372590Z K 7 svn:log V 435 In read_distinfos_all() a missing DISTINFO_FILE doesn't need to be fatal like it does in read_distinfos() since it could be caused by something uninteresting like a MASTERDIR that exists in part of the tree that has not been downloaded (e.g., a c[v]sup refuse file). Add some whitespace around the message in case make also emits an error. For --clean-distfiles* add a line after the "Checking" message to make the spacing consistent END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-09T09:34:21.862842Z K 7 svn:log V 23 Minor cosmetic changes END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-09T10:28:02.641000Z K 7 svn:log V 36 MFC r205999: ng_gif depends on gif. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-09T10:58:19.817346Z K 7 svn:log V 135 Add frontend dialog to newfs(8). Ask user what to do with unsaved changes when leaving editor. Print out UFS id only when it is valid. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-09T10:59:09.077204Z K 7 svn:log V 48 Fix typos. PR: bin/148894 Submitted by: olgeni END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-09T12:00:39.402665Z K 7 svn:log V 134 Fix a bug which resulted in kevent() reporting an event twice on 1-to-1 style sockets when an ABORT was received. MFC after: 3 days. END K 10 svn:author V 4 nork K 8 svn:date V 27 2010-11-09T13:39:17.725725Z K 7 svn:log V 565 MFC 211201 Add tpm(4) driver for Trusted Platform Module. You may want to look at http://bsssd.sourceforge.net/ . Submitted by: Hans-Joerg Hoexer MFC 211204 Fix copyright information. MFC 211270 Cosmetic change for splitting bus frontend file and core file. MFC 211271 Hook tpm.4 manual to hook. MFC 212861 Add support 'device tpm' for amd64. Add tpm(4)'s default setting to /boot/defaults/loader.conf. Add 'device tpm' to NOTES for amd64 and i386. Reviewed by: takawata Discussed with: takawata Approved by: imp (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-09T14:53:49.207708Z K 7 svn:log V 132 MFC r206900,r206901,r206922,r206993 by rpaulo: Rename the cyclic global variable lapic_cyclic_clock_func to just cyclic_clock_func. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-09T15:14:10.640648Z K 7 svn:log V 324 MFC r208436, r208438: Make table-based HPET identification more clever. Before creating fake device, make sure we have no real HPET device entry with same ID. As side effect, it potentially allows several HPETs to be attached. Use first of them for timecounting, rest (if ever present) could later be used as event sources. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-09T16:18:32.677800Z K 7 svn:log V 115 Improve the scalability by using the local and remote port when putting inps in the tcpephash. MFC after: 3 days. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-11-09T18:28:11.845458Z K 7 svn:log V 235 Unbreak the test target by re-generating the initial scanner using an updated flex(1) binary. Also ignore the changing $FreeBSD$ ID lines when doing the diff. This needs additional obfuscation, to not upset the svn precommit hooks :/ END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-11-09T18:32:57.086741Z K 7 svn:log V 60 Upgrade to Bzip2 version 1.0.6. Reviewed by: SO (cperciva) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-09T18:42:35.572954Z K 7 svn:log V 96 MFC r208921 by jhb: Move mca.c under x86. Sponsored by: Sandvine Incorporated Approved by: jhb END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-09T18:43:59.174627Z K 7 svn:log V 121 MFC 214346: Use intr_disable() and intr_restore() instead of frobbing the flags register directly to disable interrupts. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-09T18:46:09.685551Z K 7 svn:log V 257 MFC 214682: Tweak the waitchannel messages for the dead lock detection kthread. Use a shorter message (userland generally only sees the first 6 to 8 characters) when waiting for the allproc lock. Use "-" when idle to match the behavior of other kthreads. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-09T18:46:44.821004Z K 7 svn:log V 114 Hide 460.chkportsum in MK_PKGTOOLS != no case. Submitted by: Alex Kozlov MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-09T19:28:06.495252Z K 7 svn:log V 156 - Save errno values before calling warn(3) so that errors are correctly reported. - Check for malloc() failures. Submitted by: gcooper MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-09T19:29:29.416292Z K 7 svn:log V 56 MFC r208452, r208479: Unify local_apic.c for x86 archs, END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-11-09T19:43:45.633876Z K 7 svn:log V 362 MFC r214378: Bugfix merge from OpenSolaris: OpenSolaris onnv-revision: 10209:91f47f0e7728 6830541 zfs_get_data_trips on a verify 6696242 multiple zfs_fillpage() zfs: accessing past end of object panics 6785914 zfs fails to drop dn_struct_rwlock in recovery code path Approved by: delphij (mentor) Obtained from: OpenSolaris (Bug ID 6830541, 6696242, 6785914) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-09T19:45:29.804172Z K 7 svn:log V 247 Make all OF client interface calls return the maximum kind of does-not-exist error when no client interface module is installed instead of dereferencing NULL pointers. This eases implementation of platforms that may or may not have Open Firmware. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-09T20:00:23.001527Z K 7 svn:log V 230 MFC 210939: Add a new ipi_cpu() function to the MI IPI API that can be used to send an IPI to a specific CPU by its cpuid. Replace calls to ipi_selected() that constructed a mask for a single CPU with calls to ipi_cpu() instead. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-09T20:28:09.915097Z K 7 svn:log V 95 Move the mptable.h under x86/include/. Sponsored by: Sandvine Incorporated MFC after: 14 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-09T20:41:10.129499Z K 7 svn:log V 63 Remove unused includes of and . END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2010-11-09T20:44:55.634933Z K 7 svn:log V 244 MFC r214893: Fix a segmentation fault in argument processing. The crash was caused by a command line such as this one: # fold -b1 PR: bin/151592 Reporter by: Marcus Reid Tested by: Marcus Reid END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-09T20:46:41.669512Z K 7 svn:log V 569 - Remove . Most of the headers were empty, and the contents of the ones that were not empty were stale and unused. - Now that no longer exists, there is no need to allow it to override various helper macros in . - Rename various helper macros for low-level operations on mutexes to live in the _mtx_* or __mtx_* namespaces. While here, change the names to more closely match the real API functions they are backing. - Drop support for including in assembly source files. Suggested by: bde (1, 2) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2010-11-09T20:56:55.768207Z K 7 svn:log V 244 MFC r214893: Fix a segmentation fault in argument processing. The crash was caused by a command line such as this one: # fold -b1 PR: bin/151592 Reported by: Marcus Reid Tested by: Marcus Reid END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-09T21:00:24.210267Z K 7 svn:log V 307 MFC: r214873 - Move Sun Fire V240 to the list of known working machines. - For the parallel stable/7 and stable/8 branches mention both releases that first supported a particular sparc64 machine and update the sparc64 hardware list regarding machines that will be supported beginning with 7.4-RELEASE. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-11-09T21:00:51.604810Z K 7 svn:log V 373 MFC: r208459, r208511, r214873 - Move Sun Fire V240 to the list of known working machines. - For the parallel stable/7 and stable/8 branches mention both releases that first supported a particular sparc64 machine and update the sparc64 hardware list regarding machines that were supported beginning with 8.1-RELEASE and will be supported beginning with 8.1-RELEASE. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-09T21:06:26.402030Z K 7 svn:log V 124 MFC r214373, r214380, r214386: Move dump_machdep.c into x86/ for amd64, i386 and pc98. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-09T21:18:32.440591Z K 7 svn:log V 97 MFC r214446, r214516: Move mptable support to x86/ subtree. Sponsored by: Sandvine Incorporated END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-09T22:03:39.550649Z K 7 svn:log V 132 MFC r208922 by jhb: Move the MD support for PCI message signalled interrupts to the x86 tree as it is identical for i386 and amd64. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-09T22:09:22.088800Z K 7 svn:log V 19 merge from currnet END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-09T22:16:47.914231Z K 7 svn:log V 27 merge from currnet @215061 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-09T22:17:53.922470Z K 7 svn:log V 63 MFC r214280,214853: New tests that also work with stable/8 sh. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-09T22:18:20.146999Z K 7 svn:log V 148 MFC r209154: Virtualize pci_remap_msi_irq() call from general MSI code. It allows MSI (FSB interrupts) to be used by non-PCI devices, such as HPET. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-09T22:32:09.245277Z K 7 svn:log V 164 Merge from tbemd: o TARGET=mips --> little endian 32-bit mips build o mipsel and mipseb TARGET_ARCH are both mips TARGETs o Add some more architecture combinations END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-09T22:32:11.998817Z K 7 svn:log V 321 MFC r198454: sh: Exempt $@ and $* from set -u This seems more useful and will likely be in the next POSIX standard. Also document more precisely in the man page what set -u does (note that $@, $* and $! are the only special parameters that can ever be unset, all the others are always set, although they may be empty). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-09T23:53:47.622886Z K 7 svn:log V 67 Make AIM early-boot code function correctly without Open Firmware. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-10T00:28:20.687228Z K 7 svn:log V 80 rename SWARM_COMMON to std.SWARM so universe doesn't try to build it standalone END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-10T00:39:42.561609Z K 7 svn:log V 62 Document NANO_CFGDIR and NANO_DATADIR Submitted by: n_hibma@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-10T00:56:44.087798Z K 7 svn:log V 108 Build make.conf when the world is not selected to build, but the kernel is. PR: 151696 Submitted by: lev@ END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-10T01:27:48.296824Z K 7 svn:log V 129 Convert pthread_mutex_t and pthread_cond_t to structure based instead of pointer type, this allows us to support process-shared. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-10T01:29:56.316851Z K 7 svn:log V 123 Refactor acpi_machdep.c for amd64 and i386, move APM emulation into a new file acpi_apm.c, and place it on sys/x86/acpica. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-10T01:52:10.393278Z K 7 svn:log V 87 Remove debug code. Use same condition variable destroying code for FBSD_1.1 interface. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-10T03:18:14.455698Z K 7 svn:log V 97 Convert pthread_rwlock_t from pointer to structure, this allows us to use process-shared rwlock. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-10T04:35:37.400906Z K 7 svn:log V 37 Add missing functions and copyright. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-10T04:37:09.863296Z K 7 svn:log V 53 Convert pthread_barrier_t from pointer to structure. END K 10 svn:author V 4 nork K 8 svn:date V 27 2010-11-10T05:22:12.775302Z K 7 svn:log V 276 MFC 211249 This depends on ACPI, so only build on i386:i386, amd64:amd64 and ia64:ia64. It can't possibly work on pc98, or any of the embedded platforms, since they lack ACPI. Pointy hat: myself Pointed out: nyan, releng_8 tinderbox Approved by: imp (mentor, implicitly) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-10T05:32:36.084299Z K 7 svn:log V 232 When we switched to the gpart backend, and provided selection between MBR & GPT, the MBR full-disk init failed to stamp boot1, and results in a boot not found error. This patch fixes the issue. PR: 151990 Submitted by: Kris Moore END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-10T05:49:44.618288Z K 7 svn:log V 29 Add missing pthread_barrier. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-10T05:54:05.765878Z K 7 svn:log V 52 Convert pthread_spinlock from pointer to structure. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-10T06:24:16.900175Z K 7 svn:log V 112 Insulate the nanobsd build from the current system by opting out of the SRCCONF processing. Noted by: gcopper@ END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-11-10T06:39:49.769494Z K 7 svn:log V 597 Complete the integration of tbemd branch into head. TARGET_BIG_ENDIAN is now completely dead, except where it was originally supposed to be used (internally in the toolchain building). TARGET_ARCH has changed in three cases: (1) Little endian mips has changed to mipsel. (2) Big endian mips has changed to mipseb. (3) Big endian arm has changed to armeb. Some additional changes are needed to make 'make universe' work on arm and mips after this change, so those are commented out for now. UPDATING information will be forthcoming. Any remaining rough edges will be hammered out in -current. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-11-10T08:21:25.613345Z K 7 svn:log V 45 Forgot to svn rm this when I imported 5.4p1. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-10T08:46:29.352834Z K 7 svn:log V 526 MFC r214728: If dlopen() is called for the dso that has been already loaded as a dependency, then the dso never has its DAG initialized. Empty DAG makes ref_dag() call in dlopen() a nop, and the dso refcount is off by one. Initialize the DAG on the first dlopen() call, using a boolean flag to prevent double initialization. MFC r214776: Fix style. MFC r214777: Change init_dag() to not increment DAG refcount. Unconditionally call both init_dag() and ref_dag() in dlopen() for the case when the object was already loaded. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-11-10T10:23:39.868368Z K 7 svn:log V 77 Switch to the new network driver nlge, the old rge driver is deprecated now. END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-10T13:58:24.388236Z K 7 svn:log V 48 Add ability to destroy and recover corrupt GPT. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-11-10T14:33:09.655650Z K 7 svn:log V 46 Typo fix in a comment. Reviewed by: cperciva END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-10T14:38:51.925782Z K 7 svn:log V 166 In r212554 name of G_PART_PARM_GEOM and G_PART_PARM_PROVIDER ctlreq parameters was changed to "arg0". Fix the last place where it is used. Approved by: kib (mentor) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-10T14:59:13.910784Z K 7 svn:log V 215 Fix-up MFC r214446, r214516: Use the appropriate SYSINIT() ordering between the arches. This is intended as a fixup for r215059, so no further notes are merged. Reported by: jhb Sponsored by: Sandvine Incorporated END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-10T16:42:36.256250Z K 7 svn:log V 60 Remove unexisted since r212541 timer1hz/timer2hz variables. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-11-10T17:17:38.273370Z K 7 svn:log V 72 MFC r214418: Add missing "readahead" to the nfs_opts list. PR: 151321 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-10T17:33:47.447359Z K 7 svn:log V 97 MFC 211117: Simplify the logic for handling ipi_selected() and ipi_cpu() in the amd64/i386 case. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-11-10T17:57:34.144408Z K 7 svn:log V 313 Enable reservation-based physical memory allocation. Even without the creation of large page mappings in the pmap, it can provide modest performance benefits. In particular, for a "buildworld" on a 2x 1GHz Ultrasparc IIIi it reduced the wall clock time by 2.2% and the system time by 12.6%. Tested by: marius@ END K 10 svn:author V 4 zack K 8 svn:date V 27 2010-11-10T18:37:03.330975Z K 7 svn:log V 83 Add myself as a new committer and add zml as my mentor. Approved by: zml (mentor) END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2010-11-10T18:41:38.893548Z K 7 svn:log V 117 Allow specification of eject method through quirks, so people can test drive eject methods before supplying patches. END K 10 svn:author V 4 zack K 8 svn:date V 27 2010-11-10T18:45:32.965951Z K 7 svn:log V 93 Add my birthday to the calendar so everyone can send me presents. Approved by: zml (mentor) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-10T18:50:12.849891Z K 7 svn:log V 146 Make APM emulation look more closer to its origin. Use device_get_softc(9) instead of hardcoding acpi(4) unit number as we have device_t for it. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-11-10T19:03:30.360695Z K 7 svn:log V 89 - The entry protection can be READ or EXECUTE for wire to succeed. Discussed with: jhb END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-11-10T19:33:13.002398Z K 7 svn:log V 89 MFC r209639 by marcel: Remove the unneeded header . Reviewed by: marcel END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-10T20:09:05.585807Z K 7 svn:log V 151 Disabling CPU NAP modes during SMU commands is a hack needed only on U3 systems. Don't use it on non-U3 systems to allow cpu_idle() to work correctly. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-10T20:28:10.401804Z K 7 svn:log V 265 Entering deep nap mode on the 970MP requires that both MSR[NAP] and MSR[DEEPNAP] be set, not just MSR[DEEPNAP]. Fixing this reduces the idle temperature of my CPUs from 57 to 38 degrees and makes one-shot timer mode work properly. Hint from: mav MFC after: 4 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-11-10T21:06:49.277438Z K 7 svn:log V 51 Fix typos. Submitted by: gianni MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-10T23:36:13.309717Z K 7 svn:log V 123 Don't unlock a mutex which wasn't locked. PR: kern/137310 Approved by: so (cperciva) Security: FreeBSD-SA-10:09.pseudofs END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2010-11-10T23:45:44.120087Z K 7 svn:log V 431 Add a man page for usb_quirk module, plus references in other man pages, and updated comments in the usb_quirk.h header file. The main purpose of this is to expose the quirks for ejecting 3G modules. usb_modeswitch in Linux does a great job of collecting information on these, and with the quirks module people can try out the modeswitch config file entries on FreeBSD, hence the SCSI strings in the man page. MFC after: 2 weeks END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2010-11-11T00:29:19.582444Z K 7 svn:log V 269 Zero the buffer containing the .gnu_debuglink section before writing into it. Prior to this commit the .gnu_debuglink section can have up to 3 bytes of uninitialized garbage; as a result, .ko files could change vary between builds. Approved by: dim MFC after: 7 days END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-11-11T02:37:50.330907Z K 7 svn:log V 102 MFC r214972,r215031: - Intel IXP425 SoC is based on the ARMv5TE architecture - Minor cosmetic changes END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-11T02:40:00.681408Z K 7 svn:log V 139 Add support for the IMISS, DLMISS, and DSMISS traps required to run FreeBSD on a G2 core. PR: powerpc/111296 Submitted by: Andrew Turner END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-11-11T05:35:42.485416Z K 7 svn:log V 23 Create user work area. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-11-11T05:38:32.821810Z K 7 svn:log V 66 Branch to do a test merge of mips from -current to 8-stable copy. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-11-11T05:40:39.178363Z K 7 svn:log V 359 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 ;-) Reviewed by: bz MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-11-11T08:15:12.408567Z K 7 svn:log V 50 Remove unneeded conditional. Discussed with: kib END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-11T11:26:59.226947Z K 7 svn:log V 42 Fix typo. Function is called ffs_blkfree. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-11T11:35:42.372912Z K 7 svn:log V 116 Add function lbn_offset to calculate offset of the indirect block of given level. Reviewed by: jeff Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-11T11:38:57.803624Z K 7 svn:log V 206 In journal_mount(), only set MNTK_SUJ flag after the jblocks are mapped. I believe there is a window otherwise where jblocks can be accessed without proper initialization. Reviewed by: jeff Tested by: pho END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-11T11:41:52.290379Z K 7 svn:log V 169 Change #ifdef INVARIANTS panic into KASSERT, and print some useful information to diagnose the issue, in handle_complete_freeblocks(). Reviewed by: jeff Tested by: pho END K 10 svn:author V 3 des K 8 svn:date V 27 2010-11-11T11:46:19.345243Z K 7 svn:log V 26 Upgrade to OpenSSH 5.6p1. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-11-11T11:54:01.238683Z K 7 svn:log V 867 The softdep_setup_freeblocks() adds worklist items before deallocate_dependencies() is done. This opens a race between softdep thread and the thread that does the truncation: A write of the indirect block causes the freeblks to become ALLCOMPLETE while softdep_setup_freeblocks() dropped softdep lock. And then, softdep_disk_write_complete() would reassign the workitem to the mount point worklist, causing premature processing of the workitem, or journal write exhaust the fb_jfreeblkhd and handle_written_jfreeblk does the same reassign. indir_trunc() then would find the indirect block that is locked (with lock owned by kernel) but without any dependencies, causing it to hang in getblk() waiting for buffer lock. Do not mark freeblks as DEPCOMPLETE until deallocate_dependencies() finished. Analyzed, suggested and reviewed by: jeff Tested by: pho END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-11-11T12:13:41.207509Z K 7 svn:log V 295 Fix regression introduced in r215088: gpart(8) reports "arg0 'provider': Invalid argument" after creating new partition table. Move code for search of existing geom into g_part_find_geom function and use this function instead of g_part_parm_geom in g_part_ctl_create. Approved by: kib (mentor) END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-11-11T13:35:23.558912Z K 7 svn:log V 235 Use local TLB_UNLOCKED marker instead of MTX_UNOWNED for Book-E PowerPC trap routines. This unbreaks Book-E build after the recent machine/mutex.h removal. While there move tlb_*lock() prototypes to machine/tlb.h. Submitted by: jhb END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-11-11T13:42:46.910677Z K 7 svn:log V 66 Return IEEE 1275 compliant error codes. Submitted by: nwhitehorn END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-11-11T13:46:28.570461Z K 7 svn:log V 25 Fix typo in the comment. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-11-11T13:48:48.607505Z K 7 svn:log V 42 Correct RAM size of the MPC8555CDS board. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-11T14:13:56.995601Z K 7 svn:log V 116 MFC r198588: Turn off Altivec data-stream prefetching before going into power-save mode on those CPUs that need it. END K 10 svn:author V 5 ticso K 8 svn:date V 27 2010-11-11T15:02:14.747006Z K 7 svn:log V 51 add hint for at45d flash device sitting of spibus0 END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-11-11T15:13:11.839205Z K 7 svn:log V 87 Import libcompiler_rt into HEAD and add Makefiles. Obtained from: user/ed/compiler-rt END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-11-11T15:24:57.353735Z K 7 svn:log V 205 Don't use ${LIB} to obtain the library name. Once we use libcompiler_rt, the LIB-line must go, to prevent libgcc.a from being built. Therefore, just hardcode the name. Obtained from: user/ed/compiler-rt END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-11-11T15:48:27.173714Z K 7 svn:log V 601 Replace libgcc.a by libcompiler_rt.a. libcompiler_rt.a is a BSD licensed C language runtime, which implements many routines which are linked into binaries on architectures where certain functionality is missing (e.g. 64 bits mul/div on i386). Unfortunately, libcompiler_rt cannot replace libgcc entirely. Certain features, such as an unwinder for exception handling, are missing. That's why only libgcc.a is replaced for now, because this one does seem to be complete. Tested by: rene (amd64), nwhitehorn (powerpc), droso (i386 exprun) and many others. Thanks! Obtained from: user/ed/compiler-rt END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-11T16:06:47.884602Z K 7 svn:log V 86 Fix a few more places to use cpumask_t rather than 'u_int'. These are just cosmetic. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-11-11T16:53:25.350397Z K 7 svn:log V 187 Set symbol visibility to hidden. Not doing so may cause all sorts of random libraries to expose libcompiler_rt's functions, which should of course not be done. Discussed with: kan, kib END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-11-11T17:08:34.071511Z K 7 svn:log V 28 Remove now obsolete branch. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-11T17:30:49.882024Z K 7 svn:log V 111 make it possible to actually enable hwpstate_verbose Either via the tunable or the sysctl. MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-11-11T18:08:50.240483Z K 7 svn:log V 532 Add basic WOL support for MCP ethernet controllers. It seems the controller does not perform automatic switching from 1000Mbps link to 10/100Mbps link when WOL is activated. Implement establishing 10/100Mps link with auto-negotiation in driver. Link status change handler was modified to remove taskqueue based approach since driver now needs synchronous handling for link establishment. Submitted by: Yamagi Burmeister (lists <> yamagi.org ) (initial version) Tested by: Yamagi Burmeister (lists <> yamagi.org ) MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-11-11T18:35:28.761469Z K 7 svn:log V 679 amd64: introduce minidump version 2 After KVA space was increased to 512GB on amd64 it became impractical to use PTEs as entries in the minidump map of dumped pages, because size of that map alone would already be 1GB. Instead, we now use PDEs as page map entries and employ two stage lookup in libkvm: virtual address -> PDE -> PTE -> physical address. PTEs are now dumped as regular pages. Fixed page map size now is 2MB. libkvm keeps support for accessing amd64 minidumps of version 1. Support for 1GB pages is added. Many thanks to Alan Cox for his guidance, numerous reviews, suggestions, enhancments and corrections. Reviewed by: alc [kernel part] MFC after: 15 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-11-11T18:41:03.751883Z K 7 svn:log V 58 Fix the SACK/NR-SACK generation code. MFC after: 3 days. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-11-11T18:43:31.550311Z K 7 svn:log V 190 According to specs for MmAllocateContiguousMemorySpecifyCache() physically contiguous memory with requested restrictions must be allocated. Submitted by: Paul B Mahol END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-11T19:13:16.054144Z K 7 svn:log V 57 Bump .Dd due to additions in r214279. MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-11T19:17:59.951843Z K 7 svn:log V 397 Revert r103230, which depended on ld preserving the __start_xxx and __stop_xxx symbols for custom sections, even when these were not referenced (at link time). This behaviour was changed again in binutils commit 0b8ed435c3fe8bd09a08c23920e65bfb03251221. This time, put the __GLOBL macro definition in cdefs.h, so it can be reused in a few other places where it will be needed. Reviewed by: kib END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-11T19:18:52.071855Z K 7 svn:log V 374 Use the same treatment as in linker_set.h for the __start and __stop symbols of the set_vnet and set_pcpu sections, so those symbols will always be emitted in kernel modules, if they use vnet.h or pcpu.h. Also, for pcpu.h, make the __(start|stop)_set_pcpu declarations, and associated macros invisible to userland, to prevent it picking up these symbols. Reviewed by: kib END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-11T19:20:33.257494Z K 7 svn:log V 214 Add compat shim for apm(4) to translate APM BIOS function numbers from i386 to PC98-specific ones. Any binaries using apm ioctl(4) commands but built for i386 should also work on PC98 now. Reviewed by: imp, nyan END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-11-11T19:36:21.510194Z K 7 svn:log V 139 Move identical copies of apm_bios.h to sys/x86/include, replace them with stubs, and adjust PC98 stub accordingly. Reviewed by: imp, nyan END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-11-11T19:39:38.641886Z K 7 svn:log V 231 MFC 211149,211151,211197,211518,215128: Update various places that store or manipulate CPU masks to use cpumask_t instead of int or u_int. Since cpumask_t is currently u_int on all platforms this should just be a cosmetic change. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2010-11-11T20:18:33.517255Z K 7 svn:log V 463 Add a GPIO driver for the Gateworks Cambria platform. The external gpio pins are connected to a PLD on the i2c bus, unfortunatley this device does not conform by failing to send an ack after each byte written. The iicbb driver will abort the transfer when the address is not ack'd and it would introduce a lot of churn to be able to pass a flag down to iicbb_start/iicbb_write. Instead we do bad things by grabbing the iicbus but then doing our own bit banging. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-11T20:52:24.266367Z K 7 svn:log V 49 Sync: merge r214895 through r215140 from ^/head. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-11T21:36:52.418240Z K 7 svn:log V 164 Remove some unneeded spaces from the __sym_compat() macro, since newer versions of gas are more fussy about spaces surrounding '@' signs in versioned symbol names. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-11-11T21:53:46.810343Z K 7 svn:log V 30 Fix style. Submitted by: bde END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-11-11T22:21:30.748576Z K 7 svn:log V 132 Vendor import of xz (stripped) Git revision: e45929260cd902036efd40c5610a8d0a50d5712b Release: 5.0.0 Approved by: delphij (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-11T22:35:42.809118Z K 7 svn:log V 226 Make sure to specify the alignment of minbrk and curbrk. They were correctly aligned by accident with earlier binutils, but no longer are, causing link failures. Submitted by: nwhitehorn Obtained from: projects/binutils-2.17 END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-11T22:53:55.325463Z K 7 svn:log V 169 Use -fPIC to build libexec/rtld-elf on sparc64, so it will also be able to link with newer binutils, without overflowing the GOT. Obtained from: projects/binutils-2.17 END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-11T23:00:37.773350Z K 7 svn:log V 33 Fix typo, and re-wrap paragraph. END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-11T23:41:36.465432Z K 7 svn:log V 145 Do not build or install gasp.info anymore, as gasp has not been built or installed for more than 6 years. Obtained from: projects/binutils-2.17 END K 10 svn:author V 3 dim K 8 svn:date V 27 2010-11-11T23:45:19.157115Z K 7 svn:log V 167 Garbage collect gnu/usr.bin/binutils/{gasp,gdb,gdbreplay}, as these have not been connected to the build for more than 6 years. Obtained from: projects/binutils-2.17 END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-12T00:19:42.063171Z K 7 svn:log V 139 The university does not require that its CRICOS number be included in source code. Remove all references from the tree. MFC after: 3 days END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-12T00:44:18.110180Z K 7 svn:log V 234 Standardise all Swinburne related copyright/licence statements throughout the tree in preparation for another large code import. Swinburne University is the legal entity that owns copyright and the 2-clause BSD licence is acceptable. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-12T01:40:29.736609Z K 7 svn:log V 78 The first releases SIFTR will ship in will be 7.4 and 8.2. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-11-12T01:45:29.441390Z K 7 svn:log V 332 MFC r214854: Validate whether the zfs_cmd_t submitted from userland is not smaller than what we have. Without the check the kernel could accessing memory that does not belong to the request struct. Note that we do not test if the struct equals in size at this time, which may faciliate forward compatibility with newer binaries. END K 10 svn:author V 7 weongyo K 8 svn:date V 27 2010-11-12T02:35:21.666257Z K 7 svn:log V 5 IFC. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-12T03:43:22.991911Z K 7 svn:log V 210 Centralize CPU idle routines into powerpc/cpu.c and use the same cpu_idle_hook mechanism that x86 uses for overriding the idle routine. This is required for supporting ilding the CPU under PowerPC hypervisors. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-12T04:13:48.883504Z K 7 svn:log V 155 Fix an error in r215067. An existing /chosen/mmu but missing translations property just means we shouldn't add any translations, not that we should panic. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-12T04:18:19.845335Z K 7 svn:log V 478 Add some platform KOBJ extensions and continue integrating PowerPC hypervisor infrastructure support: - Fix coexistence of multiple platform modules in the same kernel - Allow platform modules to provide an SMP topology - PowerPC hypervisors limit the amount of memory accessible in real mode. Allow the platform modules to specify the maximum real-mode address, and modify the bits of the kernel that need to allocate real-mode-accessible buffers to respect this limits. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-12T04:22:00.228698Z K 7 svn:log V 75 Remove or conditionalize some hypervisor-unfriendly instruction sequences. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-12T04:28:25.410042Z K 7 svn:log V 108 Bump lib version, because the mutex has different size now, and the mutex affects the size of stream class. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-12T05:09:47.291080Z K 7 svn:log V 107 Add a ring buffer to delay the releasing of a thread id, this avoids a thread id being reused too quickly. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-12T05:12:38.478884Z K 7 svn:log V 384 Remove use of a separate ofw_pmap on 32-bit CPUs. Many Open Firmware mappings need to end up in the kernel anyway since the kernel begins executing in OF context. Separating them adds needless complexity, especially since the powerpc64 and mmu_oea64 code gave up on it a long time ago. As a side effect, the PPC ofw_machdep code is no longer AIM-specific, so move it to powerpc/ofw. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-12T05:13:46.499093Z K 7 svn:log V 68 IFC @ r215163 in order to loop back recent merges from this branch. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-12T05:22:27.685715Z K 7 svn:log V 353 - Move pthread types declarations into sys/sys/_pthreadtypes.h. - Rework robust mutex to only use lock-word in mutex. - Move priority ceiling into flag fields. These two changes make sizeof the pthread_mutex 24 bytes, I may still tweak it to reserve some space for future, but I may not let it exceed than 32 bytes which is the cache line size of PIII. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-11-12T06:41:55.918504Z K 7 svn:log V 2745 This commit marks the first formal contribution of the "Five New TCP Congestion Control Algorithms for FreeBSD" FreeBSD Foundation funded project. More details about the project are available at: http://caia.swin.edu.au/freebsd/5cc/ - Add a KPI and supporting infrastructure to allow modular congestion control algorithms to be used in the net stack. Algorithms can maintain per-connection state if required, and connections maintain their own algorithm pointer, which allows different connections to concurrently use different algorithms. The TCP_CONGESTION socket option can be used with getsockopt()/setsockopt() to programmatically query or change the congestion control algorithm respectively from within an application at runtime. - Integrate the framework with the TCP stack in as least intrusive a manner as possible. Care was also taken to develop the framework in a way that should allow integration with other congestion aware transport protocols (e.g. SCTP) in the future. The hope is that we will one day be able to share a single set of congestion control algorithm modules between all congestion aware transport protocols. - Introduce a new congestion recovery (TF_CONGRECOVERY) state into the TCP stack and use it to decouple the meaning of recovery from a congestion event and recovery from packet loss (TF_FASTRECOVERY) a la RFC2581. ECN and delay based congestion control protocols don't generally need to recover from packet loss and need a different way to note a congestion recovery episode within the stack. - Remove the net.inet.tcp.newreno sysctl, which simplifies some portions of code and ensures the stack always uses the appropriate mechanisms for recovering from packet loss during a congestion recovery episode. - Extract the NewReno congestion control algorithm from the TCP stack and massage it into module form. NewReno is always built into the kernel and will remain the default algorithm for the forseeable future. Implementations of additional different algorithms will become available in the near future. - Bump __FreeBSD_version to 900025 and note in UPDATING that rebuilding code that relies on the size of "struct tcpcb" is required. Many thanks go to the Cisco University Research Program Fund at Community Foundation Silicon Valley and the FreeBSD Foundation. Their support of our work at the Centre for Advanced Internet Architectures, Swinburne University of Technology is greatly appreciated. In collaboration with: David Hayes and Grenville Armitage Sponsored by: Cisco URP, FreeBSD Foundation Reviewed by: rpaulo Tested by: David Hayes (and many others over the years) MFC after: 3 months END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-12T07:34:52.096329Z K 7 svn:log V 110 In pthread_mutex_trylock, if the mutex is priority-protect or robust, always enters kernel to lock the mutex. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-12T09:07:11.129612Z K 7 svn:log V 46 Update lock's sizes and bump library version. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-12T09:12:04.676838Z K 7 svn:log V 10 Fix typo. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-12T09:34:21.724074Z K 7 svn:log V 57 Limit total number of robust mutexes a process can hold. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-12T09:46:22.634893Z K 7 svn:log V 67 Don't forget to decrease the robust mutex count if there is error. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-12T09:52:56.364431Z K 7 svn:log V 24 Remove debugging flags. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-12T11:22:59.132340Z K 7 svn:log V 712 MFC r214279: Mostly revert r203420, and add similar functionality into ada(4) since the existing code caused problems with some SCSI controllers. A new sysctl kern.cam.ada.spindown_shutdown has been added that controls whether or not to spin-down disks when shutting down. Spinning down the disks unloads/parks the heads - this is much better than removing power when the disk is still spinning because otherwise an Emergency Unload occurs which may cause damage to the actuator. The FLUSH_CACHE + STANDBY_IMMEDIATE commands are issued following the procedure documented in Fujitsu's MHW series product documentation under section 1.10.1, "Recommended power-off sequence". PR: kern/140752 Submitted by: olli END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-11-12T11:36:12.758025Z K 7 svn:log V 134 MFC r214781, r214807: Improve rounding of standby timer. 22-29 minutes can't be encoded so must be rounded up to 30. PR: bin/151871 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2010-11-12T11:59:59.180730Z K 7 svn:log V 73 MFC r214136: Reshuffle SIOCGIFCONF32 handler. Approved by: kib (mentor) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2010-11-12T12:07:36.351131Z K 7 svn:log V 270 Stop documenting vgonel() after its converting to the static function: svn r147332 (by jeff): "Don't make vgonel() globally visible". While here, specify the vnode locking scheme for vgone(). Discussed on: freebsd-hackers@ Approved by: kib (mentor) MFC after: 10 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-11-12T12:48:41.999787Z K 7 svn:log V 145 move the initialization of BINMAKE earler, so it is available throughout the entire build process. Submitted by: Matteo Landi MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-11-12T13:02:26.703255Z K 7 svn:log V 783 This commit implements the SO_USER_COOKIE socket option, which lets you tag a socket with an uint32_t value. The cookie can then be used by the kernel for various purposes, e.g. setting the skipto rule or pipe number in ipfw (this is the reason SO_USER_COOKIE has been implemented; however there is nothing ipfw-specific in its implementation). The ipfw-related code that uses the optopn will be committed separately. This change adds a field to 'struct socket', but the struct is not part of any driver or userland-visible ABI so the change should be harmless. See the discussion at http://lists.freebsd.org/pipermail/freebsd-ipfw/2009-October/004001.html Idea and code from Paul Joe, small modifications and manpage changes by myself. Submitted by: Paul Joe MFC after: 1 week END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-11-12T13:05:17.344508Z K 7 svn:log V 355 The first customer of the SO_USER_COOKIE option: the "sockarg" ipfw option matches packets associated to a local socket and with a non-zero so_user_cookie value. The value is made available as tablearg, so it can be used as a skipto target or pipe number in ipfw/dummynet rules. Code by Paul Joe, manpage by me. Submitted by: Paul Joe MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2010-11-12T13:59:48.497638Z K 7 svn:log V 103 Tag xz as 5.0.0 (git revision e45929260cd902036efd40c5610a8d0a50d5712b) Approved by: delphij (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-12T14:40:20.105465Z K 7 svn:log V 259 sh(1): Modernize the introduction a bit. In particular, remove the text about ksh-like features, which are usually taken for granted nowadays. The original Bourne shell is fading away and for most users our /bin/sh is one of the most minimalistic they know. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-11-12T15:20:10.729862Z K 7 svn:log V 56 Add CPU support code for the IBM Cell Broadband Engine. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-12T15:30:49.713728Z K 7 svn:log V 214 Make POLL_ERR and POLL_HUP different. The kernel currently does not generate any of the POLL_* constants, but some applications use them and break if they are not all distinct. PR: kern/126076 MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-11-12T15:40:00.299173Z K 7 svn:log V 362 sh: Remove unused man page for echo builtin. The information in sh(1) about the echo builtin is equivalent, though less extensive. The echo(1) man page (bin/echo/echo.1) is different. Unfortunately, sh's echo builtin and /bin/echo have gone out of sync and this probably cannot be fixed any more. Reported by: uqs (list of untouched files) MFC after: 1 week END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-11-12T15:52:27.967301Z K 7 svn:log V 276 Revert to libgcc for sparc64. I've had a report of a sparc64 system where cc1 generates illegal instructions. We still have to diagnose this properly, but instead of hosing all sparc64 boxes out there, fall back to libgcc to prevent more damage. Reported by: Florian Smeets END