ı206561 197 377 455 275 148 335 161 161 182 349 398 253 144 846 132 580 580 281 281 145 443 145 401 112 342 523 291 170 175 606 199 143 436 188 581 122 244 137 260 341 158 175 173 173 183 167 167 285 257 285 210 371 371 141 309 224 343 191 119 253 120 159 321 243 390 948 183 326 151 293 145 187 374 159 114 211 126 680 229 180 253 259 332 208 242 427 143 313 488 236 323 526 245 236 236 245 185 350 148 276 354 172 404 156 419 215 152 455 135 233 181 121 114 124 467 250 236 183 231 231 336 336 324 324 232 145 268 451 587 174 220 312 245 135 410 130 217 224 182 191 215 609 609 609 609 300 129 131 115 338 145 260 147 358 404 151 232 1100 342 114 170 980 161 204 171 221 148 223 302 199 203 197 152 166 218 152 179 759 185 187 145 330 264 107 184 187 444 300 218 1177 114 153 153 155 155 152 155 155 K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2010-04-13T19:43:16.990697Z K 7 svn:log V 280 Make the list of allocated ports dynamic. The Option GTM382 has 10 serial ports (yes, 10, it has a built in GPS and other stuff) and we need to access the last one for PPP access to the card. Other ports are HSO (Option specific protocol; see Linux driver). Reviewed by: thompsa END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-04-13T19:58:32.831225Z K 7 svn:log V 357 Revert r199767 with changes. Change the -B argument in WMAKE for CC/CXX to -B${WORLDTMP}/usr/lib/ and link into that directory as/ld. Change -B for lib32 build to -B${LIB32TMP}/usr/lib32. Both clang and gcc can build all of clangbsd again. Any compiler that supports -isystem/-B should work as well without the TOOLS_PREFIX hacks we did to our intree gcc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-13T20:07:52.311446Z K 7 svn:log V 178 Add Agere ET1011 PHY which is found on Belkin F5D5055 USB controller. Unlike Agere ET1011C, Agere ET1011 does not seem to need special DSP programming to workaround silicon bug. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-13T20:33:34.762426Z K 7 svn:log V 54 Pull mergeinfo from r201203 up into the etc directory END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-13T20:36:54.417635Z K 7 svn:log V 240 MFC r206248: Change where we nap so that if pwait(1) returns but kill -0 still sees a zombie we don't print an endless string of the same pid number until the zombie exits. While I'm here, local'ize the variables that this function uses. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-13T20:44:16.202121Z K 7 svn:log V 67 MFC r205995: Massive cleanup and synchronization with other *BSDs END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-13T20:47:11.761532Z K 7 svn:log V 67 MFC r205995: Massive cleanup and synchronization with other *BSDs END K 10 svn:author V 5 edwin K 8 svn:date V 27 2010-04-13T20:50:59.171204Z K 7 svn:log V 88 Allerheilingen -> Allerheiligen Submitted by: Ronald Klop END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-13T21:32:06.434419Z K 7 svn:log V 256 Only compile in uart_cpu_$MACHINE.c if it exists. I'm not sure how useful it will be, but we really need to be keying off something other than MACHINE for this anyway since on arm and mips we have lots of these running around (one for each SoC family)... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-04-13T22:20:12.404034Z K 7 svn:log V 302 Populate the sysctl tree with any MCA records we collected. The sequence number is used as the name of a sysctl node, under which we add the MCA records using the CPU id as the leaf name. Add the hw.mca.inject sysctl to provide a way to inject MC errors and trigger machine checks. PR: ia64/113102 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-04-13T22:27:39.639976Z K 7 svn:log V 157 The sequence number is now a node under which the MCA records are hung by CPU id. When showing the MCA record, print the MIB as a comment. PR: ia64/113102 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-04-13T23:54:40.501657Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@206571 END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T00:33:36.170010Z K 7 svn:log V 748 o) Move back to 4K pages due to the misalignment of USRSTACK, which causes problems with all existing binaries. If we're ever willing to totally break kernel-userland ABI (I doubt we will be) we can move to 8K pages. o) Add a function kmem_alloc_nofault_space() which is just like kmem_alloc_nofault() but which allows the user to specify a space finding constraint other than VMFS_ANY_SPACE. o) Add a space VMFS_TLB_ALIGNED_SPACE which gives architecture-dependent alignment of the address to meet TLB alignment requirements using a new function, pmap_align_tlb, which on MIPS ensures no TLB entry sharing by rounding up to 2 * PAGE_SIZE. We can use this instead of the old hacks to allocate extra pages for kstack, etc. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T00:50:09.990082Z K 7 svn:log V 35 Hide floating page support on N64. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-14T00:50:18.342334Z K 7 svn:log V 483 MFC r206364: Partial revert r204545. Just relying on status LE ownership of status block seems to cause poor performance. Always read current status index register first and then check status ownership as we had before. Accessing status index register seems to trigger immediate status update if controller have pending status updates. Reported by: Andre Albsmeier siemens dot com> Tested by: Andre Albsmeier siemens dot com> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-14T01:09:14.798470Z K 7 svn:log V 483 MFC r206364: Partial revert r204545. Just relying on status LE ownership of status block seems to cause poor performance. Always read current status index register first and then check status ownership as we had before. Accessing status index register seems to trigger immediate status update if controller have pending status updates. Reported by: Andre Albsmeier siemens dot com> Tested by: Andre Albsmeier siemens dot com> END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-14T01:12:24.286081Z K 7 svn:log V 184 MFC r206433: Add preliminary support for 8168E/8111E PCIe controller. While I'm here simplify device description string. Tested by: Michael Beckmann < michael <> apfel dot de > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-14T01:14:40.648861Z K 7 svn:log V 184 MFC r206433: Add preliminary support for 8168E/8111E PCIe controller. While I'm here simplify device description string. Tested by: Michael Beckmann < michael <> apfel dot de > END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-14T01:22:33.821509Z K 7 svn:log V 49 MFC r206436: Consistently use capital letters. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T01:23:00.575268Z K 7 svn:log V 345 o) Centralize (all but that used by DDB without locks) large memory mapping code into a few nasty macros and make lmem code use PTEs rather than expecting the TLB code to load and not evict its mappings, the former which is not done by the new TLB code and the latter which was not guaranteed (i.e. by wiring) with the old TLB code. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-14T01:24:09.152244Z K 7 svn:log V 49 MFC r206436: Consistently use capital letters. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-04-14T01:29:31.012730Z K 7 svn:log V 307 Revert the vm_machdep.c part of r205072. This causes a panic in vm_thread_dispose() when it tries to add this kstack to the kstack cache. This happens only when 'td_kstack' is not (PAGE_SIZE * 2) bytes aligned and we have unmapped the page at that address in cpu_thread_alloc. Pointed out by: nwhitehorn@ END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T01:43:25.464360Z K 7 svn:log V 15 Fix N64 build. END K 10 svn:author V 4 neel K 8 svn:date V 27 2010-04-14T01:57:53.846564Z K 7 svn:log V 248 Destroy the pmap 'pm_mutex' in pmap_release() otherwise we will panic subsequently in pmap_pinit() with the following signature: panic: lock "pmap" 0xc7878bc8 already initialized This bug was uncovered by the changes made to vm_map.c in r206140. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-04-14T03:13:02.082640Z K 7 svn:log V 425 MFC: r205941 This patch should fix handling of byte range locks locally on the server for the experimental nfs server. When enabled by setting vfs.newnfs.locallocks_enable to non-zero, the experimental nfs server will now acquire byte range locks on the file on behalf of NFSv4 clients, such that lock conflicts between the NFSv4 clients and processes running locally on the server, will be recognized and handled correctly. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T03:58:21.774829Z K 7 svn:log V 193 Don't split 64-bit quantities into 2 32-bit quantities on MIPS, since the compat framework right now is used for running n32 binaries, which happily fit 64-bit quantities in a single register. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T04:10:13.954254Z K 7 svn:log V 73 o) Useful comment at the top of freebsd32_machdep. o) Remove TRAP_DEBUG. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T05:21:28.716611Z K 7 svn:log V 78 Use pmap_pte to look up PTEs outside of pmap.c rather than using pmap_segmap. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T05:44:02.465598Z K 7 svn:log V 508 o) Inline pmap_segmap in pmap.c now that it's unused elsewhere. o) Remove FPAGE support, which was unused due to the absence of support for VM_ALLOC_WIRED_TLB_PG_POOL and was, thus, broken. Use the lmem maps in pmap.c exclusively for mapping high memory on !N64. o) Removed related constants, etc. o) Break /dev/mem on !N64, for definitions of break equal to "return ENOTSUP rather than providing a particularly spectacular /dev/panic implementation by trying to acquire an uninitialized lock." END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T05:53:59.706690Z K 7 svn:log V 101 o) Add a routine to invalidate all TLB entries associated with a specific or any non-kernel pmap. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T06:32:19.362098Z K 7 svn:log V 46 Add use of the direct map (based on sparc64.) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T06:46:43.143532Z K 7 svn:log V 338 Switch to using the sfbuf scheme from sparc64, which doesn't allow sharing of sf bufs, which complicated the code here and made it hard to use pmap_qremove in sf_buf_free (so we didn't use it) because we could free and then reallocate an sfbuf and reenter its KVA. These mappings were guaranteed to be identical, but this seems cleaner. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T06:47:34.936789Z K 7 svn:log V 91 Try moving to the PowerPC mem.c, using uiomove_fromphys and pals. This is probably wrong. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T06:56:48.239218Z K 7 svn:log V 483 o) Add an invariant to pmap_kenter that the previous mapping is invalid or identical to the new mapping. Something is leaving a mapping valid or doing a double pmap_kenter (well, pmap_qenter) but I don't know what, but it's identical to the previous one, so I assume it's the latter (like was in the sfbuf code that I just removed.) o) Given that invariant, neither invalidate nor update the TLB in pmap_kenter, since it should have been invalidated in pmap_kremove. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-04-14T07:07:43.181376Z K 7 svn:log V 28 Eliminate duplicate comment END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T07:29:25.415105Z K 7 svn:log V 146 o) Remove some gratuitous cpu_barrier calls. o) Remove an XXX about invalidating half of the TLB entry only -- this turns out to not be a win. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-04-14T13:44:22.740699Z K 7 svn:log V 42 Linux puts a blank line between each CPU. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-14T15:00:46.752989Z K 7 svn:log V 167 MFC 205851: Add a handler for the local APIC error interrupt. For now it just prints out the current value of the local APIC error register when the interrupt fires. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-14T15:01:49.202682Z K 7 svn:log V 248 MFC 185933,205851: - Add constants for fields in the local APIC error status register. - Add a handler for the local APIC error interrupt. For now it just prints out the current value of the local APIC error register when the interrupt fires. END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-04-14T15:03:58.729814Z K 7 svn:log V 66 MFC r206399, r206479: Disambiguate `IPs' to a more specific term. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-14T15:20:30.283030Z K 7 svn:log V 83 MFC 184226: Add a statement about the non-portability of non-page-aligned offsets. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-14T15:22:58.666648Z K 7 svn:log V 81 MFC 205536: Reject attempts to create a MAP_ANON mapping with a non-zero offset. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-14T15:23:16.695556Z K 7 svn:log V 81 MFC 205536: Reject attempts to create a MAP_ANON mapping with a non-zero offset. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-14T15:29:32.244701Z K 7 svn:log V 91 For early ALI chips do not announce I/O sizes that require unsupported 48bit DMA commands. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-14T15:33:15.260551Z K 7 svn:log V 75 MFC 205886: Defer freeing a kevent list until after dropping kqueue locks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-14T15:33:30.852658Z K 7 svn:log V 75 MFC 205886: Defer freeing a kevent list until after dropping kqueue locks. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-14T16:31:59.355128Z K 7 svn:log V 192 MFC r206409 Introduce the function kmem_alloc_attr(), which allocates kernel virtual memory with the specified physical attributes. Correct an error in the prototype for kmem_malloc(). END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2010-04-14T16:37:34.908982Z K 7 svn:log V 162 MFC revision 205781: Use standard types in preference to BSD types so that these header files can be used in applications compiled with only POSIX types visible. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-04-14T16:54:49.756095Z K 7 svn:log V 192 MFC r206409 Introduce the function kmem_alloc_attr(), which allocates kernel virtual memory with the specified physical attributes. Correct an error in the prototype for kmem_malloc(). END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2010-04-14T17:01:29.702317Z K 7 svn:log V 115 MFC 204214: Enforce stronger bus-dma alignment semantics so bus-dma operates correctly with Xen's blkfront driver. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-14T17:17:06.124211Z K 7 svn:log V 278 MFC 205900: Use panic() (which the environment is required to provide to libstand) to implement assert() instead of relying on a non-required exit(). The exit() invocation also did not match the semantics of the exit() routine that current boot environments happen to require. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-04-14T17:17:25.297854Z K 7 svn:log V 278 MFC 205900: Use panic() (which the environment is required to provide to libstand) to implement assert() instead of relying on a non-required exit(). The exit() invocation also did not match the semantics of the exit() routine that current boot environments happen to require. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-14T17:52:00.315681Z K 7 svn:log V 49 merge svn+ssh://svn.freebsd.org/base/head@206610 END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-04-14T18:29:01.472972Z K 7 svn:log V 216 Remove multiqueue stack related stuff form lem, it is unneeded for legacy hardware. Also remove some TSO related cruft. Add some watchdog_time setting that was missing, thanks to Mikolaj Golub for pointing that out. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-04-14T18:29:26.875043Z K 7 svn:log V 131 mdoc: remove .Pp where not needed This trips up mdocml and can simply go away. Reviewed by: ru Approved by: philip, ed (mentors) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-04-14T18:29:34.883801Z K 7 svn:log V 250 mdoc: don't abuse Bo/Pc to get what looks like an interval Be explicit and use the general bracketing form plus symbols which are to be interpreted mathematically in this case. Complaint by: mdocml Reviewed by: ru Approved by: philip, ed (mentors) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-14T18:29:40.394047Z K 7 svn:log V 96 Make this code a little more portable by wrapping the mtx calls into macros. MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-14T18:56:07.786221Z K 7 svn:log V 27 Add note about TARGET_ARCH END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-14T19:03:27.642826Z K 7 svn:log V 160 Add armeb-*-freebsd* to the list of known architectures. This is like arm-*-freebsd*, except it defaults to big endian builds instead of little endian builds. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-14T19:04:38.835351Z K 7 svn:log V 28 Diff reduction against head END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-04-14T19:06:39.131351Z K 7 svn:log V 67 Add and expand $FreeBSD$ keyword to allow committing to this file. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2010-04-14T19:08:06.333546Z K 7 svn:log V 228 mdoc: order prologue macros consistently by Dd/Dt/Os Although groff_mdoc(7) gives another impression, this is the ordering most widely used and also required by mdocml/mandoc. Reviewed by: ru Approved by: philip, ed (mentors) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-14T20:04:55.165648Z K 7 svn:log V 150 ld_gs_base is executing with stack containing only the frame, temporary pushed %rflags has been popped already. Pointy hat to: kib MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-14T20:31:06.034104Z K 7 svn:log V 297 Make this directory more regular. Since it is one we control, use the freebsd-based names for filenames. This allows us to eliminate almost all of the uses of ${MACHINE_ARCH} here to do special things, and instead we use it to include filenames. This makes new architectures easier to support. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-14T20:45:33.794803Z K 7 svn:log V 851 Add driver for Silicon Integrated Systems SiS190/191 Fast/Gigabit Ethernet. This driver was written by Alexander Pohoyda and greatly enhanced by Nikolay Denev. I don't have these hardwares but this driver was tested by Nikolay Denev and xclin. Because SiS didn't release data sheet for this controller, programming information came from Linux driver and OpenSolaris. Unlike other open source driver for SiS190/191, sge(4) takes full advantage of TX/RX checksum offloading and does not require additional copy operation in RX handler. The controller seems to have advanced offloading features like VLAN hardware tag insertion/stripping, TCP segmentation offload(TSO) as well as jumbo frame support but these features are not available yet. Special thanks to xclin cs dot nctu dot edu dot tw> who sent fix for receiving VLAN oversized frames. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-14T20:48:13.415868Z K 7 svn:log V 91 svn merge svn+ssh://svn.freebsd.org/base/head/@206624 # loopback of the gdbserver changes END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-14T20:50:07.655211Z K 7 svn:log V 233 We don't need the definition for in_cksum repeated here since we get it from machine/in_cksum.h. This definition prevents us from using hand-tuned assembler versions of in_cksum. # this fixes the modules build on arm for ipfilter. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-14T20:54:23.445360Z K 7 svn:log V 55 Add sge(4) to the list of supported network interface. END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-04-14T20:55:33.094536Z K 7 svn:log V 200 Add a missing fragment in the tx msix handler to invoke another if all work is not done. Sync the igb driver with changes suggested by yongari and made in em, these made sense to be in both drivers. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-14T20:59:37.632673Z K 7 svn:log V 53 svn merge svn+ssh://svn.freebsd.org/base/head@206627 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-14T21:27:48.635059Z K 7 svn:log V 91 Add sge(4) man page and hook up sge(4) to the build. Also add Xr to appropriate man pages. END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-04-14T21:42:29.048273Z K 7 svn:log V 278 Change the semantics of the debug.ktr.alq_enable control so that when you disable alq, it acts as if alq had not been enabled in the build. in other words, the rest of ktr is still available for use. If you really don't want that as well, set the mask to 0. MFC after:3 weeks END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-04-14T21:44:14.426490Z K 7 svn:log V 64 Man page change to documant slight change in ktr_alq behaviour. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T21:46:22.241414Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-04-14T21:53:27.072263Z K 7 svn:log V 114 Move fatal error at the right place. Fix exit from top mode when checking if PMC is available. MFC after: 3 days END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-14T21:59:22.058107Z K 7 svn:log V 29 Revert accidental desorting. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-14T22:02:19.832489Z K 7 svn:log V 583 When an underlying ioctl(2) handler returns an error, our ioctl(2) interface considers that it hits a fatal error, and will not copyout the request structure back for _IOW and _IOWR ioctls, keeping them untouched. The previous implementation of the SIOCGIFDESCR ioctl intends to feed the buffer length back to userland. However, if we return an error, the feedback would be defeated and ifconfig(8) would trap into an infinite loop. This commit changes SIOCGIFDESCR to set buffer field to NULL to indicate the previous ENAMETOOLONG case. Reported by: bschmidt MFC after: 2 weeks END K 10 svn:author V 5 gavin K 8 svn:date V 27 2010-04-14T22:03:48.858144Z K 7 svn:log V 134 Use the UIPROTO_BOOT_KEYBOARD #define from usb.h rather than a local (almost identically named) local #define. Reviewed by: hselasky END K 10 svn:author V 6 julian K 8 svn:date V 27 2010-04-14T23:06:07.321033Z K 7 svn:log V 85 Move two copies of the same definition to a common include file. MFC after: 3 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-15T01:20:30.141421Z K 7 svn:log V 156 MFC r205198: Merge OpenSolaris revision 8802:010b31dd4c53: 6773366 "zfs list" memory consumption can be further reduced PR: bin/144720 Submitted by: mm END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-15T01:22:38.762969Z K 7 svn:log V 162 MFC r205199: Merge OpenSolaris revision 9365:7838a22eccd6: PSARC/2009/171 zfs list -d and zfs get -d 6762432 zfs list --depth PR: bin/144720 Submitted by: mm END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-15T01:25:17.364695Z K 7 svn:log V 235 MFC r205200 + r206199 Merge OpenSolaris revision 9396:f41cf682d0d3: 6830813 zfs list -t all fails assertion *Note that this is only a partial merge of this revision addressing only this one issue.* PR: bin/144720 Submitted by: mm END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-15T02:44:16.596507Z K 7 svn:log V 110 o) Don't duplicate mp_machdep inclusion from the Cavium port. o) Fix SMP build. o) Clean up tlb.c style some. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-15T02:59:21.519264Z K 7 svn:log V 144 o) Add stub SMP-related functions for Octeon to fix SMP build of it. o) Note a place where we need an exception.S-style CLEAR_STATUS in mpboot. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-15T05:24:18.268194Z K 7 svn:log V 329 o) Make APs on Octeon wait to be awoken. o) Use CLEAR_STATUS rather than moving zero to the status register. o) Awaken APs on Octeon. XXX This blows up somewhere around setting up dpcpu stuff. Probably either the TLB wiring isn't being done right or we're not clearing BEV and so some unrelated TLB load is blowing up? END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-15T08:17:28.442342Z K 7 svn:log V 51 MFC r206395: Do not leak master pty or ptmx vnode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-15T08:20:57.566651Z K 7 svn:log V 220 MFC r206397: Enhance r199804 by marking the daemonised child as immune to OOM instead of short-living parent. Only mark the master process that accepts connections, do not protect connection handlers spawned from inetd. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-15T08:29:14.201166Z K 7 svn:log V 395 scsi_cd: CD_FLAG_VALID_MEDIA is sufficient to set d_sectorsize and d_mediasize CD_FLAG_VALID_TOC is not required for setting those media properties. PR: kern/145385 Submitted by: Juergen Lock a slightly different version Tested by: Pavel Sukhoy , Markus Wild , Juergen Lock , uqs MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-15T08:32:50.326138Z K 7 svn:log V 143 Still reference struct __sigaction with clarification when this form of argument declaration is needed. Discussed with: bde MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-15T08:39:56.070826Z K 7 svn:log V 230 g_io_check: respond to zero pp->mediasize with ENXIO Previsouly this condition was reported with EIO by bio_offset > mediasize check. Perhaps that check should be extended to bio_offset+bio_length > mediasize. MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-15T09:22:14.070128Z K 7 svn:log V 433 scsi_cd: CD_FLAG_VALID_MEDIA is sufficient to set d_sectorsize and d_mediasize [Forced commit to correct PR number.] CD_FLAG_VALID_TOC is not required for setting those media properties. PR: kern/138789 Submitted by: Juergen Lock a slightly different version Tested by: Pavel Sukhoy , Markus Wild , Juergen Lock , uqs MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-15T11:17:33.176832Z K 7 svn:log V 152 Explicitly enable PCI busmastering on attach. Now SiI3124 with siis(4) successfully works on sparc64 (SunBlade 100). H/W donated by: Gheorghe Ardelean END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-15T12:20:13.527307Z K 7 svn:log V 143 MFC r205680: Use last 16 bytes of serial number in metadata instead of first ones, same as Intel MatrixRAID does. PR: kern/124064 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-15T12:22:47.002068Z K 7 svn:log V 143 MFC r205680: Use last 16 bytes of serial number in metadata instead of first ones, same as Intel MatrixRAID does. PR: kern/124064 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-15T12:26:24.318646Z K 7 svn:log V 152 MFC r205967: Include opt_ata.h, as some structures here depending on ATA_CAM option. This fixes ATA_CAM with atamvsata and probably some other drivers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-15T12:30:46.107499Z K 7 svn:log V 93 MFC r206053, r206054: Fill extended ATA command registers in cPRD to support 48bit commands. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-15T12:38:55.599302Z K 7 svn:log V 257 NFC r206000: Make ng_ppp fulfill upper protocol stack layers alignment requirements on platforms with strict alignment constraints. This fixes kernel panics on arm and probably other architectures. PR: sparc64/80410, sparc/118932, sparc/113556 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-15T12:40:02.197667Z K 7 svn:log V 56 MFC r206015: Make ng_l2tp irrelevant to data alignment. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2010-04-15T12:40:33.044701Z K 7 svn:log V 181 Locks SPTREE when setting some SP entries to state DEAD. This can prevent kernel panics when updating SPs while there is some traffic for them. Obtained from: NETASQ MFC after: 1m END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-15T12:41:36.930953Z K 7 svn:log V 261 MFC r206017: Make ng_ksocket fulfill lower protocol stack layers alignment requirements on platforms with strict alignment constraints. This fixes kernel panics on arm and probably other architectures. PR: sparc64/80410, sparc/118932, sparc/113556 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-04-15T12:46:16.509204Z K 7 svn:log V 80 MFC r206021, r206032, r206049, r206050: Remove some more alignment constraints. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-04-15T13:50:55.092750Z K 7 svn:log V 306 Cleanup if_media handling in mxge(4) - Re-probe xfp / sfp+ socket on link events, in case user has changed transceiver - correctly report current media to avoid confusing lagg (reported by Panasas) - Report link speed (submitted by yongari) Reviewed by: yongari (earlier version) MFC after: 7 days END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2010-04-15T14:26:52.020160Z K 7 svn:log V 59 Add missing IFCAP_LINKSTATE to mxge Submitted by: yongari END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-15T15:10:46.384634Z K 7 svn:log V 326 Allow option aliasing. Lines of the form: OLD_OPT = NEW_OPT in options* files will now map OLD_OPT to NEW_OPT with a friendly message. This is indented for situations where we need to preserve an interface in the config file in an upwards compatible fashion on a stable branch. Reviewed by: nwhitehorn@ MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-15T16:34:06.855213Z K 7 svn:log V 122 Use lower priority for GELI worker threads. This improves system responsiveness under heavy GELI load. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-15T16:35:34.371385Z K 7 svn:log V 60 Flush disk write cache after storing and clearing metadata. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-15T16:40:54.183288Z K 7 svn:log V 362 Fix 3-way deadlock that can happen because of ZFS and vnode lock order reversal. thread0 (vfs_fhtovp) thread1 (vop_getattr) thread2 (zfs_recv) -------------------- --------------------- ------------------ vn_lock rrw_enter_read rrw_enter_write (hangs) rrw_enter_read (hangs) vn_lock (hangs) Submitted by: Attila Nagy MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-15T16:43:43.561045Z K 7 svn:log V 43 Use spaces instead of tab for indent here. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-15T17:04:08.344756Z K 7 svn:log V 140 Increase ggate queue size to maximum value. HAST was not able to stand heavy random load. Reported by: Hiroyuki Yamagami MFC after: 3 days END K 10 svn:author V 6 obrien K 8 svn:date V 27 2010-04-15T17:10:46.797663Z K 7 svn:log V 86 Sync with changes from Juniper's internal repo. Submitted by: Juniper Networks, Inc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-15T17:17:02.958930Z K 7 svn:log V 29 Fix typo. MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-15T17:24:21.358134Z K 7 svn:log V 18 Fix include path. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2010-04-15T17:46:51.716171Z K 7 svn:log V 32 Free lstewart@ from mentorship. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-15T18:30:21.077445Z K 7 svn:log V 369 o) Set the exception base on Octeon to the right thing on each AP. o) Do a sync before accessing (and after setting) variables set for the AP by the bootstrap processor. Otherwise we sometimes see a NULL dpcpu in smp_init_secondary(). XXX All of the shared variables here really ought to be manipulated via atomic operations. o) Clear BEV on APs, too. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-15T19:15:05.359022Z K 7 svn:log V 153 Diff reduction with OpenBSD: - Remove unused locally added variable; - Deprecate -o: it's the default behavior on OpenBSD. X-MFC: along with nc 4.7. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-15T19:18:35.996130Z K 7 svn:log V 138 o) Rename OCTEON_SMP to SMP. o) Use PCPU_GET(cpuid) rather than unimplemented Octeon method. Do keep the cpuid in ebase just in case. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-15T19:19:38.513071Z K 7 svn:log V 86 Turn on SMP for all configurations. I now have an n32 SMP system running multi-user. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-15T19:19:59.471467Z K 7 svn:log V 134 MFC r205299: - Added support for 5709S/5716S PHYs. Submitted by: pyunyh PR: kern/134658, kern/136417, kern/139761, kern/140970 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-15T19:22:55.184950Z K 7 svn:log V 134 MFC r205299: - Added support for 5709S/5716S PHYs. Submitted by: pyunyh PR: kern/134658, kern/136417, kern/139761, kern/140970 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-15T19:26:28.445438Z K 7 svn:log V 239 MFC r205300: - Added support for 5709S/5716S PHYs. - Update copyright to 2010. - Add new debug code for RV2P block. - Improve output formatting for various debug functions. PR: kern/134658, kern/136417, kern/139761, kern/140970 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-15T19:28:15.278826Z K 7 svn:log V 239 MFC r205300: - Added support for 5709S/5716S PHYs. - Update copyright to 2010. - Add new debug code for RV2P block. - Improve output formatting for various debug functions. PR: kern/134658, kern/136417, kern/139761, kern/140970 END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-15T19:29:56.557489Z K 7 svn:log V 227 MFC r206268 - Fixed 5708S 2.5G support broken in last commit. - Added some new debug helper routines to systcl. - Fixed many of the style(9) violations that have crept into the code due to my use of a "smart" editor. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-04-15T19:31:21.115507Z K 7 svn:log V 227 MFC r206268 - Fixed 5708S 2.5G support broken in last commit. - Added some new debug helper routines to systcl. - Fixed many of the style(9) violations that have crept into the code due to my use of a "smart" editor. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-04-15T19:45:03.459527Z K 7 svn:log V 135 - Fix a typo OFFCORE_REQUESTS.ANY.RFO is B0H10H and not 80H10H. - Enable missing PARTIAL_ADDRESS_ALIAS for Core i7. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-04-15T20:48:57.661640Z K 7 svn:log V 53 svn merge svn+ssh://svn.freebsd.org/base/head@206684 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-04-15T21:18:24.188867Z K 7 svn:log V 173 If a service is running, make 'stop' work even if ${name}_enable is not set. PR: conf/130414 Submitted by: Dominic Fandrey Reviewed by: freebsd-rc@ END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-15T21:41:07.242343Z K 7 svn:log V 358 indent(1): don't treat bare '_t' as a type name when -ta is used It seems that identifier "_t" is sometimes used as a variable name, even in our tree. Not that I endorse that, but still it's better to require at least one character before _t suffix to consider an identifier to be a type name. Reported by: Alex Vasylenko MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-04-15T22:57:30.401600Z K 7 svn:log V 489 The experimental NFS client was not filling in recovery credentials for opens done locally in the client when a delegation for the file was held. This could cause the client to crash in crsetgroups() when recovering from a server crash/reboot. This patch fills in the recovery credentials for this case, in order to avoid the client crash. Also, add KASSERT()s to the credential copy functions, to catch any other cases where the credentials aren't filled in correctly. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-15T23:21:24.253043Z K 7 svn:log V 78 Utilize IP_BINDANY which provided the same semantics of OpenBSD's SO_BINDANY. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-04-15T23:56:05.010943Z K 7 svn:log V 122 Add mutex lock calls to 2 cases in the experimental NFS client's renew thread where they were missing. MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-04-16T01:39:30.593551Z K 7 svn:log V 214 MFC: r206061 Add SAVENAME to the cn_flags for all cases in the experimental NFS server for the CREATE cn_nameiop where SAVESTART isn't set. I was not aware that this needed to be done by the caller until recently. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-04-16T01:53:19.866913Z K 7 svn:log V 150 MFC r206544 The Quanta Q101 modem has a different type of cdrom driver disk, add the product id and use a standard scsi eject. Reviewed by: thompsa END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2010-04-16T01:54:47.074386Z K 7 svn:log V 41 MFC r206595 Eliminate duplicate comment END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-04-16T02:16:58.969847Z K 7 svn:log V 312 MFC: r206063 For the experimental NFS server, add a call to free the lookup path buffer for one case where it was missing when doing mkdir. This could have conceivably resulted in a leak of a buffer, but a leak was never observed during testing, so I suspect it would have occurred rarely, if ever, in practice. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-16T02:56:24.102047Z K 7 svn:log V 33 Remove some unused header files. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-16T06:47:29.963585Z K 7 svn:log V 124 Fix control socket leak when worker process exits. Submitted by: Mikolaj Golub MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-04-16T06:49:12.952912Z K 7 svn:log V 131 Fix log size calculation which caused message truncation. Submitted by: Mikolaj Golub MFC after: 3 days END K 10 svn:author V 2 jh K 8 svn:date V 27 2010-04-16T07:02:28.835141Z K 7 svn:log V 91 Revert r206560. The change doesn't work correctly in all cases with multiple devfs mounts. END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-16T08:32:08.084538Z K 7 svn:log V 99 MFC r206546: Remove XXX comment. Add another comment, describing why f_vnode assignment is useful. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-16T09:08:19.916853Z K 7 svn:log V 119 MFC r206420: Setup the correct RX/TX chainmask when we play with the antenna settings. Sponsored by: iXsystems, inc END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-04-16T15:43:24.027708Z K 7 svn:log V 512 MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list for core and uncore. - Updated Corei7 events with Intel 253669-033US December 2009 doc. There is some removed events in the documentation, they have been kept in the code but documented in the man page as obsolete. - Offcore response events can be setup with rsp token. Sponsored by: NETASQ END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-04-16T15:45:09.783036Z K 7 svn:log V 512 MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list for core and uncore. - Updated Corei7 events with Intel 253669-033US December 2009 doc. There is some removed events in the documentation, they have been kept in the code but documented in the man page as obsolete. - Offcore response events can be setup with rsp token. Sponsored by: NETASQ END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-04-16T16:13:49.122412Z K 7 svn:log V 512 MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list for core and uncore. - Updated Corei7 events with Intel 253669-033US December 2009 doc. There is some removed events in the documentation, they have been kept in the code but documented in the man page as obsolete. - Offcore response events can be setup with rsp token. Sponsored by: NETASQ END K 10 svn:author V 7 fabient K 8 svn:date V 27 2010-04-16T16:15:30.050744Z K 7 svn:log V 512 MFC r206089, r206684: - Support for uncore counting events: one fixed PMC with the uncore domain clock, 8 programmable PMC. - Westmere based CPU (Xeon 5600, Corei7 980X) support. - New man pages with events list for core and uncore. - Updated Corei7 events with Intel 253669-033US December 2009 doc. There is some removed events in the documentation, they have been kept in the code but documented in the man page as obsolete. - Offcore response events can be setup with rsp token. Sponsored by: NETASQ END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-04-16T16:33:05.035987Z K 7 svn:log V 207 Remove the tx queue selection based on the cpu whe no flowid is present, this was causing some bad reordering, now just use 0. Also, add a few watchdog bits, and tx handler bits that were corrected in igb. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-16T16:49:42.411390Z K 7 svn:log V 34 Add ubthidhci. MFC after: 2 days END K 10 svn:author V 3 jfv K 8 svn:date V 27 2010-04-16T17:27:20.675743Z K 7 svn:log V 39 MFC bug fixes to em and igb from HEAD. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-16T20:04:45.255693Z K 7 svn:log V 19 MFV: libz 1.2.4.3. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2010-04-16T20:07:24.588003Z K 7 svn:log V 241 Expose a few symbols as public interface rather than private. Note: the *64 interfaces are no longer exposed via zlib.h but were keep as public interfaces; Note 2: this commit would break applications that uses the moved symbols directly. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-04-16T22:15:26.286896Z K 7 svn:log V 50 Add some tests for fnmatch(3). MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-04-16T22:29:24.703955Z K 7 svn:log V 164 fnmatch: Fix bad FNM_PERIOD disabling if an asterisk has been seen. Example: fnmatch("a*b/*", "abbb/.x", FNM_PATHNAME | FNM_PERIOD) PR: 116074 MFC after: 1 week END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-16T23:42:19.056378Z K 7 svn:log V 50 Set KERNLOADADDR and TARGET_BIG_ENDIAN for SWARM. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-16T23:46:30.274296Z K 7 svn:log V 260 o) Fix the intr_* functions to not spam the whole status register, just the IE bit. o) Remove some unused inlines. o) Generate CP0 access functions for 64-bit TLB registers when building for n64. o) Add an inline function version of the COP0_SYNC macro. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-16T23:48:28.065982Z K 7 svn:log V 306 o) Use the direct map where possible for uiomove_fromphys, based on code from sparc64. o) Use uiomove_fromphys rather than the broken fpage mechanism for /dev/mem. o) Update sf_buf allocator to not share buffers and to do a pmap_qremove when done with an sf_buf so as to better track valid mappings. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-16T23:54:56.242018Z K 7 svn:log V 54 Adjust limits and formats for ABIs with 64-bit longs. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-17T00:05:22.094889Z K 7 svn:log V 134 o) Remove code related to VM_ALLOC_WIRED_TLB_PG_POOL, VM_KERNEL_ALLOC_OFFSET and floating pages. They are unused and unsupported. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-17T01:17:31.346053Z K 7 svn:log V 1001 o) Use inline functions to access coprocessor 0 registers rather than external ones implemented using assembly. o) Use TRAPF_USERMODE() consistently rather than USERMODE(). Eliminate as a result. o) Use intr_*() rather than *intr(), consistently. o) Use register_t instead of u_int in some trap code. o) Merge some more endian-related macros to machine/asm.h from NetBSD. o) Add PTR_LI macro, which loads an address with the correct sign-extension for a pointer. o) Restore interrupts when bailing out due to an excessive IRQ in nexus_setup_intr(). o) Remove unused functions from psraccess.S. o) Enter temporary virtual entries for large memory access into the page tables rather than simply hoping they stay resident in the TLB and we don't need to do a refill for them. o) Abstract out large memory mapping setup/teardown using some macros. o) Do mips_dcache_wbinv_range() when using temporary virtual addresses just like we do when we can use the direct map. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-17T01:49:50.522467Z K 7 svn:log V 244 o) Back out my previous change to SWARM; some of it was to address an issue that turned out to be unrelated, and the rest was, as pointed out by Neel, just wrong-headed. o) Tweak mem.c to fix use of /dev/kmem for direct-mapped addresses. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-17T02:28:24.439146Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-04-17T02:28:28.337869Z K 7 svn:log V 75 Snapshot: PCI busses are discovered, though no devices are enumerable yet. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-17T03:08:13.057507Z K 7 svn:log V 882 o) Add SMP support for Octeon using U-Boot to launch all the processors at the same time. o) Remove some unused trivial uart functions from octeon_machdep now that the uart part is fully working and they are unused. o) Use __func__ instead of __FUNCTION__. o) Use intr_*() instead of other routines that do the same thing. o) Remove some duplicate printfs from the Octeon port, as well as duplicate setting of Maxmem. o) Use the right frequency divider on Octeon. o) Use PCPU_GET(cpuid) consistently to get the cpuid of the running core. o) Remove some unused macros in the Octeon port. o) Use mips_sync() around use of the global dpcpu, whose value may not be visible to APs at first. o) When loading the first thread's stack, use macros to make the code correct for n64 as well. o) Remove stub, do-nothing FAU init/enable/disable functions from the RGMX driver. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-17T03:14:00.740937Z K 7 svn:log V 64 Merge from head (loopback my remaining Octeon subport changes.) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:38:26.471857Z K 7 svn:log V 111 Merge of SVN 196507. This optimizes the sack handling a bit and restructures it so its much more readable ;-) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:40:48.830293Z K 7 svn:log V 79 MFC 202516 This gets rid of some stray #ifdef APPLE that drifted in some how. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:43:02.508623Z K 7 svn:log V 128 MFC of 202517 Again gets rid of some rather strange ifdef's for APPLE/USERSPACE that drifted in through our scrubber programs. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:44:28.523875Z K 7 svn:log V 56 MFC of 202518 More ifdefs that should not be present... END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:47:04.304293Z K 7 svn:log V 130 MFC of 202520 This aligns us to the socket api of the stream reset with proper naming.. and a define for backward compatibility. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:49:21.054594Z K 7 svn:log V 209 MFC 202521 More stray ifdef's that had worked their way into the code base somehow (yes thats ifdef Windows going out.. our stack runs on windows .. big thanks for that goes to Kozuka-san and Bruce Cran ;-D) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:51:13.157302Z K 7 svn:log V 106 MFC of 202523 This fixes a closing race condition that is unlikely to ever happen.. but good to fix ;-) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:53:44.674210Z K 7 svn:log V 110 MFC of 205502 The firste of Michael and my long fight at the IETF to get the NR sack code fixed and aligned. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:55:49.332516Z K 7 svn:log V 104 MFC of 202526 The first round of some of Michael's changes to get the sack processing in better shape. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:57:16.711830Z K 7 svn:log V 60 MFC of 202782 Michaels changes that took out [0] -> for [] END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T03:58:56.316426Z K 7 svn:log V 74 MFC of 203503 A fix to how the checksum code works that Michael put in. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:00:57.137957Z K 7 svn:log V 125 MFC of 203847 Puts in missing packed declarations (from Michael). It worked only because it was properly aligned anyway ;-) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:02:27.310445Z K 7 svn:log V 60 MFD 204040 Fixes some argument calsl (u_long vs uint32_t). END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:06:40.286199Z K 7 svn:log V 87 MFC of 204096 One of Michaels changes to fix some sign issues and some minor locking. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-04-17T04:07:38.990910Z K 7 svn:log V 663 We need to iterate all busses in each domain. As it seems, bus number 1 in domain 1 has the devices we're looking for. For the busses that are present, the SAL call returns an non-NULL value for the addr parameter so use that as well as the status code to determine whether to create a child. Save the domain, bus number and PROM address in the softc after assigning the driver to the new device. This yields: ... pcib0: on motherboard pci0: on pcib0 pci0: domain=1, physical bus=1 ... pcib1: on motherboard pci1: on pcib1 pci1: domain=2, physical bus=1 ... END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:08:51.931691Z K 7 svn:log V 93 MFC of 204141 Cleans up so we can have a vtag reflected argument. One of Michaels fixes ;-) END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:10:29.738779Z K 7 svn:log V 95 MFC of 205627 Part II (more to follow) of the great IETF hack-a-thon to fix the NR-Sack code. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:11:45.201626Z K 7 svn:log V 53 MFC of 205628 Out goes the nr_mapping_array expand. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:13:52.590058Z K 7 svn:log V 237 MFC of 205629 Adds the option of seperating out the sctp stats per processor. This will be refined further and is definetly exploratory (which is why its an option) i.e. making it allocate the actual number of processors is coming ;-D. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:15:46.938227Z K 7 svn:log V 171 MFC of 206137 This is Part III of the great IETF hack-a-thon to fix the NR-Sack code. (the last one on the cpu options was a lull.. i.e MFC 205629).. still 2 more to go. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:17:17.236632Z K 7 svn:log V 15 MFC of 206151 END K 10 svn:author V 3 rrs K 8 svn:date V 27 2010-04-17T04:19:18.568768Z K 7 svn:log V 92 MFC of 206281 Final MFC of all the IETF hack a-thon.. head and stable are now in sync ;-) END K 10 svn:author V 3 ume K 8 svn:date V 27 2010-04-17T04:54:38.729222Z K 7 svn:log V 95 MFC r206557: Nuke the descriptions about ipv6_firewall_* as they were unified into firewall_*. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-17T07:20:01.519059Z K 7 svn:log V 346 o) Add NPDEPG, like NPTEPG but for PDEs. o) Remove NBPG, PGOFSET and PGSHIFT. Use the standard names. o) Remove some unused macros and move things from param.h to vmparam.h that belong in the latter. (Actually, all of the kernel segment values, virtual addresses, etc., belong in one place, but this is a step in the right direction.) END K 10 svn:author V 2 bz K 8 svn:date V 27 2010-04-17T07:38:20.030974Z K 7 svn:log V 208 Welcome Ana Kukec (anchie@) as our new src comitter. I'll be her mentor. Ana has worked on SeND for GSoC 2009 and is generally interested and involved in IETF work on various IPv6 topics. Approved by: core END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-04-17T09:37:08.265436Z K 7 svn:log V 125 MFC r206623: ld_gs_base is executing with stack containing only the frame, temporary pushed %rflags has been popped already. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-17T09:42:07.020440Z K 7 svn:log V 1078 o) Make pcb_onfault a pointer rather than an obscure integer value. o) Mask off PAGE_MASK bits in pmap_update_page, etc., rather than modifying the badvaddr in trapframe. Some nearby interfaces already did this. o) Make PTEs "unsigned int" for now, not "unsigned long" -- we are only ready for them to be 32-bit on 64-bit platforms. o) Rather than using pmap_segmap and calculating the offset into the page table by hand in trap.c, use pmap_pte(). o) Remove unused quad_syscall variable in trap.c. o) Log things for illegal instructions like we do for bad page faults. o) Various cast cleanups related to how to print registers. o) When logging page faults, show the page table information not just for the program counter, but for the fault address. o) Modify support.S to use ABI-neutral macros for operating on pointers. o) Consistently use CALLFRAME_SIZ rather than STAND_FRAME_SIZE, etc. o) Remove unused insque/remque functions. o) Remove some coprocessor 0 accessor functions implemented in assembly that are unused and have inline assembly counterparts. END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2010-04-17T09:50:13.213769Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-17T11:06:42.730996Z K 7 svn:log V 61 MFC r205860,206097: correctly set b_offset for getblk(devvp) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-17T11:12:20.234352Z K 7 svn:log V 61 MFC r205860,206097: correctly set b_offset for getblk(devvp) END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-17T11:25:30.318767Z K 7 svn:log V 63 MFC r206129: vn_stat: use va_blocksize when setting st_blksize END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-17T11:38:18.821403Z K 7 svn:log V 63 MFC r206129: vn_stat: use va_blocksize when setting st_blksize END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-04-17T11:40:39.624202Z K 7 svn:log V 57 Add another ICH7M chipset that works. MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-17T11:57:41.719068Z K 7 svn:log V 63 MFC r206130: g_vfs_open: allow only one mount per device vnode END K 10 svn:author V 3 avg K 8 svn:date V 27 2010-04-17T12:01:50.702634Z K 7 svn:log V 63 MFC r206130: g_vfs_open: allow only one mount per device vnode END