ƒ³T205337 176 696 159 197 164 151 1097 152 164 1247 930 407 327 725 266 292 260 550 352 136 189 226 127 208 501 178 352 337 453 234 209 354 243 125 558 448 239 362 113 476 246 520 659 754 199 303 646 211 134 725 168 316 145 155 718 271 197 151 261 183 285 590 483 619 210 257 316 245 168 179 264 120 121 1508 257 216 254 117 115 162 143 202 191 116 164 116 219 304 250 273 205 228 425 141 194 281 462 501 343 766 145 249 262 280 330 416 137 152 243 137 137 150 253 543 543 150 144 114 568 184 144 144 344 180 150 216 216 424 424 424 124 260 358 358 358 190 125 570 113 515 524 524 524 159 238 114 136 159 144 479 114 189 379 205 125 125 1232 184 392 165 274 192 169 126 138 163 709 284 435 146 495 172 293 253 114 869 151 K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-19T16:15:11.372587Z K 7 svn:log V 595 Provide a long list of segment mappings for each process, and change the kernel mappings to be (a) calculated instead of looked up, and (b) cached per-CPU. This gives SMP a fighting chance at working, and should allow the use of more than 16 GB of RAM. It also allows the use of more than 16 GB of VA space per process, and allows some minor speed and correctness improvements in a few places. 32-bit kernels are probably very broken on this branch at the moment. This will be fixed later. More breakage should not be forthcoming -- this is the last major change to the memory management code. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-19T16:25:05.266486Z K 7 svn:log V 59 Fix build on 32-bit PowerPC. Submitted by: Andreas Tobler END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-19T17:05:41.334967Z K 7 svn:log V 97 Fix some minor races during SLB spills, and correct a comment that no longer reflects the truth. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-19T17:48:04.704864Z K 7 svn:log V 64 Less than is different than less than or equal to. Fascinating. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-19T17:48:34.925572Z K 7 svn:log V 51 Miscellaneous cleanups and debugging improvements. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-19T18:33:40.824321Z K 7 svn:log V 1003 Update relnotes (final round, hopefully): SA-09:09,10,11,12,14,15,16,17,10:01,02,03, security.jail.ip[46]_saddrsel, acpidump(8) SRAT support (acpi(4) entry removed)[1], sched_ule(4) deadlock fixed (EN-10:02), superpages enabled by default on amd64 (superpages entry revised)[1], security.bsd.map_at_zero, boot2 on pc98 reimplemented, vgapci(4) MSI/MSI-X proxying (item of the old pci(4) item removed)[1], bce(4) bugfix, cxgb(4) firmware 7.8.0[2], fxp(4) + TSO = poor performance fixed, mxge(4) firmware 1.4.48b, ste(4) improvements, vlan(4) now in GENERIC, gstripe(8) default stripe size is now 64KB, fetch(1) HTTP digest auth support, fetch(1) NO_PROXY/no_proxy support, getpagesize(3) added, mergemaster(8) DELETE_STALE_RC_FILES support, tftp(1) exit status fixed, traceroute(8) address selection in jail, whois(1) -d removed, $vlans_IF in rc.conf added, ISC BIND 9.4-ESV, tzdata2010b, GNOME 2.28.2, and KDE 4.3.5. Spotted by: jhb[1] and np[2] Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-19T18:35:23.849632Z K 7 svn:log V 60 Remove obsolete translations. Approved by: re (implicitly) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-19T18:43:15.731724Z K 7 svn:log V 72 Bump copyright year and trim old entries. Approved by: re (implicitly) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-03-19T19:51:03.805237Z K 7 svn:log V 1154 Split eventhandler_register() into an internal part and a wrapper function that provides the allocated and setup eventhandler entry. Add a new wrapper for VIMAGE that allocates extra space to hold the callback function and argument in addition to an extra wrapper function. While the wrapper function goes as normal callback function the argument points to the extra space allocated holding the original func and arg that the wrapper function can then call. Provide an iterator function for the virtual network stack (vnet) that will call the callback function for each network stack. Provide a new set of macros for VNET that in the non-VIMAGE case will just call eventhandler_register() while in the VIMAGE case it will use vimage_eventhandler_register() passing in the extra iterator function but will only register once rather than per-vnet. We need a special macro in case we are interested in the tag returned as we must check for curvnet and can neither simply assign the return value, nor not change it in the non-vnet0 case without that. Sponsored by: ISPsystem Discussed with: jhb Reviewed by: zec (earlier version), jhb MFC after: 1 month END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-03-19T20:14:27.202377Z K 7 svn:log V 837 The same code is used to import and to create pool. The order of operations is the following: 1. Try to open vdev by remembered path and guid. 2. If 1 failed, try to find vdev which guid matches and ignore the path. 3. If 2 failed this means either that the vdev we're looking for is gone or that pool is being created and vdev doesn't contain proper guid yet. To be able to handle pool creation we open vdev by path anyway. Because of 3 it is possible that we open wrong vdev on import which can lead to confusions. The solution for this is to check spa_load_state. On pool creation it will be equal to SPA_LOAD_NONE and we can open vdev only by path immediately and if it is not equal to SPA_LOAD_NONE we first open by path+guid and when that fails, we open by guid. We no longer open wrong vdev on import. MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-19T21:15:43.962684Z K 7 svn:log V 313 - Map EBDA if available and add 64KB above 1MB (high memory), just in case. - Print the initial memory map when bootverbose is set. - Change the page fault address format from linear to %cs:%ip style. - Move duplicate code into a newly added function. - Add strictly aligned memory access for distant future. ;-) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-19T21:29:30.323322Z K 7 svn:log V 230 Remove the optimized inflate code - it doesn't work on i386 (uses %ebx which conflicts with PIC) and doesn't seem to provide benefit during my tests with help from ministat(1) if we compare with the gain provided by gvmat64 code. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-03-19T22:39:27.505064Z K 7 svn:log V 628 MFC 181019, 183474, 191277, and 191626: - Move the code for doing out-of-memory grass from vm_pageout_scan() into the separate function vm_pageout_oom(). Supply a parameter for vm_pageout_oom() describing a reason for the call. - Call vm_pageout_oom() from the swp_pager_meta_build() when swap zone is exhausted. - In both pageout oom handler and vm_daemon, acquire the reference to the vmspace of the examined process instead of directly accessing its vmspace, that may change. Also, as an optimization, check for P_INEXEC flag before examining the process. Sponsored by: Sandvine Incorporated Reviewed by: emaste END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-20T01:17:12.955013Z K 7 svn:log V 170 Add minimal support for SGI Altix l1 console -- a SAL-based character device. This may not be here to stay, because it's not a real serial device. Then again, who cares? END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T01:39:34.977961Z K 7 svn:log V 191 Increase max user address to 63 bits (63 instead of 64 for compatibility with 64-bit Book-E). I seem to have inadvertantly fixed whatever bug was truncating user addresses to 32 bits before. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T02:23:58.308798Z K 7 svn:log V 159 Fixes for SMP support for powerpc64. This gets the system booted multiuser on both threads in the Cell simulator, and adds speculative support for G5 systems. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T03:39:02.079102Z K 7 svn:log V 449 Correct stack setup. This incorporates two changes: 1. The MI code in kern_exec.c will produce a mis-aligned stack if sigcodesz is not a multiple of register_t. Fix this with a hammer. 2. C functions (like _start) write their parent LR to the parent's stack frame. As such, the 48 bytes above the stack address, which used to include argv, can be overwritten by garbage in certain circumstances. The correct amount of stack padding is now applied. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-03-20T03:39:35.475208Z K 7 svn:log V 259 Add support for the Samsung S3C2xx0 family of ARM SoCs written by Andrew Turner. The kernel supports the LN2410SBC evaluation board, and likely others. These parts (or similar ones) are in some open hardware designs for phones. Submitted by: Andrew Turner END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T03:54:02.228515Z K 7 svn:log V 36 Build ofwdump and friends on PPC64. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T03:58:00.186214Z K 7 svn:log V 89 Let unin(4) attach to U3 controllers found on G5 machines. Submitted by: Andreas Tobler END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-20T04:22:22.392656Z K 7 svn:log V 130 Don't check for boot_verbose in the environment. The loader does that already and sets RB_VERBOSE. The loader has always done it. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-20T04:40:15.173193Z K 7 svn:log V 35 Enable MSI by default for SiI3124. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-20T05:06:47.873792Z K 7 svn:log V 112 Rather than assume we need to wire the first 256MB, wire the 256MB that contains the entry point of the kernel. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-03-20T05:07:15.997352Z K 7 svn:log V 407 This change enables use of physical memory that is beyond the direct mapped kseg0 region. The basic idea is to use KVA from the kseg2 region for mapping page table pages that lie beyond the direct mapped region. The TLB miss handler can now recursively fault into the TLB invalid handler if it dereferences a kseg2 page table page address that is not in the TLB. Tested by: JC (c.jayachandran@gmail.com) END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-03-20T05:10:44.351362Z K 7 svn:log V 85 Get rid of unused macro MIPS_MEM_RID. Suggested by: Alexandr Rybalko (ray@dlink.ua) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-20T05:11:56.187878Z K 7 svn:log V 256 Allow specifications that lack an I/O port or memory mapped I/O address when the UART class doesn't need it. A class doesn't need it when the I/O range is 0. This makes the L1 console work with the following specification: set hw.uart.console="dt:sgisn" END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-03-20T05:21:14.990683Z K 7 svn:log V 243 Make sure that the registers 'v0' and 'v1' are properly sign-extended when sb_load64() returns. Some 32-bit arithmetic operations (e.g. subu) have unpredicatable results when operating on 64-bit registers that are not properly sign-extended. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-03-20T05:49:06.975540Z K 7 svn:log V 359 Sibyte provides a 64-bit read-only counter that counts at half the processor frequency. This counter can be accessed coherently from both cores. Use this as the preferred timecounter for the SWARM kernels. The CP0 COUNT register is unusable as the timecounter on SMP platforms because the COUNT registers on different CPUs are not guaranteed to be in sync. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-03-20T09:29:25.314518Z K 7 svn:log V 142 Chop off excessive long hostnames to keep the table structure intact. This makes lastlogin(8) use exactly the same printf format as last(1). END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-03-20T11:05:11.726506Z K 7 svn:log V 114 wollman@ has OK'd dropping his maintainership of zic(8) Submitted by: linimon Approved by: wollman (via linimon) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-03-20T12:39:28.415282Z K 7 svn:log V 259 Remove some stale entries from MAINTAINERS: - aradford@amcc.com bounces. - gad said to drop pkill(1) and ps(1). - jmallett said to drop libufs. - joerg said to drop fdc(4) and sppp(4) Submitted by: linimon Approved by: gad, jmallett, joerg (via linimon) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T14:24:57.185697Z K 7 svn:log V 142 Fix the Book-E build. Due to lack of hardware, I have no idea if Book-E still works on this branch, but at least make universe now completes. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T14:26:30.333450Z K 7 svn:log V 25 vi went haywire. Fix it. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T14:35:24.231780Z K 7 svn:log V 457 Revisit locking in the 64-bit AIM PMAP. The PVO head for a page is generally protected by the VM page queue mutex. Instead of extending the table lock to cover the PVO heads, add some asserts that the page queue mutex is in fact held. This fixes several LORs and possible deadlocks. This also adds an optimization to moea64_kextract() useful for direct-mapped quantities, like UMA buffers. Being able to use this from inside UMA removes an additional LOR. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-20T14:36:39.737381Z K 7 svn:log V 355 Update release notes: URL of Errata doc added[1], s/release candidate/release/[1], grammatical fixes[1], description on pc98 boot2 fixed[2], description on gstripe(8) improved[2], description on vfs.flushbufqtarget improved[2], and description on tzcode2009k improved[3]. Submitted by: dhw[1], ivoras[2], and edwin[3] Approved by: re (implicitly) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-03-20T14:42:16.420899Z K 7 svn:log V 144 Tweak language to make one point potentially clearer for non-native spekers PR: bin/121424 Submitted by: "Julian H. Stacey" END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T14:49:44.462151Z K 7 svn:log V 261 MFC r204082,204179,204180,204218,204241,204247,204270,204692: Provide thermal management and monitoring features in smu(4). This allows fan control and thermal monitoring on SMU-based Apple G5 machines, as well as an led(4) interface to control the sleep LED. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T14:53:52.879288Z K 7 svn:log V 13 IFC @ 205370 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T14:55:22.137280Z K 7 svn:log V 375 MFC r204903: Place interrupt handling in a critical section and remove double counting in incrementing the interrupt nesting level. This fixes a number of bugs in which the interrupt thread could be preempted by an IPI, indefinitely delaying acknowledgement of the interrupt to the PIC, causing interrupt starvation and hangs. Reported by: linimon Reviewed by: marcel, jhb END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-20T14:57:24.143436Z K 7 svn:log V 153 Remove an entry of "superpages enabled by default on amd64" because it has been reverted on releng/7.3. Spotted by: ivoras Approved by: re (implicitly) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T15:05:44.315922Z K 7 svn:log V 419 Fix a bug where pages being removed from memory entirely no longer have PVOs, and so the modified state of the page can no longer be communicated to the VM layer, causing pages not to be flushed to swap when needed, in turn causing memory corruption. Also make several correctness adjustments to I-Cache synchronization and TLB invalidation for 64-bit Book-S CPUs. Obtained from: projects/ppc64 Discussed with: grehan END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T15:15:54.157877Z K 7 svn:log V 558 MFC r204128: Reduce KVA pressure on OEA64 systems running in bridge mode by mapping UMA segments at their physical addresses instead of into KVA. This emulates the direct mapping behavior of OEA32 in an ad-hoc way. To make this work properly required sharing the entire kernel PMAP with Open Firmware, so ofw_pmap is transformed into a stub on 64-bit CPUs. Also implement some more tweaks to get more mileage out of our limited amount of KVA, principally by extending KVA into segment 16 until the beginning of the first OFW mapping. Reported by: linimon END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T15:19:57.326157Z K 7 svn:log V 653 MFC r204268: Close a race involving the OEA64 scratchpage. When the scratch page's physical address is changed, there is a brief window during which its PTE is invalid. Since moea64_set_scratchpage_pa() does not and cannot hold the page table lock, it was possible for another CPU to insert a new PTE into the scratch page's PTEG slot during this interval, corrupting both mappings. Solve this by creating a new flag, LPTE_LOCKED, such that moea64_pte_insert will avoid claiming locked PTEG slots even if they are invalid. This change also incorporates some additional paranoia added to solve things I thought might be this bug. Reported by: linimon END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T15:21:13.922067Z K 7 svn:log V 99 MFC r204269: Use dcbz instead of word stores for page zeroing, providing a factor of 3-4 speedup. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T15:23:06.568604Z K 7 svn:log V 202 MFC r204296: Provide an implementation of pmap_dev_direct_mapped() on OEA64. This is required in order to be able to mmap the running kernel, which is turn required to avoid fstat returning gibberish. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T15:27:01.883371Z K 7 svn:log V 545 MFC r204297: Move the OEA64 scratchpage to the end of KVA from the beginning, and set its PVO to map physical address 0 instead of kernelstart. This fixes a situation in which a user process could attempt to return this address via KVM, have it fault while being modified, and then panic the kernel because (a) it is supposed to map a valid address and (b) it lies in the no-fault region between VM_MIN_KERNEL_ADDRESS and virtual_avail. While here, move msgbuf and dpcpu back into regular KVA space for consistency with other implementations. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T15:28:39.445217Z K 7 svn:log V 110 MFC r204211: Support the extended PLT format used when objects have more than 8192 PLT relocations on PPC32. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-20T15:30:26.685232Z K 7 svn:log V 42 Correct MAXPHYS and DFLTPHYS description. END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-03-20T16:16:13.830156Z K 7 svn:log V 633 Escape characters unsafe for XML output in GEOM class, instance and provider names. - Characters in range 0x01-0x1f except '\t', '\n', and '\r' are replaced with '?'. Those characters are disallowed in XML. - '&', '<', '>', '\'', '"' and characters in range 0x7f-0xff are replaced with XML numeric character reference. If the kern.geom.confxml sysctl provides invalid XML, libgeom geom_xml2tree() fails and utilities using it do not work. Unsafe characters are common in msdosfs and cd9660 labels. PR: kern/104389 Submitted by: Doug Steinwand (original version) Reviewed by: pjd Discussed on: freebsd-geom MFC after: 3 weeks END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-03-20T16:34:51.941031Z K 7 svn:log V 74 Fix command example, presumed leftovers of old markup. MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-20T16:39:28.010397Z K 7 svn:log V 223 Update release notes: merge two SysV IPC entries into one, rtld(1) entries revised: - dynamic string token subst - PIE support improvement - ELF object mapping change Suggested by: kib Approved by: re (implicitly) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T16:42:23.747403Z K 7 svn:log V 45 Install powermac_nvram headers on powerpc64. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T17:37:22.030145Z K 7 svn:log V 55 Add libsmb to the build on PPC64. This unbreaks world. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T18:55:54.126055Z K 7 svn:log V 617 Remove a hack of questionable continuing relevance, though checks will be needed on all architectures before this can go into HEAD. The ELF image activator used the segment containing the image entry point as the official text segment, and the last other loadable segment as the official data segment, instead of checking whether the segments were executable. This was apparently required for Alpha support. On PPC64, the executable entry point points to a non-executable function descriptor in the .opd data section, which breaks this logic. As we no longer support Alpha, it may now be safe to turn off this hack. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-03-20T19:47:30.423831Z K 7 svn:log V 176 - spread tcp timer callout load evenly across cpus if net.inet.tcp.per_cpu_timers is set to 1 - don't default to acquiring tcbinfo lock exclusively in rexmt MFC after: 7 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-20T20:58:08.687111Z K 7 svn:log V 97 Support profiling on powerpc64. The only remaining thing on the todo list is DMA bounce buffers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-20T21:04:47.868186Z K 7 svn:log V 56 - Remove a bogus forward declaration. - Fix whitespace. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-20T21:15:56.060017Z K 7 svn:log V 165 Ensure that __fpu_ftox() both returns the high bits and res[1] contains the low bits also in the default case. PR: 144900 Obtained from: OpenBSD MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-20T21:27:44.153277Z K 7 svn:log V 88 FPU_DEBUG requires . PR: 144900 Submitted by: Peter Jeremy MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-20T22:12:15.959358Z K 7 svn:log V 189 Division should take both arguments' signs into account when the the dividend is infinity or zero and the divisor is not the same. PR: 144900 Submitted by: Peter Jeremy MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-20T22:32:13.678125Z K 7 svn:log V 494 - While SPARC V9 allows tininess to be detected either before or after rounding (impl. dep. #55), the SPARC JPS1 responsible for SPARC64 and UltraSPARC processors defines that in all cases tinyness is detected before rounding, therefore rounding up to the smallest normalised number should set the underflow flag. - If an infinite result is rounded down, the result should have an exponent 1 less than the value for infinity. PR: 144900 Submitted by: Peter Jeremy MFC after: 3 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-03-20T22:58:54.546905Z K 7 svn:log V 387 Do not create *.gmon files for PIE executables on i386. Scrt1_c.o was accidentally compiled with -DGCRT (profiling), like gcrt1_c.o. This problem is i386-specific, the other architectures are OK. If you have problems with PIE executables such as samba and cups leaving behind gmon files, rebuild them after installing this change. PR: ports/143924 Reviewed by: kib MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-20T23:00:43.877431Z K 7 svn:log V 523 Improve the KVA space sizing of 186682; on machines with large dTLBs we can actually use all of the available lockable entries of the tiny dTLB for the kernel TSB. With this change the KVA space sizing happens to be more in line with the MI one so up to at least 24GB machines KVA doesn't need to be limited manually. This is just another stopgap though, the real solution is to take advantage of ASI_ATOMIC_QUAD_LDD_PHYS on CPUs providing it so we don't need to lock the kernel TSB pages into the dTLB in the first place. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-03-20T23:50:55.991508Z K 7 svn:log V 112 Guess at the date the 7.3-RELEASE builds will be finished and everything will be in place for the announcement. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-03-21T00:05:29.727318Z K 7 svn:log V 159 Merge r205400: > Guess at the date the 7.3-RELEASE builds will be finished and everything > will be in place for the announcement. Approved by: re (implicit) END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-03-21T00:13:11.449191Z K 7 svn:log V 223 I am told by AMD that the machine check hardware on the instruction TLB won't generate bogus exceptions. Therefore, the implementation of the "unofficial" workaround needn't mask L1TP errors by the instruction cache unit. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-03-21T00:21:59.788272Z K 7 svn:log V 152 Eliminate a pointless TLB invalidation from pmap_bootstrap(). No mappings whatsoever are changed between the earlier load_cr3() and this invalidation. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-03-21T01:03:49.213710Z K 7 svn:log V 71 Ready for the 7.3-RELEASE builds to begin. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-03-21T01:30:13.120614Z K 7 svn:log V 82 Copy releng/7.3 to release/7.3.0 to mark 7.3-RELEASE. Approved by: re (implicit) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-21T10:44:18.789012Z K 7 svn:log V 166 Add commented out -DNDEBUG, this disabled asserts. At this stage we want the asserts on but it slows down the compiler some 20% so add it here so it's not forgotten. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-21T10:49:05.243199Z K 7 svn:log V 23 Update LLVM to r99115. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-21T10:50:08.581040Z K 7 svn:log V 24 Update clang to r99115. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-21T13:09:54.910620Z K 7 svn:log V 1411 - The firmware of Sun Fire V1280 has a misfeature of setting %wstate to 7 which corresponds to WSTATE_KMIX in OpenSolaris whenever calling into it which totally screws us even when restoring %wstate afterwards as spill/fill traps can happen while in OFW. The rather hackish OpenBSD approach of just setting the equivalent of WSTATE_KERNEL to 7 also is no option as we treat %wstate as a bit field. So in order to deal with this problem actually implement spill/fill handlers for %wstate 7 which just act as the WSTATE_KERNEL ones except of theoretically also handling 32-bit, turn off interrupts completely so we don't even take IPIs while in OFW which should ensure we only take spill/fill traps at most and restore %wstate after calling into OFW once we have taken over the trap table. While at it, actually set WSTATE_{,PROM}_KMIX before calling into OFW just like OpenSolaris does, which should at least help testing this change on non-V1280. - Remove comments referring to the %wstate usage in BSD/OS. - Remove the no longer used RSF_ALIGN_RETRY macro. - Correct some trap table addresses in comments. - Ensure %wstate is set to WSTATE_KERNEL when taking over the trap table. - Ensure PSTATE_AM is off when entering or exiting to OFW as well as that interrupts are also completely off when exiting to OFW as the firmware trap table shouldn't be used to handle our interrupts. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-03-21T13:18:08.357440Z K 7 svn:log V 161 Avoid aliasing which leads to incorrect results when compiling with the default strict aliasing rules. PR: 144900 Submitted by: Peter Jeremy MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-03-21T15:00:33.553340Z K 7 svn:log V 120 Avoid holding the VLAN_LOCK() over the parent interface SIOCGIFMEDIA ioctl call, as it may sleep. Reviewed by: rwatson END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2010-03-21T15:02:47.087853Z K 7 svn:log V 158 Add 'rotate' and 'getactive' verbs to provide some control and information about what the currently active path is. Sponsored by: Panasas MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-21T15:14:21.719072Z K 7 svn:log V 25 Add some more codec IDs. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-21T15:52:55.769220Z K 7 svn:log V 21 revise documentation END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-21T15:54:07.268697Z K 7 svn:log V 68 no need for ipfw_flush_tables(), we just need ipfw_destroy_tables() END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-03-21T16:14:19.806718Z K 7 svn:log V 51 Correct the type for uio_resid. MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-21T16:30:32.173242Z K 7 svn:log V 107 Add a priority-based packet scheduler. Sponsored by: The ONELAB2 Project Submitted by: Riccardo Panicucci END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-21T16:34:54.786442Z K 7 svn:log V 97 sync with head: - fix printing of rules with 'OR' options - accept 'm' for 'mega' - sync manpage END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-21T16:38:45.817826Z K 7 svn:log V 22 misc merges from HEAD END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-03-21T17:05:41.821639Z K 7 svn:log V 67 Update clang/llvm from vendor and update the build infrastructure. END K 10 svn:author V 3 sam K 8 svn:date V 27 2010-03-21T17:53:54.504161Z K 7 svn:log V 24 remove pre-vap examples END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-03-21T18:18:58.705260Z K 7 svn:log V 126 - Spec tells that CCC interrupt is edge triggered. Acknowledge it as such. - Do not try to enable CCC if it is not supported. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-03-21T20:43:23.720314Z K 7 svn:log V 212 Actually make O_DIRECTORY work. According to POSIX open() must return ENOTDIR when the path name does not refer to a path name. Change vn_open() to respect this flag. This also simplifies the Linuxolator a bit. END K 10 svn:author V 2 ed K 8 svn:date V 27 2010-03-21T20:45:06.372373Z K 7 svn:log V 158 Let opendir() use O_DIRECTORY. I am not removing the fstat() calls here, since we cannot yet assume people will always run kernels that respect O_DIRECTORY. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2010-03-21T21:03:35.570880Z K 7 svn:log V 177 Make sure we insert and remove the PV entries related to unmanaged kernel mappings into the kernel pmap, not into the pmap related to the pmap_enter_pv()/pmap_remove_pv() call. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-21T21:25:35.347185Z K 7 svn:log V 110 On advice of Alexander, use -N and -C to specify the ncal and cal mode. Also add -3 -A and -B to the usage(). END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-21T21:33:21.615422Z K 7 svn:log V 133 Replace -b with -C and -B (as proposed by Alexander). Add -3, -A and -B to the usage. Update regression test for the new parameters. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-21T22:33:09.926220Z K 7 svn:log V 329 Don't include when _MACHINE_REGSET_H_ in defined. This is not for multiple inclusion purposes, because _regset.h already handles this, but to enable inclusion of the MD header by cross-tools on non-ia64 installations. The cross-tool can include _regset.h itself before including MD headers that depend on it. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-21T22:39:11.485147Z K 7 svn:log V 46 Print MD fields in the pcpu to aid debugging. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2010-03-22T00:11:31.874719Z K 7 svn:log V 99 MFC 186815 Adds flag for SCTP checksum offloading. Requested by Pyun YongHyeon. Reviewed by: rrs END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-22T02:01:33.951027Z K 7 svn:log V 185 Define curthread as an inline function that loads the thread pointer directly from r13, the pcpu pointer. This guarantees correct behaviour when the thread migrates to a different CPU. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-22T03:06:11.665360Z K 7 svn:log V 366 Disable interrupts when calling into SAL for PCI configuration cycles. This serves 2 purposes: 1. It prevents preemption and CPU migration while running SAL code. 2. It reduces the chance of stack overflows: we're supposed to enter SAL with at least 16KB of either memory- or register stack space, which we can't do without switching to a different stack. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-22T03:55:18.509939Z K 7 svn:log V 405 Fix interrupt handling by extending the critical region so that preemption doesn't happen until after all pending interrupt have been services. While here again, simplify the EOI handling by doing it after we call the XIV-specific handlers, rather than in each of them. The original thought was that we may want to do an EOI first and the actual IPI handling next, but that's mostly a micro-optimization. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-22T04:01:45.187353Z K 7 svn:log V 247 With preemption, the high FP registers may get enabled by cpu_switch() before we grab the mutex. Don't assert that they must be disabled at that point. We pretty much bypass all logic in that case anyway and leave immediately, so there's no harm. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-22T04:24:19.409287Z K 7 svn:log V 670 Drop the pmap argument to pmap_invalidate_page(). It's not used other than in a KASSERT. The KASSERT is broken in that it's done outside the critical section and as such isn't protected against CPU migration. Improve pmap_invalidate_page() as follows: o calculate vhpt_ofs inside the critical region for exactly the same reason. o calculate the tag outside the FOREACH loop, as it's loop-invariant. This is more efficient. o Replace the test and set with an atomic cmpset operation because we are changing other CPU's VHPT tables and this avoids invalidating after the entry got modified. Not necessarily a problem, but better safe than sorry. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T06:42:31.053643Z K 7 svn:log V 51 Fix names of the solar Equinox and Solstice events END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T07:06:12.371716Z K 7 svn:log V 154 Fix UTCoffset adjustments in solar events. Put a note about the (minimal) differences in solar and lunar events for communities who need the strict time. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-03-22T09:29:56.351338Z K 7 svn:log V 169 MFC r204879: Teach procstat(1) to display some information about signal disposition and pending/blocked status for signals. MFC r204880: Add file forgotten in r204879. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2010-03-22T10:11:59.909964Z K 7 svn:log V 183 MFC r200183 by luigi: restore setting of sin_len (was removed in 1.146 last february) as it seems that now it is necessary for 'forward' to work outside lo0. Approved by: luigi END K 10 svn:author V 3 des K 8 svn:date V 27 2010-03-22T10:58:16.019621Z K 7 svn:log V 237 Merge upstream r432: pam_end() already contains a NULL check, and it is not unreasonable to call it with a NULL pamh in a cleanup / error-handling situation. Remove OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check. END K 10 svn:author V 3 des K 8 svn:date V 27 2010-03-22T11:00:57.256831Z K 7 svn:log V 323 Merge upstream r432: pam_end() already contains a NULL check, and it is not unreasonable to call it with a NULL pamh in a cleanup / error-handling situation. Remove OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check. This fixes a potential NULL pointer dereference in error-handling code in passwd(1). END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-03-22T11:18:51.420802Z K 7 svn:log V 40 MFC 205255: Fix 2 bugs in mxge_attach() END K 10 svn:author V 3 des K 8 svn:date V 27 2010-03-22T11:32:19.116013Z K 7 svn:log V 60 Forced commit to register MFC reminder. MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-03-22T11:52:53.904827Z K 7 svn:log V 147 Merge r197455 from amd64: Add a backtrace to the "fpudna in kernel mode!" case, to help track down where this comes from. Reviewed by: bde END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-03-22T13:20:25.589083Z K 7 svn:log V 40 MFC 205255: Fix 2 bugs in mxge_attach() END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-03-22T13:21:52.317863Z K 7 svn:log V 40 MFC 205255: Fix 2 bugs in mxge_attach() END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-03-22T14:50:08.138310Z K 7 svn:log V 53 MFC 204212: Update mxge to support IFCAP_VLAN_HWTSO. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-03-22T15:08:26.652714Z K 7 svn:log V 160 Remove unneeded type specifiers from 64-bit constants. The compiler infers their natural type from the constants' values. Submitted by: bde MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-03-22T15:52:26.881197Z K 7 svn:log V 450 MFC 204950,205020: Use thr_once() with once_t controls to initialize various thread_key_t objects used to provide per-thread storage in the RPC code. Almost all of these used double-checking with a dedicated mutex (tsd_lock) to do this before. However, that is not always safe with more relaxed memory orders. There were also other bugs, such as one in __rpc_createrr() that caused a new key to be allocated each time __rpc_createrr() was invoked. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-03-22T15:54:56.489173Z K 7 svn:log V 450 MFC 204950,205020: Use thr_once() with once_t controls to initialize various thread_key_t objects used to provide per-thread storage in the RPC code. Almost all of these used double-checking with a dedicated mutex (tsd_lock) to do this before. However, that is not always safe with more relaxed memory orders. There were also other bugs, such as one in __rpc_createrr() that caused a new key to be allocated each time __rpc_createrr() was invoked. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-22T16:40:10.151506Z K 7 svn:log V 56 mfc r205179: print correctly addresses with an OR block END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T17:30:34.519452Z K 7 svn:log V 51 Fix i386 PAE kernel build. Reported by: tinderbox END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-22T17:57:00.482098Z K 7 svn:log V 20 forgot this file... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-22T18:24:42.758431Z K 7 svn:log V 472 o Remove the pmap argument to pmap_invalidate_all() as it's not used other than in a potentially dangerous KASSERT. o Hand-inline pmap_remove_page() as it's only called from 1 place and the abstraction that pmap_remove_page() provides is not enough to warrant the obfuscation. Eliminate the dangerous KASSERT in the process. o In pmap_remove_pte(), remove the KASSERT for pmap being the current one as it's not safe in the face of CPU migration. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T18:43:36.711699Z K 7 svn:log V 91 Support memory wraparound instead of high memory as VM86 mode does. Suggested by: delphij END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-22T18:50:57.108406Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@205454 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-22T18:51:56.030954Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@205454 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-03-22T19:04:02.364967Z K 7 svn:log V 247 MFC r204149: Add TSO support on VLANs. Intentionally separated IFCAP_VLAN_HWTSO from IFCAP_VLAN_HWTAGGING. I think some hardwares may be able to TSO over VLAN without VLAN hardware tagging. Driver changes and userland support will follow. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-03-22T19:36:47.902993Z K 7 svn:log V 84 MFC r182414: Add support in ifconfig to control the vlan hardware filter feature. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-03-22T19:50:33.721456Z K 7 svn:log V 54 MFC r204150: Add TSO support on VLAN in fconfig(8). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T19:50:57.343600Z K 7 svn:log V 122 MFC: r203943 Remove COMPILATIONDATE from the default section. This string is no longer being substituted since r162063. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T19:52:06.390331Z K 7 svn:log V 122 MFC: r203943 Remove COMPILATIONDATE from the default section. This string is no longer being substituted since r162063. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T19:59:00.696642Z K 7 svn:log V 330 MFC: r205092 Tidy up callout for select(2) and read timeout. - Add a missing callout_drain(9) before the descriptor deallocation.[1] - Prefer callout_init_mtx(9) over callout_init(9) and let the callout subsystem handle the mutex for callout function. PR: kern/144453 Submitted by: Alexander Sack (asack at niksun dot com)[1] END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T20:12:10.504275Z K 7 svn:log V 330 MFC: r205092 Tidy up callout for select(2) and read timeout. - Add a missing callout_drain(9) before the descriptor deallocation.[1] - Prefer callout_init_mtx(9) over callout_init(9) and let the callout subsystem handle the mutex for callout function. PR: kern/144453 Submitted by: Alexander Sack (asack at niksun dot com)[1] END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T20:21:22.767972Z K 7 svn:log V 330 MFC: r205092 Tidy up callout for select(2) and read timeout. - Add a missing callout_drain(9) before the descriptor deallocation.[1] - Prefer callout_init_mtx(9) over callout_init(9) and let the callout subsystem handle the mutex for callout function. PR: kern/144453 Submitted by: Alexander Sack (asack at niksun dot com)[1] END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-22T20:24:00.431732Z K 7 svn:log V 28 Versioned symbols for libz. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T20:26:52.003929Z K 7 svn:log V 166 MFC: r204105 Return partially filled buffer for non-blocking read(2) in non-immediate mode. PR: kern/143855 Submitted by: Guy Harris (guy at alum dot mit dot edu) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T20:36:35.153733Z K 7 svn:log V 264 MFC: r205223 Fix a long standing regression of readdir(3) in fdescfs(5) introduced in r1.48. We were stopping at the first null pointer when multiple file descriptors were opened and one in the middle was closed. This restores traditional behaviour of fdescfs. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T20:41:44.839536Z K 7 svn:log V 264 MFC: r205223 Fix a long standing regression of readdir(3) in fdescfs(5) introduced in r1.48. We were stopping at the first null pointer when multiple file descriptors were opened and one in the middle was closed. This restores traditional behaviour of fdescfs. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-03-22T20:52:52.575196Z K 7 svn:log V 264 MFC: r205223 Fix a long standing regression of readdir(3) in fdescfs(5) introduced in r1.48. We were stopping at the first null pointer when multiple file descriptors were opened and one in the middle was closed. This restores traditional behaviour of fdescfs. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-22T21:11:55.653152Z K 7 svn:log V 94 Update to zlib 1.2.4 and add versioned symbols to the library. Sponsored by: iXsystems, Inc. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-22T21:19:17.730968Z K 7 svn:log V 29 Enable mmap for minigzip(1). END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T21:25:08.446882Z K 7 svn:log V 475 Vendor import of tzdata2010f: The Australian Antartic Division: - Macquarie Island will stay on UTC+11 for winter and not switch back from DST. - Casey station reverted to its normal time of UTC+8 on 5 March 2010. - Davis station will revert to its normal time of UTC+7 at 10 March 2010 - Mawson station stays on UTC+5. Syria will start DST on Thursday 1 April 2010 at midnight. Correct Samao DST start date (26 Sep vs 24 Oct) Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T21:26:12.076021Z K 7 svn:log V 19 Tag of tzdata2010f END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T21:27:51.081229Z K 7 svn:log V 420 MFV of tzdata2010f: The Australian Antartic Division: - Macquarie Island will stay on UTC+11 for winter and not switch back from DST. - Casey station reverted to its normal time of UTC+8 on 5 March 2010. - Davis station will revert to its normal time of UTC+7 at 10 March 2010 - Mawson station stays on UTC+5. Syria will start DST on Thursday 1 April 2010 at midnight. Correct Samao DST start date (26 Sep vs 24 Oct) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T21:35:54.687950Z K 7 svn:log V 429 MFC of r205475, tzdata2010f: The Australian Antartic Division: - Macquarie Island will stay on UTC+11 for winter and not switch back from DST. - Casey station reverted to its normal time of UTC+8 on 5 March 2010. - Davis station will revert to its normal time of UTC+7 at 10 March 2010 - Mawson station stays on UTC+5. Syria will start DST on Thursday 1 April 2010 at midnight. Correct Samao DST start date (26 Sep vs 24 Oct) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T21:35:56.350733Z K 7 svn:log V 429 MFC of r205475, tzdata2010f: The Australian Antartic Division: - Macquarie Island will stay on UTC+11 for winter and not switch back from DST. - Casey station reverted to its normal time of UTC+8 on 5 March 2010. - Davis station will revert to its normal time of UTC+7 at 10 March 2010 - Mawson station stays on UTC+5. Syria will start DST on Thursday 1 April 2010 at midnight. Correct Samao DST start date (26 Sep vs 24 Oct) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T21:35:57.756176Z K 7 svn:log V 429 MFC of r205475, tzdata2010f: The Australian Antartic Division: - Macquarie Island will stay on UTC+11 for winter and not switch back from DST. - Casey station reverted to its normal time of UTC+8 on 5 March 2010. - Davis station will revert to its normal time of UTC+7 at 10 March 2010 - Mawson station stays on UTC+5. Syria will start DST on Thursday 1 April 2010 at midnight. Correct Samao DST start date (26 Sep vs 24 Oct) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-22T21:40:00.832988Z K 7 svn:log V 62 log all illegal instructions for now, not just reserved ones. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T21:48:40.021522Z K 7 svn:log V 143 Vendor import of tzcode2010f: - Updated quotes and links. - Put warning about case insensitivity of names, but not always in abbreviations. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-03-22T21:49:53.773232Z K 7 svn:log V 20 Tag of tzdata2010f. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-22T22:02:24.375560Z K 7 svn:log V 40 Remove unused part of contributed code. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-22T22:03:54.418677Z K 7 svn:log V 63 Retag 1.2.4 tree after removal of the unused contributed code. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-22T22:05:58.911237Z K 7 svn:log V 48 Note that we are the same with the vendor tree. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-03-22T22:07:19.868010Z K 7 svn:log V 386 MFC r203272: - Fix a bug when adding an interface with an invalid MTU sets the bridge's MTU if it is the firstly-added one while the addition itself fails. - Allow SIOCSIFMTU only when all members have the same MTU. - Remove IFT_GIF check when defining the brige MTU by the firstly-added interface's one. The MTU of the gif interface has to be the same as the bridge's one. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-03-22T22:12:27.998155Z K 7 svn:log V 18 Expand $FreeBSD$. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-03-22T22:39:32.626313Z K 7 svn:log V 95 - enable alignment on amd64 only - only align pcpu caches and the volatile portion of uma_zone END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2010-03-22T23:04:12.805639Z K 7 svn:log V 284 - boot-time size the ipv4 flowtable and the maximum number of flows - increase flow cleaning frequency and decrease flow caching time when near the flow limit - stop allocating new flows when within 3% of maxflows don't start allocating again until below 12.5% MFC after: 7 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-03-22T23:15:19.709550Z K 7 svn:log V 108 MFC r203528: Add pci_get|set_max_read_req() helper functions to control maximum PCIe read request size. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-03-22T23:23:47.787298Z K 7 svn:log V 29 MFC r204156: Add __FBSDID. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-03-22T23:27:08.206677Z K 7 svn:log V 29 MFC r204156: Add __FBSDID. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-22T23:31:48.030063Z K 7 svn:log V 1133 An unfortunate mix of functional and stylistic changes. o) Use REG_{S,L} and PTR_{S,L,LA} in support.S and use width-specific instructions only where reasonable. o) Consistently use CALLFRAME_SIZ for callframe size, rather than using the mysterious STAND_ frame. o) Remove a stray ".set mips2" which would screw up instructions used by setjmp and longjmp quite astonishingly. o) Get rid of some home-grown STORE/LOAD and replace with REG_S/REG_L in a few files. o) Make pcb_onfault a pointer, the address of the function to be called, rather than using the onfault_table -- the latter being especially wrongly-used by casuptr at minimum. XXX This did require one gross hack of a slightly-less-gross nature than the one used prior to it wrt [sf].*intr functions. o) Fix compilation of TRAP_DEBUG and make a point of using intmax_t rather than trying to decide between truncating and extending addresses on a case-by-case basis when printing stuff in trap.c o) Don't NULL out pcb_onfault in the actual onfault handlers, the trap handler makes a point of doing that. Sponsored by: Packet Forensics END K 10 svn:author V 6 qingli K 8 svn:date V 27 2010-03-22T23:33:40.852786Z K 7 svn:log V 89 MFC r205272 Need to set the proper flag bit when inserting ARP entries into the kernel. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-23T00:31:56.178894Z K 7 svn:log V 294 o) Load the address of cerror into t9 before restoring the gp and sp. We waste the load in the case of no error in exchange for not duplicating the gp and sp restore code. o) Don't overwrite ra when calling cerror -- jr not jalr. This makes truss work. Sponsored by: Packet Forensics. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-03-23T01:07:30.249617Z K 7 svn:log V 70 Actually pass a pointer to the trapframe to powerpc_extr_interrupt(). END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-23T01:09:45.372633Z K 7 svn:log V 173 Do not declare the various OFW command buffers static. It does not appear to be necessary on either sparc64 or powerpc, and is a concurrency nightmare. Reviewed by: marius END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-23T01:11:10.129756Z K 7 svn:log V 92 Open Firmware on powerpc is generally non-reetrant, so serialize all OF calls with a mutex. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-23T01:24:23.941018Z K 7 svn:log V 72 Move to properly using REG_L/REG_S/etc. Sponsored by: Packet Forensics END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-23T01:26:17.252070Z K 7 svn:log V 26 Provide a useful comment. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-23T01:27:59.221632Z K 7 svn:log V 38 IFC @ r205497 (OFW concurrency fixes) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-23T01:35:46.988473Z K 7 svn:log V 66 Attempt to cast address-checking into some semblance of validity. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-03-23T01:36:50.249341Z K 7 svn:log V 616 Fixes a bug where SACKs in the face of mapping_array expansion would break. Basically once we expanded the array we no longer had both mapping arrays in sync which the sack processing code depends on. This would mean we were randomly referring to memory that was probably not there. This mostly just gave us bad sack results going back to the peer. If INVARIENTS was on of course we would hit the panic routine in the sack_check call. We also add a print routine for the place where one would panic in invarients so one can see what the main mapping array holds. Reviewed by: tuexen@freebsd.org MFC after: 2 weeks END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-23T01:47:05.316182Z K 7 svn:log V 186 o) Use some pointer-width and register-width macros rather than width-specific instructions. o) Eliminate insque and remque which FreeBSD doesn't use. Sponsored by: Packet Forensics END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-23T02:14:23.176916Z K 7 svn:log V 337 Borrow some of nwhitehorn's approach to supporting 32-bit and 64-bit systems. Add PRI64 which expands to ll for ABIs where long long is 64-bits, but to l where long is 64-bits. Also always use the "l" prefix for pointer types as pointers and longs are the same length for MIPS ABIs (in the cases we currently do anything like support.) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-23T02:18:12.752240Z K 7 svn:log V 49 Fix spelling of PRI64 prefix. Submitted by: kan END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-23T03:14:44.236687Z K 7 svn:log V 394 Get nexus(4) out of the RTC business. The interface used by nexus(4) in Open Firmware was Apple-specific, and we have complete coverage of Apple system controllers, so move RTC responsibilities into the system controller drivers. This avoids interesting problems from manipulating these devices through Open Firmware behind the backs of their drivers. Obtained from: NetBSD MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-23T03:22:16.463734Z K 7 svn:log V 72 IFC @ 205506 (RTC changes). Sorry for the double IFC and commit spam... END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-03-23T04:07:49.958011Z K 7 svn:log V 192 Now that OF command buffers are on the stack (so above 4 GB), we need to put them into the real mapping buffer too. As a side effect, this eliminates a hack for OF real mode in ofw_machdep.c. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2010-03-23T06:19:44.007089Z K 7 svn:log V 158 Add .snap to daily_clean_tmps_ignore; /tmp/.snap ist not supposed to be auto-removed (and /tmp is a filesystem of its own now by default). MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-03-23T06:42:52.761039Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-03-23T09:58:59.220719Z K 7 svn:log V 774 MFC of a large number of ipfw and dummynet fixes and enhancements done in CURRENT over the last 4 months. HEAD and RELENG_8 are almost in sync now for ipfw, dummynet the pfil hooks and related components. Among the most noticeable changes: - r200855 more efficient lookup of skipto rules, and remove O(N) blocks from critical sections in the kernel; - r204591 large restructuring of the dummynet module, with support for multiple scheduling algorithms (4 available so far) See the original commit logs for details. Changes in the kernel/userland ABI should be harmless because the kernel is able to understand previous requests from RELENG_8 and RELENG_7. For this reason, this changeset would be applicable to RELENG_7 as well, but i am not sure if it is worthwhile. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-03-23T11:33:08.138174Z K 7 svn:log V 56 Finish the much belated Intel XScale hwpmc(4) man page. END