ļ/252190 130 10874 129 735 285 285 120 126 162 162 278 149 324 282 552 165 612 314 131 134 1108 159 159 450 250 1975 279 131 131 274 438 448 409 722 991 759 218 532 330 208 159 427 476 128 337 574 272 296 275 252 454 165 182 152 285 447 199 218 212 109 113 150 134 143 219 99 99 117 114 113 126 1574 220 954 288 201 213 214 207 211 488 307 517 425 282 352 298 159 452 912 116 169 124 174 116 197 164 164 565 232 552 561 748 275 132 218 270 730 170 395 152 653 285 107 159 159 680 384 449 384 106 1229 329 208 206 184 857 109 951 911 403 K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-06-25T02:47:41.080854Z K 7 svn:log V 10776 Import wpa_supplicant / hostapd 2.0. 2013-01-12 - v2.0 * added AP-STA-DISCONNECTED ctrl_iface event * improved debug logging (human readable event names, interface name included in more entries) * added number of small changes to make it easier for static analyzers to understand the implementation * added a workaround for Windows 7 Michael MIC failure reporting and use of the Secure bit in EAPOL-Key msg 3/4 * fixed number of small bugs (see git logs for more details) * changed OpenSSL to read full certificate chain from server_cert file * nl80211: number of updates to use new cfg80211/nl80211 functionality - replace monitor interface with nl80211 commands - additional information for driver-based AP SME * EAP-pwd: - fix KDF for group 21 and zero-padding - added support for fragmentation - increased maximum number of hunting-and-pecking iterations * avoid excessive Probe Response retries for broadcast Probe Request frames (only with drivers using hostapd SME/MLME) * added preliminary support for using TLS v1.2 (CONFIG_TLSV12=y) * fixed WPS operation stopping on dual concurrent AP * added wps_rf_bands configuration parameter for overriding RF Bands value for WPS * added support for getting per-device PSK from RADIUS Tunnel-Password * added support for libnl 3.2 and newer * increased initial group key handshake retransmit timeout to 500 ms * added a workaround for 4-way handshake to update SNonce even after having sent EAPOL-Key 3/4 to avoid issues with some supplicant implementations that can change SNonce for each EAP-Key 2/4 * added a workaround for EAPOL-Key 4/4 using incorrect type value in WPA2 mode (some deployed stations use WPA type in that message) * added a WPS workaround for mixed mode AP Settings with Windows 7 * changed WPS AP PIN disabling mechanism to disable the PIN after 10 consecutive failures in addition to using the exponential lockout period * added support for WFA Hotspot 2.0 - GAS/ANQP advertisement of network information - disable_dgaf parameter to disable downstream group-addressed forwarding * simplified licensing terms by selecting the BSD license as the only alternative * EAP-SIM: fixed re-authentication not to update pseudonym * EAP-SIM: use Notification round before EAP-Failure * EAP-AKA: added support for AT_COUNTER_TOO_SMALL * EAP-AKA: skip AKA/Identity exchange if EAP identity is recognized * EAP-AKA': fixed identity for MK derivation * EAP-AKA': updated to RFC 5448 (username prefixes changed); note: this breaks interoperability with older versions * EAP-SIM/AKA: allow pseudonym to be used after unknown reauth id * changed ANonce to be a random number instead of Counter-based * added support for canceling WPS operations with hostapd_cli wps_cancel * fixed EAP/WPS to PSK transition on reassociation in cases where deauthentication is missed * hlr_auc_gw enhancements: - a new command line parameter -u can be used to enable updating of SQN in Milenage file - use 5 bit IND for SQN updates - SQLite database can now be used to store Milenage information * EAP-SIM/AKA DB: added optional use of SQLite database for pseudonyms and reauth data * added support for Chargeable-User-Identity (RFC 4372) * added radius_auth_req_attr and radius_acct_req_attr configuration parameters to allow adding/overriding of RADIUS attributes in Access-Request and Accounting-Request packets * added support for RADIUS dynamic authorization server (RFC 5176) * added initial support for WNM operations - BSS max idle period - WNM-Sleep Mode * added new WPS NFC ctrl_iface mechanism - removed obsoleted WPS_OOB command (including support for deprecated UFD config_method) * added FT support for drivers that implement MLME internally * added SA Query support for drivers that implement MLME internally * removed default ACM=1 from AC_VO and AC_VI * changed VENDOR-TEST EAP method to use proper private enterprise number (this will not interoperate with older versions) * added hostapd.conf parameter vendor_elements to allow arbitrary vendor specific elements to be added to the Beacon and Probe Response frames * added support for configuring GCMP cipher for IEEE 802.11ad * added support for 256-bit AES with internal TLS implementation * changed EAPOL transmission to use AC_VO if WMM is active * fixed EAP-TLS/PEAP/TTLS/FAST server to validate TLS Message Length correctly; invalid messages could have caused the hostapd process to terminate before this fix [CVE-2012-4445] * limit number of active wildcard PINs for WPS Registrar to one to avoid confusing behavior with multiple wildcard PINs * added a workaround for WPS PBC session overlap detection to avoid interop issues with deployed station implementations that do not remove active PBC indication from Probe Request frames properly * added support for using SQLite for the eap_user database * added Acct-Session-Id attribute into Access-Request messages * fixed EAPOL frame transmission to non-QoS STAs with nl80211 (do not send QoS frames if the STA did not negotiate use of QoS for this association) 2012-05-10 - v1.0 * Add channel selection support in hostapd. See hostapd.conf. * Add support for IEEE 802.11v Time Advertisement mechanism with UTC TSF offset. See hostapd.conf for config info. * Delay STA entry removal until Deauth/Disassoc TX status in AP mode. This allows the driver to use PS buffering of Deauthentication and Disassociation frames when the STA is in power save sleep. Only available with drivers that provide TX status events for Deauth/ Disassoc frames (nl80211). * Allow PMKSA caching to be disabled on the Authenticator. See hostap.conf config parameter disable_pmksa_caching. * atheros: Add support for IEEE 802.11w configuration. * bsd: Add support for setting HT values in IFM_MMASK. * Allow client isolation to be configured with ap_isolate. Client isolation can be used to prevent low-level bridging of frames between associated stations in the BSS. By default, this bridging is allowed. * Allow coexistance of HT BSSes with WEP/TKIP BSSes. * Add require_ht config parameter, which can be used to configure hostapd to reject association with any station that does not support HT PHY. * Add support for writing debug log to a file using "-f" option. Also add relog CLI command to re-open the log file. * Add bridge handling for WDS STA interfaces. By default they are added to the configured bridge of the AP interface (if present), but the user can also specify a separate bridge using cli command wds_bridge. * hostapd_cli: - Add wds_bridge command for specifying bridge for WDS STA interfaces. - Add relog command for reopening log file. - Send AP-STA-DISCONNECTED event when an AP disconnects a station due to inactivity. - Add wps_config ctrl_interface command for configuring AP. This command can be used to configure the AP using the internal WPS registrar. It works in the same way as new AP settings received from an ER. - Many WPS/WPS ER commands - see WPS/WPS ER sections for details. - Add command get version, that returns hostapd version string. * WNM: Add BSS Transition Management Request for ESS Disassoc Imminent. Use hostapd_cli ess_disassoc (STA addr) (URL) to send the notification to the STA. * Allow AP mode to disconnect STAs based on low ACK condition (when the data connection is not working properly, e.g., due to the STA going outside the range of the AP). Disabled by default, enable by config option disassoc_low_ack. * Add WPA_IGNORE_CONFIG_ERRORS build option to continue in case of bad config file. * WPS: - Send AP Settings as a wrapped Credential attribute to ctrl_iface in WPS-NEW-AP-SETTINGS. - Dispatch more WPS events through hostapd ctrl_iface. - Add mechanism for indicating non-standard WPS errors. - Change concurrent radio AP to use only one WPS UPnP instance. - Add wps_check_pin command for processing PIN from user input. UIs can use this command to process a PIN entered by a user and to validate the checksum digit (if present). - Add hostap_cli get_config command to display current AP config. - Add new hostapd_cli command, wps_ap_pin, to manage AP PIN at runtime and support dynamic AP PIN management. - Disable AP PIN after 10 consecutive failures. Slow down attacks on failures up to 10. - Allow AP to start in Enrollee mode without AP PIN for probing, to be compatible with Windows 7. - Add Config Error into WPS-FAIL events to provide more info to the user on how to resolve the issue. - When controlling multiple interfaces: - apply WPS commands to all interfaces configured to use WPS - apply WPS config changes to all interfaces that use WPS - when an attack is detected on any interface, disable AP PIN on all interfaces * WPS ER: - Show SetSelectedRegistrar events as ctrl_iface events. - Add special AP Setup Locked mode to allow read only ER. ap_setup_locked=2 can now be used to enable a special mode where WPS ER can learn the current AP settings, but cannot change them. * WPS 2.0: Add support for WPS 2.0 (CONFIG_WPS2) - Add build option CONFIG_WPS_EXTENSIBILITY_TESTING to enable tool for testing protocol extensibility. - Add build option CONFIG_WPS_STRICT to allow disabling of WPS workarounds. - Add support for AuthorizedMACs attribute. * TDLS: - Allow TDLS use or TDLS channel switching in the BSS to be prohibited in the BSS, using config params tdls_prohibit and tdls_prohibit_chan_switch. * EAP server: Add support for configuring fragment size (see fragment_size in hostapd.conf). * wlantest: Add a tool wlantest for IEEE802.11 protocol testing. wlantest can be used to capture frames from a monitor interface for realtime capturing or from pcap files for offline analysis. * Interworking: Support added for 802.11u. Enable in .config with CONFIG_INTERWORKING. See hostapd.conf for config parameters for interworking. * Android: Add build and runtime support for Android hostapd. * Add a new debug message level for excessive information. Use -ddd to enable. * TLS: Add support for tls_disable_time_checks=1 in client mode. * Internal TLS: - Add support for TLS v1.1 (RFC 4346). Enable with build parameter CONFIG_TLSV11. - Add domainComponent parser for X.509 names * Reorder some IEs to get closer to IEEE 802.11 standard. Move WMM into end of Beacon, Probe Resp and (Re)Assoc Resp frames. Move HT IEs to be later in (Re)Assoc Resp. * Many bugfixes. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-06-25T02:48:36.356111Z K 7 svn:log V 34 Tag wpa_supplicant / hostapd 2.0. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-06-25T03:57:27.857449Z K 7 svn:log V 641 vtopte()/vtopde() can never be used to lookup the PTE/PDE associated with a guest physical address since the page tables pointed to by the nested pmap are never installed in the host %cr3. The recursive mapping used by these functions will end up using the page tables associated with the host thread that provides the execution context for the vcpu - which is clearly wrong! Since the user virtual address space is numerically identical to the guest physical address space this restriction can be expressed in terms of VM_MAXUSER_ADDRESS. This is safe because the amd64/pmap code never uses vtopte()/vtopde() for user virtual addresses. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-06-25T04:42:16.341221Z K 7 svn:log V 189 MFC r251796 Fix setting of the Rx filters QEMU 1.4 made the descriptor requirement stricter - the size of buffer descriptor must exactly match the number of MAC addresses provided. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-06-25T04:44:42.723926Z K 7 svn:log V 189 MFC r251769 Fix setting of the Rx filters QEMU 1.4 made the descriptor requirement stricter - the size of buffer descriptor must exactly match the number of MAC addresses provided. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-06-25T05:05:10.216112Z K 7 svn:log V 28 Fix building of crypt_tests END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-06-25T06:43:04.124970Z K 7 svn:log V 32 Add support for D-Link DWA-131. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-25T07:05:08.699300Z K 7 svn:log V 70 MFC r251945: Pass proper memory type to free() in ata_ali_chipinit(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-25T07:11:07.937708Z K 7 svn:log V 70 MFC r251945: Pass proper memory type to free() in ata_ali_chipinit(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-25T07:17:10.145499Z K 7 svn:log V 185 MFC r251743: Improve firmware download status check. Previous check was insufficient for ATA since it ignored transport errors like command timeouts, while for SCSI it was just wrong. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-06-25T07:17:30.824162Z K 7 svn:log V 55 Regenerate usb.conf after r252196. Spotted by: rpaulo END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-25T07:27:23.784157Z K 7 svn:log V 231 MFC r251792: Restore use of polling mode for disk cache flush in case of kernel panic. While I am not sure that any extra hardware access is a good idea after panic, that is an existing behaviour that should better work correctly. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-25T07:32:49.821680Z K 7 svn:log V 189 MFC r249980: Give periph validity flag own periph reference. That slightly simplifies the release logic and covers hypothetical case if lock is dropped inside the periph_oninval() method. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-25T09:15:49.047375Z K 7 svn:log V 459 Add test for SATA registers writability and skip using them if it failed. There are some systems reported, where PCI BAR(5), used for SATA registers access, is present, but not functional. Attempt to use it brakes devices detection logic. Try to detect those cases on attach by setting and testing some bits in SControl register. If bits are unsettable, fallback to legacy ATA without hot-plug detection, speed control/reporting, etc. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-25T10:50:17.059797Z K 7 svn:log V 73 Add bunch of names for Seagate and HGST vennor-specififc ASC/ASCQ codes. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-25T15:45:31.660063Z K 7 svn:log V 519 If daily_status_security_inline is set, the rc value needs to be forced to 3 so that the output of this script is always displayed. In fact, setting this flag is identical to setting daily_status_security_output to an empty string. To make the logic less confusing, change the behavior of daily_status_security_inline such that it just forces daily_status_security_output to an empty string and then applies the normal logic. PR: conf/178611 Submitted by: Jason Unovitch MFC after: 3 days END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2013-06-25T17:50:22.914391Z K 7 svn:log V 217 Add Qlogic 10Gb Ethernet Driver for Qlogic 8100 Series CNA Adapter Driver version (v2.0.0) Submitted by: David C Somayajulu (davidcs@freebsd.org) QLogic Corporation Approved by: George Neville-Neil (gnn@freebsd.org) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-25T17:50:48.842007Z K 7 svn:log V 36 Add include path to the ar9300 HAL. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2013-06-25T17:55:12.645130Z K 7 svn:log V 42 Release David Somayajulu from mentorship. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-25T18:44:15.001477Z K 7 svn:log V 1014 Several improvements to rmlock(9). Many of these are based on patches provided by Isilon. - Add an rm_assert() supporting various lock assertions similar to other locking primitives. Because rmlocks track readers the assertions are always fully accurate unlike rw_assert() and sx_assert(). - Flesh out the lock class methods for rmlocks to support sleeping via condvars and rm_sleep() (but only while holding write locks), rmlock details in 'show lock' in DDB, and the lc_owner method used by dtrace. - Add an internal destroyed cookie so that API functions can assert that an rmlock is not destroyed. - Make use of rm_assert() to add various assertions to the API (e.g. to assert locks are held when an unlock routine is called). - Give RM_SLEEPABLE locks their own lock class and always use the rmlock's own lock_object with WITNESS. - Use THREAD_NO_SLEEPING() / THREAD_SLEEPING_OK() to disallow sleeping while holding a read lock on an rmlock. Submitted by: andre Obtained from: EMC/Isilon END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-06-25T20:02:57.082324Z K 7 svn:log V 64 MFC r250377: Allow the use of lowercase 'yes' PR: bin/178422 END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-06-25T20:03:06.127788Z K 7 svn:log V 64 MFC r250377: Allow the use of lowercase 'yes' PR: bin/178422 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-25T20:23:08.377200Z K 7 svn:log V 357 A few mostly cosmetic nits to aid in debugging: - Call lock_init() first before setting any lock_object fields in lock init routines. This way if the machine panics due to a duplicate init the lock's original state is preserved. - Somewhat similarly, don't decrement td_locks and td_slocks until after an unlock operation has completed successfully. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-25T21:34:21.562917Z K 7 svn:log V 153 Update vendor/illumos/dist to illumos-gate 14056:812b3d1ca0a0 Illumos ZFS issues: 3818 zpool status -x should report pools with removed l2arc devices END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-06-25T21:43:49.862902Z K 7 svn:log V 1881 MFC: 249658, 249701 Update chio(1) and ch(4) to support reporting element designators. This allows mapping a tape drive in a changer (as reported by 'chio status') to a sa(4) driver instance by comparing the serial numbers. The designators can be ASCII (which is printed out directly), binary (which is printed in hex format) or UTF-8, which is printed in either native UTF-8 format if the terminal can support it, or in %XX notation for non-ASCII characters. Thanks to Hiroki Sato for the explanation and example UTF-8 printing code. chio.h: Modify the changer_element_status structure to add new fields and definitions from the SMC3r16 spec. Rename the original CHIOGSTATUS ioctl to OCHIOGTATUS and define a new CHIOGSTATUS ioctl. Clean up some tab/space issues. chio.c: For the 'status' subcommand, print the designator field if it is supplied by a device. scsi_ch.h: Add new flags for DVCID and CURDATA to the READ ELEMENT STATUS command structure. Add a read_element_status_device_id structure for the data fields in the new standard. Add new unions, dt_or_obsolete and voltage_devid, to hold and address data from either SCSI-2 or newer devices. scsi_ch.c: Implement support for fetching device IDs with READ ELEMENT STATUS data. Add new arguments to scsi_read_element_status() to allow the user to request the DVCID and CURDATA bits. This isn't compiled into libcam (it's only an internal kernel interface), so we don't need any special handling for the API change. If the user issues the new CHIOGSTATUS ioctl, copy all of the available element status data out. If he issues the OCHIOGSTATUS ioctl, we don't copy the new fields in the structure. Fix a bug in chopen() that would result in the peripheral never getting unheld if chgetparams() failed. Sponsored by: Spectra Logic Submitted by: Po-Li Soong END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-25T21:44:48.473025Z K 7 svn:log V 182 Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 14060:aeb4e8fef072 Illumos ZFS issues: 3829 fix for 3740 changed behavior of zfs destroy/hold/release ioctl END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-06-25T21:49:06.882412Z K 7 svn:log V 38 MFC r251560 Fix a bad calloc(3) call END K 10 svn:author V 4 bapt K 8 svn:date V 27 2013-06-25T21:50:05.534844Z K 7 svn:log V 38 MFC r251560 Fix a bad calloc(3) call END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-25T21:51:52.345459Z K 7 svn:log V 177 Diff reduction against Illumos, no real change to code itself. This marks vendor branch revision 252213 as merged, the actual code was committed in r245479. MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-25T22:14:32.370113Z K 7 svn:log V 341 MFV r252215: Restore a previous behavior before r251646, where when destructing ZFS snapshot, the ioctl would return ENOENT when it hit any of them in the errlist (the new behavior was only return ENOENT when all returns error). Illumos ZFS issues: 3829 fix for 3740 changed behavior of zfs destroy/hold/release ioctl MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-25T22:46:52.313298Z K 7 svn:log V 351 Reimplement the busy mechanism by using atomics and not depending by object lock for the operation themselves. This way the busy can be performed also within a path where the obj is locked in read way. vm_page_sleep() is renamed into vm_page_busy_sleep() in order to show it is a busy specific operation. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-25T23:30:48.109743Z K 7 svn:log V 310 MFC r240616, r240619, r240620: Merge initial NVM Express (NVMe) commits to stable/9. This only pulls the nvme(4), nvd(4) and nvmecontrol(8) code into stable/9. A follow-up commit will link it into the build and merge all of the additional commits made for NVMe over the last few months. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-25T23:52:39.797706Z K 7 svn:log V 623 240618, 240621, 240633, 240671, 240672, 240697, 240700, 241433, 241434, 241657, 241658, 241659, 241660, 241661, 241662, 241663, 241664, 241665, 241689, 242420, 243951, 244410, 244411, 244413, 244549, 245136, 247963, 248729, 248730, 248731, 248732, 248733, 248734, 248735, 248736, 248737, 248738, 248739, 248740, 248741, 248746, 248747, 248748, 248749, 248754, 248755, 248756, 248757, 248758, 248759, 248760, 248761, 248762, 248763, 248764, 248765, 248766, 248767, 248768, 248769, 248770, 248771, 248772, 248773, 248780, 248834, 248835, 248913, 248977, 249067, 249416, 249417, 249418, 249419, 249420, 249421, 249422, 249432 END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T00:09:04.393581Z K 7 svn:log V 892 Forced commit due to bad commit message in r252222. MFC: r240618, r240621, r240633, r240671, r240672, r240697, r240700, r241433, r241434, r241657, r241658, r241659, r241660, r241661, r241662, r241663, r241664, r241665, r241689, r242420, r243951, r244410, r244411, r244413, r244549, r245136, r247963, r248729, r248730, r248731, r248732, r248733, r248734, r248735, r248736, r248737, r248738, r248739, r248740, r248741, r248746, r248747, r248748, r248749, r248754, r248755, r248756, r248757, r248758, r248759, r248760, r248761, r248762, r248763, r248764, r248765, r248766, r248767, r248768, r248769, r248770, r248771, r248772, r248773, r248780, r248834, r248835, r248913, r248977, r249067, r249416, r249417, r249418, r249419, r249420, r249421, r249422, r249432 Merge all NVMe-related changes since the original code was added to HEAD, including linking it into the build. Sponsored by: Intel END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-06-26T00:38:40.157652Z K 7 svn:log V 666 MFC r251652, r251811, r252101: r251652: Add new script to run release builds. The script is heavily based upon the release/generate-release.sh script by nwhitehorn. This script can use optional configuration file to override defaults, making running multiple serialzied builds with different specific configurations or architecture-specific tunings quite easy. Sample overrideable options are included in the release.conf.sample file. r251811: Fix OSVERSION variable within PBUILD_FLAGS. r252101: If MAKE_CONF and/or SRC_CONF are set and not character devices, copy to chroot to use with release build. Approved by: kib (mentor, implicit) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-06-26T00:42:45.680355Z K 7 svn:log V 125 Set SRCBRANCH to stable/9 in release.conf.sample. This is a direct commit to stable/9. Approved by: kib (mentor, implicit) END K 10 svn:author V 4 jeff K 8 svn:date V 27 2013-06-26T00:57:38.567671Z K 7 svn:log V 438 - Resolve bucket recursion issues by passing a cookie with zone flags through bucket_alloc() to uma_zalloc_arg() and uma_zfree_arg(). - Make some smaller buckets for large zones to further reduce memory waste. - Implement uma_zone_reserve(). This holds aside a number of items only for callers who specify M_USE_RESERVE. buckets will never be filled from reserve allocations. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 yongari K 8 svn:date V 27 2013-06-26T01:15:40.378226Z K 7 svn:log V 233 Don't blidly clear GPIOs configuration. Just use firmware configured one. This change also fixes non-working traffic LED on BCM57780. Submitted by: Masanobu SAITOH Tested by: Alexander Milanov END K 10 svn:author V 4 feld K 8 svn:date V 27 2013-06-26T02:21:37.813162Z K 7 svn:log V 114 - Adding myself to the committers-ports.dot - Adding myself to the freebsd calendar Approved by: swills (mentor) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-06-26T02:56:54.721085Z K 7 svn:log V 64 Print the 'setting internal ...' message only with bootverbose. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-06-26T04:00:52.883657Z K 7 svn:log V 331 Implement ifconfig_wlanX="HOSTAP". Not only this is a bit cleaner, it allows multiple instances of hostapd to be running on the system host, useful for simultaneous dual-band WiFi. This is similar to ifconfig_wlanX="WPA" but it uses /etc/hostapd-wlanX.conf. Compatibility with hostapd_enable=YES/NO was kept. Reviewed by: adrian END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-26T04:14:19.402146Z K 7 svn:log V 383 sed: use getline() instead of fgetln(). In BSD, fgetln() available in libc but in Illumos the Solaris port had to include it internally. It also seems to have caused problems [1]. Aid portability by using getline() instead. Reference: https://www.illumos.org/issues/3820 [1] Submitted by: Johann 'Myrkraverk' Oskarsson Reviewed by: dds MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-06-26T04:33:32.135050Z K 7 svn:log V 33 Document ifconfig_wlanX="HOSTAP" END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T04:33:57.240053Z K 7 svn:log V 241 Add a stub AR93xx RF module just to keep the linker happy. When building AR933x test images, I'd like to only build only the ar9300 HAL. To do this, it needs to supply an RF linker entry or it won't compile. Tested: * AR933x test builds END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-26T04:34:16.233512Z K 7 svn:log V 481 MFC r252103: Define and use e2fs_lbn_t in ext2fs. In line to what is done in UFS, define an internal type e2fs_lbn_t for the logical block numbers. This change is basically a no-op as the new type is unchanged (int32_t) but it may be useful as bumping this may be required for ext4fs. Also, as pointed out by Bruce Evans: -Use daddr_t for daddr in ext2_bmaparray(). This seems to improve reliability with the reallocblks option. - Add a cast to the fsbtodb() macro as in UFS. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T04:34:45.152710Z K 7 svn:log V 176 In preparation to support AR933x SoC builds, allow the AH_SUPPORT_AR93(xx) options to set the AR9300 HAL defines. This enables the Wasp, Hornet (and later Scorpion) SoC code. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T04:46:03.835631Z K 7 svn:log V 200 Add a HAL local routine to map the 2GHz channel frequency to an IEEE channel. There's some HAL code in the AR9300 HAL that requires a back-mapping and using the net80211 code isn't appropriate here. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T04:46:43.093102Z K 7 svn:log V 179 Re-enable the channel set code for the AR933x. This required a HAL change to map the 2GHz frequency back to an IEEE channel number in order to fetch some value(s) to program in. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T04:53:33.674151Z K 7 svn:log V 156 If EEPROM data is provided by the AHB layer, copy it in. This is required for the flash layer code to correctly work. Tested: * AR9330 SoC (carambola 2) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T04:58:25.892685Z K 7 svn:log V 358 Extend the AHB code to work on chips besides the AR9130. The AHB code: * hard coded the AR9130 device id; * assumes a 4k flash calibration space. This code now extends this: * hint.ath.X.eepromsize now overrides the eeprom range, instead of 4k * hint.ath.X.device_id and hint.ath.X.vendor_id can now be overridden. Tested: * AR9330 board (Carambola 2) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T05:01:50.184539Z K 7 svn:log V 70 Add in two new configuration options for the current generation SoCs. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T05:02:30.994196Z K 7 svn:log V 87 Add the wireless support to the AR933x base kernel, as the support actually works now. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T05:02:47.769264Z K 7 svn:log V 57 Add in the vendor / device id so the ath_ahb glue works. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-06-26T05:03:47.537973Z K 7 svn:log V 189 Add the EEPROM start offset and size in so ath_ahb will use the supplied EEPROM data. This needs to die in a fire and replaced with the firmware API to store the calibration data early .. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-06-26T05:36:51.828803Z K 7 svn:log V 353 Add a function to initialize a pmap with the specified type. The existing pmap_pinit() now becomes a wrapper around this function. Install the shared kernel mappings only in regular x86 page tables. These mappings are meaningless in a nested page table which describes the guest physical address space. This was prompted by a discussion with Alax Cox. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-26T05:49:29.348597Z K 7 svn:log V 106 MFC r251985: When enabling the cancellation, only process the pending cancellation for asynchronous mode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-26T05:54:37.526527Z K 7 svn:log V 125 MFC r251988: Some clarifications and updates for the comments, mostly retrieved from Bruce Evans. Trim the trailing spaces. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-06-26T07:19:05.489259Z K 7 svn:log V 118 Add a 'pmap_t' parameter to 'pmap_cache_bits()' to return the bits appropriate for regular versus nested page tables. END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-06-26T09:04:26.776107Z K 7 svn:log V 16 merge with head END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-06-26T09:21:36.704119Z K 7 svn:log V 20 import mq_bpf patch END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-26T09:56:33.566549Z K 7 svn:log V 58 Fix some UTF-8 chars slipped into r252204 via copy/paste. END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-06-26T10:34:42.942090Z K 7 svn:log V 41 inital import for bhyve_standalone_guest END K 10 svn:author V 3 des K 8 svn:date V 27 2013-06-26T12:57:21.074070Z K 7 svn:log V 51 As of 5.90040, Unicode::Encoding is a core module. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-26T17:59:00.067911Z K 7 svn:log V 122 Check-in a fix to the runlock algorithm that should have been there already. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-26T18:07:51.541787Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-26T18:12:38.187714Z K 7 svn:log V 4 MFC END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-26T19:01:10.658823Z K 7 svn:log V 24 Import ACPICA 20130626. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-26T19:02:03.137528Z K 7 svn:log V 21 Tag ACPICA 20130626. END K 10 svn:author V 4 syuu K 8 svn:date V 27 2013-06-26T19:04:32.024741Z K 7 svn:log V 20 arg fix for tcpdump END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-06-26T19:43:22.023970Z K 7 svn:log V 34 Minor sorting. MFC after: 3 days END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-06-26T20:39:07.739601Z K 7 svn:log V 1478 In the Xen block front driver, take advantage of backends that support cache flush and write barrier commands. sys/dev/xen/blkfront/block.h: Add per-command flag that specifies that the I/O queue must be frozen after this command is dispatched. This is used to implement "single-stepping". Remove the unused per-command flag that indicates a polled command. Add block device instance flags to record backend features. Add a block device instance flag to indicate the I/O queue is frozen until all outstanding I/O completes. Enhance the queue API to allow the number of elements in a queue to be interrogated. Prefer "inline" to "__inline". sys/dev/xen/blkfront/blkfront.c: Formalize queue freeze semantics by adding methods for both global and command-associated queue freezing. Provide mechanism to freeze the I/O queue until all outstanding I/O completes. Use this to implement barrier semantics (BIO_ORDERED) when the backend does not support BLKIF_OP_WRITE_BARRIER commands. Implement BIO_FLUSH as either a BLKIF_OP_FLUSH_DISKCACHE command or a 0 byte write barrier. Currently, all publicly available backends perform a diskcache flush when processing barrier commands, and this frontend behavior matches what is done in Linux. Simplify code by using new queue length API. Report backend features during device attach and via sysctl. Submitted by: Roger Pau Monn̩ Submitted by: gibbs (Merge with new driver queue API, sysctl support) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-26T21:58:28.715776Z K 7 svn:log V 123 Reintroduce a check that seems necessary for the time being. Sponsored by: EMC / Isilon storage division Reported by: pho END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T22:08:45.388367Z K 7 svn:log V 855 For ATA_PASSTHROUGH commands, pretend isci(4) supports multiword DMA by treating it as UDMA. This fixes a problem introduced in r249933/r249939, where CAM sends ATA_DSM_TRIM to SATA devices using ATA_PASSTHROUGH_16. scsi_ata_trim() sets protocol as DMA (not UDMA) which is for multi-word DMA, even though no such mode is selected for the device. isci(4) would fail these commands which is the correct behavior but not consistent with other HBAs, namely LSI's. smh@ did some further testing on an LSI controller, which rejected ATA_PASSTHROUGH_16 commands with mode=UDMA_OUT, even though only a UDMA mode was selected on the device. So this precludes adding any kind of mode detection in CAM to determine which mode to use on a per-device basis. Sponsored by: Intel Discussed with: scottl, smh Reported by: scottl Tested by: scottl MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T22:50:49.657699Z K 7 svn:log V 189 Add an open_dev() helper function to be used in the various places where nvmecontrol needs to open a handle to a controller or namespace device node. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T22:53:21.642336Z K 7 svn:log V 102 Add separate *_usage() functions for each nvmecontrol command. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T22:58:59.520695Z K 7 svn:log V 114 Break out code related to the devlist command into a separate source file. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:00:42.767837Z K 7 svn:log V 115 Break out code related to the identify command into a separate source file. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:02:48.148662Z K 7 svn:log V 108 Break out code related to the perftest command into a separate file. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:05:48.308900Z K 7 svn:log V 112 Break out code related to the reset command into a separate source file. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:11:20.894262Z K 7 svn:log V 389 Add an nvme_function structure array, defining the name, C function and usage message for each nvmecontrol command. This helps reduce some code clutter both now and for future commits which will add logpage and firmware support to nvmecontrol(8). Also move helper function prototypes to the end of the header file, after the per-command functions. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:20:08.995176Z K 7 svn:log V 208 Create #defines for NVME_CTRLR_PREFIX and NVME_NS_PREFIX for the "nvme" and "ns" strings, rather than hardcoding the string values throughout the nvmecontrol code base. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:27:17.631364Z K 7 svn:log V 418 Use MAXPHYS to specify the maximum I/O size for nvme(4). Also allow admin commands to transfer up to this maximum I/O size, rather than the artificial limit previously imposed. The larger I/O size is very beneficial for upcoming firmware download support. This has the added benefit of simplifying the code since both admin and I/O commands now use the same maximum I/O size. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:32:45.106285Z K 7 svn:log V 326 Fail any passthrough command whose transfer size exceeds the controller's max transfer size. This guards against rogue commands coming in from userspace. Also add KASSERTS for the virtual address and unmapped bio cases, if the transfer size exceeds the controller's max transfer size. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:37:11.504634Z K 7 svn:log V 183 Remove remaining uio-related code. The nvme_physio() function was removed quite a while ago, which was the only user of this uio-related code. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:41:07.490745Z K 7 svn:log V 253 Ensure that a device node is specified when invoking the identify or reset commands. Also improve the checking of device node names, so that better error messages are displayed when incorrect names are specified. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:46:31.873415Z K 7 svn:log V 199 Add generalized helper functions for printing hex data as part of nvmecontrol commands. Submitted by: Joe Golio Obtained from: EMC / Isilon Storage Division MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-26T23:52:10.765339Z K 7 svn:log V 66 Consistently cast ACPICA 64-bit integer types when we print them. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-26T23:53:54.494326Z K 7 svn:log V 353 Add log page support to nvmecontrol(8) through a new logpage command. This includes pretty printers for all of the standard NVMe log pages (Error, SMART/Health, Firmware), as well as hex output for non-standard or vendor-specific log pages. Submitted by: Joe Golio Obtained from: EMC / Isilon Storage Division MFC after: 3 days END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-27T00:08:25.395097Z K 7 svn:log V 813 Add firmware replacement and activation support to nvmecontrol(8) through a new firmware command. NVMe controllers may support up to 7 firmware slots for storing of different firmware revisions. This new firmware command supports firmware replacement (i.e. firmware download) with or without immediate activation, or activation of a previously stored firmware image. It also supports selection of the firmware slot during replacement operations, using IDENTIFY information from the controller to check that the specified slot is valid. Newly activated firmware does not take effect until the new controller reset, either via a reboot or separate 'nvmecontrol reset' command to the same controller. Submitted by: Joe Golio Obtained from: EMC / Isilon Storage Division MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-27T00:16:54.658359Z K 7 svn:log V 23 Merge ACPICA 20130626. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-27T00:22:40.163872Z K 7 svn:log V 76 Move definitions required by userland applications out of acpica_machdep.h. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-27T00:31:21.008671Z K 7 svn:log V 28 MFC r251129: libpcap 1.4.0. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-06-27T00:33:08.929601Z K 7 svn:log V 80 - Request non-cached memory for framebuffer - Properly probe/initialize syscons END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-27T00:37:59.790051Z K 7 svn:log V 20 MFC: tcpdump 4.4.0. END K 10 svn:author V 4 will K 8 svn:date V 27 2013-06-27T00:42:23.050622Z K 7 svn:log V 103 Create a new project branch for the VPS project. This commit is an unmodified copy of head at r251649. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-27T00:50:22.794954Z K 7 svn:log V 66 MFC r250613: Fix typo in net.inet.tcp.minmss sysctl description. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-06-27T00:51:47.210692Z K 7 svn:log V 66 MFC r250613: Fix typo in net.inet.tcp.minmss sysctl description. END K 10 svn:author V 4 will K 8 svn:date V 27 2013-06-27T00:56:09.380337Z K 7 svn:log V 471 Initial version of VPS - Virtual Private Systems for FreeBSD. VPS is an extension of the VIMAGE concept to the rest of the kernel (OS-level virtualization, similar to jails), and can e.g. migrate live VPSs from one host to another. It was presented at EuroBSDCon 2010, and has since received many fixes, been updated, cleaned up, and properly merged into the FreeBSD build by the author. Submitted by: Klaus P. Ohrhallinger URL: http://7he.at/freebsd/vps/ END K 10 svn:author V 3 mjg K 8 svn:date V 27 2013-06-27T02:27:13.107026Z K 7 svn:log V 139 MFC r249480: Add fdallocn function and use it when passing fds over unix socket. This gets rid of "unp_externalize fdalloc failed" panic. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-06-27T05:38:19.893352Z K 7 svn:log V 458 The regular x86 PTEs and nested PTEs are similar but not identical. In some instances they have bits that are equivalent but at different positions. In other instances a bit in the regular PTE has no equivalent in the nested PTE. The PG_G bit is an example of the latter. Undefine the PG_G macro in pmap.c so it is not inadvertently tested with nested PTEs. Use a function 'pmap_global_bit(pmap_t)' to compute the bitmask for the "global" bit in the PTE. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-06-27T06:37:24.860894Z K 7 svn:log V 467 The regular x86 PTEs and nested PTEs are very similar but not identical. In some instances they have bits that are equivalent but at different positions. In other instances a bit in the regular PTE has no equivalent in the nested PTE. The PG_A bit is an example of the former. Undefine the PG_A macro in pmap.c so it is not inadvertently tested with nested PTEs. Use a function 'pmap_accessed_bit(pmap_t)' to compute the bitmask for the "accessed" bit in the PTE. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-27T06:57:09.288632Z K 7 svn:log V 655 MFC 230423, 230612, 232964, 252033, 252036, 252051: - Replace the beerware license on mdconfig(8) with standard 2-clause BSD. - Rewrite option parsing in mdconfig(8). This makes it more user-friendly by removing the ordering requirements and adding more descriptive error messages; it also makes it more readable and maintainable. - Add "-f file" support to listing mode (-l). When a -f option is specified, only md(4) devices which have the specified file as backing store are displayed. - Use MD_NAME instead of "md". - Use _PATH_DEV instead of "/dev/". - Return -1 when the specified backing store file is not found in the md device list. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-06-27T07:27:08.245231Z K 7 svn:log V 182 MFC r251684: Fix two issues with the spin loops in the umtx(2) implementation. - When looping, check for the pending suspension. - Add missed checks for the faults from casuword*(). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-06-27T08:12:23.878322Z K 7 svn:log V 36 Fix compilation. Submitted by: pho END K 10 svn:author V 5 remko K 8 svn:date V 27 2013-06-27T09:06:00.340010Z K 7 svn:log V 123 Add support for the NTT Docomo L-02C card. PR: 180017 Submitted by: Masaharu FUJITA Glanced at by: imp MFC after: 1 week END K 10 svn:author V 5 remko K 8 svn:date V 27 2013-06-27T09:08:07.753961Z K 7 svn:log V 175 Add support for the NTT Docomo L-02C card. (This file didn't get along in the previous commit) PR: 180017 Submitted by: Masaharu FUJITA Glanced at by: imp MFC after: 1 week END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-27T09:14:50.148161Z K 7 svn:log V 634 MFC: r251589 - The method introduced as part of r234898 (MFCed to stable/9 in r236076) for not altering the boot path when booting from ZFS turned out to also cause the boot path not being adjusted if booting from CD-ROM with firmware versions that do not employ the "cdrom" alias in that case. So shuffle the code around instead in order to achieve the original intent. Ideally, we shouldn't fiddle with the boot path when booting from UFS on a disk either; unfortunately, there doesn't seem to be an universal way of telling disks and CD-ROMs apart, though. [1] - Use NULL instead of 0 for pointers. PR: 179289 [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-27T09:20:22.735442Z K 7 svn:log V 75 MFC: r248340 Add support for Exar XR17V358 8-port serial device to puc(4) END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-27T09:21:22.010529Z K 7 svn:log V 299 MFC: r248472 Correct the definition for Exar XR17V258IV: we must use a config_function to specify the offset into the PCI memory spare at which each serial port will find its registers. This was already done for other Exar PCI serial devices; it was accidentally omitted for this specific device. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-27T09:22:36.971983Z K 7 svn:log V 57 MFC: r251713 Fix whitespace and normalize some entries. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-27T09:23:53.515399Z K 7 svn:log V 557 MFC: r251715 All of Oxford/PLX OX16PCI954, OXm16PCI954 and OXu16PCI954 share the exact same (subsystem) device and vendor IDs. However, the reference design for the OXu16PCI954 uses a 14.7456 MHz clock (as does the EXSYS EX-41098-2 equipped with these), while at least the OX16PCI954 defaults to a 1.8432 MHz one. According to the datasheets of these chips, the only difference in PCI configuration space is that OXu16PCI954 have a revision ID of 1 while the other two are at 0. So employ the latter for determining the default clock rates of this family. END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-06-27T09:30:09.851958Z K 7 svn:log V 189 MFC: r252180 Flag mpt(4) as supporting unmapped I/O; all necessary conversion actually already has been done as part of r246713 (MFCed to stable/9 in r251874) except for a comment update. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-06-27T10:42:09.677551Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-27T10:55:35.248127Z K 7 svn:log V 67 MFC r252045: Corrected ATA Passthrough defines from decimal to hex END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-27T10:58:31.074553Z K 7 svn:log V 67 MFC r252045: Corrected ATA Passthrough defines from decimal to hex END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-06-27T13:03:19.094695Z K 7 svn:log V 587 MFC r230786, r246283, r251084, r251085, r251086: r230786 (imp): - Allow specification of build shell for the buildenv target. r246283 (hrs) (partial): - Add {WORLD,KERNEL}_FLAGS to [BTWK]MAKE. r251084: - r245757 introduced warning output if update method is set to CVS_UPDATE or SUP_UPDATE. - CVS exporter for stable/9/ is turned off for nearly one month now. - It is finally time to swing the ax at these update methods. r251085: - Fix typo introduced in r251084. r251086: - Remove references to CVS_UPDATE and SUP_UPDATE to catch up with r251084. Approved by: kib (mentor) END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-27T14:32:51.384625Z K 7 svn:log V 291 MFC r252056: Fix destroyed ZFS pools failing to import MFC r252059: Fix ZFS zpool freeze (debug command) not processing due to invalid ioctl call syntax. MFC r252060: Fix intermittent ZFS lock panic MFC r252061: Switch ZFS mutex_owner macro to use sx_xholder as its now exported via sx.h END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-06-27T17:33:04.937984Z K 7 svn:log V 352 Fix build: in a recent pf refactor (head@240233), pf_var.h was modified to not include netinet/tcp_fsm.h, and HEAD tcpdump rely on this change as the tcp_fsm.h will only be processed once. Solve this by defining TCPSTATES earlier. This wouldn't cause breakage should pf be merged in the future. Noticed by: tinderbox via many Pointy hat to: delphij END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-06-27T18:20:19.483961Z K 7 svn:log V 291 MFC r252056: Fix destroyed ZFS pools failing to import MFC r252059: Fix ZFS zpool freeze (debug command) not processing due to invalid ioctl call syntax. MFC r252060: Fix intermittent ZFS lock panic MFC r252061: Switch ZFS mutex_owner macro to use sx_xholder as its now exported via sx.h END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-06-27T18:24:24.676946Z K 7 svn:log V 14 MFC @ r252307 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-06-27T18:28:45.577917Z K 7 svn:log V 1135 - Add vnode-backed swap space specification support. This is enabled when device names "md" or "md[0-9]*" and a "file" option are specified in /etc/fstab like this: md none swap sw,file=/swap.bin 0 0 - Add GBDE/GELI encrypted swap space specification support, which rc.d/encswap supported. The /etc/fstab lines are like the following: /dev/ada1p1.bde none swap sw 0 0 /dev/ada1p2.eli none swap sw 0 0 .eli devices accepts aalgo, ealgo, keylen, and sectorsize as options. swapctl(8) can understand an encrypted device in the command line like this: # swapctl -a /dev/ada2p1.bde - "-L" flag is added to support "late" option to defer swapon until rc.d/mountlate runs. - rc.d script change: rc.d/encswap -> removed rc.d/addswap -> just display a warning message if $swapfile is defined rc.d/swap1 -> renamed to rc.d/swap rc.d/swaplate -> newly added to support "late" option These changes alleviate a race condition between device creation/removal and swapon/swapoff. MFC after: 1 week Reviewed by: wblock (manual page) END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-06-27T18:54:18.348051Z K 7 svn:log V 233 Add UNWINDSVCFRAME to provide the unwind pseudo ops to allow us to unwind past a trapframe. Use this macro in exception_exit as it is the function the unwinder enters as the functions that store the frame setting lr to point to it. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-06-27T18:59:07.930179Z K 7 svn:log V 116 Update T5 register ranges. This is so that regdump skips over registers with read side-effects. MFC after: 3 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-06-27T19:14:03.683922Z K 7 svn:log V 109 To avoid LOR, always drop the filedesc lock before exporting fd to sbuf. Reviewed by: kib MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-06-27T19:47:58.362132Z K 7 svn:log V 91 Add "amdfam10" to the supported CPU types for amd64. This complements r251691 and 251692. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-27T20:21:54.310940Z K 7 svn:log V 764 Make detaching drivers from PCI devices more robust. While here, fix a bug where a PCI device would be powered down if it failed to probe, but not when its driver was detached (e.g. via kldunload). - Add a new helper method resource_list_release_active() which forcefully releases any active resources of a specified type from a resource list. - Add a bus_child_detached method for the PCI bus driver which forces any active resources to be released (and whines to the console if it finds any) and then powers the device down. - Call pci_child_detached() if we fail to probe a device when a driver is kldloaded. This isn't perfect but can avoid leaking resources from a probe() routine in the kldload case. Reviewed by: imp, brooks MFC after: 1 month END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-06-27T20:27:34.143958Z K 7 svn:log V 14 IFC @ r252288 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-27T20:35:39.139915Z K 7 svn:log V 858 MFC 250418,252166: Revision 233677 broke certain machines. Specifically, if the firmware/BIOS assigned conflicting ranges to BARs then leaving the BARs alone could result in one device stealing mmio accesses intended to go to a second device. Prior to 233677 the PCI bus driver attempted to handle this case by clearing the BAR to 0 depending on BARs based at 0 not decoding (which is not guaranteed to be true). Now when a conflicting BAR is detected the following steps are taken: 1) If hw.pci.realloc_bars (a new tunable) is enabled (default is disabled), then ignore the current BAR setting from the firmware and attempt to allocate a fresh resource range for the BAR. 2) If 1) failed (or was disabled), disable decoding for the relevant BAR type (e.g. disable mem decoding for a memory BAR) and emit a warning if booting verbose. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-06-27T21:02:26.248692Z K 7 svn:log V 818 MFC 233662,233677-233678,250418,252166: If the firmware/BIOS assigns conflicting ranges to BARs then leaving the BARs alone could result in one device stealing mmio accesses intended to go to a second device. Previously the PCI bus driver attempted to handle this case by clearing the BAR to 0 depending on BARs based at 0 not decoding (which is not guaranteed to be true). Now when a conflicting BAR is detected the following steps are taken: 1) If hw.pci.realloc_bars (a new tunable) is enabled (default is disabled), then ignore the current BAR setting from the firmware and attempt to allocate a fresh resource range for the BAR. 2) If 1) failed (or was disabled), disable decoding for the relevant BAR type (e.g. disable mem decoding for a memory BAR) and emit a warning if booting verbose. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-06-27T21:34:29.972173Z K 7 svn:log V 309 PG_AVAIL1 is available for software use only in the regular x86 page tables. PG_AVAIL2 and PG_AVAIL3 on the other hand are available for software use in both regular and nested page tables. Redefine PG_W as PG_AVAIL3 instead of PG_AVAIL1 so we can use the same macro regardless of the underlying pmap_type. END