ƒ³P238186 181 260 140 360 344 693 116 278 401 327 643 129 169 371 228 248 228 185 228 217 238 225 99 157 186 155 934 560 309 540 187 276 203 190 185 400 178 276 286 260 272 373 433 428 293 700 255 251 323 675 319 239 534 280 582 278 509 192 301 240 550 99 1414 269 219 228 256 120 277 135 180 450 281 263 194 186 186 174 122 463 359 659 99 99 295 1212 129 489 319 237 323 200 294 392 299 221 223 303 235 276 420 664 761 224 350 250 240 217 217 149 512 155 357 231 596 124 226 357 342 190 131 880 322 111 540 302 557 184 302 343 277 277 340 256 133 198 288 160 187 391 152 116 141 172 169 235 137 171 150 235 132 402 834 260 148 242 164 149 264 567 305 304 159 230 183 133 187 153 153 265 139 283 270 122 256 1084 258 125 315 194 170 521 K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-07T04:49:53.243715Z K 7 svn:log V 167 Strip out the useless junk. All we really care about is the text, data and bss sections. All the rest is needed for normal binaries, but boot loaders aren't normal. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-07T04:51:59.527862Z K 7 svn:log V 48 Allow other SOCs to be compiled in, first step. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-07T04:55:42.552148Z K 7 svn:log V 267 Generalize this for loading the loader into the SPI. Plus trim about 100 bytes from the binary with silly tricks. Hope to get this small enough to run on the models that have 4k SRAM. We are close compiled for the at91rm9200, but still need to trim for the target. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-07T05:02:39.200959Z K 7 svn:log V 251 Create a generic way to support multiple boards within an arm platform. Add all the atmel boards to the ATMEL kernel for testing purposes. Until boot loader arg parsing of baord type is done, this won't actually be able to do the runtime selection. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-07T05:17:43.448359Z K 7 svn:log V 597 Implement ia64_physmem_alloc() and use it consistently to get memory before VM has been initialized. This includes: 1. Replacing pmap_steal_memory(), 2. Replace the handcrafted logic to allocate a naturally aligned VHPT, 3. Properly allocate the DPCPU for the BSP. Ad 3: Appending the DPCPU to kernend worked as long as we wouldn't cross into the next PBVM page. If we were to cross into the next page, then there wouldn't be a PTE entry on the page table for it and we would end up with a MCA following a page fault. As such, this commit fixes MCAs occasionally seen. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-07T05:25:22.953027Z K 7 svn:log V 21 Merge3 ^/head@238190 END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-07-07T07:59:14.381872Z K 7 svn:log V 185 acpi_cpu_cx_cst: consistently use cpu_cx_count during state enumeration cpu_cx_count is an index into accepted states, while i is an index into original _CST states MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-07-07T08:12:51.052913Z K 7 svn:log V 308 acpi_cpu_cx_list: there is no need to re-evaluate cpu_non_c3 here cpu_non_c3 is already evaluated in acpi_cpu_cx_cst and in acpi_cpu_set_cx_lowest. Besides acpi_cpu_cx_list is not protected by any locking. As a result also move setting of cpu_can_deep_sleep to more appropriate places. MFC after: 2 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-07-07T08:19:34.728180Z K 7 svn:log V 234 acpi_cpu_generic_cx_probe: for consistency set cpu_non_c3 here too although by default only C1 is enabled (cx_lowest=0) and enabling deeper states goes through acpi_cpu_set_cx_lowest which re-evaluates cpu_non_c3 MFC after: 2 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-07T10:13:20.315290Z K 7 svn:log V 548 For --features: * Most don't create $IPC_SAVE, so don't try to source it in a trap if it doesn't exist * $grep_deps may exist for some features, like --check-depends, so always delete it in safe_exit if it exists Other: * Don't try to clean out WRKDIRPREFIX if we're not actually building * In update_contents() streamline the code that handles replacing the file if necessary * Simplify the whitespace in the code that updates dependencies after an install, there will always be at least one pm_v printed, so no need to be coy about it END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-07-07T16:09:53.880106Z K 7 svn:log V 34 Release rdivacky from mentorship. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-07T17:05:55.967009Z K 7 svn:log V 74 Fix spelling PR: bin/167480 Submitted by: zeising Approved by: cperciva END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-07T17:09:44.697892Z K 7 svn:log V 276 Fix orphan() methods of several GEOM classes to not assume that there is an error set on the provider. With GEOM resizing, class can become orphaned when it doesn't implement resize() method and the provider size decreases. Reviewed by: mav Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-07T17:13:09.092234Z K 7 svn:log V 132 Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-07T17:17:43.627188Z K 7 svn:log V 152 Remove variables which are initialized but never used thereafter reported by gcc46 warning Reviewed by: scottl Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-07T17:20:24.013510Z K 7 svn:log V 132 Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-07T17:20:27.973133Z K 7 svn:log V 90 Remove ancient vnconfig symlink Submitted by: ak Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-07T17:20:52.962923Z K 7 svn:log V 132 Remove variables which are initialized but never used thereafter reported by gcc46 warning Approved by: cperciva MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-07T17:25:36.787757Z K 7 svn:log V 121 Remove unneeded variable reported by gcc46 which stopped being used in r234178. Approved by: cperciva MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-07T17:35:34.595683Z K 7 svn:log V 142 Add a description of the Spanish Dvorak keymap added in r235251 PR: conf/160235 Submitted by: gavin Approved by: cperciva MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-07T17:46:11.535063Z K 7 svn:log V 129 Add missing sleep stat increase PR: kern/168211 Submitted by: linimon Reviewed by: alc Approved by: cperciva MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-07T17:55:27.824147Z K 7 svn:log V 4 MFC END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-07-07T18:04:09.462710Z K 7 svn:log V 60 Merge from -CURRENT: Fixes for building with the new YACC. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-07-07T18:23:33.366062Z K 7 svn:log V 89 Improve an error message in kldxref: Print out the filename of an ignored non-ELF file. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-07-07T18:25:56.525791Z K 7 svn:log V 58 Clarify that this message from kldxref is just a warning. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-07-07T19:12:15.759634Z K 7 svn:log V 836 Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb This adds a new TARGET_ARCH for building on ARM processors that support the ARMv6K multiprocessor extensions. In particular, these processors have better support for TLS and mutex operations. This mostly touches a lot of Makefiles to extend existing patterns for inferring CPUARCH from ARCH. It also configures: * GCC to default to arm1176jz-s * GCC to predefine __FreeBSD_ARCH_armv6__ * gas to default to ARM_ARCH_V6K * uname -p to return 'armv6' * make so that MACHINE_ARCH defaults to 'armv6' It also changes a number of headers to use the compiler __ARM_ARCH_XXX__ macros to configure processor-specific support routines. I've successfully built and booted a BEAGLEBONE image with these patches, though "make buildworld" on the resulting image currently mis-compiles rtld. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-07T19:39:08.719511Z K 7 svn:log V 467 Drop page queues mutex on each iteration of vm_pageout_scan over the inactive queue, unless busy page is found. Dropping the mutex often should allow the other lock acquires to proceed without waiting for whole inactive scan to finish. On machines with lot of physical memory scan often need to iterate a lot before it finishes or finds a page which requires laundring, causing high latency for other lock waiters. Suggested and reviewed by: alc MFC after: 3 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-07T20:13:40.868515Z K 7 svn:log V 214 Add a new GEOM method, resize(), which is called after provider size changes. Add a new routine, g_resize_provider(), to use to notify GEOM about provider change. Reviewed by: mav Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-07-07T20:21:05.902100Z K 7 svn:log V 447 Change the interface to the Energy Efficient Ethernet (EEE) setting in the igb and em driver. This was necessitated by a shared code change that I was given late in the game, a data type changed from bool to int, in the last update I dealt with it by a cast, but it was pointed out (thanks jhb) that there was a potential problem with this. John suggested this safer approach, and it is fine with me... MFC after:2 days (to catch the 9.1 update) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-07T20:32:21.042322Z K 7 svn:log V 93 Make it possible to resize md(4) devices. Reviewed by: kib Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-07T21:28:31.341458Z K 7 svn:log V 181 Add disk_resize(), to make it possible for the disk drivers such as da(4) to notify GEOM about LUN size change. Reviewed by: mav (earlier version) Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-07T22:19:51.291940Z K 7 svn:log V 108 Make the da(4) driver notify GEOM about LUN size change. Reviewed by: mav Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-07T22:20:47.787415Z K 7 svn:log V 96 Add trivial resize handling to gmountver(8). Reviewed by: mav Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2012-07-07T22:22:13.875268Z K 7 svn:log V 91 Add trivial resize handling to gnop(8). Reviewed by: mav Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-07-08T00:51:38.622333Z K 7 svn:log V 307 Unbreak handling of descriptors opened with O_EXEC by fexecve(2). While here return EBADF for descriptors opened for writing (previously it was ETXTBSY). Add fgetvp_exec function which performs appropriate checks. PR: kern/169651 In collaboration with: kib Approved by: trasz (mentor) MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-07-08T00:52:54.662754Z K 7 svn:log V 83 Fix always 0 tautologly revealed by gcc46 Approved by: cperciva MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T08:49:37.492265Z K 7 svn:log V 184 As mentioned in the commit message of r237571 (copied from a prototype patch of mine) also check if the 2nd in6_setscope() failed and return the error in that case. MFC after: 5 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T09:06:25.316055Z K 7 svn:log V 194 MFC r235671: Allow tso4 and tso6 be set individually given we have the bits. This will help with drivers not working as expected during the transition time and later. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T09:49:01.943257Z K 7 svn:log V 168 MFC r235916: Introduce in6_getscope() to allow more effective checksum computations without the need to copy the address to clear the scope. Approved by: re END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-07-08T09:55:00.480931Z K 7 svn:log V 176 Fix sigcode to work correctly with the new syscall interface. It should work with both the old and EABI version by setting r7 and placing the syscall value in the instruction. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T10:04:30.172691Z K 7 svn:log V 281 MFC r235921: Optimize in6_cksum(), re-ordering work and limiting variable initialization, removing a bzero() for mostly re-initialized struct values, making use of the newly introduced in6_getscope(), as well as converting an if/panic to a KASSERT(). Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T10:29:01.666851Z K 7 svn:log V 341 MFC r235924: Introduce a (for now copied stripped down) in6_cksum_pseudo() function. We should be able to use this from in6_cksum() but we should also ponder possible MD specific improvements. It takes an extra csum argument to allow for easy checks as will be done by the upper layer protocol input paths. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T10:46:55.009856Z K 7 svn:log V 336 MFC r235941: in_cksum.h required ip.h to be included for struct ip. To be able to use some general checksum functions like in_addword() in a non-IPv4 context, limit the (also exported to user space) IPv4 specific functions to the times, when the ip.h header is present and IPVERSION is defined (to 4). Approved by: re END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-07-08T10:57:49.346675Z K 7 svn:log V 200 acpi_cpu: we are able to handle _CST change notifications... so un-ifdef code that is supposed to tell ACPI platform about that Tested by: Taku YAMAMOTO MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T11:24:22.497734Z K 7 svn:log V 608 MFC r235944: Significantly update tcp_lro for mostly two things: 1) introduce basic support for IPv6 without extension headers. 2) try hard to also get the incremental checksum updates right, especially also in the IPv4 case for the IP and TCP header. Move variables around for better locality, factor things out into functions, allow checksum updates to be compiled out, ... Leave a few comments on further things to look at in the future, though that is not the full list. Update drivers with appropriate #includes as needed for IPv6 data type in LRO. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T11:28:33.781241Z K 7 svn:log V 163 MFC r235954: We currently nowhere set IP6A_SWAP making the entire check useless with the current code. Keep around but do not compile in. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T11:33:49.187324Z K 7 svn:log V 159 MFC r235955: Simplify the code removing a return from an earlier else case, not differing from the default function return called now. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T11:42:21.568205Z K 7 svn:log V 231 MFC r235956: Hide the ip6aux functions. The only one referenced outside ip6_input.c is not compiled in yet (__notyet__) in route6.c (r235954, r238231). We do have accessor functions that should be used. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T11:53:13.766925Z K 7 svn:log V 583 MFC r235958,236130: Add support for delayed checksum calculations in the IPv6 output path. We currently cannot offload to the card if we add extension headers (which incl. fragmentation). Fix two SCTP offload support copy&paste bugs: calculate checksums if fragmenting and no need to flag IPv4 header checksums in the IPv6 forwarding path. 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. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T11:57:11.783955Z K 7 svn:log V 227 MFC r235959: Defer checksum calulations on UDP6 output and respect the mbuf flags set by NICs having done checksum validation for us already, thus saving the computing time in the input path as well. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T12:01:11.612357Z K 7 svn:log V 147 MFC r235960: Simple yet effective change enabling checksum "offload" on loopback for IPv6 to avoid expensive computations. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T12:12:34.072064Z K 7 svn:log V 442 MFC r235961: Add code to handle pre-checked TCP checksums as indicated by mbuf flags to save the entire computation for validation if not needed. In the IPv6 TCP output path only compute the pseudo-header checksum, set the checksum offset in the mbuf field along the appropriate flag as done in IPv4. In tcp_respond() just initialize the IPv6 payload length to 0 as ip6_output() will properly set it. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T12:17:56.455719Z K 7 svn:log V 188 MFC r235962: Factor out Hop-By-Hop option processing. It's still not heavily used, it reduces the footprint of ip6_input() and makes ip6_input() more readable. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T12:23:27.095845Z K 7 svn:log V 490 MFC r235981,236394 In case forwarding is turned on for a given address family, refuse to queue the packet for LRO and tell the driver to directly pass it on. This avoids re-assembly and later re-fragmentation problems when forwarding. It's not the best solution but the simplest and most effective for the moment. Make TCP LRO work properly with VIMAGE kernels rather than just panicing. There's no VIMAGE context set there yet as this is before if_ethersubr.c. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T12:26:32.978894Z K 7 svn:log V 186 MFC r235985: Properly protect the inp read access when handling the control code. In the past this was expensive but given the rlock it's not so much anymore. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T12:30:25.113126Z K 7 svn:log V 417 MFC r235986: Use M_ZERO with malloc rather than calling bzero() ourselves. Change if () panic() checks to KASSERT()s as they are only catching invariants in code flow but not dependent on network input/output. Move initial assigments indirecting pointers after the lock has been aquired. Passing layer boundries, reset M_PROTOFLAGS. Remove a NULL assignment before free. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T12:34:12.151433Z K 7 svn:log V 100 MFC r235953: No need to hold the (expensive) rt lock over (expensive) logging. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T12:36:44.982188Z K 7 svn:log V 209 MFC r235950: Factor out the tcp_hc_getmtu() call. As the comments say it applies to both v4 and v6, so only write it once making it easier to read the protocol family specifc code. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T12:39:02.051653Z K 7 svn:log V 148 MFC r236093: Trim the extra $FreeBSD$ from the comment below the license. We use the __FBSDID() macro on the file now instead. Approved by: re END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-08T14:01:25.534152Z K 7 svn:log V 453 - Split the cached and resident pages tree into 2 distinct ones. This makes the RED/BLACK support go away and simplifies a lot vmradix functions used here. This happens because with patricia trie support the trie will be little enough that keeping 2 diffetnt will be efficient too. - Reduce differences with head, in places like backing scan where the optimizazions used shuffled the code a little bit around. Tested by: flo, Andrea Barberio END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-08T14:06:26.482307Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T14:21:36.852775Z K 7 svn:log V 1321 MFC r236170,236176: It turns out that too many drivers are not only parsing the L2/3/4 headers for TSO but also for generic checksum offloading. Ideally we would only have one common function shared amongst all drivers, and perhaps when updating them for IPv6 we should introduce that. Eventually we should provide the meta information along with mbufs to avoid (re-)parsing entirely. To not break IPv6 (checksums and offload) and to be able to MFC the changes without risking to hurt 3rd party drivers, duplicate the v4 framework, as other OSes have done as well. Introduce interface capability flags for TX/RX checksum offload with IPv6, to allow independent toggling (where possible). Add CSUM_*_IPV6 flags for UDP/TCP over IPv6, and reserve further for SCTP, and IPv6 fragmentation. Define CSUM_DELAY_DATA_IPV6 as we do for legacy IP and add an alias for CSUM_DATA_VALID_IPV6. This pretty much brings IPv6 handling in line with IPv4. TSO is still handled in a different way and not via if_hwassist. Update ifconfig to allow (un)setting of the new capability flags. Update loopback to announce the new capabilities and if_hwassist flags. Individual driver updates will have to follow, as will SCTP. Removed the IFCAP_ prefix when printing the IPv6 checksum capabilities. Approved by: re END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-08T15:30:24.526588Z K 7 svn:log V 177 Implement handling of "atomic fragements" as outlined in draft-gont-6man-ipv6-atomic-fragments to mitigate one class of possible fragmentation-based attacks. MFC after: 5 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-08T15:37:58.117356Z K 7 svn:log V 123 MFC r236087: Get rid of SCTP specific code to avoid CRC32C computations on loopback. Just use offloading. Approved by: re END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-08T16:00:45.798353Z K 7 svn:log V 132 MFC r236332: Seperate SCTP checksum offloading for IPv4 and IPv6. While there: remove some trainling whitespaces. Approved by: re@ END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-08T16:11:16.672188Z K 7 svn:log V 160 MFC r236956: Unify the sending of ABORT, SHUTDOWN-COMPLETE and ERROR chunks. While there: Fix also some minor bugs and prepare for SCTP/DTLS. Approved by: re@ END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-08T16:12:59.331944Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-08T16:14:42.250973Z K 7 svn:log V 181 MFC r237049: Pass flowid explicitly through the stack instead of taking it from the mbuf chain at different places. While there: Fix several bugs related to VRFs. Approved by: re@ END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-08T17:01:57.607412Z K 7 svn:log V 39 Compile. Reported by: Andrea Barberio END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2012-07-08T17:02:14.979984Z K 7 svn:log V 80 After the binutils 2.17.50 import, the assembler supports AS_REL16 relocations. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-08T17:43:25.565572Z K 7 svn:log V 354 Unleash the APs at SI_SUB_KICK_SCHEDULER so that we have them all up and running to service interrupts. This is especially important when the firmware has bound interrupts to CPUs, like for the SGI Altix 350. We wake up APs at SI_SUB_CPU time and they sit and spin until we unleash them, so there's nothing fundamentally different from a MD perspective. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-08T18:00:22.508520Z K 7 svn:log V 185 Move PCPU initialization to a new function called cpu_pcpu_setup(). This makes it easier to add additional CPU or platform information to the per-CPU structure without duplicated code. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-08T18:04:26.448013Z K 7 svn:log V 170 Avoid vm page queues lock leak after r238212. Reported and tested by: Michael Butler Reviewed by: alc Pointy hat to: kib MFC after: 20 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-08T19:29:08.622554Z K 7 svn:log V 98 Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl. Reviewed by: andre Approved by: re (kib) END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-08T19:31:37.284664Z K 7 svn:log V 90 MFC r238083: Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl. Reviewed by: andre END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-08T19:33:20.931229Z K 7 svn:log V 90 MFC r238083: Fix RTTVAR scale in net.inet.tcp.hostcache.list sysctl. Reviewed by: andre END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-07-08T20:35:56.753894Z K 7 svn:log V 82 MFC of the e1000 drivers: 236406,238148,238151,238181, and 238214 Approved by:re END K 10 svn:author V 3 jfv K 8 svn:date V 27 2012-07-08T20:39:00.623962Z K 7 svn:log V 30 MFC of 238149 Approved by:re END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-07-08T20:41:54.947924Z K 7 svn:log V 366 Merge r234034 from head to stable/9: Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor leak when iterating over possible audit trail directories. This fix will be merged upstream in an identical form, but hasn't yet appeared in an OpenBSM release. Submitted by: guido Obtained from: TrustedBSD Project Approved by: re (kib) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-07-08T21:13:04.221770Z K 7 svn:log V 261 Finally fix lookup (account remaining '\0') and deletion (provide valid key length for radix lookup). Submitted by: Ihor Kaharlichenko (prev version) Approved by: kib(mentor) MFC after: 3 days Sponsored by: Shtorm ISP END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-07-08T21:21:45.218884Z K 7 svn:log V 562 Merge r231712 from head to stable/9: When initialising the CP0 status register during boot on 64-bit MIPS, set all three of the kernel, supervisor, and user-mode 64-bit mode flags. While FreeBSD does not currently use the supervisor ring (and hence this is effectively a NOP on most systems), doing this avoids triggering an exception on 64-bit MIPS CPUs that don't support 32-bit compatibility mode, and therefore don't allow clearing the SX bit. Reviewed by: gonzo Sponsored by: DARPA, SRI International Approved by: re (kib) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-08T23:17:04.175774Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-08T23:20:15.715672Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-08T23:50:57.665657Z K 7 svn:log V 198 - Move VM_RADIX_STACK in vm_object.c because it is the only consumer - Import the check for the return value of vm_radix_lookup() directly in the while removing the need to use a spourious check. END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-09T04:00:25.092486Z K 7 svn:log V 1116 Minor bug fix ============= * If we trap while working on a child port don't remove that child from the PM_NEEDS_UPDATE list so that when it gets printed in the parent that child is still on the list. While I'm here, tidy up the code that prints the list. Cosmetic changes ================ * Add -e to the pm_v echo as well, to allow easier printing of ws without using multiple commands. * Move the counting of categories and total ports to ports_by_category() so that it can be used in other places besides -[lL] * Use the count of total ports as $num_of_deps for -Faf * In multiport(), decrement the number of ports to work on and print a -v message if we have already encountered a port in the worklist as a dependency of another port in the list. This is not only better cosmetically, it means we don't have to reset it after the first pass. * For -a, remove the old, unnecessary test for FIRST_PASS, and re-indent that code. Also, add the num_{roots|trunks|branches|leaves} values to the headers * The ALL_FETCH var was only used in one place anymore, so use the values behind it instead. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-09T05:23:02.835930Z K 7 svn:log V 34 Add a debug category for RX EDMA. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2012-07-09T05:39:31.280807Z K 7 svn:log V 396 Follow-up commit to r238220: Pass only FEXEC (instead of FREAD|FEXEC) in fgetvp_exec. _fget has to check for !FWRITE anyway and may as well know about FREAD. Make _fget code a bit more readable by converting permission checking from if() to switch(). Assert that correct permission flags are passed. In collaboration with: kib Approved by: trasz (mentor) MFC after: 6 days X-MFC: with r238220 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-09T06:21:46.386107Z K 7 svn:log V 226 Remove "prefer_source" address selection option. FreeBSD has had an implementation of RFC 3484 for this purpose for a long time and "prefer_source" was never implemented actually. ND6_IFF_PREFER_SOURCE macro is left intact. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-09T06:34:15.485108Z K 7 svn:log V 144 - Add support of the following USB devices to run(4): * Logitec LAN-W150N/U2 * Buffalo WLI-UC-GNM2 - Add device id of Planex GW-USValue-EZ. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-09T06:39:46.421401Z K 7 svn:log V 227 Extend the RX descriptor completion debugging to log the larger AR93xx receive descriptors. This isn't entirely complete - the AR93xx and later descriptors don't have a link/buffer pointer; the descriptor contents just start. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-09T06:41:18.575070Z K 7 svn:log V 104 Extend the debugging flags to include some AR9300 HAL related options. Obtained from: Qualcomm Atheros END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-09T07:16:19.506870Z K 7 svn:log V 201 Make ipfw0 logging pseudo-interface clonable. It can be created automatically by $firewall_logif rc.conf(5) variable at boot time or manually by ifconfig(8) after a boot. Discussed on: freebsd-ipfw@ END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-09T07:19:11.390515Z K 7 svn:log V 296 Extend the RX HAL API to include the RX queue identifier. The AR93xx and later chips support two RX FIFO queues - a high and low priority queue. For legacy chips, just assume the queues are high priority. This is inspired by the reference driver but is a reimplementation of the API and code. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-09T07:25:09.596652Z K 7 svn:log V 206 Make usbusN logging pseudo-interface used by usbdump(8) clonable. One is now created/destroyed automatically by usbdump(8). Note that "hw.usb.no_pf" loader tunable is now obsolete. Reviewed by: hselasky END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-09T07:31:26.743550Z K 7 svn:log V 125 Introduce the EDMA related HAL capabilities. Whilst here, fix a typo in a previous commit. Obtained from: Qualcomm Atheros END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-09T07:37:10.039095Z K 7 svn:log V 131 We don't need to check the result of sending signal when -R option is specified. Submitted by: Ilya A. Arkhipov MFC after: 1 week END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-09T08:11:16.875138Z K 7 svn:log V 210 - Add IFT_L2VLAN (vlan(4)) support. - Add -P option to support PID file. When -a is specified /var/run/rarpd.pid is used, and when an interface is specified /var/run/rarpd..pid is used by default. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-07-09T08:27:04.914957Z K 7 svn:log V 138 Merge r229521 from head to stable/9: Add missing -w to kgdb(1)'s usage(). Sponsored by: Adara Networks, Inc. Approved by: re (kib) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-09T08:37:59.131121Z K 7 svn:log V 180 Further preparations for the RX EDMA support. Break out the DMA descriptor setup/teardown code into a method. The EDMA RX code doesn't allocate descriptors, just ath_buf entries. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-07-09T08:42:54.270266Z K 7 svn:log V 323 Merge r234032 from head to stable/9: When allocation of labels on files is implicitly disabled due to MAC policy configuration, avoid leaking resources following failed calls to get and set MAC labels by file descriptor. Reported by: Mateusz Guzik + clang scan-build Approved by: re (kib) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-09T09:11:07.015263Z K 7 svn:log V 571 MFC r238173: Fix issue resizing bin/sh This partially reverts some changes from r237448 that are causing breakage when resizing under bin/sh . Reverted changes from NetBSD are: Mar 10 20:46:15 2009 - editline.3 read.c make el_gets set the count to -1 on error to distinguish between EOF and error. Feb 19 15:20:22 2009 - read.c sig.c sig.h reset and redraw on sigcont. From Anon Ymous. Feb 15 21:24:13 2009 don't restart on EINTR, instead return NULL immediately. From Anon Ymous PR: 169603 Reported by: Peter Jeremy, David Shao MFC after: 3 days Approved by: re END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-09T09:24:46.222668Z K 7 svn:log V 664 If you have pressed CTRL+Z and a process is suspended, then you use gdb to attach to the process, it is surprising that the process is resumed without inputting any gdb commands, however ptrace manual said: The tracing process will see the newly-traced process stop and may then control it as if it had been traced all along. But the current code does not work in this way, unless traced process received a signal later, it will continue to run as a background task. To fix this problem, just send signal SIGSTOP to the traced process after we resumed it, this works like that you are attaching to a running process, it is not perfect but better than nothing. END K 10 svn:author V 8 takawata K 8 svn:date V 27 2012-07-09T09:38:53.399017Z K 7 svn:log V 126 Add range and table revision checking to avoid abend. PR:bin/169707 Submitted by:Dan Lukes MFC after:3 days. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2012-07-09T10:17:06.185786Z K 7 svn:log V 252 Fix PCIe hardware swap configuration for Netlogic XLP The last 12 bits of the limit registers have to be set to 1. These bits are not significant in bridge BARs and are 0 on read, but the bits are valid in the swap limit register and needs to be set. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2012-07-09T10:24:45.211610Z K 7 svn:log V 152 Identify Netlogic XLP 8xx B1 chip revisions Add functions to check for 8xx B0 and 3xx Ax revisions which will be used in network block initialization. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-09T10:33:53.542968Z K 7 svn:log V 147 MFC r237988: Issue proper diagnostic on the short writes, also consider the case of write reporting 0 bytes as short write. Approved by: re (hrs) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-09T10:36:43.082310Z K 7 svn:log V 124 MFC r237988: Issue proper diagnostic on the short writes, also consider the case of write reporting 0 bytes as short write. END K 10 svn:author V 8 jchandra K 8 svn:date V 27 2012-07-09T10:39:57.170847Z K 7 svn:log V 119 Support Netlogic XLP 8xx B1 revisions in xlpge. Updates to the MDIO access code for the new revision of the XLP chip. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-09T10:59:39.866703Z K 7 svn:log V 54 Fix a bug introduced in r237715. MFC after:i 3 days. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2012-07-09T11:53:06.569281Z K 7 svn:log V 414 Merge r237162, r237163, r237164, r237226. Fix improper L4 header handling for IPv6 packets passed via DLT_RAW. Set netflow v9 observation domain value to fib number instead of node id. This fixes multi-fib netflow v9 export. Use time_uptime instead of getnanotime for accouting integer number of seconds. Simplify IP pointer recovery in case of mbuf reallocation. Approved by: ae(mentor) Approved by: re END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-09T13:21:49.560773Z K 7 svn:log V 60 MFC r238121: Use CSUM_SCTP_IPV6 for IPv6. Approved by: re@ END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-07-09T13:56:59.944511Z K 7 svn:log V 261 - Disable most things not required in the boot path for now. - Enable verbose execution of all registered SYSINIT() callbacks - enable PRINTF_BUFR_SIZE to consolidate early printf()s until the msgbuf is setup and ready to use. Approved by: gibbs (implicit) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-09T14:16:49.736681Z K 7 svn:log V 135 Restore error handling lost in r191603 This was missed in the change from IFQ_ENQUEUE to if_transmit. Sponsored by: ADARA Networks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-09T15:31:05.902575Z K 7 svn:log V 503 MFC r238173: Fix issue resizing bin/sh This partially reverts some changes from r237448 that are causing breakage when resizing under bin/sh . Reverted changes from NetBSD are: Mar 10 20:46:15 2009 - editline.3 read.c make el_gets set the count to -1 on error to distinguish between EOF and error. Feb 19 15:20:22 2009 - read.c sig.c sig.h reset and redraw on sigcont. From Anon Ymous. Feb 15 21:24:13 2009 don't restart on EINTR, instead return NULL immediately. From Anon Ymous Approved by: re END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-07-09T15:44:35.047008Z K 7 svn:log V 31 Remove end of line whitespace. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-09T16:23:59.482669Z K 7 svn:log V 130 Revert revision 238172 of agp_i810.c. Correctness is considered more important than avoiding confusion. Feedback from: kib, jhb END K 10 svn:author V 2 np K 8 svn:date V 27 2012-07-09T17:25:56.836329Z K 7 svn:log V 265 Re-enable IFCAP_TSO6 in cxgb(4) and cxgbe(4) in stable/9. The kernel changes needed for all this to work have now been MFC'd to 9 by bz@. This is a direct commit to stable/9 that removes earlier changes made to drivers in this branch only. Approved by: re (kib) END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-09T17:28:26.953843Z K 7 svn:log V 247 Add early printf (eprintf) function and early UART support for debugging purposes. When enabled using ARM_EARLY_DEBUG kernel option, eprintf() call is available from locore stage allowing to print debug messages before pmap and console is set up. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-09T17:34:03.905879Z K 7 svn:log V 96 Add shorthand function for finding FDT node of UART selected for console (in "chosen" section). END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-09T18:01:40.053344Z K 7 svn:log V 37 Add missing file to previous commit. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-09T18:34:21.066745Z K 7 svn:log V 785 ARM machdep refactoring: rewritten MMU initialization code (which creates initial pagetables before bootstrapping pmap, set stacks, msgbuf, etc) to be more versatile and easier to understand. Moved such routine into arm/machdep.c file. Moved some frequently-used routines from individual ports machdep files into arm/machdep.c file. Changed pmap_devmap entries allocation: now virtual address of device mapping is allocated dynamically. This change will free port developers from managing virtual address space and make mappings more compact (only needed devices will be mapped without gaps between them). Also, pmap_devmap entries has a name: if pmap_devmap entry name will match device alias in .dts file, physical address and size of mapping will be automatically aquired from FDT. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-09T19:27:48.933050Z K 7 svn:log V 226 o Remove needless bus_if method definitions. o Initialize r_io[ATA_IDX_ADDR], just in case. o Set ATA_USE_16BIT & ATA_NO_ATAPI_DMA. The former is needed, the latter is to eliminate a dependency on busdma/mi for now. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-09T20:11:32.199828Z K 7 svn:log V 19 Fix a missing ";". END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-09T20:38:18.448996Z K 7 svn:log V 443 In epair_clone_destroy(), when destroying the second half, we have to switch to its vnet before calling ether_ifdetach(). Otherwise if the second half resides in a different vnet, if_detach() silently fails leaving a stale pointer in V_ifnet list, and the system crashes trying to access this pointer later. Another solution could be not to allow to destroy epair unless both ends are in the home vnet. Discussed with: bz Tested by: delphij END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-09T20:42:08.655819Z K 7 svn:log V 209 Partially revert r217515 so that the mem_range_softc variable is always present on x86 kernels. This fixes the build of kernels that include 'device acpi' but do not include 'device mem'. MFC after: 1 month END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-09T20:55:39.068283Z K 7 svn:log V 464 Add a clts() wrapper around the 'clts' instruction to on x86 and use that to implement stop_emulating() in the fpu/npx code. Reimplement start_emulating() in the non-XEN case by using load_cr0() and rcr0() instead of the 'lmsw' and 'smsw' instructions. Intel explicitly discourages the use of 'lmsw' and 'smsw' on 80386 and later processors in the description of these instructions in Volume 2 of the ADM. Reviewed by: kib MFC after: 1 month END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-09T21:46:07.532402Z K 7 svn:log V 89 Setup both a filter and an ithread to manage the interrupt registers of the IOC4 itself. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-07-09T21:53:50.012477Z K 7 svn:log V 210 Fix a bug in code that calculates the number of the first interrupt vector for a port. This affected the gigabit ports of T422 cards (the ones with 2x10G ports and 2x1G ports). MFC after: will check with re@ END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-09T23:58:22.888557Z K 7 svn:log V 247 Add some AR9300 HAL descriptor definition changes. * Add a couple of RX errors; * Add the spectral scan PHY error code; * extend the RX flags to be a 16 bit field, rather than an 8 bit field; * Add a new RX flag. Obtained from: Qualcomm Atheros END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-10T00:01:00.229392Z K 7 svn:log V 180 - Remove the unused and not completed write support for NTFS. - Fix a bug where vfs_mountedfrom() is called also when the filesystem is not mounted successfully. Tested by: pho END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-10T00:02:19.065898Z K 7 svn:log V 181 Convert sc_rxpending to a per-EDMA queue, and use that for the legacy code. Prepare ath_rx_pkt() to handle multiple RX queues, and default the legacy RX queue to use the HP queue. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-10T00:08:39.870331Z K 7 svn:log V 244 Implement EDMA RX for AR93xx and later chips. This is inspired by ath9k and the reference driver, but it's a new implementation of the RX FIFO handling. This has some issues - notably the FIFO needs to be reprogrammed when the chip is reset. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-10T00:13:04.420925Z K 7 svn:log V 161 Update arm/lpc port to use new machdep routines, simplifying lpc_machdep.c file. Some fixes are also done to avoid access to unmapped register space in lpc_spi. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-10T00:14:42.532307Z K 7 svn:log V 39 Integrate Andrew's Turner proc0 patch. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-10T00:23:25.554383Z K 7 svn:log V 101 Remove a check on MNTK_UPDATE that is not really necessary as it is handled in a code snippet above. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-10T00:31:06.046758Z K 7 svn:log V 192 o Match the low-level console name to the device name. o Remove the SWI handler. It's not used nor needed. o Implement the tsw_outwakeup function. This now works for userspace as well. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-10T00:54:24.913660Z K 7 svn:log V 65 Hack: IPI_STOP_HARD doesn't work, but IPI_STOP does. Force it... END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-10T00:55:41.081145Z K 7 svn:log V 92 We have a working CD drive. Add cd(4) and enable ATA_CAM. Remove commented-out KTR options. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-10T00:58:40.900390Z K 7 svn:log V 295 Remove the hack used by sncon0 to acknowledge the console interrupt by writing an IVAR. It's now done directly by the interrupt code and by calling shub_iack(). Also remove shub_conf_final() -- we do not have to ack any pending interrupts as a way to make interrupts working. They just work... END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T01:13:00.082787Z K 7 svn:log V 60 There's nothing AT91RM9200 specific about this file at all. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-10T01:25:25.941045Z K 7 svn:log V 21 Merge ^/head@238324. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T01:32:52.070221Z K 7 svn:log V 49 Not quite ready for this yet, so comment it out. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-10T01:47:11.954295Z K 7 svn:log V 76 Executing CPUID with EAX set to 1 to actually get feature flags. PR: 169730 END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T01:49:50.007666Z K 7 svn:log V 77 Remove some unused variables/externs that have been copied too many times... END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T02:14:50.377489Z K 7 svn:log V 142 Eliminate the AT91XXXX_BASE for each SoC. AT91_BASE is the right way to spell this since we only have one AT91_BASE for all Atmel arm9 SoCs. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T02:39:03.753636Z K 7 svn:log V 45 The system IRQ is always IRQ 1. Make it so. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T02:44:15.737878Z K 7 svn:log V 79 Missed one of the special AT91SAM9xxx_BASE defines. This should be AT91_BASE. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-10T03:48:07.552213Z K 7 svn:log V 55 Reorder these so they match the capability enum order. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T04:17:49.325764Z K 7 svn:log V 142 Collapse all copies of at91_add_child into at91.c. They were logically identical before today, and actually identical after today's changes. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T05:39:06.141381Z K 7 svn:log V 40 Revert last change. It was accidental. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-10T05:45:13.183402Z K 7 svn:log V 305 Always clear p_xthread if current thread no longer needs it, in theory, if debugger exited without calling ptrace(PT_DETACH), there is a time window that the p_xthread may be pointing to non-existing thread, in practical, this is not a problem because child process soon will be killed by parent process. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-10T06:05:42.485328Z K 7 svn:log V 738 Add/fix EDMA RX behaviour. * For now, kickpcu should hopefully just do nothing - the PCU doesn't need 'kicking' for Osprey and later NICs. The PCU will just restart once the next FIFO entry is pushed in. * Teach "proc" about "dosched", so it can be used to just flush the FIFO contents without adding new FIFO entries. * .. and now, implement the RX "flush" routine. * Re-initialise the FIFO contents if the FIFO is empty (the DP is NULL.) When PCU RX is disabled (ie, writing RX_D to the RX configuration register) then the FIFO will be completely emptied. If the software FIFO is full, then no further descriptors are pushed into the FIFO and things stall. This all requires much, much more thorough stress testing. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-10T06:10:49.306558Z K 7 svn:log V 164 Print the TX buffer if this error condition is asserted. I need to figure out why this is occuring. Hopefully I can get enough descriptor dumps to figure it out. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-10T06:11:39.853984Z K 7 svn:log V 53 Migrate the ATH_KTR_* fields out to if_ath_debug.h . END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T06:18:53.163416Z K 7 svn:log V 149 Minor rework to eliminate at91rm9200reg.h dependency and possibly set the stage for a detach routine (unlikely to be useful, but while I was here..) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T06:21:42.987032Z K 7 svn:log V 72 Pure style mischief. at91_$DEV_ rather than at91$DEV_ to match others. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-07-10T06:50:19.230849Z K 7 svn:log V 53 Add arm. Fix WWW definition (how did this break???) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-10T07:43:31.853398Z K 7 svn:log V 168 Flip on EDMA RX of both HP and LP queue frames. Yes, this is in the legacy interrupt path. The NIC does support MSI but I haven't yet sat down and written that code. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-10T07:45:47.188195Z K 7 svn:log V 471 Add some debugging and comments about what's going on when reinitialising the FIFO. I still see some corner cases where no RX occurs when it should be occuring. It's quite possible that there's a subtle race condition somewhere; or maybe I'm not programming the RX queues right. There's also no locking here yet, so any reset/configuration path state change (ie, enabling/disabling receive from the ioctl, net80211 taskqueue, etc) could quite possibly confuse things. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-07-10T08:31:28.150918Z K 7 svn:log V 207 Move the ffclock symbols from FBSD_1.2 to FBSD_1.3 where they should have been put initially. They were added to head during development of 10-CURRENT, not 9-CURRENT. Submitted by: glebius Reviewed by: kib END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-10T13:17:32.245599Z K 7 svn:log V 208 Plug potential mbuf leak when bridging fragments If an error occurs when transmitting one mbuf in a chain of fragments, free the subsequent fragments instead of leaking them. Sponsored by: ADARA Networks END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T14:21:25.724270Z K 7 svn:log V 67 Revert committal of local change accidentally swept up in r238329. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T15:02:29.679206Z K 7 svn:log V 137 Remove a useless bit of indirection. On all Atmel ARM products, irq 1 is the system IRQ, so use the define for it and get on with life. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-10T18:30:20.539996Z K 7 svn:log V 88 Commit missing flags for the high/low priority (HP/LP) RX queues. Noticed by: everyone END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-10T18:57:05.710023Z K 7 svn:log V 41 Fix build when ATH_DEBUG is not defined. END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-07-10T19:05:27.355429Z K 7 svn:log V 90 Shift to "FreeBSD 9.1" for what gets printed in manual pages. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-07-10T19:08:56.336696Z K 7 svn:log V 56 Adjustments for 9.0 -> 9.1. Approved by: re (implicit) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2012-07-10T19:10:39.210005Z K 7 svn:log V 56 Ready for 9.1-BETA1 builds. Approved by: re (implicit) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T19:48:42.786198Z K 7 svn:log V 172 Go ahead and disable the interrupts for the DBGU the boot loader may have left enabled after we detect the CPU, and remove the multiplely copied code from the SoC modules. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-10T20:59:35.975290Z K 7 svn:log V 44 Simplify error case Submitted by: thompsa@ END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-10T21:02:59.745633Z K 7 svn:log V 185 Change a duplicated check to clarify that we really want to set a reasonable default timeout. PR: 163135 Submitted by: Sascha Wildner Suggested by: bp Reviewed by: bp END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-10T22:10:21.162636Z K 7 svn:log V 177 Avoid recursion on the pvh global lock in the aim oea pmap. Correct the return type of the pmap_ts_referenced() implementations. Reported by: jhibbits [1] Tested by: andreast END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-10T23:11:52.326789Z K 7 svn:log V 30 Remove some more unused code. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-11T01:04:59.277678Z K 7 svn:log V 159 Document the object type movements, related to swp_pager_copy(), in vm_object_collapse() and vm_object_split(). In collabouration with: alc MFC after: 3 days END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-07-11T02:57:19.162707Z K 7 svn:log V 988 Various VirtIO improvements PCI: - Properly handle interrupt fallback from MSIX to MSI to legacy. The host may not have sufficient resources to support MSIX, so we must be able to fallback to legacy interrupts. - Add interface to get the (sub) vendor and device IDs. - Rename flags to VTPCI_FLAG_* like other VirtIO drivers. Block: - No longer allocate vtblk_requests from separate UMA zone. malloc(9) from M_DEVBUF is sufficient. Assert segment counts at allocation. - More verbose error and debug messages. Network: - Remove stray write once variable. Virtqueue: - Shuffle code around in preparation of converting the mb()s to the appropriate atomic(9) operations. - Only walk the descriptor chain when freeing if INVARIANTS is defined since the result is only KASSERT()ed. Submitted by: Bryan Venteicher (bryanv@daemoninthecloset.org) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-11T02:57:32.880498Z K 7 svn:log V 165 Merge from r234532: - Fix an ifname matching issue which prevented "ifconfig wlan0 create" from working. - Return non-zero status when unit < 0. Spotted by: dhw END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-07-11T03:49:05.990885Z K 7 svn:log V 30 Add KTR to the API functions. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-11T08:24:30.149607Z K 7 svn:log V 217 - fix description of SECURITY_FREEZE_LOCK (1) - add missing underscores to SECURITY_DISABLE_PASSWORD PR: 169763 (1) Submitted by: Steven Hartland Reviewed by: mav MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-11T12:10:13.706527Z K 7 svn:log V 101 Map ATH_KTR_* to 0 when ATH_DEBUG is not defined. This effectively NOPs out their use in that case. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-11T15:04:20.268931Z K 7 svn:log V 78 Cast a bus address to a uintmax_t for a debug printf to fix the build on arm. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-07-11T16:27:02.483523Z K 7 svn:log V 428 Initial commit of an I/O provider for DTrace on FreeBSD. These probes are most useful when looking into the structures they provide, which are listed in io.d. For example: dtrace -n 'io:genunix::start { printf("%d\n", args[0]->bio_bcount); }' Note that the I/O systems in FreeBSD and Solaris/Illumos are sufficiently different that there is not a 1:1 mapping from scripts that work with one to the other. MFC after: 1 month END