ƒ¸e254520 149 426 282 224 287 203 166 322 518 180 180 180 855 730 542 314 578 339 231 239 167 335 308 123 607 544 216 243 530 235 300 205 181 181 178 129 364 363 266 208 740 269 386 185 176 229 275 179 331 472 182 289 170 272 333 117 491 225 172 363 363 120 357 537 106 186 190 183 191 106 247 347 7709 159 254 106 162 111 355 556 265 207 268 191 531 216 191 576 105 800 105 138 137 394 163 243 1395 448 179 160 302 153 272 355 253 381 152 213 6299 105 301 323 558 468 105 211 105 105 105 106 127 175 350 350 161 105 207 105 234 98 343 329 824 133 133 169 316 233 515 109 116 116 147 122 204 233 104 403 491 595 K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-19T11:16:53.810124Z K 7 svn:log V 331 Remove the unused M_NOFREE mbuf flag. It didn't have any in-tree users for a very long time, if ever. Should such a functionality ever be needed again the appropriate and much better way to do it is through a custom EXT_SOMETHING external mbuf type together with a dedicated *ext_free function. Discussed with: trociny, glebius END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-19T12:30:18.380473Z K 7 svn:log V 187 Move the SCTP specific definition of M_NOTIFICATION onto a protocol specific mbuf flag from sys/mbuf.h to netinet/sctp_os_bsd.h. It is only relevant within SCTP. Discussed with: tuexen END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-08-19T12:37:13.618987Z K 7 svn:log V 126 Add support for parameterised device tree sources to the device tree compiler. Reviewed by: brooks Sponsored by: DARPA, AFRL END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-19T13:27:32.619062Z K 7 svn:log V 192 Add m_clrprotoflags() to clear protocol specific mbuf flags at up and downwards layer crossings. Consistently use it within IP, IPv6 and ethernet protocols. Discussed with: trociny, glebius END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-19T13:56:14.204822Z K 7 svn:log V 108 Add four additional M_PROTOFLAGS[9-12] for protocol specific use. Discussed with: trociny, glebius, adrian END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-19T14:04:35.370443Z K 7 svn:log V 74 Add entry for packages-9.2-release directory. Approved by: re (implicit) END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-19T14:07:31.951289Z K 7 svn:log V 227 Migrate the net80211 protocol specific use of M_FRAG, M_FIRSTFRAG and M_LASTFRAG flags to protocol specific flags. Remove the now unused M_FRAG, M_FIRSTFRAG and M_LASTFRAG mbuf flags. Discussed with: trociny, glebius, adrian END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-19T14:25:11.969457Z K 7 svn:log V 423 Reorder the mbuf defines to make more sense and group related flags together. Add M_FLAG_PRINTF for use with printf(9) %b indentifier. Use the generic mbuf flags print names in the net80211 code and adjust the protocol specific bits for their new positions. Change SCTP M_PROTO mapping from 5 to 1 to fit within the 16bit field they use internally to store some additional information. Discussed with: trociny, glebius END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-19T14:38:28.567863Z K 7 svn:log V 88 MFC r254525: Add entry for packages-9.2-release directory. Approved by: re (implicit) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-19T14:38:35.158809Z K 7 svn:log V 88 MFC r254525: Add entry for packages-9.2-release directory. Approved by: re (implicit) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-19T14:42:39.847139Z K 7 svn:log V 88 MFC r254525: Add entry for packages-9.2-release directory. Approved by: re (implicit) END K 10 svn:author V 3 raj K 8 svn:date V 27 2013-08-19T14:56:17.879423Z K 7 svn:log V 762 Simplify pv_entry removal or ARMv6/v7: - PGA_WRITEABLE indicates that there *might be* a writable mapping for the particular page, so to avoid frequent sweeping of the pv_entries whenever pmap_nuke_pv(), pmap_modify_pv(), etc. is called, it is sufficient to clear that flag if there are no managed mappings for that page anymore (notice that only pmap_enter is authorized to set this flag). - Avoid redundant checking for PVF_WIRED flag when this flag cannot be set anyway. - Clear PGA_WRITEABLE only once for each vm_page instead of multiple, redundant clearing it in loop when there are no writeable mappings to that page anymore. Submitted by: Zbigniew Bodek Reviewed by: gber Sponsored by: The FreeBSD Foundation, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2013-08-19T15:12:36.660762Z K 7 svn:log V 637 Clear all L2 PTE protection bits before their configuration. Revise L2_S_PROT_MASK to include all of the protection bits. Notice that clearing these bits does not always take away the corresponding permissions (for example, permission is granted when the bit is cleared). The bits are cleared but are to be set or left cleared accordingly in pmap_set_prot(), pmap_enter_locked(), etc. Clear L2_XN along with L2_S_PROT_MASK in pmap_set_prot() so that all permissions related bits are cleared before actual configuration. Submitted by: Zbigniew Bodek Reviewed by: gber Sponsored by: The FreeBSD Foundation, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2013-08-19T15:36:23.610268Z K 7 svn:log V 449 Fix ARMv6/v7 mapping's wired status. Last input argument in pmap_modify_pv() should be a mask of flags to be set. In pmap_change_wiring() however, the straight wired status was used, which does not represent valid flags (and is of type boolean). This commit fixes the issue so that wired flag is passed to pmap_modify_pv() properly. Submitted by: Zbigniew Bodek Reviewed by: gber Sponsored by: The FreeBSD Foundation, Semihalf END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-19T15:51:30.265026Z K 7 svn:log V 221 Allow UART_POLL_FREQ to be set as a kernel option as well as via tunable (the code was already set up for this, just needs to be in conf/options). Also, if reporting that polling is being used, report the frequency too. END K 10 svn:author V 3 raj K 8 svn:date V 27 2013-08-19T15:58:39.648381Z K 7 svn:log V 485 Simplify and clean up pmap_clearbit() There is no need for calling vm_page_dirty() when clearing "modified" flag as it is already set for that page in pmap_fault_fixup() or pmap_enter() thanks to "modified" bit emulation. Also, there is no need for checking PTE "referenced" or "writeable" flags. If there is a request to clear a particular flag we should just do it. Submitted by: Zbigniew Bodek Reviewed by: gber Sponsored by: The FreeBSD Foundation, Semihalf END K 10 svn:author V 3 raj K 8 svn:date V 27 2013-08-19T16:16:49.098950Z K 7 svn:log V 246 Do not use pv_kva on ARMv6/v7 and save some space on each vm_page. It's only relevant for older ARM variants (with virtual cache). Submitted by: Zbigniew Bodek Reviewed by: gber Sponsored by: The FreeBSD Foundation, Semihalf END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-19T16:47:06.627242Z K 7 svn:log V 136 Bump __FreeBSD_version to 1000046 after the addition of M_PROTO[9-12] and removal of M_NOFREE|M_FRAG|M_FIRSTFRAG|M_LASTFRAG mbuf flags. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-08-19T17:09:14.185643Z K 7 svn:log V 146 Remove incorrect 'const' qualifier from pointers to dynamic string buffers I added in the previous commit. Pointy hat to: jhb MFC after: 1 month END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-19T17:44:19.343626Z K 7 svn:log V 72 Subversion requires atomic functions we only support on arm with clang. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-19T18:57:58.443767Z K 7 svn:log V 241 Add a parameter to the "get memory segment" ioctl to indicate whether or not the segment is wired. In general the memory segments belonging to a virtual machine are not wired unless the virtual machine is attached to a passthru pci device. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-08-19T20:46:14.086002Z K 7 svn:log V 212 - Unset the proper bit in the bitmap that keeps track which structures are in use and which aren't when the thread exits. - Protect the bitmap using PROC_SLOCK. Discussed with: attilio[1] Pointed out by: jhb[2] END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-19T22:25:36.624169Z K 7 svn:log V 28 Enable VFP on the Zedboard. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2013-08-19T23:02:39.874419Z K 7 svn:log V 513 - Use an arbitrary but reasonably large import size for kva on architectures that don't support superpages. This keeps the number of spans and internal fragmentation lower. - When the user asks for alignment from vmem_xalloc adjust the imported size by 2*align to be certain we can satisfy the allocation. This comes at the expense of potential failures when the backend can't supply enough memory but could supply the requested size and alignment. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 jeff K 8 svn:date V 27 2013-08-19T23:54:24.648439Z K 7 svn:log V 450 - Increase the active lru refresh interval to 10 minutes. This has been shown to negatively impact some workloads and the goal is only to eliminate worst case behaviors for very long periods of paging inactivity. Eventually we should determine a more complex scaling factor for this feature. - Rate limit low memory callback handlers to limit thrashing. Set the default to 10 seconds. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-20T00:35:21.486214Z K 7 svn:log V 123 MFC r254397: Mark the makefs(8) '-p' flag as deprecated in preference for the '-Z' flag for compatibility with NetBSD. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-08-20T01:14:16.575132Z K 7 svn:log V 150 MFC r254397: Mark the makefs(8) '-p' flag as deprecated in preference for the '-Z' flag for compatibility with NetBSD. Approved by: re (rodrigc) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-20T02:09:26.214928Z K 7 svn:log V 436 Fix breakage caused by r254466 in minidumpsys(). r254466 increased the KVA from 512GB to 2TB which requires 4 PDP pages as opposed to a single one before the change. This broke minidumpsys() since it assumed that the entire KVA could be addressed via a single PDP page. Fix this by obtaining the address of the PDP page from the PML4 entry associated with the KVA being dumped. Reported by: pho Submitted by: kib Pointy hat to: neel END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-20T06:20:05.284395Z K 7 svn:log V 141 Extract the location of the remapping hardware units from the ACPI DMAR table. Submitted by: Gopakumar T (gopakumar_thekkedath@yahoo.co.in) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-20T06:46:40.646848Z K 7 svn:log V 206 Do not create superpage mappings in the iommu. This is a workaround to hide the fact that we do not have any code to demote a superpage mapping before we unmap a single page that is part of the superpage. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-20T07:11:53.163805Z K 7 svn:log V 112 MFC r253967: Wait for the doomed vnode to be detached from the tmpfs node if sleepable allocation is requested. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-08-20T07:13:01.174398Z K 7 svn:log V 84 MFC r254238: Correct an EHCI register write. Reported by: aseem.jolly@gmail.com END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-08-20T07:15:16.984027Z K 7 svn:log V 84 MFC r254238: Correct an EHCI register write. Reported by: aseem.jolly@gmail.com END K 10 svn:author V 3 des K 8 svn:date V 27 2013-08-20T07:19:58.537976Z K 7 svn:log V 86 Fix the zeroing loop. I must have been drunk when I wrote this... MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2013-08-20T07:22:20.469580Z K 7 svn:log V 37 MFH (r254278): fix relative symlinks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-08-20T07:28:24.862211Z K 7 svn:log V 266 MFC r254243: - Try to fix build of 32-bit compatibility USB support for FreeBSD and Linux targets without breaking the existing IOCTL API. - Remove some not-needed header file inclusions. - Wrap a long line. Reported by: Damjan Jovanovic END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-08-20T07:40:40.704455Z K 7 svn:log V 265 MFC r254243: - Try to fix build of 32-bit compatibility USB support for FreeBSD and Linux targets without breaking the existing IOCTL API. - Remove some not-needed header file inclusions. - Wrap a long line. Reported by: Damjan Jovanovic END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-20T07:48:20.773091Z K 7 svn:log V 172 APIs to manipulate guest physical address space mappings to host MMIO regions. These APIs will be used for mapping BARs of the pci passthru devices assigned to the guest. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-08-20T11:06:56.919647Z K 7 svn:log V 115 Added sysctl to turn off calls to vmem_check(). Sponsored by: EMC / Isilon storage division Discussed with: jeff END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-20T12:33:35.267789Z K 7 svn:log V 647 Make the standard sdhci(4) driver work for the TI OMAP family SoCs. The MMCHS hardware is pretty much a standard SDHCI v2.0 controller with a couple quirks, which are now supported by sdhci(4) as of r254507. This should work for all TI SoCs that use the MMCHS hardware, but it has only been tested on AM335x right now, so this enables it on those platforms but leaves the existing ti_mmchs driver in place for other OMAP variants until they can be tested. This initial incarnation lacks DMA support (coming soon). Even without it this improves performance pretty noticibly over the ti_mmchs driver, primarily because it now does multiblock IO. END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-08-20T13:19:35.639684Z K 7 svn:log V 177 Document the FreeBSD use of IP-FIlter under the previously existing non-GPL license. Approved by: Darren Reed (IP-Filter author) glebius (mentor) END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-08-20T13:22:21.936164Z K 7 svn:log V 294 Revert to the previous IP-Filter license which was inadvertently overwritten by the new GPL license for IP-Filter. ` Document the FreeBSD use of IP-FIlter under the previously existing non-GPL license. Approved by: Darren Reed (IP-Filter author) glebius (mentor) END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-08-20T13:24:44.522719Z K 7 svn:log V 94 Add kernel sources from IP-Filter 5.1.2 to vendor-sys/ branch. Approved by: glebius (mentor) END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-08-20T13:38:40.839495Z K 7 svn:log V 85 Tag authorization to use IP-Filter under old license. Approved by: glebius (mentor) END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-08-20T13:50:36.674722Z K 7 svn:log V 137 Tag authorization to use IP-Filter under old license. Tag additional kernel sources from IP-Filter 5.1.2 tarball. Approved by: glebius END K 10 svn:author V 2 cy K 8 svn:date V 27 2013-08-20T13:55:49.582262Z K 7 svn:log V 183 Tag the revert of IP-Filter 5.1.2 licence to the old licence currently used under FreeBSD. Approved by: Darren Reed (IP-Filter author) glebius (mentor) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-20T14:19:00.686849Z K 7 svn:log V 84 MFC r250201 from hselasky: Add new USB API to get the port path of a USB device. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-20T14:25:44.936141Z K 7 svn:log V 235 MFC r250335: Constify libusb_get_pollfds return The correct return type, per our libusb(3) man page and the libusb.org and libusbx projects (whose interface we intend to follow for our libusb), is const struct libusb_pollfd **. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-20T14:29:43.837902Z K 7 svn:log V 376 MFC r250342, r251495: Add libusb_get_port_path wrapper This follows the libusbx API reference at http://libusbx.sourceforge.net/api-1.0/group__dev.html Add libusb_get_port_numbers libusbx deprecated libusb_get_port_path and replaced it with libusb_get_port_numbers. The latter omits an extra parameter which was unused in the FreeBSD implementation anyway. END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-08-20T14:35:17.979131Z K 7 svn:log V 91 After r241616 properly export ifi_baudrate_pf in the 32bit compat case. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-08-20T14:37:06.180542Z K 7 svn:log V 197 Catch up with various changes to if_data and make this compile again on HEAD. Seems to be one of the the only tools giving us access to ifi_baudrate and ifi_baudrate_pf values. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2013-08-20T14:59:31.055930Z K 7 svn:log V 79 Correct a typo in the event mask mnemonic. Reviewed by: gnn MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-08-20T16:21:05.027598Z K 7 svn:log V 174 Force keyboards which don't have the required HID fields to use the USB BOOT protocol for now. PR: usb/181425 Submitted by: Andrey Zholos MFC after: 4 weeks END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-08-20T17:50:30.737466Z K 7 svn:log V 240 MFC r254008,254262: Improve the MSIX setup logic, making sure the requested number of vectors are actually obtained, and if not cleaning up before falling back to MSI. Also make the fallback decision as early as possible. Approved by: re END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-20T18:05:31.420215Z K 7 svn:log V 24 IFC r254548 and r254549 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-20T18:06:18.014021Z K 7 svn:log V 397 Virtual machines with PCI passthru devices get special treatment: - the entire guest address space is wired - iommu mappings need to be created to map guest physical addresses to the wired host physical pages. This happens automatically when the first PCI passthru device is attached to the guest. The reverse happens automatically when the last PCI passthru device is detached from the guest. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-08-20T18:08:06.844130Z K 7 svn:log V 132 Stop an ipoib interface before detaching it. PR: kern/181225 Submitted by: Shahar Klein Obtained from: Mellanox MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-20T18:22:04.649861Z K 7 svn:log V 81 Display P/N information in the description. Submitted by: gnn MFC after: 3 days END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-20T19:13:13.824859Z K 7 svn:log V 267 MFC r254457 Do not use potentially stale thread in kthread_add() When an existing process is provided, the thread selected to use to initialize the new thread could have exited and be reaped. Acquire the proc lock earlier to ensure the thread remains valid. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-20T19:17:01.193863Z K 7 svn:log V 267 MFC r254457 Do not use potentially stale thread in kthread_add() When an existing process is provided, the thread selected to use to initialize the new thread could have exited and be reaped. Acquire the proc lock earlier to ensure the thread remains valid. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-20T20:40:20.040652Z K 7 svn:log V 25 Enable VFP on ARMADA XP. END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-08-20T20:46:29.044566Z K 7 svn:log V 264 Pull in r188716 from upstream clang trunk: PR16727: don't try to evaluate a potentially value-dependent expression when checking for missing parens in &&/|| expressions. This fixes an assertion encountered when building the lang/sdcc port. Reported by: kwm END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-08-20T20:51:32.381387Z K 7 svn:log V 444 Pull in r182983 from upstream clang trunk: Fix handling of braced-init-list as reference initializer within aggregate initialization. Previously we would incorrectly require an extra set of braces around such initializers. Pull in r188718 from upstream clang trunk: Handle init lists and _Atomic fields. Fixes PR16931. These fixes are needed for the atomic_flag type to work correctly in our stdatomic.h. Requested by: theraven END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-20T21:43:46.662782Z K 7 svn:log V 13 IFC @r252646 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-20T21:47:07.470983Z K 7 svn:log V 93 Revert gratuitous style changes and attempt to maintain consistent style. Requested by: bde END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-20T22:31:13.656605Z K 7 svn:log V 94 MFV r254220: Illumos ZFS issues: 4039 zfs_rename()/zfs_link() needs stronger test for XDEV END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-20T22:53:06.229481Z K 7 svn:log V 90 - Update for atomic_swap() and atomic_testandclear(). - Try to maintain consistent style. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-21T00:04:31.858801Z K 7 svn:log V 95 MFV r254421: Illumos ZFS issues: 3996 want a libzfs_core API to rollback to latest snapshot END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-21T02:14:23.239144Z K 7 svn:log V 13 IFC @r253140 END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-21T04:05:06.075467Z K 7 svn:log V 154 Check for generic ns16550 after all other types. A device may be compatible with 16550 but also have a more specific/capable driver earlier in the list. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-21T04:08:58.176546Z K 7 svn:log V 254 Use an if/else sequence rather than unrelated if statements, so that a device compatible with multiple drivers matches the more specific driver first and doesn't overwrite it later with the more generic. Move the generic ns16550 to the end of the list. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-08-21T04:10:24.991124Z K 7 svn:log V 7613 Enhance the ZFS vdev layer to maintain both a logical and a physical minimum allocation size for devices. Use this information to automatically increase ZFS's minimum allocation size for new top-level vdevs to a value that more closely matches the optimum device allocation size. Use GEOM's stripesize attribute, if set, as the physical sector size of the GEOM. Calculate the minimum blocksize of each metaslab class. Use the calculated value instead of SPA_MINBLOCKSIZE (512b) when determining the likelyhood of compression yeilding a reduction in physical space usage. Report devices with sub-optimal block size configuration in "zpool status". Also properly fail attempts to attach devices with a logical block size greater than 8kB, since this will cause corruption to ZFS's label area. Sponsored by: Spectra Logic Corporaion MFC after: 2 weeks Background ========== Many modern devices use physical allocation units that are much larger than the minimum logical allocation size accessible by external commands. Two prevalent examples of this are 512e disk drives (512b logical sector, 4K physical sector) and flash devices (512b logical sector, 4K or larger allocation block size, and 128k or larger erase block size). Operations that modify less than the physical sector size result in a costly read-modify-write or garbage collection sequence on these devices. Simply exporting the true physical sector of the device to ZFS would yield optimal performance, but has two serious drawbacks: 1) Existing pools created with devices that have different logical and physical block sizes, but were configured to use the logical block size (e.g. because the OS version used for pool construction reported the logical block size instead of the physical block size) will suddenly find that the vdev allocation size has increased. This can be easily tolerated for active members of the array, but ZFS would prevent replacement of a vdev with another identical device because it now appears that the smaller allocation size required by the pool is not supported by the new device. 2) The device's physical block size may be too large to be supported by ZFS. The optimal allocation size for the vdev may be quite large. For example, a RAID controller may export a vdev that requires read-modify-write cycles unless accessed using 64k aligned/sized requests. ZFS currently has an 8k minimum block size limit. Reporting both the logical and physical allocation sizes for vdevs solves these problems. A device may be used so long as the logical block size is compatible with the configuration. By comparing the logical and physical block sizes, new configurations can be optimized and administrators can be notified of any existing pools that are sub-optimal. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/spa.h: Add the SPA_ASHIFT constant. ZFS currently has a hard upper limit of 13 (8k) for ashift and this constant is used to both document and enforce this limit. sys/cddl/contrib/opensolaris/uts/common/sys/fs/zfs.h: Add the VDEV_AUX_ASHIFT_TOO_BIG error code. Add fields for exporting the configured, logical, and physical ashift to the vdev_stat_t structure. Add VDEV_STAT_VALID() macro which can be used to verify the presence of required vdev_stat_t fields in nvlist data. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c: Provide a SYSCTL_PROC handler for "max_auto_ashift". Since the limit is only referenced long after boot when a create operation occurs, there's no compelling need for it to be a boot time configurable tunable. This also allows the validation code for the max_auto_ashift value to be contained within the sysctl handler. Populate the new fields in the vdev_stat_t structure. Fail vdev opens if the vdev reports an ashift larger than SPA_MAXASHIFT. Propogate vdev_logical_ashift and vdev_physical_ashift between child and parent vdevs as is done for vdev_ashift. In vdev_open(), restore code that fails opens for devices where vdev_ashift grows. This can only happen now if the device's logical ashift grows, which means it really isn't safe to use the device. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_impl.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_file.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_mirror.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_missing.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_raidz.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_root.c: Update the vdev_open() API so that both logical (what was just ashift before) and physical ashift are reported. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/vdev_impl.h: Add two new fields, vdev_physical_ashift and vdev_logical_ashift, to vdev_t. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_config.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa.c: Add vdev_ashift_optimize(). Call it anytime a new top-level vdev is allocated. cddl/contrib/opensolaris/cmd/zpool/zpool_main.c: Add text for the VDEV_AUX_ASHIFT_TOO_BIG error. For each sub-optimally configured leaf vdev, report configured and native block sizes. cddl/contrib/opensolaris/cmd/zpool/zpool_main.c: cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_status.c: Introduce a new zpool status: ZPOOL_STATUS_NON_NATIVE_ASHIFT. This status is reported on healthy pools containing vdevs configured to use a block size smaller than their reported physical block size. cddl/contrib/opensolaris/lib/libzfs/common/libzfs_status.c: Update find_vdev_problem() and supporting functions to provide the full vdev_stat_t structure to problem checking routines, and to allow decent into replacing vdevs. Add a vdev_non_native_ashift() validator which is used on the full vdev tree to check for ZPOOL_STATUS_NON_NATIVE_ASHIFT. cddl/contrib/opensolaris/lib/libzpool/common/kernel.c: cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h: Enhance sysctl userland stubs now that a SYSCTL_PROC handler is used in vdev.c. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/metaslab_impl.h: When the group membership of a metaslab class changes (i.e. when a vdev is added or removed from a pool), walk the group list to determine the smallest block size currently available and record this in the metaslab class. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/metaslab.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/metaslab.c: Add the metaslab_class_get_minblocksize() accessor. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio_compress.c: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c: In zio_compress_data(), take the minimum blocksize as an input parameter instead of assuming SPA_MINBLOCKSIZE. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c: In l2arc_compress_buf(), pass SPA_MINBLOCKSIZE as the minimum blocksize of the device. The l2arc code performs has it's own code for deciding if compression is worth while, so this effectively disables zio_compress_data() from second guessing the original decision. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio.c: In zio_write_bp_init(), use the minimum blocksize of the normal metaslab class when compressing data. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-21T04:20:17.544678Z K 7 svn:log V 67 Define the uart clocks so that they can be en/disabled at runtime. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-21T04:49:58.125459Z K 7 svn:log V 161 Make the noop clock successfully do nothing, because doing nothing and returning an error status (which the NULL method pointers caused) isn't nearly as useful. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-21T06:32:32.100923Z K 7 svn:log V 13 IFC @r253582 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-08-21T07:45:47.558458Z K 7 svn:log V 68 Fix the (unused for now) SCSI_PROTO_iSCSI define to match style(9). END K 10 svn:author V 3 uqs K 8 svn:date V 27 2013-08-21T08:01:52.987984Z K 7 svn:log V 19 Fix 'make depend'. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-21T14:26:15.246977Z K 7 svn:log V 262 Make the uart ns8250 high-level interface public rather than static. This makes it easier to implement new drivers which are "mostly ns8250" but with some small difference such as needing to enable clocks or poke a non-standard register at probe or attach time. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-08-21T14:33:02.879193Z K 7 svn:log V 463 Add support for uarts other than the serial console in TI OMAP SoCs. The TI uart hardware is ns16550-compatible, except that before it can be used the clocks and power have to be enabled and a non-standard mode control register has to be set to put the device in uart mode (as opposed to irDa or other serial protocols). This adds the extra code in an extension to the standard ns8250 probe routine, and the rest of the driver is just the standard ns8250 code. END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-08-21T15:31:43.866369Z K 7 svn:log V 172 Addendum to r254141: Allow recursion on the free pages queues lock in vm_page_alloc_freelist(). Reported and tested by: sbruno Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-08-21T16:46:06.575099Z K 7 svn:log V 110 Check strtoumax(3) for ERANGE in case of non-prefixed string. OK'd by: silence on current@ MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-21T17:23:24.538065Z K 7 svn:log V 175 Extract the general-purpose code from tmpfs to perform uiomove from the page queue of some vm object. Discussed with: alc Tested by: pho Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-21T17:36:01.862617Z K 7 svn:log V 99 Make the seek a method of the struct fileops. Tested by: pho Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-21T17:45:00.091502Z K 7 svn:log V 438 Implement read(2)/write(2) and neccessary lseek(2) for posix shmfd. Add MAC framework entries for posix shm read and write. Do not allow implicit extension of the underlying memory segment past the limit set by ftruncate(2) by either of the syscalls. Read and write returns short i/o, lseek(2) fails with EINVAL when resulting offset does not fit into the limit. Discussed with: alc Tested by: pho Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-21T17:47:11.418308Z K 7 svn:log V 123 Add simple test for the read/write/lseek on posix shm filedescriptor. Tested by: pho Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-21T18:12:04.407756Z K 7 svn:log V 97 Revert r254520 and resurrect the M_NOFREE mbuf flag and functionality. Requested by: np, grehan END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-08-21T19:02:34.292274Z K 7 svn:log V 482 MFC r241077: - Simplify the implementation of atomic_compare_exchange_strong_explicit. - Evaluate the memory order argument in atomic_fetch_*_explicit macros. - Implement atomic_store_explicit using atomic_exchange_explicit instead of a plain assignment. MFC r241190: Define clang feature test macro __has_extension. It's used in stdatomic.h. MFC r254497: Change the return type of the fallback implementation of the atomic_compare_exchange_* macros in stdatomic.h to _Bool. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-21T19:30:07.289035Z K 7 svn:log V 12 IFC @253953 END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-08-21T19:40:43.305876Z K 7 svn:log V 705 Add kstat entries for ZFS compression statistics. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zio_compress.c: Add module lifetime functions to allocate and teardown state data. Report: - Compression attempts. - Buffers found to be empty. - Compression calls that are skipped because the data length is already less than or equal to the minimum block length. - Compression attempts that fail to yield a 12.5% compression ratio. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c: Add calls to the zio_compress.c module's init and fini functions. Sponosred by: Spectra Logic Corporation MFC after: 2 weeks END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-21T20:38:19.205117Z K 7 svn:log V 12 IFC @254025 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T20:43:50.325344Z K 7 svn:log V 45 Use consistent style. No functional change. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T20:49:46.524988Z K 7 svn:log V 44 Remove bogus labels. No functional change. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T21:14:16.445979Z K 7 svn:log V 300 Use '+' modifier for a memory operand that is both an input and an output. It was actually done in r86301 but reverted in r150182 because GCC 3.x was not able to handle it for a memory operand. Apparently, this problem was fixed in GCC 4.1+ and several contrib sources already rely on this feature. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-21T21:20:16.177649Z K 7 svn:log V 69 Development branch for /dev/random RNG work, and related RNG things. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T21:30:06.500220Z K 7 svn:log V 149 - Remove the "a" constraint from main output operand for atomic_cmpset(). - Use "+" modifier for the "expect" because it is also an output (unused). END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-08-21T21:30:56.672063Z K 7 svn:log V 1301 Fix mps(4) driver breakage that came in in change 253550 that manifested itself in out of chain frame conditions. When the driver ran out of chain frames, the request in question would get completed early, and go through mpssas_scsiio_complete(). In mpssas_scsiio_complete(), the negation of the CAM status values (CAM_STATUS_MASK | CAM_SIM_QUEUED) was ORed in instead of being ANDed in. This resulted in a bogus CAM CCB status value. This didn't show up in the non-error case, because the status was reset to something valid (e.g. CAM_REQ_CMP) later on in the function. But in the error case, such as when the driver ran out of chain frames, the CAM_REQUEUE_REQ status was ORed in to the bogus status value. This led to the CAM transport layer repeatedly releasing the SIM queue, because it though that the CAM_RELEASE_SIMQ flag had been set. The symptom was messages like this on the console when INVARIANTS were enabled: xpt_release_simq: requested 1 > present 0 xpt_release_simq: requested 1 > present 0 xpt_release_simq: requested 1 > present 0 mps_sas.c: In mpssas_scsiio_complete(), use &= to take status bits out. |= adds them in. In the error case in mpssas_scsiio_complete(), set the status to CAM_REQUEUE_REQ, don't OR it in. MFC after: 3 days Sponsored by: Spectra Logic END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-21T21:47:56.204917Z K 7 svn:log V 352 Change the name of this particular event to reflect the name used in Linux and Intel examples. Sourced: * https://github.com/andikleen/pmu-tools/blob/master/snb-client.csv * http://software.intel.com/en-us/comment/1747932#comment-1747932 Note: * It's not currently in the Intel SDM; I need to chase down what's going on. Tested: * Sandy Bridge END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T22:03:06.647924Z K 7 svn:log V 86 Implement atomic_swap() and atomic_testandset(). Reviewed by: arch, bde, jilles, kib END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T22:05:58.558360Z K 7 svn:log V 67 Remove empty lines before return statements for style consistency. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T22:27:42.189156Z K 7 svn:log V 208 Reimplement atomic_load_acq_64() and atomic_store_rel_64() for i386. These functions are now real functions rather than function pointers. Supposedly, it is faster for modern processors. Suggested by: bde END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T22:30:11.160783Z K 7 svn:log V 60 Implement atomic_cmpset_64() and atomic_swap_64() for i386. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-08-21T22:37:15.951629Z K 7 svn:log V 175 Reset errno before strtoumax() call to properly detect ERANGE. Restore saved errno if strtoumax() call is successful. Reported by: ache Reviewed by: jilles MFC after: 1 week END K 10 svn:author V 4 jeff K 8 svn:date V 27 2013-08-21T22:39:19.940019Z K 7 svn:log V 261 - Eliminate the vm object lock from the active queue scan. It is not necessary since we do not free or cache the page from active anymore. Document the one possible race that is harmless. Sponsored by: EMC / Isilon Storage Division Discussed with: alc END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T22:40:29.532793Z K 7 svn:log V 159 Reimplement atomic operations on PDEs and PTEs in pmap.h. This change significantly reduces duplicate code and make it easier to read. Reviewed by: alc, bde END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-08-21T22:43:29.677356Z K 7 svn:log V 285 The PADLOCK_RNG and RDRAND_RNG kernel options are now devices. Thus "device padlock_rng" and "device rdrand_rng" should be used instead of "options PADLOCK_RNG" & "options RDRAND_RNG". Requested by: so@ (des) Submitted by: obrien, arthurmesh@gmail.com Obtained from: Juniper Networks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-21T22:55:10.457579Z K 7 svn:log V 59 Remove an obsolete branch. Everything was merged to head. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-08-21T22:57:29.926802Z K 7 svn:log V 117 Provide a prototype for yyparse() so that "-Werror" along with stringent -W* warnings can be used on byacc's output. END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-08-21T23:04:48.531755Z K 7 svn:log V 6205 Expand the use of stat(2) flags to allow storing some Windows/DOS and CIFS file attributes as BSD stat(2) flags. This work is intended to be compatible with ZFS, the Solaris CIFS server's interaction with ZFS, somewhat compatible with MacOS X, and of course compatible with Windows. The Windows attributes that are implemented were chosen based on the attributes that ZFS already supports. The summary of the flags is as follows: UF_SYSTEM: Command line name: "system" or "usystem" ZFS name: XAT_SYSTEM, ZFS_SYSTEM Windows: FILE_ATTRIBUTE_SYSTEM This flag means that the file is used by the operating system. FreeBSD does not enforce any special handling when this flag is set. UF_SPARSE: Command line name: "sparse" or "usparse" ZFS name: XAT_SPARSE, ZFS_SPARSE Windows: FILE_ATTRIBUTE_SPARSE_FILE This flag means that the file is sparse. Although ZFS may modify this in some situations, there is not generally any special handling for this flag. UF_OFFLINE: Command line name: "offline" or "uoffline" ZFS name: XAT_OFFLINE, ZFS_OFFLINE Windows: FILE_ATTRIBUTE_OFFLINE This flag means that the file has been moved to offline storage. FreeBSD does not have any special handling for this flag. UF_REPARSE: Command line name: "reparse" or "ureparse" ZFS name: XAT_REPARSE, ZFS_REPARSE Windows: FILE_ATTRIBUTE_REPARSE_POINT This flag means that the file is a Windows reparse point. ZFS has special handling code for reparse points, but we don't currently have the other supporting infrastructure for them. UF_HIDDEN: Command line name: "hidden" or "uhidden" ZFS name: XAT_HIDDEN, ZFS_HIDDEN Windows: FILE_ATTRIBUTE_HIDDEN This flag means that the file may be excluded from a directory listing if the application honors it. FreeBSD has no special handling for this flag. The name and bit definition for UF_HIDDEN are identical to the definition in MacOS X. UF_READONLY: Command line name: "urdonly", "rdonly", "readonly" ZFS name: XAT_READONLY, ZFS_READONLY Windows: FILE_ATTRIBUTE_READONLY This flag means that the file may not written or appended, but its attributes may be changed. ZFS currently enforces this flag, but Illumos developers have discussed disabling enforcement. The behavior of this flag is different than MacOS X. MacOS X uses UF_IMMUTABLE to represent the DOS readonly permission, but that flag has a stronger meaning than the semantics of DOS readonly permissions. UF_ARCHIVE: Command line name: "uarch", "uarchive" ZFS_NAME: XAT_ARCHIVE, ZFS_ARCHIVE Windows name: FILE_ATTRIBUTE_ARCHIVE The UF_ARCHIVED flag means that the file has changed and needs to be archived. The meaning is same as the Windows FILE_ATTRIBUTE_ARCHIVE attribute, and the ZFS XAT_ARCHIVE and ZFS_ARCHIVE attribute. msdosfs and ZFS have special handling for this flag. i.e. they will set it when the file changes. sys/param.h: Bump __FreeBSD_version to 1000047 for the addition of new stat(2) flags. chflags.1: Document the new command line flag names (e.g. "system", "hidden") available to the user. ls.1: Reference chflags(1) for a list of file flags and their meanings. strtofflags.c: Implement the mapping between the new command line flag names and new stat(2) flags. chflags.2: Document all of the new stat(2) flags, and explain the intended behavior in a little more detail. Explain how they map to Windows file attributes. Different filesystems behave differently with respect to flags, so warn the application developer to take care when using them. zfs_vnops.c: Add support for getting and setting the UF_ARCHIVE, UF_READONLY, UF_SYSTEM, UF_HIDDEN, UF_REPARSE, UF_OFFLINE, and UF_SPARSE flags. All of these flags are implemented using attributes that ZFS already supports, so the on-disk format has not changed. ZFS currently doesn't allow setting the UF_REPARSE flag, and we don't really have the other infrastructure to support reparse points. msdosfs_denode.c, msdosfs_vnops.c: Add support for getting and setting UF_HIDDEN, UF_SYSTEM and UF_READONLY in MSDOSFS. It supported SF_ARCHIVED, but this has been changed to be UF_ARCHIVE, which has the same semantics as the DOS archive attribute instead of inverse semantics like SF_ARCHIVED. After discussion with Bruce Evans, change several things in the msdosfs behavior: Use UF_READONLY to indicate whether a file is writeable instead of file permissions, but don't actually enforce it. Refuse to change attributes on the root directory, because it is special in FAT filesystems, but allow most other attribute changes on directories. Don't set the archive attribute on a directory when its modification time is updated. Windows and DOS don't set the archive attribute in that scenario, so we are now bug-for-bug compatible. smbfs_node.c, smbfs_vnops.c: Add support for UF_HIDDEN, UF_SYSTEM, UF_READONLY and UF_ARCHIVE in SMBFS. This is similar to changes that Apple has made in their version of SMBFS (as of smb-583.8, posted on opensource.apple.com), but not quite the same. We map SMB_FA_READONLY to UF_READONLY, because UF_READONLY is intended to match the semantics of the DOS readonly flag. The MacOS X code maps both UF_IMMUTABLE and SF_IMMUTABLE to SMB_FA_READONLY, but the immutable flags have stronger meaning than the DOS readonly bit. stat.h: Add definitions for UF_SYSTEM, UF_SPARSE, UF_OFFLINE, UF_REPARSE, UF_ARCHIVE, UF_READONLY and UF_HIDDEN. The definition of UF_HIDDEN is the same as the MacOS X definition. Add commented-out definitions of UF_COMPRESSED and UF_TRACKED. They are defined in MacOS X (as of 10.8.2), but we do not implement them (yet). ufs_vnops.c: Add support for getting and setting UF_ARCHIVE, UF_HIDDEN, UF_OFFLINE, UF_READONLY, UF_REPARSE, UF_SPARSE, and UF_SYSTEM in UFS. Alphabetize the flags that are supported. These new flags are only stored, UFS does not take any action if the flag is set. Sponsored by: Spectra Logic Reviewed by: bde (earlier version) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-21T23:22:36.019614Z K 7 svn:log V 12 IFC @254063 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-22T00:51:37.808341Z K 7 svn:log V 204 Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. Security: CVE-2013-3077 Security: FreeBSD-SA-13:09.ip_multicast END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-22T00:51:43.613673Z K 7 svn:log V 226 Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. Security: CVE-2013-3077 Security: FreeBSD-SA-13:09.ip_multicast Approved by: re (kib) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-22T00:51:48.327384Z K 7 svn:log V 461 Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. [13:09] Fix a bug that could lead to kernel memory disclosure with SCTP state cookie. [13:10] Fix a data corruption problem with mfi(4) operating on > 2TB disks in a JBOD. [EN-13:03] Security: CVE-2013-3077 Security: FreeBSD-SA-13:09.ip_multicast Security: CVE-2013-5209 Security: FreeBSD-SA-13:10.sctp Approved by: so END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-08-22T00:51:56.680757Z K 7 svn:log V 371 Fix an integer overflow in computing the size of a temporary buffer can result in a buffer which is too small for the requested operation. [13:09] Fix a bug that could lead to kernel memory disclosure with SCTP state cookie. [13:10] Security: CVE-2013-3077 Security: FreeBSD-SA-13:09.ip_multicast Security: CVE-2013-5209 Security: FreeBSD-SA-13:10.sctp Approved by: so END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-22T01:54:52.955405Z K 7 svn:log V 12 IFC @254064 END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-08-22T02:54:20.916951Z K 7 svn:log V 113 Make dtrace_copy() actually work on PowerPC. Although unused currently, it may be used in the future by dtrace. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-22T03:43:12.077557Z K 7 svn:log V 12 IFC @254081 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-22T04:07:15.144075Z K 7 svn:log V 12 IFC @254138 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-22T04:36:15.954251Z K 7 svn:log V 12 IFC @254163 END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-22T05:03:41.254706Z K 7 svn:log V 13 IFC @r254182 END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-08-22T05:07:50.080903Z K 7 svn:log V 30 Enable DTrace hooks in ppc64. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-22T05:53:47.227101Z K 7 svn:log V 80 Add in some backwards compatability hacks to make -HEAD net80211 compile on -9. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-08-22T06:20:25.559753Z K 7 svn:log V 258 MFC r254095: gpt_entries is used as limit for the number of partition entries in the GEOM_PART. Instead of just using number of entries from the GPT header, calculate this limit based on the reserved space between GPT header and first available LBA. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-08-22T06:24:02.907264Z K 7 svn:log V 258 MFC r254095: gpt_entries is used as limit for the number of partition entries in the GEOM_PART. Instead of just using number of entries from the GPT header, calculate this limit based on the reserved space between GPT header and first available LBA. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-08-22T06:28:07.107106Z K 7 svn:log V 69 Added VM test scenario. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-22T06:28:52.799373Z K 7 svn:log V 12 IFC @254466 END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-08-22T06:30:06.455569Z K 7 svn:log V 114 Fix typo and add check for allocated memory disk before deleting it. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-22T06:50:04.118386Z K 7 svn:log V 12 IFC @254501 END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-22T06:51:59.647836Z K 7 svn:log V 138 Fix interrupt handling if auto mask is not enabled And add macros for compiling on older releases that were missed in a previous commit. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-22T07:10:18.576058Z K 7 svn:log V 5 IFC. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-22T07:39:53.835041Z K 7 svn:log V 250 Remove the deprecated VM_ALLOC_RETRY flag for the vm_page_grab(9). The flag was mandatory since r209792, where vm_page_grab(9) was changed to only support the alloc retry semantic. Suggested and reviewed by: alc Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2013-08-22T07:43:36.519006Z K 7 svn:log V 236 Even though it doesn't really make sense in the context of a CONNECT request, RFC 2616 14.23 mandates the presence of the Host: header in all HTTP 1.1 requests. PR: kern/181445 Submitted by: Kimo MFC after: 3 days END K 10 svn:author V 5 erwin K 8 svn:date V 27 2013-08-22T08:15:03.544613Z K 7 svn:log V 729 Update Bind to 9.9.3-P2 Notable new features: * Elliptic Curve Digital Signature Algorithm keys and signatures in DNSSEC are now supported per RFC 6605. [RT #21918] * Introduces a new tool "dnssec-verify" that validates a signed zone, checking for the correctness of signatures and NSEC/NSEC3 chains. [RT #23673] * BIND now recognizes the TLSA resource record type, created to support IETF DANE (DNS-based Authentication of Named Entities) [RT #28989] * The new "inline-signing" option, in combination with the "auto-dnssec" option that was introduced in BIND 9.7, allows named to sign zones completely transparently. Approved by: delphij (mentor) MFC after: 3 days Sponsored by: DK Hostmaster A/S END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-08-22T09:03:58.703313Z K 7 svn:log V 36 Merge revs 245246:248551 from head. END K 10 svn:author V 8 lstewart K 8 svn:date V 27 2013-08-22T09:33:07.866306Z K 7 svn:log V 36 Merge revs 248551:250000 from head. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-08-22T12:49:28.296068Z K 7 svn:log V 78 Really disconnect pkg_install from the build. Reported by: Mikhail Timofeyev END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-08-22T13:20:17.213926Z K 7 svn:log V 220 Add hooks for process_exit/process_exec so taht schedctl structures are deallocated (avoiding a leakage). This rely on EVENTHANDLER so we need to push forward the time when schedctl_init() is called during boot process. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-08-22T13:24:40.238172Z K 7 svn:log V 137 Remove redundant function prototypes (they're already in the header). While here remove a debugging knob left accidentally there (oops). END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-08-22T14:02:34.606562Z K 7 svn:log V 420 Move the old iSCSI initiator source to a more appropriate place (sys/dev/iscsi_initiator/ instead of sys/dev/iscsi/initiator/), to make room for the new one. This is also more logical location (kernel module being named iscsi_initiator.ko, for example). There is no ongoing work on this I know of, so it shouldn't make life harder for anyone. There are no functional changes, apart from "svn mv" and adjusting paths. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-08-22T16:00:09.623151Z K 7 svn:log V 16 Minor mdoc nit. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-08-22T16:01:20.617179Z K 7 svn:log V 23 Remove EOL whitespace. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-08-22T16:02:20.759243Z K 7 svn:log V 23 Remove EOL whitespace. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-22T16:31:19.353056Z K 7 svn:log V 52 Vendor import of NetBSD's libexecinfo at 2013-08-22 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-22T16:34:03.044255Z K 7 svn:log V 27 Tag libexecinfo 2013-08-22 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-08-22T16:39:59.003613Z K 7 svn:log V 110 MFi386: r254619 Reimplement atomic_load_acq_64() and atomic_store_rel_64() for i386. Noticed by: tinderbox END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-22T17:30:01.677442Z K 7 svn:log V 140 MFC r253494: id_t is 64bit, provide the compat32 wrapper for clock_getcpuclockid2(2). Reminded by: Petr Salinger END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-22T17:33:50.083989Z K 7 svn:log V 12 Regenerate. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-22T18:05:31.048802Z K 7 svn:log V 310 Use the generation count of the pv list to work around LOR between pmap lock and pv list lock, and use the shared locking on pvh_global_lock in pmap_remove_write(), same as it was done for pmap_ts_referenced(). Noted and reviewed by: alc (previous version) Tested by: pho Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-22T18:12:24.510082Z K 7 svn:log V 398 Revert r254501. Instead, reuse the type stability of the struct pmap which is the part of struct vmspace, allocated from UMA_ZONE_NOFREE zone. Initialize the pmap lock in the vmspace zone init function, and remove pmap lock initialization and destruction from pmap_pinit() and pmap_release(). Suggested and reviewed by: alc (previous version) Tested by: pho Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-22T18:26:45.584051Z K 7 svn:log V 502 Both cluster_rbuild() and cluster_wbuild() sometimes set the pages shared busy without first draining the hard busy state. Previously it went unnoticed since VPO_BUSY and m->busy fields were distinct, and vm_page_io_start() did not verified that the passed page has VPO_BUSY flag cleared, but such page state is wrong. New implementation is more strict and catched this case. Drain the busy state as needed, before calling vm_page_sbusy(). Tested by: pho, jkim Sponsored by: The FreeBSD Foundation END