‚ÞQ228855 145 165 1065 251 182 405 449 280 396 152 204 187 212 350 267 252 1049 188 165 190 199 220 264 215 233 351 176 181 225 188 138 262 173 251 278 697 750 1527 429 132 124 121 185 194 181 195 144 268 138 151 586 187 433 189 187 516 276 304 130 164 206 106 488 1076 232 818 146 153 156 382 374 251 243 271 275 171 350 376 252 150 162 292 147 338 436 404 316 139 324 145 693 150 175 180 180 148 180 180 171 129 159 583 136 229 98 146 395 936 274 291 156 147 307 418 128 437 204 548 158 450 137 173 138 425 459 193 285 203 124 135 238 835 2199 133 1202 145 121 308 120 118 401 122 120 123 127 164 K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-12-24T00:23:27.707967Z K 7 svn:log V 69 Fix LINT-VIMAGE build after r228814: use virtualized pf_pool_limits. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-12-24T01:32:01.784392Z K 7 svn:log V 967 Introduce the sysclock_getsnapshot() and sysclock_snap2bintime() KPIs. The sysclock_getsnapshot() function allows the caller to obtain a snapshot of all the system clock and timecounter state required to create time stamps at a later point. The sysclock_snap2bintime() function converts a previously obtained snapshot into a bintime time stamp according to the specified flags e.g. which system clock, uptime vs absolute time, etc. These KPIs enable useful functionality, including direct comparison of the feedback and feed-forward system clocks and generation of multiple time stamps with different formats from a single timecounter read. Committed on behalf of Julien Ridoux and Darryl Veitch from the University of Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward Clock Synchronization Algorithms" project. For more information, see http://www.synclab.org/radclock/ In collaboration with: Julien Ridoux (jridoux at unimelb edu au) END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-12-24T12:16:38.736378Z K 7 svn:log V 155 On FreeBSD just use the MD5 implementation of libmd rather than that of libcrypto so we don't need to relinquish csup when world is built without OpenSSL. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-12-24T12:28:23.801799Z K 7 svn:log V 87 Update a comment to reflect reality and explain why we're using the medany code model. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2011-12-24T13:28:49.289049Z K 7 svn:log V 307 Some GCC-compatibility definitions. Define clang's feature test pseudomacros to always evaluate to 0 if we are using a compiler that doesn't implement them. This lets us use the macros easily in standard headers (e.g. stdatomic.h, which should be the subject of my next commit). Approved by: dim (mentor) END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-24T13:30:15.171031Z K 7 svn:log V 356 Make another clang warning, -Wempty-body, non-fatal during kernel builds. All the instances of this warning in our tree are completely harmless. (Most of the empty bodies look to be used simply as reminder for the developer to add something later.) While here, assign to CWARNEXTRA with ?=, so it can be overridden easily, if needed. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-24T13:36:28.629034Z K 7 svn:log V 187 Set WERROR= for the nve(4) module. This driver gives several warnings with clang, which will probably never be fixed, as it is unmaintained, and superseded by nfe(4). MFC after: 1 week END K 10 svn:author V 8 theraven K 8 svn:date V 27 2011-12-24T15:17:01.359006Z K 7 svn:log V 298 Initial implementation of stdatomic.h. Works (at least in the parts that were tested) with clang and gcc, and more efficiently with clang+a big out-of-tree diff that I need to commit soon (once it's been tidied and reviewed a bit). Large portions by: ed Reviewed by: ed Approved by: dim (mentor) END K 10 svn:author V 8 theraven K 8 svn:date V 27 2011-12-24T15:31:06.140173Z K 7 svn:log V 55 ...and actually install it. Approved by: dim (mentor) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-12-24T15:49:52.877845Z K 7 svn:log V 109 Discard local array based on return values. Pointed out by: uqs Found with: Coverity Prevent(tm) CID: 10089 END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-24T17:54:58.477267Z K 7 svn:log V 95 Amend r228781 by also disabling -Warray-bounds warnings for the asr module. MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-24T18:11:54.088307Z K 7 svn:log V 119 Fix a bug where TAILQ_FIRST(&V_ifnet) was accessed without holding the proper lock. Reviewed by: bz MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-24T18:57:42.832379Z K 7 svn:log V 257 Make another clang warning, -Wparentheses-equality, non-fatal during kernel builds. All the instances of this warning in our tree are completely harmless, and many people seem to like adding extra parentheses to make precedence clearer. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-24T19:01:31.316735Z K 7 svn:log V 174 When building the kernel for amd64 with clang, don't attempt to use the -frename-registers option, as it is not supported. No change for builds with gcc. MFC after: 1 week END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2011-12-24T19:34:52.816302Z K 7 svn:log V 154 Implement hwpmc counting PMC support for PowerPC G4+ (MPC745x/MPC744x). Sampling is in progress. Approved by: nwhitehorn (mentor) MFC after: 9.0-RELEASE END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-12-24T19:39:02.164345Z K 7 svn:log V 953 Add support for running as a nested hypervisor under VMWare Fusion, on systems with VT-x/EPT (e.g. Sandybridge Macbooks). This will most likely work on VMWare Workstation8/Player4 as well. See the VMWare app note at: http://communities.vmware.com/docs/DOC-8970 Fusion doesn't propagate the PAT MSR auto save-restore entry/exit control bits. Deal with this by noting that fact and setting up the PAT MSR to essentially be a no-op - it is init'd to power-on default, and a software shadow copy maintained. Since it is treated as a no-op, o/s settings are essentially ignored. This may not give correct results, but since the hypervisor is running nested, a number of bets are already off. On a quad-core/HT-enabled 'MacBook8,2', nested VMs with 1/2/4 vCPUs were fired up. The more nested vCPUs the worse the performance, unless the VMs were started up in multiplexed mode where things worked perfectly up to the limit of 8 vCPUs. Reviewed by: neel END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-24T22:37:27.300522Z K 7 svn:log V 93 - Add fallthrough comment Approved by: pluknet Found with: Coverity Prevent(tm) CID: 10125 END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-24T23:15:25.650606Z K 7 svn:log V 71 - Initialize compact_flash_attribute_base_addr from bootinfo structure END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-25T13:24:48.880076Z K 7 svn:log V 95 sh: Add some testcases for pasting $*/$@ directly to a literal. This also passes on stable/8. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-12-25T14:29:36.498508Z K 7 svn:log V 107 Quite the tinderbox for the holidays. Remove the assert[1]. Suggested by: jhibbits [1] MFC after: 3 days END K 10 svn:author V 8 theraven K 8 svn:date V 27 2011-12-25T16:03:54.063688Z K 7 svn:log V 122 Restore __is_threaded in C++ mode. Some Google stuff needs it apparently. Reported by: swills Approved by: dim (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-25T18:15:24.690768Z K 7 svn:log V 168 - The -h option was removed shortly after it was added - ZFS is now up to version 28 - sysinstall(8) is not supported in -CURRENT Reviewed by: pgj Approved by: jilles END K 10 svn:author V 6 eadler K 8 svn:date V 27 2011-12-25T18:15:31.080853Z K 7 svn:log V 119 - Add some information about sh(1) changes. Requested by: jilles (content) Reviewed by: gjb (doc) Approved by: jilles END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-25T20:15:41.592792Z K 7 svn:log V 141 Remove unneeded guard. There is no reason why needs an include guard. It is already protected by __bool_true_false_are_defined. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-25T20:51:40.425804Z K 7 svn:log V 259 Add and . Even though these header files make little sense to me, they are part of the standard. By including these header files, you can simply use `alignas', `alignof' and `noreturn' instead of the underscore-prefixed versions. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-25T20:59:39.449434Z K 7 svn:log V 85 Fix field name. The value field in the atomic structure is called __val; not value. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2011-12-25T21:00:56.504271Z K 7 svn:log V 87 remove a variable definition which shadows the correct one. Submitted by: Eitan Adler END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-25T21:05:35.409537Z K 7 svn:log V 133 Make white space in this file a bit more consistent. Remove trailing whitespace and place all macro definitions at the same column. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-25T22:05:33.823741Z K 7 svn:log V 97 Add the C11 standard to groff. This allows us to refer to C11 as -isoC-11. MFC after: 2 months END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-12-26T00:10:42.277700Z K 7 svn:log V 41 Merge in an up to date kernel from head. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-12-26T03:14:37.395900Z K 7 svn:log V 169 Add missing opening and closing brackets in getopt_long.3 and getsubopt.3 to make the examples reflect reality more closely. MFC after: 1 week X-MFC-After: 9.0-RELEASE END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-26T05:26:35.459316Z K 7 svn:log V 78 Do a quick style(9) pass of some of the code introduced with 802.11n support. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-26T05:37:09.240956Z K 7 svn:log V 155 First pass of LED related code changes. Migrate the LED code out of if_ath.c and into if_ath_led.c. These routines are _all_ software based LED blinking. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-26T05:46:22.763020Z K 7 svn:log V 182 Refactor out the software LED config code into a common function, called ath_led_config(). The eventual aim is to have both software and hardware based LED configuration done here. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-26T06:07:21.369482Z K 7 svn:log V 601 Update the hardware LED blinking code to do something useful rather than relying on what the register defaults are. This forces the blink mode to be proportional to the TX and RX frames which match the RX filter. This (along with a few tweaks to if_ath_led.c to configure the correct GPIO pins) allows my DWA-552 AR5416 NIC to blink the LEDs in a useful fashion, however those LEDs are marked "Link" and "Act(ivity)", which don't really map well to the "power" / "network" LED interface which the MAC provides. Some further tinkering is needed to see what other useful operating modes are possible. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-26T06:25:12.264230Z K 7 svn:log V 654 Setup the initial LED state on attach and resume. Some of the NICs I have here power up with the LEDs blinking, which is incorrect. The blinking should only occur when the NIC is attempting to associate. * On powerup, set the state to HAL_LED_INIT, which turns on the "Power" MAC LED but leaves the "Network" MAC LED the way it is. * On resume, also init it to HAL_LED_INIT unless in station mode, where it's forced to HAL_LED_RUN. Hopefully the net80211 state machine will call newstate() at some point, which will refiddle the LEDs. I've tested this on a handful of 11n and pre-11n NICs. The blinking behaviour is slightly more sensible now. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-26T07:47:05.052075Z K 7 svn:log V 1430 Flesh out configurable hardware based LED blinking. The hardware (MAC) LED blinking involves a few things: * Selecting which GPIO pins map to the MAC "power" and "network" lines; * Configuring the MAC LED state (associated, scanning, idle); * Configuring the MAC LED blinking type and speed. The AR5416 HAL configures the normal blinking setup - ie, blink rate based on TX/RX throughput. The default AR5212 HAL doesn't program in any specific blinking type, but the default of 0 is the same. This code introduces a few things: * The hardware led override is configured via sysctl 'hardled'; * The MAC network and power LED GPIO lines can be set, or left at -1 if needed. This is intended to allow only one of the hardware MUX entries to be configured (eg for PCIe cards which only have one LED exposed.) TODO: * For AR2417, the software LED blinking involves software blinking the Network LED. For the AR5416 and later, this can just be configured as a GPIO output line. I'll chase that up with a subsequent commit. * Add another software LED blink for "Link", separate from "activity", which blinks based on the association state. This would make my D-Link DWA-552 have consistent and useful LED behaviour (as they're marked "Link" and "Activity." * Don't expose the hardware LED override unless it's an AR5416 or later, as the previous generation hardware doesn't have this multiplexing setup. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-26T07:48:29.700689Z K 7 svn:log V 333 Since the only thing with a mux is the AR5416 and later, and we're now doing split software/hardware LED configuration, we can now simply treat "softled" as an "output" mux type. This works fine on this DWA-552. Previous generation (pre-11n NICs) don't have a GPIO mux - only input/output configuration - so they ignore this field. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-26T08:21:29.529406Z K 7 svn:log V 37 AR5416 has 14 GPIO pins, from 0->13. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-12-26T08:59:17.158038Z K 7 svn:log V 28 Import nc from OpenBSD 5.0. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-12-26T09:03:28.823115Z K 7 svn:log V 25 Tag nc from OpenBSD 5.0. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-12-26T09:07:08.708856Z K 7 svn:log V 89 Merge from OpenBSD 5.0 (this is a dummy change, the vendor change does not apply to us). END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-26T10:58:21.843350Z K 7 svn:log V 102 The standard is now called C11 -- C12. While there, compare against the proper __STDC_VERSION value. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2011-12-26T16:47:45.335696Z K 7 svn:log V 84 Add missing -l flag to usage(). PR: 163629 Submitted by: olgeni MFC after: 1 week END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-26T18:12:27.312807Z K 7 svn:log V 102 Using a private fstab simplifies recovery from a panic. Add a filter for uninteresting error message. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-26T18:49:56.890658Z K 7 svn:log V 53 Add cdefs-magic to add optional C11 bits to headers. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-26T18:55:37.955977Z K 7 svn:log V 176 Improve C11 bits in : - Add missing semicolon to quick_exit(), - Remove `func' parameter name from at_quick_exit(), - Fix indentation. - Compare against 2011 value. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-26T18:57:59.718562Z K 7 svn:log V 47 As per C11, add static_assert() to . END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-26T19:41:46.041637Z K 7 svn:log V 56 Oops, my bad. Fix a broken thing I introduced earlier. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-26T21:51:53.422365Z K 7 svn:log V 494 Add libstdthreads. This library implements the C11 threads interface on top of the pthreads library. As discussed on the lists, the preferred way to implement this, is as a separate library. It is unlikely that these functions will be used a lot in the future. It would have been easier if the C11 working group standardized (a subset of) pthreads and clock_nanosleep(). Having it as a separate library allows the embedded people to omit it from their system. Discussed on: arch@, threads@ END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-12-26T22:25:58.243991Z K 7 svn:log V 96 Update to vendor revision 3982 Obtained from: http://libarchive.googlecode.com/svn/release/2.8 END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-26T23:33:41.368222Z K 7 svn:log V 341 Fix some bugs in . - Make atomic_init() work for GCC, as assigning to structs doesn't work. - Fix misplaced parenthesis in atomic_is_lock_free() for GCC. - Make atomic_compare_exchange_strong() for GCC return the proper boolean value, whether object == expected. - Fix argument passing in atomic_exchange_explicit() for GCC. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-12-27T10:16:24.124136Z K 7 svn:log V 94 Address issues found by clang. While there, fix also some style issues. MFC after: 3 months. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-12-27T10:21:29.341895Z K 7 svn:log V 96 Update to vendor revision 4016 Obtained from: http://libarchive.googlecode.com/svn/release/2.8 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-12-27T10:21:57.399921Z K 7 svn:log V 421 1. Remove a bunch of duplicates. Usually this means removing them from fortunes, but occasionally remove them from the other 2 files when they are not offensive, or not murphy'ish enough. Where the version in fortunes had better attribution and/or formatting, copy it over. 2. Fix a few typos 3. Use the full name of François De La Rochefoucauld, fix one of his quotes, and remove the duplicate of it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-12-27T10:34:00.040213Z K 7 svn:log V 179 Update rtprio(2) manual page to reflect the latest changes in -CURRENT as well as provide documentation for rtprio_thread(2) system call. MFC after: 1 month X-MFC-after: r228470 END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-12-27T10:36:56.133536Z K 7 svn:log V 212 Update to vendor revision 4016. Vendor has integrated most of our local changes in revisions 3976-3979 so future updates are going to be easier. Thanks to Tim Kientzle . MFC after: 8 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-27T12:58:54.165183Z K 7 svn:log V 39 Add manual page for atomic operations. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-27T13:01:10.328565Z K 7 svn:log V 73 Add missing \. While sorting the MLINKS by name, I forgot to re-add it. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2011-12-27T14:59:24.258161Z K 7 svn:log V 110 Fix target mode compilation issues that arose after a change in the sense data structures. MFC after: 1 week END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2011-12-27T15:05:55.664955Z K 7 svn:log V 11 IFC@228914 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-12-27T15:59:51.575750Z K 7 svn:log V 391 Clean up from the 4.x era. In an example of boot command: - rename wd(4) IDE disk drives name to ad(4) for the time being. - update the used kernel path "/kernel" to the current default. [It still worked occasionally by looking into the /boot/kernel directory, so the resulting path was "/boot//kernel/kernel", with two slashes.] Bump .Dd for this and previous changes. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-12-27T20:03:57.801313Z K 7 svn:log V 979 - Fail when the utility is not invoked as rtprio nor idprio. - use warnx() to tell the user whether a process is running in normal, idle or realtime priority. with the old code it would have been possible for another process to send data to stdout between printf("%s: ", p); and printf("* priority\n"); and thus break the formatting. - 'rtprio 10 -0' triggeres non-intuitive behavior. It would first set the priority of itself to 10 *and* would then try to execute '-0'. Of course, setting the priority of [id|rt]prio itself doesn't make a lot of sense, but it is intuitive compared to the previous behavior. - 'rtprio -t --1' will actually pass over the '-1' to rtprio(). Now invoking rtprio like this will catch the wrong usage before passing over the invalid argument to rtprio(). - Garrett Cooper suggested to add further diagnostics where the failure occures, if execvp fails. PR: bin/154042 Submitted by: arundel MFC after: 1 month END K 10 svn:author V 8 theraven K 8 svn:date V 27 2011-12-27T21:36:31.617552Z K 7 svn:log V 134 Define NULL to nullptr in C++11 mode (not strictly required, but it makes migrating code to C++11 easier). Approved by: dim (mentor) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-27T22:13:51.257388Z K 7 svn:log V 726 Add locally implemented atomic intrinsics to libcompiler_rt. The built-in atomic operations are not implemented in our version of GCC 4.2 for the ARM and MIPS architectures. Instead of emitting locked instructions, they generate calls to functions that can be implemented in the C runtime. Only implement the atomic operations that are used by for datatype sizes that are supported by atomic(9). This means that on these architectures, we can only use atomic operations on 32-bits and 64-bits variables, which is typically sufficient. This makes work on all architectures except MIPS, since MIPS and SPARC64 still use libgcc. Converting these architectures to libcompiler_rt is on my todo list. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-27T22:14:35.642745Z K 7 svn:log V 55 Document restriction on 32-bits and 64-bits datatypes. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-27T23:28:01.066839Z K 7 svn:log V 58 libc: Eliminate some relative relocations in setlocale(). END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-27T23:35:10.755864Z K 7 svn:log V 61 libc: Eliminate some relative relocations in getusershell(). END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-12-27T23:53:00.277036Z K 7 svn:log V 289 Eliminate many of the unnecessary differences between the native and paravirtualized pmap implementations for i386. This includes some style fixes to the native pmap and several bug fixes that were not previously applied to the paravirtualized pmap. Tested by: sbruno MFC after: 3 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-12-28T05:35:33.934542Z K 7 svn:log V 277 In POSIX.1-2008: P_tmpdir [OB XSI] Default directory prefix for tempnam(). This macro is used in a lot of places in legacy applications, and is why we see a lot of programs written for e.g. Linux store volatile temporary files in /var/tmp and not /tmp. MFC after: 2 months END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2011-12-28T05:57:03.680442Z K 7 svn:log V 156 - Add generic GPIO driver for Cavium Octeon. At the moment pin definition is hardcoded but will be changed later with more flexible way to define them. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-12-28T05:58:31.039095Z K 7 svn:log V 148 Fix incorrect uses of sizeof(). The details of the fix can be found in the tcpdump git repository: commit 684955d58611ee94eccdc34e82b32e676337188c END K 10 svn:author V 6 cognet K 8 svn:date V 27 2011-12-28T13:01:12.416926Z K 7 svn:log V 175 Oops, if we want to check from 0 to nsock, the test condition should be < nsock, not >. Pointy hat to: cognet Submitted by: Olivier Cochard-Labbe END K 10 svn:author V 4 gber K 8 svn:date V 27 2011-12-28T14:48:33.209672Z K 7 svn:log V 181 arm: Implement separate per-cpu structures. It's still needs some cleanup. Accessors for pcpu and tls should be moved to some armv6 generic file. Obtained from: Marvell, Semihalf END K 10 svn:author V 4 gber K 8 svn:date V 27 2011-12-28T15:03:34.892964Z K 7 svn:log V 78 Get rid of shared RAS area for SMP systems. Obtained from: Marvell, Semihalf END K 10 svn:author V 4 gber K 8 svn:date V 27 2011-12-28T15:15:00.109972Z K 7 svn:log V 256 Make low level code SMP aware. - implement crude TBL broadcasting - implement RFO in cache operations - use SHARED bit in page descriptor for SMP - create defines for different cache/memory model setup - cleanup a little Obtained from: Marvell, Semihalf END K 10 svn:author V 4 gber K 8 svn:date V 27 2011-12-28T15:20:55.667263Z K 7 svn:log V 282 Add architecture related SMP code. This work is based on MIPS approach mainly because it is very simple and works good as a initial implementation. We can consider more sophisticated schema like for example powerpc implementation which uses kobj. Obtained from: Marvell, Semihalf END K 10 svn:author V 4 gber K 8 svn:date V 27 2011-12-28T15:26:38.245590Z K 7 svn:log V 158 Implement ARM SMP related functions for Armada XP. - implement IPI - setup stacks for each core - low level bootstrap code Obtained from: Marvell, Semihalf END K 10 svn:author V 4 bapt K 8 svn:date V 27 2011-12-28T17:45:26.632883Z K 7 svn:log V 57 Add myself as a src committer Approved by: des (mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-12-28T19:37:03.047400Z K 7 svn:log V 70 Prefer ASCII apostrophes over Unicode ones like the rest of the file. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-12-28T19:59:54.911005Z K 7 svn:log V 199 Fix a bug in the Xen pmap's implementation of pmap_extract_and_hold(): If the page lock acquisition is retried, then the underlying thread is not unpinned. Wrap nearby lines that exceed 80 columns. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-12-28T20:27:18.591827Z K 7 svn:log V 55 Optimize vm_object_split()'s handling of reservations. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-28T22:10:12.217795Z K 7 svn:log V 242 sh: Do not force special builtins non-special in optimized command subst. This is not necessary: errors are already caught in evalbackcmd() and forcelocal handles changes to variables. Note that this depends on r223024. MFC after: 4 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-12-28T22:18:53.957077Z K 7 svn:log V 341 1. Correct capitalization of the nobility particle for Francois de La Rochefoucauld introduced in r228909 [1],[2] 2. Change c-cedilla introduced in the same commit to ASCII c since non-UTF-8 terminals will choke on the non-ASCII text. [2],[3] Pointed out by: bf [1] Reviewed by: French-speakers on #bsdcode [2] Requested by: uqs [3] END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-12-28T22:49:28.812937Z K 7 svn:log V 311 Set maximum I/O size for mps(4) to MAXPHYS. Looking into the code, I see no reason why it should be limited to 64K of DFLTPHYS. DMA data tag is any way set to allow MAXPHYS, S/G lists (chain elements) are sufficient and overflows are also handled. On my tests even 1MB I/Os are working fine. Reviewed by: ken@ END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-12-28T23:26:58.016928Z K 7 svn:log V 219 Import the first release of HighPoint RocketRAID 27xx SAS 6Gb/s HBA card driver. This driver works for FreeBSD/i386 and FreeBSD/amd64 platforms. Many thanks to HighPoint for providing this driver. MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-28T23:30:17.295901Z K 7 svn:log V 44 sh: Cache de->d_namlen in a local variable. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-28T23:40:46.904421Z K 7 svn:log V 228 sh: Use dirent.d_type in pathname generation. This improves performance for globs where a slash or another component follows a component with metacharacters by eliminating unnecessary attempts to open directories that are not. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-28T23:51:17.298188Z K 7 svn:log V 50 sh: Allow quoting ^ and ] in bracket expressions. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-29T05:51:48.727360Z K 7 svn:log V 597 Break out the AR71XX config file into _BASE and board specific bits. The ROUERSTATION and RSPRO variants contain: * the board specific bits (eg the RTC for RSPRO, later on it'll include the GPIO/LED definitions); * the boot specific bits (eg, on-board flash, usb flash, etc). For now the AR71XX_BASE file contains the common board config, drivers and net80211/ath wireless drivers. I'll follow this up with config files for the other boards I have (eg the Ubiquiti LSSR71, as well as some Mikrotik boards that use the AR71XX and atheros reference boards) which will be quite easy to do now. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-29T06:07:24.192591Z K 7 svn:log V 55 Flesh out the RSPRO GPIO config, including the RF LED. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2011-12-29T08:13:11.518575Z K 7 svn:log V 82 I'm not yet an alumni, add myself in the right section Approved by: des (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-12-29T08:27:37.066689Z K 7 svn:log V 88 Add PCI Id for the Intel AMT serial interface as found on my DQ67OW. MFC after: 1 week END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-29T11:35:12.319838Z K 7 svn:log V 88 Use the global configuration file for MD(4) operations. Limit run time to half an hour. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-29T11:36:24.914630Z K 7 svn:log V 56 Use the global configuration file for MD(4) operations. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-29T11:37:15.837710Z K 7 svn:log V 88 Use the global configuration file for MD(4) operations. Limit run time to half an hour. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-29T11:38:02.620958Z K 7 svn:log V 88 Use the global configuration file for MD(4) operations. Limit run time to half an hour. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-12-29T12:28:05.261767Z K 7 svn:log V 75 Update LOCKLEAF comment: it should say "vnode". Inspired by PR docs/11596. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-12-29T12:33:27.828561Z K 7 svn:log V 37 Reencode files from latin1 to UTF-8. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-29T12:33:41.791158Z K 7 svn:log V 67 Use the global configuration file and limit runtime to 30 minutes. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-29T14:41:17.863467Z K 7 svn:log V 491 Don't define static_assert for C++. Even though _Static_assert() is pretty robust for C code, it cannot work correctly with C++ code. This is due to the fact that C++ template parameters may contain commas that are not enclosed in parentheses. For example: static_assert(foo::bar == baz, "..."); This causes _Static_assert to be called with an excessive number of parameters. If you want to use static_assert in C++, just use a C++11 compiler. Reported on: current@, ports@ END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-12-29T15:34:59.641325Z K 7 svn:log V 40 Fix typo in comment. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-29T15:34:59.801244Z K 7 svn:log V 136 Implement linux_fadvise64() and linux_fadvise64_64() using kern_posix_fadvise(). Reviewed by: silence on emulation@ MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-29T15:35:47.379689Z K 7 svn:log V 7 Regen. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-12-29T15:59:14.964645Z K 7 svn:log V 50 Don't fallback to a CARP address in BACKUP state. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-29T16:17:16.956117Z K 7 svn:log V 302 Cap the priority calculated from the current thread's running tick count at SCHED_PRI_RANGE to prevent overflows in the priority value. This can happen due to irregularities with clock interrupts under certain virtualization environments. Tested by: Larry Rosenman ler lerctr org MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-29T16:23:14.294246Z K 7 svn:log V 843 Further relax the strictness of enforcing allocations to only come from decoded ranges. Pass any request for a specific range that fails because it is not in a decoded range for an ACPI Host-PCI bridge up to the parent to see if it can still be allocated. This is based on the assumption that many BIOSes are inconsistent/broken and that settings programmed into BARs or resources assigned to other built-in components are more trustworthy than the list of decoded resource ranges in _CRS. This effectively limits the decoded ranges to only being used for "wildcard" ranges when allocating fresh resources for a BAR, etc. At some point I would like to only be this permissive during an early scan of firmware-assigned resources during boot and to be strict about all later allocations, but that isn't viable currently. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-29T16:40:54.984935Z K 7 svn:log V 181 Use curthread rather than PCPU_GET(curthread). 'curthread' uses special-case optimizations on several platforms and is preferred. Reported by: dim (indirectly) MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-29T17:46:24.826075Z K 7 svn:log V 198 Fix clang warnings in sys/dev/ce/if_ce.c and sys/dev/cp/if_cp.c, using jkim's last patch (reviewed by bde) from here: http://docs.freebsd.org/cgi/mid.cgi?201010141558.03154.jkim MFC after: 1 week END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-29T18:17:12.275332Z K 7 svn:log V 64 Use global configuration file and limit run time to 30 minutes. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-29T18:18:42.189630Z K 7 svn:log V 55 This test is not really a stress- nor regression test. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-29T18:25:18.234601Z K 7 svn:log V 214 Use queue(3) macros instead of home-rolled versions in several places in the INET6 code. This includes retiring the 'ndpr_next' and 'pfr_next' macros. Submitted by: pluknet (earlier version) Reviewed by: pluknet END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-12-29T18:40:58.228101Z K 7 svn:log V 321 Update if_obytes and if_omcast after successful transmit. While I'm here update if_oerrors if parent interface of vlan is not up and running. Previously it updated collision counter and it was confusing to interprete it. PR: kern/163478 Reviewed by: glebius, jhb Tested by: Joe Holden < lists <> rewt dot org dot uk > END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-29T19:01:29.633547Z K 7 svn:log V 36 Clean up script and add SU+J tests. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-12-29T20:41:16.032419Z K 7 svn:log V 344 Defer the work of freeing IPv4 multicast options from a socket to an asychronous task. This avoids tearing down multicast state including sending IGMP leave messages and reprogramming MAC filters while holding the per-protocol global pcbinfo lock that is used in the receive path of packet processing. Reviewed by: rwatson MFC after: 1 month END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-12-29T21:12:22.281564Z K 7 svn:log V 107 Fix manual section for acl_get(3) and mac_get(3) family functions. Reviewed by: rwatson MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-29T21:17:35.237518Z K 7 svn:log V 455 For sys/dev/ce/tau32-ddk.c, disable the following warning when building with clang: sys/dev/ce/tau32-ddk.c:1228:37: warning: implicit truncation from 'int' to bitfield changes value from 65532 to 8188 [-Wconstant-conversion] Since this file is obfuscated C, we can never determine (in a sane way, at least :) if this points to a real problem or not. The driver has been in the tree for more than five years, so it most likely isn't. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-12-29T22:15:18.349737Z K 7 svn:log V 63 libc: Eliminate some relative relocations in file flags table. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-12-29T22:48:36.506358Z K 7 svn:log V 353 Add "options CAPABILITY_MODE" and "options CAPABILITIES" to GENERIC kernel configurations for various architectures in FreeBSD 10.x. This allows basic Capsicum functionality to be used in the default FreeBSD configuration on non-embedded architectures; process descriptors are not yet enabled by default. MFC after: 3 months Sponsored by: Google, Inc END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-12-30T00:02:56.125170Z K 7 svn:log V 45 Set fbsd:nokeywords for contributed sources. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-12-30T00:04:11.449098Z K 7 svn:log V 81 Spelling fixes for tools/ Add some $FreeBSD$ tags so svn will allow the commit. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-12-30T00:59:08.109293Z K 7 svn:log V 46 Reencode files to UTF-8. Drop CP1252 em-dash. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-12-30T01:37:25.631098Z K 7 svn:log V 333 Extend to support GCC 4.7's __atomic. The development version of GCC also supports an atomics interface similar to Clang's. Change the header file to work as follows: - __CLANG_ATOMICS: Use Clang's new atomics interface, - __GNUC_ATOMICS: Use GCC's new atomics interface, - else: fall back to GCC's __sync interface. END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T01:54:45.111360Z K 7 svn:log V 366 For several files in sys/dev/drm, disable -Wunused-value when building with clang. There are several macros in these files that return values, and in some cases nothing is done with them, but it is completely harmless. For some other files, also disable -Wconstant-conversion, since that triggers a false positive with the DMA_BIT_MASK() macro. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T02:07:50.729369Z K 7 svn:log V 100 In sys/dev/drm/radeon_state.c, use the correct printf length modifiers for ints. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T02:58:37.655967Z K 7 svn:log V 192 Reapply r228785 now it has been tested by Adrian. Also add comments with the old AR_SCR_SLE_XXX values, with a short explanation why they were changed. Reviewed by: adrian MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-12-30T03:48:39.593451Z K 7 svn:log V 107 Add a module for cfi(4). Build only for arm and powerpc, as there are only bus attachments only for these. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-12-30T03:54:22.499354Z K 7 svn:log V 29 Remove trailing white-space. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-12-30T03:57:17.390765Z K 7 svn:log V 40 Actually set the baudrate from the FDT. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-12-30T04:00:31.950260Z K 7 svn:log V 142 DEBUG is a kernel option. Don't define it here, as it breaks LINT. Since DEBUG was subsequently undefined, this is just debugging left- over. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-12-30T06:24:59.069281Z K 7 svn:log V 738 Unset the environment variables associated with individual menu items before invoking the kernel. Quoting submitter: The issue is with the new boot loader menu. It adds many loader variables including ones that contain ANSI color escapes. Obviously, these ANSI codes don't play well with serial consoles when kenv(1) is executed without arguments (reports vary as to what happens, but it's never pretty). The net-effect is that kenv(1) no longer reports menu-related variables. In essence, kenv(1) output should now appear the same as on RELENG_8 (which lacks the new boot loader and didn't use any such variables). Thus, restoring serial console glory. Submitted by: Devin Teske MFC after: 2 weeks END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2011-12-30T08:57:58.894405Z K 7 svn:log V 2100 - Introduce the net.bpf.tscfg sysctl tree and associated code so as to make one aspect of time stamp configuration per interface rather than per BPF descriptor. Prior to this, the order in which BPF devices were opened and the per descriptor time stamp configuration settings could cause non-deterministic and unintended behaviour with respect to time stamping. With the new scheme, a BPF attached interface's tscfg sysctl entry can be set to "default", "none", "fast", "normal" or "external". Setting "default" means use the system default option (set with the net.bpf.tscfg.default sysctl), "none" means do not generate time stamps for tapped packets, "fast" means generate time stamps for tapped packets using a hz granularity system clock read, "normal" means generate time stamps for tapped packets using a full timecounter granularity system clock read and "external" (currently unimplemented) means use the time stamp provided with the packet from an underlying source. - Utilise the recently introduced sysclock_getsnapshot() and sysclock_snap2bintime() KPIs to ensure the system clock is only read once per packet, regardless of the number of BPF descriptors and time stamp formats requested. Use the per BPF attached interface time stamp configuration to control if sysclock_getsnapshot() is called and whether the system clock read is fast or normal. The per BPF descriptor time stamp configuration is then used to control how the system clock snapshot is converted to a bintime by sysclock_snap2bintime(). - Remove all FAST related BPF descriptor flag variants. Performing a "fast" read of the system clock is now controlled per BPF attached interface using the net.bpf.tscfg sysctl tree. - Update the bpf.4 man page. Committed on behalf of Julien Ridoux and Darryl Veitch from the University of Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward Clock Synchronization Algorithms" project. For more information, see http://www.synclab.org/radclock/ In collaboration with: Julien Ridoux (jridoux at unimelb edu au) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-30T09:39:24.650020Z K 7 svn:log V 38 Add a couple of missing wlan modules. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-12-30T09:48:35.015323Z K 7 svn:log V 1105 Add a configuration file for the Atheros PB47 reference board. This is an AR71xx based board with 8MB flash, 64MB RAM, a Mini-PCI+ slot (see below) and a single 10/100/1000baseT ethernet port. It also has two USB ports. This is an easier board than most to add as it doesn't have a switch PHY on-board. This made it (mostly) trivial to craft a working configuration. Things to note: * This, like most other reference boards, use uboot rather then redboot. It means that you typically have to manually flash both the kernel and rootfs partitions. * Since there's currently no (nice) way to extract out the ethernet MAC and RAM from the uboot environment, the RAM will default to 32mb and the MAC will be something very incorrect. I'll try to fix this up in a subsequent commit or two, even if it's just some hard-coded nonsense in ar71xx_machdep.c for now. * The board is designed for a specific model of mini-PCI+ NIC which never made it into production. Normal mini-PCI NICs will work fine; if you happen to have the NIC in question then it will work fine with this board. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2011-12-30T10:45:00.746734Z K 7 svn:log V 49 Fix typo in Makefile comment. MFC after: 3 days END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-12-30T10:58:14.469561Z K 7 svn:log V 29 Spelling fixes for usr.sbin/ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-12-30T10:59:15.144423Z K 7 svn:log V 215 Reencode files from latin1 to UTF-8. This makes a tiny percentage of entries in calendars ugly for latin1 users, but fixes them for UTF-8 users. This badly needs a solution involving locale-dependent re-encoding. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-12-30T11:02:40.674968Z K 7 svn:log V 28 Spelling fixes for usr.bin/ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-12-30T11:11:54.864643Z K 7 svn:log V 26 Spelling fixes for share/ END K 10 svn:author V 3 dim K 8 svn:date V 27 2011-12-30T13:16:59.633947Z K 7 svn:log V 308 Disable several instances instances of clang's -Wself-assign warning. All of these are harmless, and are in fact used to shut up warnings from lint. While here, remove -Wno-missing-prototypes from the xfs module Makefile, as I could not reproduce those warnings either with gcc or clang. MFC after: 1 week END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-30T13:46:21.214630Z K 7 svn:log V 30 One more tmpfs(5) test added. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-30T13:48:27.966580Z K 7 svn:log V 28 Added two new mkfifo tests. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-30T13:50:16.051755Z K 7 svn:log V 31 Disk full test scenario added. END K 10 svn:author V 3 pho K 8 svn:date V 27 2011-12-30T13:53:04.225122Z K 7 svn:log V 35 One more disk full scenario added. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-12-30T14:30:16.820861Z K 7 svn:log V 67 Release the code freeze on stable/9. Approved by: core (implicit) END