ƒ·236000 159 156 334 390 167 479 173 220 479 173 332 242 897 839 134 364 461 756 1538 137 152 161 621 621 231 221 179 272 122 231 129 454 149 124 130 481 167 134 155 132 365 151 327 180 271 151 719 138 432 344 211 419 294 234 287 285 432 344 213 419 294 234 606 286 144 136 150 137 306 306 168 175 174 174 174 534 534 516 516 196 196 216 288 224 224 299 415 415 208 1189 1214 1214 254 254 226 144 196 784 221 176 130 117 169 179 130 141 114 187 136 240 123 150 131 131 122 146 152 151 283 498 247 223 212 181 148 152 152 152 148 269 133 364 193 565 2063 392 212 145 170 2222 847 255 538 177 292 238 326 340 392 228 570 784 284 1295 1295 605 500 476 304 574 K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-25T15:13:55.647772Z K 7 svn:log V 64 Missing vm_paddr_t bits which should have been part of r235936. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T15:14:22.697818Z K 7 svn:log V 238 MFC: r230025 Add SPARC64 version of div/mod written in assembly. This version is similar to the code shipped with libgcc. It is based on the code from the SPARC64 architecture manual, provided without any restrictions. Tested by: flo@ END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T15:15:25.873708Z K 7 svn:log V 294 MFC: r235388 - Get rid of debugging support in order to get rid of the V8-specific C compiler frame size used there so this whole thing is V8/V9-agnostic. - Use 32-bit function alignment as GCC does when using UltraSPARC I or higher optimizations. - Don't waste delay slots when possible. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T15:16:40.760864Z K 7 svn:log V 72 MFC: r235389 Regenerate after r235388 (MFC'ed to stable/9 in r236002). END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-05-25T16:07:39.047116Z K 7 svn:log V 381 MFC r232946,232958,235233: r232946: Update the rt2860's firmware and add a Makefile for the module. While here remove the ucode header file which was used to generate the fw files but by now is outdated. r232958: Import the latest microcode.h which was used to generate the current firmware files and adjust the Makefile. r235233: Add support for Ralink RT2800/RT3000 chipsets. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-05-25T16:09:06.448110Z K 7 svn:log V 76 MFC r235235-235237: Update man page due to import of RT2800/RT3000 support. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-25T16:30:42.802214Z K 7 svn:log V 124 Doh... Don't add __eabi to an old version tag (i.e. FBSD_1.0). Add it to the current one (= FBSD_1.3). Pointed out by: kib END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-05-25T16:39:56.547919Z K 7 svn:log V 381 MFC r232946,232958,235233: r232946: Update the rt2860's firmware and add a Makefile for the module. While here remove the ucode header file which was used to generate the fw files but by now is outdated. r232958: Import the latest microcode.h which was used to generate the current firmware files and adjust the Makefile. r235233: Add support for Ralink RT2800/RT3000 chipsets. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-05-25T16:40:31.032265Z K 7 svn:log V 76 MFC r235235-235237: Update man page due to import of RT2800/RT3000 support. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-05-25T16:45:56.939400Z K 7 svn:log V 236 * According to the reference code, AR_WA_D3_L1_DISBABLE is bit 14. * Add some other WAR bits (very usefully described too) in preparation for porting over some suspend/resume fixes from ath9k/Atheros. Obtained from: Qualcomm Atheros END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-05-25T16:52:00.539661Z K 7 svn:log V 144 MFC r220502: Don't hardcode assumptions about basic rates, similar to what the rt2661 support code does. While here remove an unnecessary loop. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T17:14:47.895698Z K 7 svn:log V 801 MFC: r222656 Upgrade libcompiler_rt from revision 117047 to 132478. It seems there have only been a small amount to the compiler-rt source code in the mean time. I'd rather have the code in sync as much as possible by the time we release 9.0. Changes: - The libcompiler_rt library is now dual licensed under both the University of Illinois "BSD-Like" license and the MIT license. - Our local modifications for using .hidden instead of .private_extern have been upstreamed, meaning our changes to lib/assembly.h can now be reverted. - A possible endless recursion in __modsi3() has been fixed. - Support for ARM EABI has been added, but it has no effect on FreeBSD (yet). - The functions __udivmodsi4 and __divmodsi4 have been added. Requested by: many, including bf@ and Pedro Giffuni END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T17:15:53.131350Z K 7 svn:log V 743 MFC: r230021 Add a workaround to prevent endless recursion in compiler-rt. SPARC and MIPS CPUs don't have special instructions to count leading/trailing zeroes. The compiler-rt library provides fallback rountines for these. The 64-bit routines, __clzdi2 and __ctzdi2, are implemented as simple wrappers around the compiler built-in __builtin_clz(), assuming these will expand to either 32-bit CPU instructions or calls to __clzsi2 and __ctzsi2. Unfortunately, our GCC 4.2 probably thinks that because the operand is stored in a 64-bit register, it might just be a better idea to invoke its 64-bit equivalent, simply resulting into endless recursion. Fix this by defining __builtin_clz and __builtin_ctz to __clzsi2 and __ctzsi2 explicitly. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-05-25T17:19:30.007388Z K 7 svn:log V 42 Correct error message. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T17:20:00.919336Z K 7 svn:log V 268 MFC: r235487 Switch sparc64 to using libcompiler_rt; since r230021 (MFC'ed to stable/9 in r236012) we have a workaround in place allowing it to be used there and since r235388 (MFC'ed to stable/9 in r236002) we also have usable div/mod optimizations like libgcc has. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T17:48:45.912086Z K 7 svn:log V 365 MFC: r229135 Upgrade libcompiler_rt to upstream revision 147390. This version of libcompiler_rt adds support for __mulo[sdt]i4(), which computes a multiply and its overflow flag. There are also a lot of cleanup fixes to headers that don't really affect us. Updating to this revision should make it a bit easier to contribute changes back to the LLVM developers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T17:50:50.912013Z K 7 svn:log V 660 MFC: r228919 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 still uses libgcc. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-05-25T17:53:57.876377Z K 7 svn:log V 1441 Add some AR5416/AR5418 WAR's for power-on and suspend/resume: * Now that ah_configPCIE is called for both power on and suspend/resume, make sure the right bit(s) are cleared and set when suspending and resuming. Specifically: + force disable/enable the PCIe PHY upon suspend/resume; + reprogram the PCIe WAR register when resuming and upon power-on. * Add a recipe which powers down any PCIe PHY hardware inside the AR5416 (which is the PCI variant) to save on power. I have (currently) no way to test exactly how much power is saved, if any. Tested on: * AR5416 cardbus - although unfortunately pccard/cbb/cardbus currently detaches the NIC upon suspend, I don't think it's a proper test case. * AR5418 PCIe attached to expresscard - since we're not doing PCIe APSM, it's also not likely a full/good test case. In both instances I went through a handful of suspend/resume cycles and ensured that the STA vap reassociated correctly. TODO: * Setup a laptop to simply sit in a suspend/resume loop, making sure that the NIC always correctly comes back; * Start doing suspend/resume tests with actual traffic going on in the background, as I bet this process is all quite racy at the present; * Test adhoc/hostap mode, just to be completely sure it's working correctly; * See if I can jury rig an external power source to an AR5416 to test out whether ah_disablePCIE() works. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T17:56:27.354322Z K 7 svn:log V 42 MFC: r229413 Import compiler-rt r147467. END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-25T18:17:26.286717Z K 7 svn:log V 60 Fix physical address type to vm_paddr_t also for powerpc64. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-05-25T19:45:01.062260Z K 7 svn:log V 66 init: Remove unnecessary 2-second delay before calling reboot(2). END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T19:56:40.130916Z K 7 svn:log V 525 MFC: r235681 Rewrite nd6_sysctl_{d,p}rlist() to avoid misaligned accesses to char arrays casted to structs by getting rid of these buffers entirely. In r169832, it was tried to paper over this issue by 32-bit aligning the buffers. Depending on compiler optimizations that still was insufficient for 64-bit architectures with strong alignment requirements though. While at it, add comments regarding the total lack of locking in this area. Tested by: bz Reviewed by: bz (slightly earlier version), yongari (earlier version) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T19:57:01.590215Z K 7 svn:log V 525 MFC: r235681 Rewrite nd6_sysctl_{d,p}rlist() to avoid misaligned accesses to char arrays casted to structs by getting rid of these buffers entirely. In r169832, it was tried to paper over this issue by 32-bit aligning the buffers. Depending on compiler optimizations that still was insufficient for 64-bit architectures with strong alignment requirements though. While at it, add comments regarding the total lack of locking in this area. Tested by: bz Reviewed by: bz (slightly earlier version), yongari (earlier version) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-05-25T20:33:34.779485Z K 7 svn:log V 135 Add a partition type for nandfs to the apm, bsd, gpt and vtoc8 schemes. The gpart alias for these partition types is "freebsd-nandfs". END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-25T20:43:38.756857Z K 7 svn:log V 128 Import DTS files for the upcoming DPAA QorIQ (PowerPC) support. - P2041RDB - P3041DS - P5020DS Obtained from: Freescale END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-25T21:12:24.798370Z K 7 svn:log V 87 Update HID defines for E500mc and E5500 CPU cores. Obtained from: Freescale, Semihalf END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-05-25T21:50:48.482268Z K 7 svn:log V 180 Remove use of non-ISO-C integer types from system call tables. These files already use ISO-C-style integer types, so make them less inconsistent by preferring the standard types. END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-05-25T21:52:57.037999Z K 7 svn:log V 31 Regenerate system call tables. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-05-25T22:07:13.259194Z K 7 svn:log V 136 - Add support for BSD iconv when it is build into libc PR: bin/162670 Submitted by: Jan Beich MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-25T22:42:21.651606Z K 7 svn:log V 34 MFC: r212804 Remove magic value. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2012-05-25T23:24:16.856838Z K 7 svn:log V 358 MFC r227342 The in-kernel CTF parser caches the result of its first attempt to parse CTF data from a module. On subsequent attempts to retrieve CTF data for a module, return an error if there no CTF data. This fixes a panic if you try to enable fbt probes on a module without CTF data twice. Submitted by: Paul Ambrose (ambrosehua AT gmail DOT com) END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-05-25T23:41:22.267013Z K 7 svn:log V 53 Fix test for "incomplete build". Spotted by: jilles END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-26T00:57:17.602839Z K 7 svn:log V 33 Remove entry for a deleted file. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-26T00:59:43.969285Z K 7 svn:log V 39 Add TCP_OFFLOAD to i386's GENERIC too. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-26T01:24:39.041228Z K 7 svn:log V 389 Provide an opportunity to a TOE driver to install its hooks when expanding a syncache entry into a full socket. A couple of functions in toecore: * toe_connect_failed: to be called when an active open using a TOE device fails. * toe_4tuple_check: to check whether a 4-tuple is currently in use, and maybe release it if it's in TIME_WAIT and we have an incoming SYN for the 4-tuple. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-26T01:33:07.984712Z K 7 svn:log V 76 Some bugfixes and cleanup of cxgb TOE and iWARP drivers. Enable TOE multiq. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-05-26T01:34:36.288116Z K 7 svn:log V 39 Remove an unneeded field from ath_buf. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-26T01:35:09.976872Z K 7 svn:log V 64 Limit the cxgb TOE and iWARP drivers to amd64 and i386 for now. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-05-26T01:35:11.735284Z K 7 svn:log V 37 Avoid using hard-coded numbers here. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-05-26T01:36:25.515977Z K 7 svn:log V 269 Add the AR9280 workarounds for PCIe suspend/resume. These aren't strictly needed at the moment as we're not doing APSM and forcing the NIC in and out of network sleep. But, they don't hurt. Tested: * AR9280 (mini-PCIe) Obtained from: Qualcomm Atheros, Linux ath9k END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-26T01:45:53.311332Z K 7 svn:log V 60 Full stateful TCP offload driver for the Terminator 4 ASIC. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-26T01:55:51.252761Z K 7 svn:log V 235 Try not to change the size of the syncache structure. The knob to control TCP offload used to require explicit opt-out. It has been replaced with one that requires explicit opt-in, and is enabled only in x86 GENERIC kernels for now. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-26T05:25:55.502840Z K 7 svn:log V 88 Clarify the SEEK_HOLE description, it repositions the file pointer. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-26T05:28:47.739152Z K 7 svn:log V 178 Add a vn_bmap_seekhole(9) vnode helper which can be used by any filesystem which supports VOP_BMAP(9) to implement SEEK_HOLE/SEEK_DATA commands for lseek(2). MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-26T05:29:53.638824Z K 7 svn:log V 59 Implement SEEK_HOLE/SEEK_DATA for UFS. MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-05-26T06:10:25.063777Z K 7 svn:log V 626 Rename pmap_collect() to pmap_pv_reclaim() and rewrite it such that it no longer uses the active and inactive paging queues. Instead, the pmap now maintains an LRU-ordered list of pv entry pages, and pmap_pv_reclaim() uses this list to select pv entries for reclamation. Note: The old pmap_collect() tried to avoid reclaiming mappings for pages that have either a hold_count or a busy field that is non-zero. However, this isn't necessary for correctness, and the locking in pmap_collect() was insufficient to guarantee that such mappings weren't reclaimed. The new pmap_pv_reclaim() doesn't even try. MFC after: 5 weeks END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-05-26T06:31:54.299325Z K 7 svn:log V 45 mdoc: sort sections into conventional order. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:34:46.003458Z K 7 svn:log V 335 MFC r232014,r232030,r232070 - bstp_input() always consumes the packet so remove the mbuf handling dance around it. - Now that network interfaces advertise if they support linkstate notifications we do not need to perform a media ioctl every 15 seconds. - Indicate this function decrements the timer as well as testing for expiry. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:35:44.787748Z K 7 svn:log V 247 MFC r232118 Only look for a usable MAC address for the bridge ID from ports within our bridge, this allows us to have more than one independent bridge in the same STP domain. PR: kern/164369 Submitted by: Nikos Vassiliadis (earlier version) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:39:52.864075Z K 7 svn:log V 114 MFC r232629,r232640 Add the ability to set which packet layers are used for the load balance hash calculation. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:41:05.834218Z K 7 svn:log V 322 MFC r234163 Set the proto to LAGG_PROTO_NONE before calling the detach routine so packets are discarded, this is an issue because lacp drops the lock which may allow network threads to access freed memory. Expand the lock coverage so the detach/attach happen atomically. Submitted by: Andrew Boyer (earlier version) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:42:32.653994Z K 7 svn:log V 197 MFC r234487 Add linkstate to bridge(4), set the link to up when at least one underlying interface is up, otherwise the link is down. This, among other things, allows carp to work on a bridge. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:43:17.173289Z K 7 svn:log V 137 MFC r234488 Move the interface media check to a taskqueue, some interfaces (usb) sleep during SIOCGIFMEDIA and we were holding locks. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:44:00.056490Z K 7 svn:log V 190 MFC r235144 The DEVICE_POLLING dereference of sc->tsec_ifp needs to be checked for null first or this will panic. Condense three blocks that check sc->tsec_ifp into one while I am here. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:44:35.594130Z K 7 svn:log V 188 MFC r235147 Do not reinitialise the interface if it is already running, this prevents the bootp+nfs code from working as it calls init on each dhcp send and rx fails to start in time. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:58:12.967880Z K 7 svn:log V 335 MFC r232014,r232030,r232070 - bstp_input() always consumes the packet so remove the mbuf handling dance around it. - Now that network interfaces advertise if they support linkstate notifications we do not need to perform a media ioctl every 15 seconds. - Indicate this function decrements the timer as well as testing for expiry. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:58:58.324973Z K 7 svn:log V 247 MFC r232118 Only look for a usable MAC address for the bridge ID from ports within our bridge, this allows us to have more than one independent bridge in the same STP domain. PR: kern/164369 Submitted by: Nikos Vassiliadis (earlier version) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T07:59:56.018666Z K 7 svn:log V 116 MFC r232629,r232640 Add the ability to set which packet layers are used for the load balance hash calculation. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:00:34.280544Z K 7 svn:log V 322 MFC r234163 Set the proto to LAGG_PROTO_NONE before calling the detach routine so packets are discarded, this is an issue because lacp drops the lock which may allow network threads to access freed memory. Expand the lock coverage so the detach/attach happen atomically. Submitted by: Andrew Boyer (earlier version) END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:02:13.292636Z K 7 svn:log V 197 MFC r234487 Add linkstate to bridge(4), set the link to up when at least one underlying interface is up, otherwise the link is down. This, among other things, allows carp to work on a bridge. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:02:45.125626Z K 7 svn:log V 137 MFC r234488 Move the interface media check to a taskqueue, some interfaces (usb) sleep during SIOCGIFMEDIA and we were holding locks. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T08:03:42.806955Z K 7 svn:log V 510 - When creating the DMA tag for user data, don't ask for more segments than required for handling MAXPHYS and report the resulting maximum I/O size to CAM instead of implicitly limiting it to DFLTPHYS. - Move the variables of sym_action2() out of nested scope as required by style(9) and remove extraneous curly braces. - Replace a magic value for PCIR_COMMAND with the appropriate macro. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. Tested with a HBA donated by wilko. MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:09:01.954857Z K 7 svn:log V 189 Turn LACP debugging from a compile time option to a sysctl, it is very handy to be able to turn it on when negotiation to a switch misbehaves. Submitted by: Andrew Boyer MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T08:17:30.914440Z K 7 svn:log V 49 Remove extraneous empty lines. MFC after: 3 day END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:18:46.390016Z K 7 svn:log V 40 MFC r232638 Fix typo in lagg options. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:21:11.196328Z K 7 svn:log V 54 MFC r232009 Make it clear that fec is just an alias END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:23:26.667672Z K 7 svn:log V 41 MFC r232638 Fix typo in lagg options. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:25:25.412032Z K 7 svn:log V 209 MFC r232321 Correct the description for CTLFLAG_TUN and CTLFLAG_RDTUN, the declaring of a system tunable has never been implemented. This flag is only used by sysctl(8) to provide a helpful error message. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:25:41.625434Z K 7 svn:log V 209 MFC r232321 Correct the description for CTLFLAG_TUN and CTLFLAG_RDTUN, the declaring of a system tunable has never been implemented. This flag is only used by sysctl(8) to provide a helpful error message. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T08:31:12.285673Z K 7 svn:log V 73 Make the VIA workaround actually do its intended job. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T08:33:53.095274Z K 7 svn:log V 80 Consistently use USB_PAGE_SIZE. Currently, this is cosmetic. MFC after: 3 days END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:41:17.662004Z K 7 svn:log V 78 MFC r231130 (pjd) Allow to set if_bridge(4) sysctls from /boot/loader.conf. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:41:48.404776Z K 7 svn:log V 78 MFC r231130 (pjd) Allow to set if_bridge(4) sysctls from /boot/loader.conf. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T08:43:51.204878Z K 7 svn:log V 79 Make the VIA workaround application somewhat more consistent with the ATI one. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:44:26.457897Z K 7 svn:log V 437 MFC r234936 (emaste) Relax restriction on direct tx to child ports Lagg(4) restricts the type of packet that may be sent directly to a child port, to avoid undesired output from accidental misconfiguration. Previously only ETHERTYPE_PAE was permitted. BPF writes to a lagg(4) child port are presumably intentional, so just allow them, while still blocking other packets that should take the aggregation path. PR: kern/138620 END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2012-05-26T08:44:50.753062Z K 7 svn:log V 437 MFC r234936 (emaste) Relax restriction on direct tx to child ports Lagg(4) restricts the type of packet that may be sent directly to a child port, to avoid undesired output from accidental misconfiguration. Previously only ETHERTYPE_PAE was permitted. BPF writes to a lagg(4) child port are presumably intentional, so just allow them, while still blocking other packets that should take the aggregation path. PR: kern/138620 END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T08:54:26.554612Z K 7 svn:log V 420 MFC: r234898, r235207 Add initial support for booting from ZFS on sparc64. At least on Sun Fire V100, the firmware is known to be broken and not allowing to simultaneously open disk devices, causing attempts to boot from a mirror or RAIDZ to cause a crash. This will be worked around later. The firmwares of newer sun4u models don't seem to exhibit this problem though. PR: 165025 Submitted by: Gavin Mu END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T08:54:44.675104Z K 7 svn:log V 420 MFC: r234898, r235207 Add initial support for booting from ZFS on sparc64. At least on Sun Fire V100, the firmware is known to be broken and not allowing to simultaneously open disk devices, causing attempts to boot from a mirror or RAIDZ to cause a crash. This will be worked around later. The firmwares of newer sun4u models don't seem to exhibit this problem though. PR: 165025 Submitted by: Gavin Mu END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T08:58:27.464971Z K 7 svn:log V 100 MFC: r234248 Add a driver for the NXP (Philips) PCF8563 RTC. Obtained from: NetBSD (pcf8563reg.h) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T08:58:29.189640Z K 7 svn:log V 100 MFC: r234248 Add a driver for the NXP (Philips) PCF8563 RTC. Obtained from: NetBSD (pcf8563reg.h) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:03:14.136312Z K 7 svn:log V 120 MFC: r234281 - Try to bring these files closer to style(9). - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:05:45.552909Z K 7 svn:log V 192 MFC: r234291, r234292 Add support for the Atmel SAM9XE family of microcontrollers, which consist of a ARM926EJ-S processor core with up to 512 Kbytes of on-chip flash. Tested with SAM9XE512. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:08:30.687440Z K 7 svn:log V 128 MFC: r234293 Generate an obviously missing STOP when having finished transmitting data. This fixes communication with PCF8563. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:08:33.733083Z K 7 svn:log V 128 MFC: r234293 Generate an obviously missing STOP when having finished transmitting data. This fixes communication with PCF8563. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:11:45.835562Z K 7 svn:log V 203 MFC: r234560 - Add support for MCI1 revision 2xx controllers and a work-around for their "Data Write Operation and number of bytes" erratum. - Use DEVMETHOD_END. - Use NULL instead of 0 for pointers. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:13:24.957142Z K 7 svn:log V 319 MFC: r234561 Interrupts must be disabled while handling a partial cache line flush, as otherwise the interrupt handling code may modify data in the non-DMA part of the cache line while we have it stashed away in the temporary stack buffer, then we end up restoring a stale value. PR: 160431 Submitted by: Ian Lepore END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:13:38.949343Z K 7 svn:log V 319 MFC: r234561 Interrupts must be disabled while handling a partial cache line flush, as otherwise the interrupt handling code may modify data in the non-DMA part of the cache line while we have it stashed away in the temporary stack buffer, then we end up restoring a stale value. PR: 160431 Submitted by: Ian Lepore END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-05-26T09:16:33.195778Z K 7 svn:log V 112 Get rid of SCTP specific code to avoid CRC32C computations on loopback. Just just offloading. MFC after: 3 days END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:16:37.496542Z K 7 svn:log V 1092 MFC: r234901 - Add missing locking in at91_usart_getc(). - Align the RX buffers on the cache line size, otherwise the requirement of partial cache line flushes on every are pretty much guaranteed. [1] - Make the code setting the RX timeout match its comment (apparently, start and stop bits were missed in the previous calculation). [1] - Cover the busdma operations in at91_usart_bus_{ipend,transmit}() with the hardware mutex, too, so these don't race against each other. - In at91_usart_bus_ipend(), reduce duplication in the code dealing with TX interrupts. - In at91_usart_bus_ipend(), turn the code dealing with RX interrupts into an else-if cascade in order reduce its complexity and to improve its run-time behavior. - In at91_usart_bus_ipend(), add missing BUS_DMASYNC_PREREAD calls on the RX buffer map before handing things over to the hardware again. [1] - In at91_usart_bus_getsig(), used a variable of sufficient width for storing the contents of USART_CSR. - Use KOBJMETHOD_END. - Remove an unused header. Submitted by: Ian Lepore [1] Reviewed by: Ian Lepore END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:31:23.321055Z K 7 svn:log V 1117 MFC: r234524 o Fixes: - When switching to 4-bit operation, send a SET_CLR_CARD_DETECT command to disconnect the card-detect pull-up resistor from the DAT3 line before sending the SET_BUS_WIDTH command. - Add the missing "reserved" zero entry to the mantissa table used to decode various CSD fields. This was causing SD cards to report that they could run at 30 MHz instead of the maximum 25 MHz mandated in the spec. o Enhancements: - At the MMC layer, format various info from the CID into a string that uniquely identifies the card instance (manufacturer number, serial number, product name and revision, etc). Export it as an instance variable. - At the MMCSD layer, display the formatted card ID string, and also report the clock speed of the hardware (not the card's max speed), and the number of bits and number of blocks per transfer. It comes out like this now: mmcsd0: 968MB at mmc0 22.5MHz/4bit/128-block o Use DEVMETHOD_END. o Use NULL instead of 0 for pointers. PR: 156496 Submitted by: Ian Lepore END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-26T09:31:25.735922Z K 7 svn:log V 1117 MFC: r234524 o Fixes: - When switching to 4-bit operation, send a SET_CLR_CARD_DETECT command to disconnect the card-detect pull-up resistor from the DAT3 line before sending the SET_BUS_WIDTH command. - Add the missing "reserved" zero entry to the mantissa table used to decode various CSD fields. This was causing SD cards to report that they could run at 30 MHz instead of the maximum 25 MHz mandated in the spec. o Enhancements: - At the MMC layer, format various info from the CID into a string that uniquely identifies the card instance (manufacturer number, serial number, product name and revision, etc). Export it as an instance variable. - At the MMCSD layer, display the formatted card ID string, and also report the clock speed of the hardware (not the card's max speed), and the number of bits and number of blocks per transfer. It comes out like this now: mmcsd0: 968MB at mmc0 22.5MHz/4bit/128-block o Use DEVMETHOD_END. o Use NULL instead of 0 for pointers. PR: 156496 Submitted by: Ian Lepore END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-05-26T10:24:30.787764Z K 7 svn:log V 162 MFC r235474: Switch to a standard 2 clause BSD license (from bsd-style-copyright). Approved by: Myricom Inc. (gallatin) Approved by: Intel Corporation (jfv) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-05-26T10:24:35.511712Z K 7 svn:log V 162 MFC r235474: Switch to a standard 2 clause BSD license (from bsd-style-copyright). Approved by: Myricom Inc. (gallatin) Approved by: Intel Corporation (jfv) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-05-26T10:28:11.160971Z K 7 svn:log V 134 Trim the extra $FreeBSD$ from the comment below the license. We use the __FBSDID() macro on the file now instead. MFC after: 3 days END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-26T12:15:13.833392Z K 7 svn:log V 52 Unify SPR defines formatting, no funtional changes. END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-26T12:39:23.146465Z K 7 svn:log V 103 Provide SPR definitions for newer Book-E (E500mc, E5500, PPC465). Obtained from: Freescale, Semihalf. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-05-26T13:12:14.077683Z K 7 svn:log V 686 MFC: r235332 PR# 165923 reported intermittent write failures for dirty memory mapped pages being written back on an NFS mount. Since any thread can call VOP_PUTPAGES() to write back a dirty page, the credentials of that thread may not have write access to the file on an NFS server. (Often the uid is 0, which may be mapped to "nobody" in the NFS server.) Although there is no completely correct fix for this (NFS servers check access on every write RPC instead of at open/mmap time), this patch avoids the common cases by holding onto a credential that recently opened the file for writing and uses that credential for the write RPCs being done by VOP_PUTPAGES() for both NFS clients. END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-26T13:36:18.296944Z K 7 svn:log V 128 Rename e500 prefix to match other Book-E CPU variations. CPU id tidbits for the new cores. Obtained from: Freescale, Semihalf. END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-26T13:42:55.965282Z K 7 svn:log V 84 Retrieve CPU number info from the device tree. Obtained from: Freescale, Semihalf. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T14:23:18.020228Z K 7 svn:log V 38 Vendor import of OpenPAM Micrampelis. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T14:24:14.040506Z K 7 svn:log V 25 Tag OpenPAM Micrampelis. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-05-26T14:44:18.868070Z K 7 svn:log V 75 Updates to reflect recent commit bits handed back, etc. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-05-26T16:26:23.005557Z K 7 svn:log V 85 Update to reflect various doc commit bits taken into safekeeping. MFC after: 1 week END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T16:34:39.081798Z K 7 svn:log V 38 MFH r225813,r225814,r226537: cosmetic END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T16:37:43.086444Z K 7 svn:log V 49 MFH r230478: fix nits in already-merged r230307. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T16:42:47.958643Z K 7 svn:log V 22 MFH r233648: cosmetic END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T17:03:45.303036Z K 7 svn:log V 95 Passing NULL as a key casues a segfault when loading SSH 1 keys. Use an empty string instead. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-05-26T17:07:34.294023Z K 7 svn:log V 45 Pick up inet options from the proper header. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T17:08:01.037905Z K 7 svn:log V 147 MFH r234837: avoid busy-loop on slow connections when no timeout is set. MFH r234838: don't reuse credentials when redirected to a different host. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T17:10:16.745633Z K 7 svn:log V 31 Update to OpenPAM Micrampelis. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T17:19:41.896780Z K 7 svn:log V 58 Revert r232274 - unauthorized, unnecessary and incorrect. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T17:28:57.698751Z K 7 svn:log V 39 MFH r234685: utf8 and drop middle name END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T17:37:07.474490Z K 7 svn:log V 39 MFH r234311: utf8 and drop middle name END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T17:38:55.687072Z K 7 svn:log V 30 MFH r230059: improve examples END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T17:53:35.209624Z K 7 svn:log V 54 MFH r227797, 227932: add {STATIC,SHARED}_{C,CXX}FLAGS END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T17:56:54.638363Z K 7 svn:log V 60 MFH r227798, r227933: simplify build by using STATIC_CFLAGS END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T18:20:30.836892Z K 7 svn:log V 59 MFH r226625, 226632: document what openpam_static.c is for END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-26T20:03:47.933120Z K 7 svn:log V 190 Stop treating td_sigmask specially for the purposes of new thread creation. Move it into the copied region of the struct thread. Update some comments. Requested by: bde X-MFC after: never END K 10 svn:author V 3 mdf K 8 svn:date V 27 2012-05-26T20:13:24.442159Z K 7 svn:log V 405 MFC r235297, r235316: Add a -v and -N option to kenv(1), so it can be more easily used in scripts the way sysctl(8) is. The -N option, like in sysctl(8), displays only the kenv names, not their values. The -v option prints an individual kenv variable name with its value as name="value". This is the inverse of sysctl(8)'s -n flag, since the default behaviour of kenv(1) is already like sysctl(8) -n. END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-26T21:02:49.301356Z K 7 svn:log V 154 Move OpenPIC FDT bus glue to a shared location, so that other PowerPC platforms can use it, not only MPC85XX. This is just reorg, no functional changes. END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-26T21:05:11.262642Z K 7 svn:log V 130 Import EHCI attachment driver for Freescale integrated controller. Obtained from: Freescale, Semihalf. Written by: Michal Dubiel END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-26T21:07:15.901940Z K 7 svn:log V 119 Import eSDHC driver for Freescale integrated controller. Obtained from: Freescale, Semihalf Written by: Michal Dubiel END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-05-26T21:30:18.769756Z K 7 svn:log V 86 Wording corrections and simplifications. Approved by: gjb (mentor) MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-05-26T22:47:56.638806Z K 7 svn:log V 56 MFC r228513 Create large page mappings in pmap_map(). END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T23:07:45.732537Z K 7 svn:log V 60 OpenPAM Micrampelis was re-rolled due to a showstopper bug. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T23:08:53.759040Z K 7 svn:log V 60 OpenPAM Micrampelis was re-rolled due to a showstopper bug. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T23:10:21.514507Z K 7 svn:log V 60 OpenPAM Micrampelis was re-rolled due to a showstopper bug. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-05-26T23:10:36.156878Z K 7 svn:log V 56 MFC r228513 Create large page mappings in pmap_map(). END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T23:42:52.378647Z K 7 svn:log V 176 Make yacc a bootstrap tool if building on head, since the new yacc is not 100% backward compatible. Also, build yacc before lex, because lex requires yacc but not vice versa. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-26T23:48:56.567605Z K 7 svn:log V 41 nit: use >= 1000013 instead of > 1000012 END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-05-26T23:58:51.840380Z K 7 svn:log V 272 Correctly get the payload length in host byte order. While we already plan to support >64k payload here, the IPv6 header payload length obviously is only 16 bit and the calculations need to be right. Reported by: dim Tested by: dim MFC after: 1 day X-MFC: with r235958 END K 10 svn:author V 3 des K 8 svn:date V 27 2012-05-27T00:21:27.006406Z K 7 svn:log V 100 Make yacc a bootstrap tool if building on head, since the new yacc is not 100% backward compatible. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2012-05-27T00:34:56.643736Z K 7 svn:log V 469 MFC 227429 The generated Makefile for the kernel was not running ctfconvert on object files corresponding to source files that had the compile-with option set in conf/files. This means that any fbt probes for functions in that object file would not have correct argument types. The fix is to run ctfconvert on any target file that does not have the no-obj option set in files. PR: bin/160275 Reported by: Paul Ambrose (ambrosehua AT gmail DOT com) END K 10 svn:author V 6 rstone K 8 svn:date V 27 2012-05-27T00:38:36.511412Z K 7 svn:log V 1966 MFC 227430 On i386, fbt probes are implemented by writing an invalid opcode over certain instructions in a function prologue or epilogue. DTrace has a hook into the invalid opcode fault handler that checks whether the fault was due to an probe and if so, runs the DTrace magic. Upon returning from an invalid opcode fault caused by a probe, DTrace must emulate the instruction that was replaced with the invalid opcode and then return control to the instruction following the invalid opcode. There were a pair of related bugs in the emulation for the leave instruction. The leave instruction is used to pop off a stack frame prior to returning from a function. The emulation for this instruction must move the trap frame for the invalid opcode fault down the stack to the bottom of the stack frame that is being removed, and then execute an iret. At two points in this process, the emulation code was storing values above the current value of the stack pointer. This opened up a window in which if we were two take an interrupt, the trap frame for the interrupt would overwrite the values stored on the stack, causing the system to panic later. The first bug was that at one point the emulation code saves the new value for $esp above the current stack pointer value. The fix is to save this value instead inside of the original trap frame. At this point we do not need the original trap frame so this is safe. The second bug is that when the emulate code loads $esp from the stack, it points part-way through the new trap frame instead of at its beginning. The emulation code adjusts the stack pointer to the correct value immediately afterwards, but this still leaves a one instruction window in which an interrupt would corrupt this trap frame. Fix this by adjusting the stack frame value before loading it into $esp. This fixes panics in invop_leave on i386 when using fbt return probes. Reviewed by: rpaulo, attilio END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-05-27T01:24:08.497725Z K 7 svn:log V 294 MFC: r234740 Fix a leak of namei lookup path buffers that occurs when a ZFS volume is exported via the new NFS server. The leak occurred because the new NFS server code didn't handle the case where a file system sets the SAVENAME flag in its VOP_LOOKUP() and ZFS does this for the DELETE case. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-05-27T01:24:51.069765Z K 7 svn:log V 115 Return EBUSY for PTHREAD_MUTEX_ADAPTIVE_NP too when the mutex could not be acquired. PR: 168317 MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-27T05:24:53.991989Z K 7 svn:log V 53 Fix ki_cow for compat32 binaries. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-05-27T05:27:47.770026Z K 7 svn:log V 78 Enable gnu hash generation for dynamic ELF binaries on x86. Reviewed by: kan END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-05-27T06:11:09.191363Z K 7 svn:log V 2128 Work around a race condition in devfs by changing the way closes are handled in most CAM peripheral drivers that are not handled by GEOM's disk class. The usual character driver open and close semantics are that the driver gets N open calls, but only one close, when the last caller closes the device. CAM peripheral drivers expect that behavior to be honored to the letter, and the CAM peripheral driver code (specifically cam_periph_release_locked_busses()) panics if it is done incorrectly. Since devfs has to drop its locks while it calls a driver's close routine, and it does not have a way to delay or prevent open calls while it is calling the close routine, there is a race. The sequence of events, simplified a bit, is: - devfs acquires a lock - devfs checks the reference count, and if it is 1, continues to close. - devfs releases the lock - 2nd process open call on the device happens here - devfs calls the driver's close routine - devfs acquires a lock - devfs decrements the reference count - devfs releases the lock - 2nd process close call on the device happens here At the second close, we get a panic in cam_periph_release_locked_busses(), complaining that peripheral has been released when the reference count is already 0. This is because we have gotten two closes in a row, which should not happen. The fix is to add the D_TRACKCLOSE flag to the driver's cdevsw, so that we get a close() call for each open(). That does happen reliably, so we can make sure that our reference counts are correct. Note that the sa(4) and pt(4) drivers only allow one context through the open routine. So these drivers aren't exposed to the same race condition. scsi_ch.c, scsi_enc.c, scsi_enc_internal.h, scsi_pass.c, scsi_sg.c: For these drivers, change the open() routine to increment the reference count for every open, and just decrement the reference count in the close. Call cam_periph_release_locked() in some scenarios to avoid additional lock and unlock calls. scsi_pt.c: Call cam_periph_release_locked() in some scenarios to avoid additional lock and unlock calls. MFC after: 3 days END K 10 svn:author V 3 rea K 8 svn:date V 27 2012-05-27T06:53:35.893996Z K 7 svn:log V 754 OpenSSH: allow VersionAddendum to be used again Prior to this, setting VersionAddendum will be a no-op: one will always have BASE_VERSION + " " + VERSION_HPN for VersionAddendum set in the config and a bare BASE_VERSION + VERSION_HPN when there is no VersionAddendum is set. HPN patch requires both parties to have the "hpn" inside their advertized versions, so we add VERSION_HPN to the VERSION_BASE if HPN is enabled and omitting it if HPN is disabled. VersionAddendum now uses the following logics: * unset (default value): append " " and VERSION_ADDENDUM; * VersionAddendum is set and isn't empty: append " " and VersionAddendum; * VersionAddendum is set and empty: don't append anything. Approved by: des Reviewed by: bz MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2012-05-27T09:34:47.841955Z K 7 svn:log V 163 Fix style and consistency: - Use tabs, not spaces. - Add tab after #define. - Don't mix the use of BSD and ISO C unsigned integer types. Prefer the ISO C ones. END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-27T10:25:20.901689Z K 7 svn:log V 445 Let us manage differences of Book-E PowerPC variations i.e. vendor / implementation specific vs. the common architecture definition. Bring PPC4XX defines (PSL, SPR, TLB). Note the new definitions under BOOKE_PPC4XX are not used in the code yet. This change set is not supposed to affect existing E500 support, it's just another reorg step before bringing support for E500mc, E5500 and PPC465. Obtained from: AppliedMicro, Freescale, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2012-05-27T10:32:10.514106Z K 7 svn:log V 85 Remove redundant check, we catch ULE platform support in common sys/kern/sched_ule.c END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-05-27T11:37:24.165663Z K 7 svn:log V 200 Import illumos changeset 13571:a5771a96228c 1950 ztest backwards compatibility testing option References: https://www.illumos.org/issues/1950 Obtained from: illumos (issue #1950) MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-05-27T12:01:04.531116Z K 7 svn:log V 145 MFC r235864: Upgrade our copy of llvm/clang to 3.1 release. Release notes can be found at: http://llvm.org/releases/3.1/docs/ReleaseNotes.html END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-05-27T12:22:15.049739Z K 7 svn:log V 234 Import illumos changeset 13564:cf89c0c60496 1946 incorrect formatting when listing output of multiple pools with zpool iostat -v References: https://www.illumos.org/issues/1946 Obtained from: illumos (issue #1946) MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-05-27T12:31:57.565291Z K 7 svn:log V 248 Import illumos changeset 13605:b5c2b5db80d6 (partial) 763 FMD msg URLs should refer to something visible Replace sun.com URL's with illumos.org References: https://www.illumos.org/issues/763 Obtained from: illumos (issue #763) MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-05-27T12:47:35.717640Z K 7 svn:log V 294 MFC: r234740 Fix a leak of namei lookup path buffers that occurs when a ZFS volume is exported via the new NFS server. The leak occurred because the new NFS server code didn't handle the case where a file system sets the SAVENAME flag in its VOP_LOOKUP() and ZFS does this for the DELETE case. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2012-05-27T12:54:41.129794Z K 7 svn:log V 130 Allow inclusion of libc++ to work after including math.h Submitted by: Yamaya Takashi Reviewed by: das MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-05-27T13:33:54.024912Z K 7 svn:log V 477 Pull in r157212 from upstream clang trunk: Revert r115805. An array type is required to have a range type, however, the range can be unknown for the upper bound. Testcase to follow. Part of rdar://11457152 This should fix ctfconvert producing error messages during kernel builds, similar to: ERROR: scsi_all.c: die 24561: failed to retrieve array bounds These were caused by incorrect debug information for flexible array members of structs. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-05-27T14:20:46.887813Z K 7 svn:log V 686 MFC: r235332 PR# 165923 reported intermittent write failures for dirty memory mapped pages being written back on an NFS mount. Since any thread can call VOP_PUTPAGES() to write back a dirty page, the credentials of that thread may not have write access to the file on an NFS server. (Often the uid is 0, which may be mapped to "nobody" in the NFS server.) Although there is no completely correct fix for this (NFS servers check access on every write RPC instead of at open/mmap time), this patch avoids the common cases by holding onto a credential that recently opened the file for writing and uses that credential for the write RPCs being done by VOP_PUTPAGES() for both NFS clients. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2012-05-27T14:25:16.525317Z K 7 svn:log V 188 MFC r227441 Correct the types of the arguments to return probes of the syscall provider. Previously we were erroneously supplying the argument types of the corresponding entry probe. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2012-05-27T14:48:14.156015Z K 7 svn:log V 1198 MFC r233552 Instead of only iterating over the set of known SDT probes when sdt.ko is loaded and unloaded, also have sdt.ko register callbacks with kern_sdt.c that will be called when a newly loaded KLD module adds more probes or a module with probes is unloaded. This fixes two issues: first, if a module with SDT probes was loaded after sdt.ko was loaded, those new probes would not be available in DTrace. Second, if a module with SDT probes was unloaded while sdt.ko was loaded, the kernel would panic the next time DTrace had cause to try and do anything with the no-longer-existent probes. This makes it possible to create SDT probes in KLD modules, although there are still two caveats: first, any SDT probes in a KLD module must be part of a DTrace provider that is defined in that module. At present DTrace only destroys probes when the provider is destroyed, so you can still panic the system if a KLD module creates new probes in a provider from a different module(including the kernel) and then unload the the first module. Second, the system will panic if you unload a module containing SDT probes while there is an active D script that has enabled those probes. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2012-05-27T14:52:31.147928Z K 7 svn:log V 1198 MFC r233552 Instead of only iterating over the set of known SDT probes when sdt.ko is loaded and unloaded, also have sdt.ko register callbacks with kern_sdt.c that will be called when a newly loaded KLD module adds more probes or a module with probes is unloaded. This fixes two issues: first, if a module with SDT probes was loaded after sdt.ko was loaded, those new probes would not be available in DTrace. Second, if a module with SDT probes was unloaded while sdt.ko was loaded, the kernel would panic the next time DTrace had cause to try and do anything with the no-longer-existent probes. This makes it possible to create SDT probes in KLD modules, although there are still two caveats: first, any SDT probes in a KLD module must be part of a DTrace provider that is defined in that module. At present DTrace only destroys probes when the provider is destroyed, so you can still panic the system if a KLD module creates new probes in a provider from a different module(including the kernel) and then unload the the first module. Second, the system will panic if you unload a module containing SDT probes while there is an active D script that has enabled those probes. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-27T15:48:25.775939Z K 7 svn:log V 509 MFC: r235255 (partial) Change the module order of this MAC driver to be last so its is deterministically handled after the corresponding PHY drivers when loaded as module. Otherwise, when this MAC/PHY driver combination is compiled into a single module, probing the PHY drivers may fail. This makes r151438 actually work. Reported and tested by: yongari (for fxp(4)) Given that r226154 isn't part of stable/8, the other drivers fixed as part of the original r235255 aren't affected here. Submitted by: jhb END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-05-27T16:00:00.837038Z K 7 svn:log V 408 Import illumos changeset 13570:3411fd5f1589 1948 zpool list should show more detailed pool information Display per-vdev information with "zpool list -v". The added expandsize property has currently no value on FreeBSD. This changeset allows adding expansion support to individual vdevs in the future. References: https://www.illumos.org/issues/1948 Obtained from: illumos (issue #1948) MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-05-27T16:08:58.367120Z K 7 svn:log V 380 - Fix some typos in mmc_acquire_bus() and mmc_send_csd(). - Fix some math errors in mmc_decode_csd_sd(). - Fix incorrect arguments to mmc_send_app_op_cond() in mmc_go_discovery(). - Add reporting of CSD for debug purposes. - Add detection (and skipping) of password-locked cards. - Add setting of block length on card if necessary. Submitted by: Patrick Kelsey MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-05-27T16:16:28.436557Z K 7 svn:log V 208 Add IPPROTO_MPLS (rfc4023) IP protocol definition There are currently no in-tree consumers; I'm adding it now for use by vendor code. This matches the change OpenBSD made while implementing MPLS in gif(4). END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-05-27T16:24:00.329735Z K 7 svn:log V 481 Replace all uses of the vm page queues lock by a r/w lock that is private to this pmap.c. This new r/w lock is used primarily to synchronize access to the PV lists. However, it will be used in a somewhat unconventional way. As finer-grained PV list locking is added to each of the pmap functions that acquire this r/w lock, its acquisition will be changed from write to read, enabling concurrent execution of the pmap functions with finer-grained locking. X-MFC after: r236045 END