ƒΆW226699 160 1332 187 1031 289 151 157 578 148 244 141 844 521 189 190 518 197 126 267 187 152 190 143 207 301 324 350 201 135 136 181 197 320 176 216 670 168 134 132 241 269 226 387 298 187 2016 163 212 275 110 1036 113 613 113 612 611 611 610 191 117 407 449 199 142 310 151 468 198 151 137 168 138 461 174 190 190 190 380 265 124 387 117 197 136 235 125 655 433 769 747 434 320 161 125 268 177 912 118 501 118 177 279 1065 5250 189 274 179 204 200 527 117 490 309 176 226 256 720 170 447 109 311 265 281 627 323 122 319 109 148 210 185 224 255 191 155 302 276 404 208 1309 248 129 839 367 129 308 295 295 690 131 205 108 118 344 127 196 234 197 131 127 218 K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-24T20:26:37.979885Z K 7 svn:log V 1234 When driver is run for the first time there would be no established link such that calling dc_setcfg() right after media change would be meaningless unless controller in question is not Davicom DM9102. Ideally dc_setcfg() should be called when speed/duplex is resolved otherwise it would reprogram controller with wrong speed/duplex information. Because MII status change callback already calls dc_setcfg() I think calling dc_setcfg() in dc_init_locked() is wrong. For instance, it would take some time to establish a link after mii_mediachg(), so blindly calling dc_setcfg() right after mii_mediachg() will always yield wrong media configuration. Extend dc_ifmedia_upd() to handle media change and still allow 21143 and Davidcom controllers program speed/duplex regardless of current resolved speed/duplex of link. In theory 21143 may not need to call dc_setcfg() right after media change, but leave it as it is because there are too many variants to test that change. Probably dc(4) shall need a PHY reset in dc_ifmedia_upd() but it's hard to verify correctness of the change. This change reliably makes ULi M5263 establish a link. While I'm here correctly report media change result. Previously it always reported a success. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-24T20:41:31.781468Z K 7 svn:log V 95 Don't forget to rename mounted snapshots of the file system being renamed. MFC after: 2 weeks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-24T20:48:02.235703Z K 7 svn:log V 934 Add support for ALi/ULi, now NVIDIA, M5261/M5263 PCI FastEthernet controller which is found on ULi M1563 South Bridge & M1689 Bridge. These controllers look like a tulip clone. M5263 controller does not support MII bitbang so use DC_ROM register to access MII registers. Like other tulip variants, ULi controller uses a setup frame to configure RX filter and uses new setup frame format. It's not clear to me whether the controller supports a hash based multicast filtering so this patch uses 14 perfect multicast filter to filter multicast frames. If number of multicast addresses is greater than 14, controller is put into a mode that receives all multicast frames. Due to lack of access to M5261, this change was not tested with M5261 but it probably works. Many thanks to Marco who provided remote access to M5263. Tested by: Marco Steinbach executive-computing dot de>, Martin MATO orange dot fr> END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-10-24T20:52:41.467502Z K 7 svn:log V 193 * Don't give the impression that this compiler is GPLv3. (It is "well known" that GCC 4.2.2 is GPLv3.) * Don't give the impression that this compiler isn't "trustable". * Fix dependency nit. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-24T20:57:50.046967Z K 7 svn:log V 55 Add ALi/ULi M5261/M5263 to supported hardware chipets. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-24T21:01:20.181262Z K 7 svn:log V 61 All dc(4) controllers support VLAN over-sized frame. Xr vlan END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-24T21:14:50.809584Z K 7 svn:log V 485 Extend r226676 to allow rename without unmount even for file systems with non-legacy mountpoints. It is better to be able to rename such file systems and let them be mounted in old places until next reboot than using live CD, etc. to rename with remount. This is implemented by adding -u option to 'zfs rename'. If file system's mountpoint property is set to 'legacy' or 'none', there is no need to specify -u. Update zfs(8) manual page to reflect this addition. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-24T21:22:55.038991Z K 7 svn:log V 56 Update copyright to include myself. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-24T21:31:53.110043Z K 7 svn:log V 151 - Use better naming now that we allow to rename any mounted file system (not only legacy). - Update copyright to include myself. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-10-24T21:38:25.199777Z K 7 svn:log V 45 Staticify elide_root() for now to fix build. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-24T23:38:11.065947Z K 7 svn:log V 747 This change makes it possible to define driver specific attach handler such that driver can announce interface capabilities and can do its own MII attach. Currently all USB ethernet controllers have no way to establish a link with pause capabilities. Lack of checksum offloading support also was one of reason to bring this change in. This change adds a couple of wrappers to USB ethernet drivers (uether_ifmedia_upd, uether_init and uether_start). All exported functions in uether has prefix uether_ so I think it's more consistent to have wrappers that follow the convention. This change preserves ABI/KPI so it should be safe to merge this change to stable/8. While I'm here add missing __FBSDID and clean up headers. Reviewed by: hselasky END K 10 svn:author V 6 qingli K 8 svn:date V 27 2011-10-25T00:34:39.409704Z K 7 svn:log V 425 The host-id/interface-id can have a specific value and is properly masked out when adding a prefix route through the "route" command. However, when deleting the route, simply changing the command keyword from "add" to "delete" does not work. The failoure is observed in both IPv4 and IPv6 route insertion. The patch makes the route command behavior consistent between the "add" and the "delete" operation. MFC after: 1 week END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-10-25T01:46:42.699756Z K 7 svn:log V 93 Add new option -c to specify alternatve location of the /etc/fstab file. MFC after: 1 month END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-10-25T01:47:33.849417Z K 7 svn:log V 94 Add new option -F to specify alternative location of the /etc/fstab file. MFC after: 1 month END K 10 svn:author V 6 qingli K 8 svn:date V 27 2011-10-25T04:06:29.966195Z K 7 svn:log V 422 Exclude host routes when checking for prefix coverage on multiple interfaces. A host route has a NULL mask so check for that condition. I have also been told by developers who customize the packet output path with direct manipulation of the route entry (or the outgoing interface to be specific). This patch checks for the route mask explicitly to make sure custom code will not panic. PR: kern/161805 MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-10-25T04:15:45.384547Z K 7 svn:log V 105 Fix argument name. This fixes EINVAL when boot0cfg uses GEOM_PART' control interface. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T07:24:51.880802Z K 7 svn:log V 34 Sort includes. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T07:31:13.425101Z K 7 svn:log V 174 Simplify eli_backup_create() and eli_backup_restore() functions. As a side-effect it is now possible to backup unsupported (newer) GELI metadata versions. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T07:32:43.042897Z K 7 svn:log V 95 Simplify eli_is_attached() function and make it return boot instead of int. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T07:34:35.656188Z K 7 svn:log V 60 If 'req' is NULL, print error on stderr. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T07:37:02.884057Z K 7 svn:log V 98 Simplify eli_dump() function and allow to dump metadata stored in backup file. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T07:44:10.461555Z K 7 svn:log V 51 Simplify eli_resize() function. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T07:48:53.304235Z K 7 svn:log V 114 When metadata is at newer version than the highest supported, return EOPNOTSUPP when decoding. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T07:56:27.683646Z K 7 svn:log V 208 When we detect GELI metadata version that is newer than the highest we support, inform the user about that instead of 'MD5 hash mismatch'. Suggested by: Garrett Cooper MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T08:03:51.383756Z K 7 svn:log V 231 Add 'geli version' subcommand, which will print GELI metadata version of each given GEOM provider or if not providers are given it will print versions supported by userland geli(8) utility and by ELI GEOM class. MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-10-25T08:35:30.583455Z K 7 svn:log V 258 Update copyright information in several ZFS files, as the clause 3.3 of the CDDL licence explicitly requires every Contributor to add a copyright notice. This also reflects the copyright notices for the changes recently added by Illumos. MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-10-25T10:33:26.076535Z K 7 svn:log V 104 Protect NIS server with madvise(2) since this daemon is required for succesful authentication of users. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T12:26:19.576762Z K 7 svn:log V 43 Remove duplicated line. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T13:08:03.302890Z K 7 svn:log V 44 Fit lines into 80 chars. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T13:09:22.313943Z K 7 svn:log V 89 Prefer G_ELI_VERSION_* defines for version numbers over plain digits. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T13:41:12.737716Z K 7 svn:log V 104 Fix resize regressions tests - we need to destroy BSDlabel before we can create GPT. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T13:44:23.985027Z K 7 svn:log V 227 When decoding metadata, check magic string, so we know this is not GELI device before we check its version. We don't want to report that some garbage is unsupported version if this is not even GELI provider. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T13:49:48.705616Z K 7 svn:log V 84 Revert r226726. The line was not duplicated. Spotted by: pluknet MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-10-25T13:52:38.042617Z K 7 svn:log V 124 Fix typo in copyright notice introduced in r226724 (missing character in e-mail adress) Reported by: pjd MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T13:57:50.562813Z K 7 svn:log V 577 Add support for creating GELI devices with older metadata version for use with older FreeBSD versions: - Add -V option to 'geli init' to specify version number. If no -V is given the most recent version is used. - If -V is given don't allow to use features not supported by this version. - Print version in 'geli list' output. - Update manual page and add table describing which GELI version is supported by which FreeBSD version, so one can use it when preparing GELI device for older FreeBSD version. Inspired by: Garrett Cooper MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T14:01:17.970317Z K 7 svn:log V 76 The v_data field is a pointer, so set it to NULL, not 0. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T14:04:59.677873Z K 7 svn:log V 42 Simplify disk_alloc(). MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T14:05:39.785962Z K 7 svn:log V 40 Improve style a bit. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T14:07:17.316351Z K 7 svn:log V 148 Allow upper layers to discover than BIO_DELETE and/or BIO_FLUSH is not supported by returning EOPNOTSUPP instead of 0 or ENODEV. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-25T16:22:43.786585Z K 7 svn:log V 176 Don't look for includes in userland directories. There is no need for it and it breaks building the kernel without userland sources. Reported by: andre, imp MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-10-25T16:30:16.433831Z K 7 svn:log V 125 Provide an error message instead of silent failure if no disks are present in the system. PR: bin/161950 MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-10-25T16:35:08.864374Z K 7 svn:log V 294 Speed up vm_page_cache() and vm_page_remove() by checking for a few common cases that can be handled in constant time. The insight being that a page's parent in the vm object's tree is very often its predecessor or successor in the vm object's ordered memq. Tested by: jhb MFC after: 10 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-10-25T16:35:48.885443Z K 7 svn:log V 197 Provide an error message and error handling if there are no network interfaces in the system. This is a non-fatal error except when doing a network installation. PR: bin/161950 MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-25T17:10:15.676660Z K 7 svn:log V 96 Build swapon with WARNS=6. Don't use a variable called stat, because it collides with stat(2). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-25T18:36:18.358968Z K 7 svn:log V 1918 Implement TX/RX checksum offloading support for ASIX AX88772B controller. AX88772B data sheet does not show detailed information about checksum offloading related things. It seems the controller has lots of options to support checksum offloading but I failed to understand why this feature requires so much complex controller configuration and status bits. One of major difference between AX88772B and its predecessor is AX88772B uses a new RX header format when RX checksum offloading is enabled. It also requires the received length of a frame should be multiple of 4. Controller will pad necessary bytes to make the length of received frame to be multiple of 4. It is driver's responsibility to offset this pad bytes. Note, AX88772B could be configured to get partial checksum value in in RX header. This mode uses different RX header format and currently we don't use that fature. This change makes axe(4) use driver specific MII attach handler to override uether(9)'s default MII attach and announce flow-control capability for AX88178/AX88772A/AX88772B to PHY drivers. It seems original AX88772 also supports flow-control but I didn't enable it due to lack of test/access to the controller. The flow-control threshold parameter is loaded from EEPROM and there is no way to override this value without reprogramming EEPROM. For AX88772B, TX/RX IP/TCP/UDP checksum offloading is announced to network stack. IPv6 and PPPoE checksum offloading is also supported by controller but we have no way to take advantage of these features. Driver already knows PHY address so make PHY driver know that information and remove unnecessary PHY address check used in miibus_readreg/miibus_writereg callbacks. Also announce AX88178, AX88772A and AX88772B support VLAN over-sized frame. While I'm here clean up headers and remove axe_start() in axe_init() because the link wouldn't be available right after media change. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-25T19:04:56.816170Z K 7 svn:log V 67 AX88178/AX88772A/AX88772B supports VLAN over-sized frame. Xr vlan. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-25T19:10:10.689660Z K 7 svn:log V 115 axe(4) got VLAN over-sized frame support. Add axe(4) to the list of interfaces that support VLAN over-sized frame. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-10-25T19:45:12.543438Z K 7 svn:log V 182 Consolidate duplicate definitions of V86_CY() and V86_ZR() which check for the carry and zero flags being set, respectively, in and use them throughout the x86 boot code. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2011-10-25T19:47:28.531638Z K 7 svn:log V 15 Attempt to MFC END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-10-25T19:54:06.014446Z K 7 svn:log V 943 - Add a new header for the x86 boot code that defines various structures and constants related to the BIOS Enhanced Disk Drive Specification. - Use this header instead of magic numbers and various duplicate structure definitions for doing I/O. - Use an actual structure for the request to fetch drive parameters in drvsize() rather than a gross hack of a char array with some magic size. While here, change drvsize() to only pass the 1.1 version of the structure and not request device path information. If we want device path information you have to set the length of the device path information as an input (along with probably checking the actual EDD version to see which size one should use as the device path information is variable-length). This fixes data smashing problems from passing an EDD 3 structure to BIOSes supporting EDD 4. Reviewed by: avg Tested by: Dennis Koegel dk neveragain.de MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-25T20:45:14.426373Z K 7 svn:log V 17 Whitespace nits. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-25T21:48:45.859622Z K 7 svn:log V 518 Vendor import of tzdata2011m Europe: - Pridnestrovian Moldavian Republic (PMR, also known as "Pridnestrovie") has abolished seasonal clock change (no transition to the Winter Time). - The recent change to the Ukranian time zone (Europe/Kiev) to introduce permanent daylight saving time (similar to Russia) was reverted. South America: - Bahia: The President signed a decree that includes Bahia in summer time. zone.tab: - Add Europe/Tiraspol Pridnestrovie Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-25T21:51:34.563539Z K 7 svn:log V 19 Tag of tzdata2011m END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-25T21:53:43.014177Z K 7 svn:log V 517 MFV of r226750, tzdata2011m Europe: - Pridnestrovian Moldavian Republic (PMR, also known as "Pridnestrovie") has abolished seasonal clock change (no transition to the Winter Time). - The recent change to the Ukranian time zone (Europe/Kiev) to introduce permanent daylight saving time (similar to Russia) was reverted. South America: - Bahia: The President signed a decree that includes Bahia in summer time. zone.tab: - Add Europe/Tiraspol Pridnestrovie Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-25T21:58:29.723615Z K 7 svn:log V 516 MFC of 226752, tzdata2011m Europe: - Pridnestrovian Moldavian Republic (PMR, also known as "Pridnestrovie") has abolished seasonal clock change (no transition to the Winter Time). - The recent change to the Ukranian time zone (Europe/Kiev) to introduce permanent daylight saving time (similar to Russia) was reverted. South America: - Bahia: The President signed a decree that includes Bahia in summer time. zone.tab: - Add Europe/Tiraspol Pridnestrovie Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-25T21:59:24.606886Z K 7 svn:log V 516 MFC of 226752, tzdata2011m Europe: - Pridnestrovian Moldavian Republic (PMR, also known as "Pridnestrovie") has abolished seasonal clock change (no transition to the Winter Time). - The recent change to the Ukranian time zone (Europe/Kiev) to introduce permanent daylight saving time (similar to Russia) was reverted. South America: - Bahia: The President signed a decree that includes Bahia in summer time. zone.tab: - Add Europe/Tiraspol Pridnestrovie Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-25T22:02:52.661462Z K 7 svn:log V 515 MFC of 226752, tzdata2011m Europe: - Pridnestrovian Moldavian Republic (PMR, also known as "Pridnestrovie") has abolished seasonal clock change (no transition to the Winter Time). - The recent change to the Ukranian time zone (Europe/Kiev) to introduce permanent daylight saving time (similar to Russia) was reverted. South America: - Bahia: The President signed a decree that includes Bahia in summer time. zone.tab: - Add Europe/Tiraspol Pridnestrovie Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T22:14:09.874789Z K 7 svn:log V 96 Initial attempt at an IRC. There were 289 merge conflicts for files I've never touched before. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T22:47:36.546465Z K 7 svn:log V 22 Remove unneeded code. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:01:53.208490Z K 7 svn:log V 311 Reduce the NF wait timeout. When doing heavy 11n RX loads, this can actually interfere with traffic, as the NF load can take quite a while and poking the AGC every 10uS is just a bit silly. Instead, just leave the baseband NF calibration where it is and just read it back next time a longcal interval happens. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:09:07.174374Z K 7 svn:log V 353 Add some 11n bits from the if_ath_tx 11n branch: * Add the TID field in the TX status descriptor; * Add in the 11n first/middle/last functions for fiddling with the descriptors. These are from the Linux and the reference driver, but I'm not (currently) using them. * Add further AR_ISR_S5 register definitions. Obtained from: Linux ath9k, Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:13:36.024322Z K 7 svn:log V 103 Save and restore the association ID across interface resets. Obtained from: Atheros MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:14:40.156791Z K 7 svn:log V 47 Fix an incorrect flag. Obtained from: Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:17:53.819106Z K 7 svn:log V 214 Correct/complete a partially-disabled TX interrupt mitigation configuration. Although a previous commit disabled TX interrupt mitigation handling and configuration, the mask register bits weren't setup correctly. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-10-25T23:19:57.151661Z K 7 svn:log V 59 MFC r211937 Add the MAP_PREFAULT_READ option to mmap(2). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:24:05.923102Z K 7 svn:log V 372 Add some fixes to the 11n aggregation HAL calls: * preserve AR_TxIntrReq on every descriptor in an aggregate chain, not just the first descriptor; * always blank out the descriptor in ar5416ChainTxDesc() when forming aggregates - the way I'm using this in the 11n branch is to first chain aggregates together, then use the other HAL calls to fill in the details. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:28:16.653830Z K 7 svn:log V 102 The AR5413 datasheet specifies that AR_TxIntrReq should be set consistently for all frames, so do so. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-10-25T23:29:36.269840Z K 7 svn:log V 59 MFC r211937 Add the MAP_PREFAULT_READ option to mmap(2). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:33:54.959590Z K 7 svn:log V 42 Add in some more 11n related HAL methods. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:51:18.768135Z K 7 svn:log V 73 Another IFC pass, primarily to pick up the 11n/HEAD HAL sync I just did. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-25T23:57:38.657150Z K 7 svn:log V 43 Fix (one of many!) broken merge artifacts. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-26T01:03:53.330972Z K 7 svn:log V 364 Fix long standing bge_sysctl_debug_info() issues. o Protect bge(4) status block access and register dump with driver lock. o Add missing bus_dmamap_sync() before dumping status block. o Use minimum status block size, 32 bytes, for status block dump on most controllers except BCM5700 AX/BX. While I'm here, make the handler show 5717 Plus in hardware flags. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-26T01:56:22.801389Z K 7 svn:log V 80 Fix breakage in tzsetup: MD +4700+02850 Europe/Chisinau most locations END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-26T01:57:47.263930Z K 7 svn:log V 96 MFC of r226771 Fix breakage in tzsetup: MD +4700+02850 Europe/Chisinau most locations END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-26T01:58:13.911347Z K 7 svn:log V 96 MFC of r226771 Fix breakage in tzsetup: MD +4700+02850 Europe/Chisinau most locations END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-26T01:58:36.972726Z K 7 svn:log V 96 MFC of r226771 Fix breakage in tzsetup: MD +4700+02850 Europe/Chisinau most locations END K 10 svn:author V 3 hrs K 8 svn:date V 27 2011-10-26T02:11:28.270238Z K 7 svn:log V 287 - Add support for a "!" character in regex matching in devd(8). It inverts the logic (true/false) of the matching. - Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached. Reviewed by: imp END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T02:22:54.558274Z K 7 svn:log V 169 In preparation for merging more of this code into -HEAD, let's disable this sc_in_* counter handling and just tidy up the minimum needed to get this code into the tree. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T02:25:15.991907Z K 7 svn:log V 29 Fix the pad to be "correct". END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T02:26:42.760272Z K 7 svn:log V 291 This isn't needed any longer - the root cause of this seems to be an AR9160 MAC bug where occasionally frames would leak w/ the incorrect destination MAC (when in STA mode.) net80211 would then sync up to the IV in the incorrect frames and the crypto reply state would thus be out of whack. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T02:28:33.681145Z K 7 svn:log V 22 Fix some bad merging. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T03:25:25.451320Z K 7 svn:log V 101 Undo my very broken set of merges. I'll do some more updating and then try my hand at another merge. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T03:47:39.249877Z K 7 svn:log V 41 More missing DEBUG -> HWPMC_DEBUG stuff. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T03:48:49.653746Z K 7 svn:log V 139 Redo the commits that were undone when I rolled back some stuff. * remove crypto readme * disable the sc_in_* stuff for now * fix padding END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-10-26T04:38:23.783925Z K 7 svn:log V 33 MFC r198973 Add MAP_ANONYMOUS. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-10-26T06:50:40.609510Z K 7 svn:log V 560 MFC of r226752, r226771, tzdata2011m Europe: - Pridnestrovian Moldavian Republic (PMR, also known as "Pridnestrovie") has abolished seasonal clock change (no transition to the Winter Time). - The recent change to the Ukranian time zone (Europe/Kiev) to introduce permanent daylight saving time (similar to Russia) was reverted. South America: - Bahia: The President signed a decree that includes Bahia in summer time. zone.tab: - Add Europe/Tiraspol Pridnestrovie Obtained from: ftp://ftp.iana.org/tz/releases/ Approved by: re (Kostik Belousov) END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-26T07:49:47.280984Z K 7 svn:log V 341 Attempt to fix build logic for gensnmptree. There are two problems with the existing logic. It builds gensnmptree on <700018, even if WITHOUT_BSNMP is set, but more importantly, we must not forget to build gensnmptree on systems that have originally been built without. This causes a buildworld on those systems to fail. MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-10-26T08:34:00.204923Z K 7 svn:log V 677 MFC r226654, r226657, r226658: MFC r226654 [1]: Add etc/rc.d/static_ndp, analogous to etc/rc.d/static_arp. Make sure that static ARP and NDP bindings are set before NETWORKING. As static_ndp is based on static_arp, pass copyright to the project with permission of the original author (delphij@). MFC r226657 [2]: Correctly reassign copyright of etc/rc.d/static_ndp back to delphij@ as the project itself is no legal entity MFC r226658 [3]: Add information about static_ndp_pairs to rc.conf(5) manual page Reviewed by: Xin Li [1] Reported by: Joe Dahl [2] Submitted by: Sergey Kandaurov [3] Approved by: re (kib) END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-10-26T08:41:41.022240Z K 7 svn:log V 655 MFC r226654, r226657, r226658: MFC r226654 [1]: Add etc/rc.d/static_ndp, analogous to etc/rc.d/static_arp. Make sure that static ARP and NDP bindings are set before NETWORKING. As static_ndp is based on static_arp, pass copyright to the project with permission of the original author (delphij@). MFC r226657 [2]: Correctly reassign copyright of etc/rc.d/static_ndp back to delphij@ as the project itself is no legal entity MFC r226658 [3]: Add information about static_ndp_pairs to rc.conf(5) manual page Reviewed by: Xin Li [1] Reported by: Joe Dahl [2] Submitted by: Sergey Kandaurov [3] END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T13:33:41.298125Z K 7 svn:log V 338 Begin breaking out the "mark not-busy" ath_buf code so it can be eventually called from the aggregate completion code. The TDMA code currently fails because the assumption that one frame at a time is being handled in ath_tx_processq() is now broken when doing aggregation and software retransmit. The actual fix to this will come soon. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T13:52:24.411443Z K 7 svn:log V 224 Remove the txq from the function decl for now, just to make this easier to do. The "real" solution is to do track this busy buf per-txq, as there's multiple data DMA queues on > AR5212. But that's a later problem to solve. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-10-26T14:26:10.896627Z K 7 svn:log V 65 Fix typo in timer_getoverrun cross-reference. MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T14:56:09.333341Z K 7 svn:log V 30 Add back missing declaration. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T15:01:04.276035Z K 7 svn:log V 172 When returning a cloned/busy buffer, a failed DMA setup should stuff the buffer on the front of the list, not the tail. That way it won't interfere with busy buffer logic. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-10-26T15:17:42.304469Z K 7 svn:log V 85 - Fixup filenames in a few more places where they are used. - Some whitespace fixes. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T15:20:21.342531Z K 7 svn:log V 816 Now that I've done a quick audit and made sure that the calls to ath_freebuf() occur during active TX completion, migrate the busy flag clear logic to inside ath_freebuf(). ath_freebuf() is now only called for frames which have completed TX somehow (success or failure), or during TX queue flush (where we don't care about the busy flag any longer.) It must not be called for frames that haven't come from the TX completion or node flush logic. This fixes the code to compile/run/not hang w/ the TDMA option in the kernel (but I haven't tested TDMA yet, unfortunately) as now the tail buffer on the free list has the ATH_BUF_BUSY flag cleared on -each- completed subframe. (Again, this isn't the correct/full fix for using multiple TX DMA queues, but that's a later problem to fix. It's just as broken in -HEAD.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T15:22:13.089824Z K 7 svn:log V 23 Add another todo item. END K 10 svn:author V 2 bz K 8 svn:date V 27 2011-10-26T15:36:48.981537Z K 7 svn:log V 409 MFC r226527: Fix indentation in a loop and a tiny maze of #ifdefs for just the __FreeBSD__ parts that had it wrong. MFC r226530: Fix a bug when NPFSYNC > 0 that on FreeBSD we would always return and never remove state. This fixes the problem some people are seeing that state is removed when pf is loaded as a module but not in situations when compiled into the kernel. Approved by: re (kib) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T15:52:03.824452Z K 7 svn:log V 23 This is a correct IFC. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T16:09:05.045853Z K 7 svn:log V 82 As a prelude to bringing over the 11n work, include some extra statistics fields. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-26T16:11:49.449514Z K 7 svn:log V 183 Bring over the new aggregate statistics from the 11n branch. Some of these values are currently updated by the driver (the 11n RX related statistics) so they are immediately useful. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2011-10-26T17:04:26.186766Z K 7 svn:log V 968 Add a "kern.features.ata_cam" sysctl in the kernel when the ATA_CAM kernel option is defined. This sysctl can be queried by feature_present(3). Query for this feature in /sbin/atacontrol and /usr/sbin/burncd. If these utilities detect that ATA_CAM is enabled, then these utilities will error out. These utilities are compatible with the old ATA driver, but are incomptible with the new ATA_CAM driver. By erroring out, we give end-users an idea as to what remedies to use, and reduce the need for them to file PR's. For atacontrol, camcontrol must be used instead, and for burncd, alternative utilties from the ports collection must be used such as sysutils/cdrtools. In future, maybe someone can re-write burncd to work with ATA_CAM, but at least for now, we give a somewhat useful error message to end users. PR: 160979 Reviewed by: jh, Arnaud Lacombe Approved by: re (kib) Reported by: Joe Barbish END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-10-26T17:09:09.987727Z K 7 svn:log V 5152 Sync pf(4) and pfsync(4) with head, merging lots of important bugfixes required for normal operation of pfsync(4). Revisions merged: r226531 | bz | 2011-10-19 13:34:40 +0400 (ср, 19 ΠΎΠΊΡ‚ 2011) | 4 lines Fix an obvious locking bug where we would lock again rather than unlock. r226532 | bz | 2011-10-19 14:04:24 +0400 (ср, 19 ΠΎΠΊΡ‚ 2011) | 12 lines Pseudo interfaces should go at SI_SUB_PSEUDO. However at least pfsync also depends on pf to be initialized already so pf goes at FIRST and the interfaces go at ANY. Then the (VNET_)SYSINIT startups for pf stays at SI_SUB_PROTO_BEGIN and for pfsync we move to the later SI_SUB_PROTO_IF. This is not ideal either but at least an order that should work for the moment and can be re-fined with the VIMAGE merge, once this will actually work with more than one network stack. r226533 | bz | 2011-10-19 14:08:58 +0400 (ср, 19 ΠΎΠΊΡ‚ 2011) | 4 lines In the non-FreeBSD case we do not expect PF_LOCK and friends to do anything. r226535 | bz | 2011-10-19 14:16:42 +0400 (ср, 19 ΠΎΠΊΡ‚ 2011) | 5 lines Adjust the PF_ASSERT() macro to what we usually use in the network stack: PF_LOCK_ASSERT() and PF_UNLOCK_ASSERT(). r226536 | bz | 2011-10-19 15:04:49 +0400 (ср, 19 ΠΎΠΊΡ‚ 2011) | 8 lines De-virtualize the pf_task_mtx lock. At the current state of pf locking and virtualization it is not helpful but complicates things. Current state of art is to not virtualize these kinds of locks - inp_group/hash/info/.. are all not virtualized either. r226544 | bz | 2011-10-19 17:13:56 +0400 (ср, 19 ΠΎΠΊΡ‚ 2011) | 12 lines Fix recursive pf locking leading to panics. Splatter PF_LOCK_ASSERT()s to document where we are expecting to be called with a lock held to more easily catch unnoticed code paths. This does not neccessarily improve locking in pfsync, it just tries to avoid the panics reported. PR: kern/159390, kern/158873 Submitted by: pluknet (at least something that partly resembles my patch ignoring other cleanup, which I only saw too late on the 2nd PR) r226609 | glebius | 2011-10-21 15:11:18 +0400 (ΠΏΡ‚, 21 ΠΎΠΊΡ‚ 2011) | 4 lines In FreeBSD ip_output() expects ip_len and ip_off in host byte order PR: kern/159029 r226623 | glebius | 2011-10-22 02:28:15 +0400 (сб, 22 ΠΎΠΊΡ‚ 2011) | 5 lines Fix a race: we should update sc_len before dropping the pf lock, otherwise a number of packets can be queued on sc, while we are in ip_output(), and then we wipe the accumulated sc_len. On next pfsync_sendout() that would lead to writing beyond our mbuf cluster. r226655 | glebius | 2011-10-23 14:05:25 +0400 (вс, 23 ΠΎΠΊΡ‚ 2011) | 5 lines Correct flag for uma_zalloc() is M_WAITOK. M_WAIT is an old and deprecated flag from historical mbuf(9) allocator. This is style only change. r226656 | glebius | 2011-10-23 14:13:20 +0400 (вс, 23 ΠΎΠΊΡ‚ 2011) | 5 lines Absense of M_WAITOK in malloc flags for UMA doesn't equals presense of M_NOWAIT. Specify M_NOWAIT explicitly. This fixes sleeping with PF_LOCK(). r226660 | glebius | 2011-10-23 18:59:54 +0400 (вс, 23 ΠΎΠΊΡ‚ 2011) | 22 lines Fix from r226623 is not sufficient to close all races in pfsync(4). The root of problem is re-locking at the end of pfsync_sendout(). Several functions are calling pfsync_sendout() holding pointers to pf data on stack, and these functions expect this data to be consistent. To fix this, the following approach was taken: - The pfsync_sendout() doesn't call ip_output() directly, but enqueues the mbuf on sc->sc_ifp's interfaces queue, that is currently unused. Then pfsync netisr is scheduled. PF_LOCK isn't dropped in pfsync_sendout(). - The netisr runs through queue and ip_output()s packets on it. Apart from fixing race, this also decouples stack, fixing potential issues, that may happen, when sending pfsync(4) packets on input path. Reviewed by: eri (a quick review) r226661 | glebius | 2011-10-23 19:08:18 +0400 (вс, 23 ΠΎΠΊΡ‚ 2011) | 13 lines - Fix a bad typo (FreeBSD specific) in pfsync_bulk_update(). Instead of scheduling next run pfsync_bulk_update(), pfsync_bulk_fail() was scheduled. This lead to instant 100% state leak after first bulk update request. - After above fix, it appeared that pfsync_bulk_update() lacks locking. To fix this, sc_bulk_tmo callout was converted to an mtx one. Eventually, all pf/pfsync callouts should be converted to mtx version, since it isn't possible to stop or drain a non-mtx callout without risk of race. - Add comment that callout_stop() in pfsync_clone_destroy() lacks locking. Since pfsync0 can't be destroyed (yet), let it be here. r226662 | glebius | 2011-10-23 19:10:15 +0400 (вс, 23 ΠΎΠΊΡ‚ 2011) | 2 lines Fix indentation, no code changed. r226663 | glebius | 2011-10-23 19:15:17 +0400 (вс, 23 ΠΎΠΊΡ‚ 2011) | 4 lines Merge several fixes to bulk update processing from OpenBSD. Merged revisions: 1.148, 1.149, 1.150. This makes number of states on master/slave to be of a sane value. Approved by: re (kib) END K 10 svn:author V 3 rmh K 8 svn:date V 27 2011-10-26T17:26:38.154028Z K 7 svn:log V 97 Revert r226665 untill the issues with this change have been resolved. Approved by: kib (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-10-26T17:43:27.238236Z K 7 svn:log V 176 Fix suspend and resume of FULL and HIGH speed USB devices in the generic XHCI driver. There appears to be some minor logic missing for this feature to work. MFC after: 3 days END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-26T18:05:46.317191Z K 7 svn:log V 83 Make CPMU handle GPHY power down control on controllers that have CPMU capability. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-26T18:19:50.927838Z K 7 svn:log V 107 It is known that all Broadcom controllers have 4GB boundary DMA bug. Apply workaround to all controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-26T18:27:01.646794Z K 7 svn:log V 103 Broadcom says BCM5755 or higher and BCM5906 have short DMA bug. Apply workaround to these controllers. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-26T18:37:02.473433Z K 7 svn:log V 430 BCM5719 cannot handle DMA requests for DMA segments that have larger than 4KB in size. However the maximum DMA segment size created in DMA tag is 4KB, so we wouldn't encounter the issue here. Just record this issue such that let developers not to create a DMA segment that is larger than 4KB for BCM5719. It's possible to split a DMA segment into multiple smaller ones in run time but I believe it's not worth to implement that. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2011-10-26T19:07:36.101889Z K 7 svn:log V 22 Add libkern/ucmpdi2.c END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-10-26T19:45:20.781740Z K 7 svn:log V 392 MFC r226510,r226547: Comment out sbp(4) because it appears to cause boot failure on some systems. Add comment explaining why sbp(4) is commented out. It was a mistake on my part to omit powerpc's GENERIC for r226510. But when I noticed the mistake I checked with the powerpc maintainer to see if I should correct the mistake Marcel said he'd prefer it be left as-is. Approved by: re (kib) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-10-26T19:59:06.971191Z K 7 svn:log V 211 I forgot we now leave KDB and KDB_TRACE options in stable kernel config files to help provide stack traces during a panic. Submitted by: Sergey Kandaurov Approved by: re (implicit) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-10-26T20:01:43.542307Z K 7 svn:log V 79 MFC r226650: Make freebsd-update work with FreeBSD 9.0. Approved by: re (kib) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-10-26T20:06:27.678743Z K 7 svn:log V 128 MFC r226650: Make freebsd-update work with FreeBSD 9.0. (In particular, this will simplify upgrading from 8.3-RELEASE to 9.x.) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2011-10-26T20:07:58.871578Z K 7 svn:log V 158 MFC r226650: Make freebsd-update work with FreeBSD 9.0. (In the unlikely event that a 7.5-RELEASE happens, this should simplify upgrading from that to 9.x.) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-26T21:05:45.005094Z K 7 svn:log V 623 Rename definition of BGE_SOFTWARE_GENCOMM_* to more readable ones. The origin of GENCOMM seems to come from Alteon Tigon Host/NIC interface definition where it defines general communications region which is active when firmware is loaded and running. This region was used in communication between the host and processor internal to the Tigon chip. Broadcom data sheet also defines the region as 'Software Gencomm' in NetXtreme memory map but lacks detailed description of its interface so it was hard to know which ones are used for which interface. This change shall slightly enhance readability. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-26T21:11:40.023066Z K 7 svn:log V 74 Define MAC address mail box and use it instead of using hard-coded value. END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-10-26T21:50:10.805870Z K 7 svn:log V 354 Clarify disks/volumes above 2TiB support in geom_raid: - add support for volumes above 2TiB with Promise metadata format; - enforse and document other limitations: - Intel and Promise metadata formats do not support disks above 2TiB; - NVIDIA metadata format does not support volumes above 2TiB. Sponsored by: iXsystems, Inc. MFC after: 2 weeks END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-10-26T21:54:10.377029Z K 7 svn:log V 14 IFC @ r226813 END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-10-26T22:28:28.545175Z K 7 svn:log V 213 Move the debugging support to its own section. This matches what is in the other architectures' GENERIC and makes removing it at the point we're creating a new stable branch a bit easier. Discussed with: marcel END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-10-26T23:05:59.600646Z K 7 svn:log V 167 Fix whitespace nit. "options", not "options". Submitted by: Matthew Fleming Pointy hat: me Approved by: re (implicit) END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-26T23:22:32.183111Z K 7 svn:log V 184 Offset 0x6810 is RX-RISC event register. Rename BGE_CPU_EVENT with BGE_RX_CPU_EVENT for readability. Additionally define BGE_TX_CPU_EVENT for TX-RSIC event register(BCM570[0-4] only). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-26T23:52:02.509738Z K 7 svn:log V 530 SRAM offset 0x0C04 is used by driver to inform the IPMI/ASF firmware about the various driver events like load, unload, reset, suspend, restart, and ioctl operations. Define driver's event rather than using hard-coded values. We don't still send suspend/resume event to firmware. Previously bge(4) used BGE_SDI_STATUS to send events. Because driver has to access firmware mail box to inform current state, using BGE_SDI_STATUS register was wrong. The end result was the same as BGE_SDI_STATUS is 0x0C04. No functional changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-27T02:36:13.003895Z K 7 svn:log V 226 MFC r226695-226696: r226695: Fix a regression introduced in r218832. For TX status check, driver should use a TX list DMA tag. r226696: Add missing bus_dmamap_sync() in setup frame transmit. Approved by: re (kensmith) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-10-27T02:40:43.236508Z K 7 svn:log V 27 Fix non-debug compilation. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-10-27T02:52:24.779772Z K 7 svn:log V 226 contigmalloc(9) and contigfree(9) are now implemented in terms of other more general VM system interfaces. So, their implementation can now reside in kern_malloc.c alongside the other functions that are declared in malloc.h. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-10-27T04:56:53.117715Z K 7 svn:log V 14 IFC @ r226824 END K 10 svn:author V 6 grehan K 8 svn:date V 27 2011-10-27T05:48:21.297743Z K 7 svn:log V 53 Sync to change #162500 in Bryan Venteicher's hg repo END K 10 svn:author V 7 linimon K 8 svn:date V 27 2011-10-27T07:20:30.992242Z K 7 svn:log V 113 Guess who forgot to change this file when 10 was branched, and thus built src from what was really -HEAD? Sigh. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-10-27T08:44:07.166899Z K 7 svn:log V 89 Fix a memory leak in tzload(). Reported by: valgrind Reviewed by: kib MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-10-27T09:43:25.609972Z K 7 svn:log V 127 - If KDB & NETGRAPH_DEBUG are on, print traces on discovered failed invariants. - Reduce tautology in NETGRAPH_DEBUG output. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-10-27T09:45:12.758901Z K 7 svn:log V 158 Add macro IF_DEQUEUE_ALL(ifq, m), that takes the entire mbuf chain off the queue. It can be utilized in queue processing to avoid multiple locking/unlocking. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2011-10-27T09:47:00.250745Z K 7 svn:log V 95 Utilize new IF_DEQUEUE_ALL(ifq, m) macro in pfsyncintr() to reduce contention on ifqueue lock. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2011-10-27T10:21:40.048331Z K 7 svn:log V 61 Check the return value of BUS_SETUP_INTR() Reviewed by: imp END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-10-27T10:25:11.162847Z K 7 svn:log V 205 Remove the long reprecated ``/stand/sysinstall'' from the init_path. It can be put back using the INIT_PATH config option or init_path loader variable, if still needed (which I doubt). MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-27T12:26:16.184902Z K 7 svn:log V 183 MFC r225979: Update the comment. MFC r225980: Handle the situation where fixups_close() has been called but more fixups are still available on the queue. Approved by: re (kensmith) END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2011-10-27T13:07:49.585412Z K 7 svn:log V 306 Adjust the debugger options slightly. This should help me do the right thing when changing the debugging options as part of head becoming a new stable branch. It may also help people who for one reason or another want to run head but don't want it slowed down by the debugging support. Reviewed by: kib END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-10-27T13:17:42.274273Z K 7 svn:log V 111 Fix the manual section number for a cross-reference to open(2) and sort it. Reviewed by: ed MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T14:07:57.213853Z K 7 svn:log V 1215 Improve AES-NI performance for AES-XTS: - Operate on uint64_t types when doing XORing, etc. instead of uint8_t. - Don't bzero() temporary block for every AES block. Do it once for entire data block. - AES-NI is available only on little endian architectures. Simplify code that takes block number from IV. Benchmarks: Memory-backed md(4) device, software AES-XTS, 4kB sector: # dd if=/dev/md0.eli bs=1m 59.61MB/s Memory-backed md(4) device, old AES-NI AES-XTS, 4kB sector: # dd if=/dev/md0.eli bs=1m 97.29MB/s Memory-backed md(4) device, new AES-NI AES-XTS, 4kB sector: # dd if=/dev/md0.eli bs=1m 221.26MB/s 127% performance improvement between old and new code. Harddisk, raw speed: # dd if=/dev/ada0 bs=1m 137.63MB/s Harddisk, software AES-XTS, 4kB sector: # dd if=/dev/ada0.eli bs=1m 47.83MB/s (34% of raw disk speed) Harddisk, old AES-NI AES-XTS, 4kB sector: # dd if=/dev/ada0.eli bs=1m 68.33MB/s (49% of raw disk speed) Harddisk, new AES-NI AES-XTS, 4kB sector: # dd if=/dev/ada0.eli bs=1m 108.35MB/s (78% of raw disk speed) 58% performance improvement between old and new code. As a side-note, GELI with AES-NI using AES-CBC can achive native disk speed. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-10-27T14:11:19.340566Z K 7 svn:log V 155 MFC r225979: Update the comment. MFC r225980: Handle the situation where fixups_close() has been called but more fixups are still available on the queue. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T14:15:26.316501Z K 7 svn:log V 37 Update Copyright. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T16:12:25.950863Z K 7 svn:log V 746 Before this change when GELI detected hardware crypto acceleration it will start only one worker thread. For software crypto it will start by default N worker threads where N is the number of available CPUs. This is not optimal if hardware crypto is AES-NI, which uses CPU for AES calculations. Change that to always start one worker thread for every available CPU. Number of worker threads per GELI provider can be easly reduced with kern.geom.eli.threads sysctl/tunable and even for software crypto it should be reduced when using more providers. While here, when number of threads exceeds number of CPUs avilable don't reduce this number, assume the user knows what he is doing. Reported by: Yuri Karaban MFC after: 3 days END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-27T16:20:29.174910Z K 7 svn:log V 275 Print INIT_PROCESS and LOGIN_PROCESS entries as well. Even though our implementation of utmpx never emits these types of records, they are part of POSIX. Do print them when they show up in the database files. While there, also print the type number of unsupported records. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T16:22:17.901171Z K 7 svn:log V 37 Correct comments. MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-10-27T16:39:17.183120Z K 7 svn:log V 215 Eliminate vestiges of page coloring in VM_ALLOC_NOOBJ calls to vm_page_alloc(). While I'm here, for the sake of consistency, always specify the allocation class, such as VM_ALLOC_NORMAL, as the first of the flags. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-27T16:47:09.248167Z K 7 svn:log V 198 MFC r226695-226696: r226695: Fix a regression introduced in r218832. For TX status check, driver should use a TX list DMA tag. r226696: Add missing bus_dmamap_sync() in setup frame transmit. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-10-27T16:48:19.549886Z K 7 svn:log V 198 MFC r226695-226696: r226695: Fix a regression introduced in r218832. For TX status check, driver should use a TX list DMA tag. r226696: Add missing bus_dmamap_sync() in setup frame transmit. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-27T17:05:18.698752Z K 7 svn:log V 598 Make our utmpx more like System V. When booting the system, truncate the utx.active file, but do write the BOOT_TIME record into it afterwards. This allows one to obtain the boot time of the system as follows: struct utmpx u1 = { .ut_type = BOOT_TIME }, *u2; setutxent(); u2 = getutxid(&u1); Now, the boot time is stored in u2->ut_tv, just like on Linux and other systems. We don't open the utx.active file with O_EXLOCK. It's rather unlikely that other applications use this database at the same time and I want to prevent the possibility of deadlocks in init(8). Discussed with: pluknet END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-10-27T17:21:41.585205Z K 7 svn:log V 40 Don't forget to kick the man page date. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-10-27T17:29:19.461072Z K 7 svn:log V 112 Tidy up the comment at the head of vm_page_alloc, and mention that the returned page has the flag VPO_BUSY set. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-10-27T17:43:36.371025Z K 7 svn:log V 16 Whitespace fix. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-10-27T17:44:51.244580Z K 7 svn:log V 26 Sort function prototypes. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T18:45:01.493027Z K 7 svn:log V 251 Delay resuid generation until first connection to secondary, not until first write. This way on first connection we will synchronize only the extents that were modified during the lifetime of primary node, not entire GEOM provider. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T18:49:16.009390Z K 7 svn:log V 35 Monor cleanups. MFC after: 3 days END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-10-27T19:18:54.422307Z K 7 svn:log V 101 MFC r226664: - Install BSD grep properly, based on the value of WITH_BSD_GREP Approved by: re (kib) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T20:01:23.914945Z K 7 svn:log V 141 - Eliminate the need for hio_nv. - Introduce hio_clear() function for clearing hio before returning it onto free queue. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T20:10:21.140448Z K 7 svn:log V 104 Improve comment so it doesn't suggest race is possible, but that we handle the race. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T20:13:39.204255Z K 7 svn:log V 39 Reduce indentation. MFC after: 3 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-10-27T20:15:37.430202Z K 7 svn:log V 35 Minor cleanups. MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-10-27T20:23:03.463668Z K 7 svn:log V 126 MFC r226714: Fix argument name. This fixes EINVAL when boot0cfg uses GEOM_PART' control interface. Approved by: re (kib) END