ƒ¸\247360 145 1251 99 120 99 111 178 412 338 568 5324 120 313 419 121 171 98 219 147 150 127 1150 144 305 97 131 115 211 1444 881 454 342 102 112 99 246 246 333 104 672 220 391 99 99 120 127 812 1299 1299 348 348 166 414 269 182 213 115 127 116 158 292 726 726 264 334 462 234 317 210 229 224 481 99 99 99 6079 123 123 143 313 110 123 174 421 281 161 135 121 171 151 382 382 296 367 114 551 129 128 174 139 108 242 132 137 382 105 197 195 121 264 156 408 139 803 139 159 211 266 163 586 586 230 480 480 149 149 123 240 805 805 310 310 334 334 130 115 522 243 220 635 635 151 466 871 871 134 K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-26T23:35:27.209950Z K 7 svn:log V 1153 Merge from vmc-playground branch: Replace the sub-optimal uma_zone_set_obj() primitive with more modern uma_zone_reserve_kva(). The new primitive reserves before hand the necessary KVA space to cater the zone allocations and allocates pages with ALLOC_NOOBJ. More specifically: - uma_zone_reserve_kva() does not need an object to cater the backend allocator. - uma_zone_reserve_kva() can cater M_WAITOK requests, in order to serve zones which need to do uma_prealloc() too. - When possible, uma_zone_reserve_kva() uses directly the direct-mapping by uma_small_alloc() rather than relying on the KVA / offset combination. The removal of the object attribute allows 2 further changes: 1) _vm_object_allocate() becomes static within vm_object.c 2) VM_OBJECT_LOCK_INIT() is removed. This function is replaced by direct calls to mtx_init() as there is no need to export it anymore and the calls aren't either homogeneous anymore: there are now small differences between arguments passed to mtx_init(). Sponsored by: EMC / Isilon storage division Reviewed by: alc (which also offered almost all the comments) Tested by: pho, jhb, davide END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-26T23:43:28.592343Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-26T23:46:19.744860Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-26T23:52:23.330941Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-26T23:54:17.660929Z K 7 svn:log V 15 Fix compiling. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-02-27T00:14:12.234005Z K 7 svn:log V 81 Fix the build. Back out mis-guided compat shim that should not have been MFC'ed END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-27T00:25:44.123596Z K 7 svn:log V 316 Add in the STBC TX/RX capability support into the HAL and driver. The HAL already included the STBC fields; it just needed to be exposed to the driver and net80211 stack. This should allow single-stream STBC TX and RX to be negotiated; however the driver and rate control code currently don't do anything with it. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-02-27T00:35:40.970873Z K 7 svn:log V 245 Fixes mfi panic on recused on non-recusive mutex MFI I/O lock Removes a mtx_unlock call for mfi_io_lock which is never aquired While I'm here fix a braceing style issue. Reviewed by: Doug Ambrisko Approved by: pjd (mentor) MFC after: 1 month END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-27T00:49:32.429408Z K 7 svn:log V 472 Enable STBC for the given rate series if it's negotiated: * If both ends have negotiated (at least) one stream; * Only if it's a single stream rate (MCS0-7); * Only if there's more than one TX chain enabled. Tested: * AR9280 STA mode -> Atheros AP; tested both MCS2 (STBC) and MCS12 (no STBC.) Verified using athalq to inspect the TX descriptors. TODO: * Test AR5416 - no STBC should be enabled; * Test AR9280 with one TX chain enabled - no STBC should be enabled. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-02-27T02:21:10.284361Z K 7 svn:log V 5230 Fixes queuing issues where mfi_release_command blindly sets the cm_flags = 0 without first removing the command from the relavent queue. This was causing panics in the queue functions which check to ensure a command is not on another queue. Fixed some cases where the error from mfi_mapcmd was lost and where the command was never released / dequeued in error cases. Ensure that all failures to mfi_mapcmd are logged. Fixed possible null pointer exception in mfi_aen_setup if mfi_get_log_state failed. Fixed mfi_parse_entries & mfi_aen_setup not returning possible errors. Corrected MFI_DUMP_CMDS calls with invalid vars SC vs sc. Commands which have timed out now set cm_error to ETIMEDOUT and call mfi_complete which prevents them getting stuck in the busy queue forever. Fixed possible use of NULL pointer in mfi_tbolt_get_cmd. Changed output formats to be more easily recognisable when debugging. Optimised mfi_cmd_pool_tbolt cleanup. Made information about driver limiting commands always display as for modern cards this can be severe. Fixed mfi_tbolt_alloc_cmd out of memory case which previously didnt return an error. Added malloc checks for request_desc_pool including free when subsiquent errors are detected. Fixed overflow error in SIMD reply descriptor check. Fixed tbolt_cmd leak in mfi_build_and_issue_cmd if there's an error during IO build. Elimintated double checks on sc->mfi_aen_cm & sc->mfi_map_sync_cm in mfi_shutdown. Move local hdr calculation after error check in mfi_aen_complete. Fixed wakeup on NULL in mfi_aen_complete. Fixed mfi_aen_cm cleanup in mfi_process_fw_state_chg_isr not checking if it was NULL. Changed mfi_alloc_commands to error if bus_dmamap_create fails. Previously we would try to continue with the number of allocated commands but lots of places in the driver assume sc->mfi_max_fw_cmds is whats available so its unsafe to do this without lots of changes. Removed mfi_total_cmds as its no longer used due the above change. Corrected mfi_tbolt_alloc_cmd to return ENOMEM where appropriate. Fixed timeouts actually firing at double what they should. Setting hw.mfi.max_cmds=-1 now configures to use the controller max. A few style (9) fixes e.g. braced single line conditions and double blank lines Cleaned up queuing macros Removed invalid queuing tests for multiple queues Trap and deal with errors when doing sends in mfi_data_cb Refactored frame sending into one method with error checking of the return code so we can ensure commands aren't left on the queue after error. This ensures that mfi_mapcmd & mfi_data_cb leave the queue in a valid state. Refactored how commands are cleaned up, mfi_release_command now ensures that all queues and command state is maintained in a consistent state. Prevent NULL pointer use in mfi_tbolt_complete_cmd Fixed use of NULL sc->mfi_map_sync_cm in wakeup Added defines to help with output of mfi_cmd and header flags. Fixed mfi_tbolt_init_MFI_queue invalidating cm_index of the acquired mfi_cmd. Reset now reinitialises sync map as well as AEN. Fixed possible use of NULL pointer in mfi_build_and_issue_cmd Fixed mfi_tbolt_init_MFI_queue call to mfi_process_fw_state_chg_isr causing panic on failure. Ensure that tbolt cards always initialise next_host_reply_index and free_host_reply_index (based off mfi_max_fw_cmds) on both startup and reset as per the linux driver. Fixed mfi_tbolt_complete_cmd not acknowledging unknown commands so it didn't clear the controller. Prevent locks from being dropped and re-acquired in the following functions which was allowing multiple threads to enter critical methods such as mfi_tbolt_complete_cmd & mfi_process_fw_state_chg_isr:- * mfi_tbolt_init_MFI_queue * mfi_aen_complete / mfi_aen_register * mfi_tbolt_sync_map_info * mfi_get_log_state * mfi_parse_entries The locking for these functions was promoting to higher level methods. This also fixed MFI_LINUX_SET_AEN_2 which was already acquiring the lock, so would have paniced for recursive lock. This also required changing malloc of ld_sync in mfi_tbolt_sync_map_info to M_NOWAIT which can hence now fail but this was already expected as its return was being tested. Removed the assignment of cm_index in mfi_tbolt_init_MFI_queue which breaks the world if the cmd returned by mfi_dequeue_free isn't the first cmd. Fixed locking in mfi_data_cb, this is an async callback from bus_dmamap_load which could hence be called after the caller has dropped the lock. If we don't have the lock we aquire it and ensure we unlock before returning. Fixed locking mfi_comms_init when mfi_dequeue_free fails. Fixed mfi_build_and_issue_cmd not returning tbolt cmds aquired to the pool on error. Fixed mfi_abort not dropping the io lock when mfi_dequeue_free fails. Added hw.mfi.polled_cmd_timeout sysctl that enables tuning of polled timeouts. This shouldn't be reduced below 50 seconds as its used for firmware patching which can take quite some time. Added hw.mfi.fw_reset_test sysctl which is avaliable when compiled with MFI_DEBUG and allows the testing of controller reset that was provoking a large number of the issues encountered here. Reviewed by: Doug Ambrisko Approved by: pjd (mentor) MFC after: 1 month END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T03:43:16.866167Z K 7 svn:log V 26 Fix typo in EFI GPT GUID. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-27T04:19:12.941367Z K 7 svn:log V 217 Document new options. The following args are now documented: -debug -softtimeout -softtimeout-action action -pretimeout timeout -pretimeout-action action Also update .Dd and copyright. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-27T04:33:06.753990Z K 7 svn:log V 323 I give up - just throw the EWMA update into the normal update_stats() routine. There were still corner cases where the EWMA update stats are being called on a rix which didn't have an intermediary stats update; thus no packets were counted against it. Sigh. This should fix the crashes I've been seeing on recent -HEAD. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T04:33:07.748550Z K 7 svn:log V 27 Remove a debugging printf. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T04:35:12.154383Z K 7 svn:log V 77 Remove static from font declaration so we can use it in the EFI framebuffer. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-27T04:37:09.196763Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T04:42:30.223344Z K 7 svn:log V 124 Remove 32-bit support. This can be resurrected later if needed but I feel that concentrating on 64-bit is more worthwhile. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T04:44:48.618718Z K 7 svn:log V 53 Remove all bootinfo support as amd64 doesn't use it. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T04:50:27.888464Z K 7 svn:log V 56 Add the ability for a device to have an "alias" handle. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T04:55:55.376979Z K 7 svn:log V 33 Fix network device registration. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T05:01:08.541560Z K 7 svn:log V 1054 Adjust our load device when we boot from CD under UEFI. The process for booting from a CD under UEFI involves adding a FAT filesystem containing your loader code as an El Torito boot image. When UEFI detects this, it provides a block IO instance that points at the FAT filesystem as a child of the device that represents the CD itself. The problem being that the CD device is flagged as a "raw device" while the boot image is flagged as a "logical partition". The existing EFI partition code only looks for logical partitions and so the CD filesystem was rendered invisible. To fix this, check the type of each block IO device. If it's found to be a CD, and thus an El Torito boot image, look up its parent device and add that instead so that the loader will then load the kernel from the CD filesystem. This is done by using the handle for the boot filesystem as an alias. Something similar to this will be required for booting from other media as well as the loader will live in the EFI system partition, not on the partition containing the kernel. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T05:02:40.917082Z K 7 svn:log V 50 Remove a scatalogical debug printf that crept in. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-02-27T05:03:35.013716Z K 7 svn:log V 208 RX checksum offloading on old Yukon controllers seem to cause more problems. Disable RX checksum offloading on controllers that don't use new descriptor format but give chance to enable it with ifconfig(8). END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-27T05:06:59.492805Z K 7 svn:log V 4 MFH END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-27T06:11:39.297315Z K 7 svn:log V 35 Implement prlimit64() system call. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-27T06:12:50.651110Z K 7 svn:log V 19 Regen for r247384. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-27T06:53:15.963687Z K 7 svn:log V 115 Clear the memory allocated to build the unwind tables. This fixes C++ exceptions on ARM EABI with static binaries. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-27T07:31:23.896300Z K 7 svn:log V 1350 An inode block must not be blockingly read while cg block is owned. The order is inode buffer lock -> snaplk -> cg buffer lock, reversing the order causes deadlocks. Inode block must not be written while cg block buffer is owned. The FFS copy on write needs to allocate a block to copy the content of the inode block, and the cylinder group selected for the allocation might be the same as the owned cg block. The reserved block detection code in the ffs_copyonwrite() and ffs_bp_snapblk() is unable to detect the situation, because the locked cg buffer is not exposed to it. In order to maintain the dependency between initialized inode block and the cg_initediblk pointer, look up the inode buffer in non-blocking mode. If succeeded, brelse cg block, initialize the inode block and write it. After the write is finished, reread cg block and update the cg_initediblk. If inode block is already locked by another thread, let the another thread initialize it. If another thread raced with us after we started writing inode block, the situation is detected by an update of cg_initediblk. Note that double-initialization of the inode block is harmless, the block cannot be used until cg_initediblk is incremented. Sponsored by: The FreeBSD Foundation In collaboration with: pho Reviewed by: mckusick MFC after: 1 month X-MFC-note: after r246877 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-27T07:32:39.038972Z K 7 svn:log V 788 The softdep freeblks workitem might hold a reference on the dquot. Current dqflush() panics when a dquot with with non-zero refcount is encountered. The situation is possible, because quotas are turned off before softdep workitem queue if flushed, due to the quota file writes might create softdep workitems. Make the encountering an active dquot in dqflush() not fatal, return the error from quotaoff() instead. Ignore the quotaoff() failures when ffs_flushfiles() is called in the course of softdep_flushfiles() loop, until the last iteration. At the last loop, the quotas must be closed, and because SU workitems should be already flushed, the references to dquot are gone. Sponsored by: The FreeBSD Foundation Reported and tested by: pho Reviewed by: mckusick MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-27T07:34:09.083021Z K 7 svn:log V 361 Make recursive getblk() slightly more useful. Keep the buffer state intact if getblk() is done on the already owned buffer. Exit from brelse() early when the lock recursion is detected, otherwise brelse() might prematurely destroy the buffer under some circumstances. Sponsored by: The FreeBSD Foundation Noted by: mckusick Tested by: pho MFC after: 2 weeks END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-27T08:32:34.670722Z K 7 svn:log V 247 - Initialize GPIO_OE register based on pinmux configuration Although AM335x TRM states that GPIO_OE register is not used and just reflects pads configuration in practice it does control pin behavior and shoiuld be set in addition to pinmux setup END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-27T08:34:32.084403Z K 7 svn:log V 9 Fix typo END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-27T08:36:43.421811Z K 7 svn:log V 17 Merge from HEAD. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-27T08:44:03.293198Z K 7 svn:log V 4 MFH END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-27T08:55:26.348272Z K 7 svn:log V 149 MFC r247034: Check if the -sec option is given without an argument. PR: bin/170413 Submitted by: Andrey Simonenko END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-27T08:56:57.235192Z K 7 svn:log V 149 MFC r247034: Check if the -sec option is given without an argument. PR: bin/170413 Submitted by: Andrey Simonenko END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-02-27T09:34:09.467669Z K 7 svn:log V 239 Map libraries linked with -Ttext-segment=base_addr at base_addr. Normal libraries have base address 0 and are unaffected by this change. PR: 176216 Submitted by: Damjan Jovanovic Reviewed by: kib MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-27T11:42:28.059202Z K 7 svn:log V 12 MFC @247396 END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-27T14:45:23.608767Z K 7 svn:log V 580 MFV 247176, 247178, 247315: Import metaslab_sync() speedup from vendor (illumos). Illumos ZFS issues: 3552 condensing one space map burns 3 seconds of CPU in spa_sync() thread 3564 spa_sync() spends 5-10% of its time in metaslab_sync() (when not condensing) 3578 transferring the freed map to the defer map should be constant time 3579 ztest trips assertion in metaslab_weight() References: https://www.illumos.org/issues/3552 https://www.illumos.org/issues/3564 https://www.illumos.org/issues/3578 https://www.illumos.org/issues/3579 MFC after: 2 weeks END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-02-27T18:12:04.467728Z K 7 svn:log V 127 The .journal file needs to reside on the ROOTINO which must not extend beyond direct blocks. A typo caused this check to fail. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-27T18:12:13.199490Z K 7 svn:log V 294 Merge from vmobj-rwlock: VM_OBJECT_LOCKED() macro is only used to implement a custom version of lock assertions right now (which likely spread out thanks to copy and paste). Remove it and implement actual assertions. Sponsored by: EMC / Isilon storage division Reviewed by: alc Tested by: pho END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-27T18:17:34.728765Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-27T18:23:12.496034Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-27T18:25:57.169564Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-02-27T18:47:01.457591Z K 7 svn:log V 35 Regression test for r247399 added. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-27T19:03:31.955231Z K 7 svn:log V 716 watchdogd(8) and watchdog(4) enhancements. The following support was added to watchdog(4): - Support to query the outstanding timeout. - Support to set a software pre-timeout function watchdog with an 'action' - Support to set a software only watchdog with a configurable 'action' 'action' can be a mask specifying a single operation or a combination of: log(9), printf(9), panic(9) and/or kdb_enter(9). Support the following in watchdogged: - Support to utilize the new additions to watchdog(4). - Support to warn if a watchdog script runs for too long. - Support for "dry run" where we do not actually arm the watchdog, but only report on our timing. Sponsored by: iXsystems, Inc. MFC after: 1 month END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-27T19:20:50.938915Z K 7 svn:log V 1206 MFC r246631,246651,246666,246675,246678,246688: Merge various ZFS bugfixes MFC r246631: Import vendor bugfixes Illumos ZFS issues: 3422 zpool create/syseventd race yield non-importable pool 3425 first write to a new zvol can fail with EFBIG MFC r246651: Import minor type change in refcount.h header from vendor (illumos). MFC r246666: Import vendor ZFS bugfix fixing a problem in arc_read(). Illumos ZFS issues: 3498 panic in arc_read(): !refcount_is_zero(&pbuf->b_hdr->b_refcnt) MFC r246675: Add tunable to allow block allocation on degraded vdevs. Illumos ZFS issues: 3507 Tunable to allow block allocation even on degraded vdevs MFC r246678: Import vendor bugfixes regarding SA rounding, header size and layout. This was already partially fixed by avg. Illumos ZFS issues: 3512 rounding discrepancy in sa_find_sizes() 3513 mismatch between SA header size and layout MFC r246688 [1]: Merge zfs_ioctl.c code that should have been merged together with ZFS v28. Fixes several problems if working with read-only pools. Changed code originaly introduced in onnv-gate 13061:bda0decf867b Contains changes up to illumos-gate 13700:4bc0783f6064 PR: kern/175897 [1] Suggested by: avg [1] END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-27T19:22:27.158854Z K 7 svn:log V 1206 MFC r246631,246651,246666,246675,246678,246688: Merge various ZFS bugfixes MFC r246631: Import vendor bugfixes Illumos ZFS issues: 3422 zpool create/syseventd race yield non-importable pool 3425 first write to a new zvol can fail with EFBIG MFC r246651: Import minor type change in refcount.h header from vendor (illumos). MFC r246666: Import vendor ZFS bugfix fixing a problem in arc_read(). Illumos ZFS issues: 3498 panic in arc_read(): !refcount_is_zero(&pbuf->b_hdr->b_refcnt) MFC r246675: Add tunable to allow block allocation on degraded vdevs. Illumos ZFS issues: 3507 Tunable to allow block allocation even on degraded vdevs MFC r246678: Import vendor bugfixes regarding SA rounding, header size and layout. This was already partially fixed by avg. Illumos ZFS issues: 3512 rounding discrepancy in sa_find_sizes() 3513 mismatch between SA header size and layout MFC r246688 [1]: Merge zfs_ioctl.c code that should have been merged together with ZFS v28. Fixes several problems if working with read-only pools. Changed code originaly introduced in onnv-gate 13061:bda0decf867b Contains changes up to illumos-gate 13700:4bc0783f6064 PR: kern/175897 [1] Suggested by: avg [1] END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-27T19:38:25.330526Z K 7 svn:log V 255 MFC 240474: - Denote PCI-e endpoints that support FLR. - Make parsing of PCI-e extended capabilities assume that future version numbers are backwards compatible. - Add new AER error descriptions. - Add descriptions for more PCI-e extended capabilities. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-27T19:38:33.669625Z K 7 svn:log V 255 MFC 240474: - Denote PCI-e endpoints that support FLR. - Make parsing of PCI-e extended capabilities assume that future version numbers are backwards compatible. - Add new AER error descriptions. - Add descriptions for more PCI-e extended capabilities. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-27T19:49:14.786029Z K 7 svn:log V 74 Remove some comparisons by using INT64_MAX instead of -1 for unset times. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-27T19:50:46.492320Z K 7 svn:log V 321 Add an implementation of open_memstream() and open_wmemstream(). These routines provide write-only stdio FILE objects that store their data in a dynamically allocated buffer. They are a string builder interface somewhat akin to a completely dynamic sbuf. Reviewed by: bde, jilles (earlier versions) MFC after: 1 month END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-02-27T19:51:47.178348Z K 7 svn:log V 173 Fix a potential race in returning setting errno when an association goes down. Reported by Mozilla in https://bugzilla.mozilla.org/show_bug.cgi?id=845513 MFC after: 3 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-02-27T19:59:41.526694Z K 7 svn:log V 90 Fix a typo that prevented booting a kernel that had virtual addresses in the elf headers. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-02-27T19:59:58.595936Z K 7 svn:log V 120 fix this script so we don't expand the second $FreeBSD since svn thinks the $ in $1 ends the keyword, and expands it... END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-02-27T20:09:25.135470Z K 7 svn:log V 22 mdoc: add missing El. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-02-27T20:15:06.553678Z K 7 svn:log V 34 mdoc: begin sentence on new line. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-02-27T20:16:30.608895Z K 7 svn:log V 23 Remove EOL whitespace. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-27T20:20:21.193462Z K 7 svn:log V 66 Use INT64_MAX for unset cc_firstevent to remove extra comparison. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-27T20:54:45.641966Z K 7 svn:log V 199 Close the hypothetical race when new callout inserted into the callwheel bucket, that now executes its last callout in direct mode, and so dropped the lock, caching NULL as the next callout pointer. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-27T21:03:09.932470Z K 7 svn:log V 633 MFC 240692,241228: Adjust the ioctl workaround from r234501: - Ensure the native ioctl path always allocates a 4kb buffer if a request uses a buffer size of 0. - Rounding all small requests up to 32k swamped the controller causing firmware hangs. Instead, round requests smaller than 64k up to the next power of 2 as a general rule. To handle the one known special case of a command that accepts a 12k buffer returning a 24k-ish reply, round requests between 8k and 16k up to 32k rather than 16k. The result is that commands less than 8k should now be rounded up to a smaller size (either 4k or 8k) rather than 32k. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-27T21:03:19.203726Z K 7 svn:log V 633 MFC 240692,241228: Adjust the ioctl workaround from r234501: - Ensure the native ioctl path always allocates a 4kb buffer if a request uses a buffer size of 0. - Rounding all small requests up to 32k swamped the controller causing firmware hangs. Instead, round requests smaller than 64k up to the next power of 2 as a general rule. To handle the one known special case of a command that accepts a 12k buffer returning a 24k-ish reply, round requests between 8k and 16k up to 32k rather than 16k. The result is that commands less than 8k should now be rounded up to a smaller size (either 4k or 8k) rather than 32k. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-27T21:58:06.029857Z K 7 svn:log V 167 Add a reminder that the user should update boot block if they are upgrading their existing system and use LZ4 compression for ZFS. Suggested by: mm MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-27T22:02:40.862738Z K 7 svn:log V 241 MFC 240921: Add optional entropy harvesting for software interrupts in swi_sched() as controlled by kern.random.sys.harvest.swi. SWI harvesting feeds into the interrupt FIFO and each event is estimated as providing a single bit of entropy. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-27T22:08:18.018868Z K 7 svn:log V 369 MFC 241130: Rename the module for 'device enc' to "if_enc" to avoid conflicting with the CAM "enc" peripheral (part of ses(4)). Previously the two modules used the same name, so only one was included in a linked kernel causing enc0 to not be created if you added IPSEC to GENERIC. The new module name follows the pattern of other network interfaces (e.g. "if_loop"). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-27T23:02:47.011329Z K 7 svn:log V 141 Removal of masking at r247319 require small additional polishing of math, otherwise it would explode in 49 days of runtime after u_int wrap. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-02-27T23:17:45.656547Z K 7 svn:log V 224 Adds hw.mfi.cmd_timeout loader / sysctl tuneable which controls the default timeout used in the mfi driver. This is useful for long running commands such as secure erase. Reviewed by: John Baldwin Approved by: pjd (mentor) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-28T00:14:03.472440Z K 7 svn:log V 117 We don't need any precision here. Let it be fast and dirty shift then slow and excessively precise 64-bit division. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-28T00:14:59.830958Z K 7 svn:log V 132 Revert some introduction of rwlock.h and remove unused vm/vm_pager.h vm/vnode_pager.h. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-28T00:18:56.449886Z K 7 svn:log V 127 Complete r247297: Remove unused inclusions of vm/vm_pager.h and vm/vnode_pager.h. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-02-28T00:22:04.443537Z K 7 svn:log V 388 MFC of the E1000 drivers to STABLE/8, this includes the follow revisions plus a few tweaks: 196969,196970,211516,214646,215781,215789,215808,215910,223350, 223482,223831,228281,228393,229939,231796,232238,234665,235256, 236406,238148,238151,238214,238765,238770,238953,238981,239105, 239109,239304,240518,240693,240968,241037,241856,241885,243570, 243857,245334,246128,246482,247064 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-28T00:24:13.684485Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-28T00:27:02.902774Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-28T00:30:35.789597Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 np K 8 svn:date V 27 2013-02-28T00:44:54.250132Z K 7 svn:log V 5986 MFC r245243, r245274, r245276, r245434, r245441, r245448, r245467, r245468, r245517, r245518, r245520, r245567, r245933, r245935, r245936, r245937, r246093, r246385, r246575, r247062, r247122, r247289, r247291, r247347, r247355, and r241733. Note that TCP_OFFLOAD is not enabled in 9 yet and so some of these MFCs don't really affect functionality. But they do help future MFCs (related to TCP_OFFLOAD or not) by minimizing diffs with the driver in head. r245243: cxgbe(4): updates to the configuration file that controls how hardware resources are partitioned. - Reduce the number of virtual interfaces reserved for PF4. This leaves spare room in the source MAC table and allows the driver to setup filters that rewrite the source MAC address. - Reduce the number of filters and use the freed up space for the CLIP (Compressed Local IPv6 addresses) table. This is a prerequisite for IPv6 TOE support which will follow separately in a series of commits. r245274: cxgbe(4): Add functions to help synchronize "slow" operations (those not on the fast data path) and use them instead of frobbing the adapter lock and busy flag directly. Other changes made while reworking all slow operations: - Wait for the reply to a filter request (add/delete). This guarantees that the operation is complete by the time the ioctl returns. - Tidy up the tid_info structure. - Do not allow the tx queue size to be set to something that's not a power of 2. r245276: Overhaul the stid allocator so that it can be used for IPv6 servers too. The entry for an IPv6 server in the TCAM takes up the equivalent of two ordinary stids and must be properly aligned too. r245434: cxgbe(4): Updates to the hardware L2 table management code. - Add full support for IPv6 addresses. - Read the size of the L2 table during attach. Do not assume that PCIe physical function 4 of the card has all of the table to itself. - Use FNV instead of Jenkins to hash L3 addresses and drop the private copy of jhash.h from the driver. r245441: cxgbe/tom: Miscellaneous updates for TOE+IPv6 support (more to follow). - Teach find_best_mtu_idx() to deal with IPv6 endpoints. - Install correct protosw in offloaded TCP/IPv6 sockets when DDP is enabled. - Move set_tcp_ddp_ulp_mode to t4_tom.c so that t4_tom.h can be included without having to drag in t4_msg.h too. This was bothering the iWARP driver for some reason. r245448: cxgbe/tom: Basic CLIP table management. This is the Compressed Local IPv6 table on the chip. To save space, the chip uses an index into this table instead of a full IPv6 address in some of its hardware data structures. For now the driver fills this table with all the local IPv6 addresses that it sees at the time the table is initialized. I'll improve this later so that the table is updated whenever new IPv6 addresses are configured or existing ones deleted. r245467: cxgbe/tom: Add support for fully offloaded TCP/IPv6 connections (active open). r245468: cxgbe/tom: Add support for fully offloaded TCP/IPv6 connections (passive open). r245517: cxgbe: Fix the for_each_foo macros -- the last argument should not share its name with any member of struct sge. r245518: cxgbe: Do a more thorough job in the CLEAR_STATS ioctl. r245520: Allow "ivlan" (inner VLAN) to be used as an alias for "vlan" when specifying match criteria. "vlan" continues to be valid here, and it continues to be valid when deleting, rewriting, inserting, or stacking an 802.1q tag to a matching packet. r245567: cxgbe: Make the for_each macros safer to use by turning them into a single statement each. r245933: cxgbe/tom: List IFCAP_TOE6 as supported now that all the required pieces are in place. You still have to enable it explicitly, after loading the t4_tom KLD. r245935: Add a couple of missing error codes. Treat CPL_ERR_KEEPALV_NEG_ADVICE as negative advice and not a fatal error. r245936: Force the 404-BT card (4 x 1G) to use the "uwire" configuration file. r245937: Install an extra hold on the newly allocated synq entry so that it cannot be freed while do_pass_accept_req is running. This closes a race where do_pass_establish on another CPU (the driver chose a different queue for the new tid) expands the synq entry into a full PCB and then releases the only hold on it, all while do_pass_accept_req is still running. r246093: Provide a statistic to track the number of drops in each of the port's txq's buf_ring. The aggregate for all the queues of a port is already provided in ifnet->if_snd.ifq_drops. r246385: Busy-wait when cold. r246575: Do not hold locks around hardware context reads. r247062: cxgbe(4): Assume that CSUM_TSO in the transmit path implies CSUM_IP and CSUM_TCP too. They are all set explicitly by the kernel usually. r247122: cxgbe(4): Add sysctls to extract debug information from the chip: dev.t4nex.X.misc.cim_la logic analyzer dump dev.t4nex.X.misc.cim_qcfg queue configuration dev.t4nex.X.misc.cim_ibq_xxx inbound queues dev.t4nex.X.misc.cim_obq_xxx outbound queues r247289: cxgbe(4): Update firmware to 1.8.4.0. r247291: cxgbe(4): Ask the card's firmware to pad up tiny CPLs by encapsulating them in a firmware message if it is able to do so. This works out better for one of the FIFOs in the chip. r247347: cxgbe(4): Consider all the API versions of the interfaces exported by the firmware (instead of just the main firmware version) when evaluating firmware compatibility. Document the new "hw.cxgbe.fw_install" knob being introduced here. This should fix kern/173584 too. Setting hw.cxgbe.fw_install=2 will mostly do what was requested in the PR but it's a bit more intelligent in that it won't reinstall the same firmware repeatedly if the knob is left set. r247355: cxgbe(4): Report unusual out of band errors from the firmware. r241733 (by ed@): Prefer __containerof() over __member2struct(). The former works better with qualifiers, but also properly type checks the input pointer. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T00:49:00.573848Z K 7 svn:log V 29 This file is no longer used. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T00:50:37.029286Z K 7 svn:log V 29 Remove exec.c from here too. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T00:52:44.216155Z K 7 svn:log V 49 We need an x86 link along with our machine link. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-28T01:00:32.799460Z K 7 svn:log V 219 Remove the quirk to allow use of MSI when the guest is running inside bhyve. This became redundant after the hostbridge presented to the guest started advertising the PCI-E capability (r246846). Obtained from: NetApp END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T01:04:23.832254Z K 7 svn:log V 16 Fix whitespace. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T01:05:48.601324Z K 7 svn:log V 29 This file is no longer used. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-02-28T01:22:14.712285Z K 7 svn:log V 82 Properly handle '-h' argument. PR: 176332 Reviewed by: scottl MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-28T01:24:24.594260Z K 7 svn:log V 328 When we are waiting for new trail files we may have been disconnected and reconnected in the meantime. Check if reset is set before opening next trail file, as not doing so will result in sending OPEN message with the same file name twice and this is illegal - the second OPEN is send without first closing previous trail file. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-28T04:16:47.875979Z K 7 svn:log V 184 Refresh vendor driver version which adds ARC-1224 support. Many thanks to Areca for continuing to support FreeBSD. Submitted by: 黃清隆 MFC after: 3 days END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T04:43:44.994486Z K 7 svn:log V 67 Remove usage of i386_ prefixes and unneeded references to libi386. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T04:50:22.677445Z K 7 svn:log V 41 Remove more libi386 along with some BTX. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T05:02:53.647127Z K 7 svn:log V 27 Move UEFI loader to amd64. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T05:18:15.922767Z K 7 svn:log V 77 Rename efifb.* to framebuffer.*, making it a bit more obvious what it's for. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-28T05:47:50.139112Z K 7 svn:log V 55 MFC r215041 (obrien): Upgrade to bzip2 version 1.0.6. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-28T08:06:43.649822Z K 7 svn:log V 285 When getting the MIB, remove largest suffix instead of smallest suffix of =. This makes the following syntax work: dev.hdaa.4.nid25_config=as=1,seq=15 This is a direct commit to RELENG_9 as this file have been replaced in -HEAD. Submitted by: Andreas Nilsson END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-28T08:11:36.895933Z K 7 svn:log V 285 When getting the MIB, remove largest suffix instead of smallest suffix of =. This makes the following syntax work: dev.hdaa.4.nid25_config=as=1,seq=15 This is a direct commit to RELENG_8 as this file have been replaced in -HEAD. Submitted by: Andreas Nilsson END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-02-28T08:19:55.786447Z K 7 svn:log V 203 Remove DEV_NETMAP from stable/8 options, this was suggested and approved by the owner, although there is code in some drivers in support of it, the feature itself is not fully supported in this release. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-28T10:21:04.956963Z K 7 svn:log V 274 Introduce sbintime_t type -- the simplified version of struct bintime, using 32.32 fixed point in form of single int64_t. It is much easier to use in cases where additional precision and range of struct bintime is not required. Reviewed by: bde (previous version), davide END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T10:45:16.408470Z K 7 svn:log V 20 Reindent with tabs. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-28T10:46:54.041376Z K 7 svn:log V 455 MFcalloutng: When CPU becomes idle, cpu_idleclock() calculates time to the next timer event in order to reprogram hw timer. Return that time in sbintime_t to the caller and pass it to acpi_cpu_idle(), where it can be used as one more factor (quite precise) to extimate furter sleep time and choose optimal sleep state. This is a preparatory change for further callout improvements will be committed in the next days. The commmit is not targeted for MFC. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T10:48:29.013057Z K 7 svn:log V 35 Merge bootinfo.c into bootinfo64.c END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T10:50:09.200773Z K 7 svn:log V 34 Rename bootinfo64.c to bootinfo.c END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T10:54:19.755215Z K 7 svn:log V 80 Split efimd.c up and place parts into bootinfo.c and parts into elf64_freebsd.c END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T10:56:21.193010Z K 7 svn:log V 45 Give a few functions more appropriate names. END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T10:59:40.540603Z K 7 svn:log V 14 Tidy up SRCS. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-28T11:27:01.739240Z K 7 svn:log V 146 MFcalloutng (r247427 by mav): We don't need any precision here. Let it be fast and dirty shift then slow and excessively precise 64-bit division. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-28T12:03:17.202220Z K 7 svn:log V 40 MFH (r240109): add a configtest command END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-28T12:09:36.912556Z K 7 svn:log V 45 MFC @247459 and fix corresponding breakages. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-28T13:46:03.513367Z K 7 svn:log V 289 MFcalloutng: Switch eventtimers(9) from using struct bintime to sbintime_t. Even before this not a single driver really supported full dynamic range of struct bintime even in theory, not speaking about practical inexpediency. This change legitimates the status quo and cleans up the code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-28T13:55:05.028776Z K 7 svn:log V 13 MFC @r247463 END K 10 svn:author V 7 zeising K 8 svn:date V 27 2013-02-28T15:17:24.869241Z K 7 svn:log V 100 MFC r246809: Change examples to be consistent with what style(9) says. Approved by: joel (mentor) END K 10 svn:author V 7 zeising K 8 svn:date V 27 2013-02-28T15:21:12.988683Z K 7 svn:log V 99 MFC r246809 Change examples to be consistent with what style(9) says. Approved by: joel (mentor) END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-28T16:22:49.445630Z K 7 svn:log V 26 MFcalloutng: Style fixes. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-28T16:25:34.166623Z K 7 svn:log V 166 MFC r235451: Move reset of USB mouse parameters from the USB mouse attach to the USB mouse device open. Protect against multi character device open. Some other nits. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-28T16:32:25.554225Z K 7 svn:log V 59 MFC r246021 and r228637: Add new USB IDs. PR: usb/175639 END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-02-28T16:32:36.755067Z K 7 svn:log V 310 MFC r247104: Fix tcp_lro_rx_ipv4() for drivers that do not set CSUM_IP_CHECKED. Specifcially, in_cksum_hdr() returns 0 (not 0xffff) when the IPv4 checksum is correct. Without this fix, the tcp_lro code will reject good IPv4 traffic from drivers that do not implement IPv4 header harder csum offload. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-28T16:36:12.120267Z K 7 svn:log V 42 MFC r246944: Fix bad EEPROM parsing code. END K 10 svn:author V 8 gallatin K 8 svn:date V 27 2013-02-28T16:38:28.844799Z K 7 svn:log V 705 MFC r247133 and associated fixes (r247151, r247152): r247133: Improve mxge's receive performance for IPv6: - Add support for IPv6 rx csum offload - Finally switch mxge from using its own driver lro, to using tcp_lro r247151: Fix build. r247152: Try harder to make mxge safe for all combinations of INET and INET6 - Re-fix build by restoring local removed in r247151, but protected by #if defined(INET) || defined(INET6) so that the compile succeeds in the !(INET||INET6) case. - Protect call to in_pseudo() with an #ifdef INET, to allow a kernel to link with mxge when INET is not compiled in. - Also remove an errant (improperly commented) obsolete debugging printf END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-28T16:39:44.215239Z K 7 svn:log V 42 MFC r246944: Fix bad EEPROM parsing code. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-28T16:43:41.228639Z K 7 svn:log V 62 MFC r246753: Add new USB ID to FTDI driver. PR: kern/175893 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-28T16:56:08.633777Z K 7 svn:log V 113 MFC r246789: Add USB API to read power draw on USB devices. Update usbconfig to print power draw on USB devices. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-28T17:10:30.232232Z K 7 svn:log V 170 Move the definition of sbintime_t type from to . With this change we prevent gross namespace pollution. Reported by: bde Suggested by: attilio END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-28T17:30:19.930615Z K 7 svn:log V 68 Merge head r247464 through r247476 (with some minor modifications). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:10:20.279263Z K 7 svn:log V 493 MFC 240968: Merge similar fixes from 223198 from igb to ixgbe: - Use a dedicated task to handle deferred transmits from the if_transmit method instead of reusing the existing per-queue interrupt task. Reusing the per-queue interrupt task could result in both an interrupt thread and the taskqueue thread trying to handle received packets on a single queue resulting in out-of-order packet processing and lock contention. - Don't define ixgbe_start() at all when if_transmit is used. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:10:35.708952Z K 7 svn:log V 493 MFC 240968: Merge similar fixes from 223198 from igb to ixgbe: - Use a dedicated task to handle deferred transmits from the if_transmit method instead of reusing the existing per-queue interrupt task. Reusing the per-queue interrupt task could result in both an interrupt thread and the taskqueue thread trying to handle received packets on a single queue resulting in out-of-order packet processing and lock contention. - Don't define ixgbe_start() at all when if_transmit is used. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:12:56.197076Z K 7 svn:log V 137 MFC 241198: Display the matrix of inter-domain distances in the SLIT table. This is used to complement the SRAT table on NUMA machines. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:22:41.144198Z K 7 svn:log V 387 MFC 241027: - Re-shuffle the headers to move all kernel-specific bits under #ifdef _KERNEL but leave definitions for various structures defined by standards ($PIR table, SMAP entries, etc.) available to userland. - Consolidate duplicate SMBIOS table structure definitions in ipmi(4) and smbios(4) in and make them available to userland. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:22:50.387692Z K 7 svn:log V 387 MFC 241027: - Re-shuffle the headers to move all kernel-specific bits under #ifdef _KERNEL but leave definitions for various structures defined by standards ($PIR table, SMAP entries, etc.) available to userland. - Consolidate duplicate SMBIOS table structure definitions in ipmi(4) and smbios(4) in and make them available to userland. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:24:07.677543Z K 7 svn:log V 57 MFC 241730: Correct the order of the MFU and MRU labels. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:24:14.931634Z K 7 svn:log V 57 MFC 241730: Correct the order of the MFU and MRU labels. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-28T18:43:50.260891Z K 7 svn:log V 31 Pull in OpenSSH 6.1 from head. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2013-02-28T18:46:56.232893Z K 7 svn:log V 145 MFC r247071: Don't worry if a module is already loaded when looking for a fstype to mount (possible in a race condition). Reviewed by: kib END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:49:31.943124Z K 7 svn:log V 712 MFC 241748: When checking to see if a video output's _ADR matches an entry in the parent adapter's _DOD list, only check the low 16 bits of both _ADR and _DOD. The language in the ACPI spec seems to indicate that the _ADR values should exactly match the entries in _DOD. However, I assume that the masking added to _DOD values was added to work around some known busted machines (the commit history doesn't indicate either way), and the ACPI spec does require that the low 16 bits are unique for all video outputs, so only checking the low 16 bits should be fine. This fixes recognition of video outputs that use the new standardized device ID scheme in ACPI 3.0 that set bit 31 such as certain Dell laptops. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:49:40.856612Z K 7 svn:log V 712 MFC 241748: When checking to see if a video output's _ADR matches an entry in the parent adapter's _DOD list, only check the low 16 bits of both _ADR and _DOD. The language in the ACPI spec seems to indicate that the _ADR values should exactly match the entries in _DOD. However, I assume that the masking added to _DOD values was added to work around some known busted machines (the commit history doesn't indicate either way), and the ACPI spec does require that the low 16 bits are unique for all video outputs, so only checking the low 16 bits should be fine. This fixes recognition of video outputs that use the new standardized device ID scheme in ACPI 3.0 that set bit 31 such as certain Dell laptops. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:58:37.075987Z K 7 svn:log V 217 MFC 245471: Do not require a filter-only interrupt handler for puc ports that are not serial devices (such as printer ports). This allows ppc devices attached to puc to correctly setup an interrupt handler and work. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T18:59:00.500795Z K 7 svn:log V 217 MFC 245471: Do not require a filter-only interrupt handler for puc ports that are not serial devices (such as printer ports). This allows ppc devices attached to puc to correctly setup an interrupt handler and work. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T19:00:57.427104Z K 7 svn:log V 241 MFC 245476: - More properly handle interrupted NFS requests on an interruptible mount by returning an error of EINTR rather than EACCES. - While here, bring back some (but not all) of the NFS RPC statistics lost when krpc was committed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T19:01:04.595864Z K 7 svn:log V 241 MFC 245476: - More properly handle interrupted NFS requests on an interruptible mount by returning an error of EINTR rather than EACCES. - While here, bring back some (but not all) of the NFS RPC statistics lost when krpc was committed. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-28T19:35:04.057892Z K 7 svn:log V 34 Implement pselect6() system call. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2013-02-28T19:36:22.598081Z K 7 svn:log V 19 Regen for r247493. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-28T19:43:14.200598Z K 7 svn:log V 427 Add hooks for plugging platform-provided transfer backend. In order to use platorm backend hardware driver should impement three methods: - platform_start_transfer and platform_finish_transfer to start and finish transfer - platform_will_handle - check whether transaction is suitable for backend. If not - driver will fall back to PIO mode. Submitted by: Daisuke Aoyama Approved by: ian@ END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-28T19:48:19.817290Z K 7 svn:log V 148 Add driver for BCM2835's DMA engine This is a version of code submitted by Daisuke Aoyama with some architectural changes. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-02-28T19:51:30.710261Z K 7 svn:log V 125 Add platform DMA support to SDHCI driver for BCM2835 Submitted by: Daisuke Aoyama Reviewed by: ian@ END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T21:24:10.437921Z K 7 svn:log V 542 MFC 245238: Add an option to not drop options from the third retransmitted SYN. If the SYNs (or SYN/ACK replies) are dropped due to network congestion, then the remote end of the connection may act as if options such as window scaling are enabled but the local end will think they are not. This can result in very slow data transfers in the case of window scaling disagreements. Note that the unlike HEAD the existing behavior is preserved by default, but it can be disabled by setting the net.inet.tcp.rexmit_drop_options sysctl to zero. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T21:24:19.721662Z K 7 svn:log V 542 MFC 245238: Add an option to not drop options from the third retransmitted SYN. If the SYNs (or SYN/ACK replies) are dropped due to network congestion, then the remote end of the connection may act as if options such as window scaling are enabled but the local end will think they are not. This can result in very slow data transfers in the case of window scaling disagreements. Note that the unlike HEAD the existing behavior is preserved by default, but it can be disabled by setting the net.inet.tcp.rexmit_drop_options sysctl to zero. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-28T21:32:47.461935Z K 7 svn:log V 59 MFH (r240107,240111,240361): warn against using weak PRNGs END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-02-28T21:55:57.944645Z K 7 svn:log V 373 MFC of the ixgbe driver including revisions: 217556,219902,228276,229767,229939,230572,231796,232238, 234137,234229,235547,235964,236627,236729,238149,239940, 240155,240366,240968,241037,241616,241646,241856,241885, 242403,242421,243714,243716,243718,243721,243724,243725, 243728,243729,243733,243735,243736,243741,243833,243857, 244514,245952,246128,246482,247035,247056 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T21:57:38.656874Z K 7 svn:log V 778 MFC 245508,245566,245568,245611,245909: Various fixes to timestamps in NFS: - Use the VA_UTIMES_NULL flag to detect when NULL was passed to utimes() instead of comparing the desired time against the current time as a heuristic. - Remove unused nfs_curusec(). - Use vfs_timestamp() to set file timestamps rather than invoking getmicrotime() or getnanotime() directly in NFS. - Use NFSD_MONOSEC (which maps to time_uptime) instead of the seconds portion of wall-time stamps to manage timeouts on events. - Remove unused nd_starttime from the per-request structure in the new NFS server. - Use nanotime() for the modification time on a delegation to get as precise a time as possible. - Use time_second instead of extracting the second from a call to getmicrotime(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-28T21:58:07.435150Z K 7 svn:log V 778 MFC 245508,245566,245568,245611,245909: Various fixes to timestamps in NFS: - Use the VA_UTIMES_NULL flag to detect when NULL was passed to utimes() instead of comparing the desired time against the current time as a heuristic. - Remove unused nfs_curusec(). - Use vfs_timestamp() to set file timestamps rather than invoking getmicrotime() or getnanotime() directly in NFS. - Use NFSD_MONOSEC (which maps to time_uptime) instead of the seconds portion of wall-time stamps to manage timeouts on events. - Remove unused nd_starttime from the per-request structure in the new NFS server. - Use nanotime() for the modification time on a delegation to get as precise a time as possible. - Use time_second instead of extracting the second from a call to getmicrotime(). END K 10 svn:author V 5 benno K 8 svn:date V 27 2013-02-28T22:31:26.240621Z K 7 svn:log V 40 Make this more palatable to clang/llvm. END