ƒ°`210000 207 196 257 392 137 139 285 121 172 122 314 173 169 359 102 151 137 240 131 162 1234 116 119 127 169 220 141 166 207 137 125 219 137 250 180 348 123 156 121 161 262 313 142 133 140 307 133 203 599 142 135 149 209 153 215 262 701 187 155 171 139 190 426 149 808 326 232 965 147 214 155 245 245 247 247 113 114 114 113 113 863 863 171 118 421 428 205 205 371 122 257 285 243 245 199 196 186 504 418 159 137 463 224 332 342 137 122 169 154 148 322 251 204 284 173 304 173 170 143 140 129 111 142 113 178 687 167 256 121 122 640 116 157 230 414 164 416 405 534 144 410 428 186 124 307 158 527 654 121 681 160 199 632 177 233 278 405 138 317 287 126 151 284 134 134 334 133 174 326 294 271 142 852 350 999 137 284 275 492 524 495 179 186 557 196 193 308 336 155 175 305 313 274 273 204 210 171 171 146 229 191 188 262 340 588 276 294 173 K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-07-13T16:16:41.197528Z K 7 svn:log V 101 o Correct path to include file. PR: docs/148545 Submitted by: Anton Shterenlikht MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-13T16:21:35.011301Z K 7 svn:log V 161 Merge in a fix for the power/(gain?) calculation. Apply it to both the 5416/9160 and 9285 code paths. Obtained from: OpenWRT r22123, 522-ath9k_pwrcal_fix.patch END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-07-13T16:24:04.017416Z K 7 svn:log V 297 In the example for how to create a VLAN, also include an example of setting the IP address. While it is documented earlier in rc.conf(5) that the '.' in the VLAN name becomes a '_' in rc.conf, this may not be easy to find when just using rc.conf(5) as reference documentation. MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-13T16:35:41.999671Z K 7 svn:log V 44 Make SMP code path conditional at run-time. END K 10 svn:author V 5 simon K 8 svn:date V 27 2010-07-13T16:47:29.975110Z K 7 svn:log V 45 Bump document for content change in r210002. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-13T16:57:52.466482Z K 7 svn:log V 191 Define SMP unconditionally for amd64 and remove opt_global.h from SRCS. Note it is done just for correctness sake because we do not build, ship, or support acpi.ko on amd64. Prodded by: bde END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-13T17:19:57.535417Z K 7 svn:log V 24 Update LLVM to r108243. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-13T17:21:15.867752Z K 7 svn:log V 80 Use the cpuregs.h spellings for these registers rather than the cpu.h spelling. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-13T17:21:42.354716Z K 7 svn:log V 25 Update clang to r108243. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-13T17:24:30.824169Z K 7 svn:log V 221 Define break value for ddb. Use int32/intptr casts for exception vector names. Define MIPS_SR_INT_MASK again Change MIPS_XKPHYS_CCA_* to MIPS_CCA_* since we can use them in many contexts Minor gratuitous whitespace churn END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-13T19:27:20.952587Z K 7 svn:log V 73 Fix build on architectures where PAGE_SIZE is a long (sparc64, powerpc). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-13T19:33:46.931932Z K 7 svn:log V 73 Make bge_stop_fw() static. While I'm here use ANSI function definitions. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2010-07-13T19:37:45.449807Z K 7 svn:log V 266 Fix a panic brought about by writing an MSR without a proper mask. All of the necessary wrmsr calls are now preceded by a rdmsr and we leave the reserved bits alone. Document the bits in the relevant registers for future reference. Tested by: mdf MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-13T19:39:51.737609Z K 7 svn:log V 7 style. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-13T19:42:55.112912Z K 7 svn:log V 55 Fix error message for jumbo buffer allocation failure. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-13T19:45:40.524762Z K 7 svn:log V 41 Prefer PCIR_BAR macro over BGE_PCI_BAR0. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-13T19:48:20.357387Z K 7 svn:log V 146 Preallocate buffers for palette and state. Do not save DAC registers as we reset DAC mode and restore palette data while we are resuming always. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-13T19:58:06.759200Z K 7 svn:log V 38 Initialize a variable before its use. END K 10 svn:author V 5 remko K 8 svn:date V 27 2010-07-13T20:09:14.283728Z K 7 svn:log V 68 Add a 4 and 7 port USB hub from NEC. PR: 148189 MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2010-07-13T20:13:38.268615Z K 7 svn:log V 1141 MFC r208946: New netgraph node ng_patch(4). It performs data modification of packets passing through. Modifications are restricted to a subset of C language operations on unsigned integers of 8, 16, 32 or 64 bit size. These are: set to new value (=), addition (+=), subtraction (-=), multiplication (*=), division (/=), negation (= -), bitwise AND (&=), bitwise OR (|=), bitwise eXclusive OR (^=), shift left (<<=), shift right (>>=). Several operations are all applied to a packet sequentially in order they were specified by user. Submitted by: Maxim Ignatenko Vadim Goncharov Discussed with: net@ MFC r208947: Fix typo. MFC r208989: Style(9) fixes: * Sort includes * Replace #define to #define * Split declarations and initializations * Split long lines Requested by: kib MFC r209194: * Include sys/systm.h for KASSERT() * Remove unneeded includes and comment * Replace home made OFFSETOF() macro with standard offsetof() Pointed out by: bde Tested by: Vadim Goncharov Approved by: mav (mentor) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-13T21:12:29.553956Z K 7 svn:log V 19 Merge from vendor. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-13T21:13:19.350112Z K 7 svn:log V 22 update the build glue END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-13T21:14:27.640504Z K 7 svn:log V 30 bump the clang version to 2.8 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-13T21:15:18.183589Z K 7 svn:log V 72 fix the vendor code to return types clang started complaining about it END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-13T21:19:59.193466Z K 7 svn:log V 119 Connect powerpc64 to the build. It is not presently part of make universe, which will be added soon. Reviewed by: imp END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-13T21:24:08.074632Z K 7 svn:log V 41 Add GENERIC kernel config for powerpc64. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-13T22:27:19.087079Z K 7 svn:log V 74 Temp hack to N32 kernel: turn off debugger since n32 is too weird for ddb END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-13T22:30:27.003977Z K 7 svn:log V 114 Remove redunant machine/cpuregs.h include. Also, spell things like in machine/cpuregs.h instead of machine/cpu.h. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-13T22:35:09.682658Z K 7 svn:log V 45 Add INFO config register from mips32/64 land END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-13T22:36:45.497699Z K 7 svn:log V 33 union cpuprid is also unused now END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-07-13T22:44:14.690196Z K 7 svn:log V 121 Fix a bogus comment that mentions lru lists that don't exist. Reported by: zack.kirsch at isilon.com MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-13T22:55:12.517290Z K 7 svn:log V 44 - Update the suj 8 branch against stable/8 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-07-13T23:07:32.194473Z K 7 svn:log V 152 For the experimental NFSv4 client, do not use cached attributes that were invalidated, even when a delegation for the file is held. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-13T23:10:55.507200Z K 7 svn:log V 80 Remove obsolete code that sets SHMMAXPGS to a tiny value by default on PowerPC. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-07-13T23:14:39.441826Z K 7 svn:log V 250 For the experimental NFSv4 client, make sure that attributes that predate the issue of a delegation are not cached once the delegation is held. This is necessary, since cached attributes remain valid while the delegation is held. MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-13T23:34:43.926154Z K 7 svn:log V 30 - Merge suj/7 up to stable/7 END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-13T23:47:12.394855Z K 7 svn:log V 64 Add support for packages. PR: 148584 Submitted by: John Hixon END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-13T23:58:10.231753Z K 7 svn:log V 28 - Merge stable/6 to suj/6. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-14T00:41:22.972795Z K 7 svn:log V 69 Prefer the cpuregs.h spellings of register and bit names over cpu.h. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-14T00:47:37.191777Z K 7 svn:log V 169 Remove the unused part of cpu.h now that the rest of the tree has been transitioned to use cpuregs.h spellings. Now we're only 4x too big, according to the bde-ometer. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2010-07-14T00:48:53.648928Z K 7 svn:log V 217 Import preliminary support for Atmel AT91SAM9G20 cpu, and the Hot-e HL201. This fine work was done by Yohanes Nugroho Many thanks to John Nicholls and Thinlinx for providing sample hardware. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-14T00:52:29.790036Z K 7 svn:log V 50 Use cpuregs.h spellings over the cpu.h spellings. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-14T01:17:29.248549Z K 7 svn:log V 40 - Merge in recent SUJ fixes from HEAD. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-14T01:55:24.634759Z K 7 svn:log V 47 - Update suj/7 with changes from recent head. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2010-07-14T06:37:43.036068Z K 7 svn:log V 214 MFp4 180933: Initialize rw_count properly so that zdb(8) doesn't trigger assertion in rw_enter(): ASSERT(rwlp->rw_count == 0); While here, assert that rw_count is 0 when destroying the lock. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-14T08:08:43.593147Z K 7 svn:log V 38 Count missed (but not stuck) beacons. END K 10 svn:author V 2 ru K 8 svn:date V 27 2010-07-14T08:22:00.330052Z K 7 svn:log V 111 Fixed cache size decoding read from a label. PR: kern/144732 Submitted by: Eugene Grosbein MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-14T08:42:17.485368Z K 7 svn:log V 503 Expose the atheros stats stuff via sysctl. * Add almost all of the stats from if_athioctl.h into dev.ath.X.stats. * Add dev.ath.X.clear_stats which clears the if_ath sc_stats area (but not the interface statistics!) The remaining stats are either arrays or non-integer stats and need some helper functions. tools/tools/atheros/athstats/ does expose all of this stuff through the ioctl interface but the tool isn't included by default and sysctl is easier to just get a snapshot of everything with. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-14T08:47:19.478937Z K 7 svn:log V 49 - Fix the build, remove an unnecessary keyword. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-14T08:48:53.882940Z K 7 svn:log V 42 - Bring in suj fixes from head to suj/6. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-14T08:54:07.548442Z K 7 svn:log V 56 - MNT_SUJ was retired remove it here to fix the build. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-14T08:58:50.022873Z K 7 svn:log V 113 Fix the padding to be correct. The last commit here assumed the padding array was in bytes, rather than int32's. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-14T10:49:14.655670Z K 7 svn:log V 61 Remove some unneeded includes. Code now can be built on ARM. END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-07-14T13:03:00.336211Z K 7 svn:log V 122 Provide initial man pages for Flattened Device Tree support and the common drivers. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-14T13:31:27.815256Z K 7 svn:log V 169 Move timeevents.c to MI code, as it is not x86-specific. I already have it working on Marvell ARM SoCs, and it would be nice to unify timer code between more platforms. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2010-07-14T14:31:18.599115Z K 7 svn:log V 606 Correct logic bug in aicasm's undefined register bit access detection code. The code in question verifies that all register write operations only change bits that are defined (in the register definition file) for that effected register. The bug effectively disabled this checking. o Fix the check by testing the opcode against all supported read ("and" based) operands. o Add missing bit definitions to the aic7xxx and aic79xx register definition files so that the warning (treated as a fatal error) does not spuriously fire. Reported by: Pawel Worach MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-14T14:52:35.956436Z K 7 svn:log V 92 Pad out some values to make later diff'ing against the linux ath9k 5416 .ini values easier. END K 10 svn:author V 2 mp K 8 svn:date V 27 2010-07-14T15:11:29.835599Z K 7 svn:log V 64 MFC r184072: Actually fix pty detection for autologout setting. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-14T15:14:00.696982Z K 7 svn:log V 79 Do not bzero() NULL pointer on malloc() error. Submitted by: Dmitry Luhtionov END K 10 svn:author V 2 mp K 8 svn:date V 27 2010-07-14T15:14:52.076857Z K 7 svn:log V 48 MFC: Update to tcsh 6.17.00. Requested by: gnn END K 10 svn:author V 2 mp K 8 svn:date V 27 2010-07-14T15:18:22.120181Z K 7 svn:log V 99 Merge r197812: Fix tcsh losing history when tcsh terminates because the pty beneath it is closed. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-14T16:01:43.414296Z K 7 svn:log V 333 Update some release version numbers. The patch is based on the one from the PR, but the version numbers reflect the newer ones from http://security.freebsd.org/#sup PR: docs/145227 Submitted by: Glen Barber (glen dot j dot barber at gmail dot com) Reviewed by: cperciva Mentored by: jkois MFC after: 1 week END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-14T16:31:22.932747Z K 7 svn:log V 52 include the bArg in the switch preventing a warning END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-07-14T17:16:25.037375Z K 7 svn:log V 711 Fix the way the segments are included in the gcore outputs (with the default invokation): - Right now if segments are not writable are not included. Remove this. - Right now if a segment is mapped with NOCORE the check is not honoured. Change this by checking the newly added flag, from libutil, KVME_FLAG_NOCOREDUMP. Besides that, add a new flag (-f) that forces a 'full' dump of all the segments excluding just the malformed ones. This might be used very carefully as, among the reported segments, there could be memory mapped areas that could be vital to program execution. Sponsored by: Sandvine Incorporated Discussed with: kib Reviewed by: emaste Tested by: Sandvine Incorporated MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T17:38:01.931335Z K 7 svn:log V 233 - Document layout of KTR_STRUCT payload in a comment. - Simplify ktrstruct() calling convention by having ktrstruct() use strlen() rather than requiring the caller to hand-code the length of constant strings. MFC after: 1 month END K 10 svn:author V 7 attilio K 8 svn:date V 27 2010-07-14T17:46:44.845200Z K 7 svn:log V 135 Fix spelling. Sponsored by: Sandvine Incorporated Submitted by: b.f. MFC after: 2 weeks X-MFC: 210063 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T18:06:21.162946Z K 7 svn:log V 872 Rework the SMBIOS table walker to make it operate like other table walkers and remove a buffer overflow: - Remove the array of per-type dispatch functions. Instead, pass each structure to a single callback. The callback should check the type of each table entry to take appropriate action. This matches the behavior of other table walkers such as for the MP Table and MADT. - Don't attempt to save an array of string pointers for each structure entry. Instead, just skip the strings. If this code is reused to provide a generic SMBIOS table walker in the future we could provide a method that looks up a specific string N for a given structure record instead of pre-populating an array of pointers. This fixes a buffer overflow for structure entries with more than 20 strings. PR: kern/148546 Reported by: Spencer Minear @ McAfee MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T18:23:19.380715Z K 7 svn:log V 55 MFC 177446,177856: Spell -t option's argument by name. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T18:28:46.028868Z K 7 svn:log V 121 - Sort list of trace points. - Note that 'y' (sysctl requests) is in the default set of trace points. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-14T18:43:27.476999Z K 7 svn:log V 63 Rename timeevents.c to kern_clocksource.c. Suggested by: jhb@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T18:55:34.955027Z K 7 svn:log V 152 MFC 209588: - The ETIMEDOUT error applies to pthread_timedjoin_np(), not pthread_join(). - Tweak wording in history section for pthread_timedjoin_np(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T18:55:45.989243Z K 7 svn:log V 152 MFC 209588: - The ETIMEDOUT error applies to pthread_timedjoin_np(), not pthread_join(). - Tweak wording in history section for pthread_timedjoin_np(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T19:00:44.445984Z K 7 svn:log V 154 MFC 208787: Assert that the thread lock is held in sched_pctcpu() instead of recursively acquiring it. All of the current callers already hold the lock. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T19:01:08.652732Z K 7 svn:log V 154 MFC 208787: Assert that the thread lock is held in sched_pctcpu() instead of recursively acquiring it. All of the current callers already hold the lock. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-14T19:56:13.527240Z K 7 svn:log V 18 Tag LLVM r108243. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-14T19:57:42.812132Z K 7 svn:log V 19 Tag Clang r108243. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-14T20:54:32.557346Z K 7 svn:log V 19 Tag Clang r108243. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-14T20:55:04.088755Z K 7 svn:log V 18 Tag LLVM r108243. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-14T20:55:45.642700Z K 7 svn:log V 18 Fix botched tags. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T21:10:14.772603Z K 7 svn:log V 770 MFC 208507,208556,208621: Add support for corrected machine check interrupts. CMCI is a new local APIC interrupt that fires when a threshold of corrected machine check events is reached. CMCI also includes a count of events when reporting corrected errors in the bank's status register. Note that individual banks may or may not support CMCI. If they do, each bank includes its own threshold register that determines when the interrupt fires. Currently the code uses a very simple strategy where it doubles the threshold on each interrupt until it succeeds in throttling the interrupt to occur only once a minute (this interval can be tuned via sysctl). The threshold is also adjusted on each hourly poll which will lower the threshold once events stop occurring. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T21:10:47.288494Z K 7 svn:log V 770 MFC 208507,208556,208621: Add support for corrected machine check interrupts. CMCI is a new local APIC interrupt that fires when a threshold of corrected machine check events is reached. CMCI also includes a count of events when reporting corrected errors in the bank's status register. Note that individual banks may or may not support CMCI. If they do, each bank includes its own threshold register that determines when the interrupt fires. Currently the code uses a very simple strategy where it doubles the threshold on each interrupt until it succeeds in throttling the interrupt to occur only once a minute (this interval can be tuned via sysctl). The threshold is also adjusted on each hourly poll which will lower the threshold once events stop occurring. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-14T21:19:11.413204Z K 7 svn:log V 74 Flatten the list of files in the makefiles. Submitted by: Dimitry Andric END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-14T21:24:18.033459Z K 7 svn:log V 25 - Correct build errors. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-14T21:47:49.925175Z K 7 svn:log V 324 Remove enabling Data FIFO protection with indirect memory access. r165114 added that code and that change ignored the same logic committed in r135772. In addition, data FIFO protection should be selectively enabled instead of applying to all PCIe devices. While I'm here add BCM5785 to devices that do not require this fix. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T21:48:16.542732Z K 7 svn:log V 335 Partially MFC 209592: Add a tdksignal() routine that mirrors pksignal() except that it accepts a thread instead of a process. As an extension, if a NULL ksiginfo_t is passed in, setup a ksiginfo_t on the stack similar to psignal(). This provides semantics matching the new tdsignal() function in 9 while preserving the existing ABI. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T21:52:02.964715Z K 7 svn:log V 112 MFC 209595: Send SIGPIPE to the thread that issued the offending system call rather than to the entire process. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-14T21:52:23.332258Z K 7 svn:log V 112 MFC 209595: Send SIGPIPE to the thread that issued the offending system call rather than to the entire process. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2010-07-14T22:31:45.092911Z K 7 svn:log V 275 sh: There cannot be a TNOT in simplecmd(), remove checks. simplecmd() only handles simple commands and function definitions, neither of which involves the ! keyword. The initial token on entry to simplecmd() is one of the following: TSEMI, TAND, TOR, TNL, TEOF, TWORD, TRP. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-07-15T00:04:14.227001Z K 7 svn:log V 27 Remove more extraneous ;s. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-07-15T00:16:04.520400Z K 7 svn:log V 161 Add -p option to have pom(6) print just the percentage, without extra text. PR: bin/51070 Submitted by: Matt Koivisto mkoivisto sandvine com MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T01:13:49.632116Z K 7 svn:log V 191 - Add a linux compatible radix tree implementation. This only implements a subset of the linux features required by ofed drivers. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T01:14:49.904036Z K 7 svn:log V 149 - Correct the byteorder macros with proper casts and linux global byteorder definitions. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T01:15:31.984840Z K 7 svn:log V 151 - Add missing header files which just redirect to linux/* includes. - Add the pgprot_t type. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T01:17:07.568880Z K 7 svn:log V 105 - Add device, devclass, dma, and cdev wrappers. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T01:17:40.912220Z K 7 svn:log V 102 - Add more bitops for zero, fill, full, etc. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T01:18:37.397367Z K 7 svn:log V 93 - Fill out more of the kobject api. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T01:47:47.948211Z K 7 svn:log V 411 Remove one layer of indirection. No need to call cpu_throw which then calls mips_cpu_call via an obfuscated assembler call. Instead, delete the current cpu_throw, and rename mips_cpu_throw to cpu_throw. This is nicer to the cache on each context switch (since fixed jumps can be prefected, while jumps through a register can't). Incidentally, it also saves about 5 or 6 instructions. Reviewed by: jmallet@ END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-15T01:48:30.348769Z K 7 svn:log V 317 Get powerpc64 install CDs a little closer: some powerpc things should be used on powerpc64 as well (build scripts, for instance), and the MFS root must be adjusted upward on powerpc64 as well. This doesn't completely solve things: sysinstall stil needs some persuasion to deal with a default kernel named GENERIC64. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T01:53:17.156147Z K 7 svn:log V 67 Remove i386-ish sysctls. Also, make the bootinfo sysctl OID_AUTO. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T01:55:28.359273Z K 7 svn:log V 45 We don't need sys/cdefs.h for __CONCAT here. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T01:58:20.404760Z K 7 svn:log V 370 Remove unused stuff from cpu.h. Move inappropriate stuff in cpu.h elsewhere: {s,g}et_intr_mask -> md_var.h num_tlbentries -> tlb.h Remove #define clockframe trapframe and fix clock, which was the only place this was used. All the rest of this stuff was unused. # we're not quite minimal yet, since we duplicate a few status register things # here... Inspired by: bde@ END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-15T02:22:50.579910Z K 7 svn:log V 128 Sanitize CFLAGS and add WARNS?=2. The hardcoding of -Os -fPIC as compiler options resulted in an invalid executable on PowerPC. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-07-15T03:02:10.473119Z K 7 svn:log V 234 This patch fixes a bug in the experimental NFSv4 server where it released a reference count on nfsv4rootfs_lock erroneously when administrative revocation of state was done. Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2010-07-15T03:11:04.045646Z K 7 svn:log V 246 Unbreak xz (liblzma) on strong-aligned architectures (and without emulation of misaligned memory accesses). We cannot map the unaligned memory access functions to the ones used for aligned accesses, so do not define TUKLIB_FAST_UNALIGNED_ACCESS. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T03:36:50.657393Z K 7 svn:log V 45 This file has been unused for a while now... END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T03:56:08.474713Z K 7 svn:log V 30 Move TLB definitions to tlb.h END K 10 svn:author V 5 brian K 8 svn:date V 27 2010-07-15T07:14:57.823475Z K 7 svn:log V 75 MFC r209924; Add -l to the synopsis Submitted by: jhell at dataix dot net END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-07-15T07:45:37.488211Z K 7 svn:log V 57 Remove duplicate vendor:device entry. MFC after: 3 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-07-15T08:05:20.663437Z K 7 svn:log V 51 Fix some small whitespace nits. MFC after: 3 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-07-15T09:30:54.038614Z K 7 svn:log V 224 - Add new IDs for 6000 series devices. - The 6000 series WiMAX devices need a separate firmware. - The b-gen devices are not hooked because the hardware revision type is not know. Obtained from: OpenBSD MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-07-15T09:34:00.889054Z K 7 svn:log V 153 Detect active chains differently to work around a firmware bug which would mark non-existing chains as active. Obtained from: OpenBSD MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-07-15T10:37:49.218160Z K 7 svn:log V 106 Add support for firmware images in "type-length-value" format. Obtained from: OpenBSD MFC after: 2 weeks END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-07-15T10:49:07.388380Z K 7 svn:log V 191 Fix FDT_DTS_FILE parsing to properly retrieve its value. This unbreaks the 'builddtb' target. Make the processing more robust against non-existent kernel config files (pointed out by imp@). END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-07-15T11:26:07.420687Z K 7 svn:log V 76 - Update 6000 firmware to 9.221.4.1 - Add 6050 firmware MFC after: 2 weeks END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2010-07-15T11:52:20.578046Z K 7 svn:log V 206 Handle RUN->ASSOC->RUN transition correctly, as in not trigger a firmware error. Convert if statements to a switch statement while I'm here. Tested by: Benjamin Kaduk MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-15T12:17:17.325617Z K 7 svn:log V 81 MFC part of 209483: Clear DF bit in cmcint interrupt handler. Submitted by: kib END K 10 svn:author V 3 raj K 8 svn:date V 27 2010-07-15T13:21:25.047456Z K 7 svn:log V 78 Relax FDT_DTS_FILE validation (and unbreak world build). Pointed out by: kib END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-07-15T13:46:30.202129Z K 7 svn:log V 48 A cosmetic change - don't output empty . END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-07-15T14:34:56.956656Z K 7 svn:log V 46 better printing of headers when listing flows END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-07-15T14:37:02.946569Z K 7 svn:log V 35 fix a comment and final empty line END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-07-15T14:37:59.415948Z K 7 svn:log V 17 whitespace fixes END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-07-15T14:41:06.579315Z K 7 svn:log V 48 small portability fix to build on linux/windows END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-07-15T14:41:59.077449Z K 7 svn:log V 19 whitespace cleanup END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-07-15T14:43:12.834993Z K 7 svn:log V 84 remove some conditional #ifdefs (no-op on FreeBSD); run the timer routine on cpu 0. END K 10 svn:author V 3 alc K 8 svn:date V 27 2010-07-15T16:25:51.154823Z K 7 svn:log V 594 Optimize pmap_remove()'s handling of PG_G mappings. Specifically, instead of calling pmap_invalidate_page() for each PG_G mapping, call pmap_invalidate_range() for each range of PG_G mappings. In addition, eliminate a redundant call to pmap_invalidate_page(). Both pmap_remove_pte() and pmap_remove_page() called pmap_invalidate_page() when the mapping had the PG_G attribute. Now, only pmap_remove_page() calls pmap_invalidate_page(). Altogether, these changes eliminate 53% of the TLB shootdowns for a "buildworld" on a ZFS file system. On FFS, the reduction is 3%. MFC after: 6 weeks END K 10 svn:author V 5 luigi K 8 svn:date V 27 2010-07-15T16:32:59.064057Z K 7 svn:log V 73 add some modern stuff: SMP, SCHED_ULE, PREEMPTION and support for VIMAGE END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2010-07-15T16:39:17.052270Z K 7 svn:log V 158 Fix for 64 bit compilation. RMI bootloader passes argv[] and envp[] as an array of 32 bit pointers. Convert the pointers to correct pointer type before use. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-15T17:06:11.710480Z K 7 svn:log V 24 Update LLVM to r108428. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-15T17:07:12.219234Z K 7 svn:log V 25 Update clang to r108428. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-15T17:11:49.941843Z K 7 svn:log V 546 - AcpiOsReadMemory() needs similar fixes as r209965. [1] According to ACPICA User Guide and Programmer Reference, the read data must be zero extended to fill the 32-bit return value even if the bit width of the port is less than 32. - Remove 64-bit read/write from AcpiOsReadMemory() and AcpiOsWriteMemory(). These functions do not support 64-bit access (yet). Clean up style nits and unnecessary bit masking while I am here. Reported by: Liu, Jinsong (jinsong dot liu at intel dot com) via Lin Ming (ming dot m dot lin at intel dot com) [1] END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2010-07-15T17:46:21.237515Z K 7 svn:log V 19 Merge from vendor. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-15T17:49:35.853003Z K 7 svn:log V 65 Move functions declaration to MI code, following implementation. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-07-15T18:44:58.879348Z K 7 svn:log V 135 Make svr4(4) version of poll(2) use the same limit of file descriptors as the usual poll(2) does, instead of checking resource limits. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-07-15T19:21:07.871034Z K 7 svn:log V 319 Don't import parameter values in jail_getv, except for the search key. Remove the internal jailparam_vlist, in favor of using variants of its logic separately in jail_setv and jail_getv. Free the temporary parameter list and exported values in jail_setv and jail_getv. Noted by: Stanislav Uzunchev MFC after: 3 days END K 10 svn:author V 5 jamie K 8 svn:date V 27 2010-07-15T19:21:33.598973Z K 7 svn:log V 70 Don't copy and return a potentially unset buffer when jail_get fails. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-15T19:21:48.428592Z K 7 svn:log V 323 Merge 208603, 209946, and 209948 to the new NFS client: Move attribute cache flushes from VOP_OPEN() to VOP_LOOKUP() to provide more graceful recovery for stale filehandles and eliminate the need for conditionally clearing the attribute cache in the !NMODIFIED case in VOP_OPEN(). Reviewed by: rmacklem MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-15T19:40:48.549056Z K 7 svn:log V 312 Retire the NFS access cache timestamp structure. It was used in VOP_OPEN() to avoid sending multiple ACCESS/GETATTR RPCs during a single open() between VOP_LOOKUP() and VOP_OPEN(). Now we always send the RPC in VOP_LOOKUP() and not VOP_OPEN() in the cases that multiple RPCs could be sent. MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-15T19:52:54.904564Z K 7 svn:log V 440 - AcpiOsReadPciConfiguration() needs similar fixes as r209965 and r210129. According to ACPICA User Guide and Programmer Reference, the read data must be zero extended to fill the 64-bit return value even if the bit width of the location is less than 64. - Return error when 64-bit access is requested as we do not support 64-bit PCI register access (yet). XXX We may have to split it up into two 32-bit accesses if it is really required. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-15T20:24:37.632511Z K 7 svn:log V 52 Retire td_syscalls now that it is no longer needed. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T21:44:26.420764Z K 7 svn:log V 316 - Add a dma pool implementation which simply uses uma. This is not fully compatible with the linux implementation but satisfies the needs of existing consumers. Any further requirements can be met by using contigmalloc as the backing for the zone. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T21:47:30.408036Z K 7 svn:log V 334 - Add a somewhat x86/amd64 specific set of io routines. Using bus space is complicated because linux passes only physical/virtual addresses around while bus-space wants an opaque tag. We may have to create a hash for platforms which can't directly access io memory. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T21:49:28.414155Z K 7 svn:log V 93 - Add various missing trivial APIs. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T21:56:45.618333Z K 7 svn:log V 32 Better description of this file END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-15T22:15:44.860570Z K 7 svn:log V 213 - Fix the files definitions for mlx4 and add mthca. - Correct the OFED_C_NOIMP target and add the set of errors to be omitted when building linux code. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T22:28:19.709154Z K 7 svn:log V 66 Put warnings out to stderr rather than stdout. MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T22:34:30.129042Z K 7 svn:log V 434 MFC: r209135 r209135 | imp | 2010-06-13 10:54:11 -0600 (Sun, 13 Jun 2010) | 9 lines style(9) fixes: o make cmd scoped to the whole do_rules function, since it really is scoped to the whole fucnion. Making it static was the wrong way to fix referencing it outside of the block in which it was declared (and conforms to the style of the rest of the file). o remove a couple of meaningless blank lines o properly wrap one line. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T22:35:50.842820Z K 7 svn:log V 561 MFC: r209969 r209969 | nwhitehorn | 2010-07-12 22:08:08 -0600 (Mon, 12 Jul 2010) | 13 lines Enhance config to handle MACHINEs with multiple architectures: - Passing -m to config will now print the MACHINE and MACHINE_ARCH given in the passed kernel configuration file and then exit. - If an option is defined in options.MACHINE with the same name as the architecture of the kernel being configured, that option will be considered set. This allows conditional compilation based on CPU architecture. Config version is now 600010. Reviewed by: imp END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T22:52:36.105165Z K 7 svn:log V 29 MFC r201227: record the fact END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T23:07:02.579726Z K 7 svn:log V 588 MFC: r188277, r188280, r201227, r205880, r206664, r206915, r207260, r207263, r207265, r209135, r209969 (I'm not repeating all that here, see the logs for all the details): Config version is now 600010 option alias support makefile parsing fixes calloc failure coping WARNS=6 comment placement correction alpha vestige removal This should allow building of -current kernels and modules on 7-stable machines (although not officially supported, enough people do it to make some efforts to make it work a big win). imp, ed, wkoszek, ru, gcooper, and nwhitehorn authored the original revs END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-15T23:11:51.158883Z K 7 svn:log V 67 When we are not switching VTs, just mark all buffer to be updated. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-15T23:24:06.861093Z K 7 svn:log V 105 If there is any pending sleep request, disallow entering S5 state. Otherwise, bad things may happen. ;-) END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-15T23:32:53.591444Z K 7 svn:log V 539 Simple compatibility hacks for building on older systems where MACHINE_CPUARCH isn't defined. I believe that this will cover all options. I didn't define it in kern.mk because $M is set to MACHINE_CPUARCH and then is expanded for the genassym.o rule in kern.post.mk and kern.mk is included after this, so the expansion isn't quite right. I think this is a bug in make, but don't have the time to track it to ground (and even if I did, fixing it would require a MFC of the change to the very old systems we're targetting with this fix). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2010-07-15T23:34:58.355634Z K 7 svn:log V 81 Use Miscellaneous Configuration Register bit definition instead of magic number. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-16T00:56:17.806930Z K 7 svn:log V 139 - Add a scatterlist implementation and make use of it in the dma mapping code. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-07-16T01:44:49.389985Z K 7 svn:log V 180 Delete comments related to soft clock interrupts that don't apply to the FreeBSD port of the experimental NFSv4 server. Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-16T03:59:50.946930Z K 7 svn:log V 311 Use pmap_mapdev()/pmap_unmapdev() to map device memory instead of using AcpiOsMapMemory()/AcpiOsUnmapMemory() (-> pmap_mapbios()/pmap_unmapbios()) for AcpiOsReadMemory() and AcpiOsWriteMemory(). Although they do not sound too obvious, these functions are exclusively used to access memory mapped IO in ACPICA. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2010-07-16T04:26:37.843718Z K 7 svn:log V 43 Fix KASSERT() messages to reflect reality. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2010-07-16T04:27:38.559046Z K 7 svn:log V 223 Simplify AcpiOsReadPort() and AcpiOsWritePort() with iodev_read_*() and iodev_write_*(). This removes unnecessary uses of temporary macros as well. There is no functional change after this (verified with md5(1) on amd64). END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-16T06:09:51.091861Z K 7 svn:log V 194 Use #define for get_cyclecount rather than inline function. mips_rd_count() isn't defined in userland, and cpu.h is included there in alias_scpt.h (maybe they don't need it in the first place). END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-16T06:31:37.371969Z K 7 svn:log V 34 This file appears not to be used. END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-16T06:32:38.201228Z K 7 svn:log V 59 machine/cpu.h isn't appropriate for this file,so remove it END K 10 svn:author V 3 imp K 8 svn:date V 27 2010-07-16T06:35:17.157721Z K 7 svn:log V 191 Move common macros into asm.h. Replace MIPS_CPU_NOP_DELAY with HAZARD_DELAY. Move HAZARD_DELAY and ITLBNOPFIX into asm.h, for possible later optimization... Reviewed by: jmallet, jchandra END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-16T09:08:16.352269Z K 7 svn:log V 42 MFC r208820: Fix use after free on error. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-16T09:10:11.766615Z K 7 svn:log V 42 MFC r208822: Fix possible use after free. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-16T09:12:47.430018Z K 7 svn:log V 241 MFC r209664: Add ata(4) ability to limit initial ATA mode for devices via device hints. After boot this mode can be changed with atacontrol/camcontrol as usual. It works for both legacy and ATA_CAM wrapper mode. PR: kern/123980 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-16T10:05:00.423285Z K 7 svn:log V 41 Improve interrupt setup errors handling. END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2010-07-16T14:31:24.237615Z K 7 svn:log V 79 MFC r208982,r208983,r210117 : cosmetic changes to kern.sched.topology_spec XML END K 10 svn:author V 6 emaste K 8 svn:date V 27 2010-07-16T17:01:36.821743Z K 7 svn:log V 230 Rename documentation source files to avoid filesystem case and restricted filename issues when checking out the source on other operating systems. I've verified the generated paper.ascii is identical before and after the change. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-16T17:27:43.736646Z K 7 svn:log V 201 Make legacy ATA emulation detection more strict. This should fix false positive legacy detection and attach failure/panic for Marvell 88SX6141 controller and potentially some others. PR: kern/145064 END K 10 svn:author V 3 jsa K 8 svn:date V 27 2010-07-16T18:06:19.620117Z K 7 svn:log V 178 Nervously welcoming myself to the family. Add myself to all the appropriate places, upload my pgp key, and announce my arrival to the FreeBSD world. Approved by: wxs@ (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2010-07-16T18:57:45.918277Z K 7 svn:log V 50 Welcome Tijl Coosemans to src. Approved by: core END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-16T19:20:20.683585Z K 7 svn:log V 759 When the MNTK_EXTENDED_SHARED mount option was added, some filesystems were changed to defer the setting of VN_LOCK_ASHARE() (which clears LK_NOSHARE in the vnode lock's flags) until after they had determined if the vnode was a FIFO. This occurs after the vnode has been inserted a VFS hash or some similar table, so it is possible for another thread to find this vnode via vget() on an i-node number and block on the vnode lock. If the lockmgr interlock (vnode interlock for vnode locks) is not held when clearing the LK_NOSHARE flag, then the lk_flags field can be clobbered. As a result the thread blocked on the vnode lock may never get woken up. Fix this by holding the vnode interlock while modifying the lock flags in this case. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-16T19:52:03.281028Z K 7 svn:log V 257 Revert the previous commit. The race is not applicable to the lockmgr implementation in 8.0 and later as its flags field does not hold dynamic state such as waiters flags, but is only modified in lockinit() aside from VN_LOCK_*(). Discussed with: attilio END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-16T20:23:24.887176Z K 7 svn:log V 906 When the MNTK_EXTENDED_SHARED mount option was added, some filesystems were changed to defer the setting of VN_LOCK_ASHARE() (which clears LK_NOSHARE in the vnode lock's flags) until after they had determined if the vnode was a FIFO. This occurs after the vnode has been inserted into a VFS hash or some similar table, so it is possible for another thread to find this vnode via vget() on an i-node number and block on the vnode lock. If the lockmgr interlock (vnode interlock for vnode locks) is not held when clearing the LK_NOSHARE flag, then the lk_flags field can be clobbered. As a result the thread blocked on the vnode lock may never get woken up. Fix this by holding the vnode interlock while modifying the lock flags in this case. The softupdates code also toggles LK_NOSHARE in one function to close a race with snapshots. Fix this code to grab the interlock while fiddling with lk_flags. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2010-07-16T20:28:45.528219Z K 7 svn:log V 45 MFC 185507: Don't manually track statistics. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2010-07-16T20:42:20.741892Z K 7 svn:log V 188 FreeBSD 8 doesn't support kernel PPP or SLIP; remove code for configuring and installing via such devices from sysinstall. Reviewed by: randi Approved by: rrs (mentor) MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-16T22:09:29.402020Z K 7 svn:log V 182 Allocate proper ammount of memory for interrupt names on sparc64 and sun4v, same as done on other architectures. This removes garbage from `vmstat -ia` output. Reviewed by: marius@ END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-16T22:58:13.609471Z K 7 svn:log V 398 - Add a pci thunking layer to import linux pci devices. Since probe does not pass in any information about what driver we're probing for we return a match on any loaded linux driver and differentiate at attach time. They all use the same softc. This will lead to all linux pci devices using the same unit number space for now. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-07-16T23:17:05.089866Z K 7 svn:log V 426 Patch the experimental NFSv4 server so that it acquires a reference count on nfsv4rootfs_lock when dumping state, since these functions are not called by nfsd threads. Without this reference count, it is possible for an nfsd thread to acquire an exclusive lock on nfsv4rootfs_lock while the dump is in progress and then change the lists, potentially causing a crash. Reported by: zack.kirsch at isilon.com MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-16T23:21:46.361347Z K 7 svn:log V 402 Add hints for i8254 timer on i386 and amd64. Some people report about systems with PnP/ACPI not reporting i8254 timer. In some cases it can be fatal, as i8254 can be the only available time counter hardware. From other side we are now heavily depend on i8254 timer and till the last time it's init/usage was completely hardcoded. So this change just restores previous behavior in more regular fashion. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2010-07-17T00:12:41.018193Z K 7 svn:log V 87 Clean-up old contents and bump version numbers for 8.1R. Approved by: re (implicitly) END K 10 svn:author V 5 maxim K 8 svn:date V 27 2010-07-17T00:29:38.012255Z K 7 svn:log V 92 o Fix typo: "is is" -> "is". PR: docs/148697 Submitted by: Warren Block MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-17T01:39:44.272103Z K 7 svn:log V 463 - Linux requires a virtual address for 'lowmem' pages which counts everything on 64bit architectures. To support this we use kmem_malloc and stash the virtual address in the object pointer field of the page. This is similar to the technique used in UMA. - When multiple pages are allocated they are assumed to be physically and virtually contiguous. Emulate this behavior with contigmalloc. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2010-07-17T01:40:41.164347Z K 7 svn:log V 102 - Various refinements to the linux wrappers. Sponsored by: Isilon Systems, iX Systems, and Panasas. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-17T03:39:50.311206Z K 7 svn:log V 96 Unbreak DPCPU_SUM() by dereferencing the pointer returned by DPCPU_ID_PTR(). MFC after: 3 days END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-07-17T04:35:02.823004Z K 7 svn:log V 210 Predict the date we'll be ready to announce 8.1-RELEASE. While here add the entry for 8.0-RELEASE which was added to releng/8.0/UPDATING during the 8.0-RELEASE cycle but not to stable/8/UPDATING at that time. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-07-17T04:35:51.039456Z K 7 svn:log V 238 Predict the date we'll be ready to announce 8.1-RELEASE. While here add the entry for 8.0-RELEASE which was added to releng/8.0/UPDATING during the 8.0-RELEASE cycle but not to stable/8/UPDATING at that time. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-07-17T04:36:40.964552Z K 7 svn:log V 58 Ready for 8.1-RELEASE builds. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2010-07-17T05:41:01.749732Z K 7 svn:log V 78 Copy releng/8.1 to release/8.1.0 for 8.1-RELEASE. Approved by: re (implicit) END K 10 svn:author V 8 keramida K 8 svn:date V 27 2010-07-17T07:56:01.204130Z K 7 svn:log V 207 MFC r209871 from /head Fix reading of empty fifolog files. When we don't have anything to inflate, skip the rest of the fifolog reader code to avoid hitting the assert about Z_OK a bit further down. END K 10 svn:author V 8 keramida K 8 svn:date V 27 2010-07-17T07:59:53.637308Z K 7 svn:log V 215 MFC r209871 from /head Fix reading of empty fifolog files. When we don't have anything to inflate, skip the rest of the fifolog reader code to avoid hitting the assert about Z_OK a bit further down. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2010-07-17T12:53:57.181130Z K 7 svn:log V 181 s/an struct/a struct PR: docs/148660 Submitted by: Warren Block (wblock at wonkity dot com) Reviewed by: Tim Kientzle Mentored by: jkois MFC after: 7 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-17T13:31:27.513649Z K 7 svn:log V 172 Increase stack size for ZFS sync thread. This is required to make ZFS function on 64-bit PowerPC. Reviewed by: pjd Obtained from: OpenSolaris changeset 14653:7cf402a7f374 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2010-07-17T13:34:01.291244Z K 7 svn:log V 103 Add OpenSolaris atomics for powerpc64 and connect ZFS to the build on this platform. Reviewed by: pjd END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-07-17T15:45:20.055686Z K 7 svn:log V 115 Remove updating process count by unionfs. It serves no purpose, unionfs just needs root credentials for a moment. END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-07-17T15:47:23.835632Z K 7 svn:log V 76 MFC: r209961 Correct inverted parent DMA tag parameters. Reviewed by: ken END K 10 svn:author V 6 marius K 8 svn:date V 27 2010-07-17T15:47:28.496501Z K 7 svn:log V 76 MFC: r209961 Correct inverted parent DMA tag parameters. Reviewed by: ken END K 10 svn:author V 5 trasz K 8 svn:date V 27 2010-07-17T15:52:11.737632Z K 7 svn:log V 52 Remove proc locking, it's not needed after r210132. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-17T18:29:36.650031Z K 7 svn:log V 133 libdtrace MD dependent files. These interact with the fasttrap provider and so they are needed for constructing pid and usdt probes. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2010-07-17T18:31:31.080105Z K 7 svn:log V 96 Merge from vendor: libdtrace MD parts needed by fasttrap. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 tijl K 8 svn:date V 27 2010-07-17T18:35:39.106716Z K 7 svn:log V 95 - Add myself to committers-src.dot - Add myself to calendar.freebsd Approved by: kib (mentor) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2010-07-18T00:24:01.509744Z K 7 svn:log V 164 Change the nfscl_mustflush() function in the experimental NFSv4 client to return a boolean_t in order to make it more compatible with style(9). MFC after: 2 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2010-07-18T04:27:39.477906Z K 7 svn:log V 245 1. Use nice for the make commands that actually build stuff 2. Improve the the messages for fetching and updating INDEX 3. Add some whitespace in checkdepends() after removing stale data 4. If we're doing -F don't bother to initialize $PACKAGES END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2010-07-18T05:09:10.856077Z K 7 svn:log V 490 - Move common code from the hook functions that fills in a packet node struct to a separate inline function. This further reduces duplicate code that didn't have a good reason to stay as it was. - Reorder the malloc of a pkt_node struct in the hook functions such that it only occurs if we managed to find a usable tcpcb associated with the packet. - Make the inp_locally_locked variable's type consistent with the prototype of siftr_siftdata(). Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-18T07:11:03.146425Z K 7 svn:log V 183 MFC r209872: Make hw.ata.ata_dma_check_80pin tunable affect not only device side, but also controller side cable checks. Make respective sysctl writable. PR: kern/143462 END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-18T07:13:55.211761Z K 7 svn:log V 201 MFC r209884: If ata_sata_phy_reset() failed and ata_generic_reset() is not called, mark channel as having no devices connected. This improves hot-unplug operation on legacy-emulating SATA controllers. END K 10 svn:author V 3 mav K 8 svn:date V 27 2010-07-18T07:15:37.161126Z K 7 svn:log V 81 MFC r209977: Disable multi-sector PIO transfers if ATA_SET_MULTI command failed. END