ƒ¶x254843 131 365 236 187 455 226 243 284 179 285 631 136 132 582 479 177 318 889 182 680 613 661 971 571 936 688 1414 358 351 123 326 248 191 187 637 141 267 142 190 446 688 144 159 1269 159 162 486 400 270 265 366 222 270 166 240 820 418 136 296 137 154 281 97 317 516 224 331 283 162 153 160 258 168 443 236 129 948 170 118 121 170 129 193 288 97 538 173 251 114 138 159 161 135 604 195 440 9001 140 115 437 608 574 195 447 365 983 200 327 607 578 113 267 149 160 740 141 236 151 1228 246 231 171 245 249 171 317 182 1026 711 477 243 1359 K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-25T10:57:48.693011Z K 7 svn:log V 269 sh: Disallow empty simple commands. As per POSIX, a simple command must have at least one redirection, assignment word or command word. These occured in rare cases such as eval "f()" . The extension of allowing no commands inside { }, if, while, for, etc. remains. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-25T11:01:18.986066Z K 7 svn:log V 141 Bump FreeBSD_version after the struct mbuf changes in r254780, r254799, r254804, r254807, and r254842. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-25T11:21:03.458573Z K 7 svn:log V 92 Add the unwind information to irq_entry so we can pass through it when unwinding the stack. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-25T11:21:10.138478Z K 7 svn:log V 362 Allow GEOM direct dispatch for zvol providers. Skip request handover to the worker thread if current context allows sleeping (thanks to the direct dispatch in action we are not in GEOM thread). Together this doubles zvol performance, reaching up to 300K IOPS on my tests. If there would be unmapped I/O support for zvols, the above value could be even bigger. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-25T11:23:38.652864Z K 7 svn:log V 130 Add the frame information to cpu_switch to allow us to unwind out of it, for example when dumping threads in the kernel debugger. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T11:34:37.222906Z K 7 svn:log V 145 drm: Import drm_pcie_get_speed_cap_mask() in drm_pci.c This comes with several PCI_VENDOR_ID_* defines which should go in a more central place. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-25T11:42:53.025395Z K 7 svn:log V 188 sh: Recognize "--" as end of options in alias builtin. Aliases starting with "-" (which are non-POSIX) will need to be preceded by an alias not starting with "-" or the newly added "--". END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-25T12:02:20.460389Z K 7 svn:log V 84 Fix a >80 character long line, introduced in my previous commit. Noticed by: hiren END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-08-25T12:07:34.221870Z K 7 svn:log V 189 Disable lldb target support not (currently) of interest - Remote iOS debugging - OS X symbol provider, core files - PECOFF object files - Linux platform support Sponsored by: DARPA, AFRL END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T12:20:57.118745Z K 7 svn:log V 533 drm: Update drm_pciids.h based on Linux 3.8 This header can be easily updated using the new "gen-drm_pciids" script, available in tools/tools/drm. The script uses the Linux' drm_pciids.h header for new IDs, the FreeBSD's one because we add the name of the device to each IDs, and the PCI IDs database (misc/pciids port) to fill this name automatically for new IDS. To call the script: tools/tools/drm/gen-drm_pciids \ /path/to/linux/drm_pciids.h \ /path/to/freebsd/drm_pciids.h \ /path/to/pciids/pci.ids END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T12:27:15.667699Z K 7 svn:log V 39 drm: Import drm_fixed.h from Linux 3.8 END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2013-08-25T12:44:03.771640Z K 7 svn:log V 37 Provide human readable debug output. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-25T12:58:34.826768Z K 7 svn:log V 486 Update the mis-predicted branch PMC names (for sandy bridge) to not clash. The SDM (June 2013) tables on these are rather confusing. Yes, they assign the same name (BR_MISP_RETIRED.ALL_BRANCHES) to two codes (C5H/00H and C5H/04H.) The latter however is the PEBS version. So, to make it easier to see the difference - and yes, we can use both without having to actually enable the PEBS specific bits! - just rename the PEBS one to _PS so there's no clashing. Tested: * Sandy bridge END K 10 svn:author V 7 roberto K 8 svn:date V 27 2013-08-25T13:10:03.534598Z K 7 svn:log V 382 Merge r226837 & r226839 from head: r226837: 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. r226839: Update Copyright. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-25T13:30:37.289671Z K 7 svn:log V 83 Fix CSUM compatibility mapping. SCTP is a layer 4 protocol. Submitted by: tuexen END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:27:14.167290Z K 7 svn:log V 220 drm: Add missing bits to drmP.h, required by the Radeon driver Some of the FreeBSD-specific definitions are moved to drm_os_freebsd.h. But there's still work to do to clean it up and reduce the diff with Linux' drmP.h. END K 10 svn:author V 7 roberto K 8 svn:date V 27 2013-08-25T14:29:47.138830Z K 7 svn:log V 792 MFC r226840: AESNI-related commit, from a long time ago: 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. Submitted by: Michael Moll END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:33:49.944195Z K 7 svn:log V 85 drm: Update drm_atomic.h, now that projects/atomic64 is in HEAD Submitted by: jkim@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:39:51.223844Z K 7 svn:log V 582 drm/ttm: Import Linux commit 63d0a4195560362e2e00a3ad38fc331d34e1da9b Author: Maarten Lankhorst Date: Tue Jan 15 14:56:37 2013 +0100 drm/ttm: remove lru_lock around ttm_bo_reserve There should no longer be assumptions that reserve will always succeed with the lru lock held, so we can safely break the whole atomic reserve/lru thing. As a bonus this fixes most lockdep annotations for reservations. Signed-off-by: Maarten Lankhorst Reviewed-by: Jerome Glisse END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:41:22.308219Z K 7 svn:log V 515 drm/ttm: Import Linux commit 7a1863084c9d90ce4b67d645bf9b0f1612e68f62 Author: Maarten Lankhorst Date: Tue Jan 15 14:56:48 2013 +0100 drm/ttm: cleanup ttm_eu_reserve_buffers handling With the lru lock no longer required for protecting reservations we can just do a ttm_bo_reserve_nolru on -EBUSY, and handle all errors in a single path. Signed-off-by: Maarten Lankhorst Reviewed-by: Jerome Glisse END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:47:22.493799Z K 7 svn:log V 563 drm/ttm: Import Linux commit 5e45d7dfd74100d622f9cdc70bfd1f9fae1671de Author: Maarten Lankhorst Date: Tue Jan 15 14:57:05 2013 +0100 drm/ttm: add ttm_bo_reserve_slowpath Instead of dropping everything, waiting for the bo to be unreserved and trying over, a better strategy would be to do a blocking wait. This can be mapped a lot better to a mutex_lock-like call. Signed-off-by: Maarten Lankhorst Reviewed-by: Jerome Glisse Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:52:20.225110Z K 7 svn:log V 873 drm/ttm: Import Linux commit f2d476a110bc24fde008698ae9018c99e803e25c Author: Maarten Lankhorst Date: Tue Jan 15 14:57:10 2013 +0100 drm/ttm: use ttm_bo_reserve_slowpath_nolru in ttm_eu_reserve_buffers, v2 This requires re-use of the seqno, which increases fairness slightly. Instead of spinning with a new seqno every time we keep the current one, but still drop all other reservations we hold. Only when we succeed, we try to get back our other reservations again. This should increase fairness slightly as well. Changes since v1: - Increase val_seq before calling ttm_bo_reserve_slowpath_nolru and retrying to take all entries to prevent a race. Signed-off-by: Maarten Lankhorst Reviewed-by: Jerome Glisse Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:53:39.728673Z K 7 svn:log V 473 drm/ttm: Import Linux commit cc4c0c4de3c775be22072ec3251f2e581b63d9a0 Author: Maarten Lankhorst Date: Tue Jan 15 14:57:28 2013 +0100 drm/ttm: unexport ttm_bo_wait_unreserved All legitimate users of this function outside ttm_bo.c are gone, now it's only an implementation detail. Signed-off-by: Maarten Lankhorst Reviewed-by: Jerome Glisse Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:55:08.080088Z K 7 svn:log V 838 drm/ttm: Import Linux commit 630541863b29f88c7ab34e647758344e4cd1eafd Author: Dave Airlie Date: Wed Jan 16 14:25:44 2013 +1000 ttm: don't destroy old mm_node on memcpy failure When we are using memcpy to move objects around, and we fail to memcpy due to lack of memory to populate or failure to finish the copy, we don't want to destroy the mm_node that has been copied into old_copy. While working on a new kms driver that uses memcpy, if I overallocated bo's up to the memory limits, and eviction failed, then machine would oops soon after due to having an active bo with an already freed drm_mm embedded in it, freeing it a second time didn't end well. Reviewed-by: Jerome Glisse Signed-off-by: Dave Airlie Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:56:14.564157Z K 7 svn:log V 590 drm/ttm: Import Linux commit 014b34409fb2015f63663b6cafdf557fdf289628 Author: Dave Airlie Date: Wed Jan 16 15:58:34 2013 +1000 ttm: on move memory failure don't leave a node dangling if we have a move notify callback, when moving fails, we call move notify the opposite way around, however this ends up with *mem containing the mm_node from the bo, which means we double free it. This is a follow on to the previous fix. Reviewed-by: Jerome Glisse Signed-off-by: Dave Airlie Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T14:58:44.392123Z K 7 svn:log V 1315 drm/ttm: Import Linux commit ff7c60c580d9722f820d85c9c58ca55ecc1ee7c4 Author: Daniel Vetter Date: Mon Jan 14 15:08:14 2013 +0100 drm/ttm: fix fence locking in ttm_buffer_object_transfer, 2nd try This fixes up commit e8e89622ed361c46bf90ba4828e685a8b603f7e5 Author: Daniel Vetter Date: Tue Dec 18 22:25:11 2012 +0100 drm/ttm: fix fence locking in ttm_buffer_object_transfer which leaves behind a might_sleep in atomic context, since the fence_lock spinlock is held over a kmalloc(GFP_KERNEL) call. The fix is to revert the above commit and only take the lock where we need it, around the call to ->sync_obj_ref. v2: Fixup things noticed by Maarten Lankhorst: - Brown paper bag locking bug. - No need for kzalloc if we clear the entire thing on the next line. - check for bo->sync_obj (totally unlikely race, but still someone else could have snuck in) and clear fbo->sync_obj if it's cleared already. Reported-by: Dave Airlie Cc: Jerome Glisse Cc: Maarten Lankhorst Signed-off-by: Daniel Vetter Signed-off-by: Dave Airlie Approved by: kib@ END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-25T15:00:34.221330Z K 7 svn:log V 262 MFC r250412: posix_spawn_file_actions_addopen(3): Correct error for bad file descriptor. As per POSIX.1-2008, posix_spawn_file_actions_add* return [EBADF] if a file descriptor is negative, not [EINVAL]. The bug was only in the manual page; the code is correct. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:00:48.196305Z K 7 svn:log V 253 drm/ttm: Make ttm_bo_wait() call uninterruptible in page fault handler This fixes a crash where a SIGLALRM, heavily used by X.Org, would interrupt the wait, causing the page fault to fail and the "Xorg" process to receive a SIGSEGV. Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:01:35.202324Z K 7 svn:log V 26 drm/ttm: Fix style errors END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-25T15:01:43.631971Z K 7 svn:log V 230 MFC 250421: posix_spawn_file_actions_adddup2(3): Document difference with dup2(). The ability to clear a file descriptor's close-on-exec flag via posix_spawn_file_actions_adddup2() is in fact proposed in Austin Group issue #411. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:05:22.207618Z K 7 svn:log V 150 drm/ttm: When removing a range of pages from a pool, remove all of them Submitted by: Mark Kettenis and Jonathan Gray from OpenBSD Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:06:48.960086Z K 7 svn:log V 94 drm/ttm: Improve comment in ttm_bo_vm_ctor() about lack of ref acquisition Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:12:26.311962Z K 7 svn:log V 90 ttm: "to_page->valid = VM_PAGE_BITS_ALL" before vm_page_dirty(to_page) Approved by; kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:15:55.093386Z K 7 svn:log V 539 drm/ttm: Fix unmap of buffer object Add a new ttm_bo_release_mmap() function to unmap pages in a vm_object_t. Pages are freed when the buffer object is later released. This function is called in ttm_bo_unmap_virtual_locked(), replacing Linux' unmap_mapping_range(). In particular this is called when a buffer object is about to be moved, so that its mapping is invalidated. However, we don't use this function in ttm_bo_vm_dtor(), because the vm_object_t is already marked as OBJ_DEAD and the pages will be unmapped. Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:26:45.812094Z K 7 svn:log V 44 drm/ttm: Fix style in ttm_bo_release_mmap() END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:29:23.420420Z K 7 svn:log V 169 drm/ttm: Fix a reversed condition and add missing locks This allows to run OpenGL applications on at least two test machines with the Radeon driver. Approved by: kib@ END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:33:17.994715Z K 7 svn:log V 45 drm/ttm: Remove unused VM_ALLOC_DMA32 define END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T15:38:16.340129Z K 7 svn:log V 93 drm: Use the new drm_atomic.h, following the merge of projects/atomic64 Submitted by: jkim@ END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-25T17:26:05.877484Z K 7 svn:log V 353 Add more conditions when GEOM direct dispatch should not be used: - on down path when BIO is unmapped and we can't sleep (mapping may sleep); - when we are already in one of GEOM threads (direct call won't save much); - when more then half of thread stack size is already used (use the same mechanism as used by netgraph -- GET_STACK_USAGE() macro). END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T18:09:11.642982Z K 7 svn:log V 590 vga_pci: Add API to map the Video BIOS Here are two new functions to map and unmap the Video BIOS: void * vga_pci_map_bios(device_t dev, size_t *size); void vga_pci_unmap_bios(device_t dev, void *bios); The BIOS is either taken from the shadow copy made by the System BIOS at boot time if the given device was used for the default display (i386, amd64 and ia64 only), or from the PCI expansion ROM. Additionally, one can determine if a given device was the default display at boot time using the following new function: void vga_pci_unmap_bios(device_t dev, void *bios); END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T18:23:15.948003Z K 7 svn:log V 47 vga_pci: Remove left-over debugging printf()'s END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T19:10:21.481566Z K 7 svn:log V 62 Increase limit in preparation of the Radeon KMS driver import END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T19:37:15.225541Z K 7 svn:log V 1170 drm/radeon: Import the Radeon KMS driver This driver is based on Linux 3.8 and a previous effort by kan@. More informations about this project can be found on the FreeBSD wiki: https://wiki.freebsd.org/AMD_GPU The driver is split into: sys/dev/drm2: The driver sources. sys/modules/drm2/radeonkmw: The driver main kernel module's Makefile. sys/modules/drm2/radeonkmsfw: All firmware kernel module Makefiles. There's one directory and one Makefile for each firmware. sys/contrib/dev/drm2/radeonkmsfw: All firmware binary sources. tools/tools/drm/radeon Tools to update firmwares or regenerate some headers. Merging the driver to FreeBSD 9.x may be possible but not a priority for now. Help from: kib@, kan@ Tested by: avg@, kwm@, ray@, Alexander Yerenkow , Anders Bolt-Evensen , Denis Djubajlo , J.R. Oldroyd , MikaĆ«l Urankar , Pierre-Emmanuel PĆ©dron , Sam Fourman Jr. , Wade , (probably other I forgot...) HW donations: kyzh, Yakaz END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T19:39:31.106768Z K 7 svn:log V 62 Back to normal limit, now that the Radeon driver is committed END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-25T20:01:21.408954Z K 7 svn:log V 65 Bump __FreeBSD_version to 1000051 after Radeon KMS driver import END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-25T21:52:04.913276Z K 7 svn:log V 390 Fix fcntl F_GETFL F_SETFL for files opened execute-only (O_EXEC). The FFLAGS and OFLAGS now work correctly also for files opened with O_EXEC. Except possibly fuse, the other users pass values without O_EXEC set. fuse appears to assume O_EXEC is handled correctly. Although F_SETFL may not be commonly used for execute-only file descriptors, F_GETFL may be useful to find the access mode. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-08-25T21:54:41.099697Z K 7 svn:log V 305 Implement the ip, tcp, and udp DTrace providers. The probe definitions use dynamic translation so that their arguments match the definitions for these providers in Solaris and illumos. Thus, existing scripts for these providers should work unmodified on FreeBSD. Tested by: gnn, hiren MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-25T22:18:05.681825Z K 7 svn:log V 177 Enable GEOM direct dispatch for GEOM VFS class, used for non-ZFS mounts. It is quite hard to measure difference with single device (even SSD), but it does not harm, so why not? END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-25T23:16:52.325184Z K 7 svn:log V 172 Since command completion no longer needs SIM lock and even requires one to be dropped during processing, move xpt_batch_start()/xpt_batch_done() out of it and assert that. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-25T23:26:43.543687Z K 7 svn:log V 273 With GEOM direct dispatch support there is finally a good reason to enable multi-vector MSI interrupts. Single interrupt thread may have insufficient performance to handle completion from all ports of the controller. At least on synthetic tests 6 SSDs can outperform it. END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-08-26T00:28:57.078146Z K 7 svn:log V 127 The second last argument of udp:::receive is supposed to contain the connection state, not the IP header. X-MFC with: r254889 END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-26T06:31:57.132998Z K 7 svn:log V 172 drm/radeon: Rename the (S)DEBUG macros in atom.c to avoid conflicts For instance, DEBUG is already defined in the LINT kernel configuration. This fixes the build of LINT. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T07:03:08.626485Z K 7 svn:log V 74 Add unmapped BIO support to GEOM ZERO if kern.geom.zero.clear is cleared. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T07:07:41.331352Z K 7 svn:log V 147 Declare GEOM direct dispatch support for PART, ZERO and MULTIPATH classes. First two have nothing to protect, the last is already locked properly. END K 10 svn:author V 5 erwin K 8 svn:date V 27 2013-08-26T07:17:41.151118Z K 7 svn:log V 725 MFC r254651: 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) Sponsored by: DK Hostmaster A/S END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T07:48:50.242522Z K 7 svn:log V 325 Declare partial (receive sides only) direct dispatch support for GEOM RAID. All real work is done in separate thread, so this just allows to switch there easier. System-wide this saves up to 25% of context switches per request. Unfortunately we can't allow direct send there due to the sxlock held during respective calls. END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-08-26T09:17:21.835388Z K 7 svn:log V 39 drm/radeon: Disable build on i386/pc98 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-26T09:52:05.698639Z K 7 svn:log V 200 Migrate the ff_encap1() routine out into the normal output code. This will eventually be used by the A-MSDU encapsulation code that I'm writing - the sub-frame encapsulation requirement is the same. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-26T10:24:59.803575Z K 7 svn:log V 42 Revert r251370 as it contains a deadlock. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-26T10:27:15.953712Z K 7 svn:log V 59 Update the root device to be correct for use with crochet. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T10:32:36.981572Z K 7 svn:log V 188 Declare GEOM direct dispatch support for geom_slice.c unless hotspots are used. In general case hotspots may cause any of direct dispatch problems. Fortunately they are used very rarely. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-26T10:40:25.579808Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T12:04:22.684895Z K 7 svn:log V 224 Introduce new function devstat_end_transaction_bio_bt(), adding new argument to specify present time. Use this function to move binuptime() out of lock, substantially reducing lock congestion when slow timecounter is used. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-08-26T12:05:38.999096Z K 7 svn:log V 420 Add support to reconfigure a drive as SYSPD (real JBOD in LSI terminology). Adds command "mfiutil syspd " to change a drive to SYSPD. Drive will then be scanned/reported immediately as /dev/mfisyspdX by the host. "mfiutil good " clears SYSPD mode, remove /dev/mfisyspdX and sets disk into UNCONFIGURED mode. Tested on Dell H310 SAS/SATA RAID controller. MFC after: 2 weeks Sponsored by: Yahoo! Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T12:18:51.411212Z K 7 svn:log V 131 Move g_io_deliver() out of the lock, as required for direct dispatch. Move g_destroy_bio() out too to reduce lock scope even more. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T12:55:53.911485Z K 7 svn:log V 238 Use per-consumer/provider locks from mtx_pool() to serialize the statistics update instead of global ones. Additional lock acquisition for queued dispatch may add some overhead, but instead it removes any collisions for direct dispatch. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-08-26T13:00:25.990609Z K 7 svn:log V 187 Create a project branch for ARM EABI hard-float. This will be armv6 only and require clang to build as GCC is too old. It is intended this will be a new TARGET_ARCH, for example armv6hf. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-26T13:17:37.000235Z K 7 svn:log V 68 Fix mbuf debugging printf()'s after the recent mbuf header changes. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-08-26T14:14:25.282831Z K 7 svn:log V 57 Remove comment that is no longer relevant since r254182. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T15:34:18.642334Z K 7 svn:log V 68 Make GEOM NOP support direct dispatch by locking statistics update. END K 10 svn:author V 3 raj K 8 svn:date V 27 2013-08-26T15:38:27.709840Z K 7 svn:log V 165 Add missing TAILQ initializer (omitted in r250634). Submitted by: Zbigniew Bodek Reviewed by: alc Sponsored by: The FreeBSD Foundation, Semihalf END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T16:04:52.577756Z K 7 svn:log V 76 Make GEOM STRIPE support direct dispatch by locking g_stripe_done() method. END K 10 svn:author V 3 raj K 8 svn:date V 27 2013-08-26T16:23:54.562684Z K 7 svn:log V 350 Provide settings for superpage reservation system on ARM. This allows for enabling and configuring superpages reservation mechanism in order to allocate and populate 256 4KB base pages (for the purpose of promotion to a 1MB superpage). Submitted by: Zbigniew Bodek Reviewed by: alc Sponsored by: The FreeBSD Foundation, Semihalf END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T16:32:56.020088Z K 7 svn:log V 143 In addition to r254914 switch from using g_std_done() to g_stripe_done(). It is required for direct dispatch because g_std_done() is unlocked. END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-08-26T16:38:40.174742Z K 7 svn:log V 33 Hook vm_page_busy.9 to the build END K 10 svn:author V 3 raj K 8 svn:date V 27 2013-08-26T17:12:30.381385Z K 7 svn:log V 855 Introduce superpages support for ARMv6/v7. Promoting base pages to superpages can increase TLB coverage and allow for efficient use of page table entries. This development provides FreeBSD/ARM with superpages management mechanism roughly equivalent to what we have for i386 and amd64 architectures. 1. Add mechanism for automatic promotion of 4KB page mappings to 1MB section mappings (and demotion when not needed, respectively). 2. Managed and non-kernel mappings are now superpages-aware. 3. The functionality can be enabled by setting "vm.pmap.sp_enabled" tunable to a non-zero value (either in loader.conf or by modifying "sp_enabled" variable in pmap-v6.c file). By default, automatic promotion is currently disabled. Submitted by: Zbigniew Bodek Reviewed by: alc Sponsored by: The FreeBSD Foundation, Semihalf END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-08-26T17:15:56.960573Z K 7 svn:log V 74 Document WITHOUT_ICONV, WITH_LIBICONV_COMPAT and WITH_USB_GADGET_EXAMPLES END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-08-26T17:18:21.583385Z K 7 svn:log V 22 Regenerate src.conf.5 END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-08-26T17:21:40.405674Z K 7 svn:log V 25 Add more obsolete files. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-08-26T17:22:51.951019Z K 7 svn:log V 75 kdump: Decode SOCK_CLOEXEC and SOCK_NONBLOCK in socket() and socketpair(). END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-08-26T17:36:55.885515Z K 7 svn:log V 37 Joerg was my mentor way back when... END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-08-26T17:38:36.438062Z K 7 svn:log V 100 Add support for my: CPU: AMD A10-5700 APU with Radeon(tm) HD Graphics (3393.89-MHz K8-class CPU) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-08-26T18:16:05.433004Z K 7 svn:log V 195 Remove most of the remaining sysctl name list macros. They were only ever intended for use in sysctl(8) and it has not used them for many years. Reviewed by: bde Tested by: exp-run by bdrewery END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-26T18:21:04.485190Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-26T18:29:51.370676Z K 7 svn:log V 443 Snapshot of current work; 1) Clean up namespace; only use "Yarrow" where it is Yarrow-specific or close enough to the Yarrow algorithm. For the rest use a neutral name. 2) Tidy up headers; put private stuff in private places. More could be done here. 3) Streamline the hashing/encryption; no need for a 256-bit counter; 128 bits will last for long enough. There are bits of debug code lying around; these will be removed at a later stage. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-26T18:35:21.233196Z K 7 svn:log V 79 Snapshot; Do some running repairs on entropy harvesting. More needs to follow. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-08-26T18:47:10.423368Z K 7 svn:log V 158 none of the drivers in the tree support CDIOCCAPABILITY or CDIOCPITCH.. remove the documentation so people won't get confused and think they are supported... END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-08-26T18:50:40.625805Z K 7 svn:log V 22 fix up my copyright.. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-08-26T18:51:48.808463Z K 7 svn:log V 46 fix up my copyright and remove third clause.. END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-08-26T18:53:19.762571Z K 7 svn:log V 67 fix up some comments and a white space issue... MFC after: 3 days END K 10 svn:author V 2 np K 8 svn:date V 27 2013-08-26T19:02:52.117749Z K 7 svn:log V 70 Use correct mailbox and PCIe PF number when querying RDMA parameters. END K 10 svn:author V 5 markm K 8 svn:date V 27 2013-08-26T19:07:03.437126Z K 7 svn:log V 41 Remove the short-lived namei experiment. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T20:03:44.071792Z K 7 svn:log V 511 - Introduce new GEOM utility function g_is_geom_thread(), returning true if specified thread is one of GEOM threads (g_up/g_down/g_event). - Use this function instead of `td->td_no_sleeping != 0` (that was not supposed to be public KPI) to detect whether we can sleep in this context. From this moment assume that G_CF_DIRECT_SEND consumer flag means not only reenterability, but also that caller context is sleepable (if we are not already in one of GEOM threads where sleep artificially denied by design). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-26T20:39:02.371800Z K 7 svn:log V 102 MFprojects/camlock r254895: Add unmapped BIO support to GEOM ZERO if kern.geom.zero.clear is cleared. END K 10 svn:author V 5 joerg K 8 svn:date V 27 2013-08-26T21:15:50.504602Z K 7 svn:log V 345 Reimplement the FDOPT_NOERROR feature that was kicked out in r134081. It is needed for fdread(1) in order to be able to recover from CRC errors in the data field of a floppy sector (by returning the sector data that failed CRC, rather than inventing dummy data). When closing the device, clear all transient device options. MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-08-26T21:34:43.977984Z K 7 svn:log V 8907 MFC mps(4) driver changes 253460, 253549, 253550 and 254615. There are some slight changes here from the version in head. __FreeBSD_version has been bumped to 902502 for the inclusion of the PIM_RESCAN CAM path inquiry flag. The ifdefs in the mps(4) driver have been changed accordingly. In head, the TDP_NOSLEEPING thread flag has been removed but it still exists in stable/9. ------------------------------------------------------------------------ r253460 | scottl | 2013-07-18 18:12:41 -0600 (Thu, 18 Jul 2013) | 5 lines Overhaul error, information, and debug logging. Obtained from: Netflix ------------------------------------------------------------------------ r253549 | ken | 2013-07-22 12:37:07 -0600 (Mon, 22 Jul 2013) | 57 lines CAM and mps(4) driver scanning changes. Add a PIM_NOSCAN flag to the CAM path inquiry CCB. This tells CAM not to perform a rescan on a bus when it is registered. We now use this flag in the mps(4) driver. Since it knows what devices it has attached, it is more efficient for it to just issue a target rescan on the targets that are attached. Also, remove the private rescan thread from the mps(4) driver in favor of the rescan thread already built into CAM. Without this change, but with the change above, the MPS scanner could run before or during CAM's initial setup, which would cause duplicate device reprobes and announcements. sys/param.h: Bump __FreeBSD_version to 1000039 for the inclusion of the PIM_RESCAN CAM path inquiry flag. sys/cam/cam_ccb.h: sys/cam/cam_xpt.c: Added a PIM_NOSCAN flag. If a SIM sets this in the path inquiry ccb, then CAM won't rescan the bus in xpt_bus_regsister. sys/dev/mps/mps_sas.c For versions of FreeBSD that have the PIM_NOSCAN path inquiry flag, don't freeze the sim queue during scanning, because CAM won't be scanning this bus. Instead, hold up the boot. Don't call mpssas_rescan_target in mpssas_startup_decrement; it's redundant and I don't know why it was in there. Set PIM_NOSCAN in path inquiry CCBs. Remove methods related to the internal rescan daemon. Always use async events to trigger a probe for EEDP support. In older versions of FreeBSD where AC_ADVINFO_CHANGED is not available, use AC_FOUND_DEVICE and issue the necessary READ CAPACITY manually. Provide a path to xpt_register_async() so that we only receive events for our own SCSI domain. Improve error reporting in cases where setup for EEDP detection fails. sys/dev/mps/mps_sas.h: Remove softc flags and data related to the scanner thread. sys/dev/mps/mps_sas_lsi.c: Unconditionally rescan the target whenever a device is added. Sponsored by: Spectra Logic ------------------------------------------------------------------------ r253550 | ken | 2013-07-22 12:41:53 -0600 (Mon, 22 Jul 2013) | 93 lines Merge in phase 14+ -> 16 mps driver fixes from LSI: --------------------------------------------------------------- System panics during a Port reset with ouststanding I/O --------------------------------------------------------------- It is possible to call mps_mapping_free_memory after this memory is already freed, causing a panic. Removed this extra call to mps_mappiing_free_memory and call mps_mapping_exit in place of the mps_mapping_free_memory call so that any outstanding mapping items can be flushed before memory is freed. --------------------------------------------------------------- Correct memory leak during a Port reset with ouststanding I/O --------------------------------------------------------------- In mps_reinit function, the mapping memory was not being freed before being re-allocated. Added line to call the memory free function for mapping memory. --------------------------------------------------------------- Use CAM_SIM_QUEUED flag in Driver IO path. --------------------------------------------------------------- This flag informs the XPT that successful abort of a CCB requires an abort ccb to be issued to the SIM. While processing SCSI IO's, set the CAM_SIM_QUEUED flag in the status for the IO. When the command completes, clear this flag. --------------------------------------------------------------- Check for CAM_REQ_INPROG in I/O path. --------------------------------------------------------------- Added a check in mpssas_action_scsiio for the In Progress status for the IO. If this flag is set, the IO has already been aborted by the upper layer (before CAM_SIM_QUEUED was set) and there is no need to send the IO. The request will be completed without error. --------------------------------------------------------------- Improve "doorbell handshake method" for mps_get_iocfacts --------------------------------------------------------------- Removed call to get Port Facts since this information is not used currently. Added mps_iocfacts_allocate function to allocate memory that is based on IOC Facts data. Added mps_iocfacts_free function to free memory that is based on IOC Facts data. Both of the functions are used when a Diag Reset is performed or when the driver is attached/detached. This is needed in case IOC Facts changes after a Diag Reset, which could happen if FW is upgraded. Moved call of mps_bases_static_config_pages from the attach routine to after the IOC is ready to process accesses based on the new memory allocations (instead of polling through the Doorbell). --------------------------------------------------------------- Set TimeStamp in INIT message in millisecond format Set the IOC --------------------------------------------------------------- --------------------------------------------------------------- Prefer mps_wait_command to mps_request_polled --------------------------------------------------------------- Instead of using mps_request_polled, call mps_wait_command whenever possible. Change the mps_wait_command function to check the current context and either use interrupt context or poll if required by using the pause or DELAY function. Added a check after waiting 50mSecs to see if the command has timed out. This is only done if polliing, the msleep command will automatically timeout if the command has taken too long to complete. --------------------------------------------------------------- Integrated RAID: Volume Activation Failed error message is displayed though the volume has been activated. --------------------------------------------------------------- Instead of failing an IOCTL request that does not have a large enough buffer to hold the complete reply, copy as much data from the reply as possible into the user's buffer and log a message saying that the user's buffer was smaller than the returned data. --------------------------------------------------------------- mapping_add_new_device failure due to persistent table FULL --------------------------------------------------------------- When a new device is added, if it is determined that the device persistent table is being used and is full, instead of displaying a message for this condition every time, only log a message if the MPS_INFO bit is set in the debug_flags. Submitted by: LSI ------------------------------------------------------------------------ r254615 | ken | 2013-08-21 15:30:56 -0600 (Wed, 21 Aug 2013) | 32 lines 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. Sponsored by: Spectra Logic ------------------------------------------------------------------------ END K 10 svn:author V 3 des K 8 svn:date V 27 2013-08-26T22:25:55.410740Z K 7 svn:log V 48 Import an LDNS-based implementation of host(1). END K 10 svn:author V 3 des K 8 svn:date V 27 2013-08-26T22:29:22.284303Z K 7 svn:log V 23 Tag hg-20120826-233833 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-08-26T22:29:42.075026Z K 7 svn:log V 344 Merge various CTF fixes from illumos 2942 CTF tools need to handle files which legitimately lack data 2978 ctfconvert still needs to ignore legitimately dataless files on SPARC Illumos Revisions: 13745:6b3106b4250f 13754:7231b684c18b Reference: https://www.illumos.org/issues/2942 https://www.illumos.org/issues/2978 MFC after: 3 weeks END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-08-26T23:37:11.277026Z K 7 svn:log V 512 Building upon SVN r254237, disable automated activation of alternate layouts and add support for default underride to $loader_version, acting as a way to name a release. Release text is not displayed for the aforementioned feature of alternate display layout (introduced in r254237); however, for all other layouts (incl. default), the release name is displayed at lower-right. See version.4th(8) for additional information and/or historical details. NOTE: Also a minor edit to version.4th(8) while we're here. END K 10 svn:author V 4 will K 8 svn:date V 27 2013-08-26T23:48:21.990144Z K 7 svn:log V 480 Add the ability to display the default FIB number for a process to the ps(1) utility, e.g. "ps -O fib". bin/ps/keyword.c: Add the "fib" keyword and default its column name to "FIB". bin/ps/ps.1: Add "fib" as a supported keyword. sys/compat/freebsd32/freebsd32.h: sys/kern/kern_proc.c: sys/sys/user.h: Add the default fib number for a process (p->p_fibnum) to the user land accessible process data of struct kinfo_proc. Submitted by: Oliver Fromme , gibbs END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-08-27T01:08:55.623365Z K 7 svn:log V 100 - Initialize freq variable so we will not end up with random value if there is no YAMON present END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-27T01:31:12.354425Z K 7 svn:log V 354 When allocating a pbuf for the cluster write, do not sleep waiting for the available pbuf when passed vnode is backing md(4). Other i/o directed to the same md device might already hold pbufs, and then we could deadlock since only our progress can free a pbuf needed for wakeup. Obtained from: projects/vm6 Reminded and tested by: pho MFC after: 1 week END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-08-27T01:40:13.021815Z K 7 svn:log V 270 Fixes for compatibility with QEMU: - Route PCI interrupt for NIC - Make "no mapping" warning more user-friendly: add device name and mention that it's IRQ mapping - Do not overlap ICUs' IO window with PCI devices' IO windows by starting IO rman at offset 0x100 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-08-27T03:11:49.343908Z K 7 svn:log V 890 Partial MFC of r253927 (by attilio): Remove unnecessary soft busy of the page before to do vn_rdwr() in kern_sendfile() which is unnecessary. MFC note: NFS implementation of VOP_READ() sometimes upgrades the vnode lock, which causes drop of the shared lock and sleep for exclusive. As result, busying of the page before the call to vn_rdwr() makes NFS code to wait for vnode lock while page is busy, which contradicts the proper order of vnode lock -> busy. The r250027, merged as part of r250907, started calling vm_page_grab() under the vnode lock. The page grab waits for the page busy state to drain, which makes the parallel sendfile(2) invocations on the same vnode vulnerable to the LOR described above. Note that r250027 only exposed the problem, which might be caused by other means as well, e.g. by parallel sendfile(2) and truncate(2). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-08-27T03:49:47.984609Z K 7 svn:log V 104 Fix off-by-1 error in assert. Submitted by: Tycho Nightingale (tycho.nightingale@pluribusnetworks.com) END K 10 svn:author V 4 will K 8 svn:date V 27 2013-08-27T04:01:31.769313Z K 7 svn:log V 233 Build all ZFS testing & debugging tools with -g. These programs and everything using libzpool rely on the embedded asserts to verify the correctness of operations. Given that, the core dumps would be useless without debug symbols. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2013-08-27T04:05:18.179196Z K 7 svn:log V 511 Couple minor if_vmx tweaks - Use queue size fields from the Tx/Rx queues in various places instead of (currently the same values) from the softc. - Fix potential crash in detach if the attached failed to alloc queue memory. - Move the VMXNET3_MAX_RX_SEGS define to a better spot. - Tweak frame size calculation w.r.t. ETHER_ALIGN. This could be tweaked some more, or removed since it probably doesn't matter much for x86 (and the x86 class of machines this driver will be used on). END K 10 svn:author V 4 will K 8 svn:date V 27 2013-08-27T04:42:42.208889Z K 7 svn:log V 484 Fix 'make release' on older hosts: use buildworld legacy utilities. Newer FreeBSD installs require an install(1) that supports the new flags. This adds ${MAKEOBJDIRPREFIX}${.CURDIR}/tmp/legacy/{bin,usr/{bin,sbin}} to the PATH while generating an mtree database for 'make release'. Note that the problem only exists here because mm-mtree.sh generates its own object tree to avoid mucking with the existing one, which results in a PATH containing legacy utility dirs that are empty. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-08-27T06:09:28.265067Z K 7 svn:log V 18 Update copyright. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-08-27T06:31:50.980190Z K 7 svn:log V 171 MFC revisions 254942 and 254952: Make alternate layout ``opt-in'' and add support for named releases. Minor edit to version.4th(8) manual and stack-leak fixes while here. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-08-27T06:50:46.077786Z K 7 svn:log V 57 Add missing newlines to Fibre Channel attributes output. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-08-27T11:50:33.230811Z K 7 svn:log V 68 Fix a crash when reloading the configuration file. Spotted by: des END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-27T14:37:13.173398Z K 7 svn:log V 644 Create a new function to complete 802.11 mbuf transmission. The aim of this function is to eventually be the completion entry point for all 802.11 encapsulated mbufs. All the wifi drivers end up doing what is in this function so it's an easy win to turn it into a net80211 method and abstract out this code. Ideally the drivers will all eventually be modified to queue up completed mbufs and call this function with all the driver locks not held. This will allow for some much more interesting software queue handling in the future (like net80211 based A-MSDU, fast-frames, A-MPDU aggregation and retransmission.) Tested: * ath(4), iwn(4) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-08-27T14:39:37.561297Z K 7 svn:log V 46 Use the new ieee80211_tx_complete() function. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-08-27T14:48:01.884744Z K 7 svn:log V 140 It was brought to my attention that SVN r252862 was incomplete. It needed to also make this change, to completely deprecate WITH_BSDCONFIG. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-08-27T15:06:39.527080Z K 7 svn:log V 57 Allow more space for interface names. MFC after: 1 week END K 10 svn:author V 4 will K 8 svn:date V 27 2013-08-27T15:50:26.116423Z K 7 svn:log V 1133 Make the PAM password strength checking module WARNS=2 safe. lib/libpam/modules/pam_passwdqc/Makefile: Bump WARNS to 2. contrib/pam_modules/pam_passwdqc/pam_passwdqc.c: Bump _XOPEN_SOURCE and _XOPEN_VERSION from 500 to 600 so that vsnprint() is declared. Use the two new union types (pam_conv_item_t and pam_text_item_t) to resolve strict aliasing violations caused by casts to comply with the pam_get_item() API taking a "const void **" for all item types. Warnings are generated for casts that create "type puns" (pointers of conflicting sized types that are set to access the same memory location) since these pointers may be used in ways that violate C's strict aliasing rules. Casts to a new type must be performed through a union in order to be compliant, and access must be performed through only one of the union's data types during the lifetime of the union instance. Handle strict-aliasing warnings through pointer assignments, which drastically simplifies this change. Correct a CLANG "printf-like function with more arguments than format" error. Submitted by: gibbs Sponsored by: Spectra Logic END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-08-27T16:10:44.726752Z K 7 svn:log V 150 Add note/reminder about dialog(1) regression in HEAD/10.0-C so that we don't forget about it in the multi-month run of things to fix prior to 10.0-R. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-08-27T16:30:50.518719Z K 7 svn:log V 135 Formally remove WITH_BSDCONFIG build option and re-generate src.conf.5 NOTE: Should have been inline with revisions 252862 and 254958. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-08-27T16:45:00.578856Z K 7 svn:log V 76 Remove include opt_ofed.h since OFED is unifdef'd. Pointed out by: glebius END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-27T16:49:20.672289Z K 7 svn:log V 151 Add support for emulating the byte move instruction "mov r/m8, r8". This emulation is required when dumping MMIO space via the ddb "examine" command. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-08-27T16:50:48.590992Z K 7 svn:log V 155 Allow single byte reads of the emulated MSI-X tables. This is not required by the PCI specification but needed to dump MMIO space from "ddb" in the guest. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-08-27T18:16:50.015536Z K 7 svn:log V 76 Add missing mergeinfo from head for stabe/9 revisions: 252995 253168 253169 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2013-08-27T18:35:04.212946Z K 7 svn:log V 219 Assemble linux32_locore.s and ia32_sigtramp.S with clang integrated assembler. Support for .code32 and .code64 in llvm was implemented more than 2 years ago. Tested by: Dan McGregor END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-08-27T19:10:36.489828Z K 7 svn:log V 85 Remove duplicate dev.xbd.*.max_requests sysctl added in r252260. Approved by: gibbs END K 10 svn:author V 5 kargl K 8 svn:date V 27 2013-08-27T19:46:56.607800Z K 7 svn:log V 931 * s_erf.c: . Use integer literal constants instead of double literal constants. * s_erff.c: . Use integer literal constants instead of casting double literal constants to float. . Update the threshold values from those carried over from erf() to values appropriate for float. . New sets of polynomial coefficients for the rational approximations. These coefficients have little, but positive, effect on the maximum error in ULP in the four intervals, but do improve the overall speed of execution. . Remove redundant GET_FLOAT_WORD(ix,x) as hx already contained the contents that is packed into ix. . Update the mask that is used to zero-out lower-order bits in x in the intervals [1.25, 2.857143] and [2.857143, 12]. In tests on amd64, this change improves the maximum error in ULP from 6.27739 and 63.8095 to 3.16774 and 2.92095 on these intervals for erffc(). Reviewed by: bde END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-08-27T19:47:03.261884Z K 7 svn:log V 618 If a drive returns ASC/ASCQ 0x04,0x11 "Logical unit not ready, notify (enable spinup) required", instead of doing the normal retries, poll for a change in status. We will poll every half second for a minute for the status to change. Hitachi drives (and likely other SAS drives) return that ASC/ASCQ when they are waiting to spin up. What it means is that they are waiting for the SAS expander to send them the SAS NOTIFY (ENABLE SPINUP) primitive. That primitive is the mechanism expanders/enclosures use to sequence drive spinup to avoid overloading power supplies. Sponsored by: Spectra Logic MFC after: 3 days END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-08-27T20:34:11.308815Z K 7 svn:log V 384 MFC 254372: Export the maxio field in the CAM XPT_PATH_INQ CCB in the isp(4) driver. This tells consumers up the stack the maximum I/O size that the controller can handle. The I/O size is bounded by the number of scatter/gather segments the controller can handle and the page size. For an amd64 system, it works out to around 5MB. Reviewed by: mjacob Sponsored by: Spectra Logic END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-08-27T20:43:27.010257Z K 7 svn:log V 150 Properly record mergeinfo for the merge of revision 254372 from head into stable/9. This should have been done in change 254971. Pointy hat to: ken END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-08-27T20:52:02.839866Z K 7 svn:log V 1263 Pad m_hdr on 32bit architectures to to prevent alignment and padding problems with the way MLEN, MHLEN, and struct mbuf are set up. CTASSERT's are provided to detect such issues at compile time in the future. The #define MLEN and MHLEN calculation do not take actual compiler- induced alignment and padding inside the complete struct mbuf into account. Accordingly appropriate attention is required when changing members of struct mbuf. Ideally one would calculate MLEN as (MSIZE - sizeof(((struct mbuf *)0)->m_hdr) but that doesn't work as the compiler refuses to operate on an as of yet incomplete structure. In particular ARM 32bit has more strict alignment requirements which caused 4 bytes of padding between m_hdr and pkthdr in struct mbuf because of the 64bit members in pkthdr. This wasn't picked up by MLEN and MHLEN causing an overflow of the mbuf provided data storage by overestimating its size. I386 didn't show this problem because it handles unaligned access just fine, albeit at a small performance penalty. On 64bit architectures the struct mbuf layout is 64bit aligned in all places. Reported by: Thomas Skibo Tested by: tuexen, ian, Thomas Skibo (extended patch) Sponsored by: The FreeBSD Foundation END