ƒ±267353 175 146 143 157 162 159 160 596 135 407 230 716 691 195 155 380 530 248 115 283 213 322 259 204 195 376 222 1104 709 361 204 424 1260 364 139 511 137 183 138 242 785 311 145 254 168 320 151 153 212 125 152 304 175 201 181 197 328 378 193 280 198 170 152 458 161 254 338 279 193 173 201 365 418 155 496 1552 319 150 471 138 331 218 269 137 128 128 264 509 204 296 131 385 161 191 191 557 223 291 218 223 330 122 153 264 264 526 548 595 154 130 161 327 265 535 217 2240 132 172 422 316 121 272 272 272 272 271 267 149 113 181 205 229 444 166 306 537 223 294 603 372 463 328 314 139 184 467 151 136 279 103 159 136 138 136 133 159 116 618 131 1141 389 358 147 193 129 212 118 300 210 406 509 165 457 254 1126 992 K 10 svn:author V 3 rrs K 8 svn:date V 27 2014-06-11T09:31:09.543412Z K 7 svn:log V 54 Add my Lock-Less-Often changes to this project branch END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-11T10:03:06.045692Z K 7 svn:log V 52 Add a driver for Serial Peripheral Interface (SPI). END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-06-11T10:13:08.010051Z K 7 svn:log V 66 Add UUIDs for DragonFlyBSD's partition types. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-06-11T10:14:40.688539Z K 7 svn:log V 71 Add DragonFlyBSD's Hammer FS types and type names. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-06-11T10:19:11.307144Z K 7 svn:log V 68 Add aliases for DragonFlyBSD's partition types. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-06-11T10:23:49.130406Z K 7 svn:log V 69 Allow swapping to DragonFlyBSD's swap partition. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-06-11T10:42:34.999007Z K 7 svn:log V 504 Add disklabel64 support to GEOM_PART class. This partitioning scheme is used in DragonFlyBSD. It is similar to BSD disklabel, but has the following improvements: * metadata has own dedicated place and isn't accessible through partitions; * all offsets are 64-bit; * supports 16 partitions by default (has reserved place for more); * has reserved place for backup label (but not yet implemented); * has UUIDs for partitions and partition types; No objections from: geom MFC after: 2 weeks Relnotes: yes END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-06-11T10:48:11.706028Z K 7 svn:log V 44 Add disklabel64 support MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-11T11:27:44.765380Z K 7 svn:log V 309 Improve logic besides net.bpf.optimize_writers. Direct bpf(4) consumers should now work fine with this tunable turned on. In fact, the only case when optimized_writers can change program behavior is direct bpf(4) consumer setting its read filter to catch-all one. MFC after: 2 weeks Sponsored by: Yandex LLC END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-11T12:56:49.460055Z K 7 svn:log V 137 Remove unneeded mountlist_mtx acquisition from sync_fsync(). All struct mount fields accessed by sync_fsync() are protected by MNT_MTX. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-11T14:53:58.642179Z K 7 svn:log V 623 Fix various NIC drivers to properly cleanup static DMA resources. In particular, don't check the value of the bus_dma map against NULL to determine if either bus_dmamem_alloc() or bus_dmamap_load() succeeded. Instead, assume that bus_dmamap_load() succeeeded (and thus that bus_dmamap_unload() should be called) if the bus address for a resource is non-zero, and assume that bus_dmamem_alloc() succeeded (and thus that bus_dmamem_free() should be called) if the virtual address for a resource is not NULL. In many cases these bugs could result in leaks when a driver was detached. Reviewed by: yongari MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-06-11T16:11:12.072665Z K 7 svn:log V 598 Correct a bug in the management of the population map on big-endian machines. Specifically, there was a mismatch between how the routine allocation and deallocation operations accessed the population map and how the aggressively optimized reservation-breaking operation accessed it. So, problems only occurred when reservations were broken. This change makes the routine operations access the population map in the same way as the reservation breaking operation. This bug was introduced in r259999. PR: 187080 Tested by: jmg (on an "armeb" machine) Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-11T17:03:14.279650Z K 7 svn:log V 102 Fix a few more drivers that were explicitly destroying the bus_dma map created by bus_dmamem_alloc(). END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-11T17:19:57.671713Z K 7 svn:log V 60 Avoid leaking file pointer on error CID: 1222506, 1222505 END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-06-11T17:48:07.556673Z K 7 svn:log V 286 Disable global interrupts early so all the software state maintained by bhyve is sampled "atomically". Any interrupts after this point will be held pending by the CPU until the guest starts executing and will immediately trigger a #VMEXIT. Reviewed by: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-11T18:24:51.875654Z K 7 svn:log V 433 Apply vendor fixes to the High Point drivers: - Don't call xpt_free_path() in os_query_remove_device() and always return TRUE. - Update os_buildsgl() to support build logical SG table which will be used by lower RAID module. - Return CAM_SEL_TIMEOUTstatus for SCSIcommand failed as target missing. Many thanks to HighPoint for providing this driver update. Submitted by: Steve Chang Reviewed by: mav MFC after: 3 days END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-06-11T18:45:47.381921Z K 7 svn:log V 153 Add support for more ioctls and change behavior of EVIOCG(LED|KEY|SW|SND) so when called, events of corresponding type are removed from the input queue. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-06-11T19:27:32.472458Z K 7 svn:log V 21 Fix previous commit. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-06-11T20:20:14.478844Z K 7 svn:log V 189 Use Mt macro to properly format mailto links (patch from Franco Fichtner for Dragonfly) Reviewed by: des Approved by: des Obtained from: Dragonfly MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-11T20:22:14.989059Z K 7 svn:log V 116 Fix decoding of MOVSX. Submitted by: Wolf Ramovsky via core (peter) MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-11T20:31:41.052313Z K 7 svn:log V 225 Fix decoding of LEA when address-size prefix (67h) is present. This is loosly based on Xorg changeset f57bc0e by Christian Zander. Submitted by: Wolf Ramovsky via core (peter) MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-11T20:38:14.182488Z K 7 svn:log V 162 Fix decoding of near CALL when address-size prefix (67h) is present. Submitted by: Wolf Ramovsky via core (peter) MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-11T20:44:02.864099Z K 7 svn:log V 111 Unload maps for DMA buffers allocated via bus_dmamem_alloc() before freeing the buffers. Reviewed by: davidcs END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-06-11T20:44:54.080426Z K 7 svn:log V 101 Add a zlib pkg-config file (more and more ports requires it) Approved by: delphij MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-11T20:46:23.545545Z K 7 svn:log V 283 - Unmap static DMA buffers allocated via bus_dmemem_alloc() before freeing them instead of after. - Check the bus address of a static DMA buffer to decide if the associated map should be unloaded. - Don't try to destroy bus dma maps for static DMA buffers. Reviewed by: davidcs END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-11T20:48:40.745203Z K 7 svn:log V 125 Fix path for zlib examples, this have no runtime effect and was overlooked when I was doing zlib update. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-12T00:15:07.451830Z K 7 svn:log V 1006 Cumulative update to arc4random(3). MFC r227519, r227520, r238118, r241046: r227519 (das) Sync the style, comments, and variable names of arc4random.c with OpenBSD's version (r1.22). No functional changes, as verified with md5. r227520 (das) Further reduce diffs with OpenBSD's arc4random. The main functional change here is to ensure that when a process forks after arc4random is seeded, the parent and child don't observe the same random sequence. OpenBSD's fix introduces some additional overhead in the form of a getpid() call. The only significant remaining difference between our arc4random and OpenBSD's is in how we seed the generator in arc4_stir(). r238118 (pjd): Prefer sysctl to open/read/close for obtaining random data. This method is more sandbox-friendly and also should be faster as only one syscall is needed instead of three. In case of an error fall back to the old method. r241046 (jilles) libc: Use O_CLOEXEC for various internal file descriptors. Approved by: re (gjb) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-12T00:19:05.637418Z K 7 svn:log V 612 MFC r227519, r227520: r227519 (das) Sync the style, comments, and variable names of arc4random.c with OpenBSD's version (r1.22). No functional changes, as verified with md5. r227520 (das) Further reduce diffs with OpenBSD's arc4random. The main functional change here is to ensure that when a process forks after arc4random is seeded, the parent and child don't observe the same random sequence. OpenBSD's fix introduces some additional overhead in the form of a getpid() call. The only significant remaining difference between our arc4random and OpenBSD's is in how we seed the generator in arc4_stir(). END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T01:33:01.859701Z K 7 svn:log V 265 MFC r267109, r267179: Update vt(4) "Terminus BSD Console" font "Terminus BSD Console" is a derivative of Terminus that is provided by Mr. Dimitar Zhekov under the 2-clause BSD license for use by the FreeBSD vt(4) console. Clarify statement on font origin END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-12T04:47:14.687452Z K 7 svn:log V 108 MFC r267252, r267253: - Remove an unnecessary variable reassignment - Fix TSO support on VMware Fusion END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-12T08:47:17.285881Z K 7 svn:log V 326 Project to rework some ipfw(4) pieces: * switch all (or most) ipfw objects to names instead of numbers * make creation of new tabletypes easier (and add some new ones) * split some userland/kernel structres to ease kernel changes. * add per-cpu rule counters * add contaiter opcodes to improve adding/deleting multiple rules. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-12T09:59:11.118558Z K 7 svn:log V 1161 Make ipfw tables use names as used-level identifier internally: * Add namedobject set-aware api capable of searching/allocation objects by their name/idx. * Switch tables code to use string ids for configuration tasks. * Change locking model: most configuration changes are protected with UH lock, runtime-visible are protected with both locks. * Reduce number of arguments passed to ipfw_table_add/del by using separate structure. * Add internal V_fw_tables_sets tunable (set to 0) to prepare for set-aware tables (requires opcodes/client support) * Implement typed table referencing (and tables are implicitly allocated with all state like radix ptrs on reference) * Add "destroy" ipfw(8) using new IP_FW_DELOBJ opcode Namedobj more detailed: * Blackbox api providing methods to add/del/search/enumerate objects * Statically-sized hashes for names/indexes * Per-set bitmask to indicate free indexes * Separate methods for index alloc/delete/resize Basically, there should not be any user-visible changes except the following: * reducing table_max is not supported * flush & add change table type won't work if table is referenced Sponsored by: Yandex LLC END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T11:15:19.302105Z K 7 svn:log V 271 - Don't compare bus_dma map pointers for static DMA allocations against NULL to determine if bus_dmamap_unload() or bus_dmamem_free() should be called. Instead, check the associated bus and virtual addresses. - Don't clear static DMA maps to NULL. Reviewed by: jfv END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T11:21:18.790715Z K 7 svn:log V 47 Remove some Giant unlocks I missed in r267290. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-12T11:36:22.110241Z K 7 svn:log V 418 Allocating new bucket for bucket zone, never take it from the zone itself, since it will almost certanly fail. Take next bigger zone instead. This situation should not happen with original bucket zones configuration: "32 Bucket" zone uses "64 Bucket" and vice versa. But if "64 Bucket" zone lock is congested, zone may grow its bucket size and start biting itself. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-12T11:37:38.320684Z K 7 svn:log V 46 Add machine-dependent SMP part for Exynos5420 END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-12T11:41:04.072882Z K 7 svn:log V 92 Activate IRQ 30 (non-secure private timer IRQ) for case we are running in non-secure state. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-12T11:44:26.582094Z K 7 svn:log V 47 Enable SMP for both Exynos5 models we support. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-12T11:57:07.120310Z K 7 svn:log V 149 Introduce new "256 Bucket" zone to split requests and reduce congestion on "128 Bucket" zone lock. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-12T12:43:48.990557Z K 7 svn:log V 692 Implement simple direct-mapped cache for popular filesystem identifiers to avoid congestion on global mountlist_mtx mutex in vfs_busyfs(), while traversing through the list of mount points. This change significantly improves NFS server scalability, since it had to do this translation for every request, and the global lock becomes quite congested. This code is more optimized for relatively small number of mount points. On systems with hundreds of active mount points this simple cache may have many collisions. But the original traversal code in that case should also behave much worse, so we are not loosing much. Reviewed by: attilio MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T13:13:15.546073Z K 7 svn:log V 218 MFC 260239,261268,265058: Expand the support for PCI INTx interrupts including providing interrupt routing information for INTx interrupts to I/O APIC pins and enabling INTx interrupts in the virtio and AHCI backends. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T13:17:11.901147Z K 7 svn:log V 53 MFC 261229: o Fix typo, sort .Xrs. PR: docs/186191 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-12T13:33:01.657510Z K 7 svn:log V 156 - Fix out of range shifting bug in bitops.h. - Make code a bit easier to read by adding parenthesis. MFC after: 3 days Sponsored by: Mellanox Technologies END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T13:48:52.224228Z K 7 svn:log V 76 MFC 261503,264501: Emulate the byte move and zero/sign extend instructions. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-12T13:59:14.903078Z K 7 svn:log V 227 Remove evaluations of MK_DEBUG_FILES where not needed. If DEBUG_DISTRIBUTIONS is empty, which is true if MK_DEBUG_FILES evaluates to 'no' above, the loop does nothing. Suggested by: emaste Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 rodrigo K 8 svn:date V 27 2014-06-12T14:20:58.370632Z K 7 svn:log V 55 Add myself to the calendar Approved by: bapt (mentor) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T15:20:59.058588Z K 7 svn:log V 61 MFC 261504: Add support for FreeBSD/i386 guests under bhyve. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T15:23:51.982847Z K 7 svn:log V 116 Add thin versions of VGAROM 8x8 and 8x16 fonts for vt(4) These are converted from syscons(4) cp437-thin-8x* fonts. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T15:24:33.464446Z K 7 svn:log V 33 MFC 262311: Fix virtio spec URL. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-06-12T15:46:24.054164Z K 7 svn:log V 57 MFC r267090: Correct the document date for last change. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T15:59:36.605557Z K 7 svn:log V 208 MFC r266171, r266174 by gnn: Update the amount of data we can collect for hwpmc(4) by default to work with modern processors and available memory. Upgrade the default callchain depth Approved by: re END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-06-12T16:00:38.707458Z K 7 svn:log V 80 MFC r267090: Correct the document date for last change. Approved by: re (gjb) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T16:16:11.540376Z K 7 svn:log V 105 MFC r266166 by gnn: Extend the size of the function or symbol that can be annotated. Approved by: re END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T16:17:01.155224Z K 7 svn:log V 86 MFC r266903: Update default callchain depth to 16 to match kernel Approved by: re END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-12T16:26:26.920648Z K 7 svn:log V 104 Document r267379, arc4random(3) merge. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-06-12T16:31:15.592027Z K 7 svn:log V 235 clear the write bit... This allows my AVILA board to survive a portsnap extract, where previously it would panic.. clearly someone who knows pmap should optimize this code per alc's comment... Submitted by: alc MFC after: probably END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T16:33:06.807636Z K 7 svn:log V 282 MFC r267109, r267179: Update vt(4) "Terminus BSD Console" font "Terminus BSD Console" is a derivative of Terminus that is provided by Mr. Dimitar Zhekov under the 2-clause BSD license for use by the FreeBSD vt(4) console. Clarify statement on font origin Approved by: re END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T16:41:52.880888Z K 7 svn:log V 98 MFC r265798, r265815 by wblock: Add a man page for the new vt.4 device. Fix document title. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T16:45:35.854909Z K 7 svn:log V 184 MFC r266209 by gnn: Add a command line argument (-l) to end event collection after some number of seconds. The number of seconds may be a fraction. Relnotes: yes Approved by: re END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-12T16:52:36.804267Z K 7 svn:log V 105 Document r267411, pmcstat(8) '-l' flag. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-12T16:55:04.232675Z K 7 svn:log V 78 Document r266890, pmcstat(8) '-l' flag. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T17:06:50.335311Z K 7 svn:log V 57 Undo incorrect mergeinfo from r267410 Suggested by: gjb END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T17:08:04.042974Z K 7 svn:log V 362 MFC r266208: Speed up pmcstat by improving string hash In one case generating callgraph output from a 24MB system-wide sampling data file took 17.4 seconds on average. Profiling showed pmcstat spending a lot of time in strcmp, due to hash collisions. Replacing the XOR-only hash with FNV-1a reduces the run time for my test by 40%. Approved by: re END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T17:12:58.884227Z K 7 svn:log V 66 MFC r266403: Update the date on the manual page. Approved by: re END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-12T17:13:35.714837Z K 7 svn:log V 161 MFC r267326, r267327: r267326: Add empty pkg-stage file to CLEANFILES if WITH_DVD=1. r267327: Fix indentation level. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T17:15:56.451115Z K 7 svn:log V 245 MFC 266263,266551,266552: - Add definitions for more structured extended features as well as XSAVE Extended Features for AVX512 and MPX (Memory Protection Extensions). - Don't permit users to request a subset of the AVX512 or MPX xsave masks. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-12T17:16:29.023683Z K 7 svn:log V 186 MFC r267326, r267327: r267326: Add empty pkg-stage file to CLEANFILES if WITH_DVD=1. r267327: Fix indentation level. Approved by: re (marius) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-12T17:19:57.797944Z K 7 svn:log V 100 Fix a typo in note for r266209, pmcstat(8) Spotted by: emaste Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-12T17:21:11.597965Z K 7 svn:log V 81 Fix a typo in note for r266890, pmcstat(8) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-12T17:22:04.723827Z K 7 svn:log V 108 Fix a type on note for r267411, pmcstat(8) Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-12T18:31:32.554620Z K 7 svn:log V 269 Build vt(4) fonts during buildworld vtfontcvt(8) is now built during buildworld, so can be used as a bootstrap tool to create vt(4) fonts from source .hex or .bdf font files, rather than having uuencoded binary fonts in the tree. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-06-12T18:54:52.773734Z K 7 svn:log V 324 Enable MK_TESTS by default. This was never intended to be off by default but was done this way because the initial patches broke the build. Things seem stable now (have been so for a while too) and "make tinderbox" is clean so let's try again. Announced in freebsd-current; all reported shortcomings have been addressed. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-06-12T18:59:25.056270Z K 7 svn:log V 62 Regen after r267424 to replace WITH_TESTS with WITHOUT_TESTS. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-12T19:01:57.748072Z K 7 svn:log V 403 Avoid zeroing during allocation. This change reverts a change from OpenBSD which made use of calloc, and therefore wasted time initializing arrays that will later be realloc'ed. Consistently use FreeBSD's reallocf(). While here also merge the changes from OpenBSD's manpage patch.1 Rev 1.27: "patch was moved from user portability (UP) to base in issue 7 and is no longer optional" MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T19:58:12.351083Z K 7 svn:log V 1458 MFC 261638,262144,262506,266765: Add virtualized XSAVE support to bhyve which permits guests to use XSAVE and XSAVE-enabled features like AVX. - Store a per-cpu guest xcr0 register and handle xsetbv VM exits by emulating the instruction. - Only expose XSAVE to guests if XSAVE is enabled in the host. Only expose a subset of XSAVE features currently supported by the guest and for which the proper emulation of xsetbv is known. Currently this includes X87, SSE, AVX, AVX-512, and Intel MPX. - Add support for injecting hardware exceptions into the guest and use this to trigger exceptions in the guest for invalid xsetbv operations instead of potentially faulting in the host. - Queue pending exceptions in the 'struct vcpu' instead of directly updating the processor-specific VMCS or VMCB. The pending exception will be delivered right before entering the guest. - Rename the unused ioctl VM_INJECT_EVENT to VM_INJECT_EXCEPTION and restrict it to only deliver x86 hardware exceptions. This new ioctl is now used to inject a protection fault when the guest accesses an unimplemented MSR. - Expose a subset of known-safe features from leaf 0 of the structured extended features to guests if they are supported on the host including RDFSBASE/RDGSBASE, BMI1/2, AVX2, AVX-512, HLE, ERMS, and RTM. Aside from AVX-512, these features are all new instructions available for use in ring 3 with no additional hypervisor changes needed. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-12T21:36:17.179533Z K 7 svn:log V 226 MFC 262615,262624: Workaround an apparent bug in VMWare Fusion's nested VT support where it triggers a VM exit with the exit reason of an external interrupt but without a valid interrupt set in the exit interrupt information. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-12T21:50:46.555789Z K 7 svn:log V 58 Fix some leaks on LUN creation error. MFC after: 2 weeks END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2014-06-12T22:42:31.456109Z K 7 svn:log V 373 drm/radeon: Add 32bit ioctls support This allows to run 32bit applications on a 64bit host. This was tested successfully with Wine (emulators/i386-wine-devel) and StarCraft II. Before this change, running a 32bit OpenGL application would trigger a kernel panic. This is an MFC of r265262. Submitted by: Jan Kokemüller Approved by: re (gjb) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-06-12T22:57:55.952100Z K 7 svn:log V 41 Merge in an up to date kernel from head. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-13T00:05:06.197556Z K 7 svn:log V 238 Revert r267424 and r267425: More exploration will be needed in order to silence the tinderbox mails caused by setting WITH_TESTS=1 by default. Ref: http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full With hat: re END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-13T00:07:32.145647Z K 7 svn:log V 125 Update stable/9 to -BETA3 as part of the 9.3-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 erwin K 8 svn:date V 27 2014-06-13T07:23:46.969854Z K 7 svn:log V 174 Sync with 2014060201 which adds IPv6 to b.root-servers.net Note that this is a direct commit to stable/8 as this file is no longer in HEAD. Sponsored by: DK Hostmaster A/S END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-13T07:33:43.220022Z K 7 svn:log V 40 MFC r263191: Add libusb_log_level enum. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-06-13T08:26:53.418607Z K 7 svn:log V 35 Replace malloc+memset with calloc. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-06-13T08:28:51.085571Z K 7 svn:log V 35 Replace malloc+memset with calloc. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-06-13T08:36:10.076265Z K 7 svn:log V 170 iconv_open: initialise ci_ilseq_invalid field of _citrus_iconv_shared struct after allocation with malloc. iconvlist: reduce a memory leak by copying strings only once. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-06-13T08:44:03.990756Z K 7 svn:log V 415 - Make invalids variable local to do_conv such that it prints the number of invalid characters of the current file instead of an accumulated value. - Make do_conv return an error when invalid characters have been found. Return EXIT_FAILURE from main if any file contained invalid characters. This matches the behaviour of GNU iconv. - Mark usage with __dead2 attribute. - Make the long_options array const. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-13T08:53:49.922666Z K 7 svn:log V 106 Attach the CUSE library and kernel module to the default FreeBSD builds. Bump the FreeBSD version number. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2014-06-13T10:08:18.443119Z K 7 svn:log V 202 Don't install GSS-API headers when the GSSAPI option has been disabled. Some ports assume GSS-API is supported when they find the headers. PR: 189156 Submitted by: Garrett Cooper END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-06-13T12:01:55.200565Z K 7 svn:log V 34 MFC: r267185 Minor improvements. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-06-13T12:39:06.436849Z K 7 svn:log V 289 MFC r267162: ktrace: Use designated initializers for the data_lengths array. In the .o file, this only changes some line numbers (stable/10 amd64) because element 0 is no longer explicitly initialized. This should make bugs like FreeBSD-SA-14:12.ktrace less likely. Discussed with: des END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-06-13T15:04:21.369075Z K 7 svn:log V 64 MFC r267174: Fix some rpcgen sample file issues. PR: 185582 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-13T18:07:42.859469Z K 7 svn:log V 95 Add Jung-uk Kim as co-maintainer of OpenSSL per discussion on -developers and agreed by benl@. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-13T18:20:44.920864Z K 7 svn:log V 99 Add missing calls to bus_dmamap_unload() when freeing static DMA allocations. Reviewed by: scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-13T19:10:40.070194Z K 7 svn:log V 464 MFC 262139,262140,262236,262281,262532: Various x2APIC fixes and enhancements: - Use spinlocks for the vioapic. - Handle the SELF_IPI MSR. - Simplify the APIC mode switching between MMIO and x2APIC. The guest is no longer allowed to switch modes at runtime. Instead, the desired mode is set when the virtual machine is created. - Disallow MMIO access in x2APIC mode and MSR access in xAPIC mode. - Add support for x2APIC virtualization assist in Intel VT-x. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-13T19:34:34.924969Z K 7 svn:log V 130 Don't check maps for static DMA allocations against NULL to see if an allocation succeeded. Instead, check the tag against NULL. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-13T19:40:02.624813Z K 7 svn:log V 198 - Don't check the dma map address for a static DMA mapping against NULL to determine if the mapping is valid. - Don't explicitly destroy the dmap map for static DMA mappings. Reviewed by: adrian END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-13T21:30:40.725153Z K 7 svn:log V 125 MFC 262744: Add SMBIOS support. A new option, -U, can be used to set the UUID in the System Information (Type 1) structure. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-13T22:33:41.697001Z K 7 svn:log V 126 Correct variable for loader tunable variable hw.mfi.mrsas_enable. Submitted by: Sascha Wildner (DragonFly) MFC after: 3 days END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-13T23:56:47.664584Z K 7 svn:log V 235 Vendor import of tzdata2014e changes Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T00:00:03.758052Z K 7 svn:log V 28 Tag of tzdata2014e sources. END K 10 svn:author V 5 shurd K 8 svn:date V 27 2014-06-14T00:10:10.753638Z K 7 svn:log V 59 Added: - my birthday Approved by: db, skreuzer (mentors) END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T00:16:50.092826Z K 7 svn:log V 169 MFV of tzdata2014e Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T00:18:17.260066Z K 7 svn:log V 169 MFC of tzdata2014e Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-14T00:44:57.772030Z K 7 svn:log V 429 MFC r267368: Apply vendor fixes to the High Point drivers: - Don't call xpt_free_path() in os_query_remove_device() and always return TRUE. - Update os_buildsgl() to support build logical SG table which will be used by lower RAID module. - Return CAM_SEL_TIMEOUTstatus for SCSIcommand failed as target missing. Many thanks to HighPoint for providing this driver update. Submitted by: Steve Chang Reviewed by: mav END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-14T00:54:57.655968Z K 7 svn:log V 451 MFC r267368: Apply vendor fixes to the High Point drivers: - Don't call xpt_free_path() in os_query_remove_device() and always return TRUE. - Update os_buildsgl() to support build logical SG table which will be used by lower RAID module. - Return CAM_SEL_TIMEOUTstatus for SCSIcommand failed as target missing. Many thanks to HighPoint for providing this driver update. Submitted by: Steve Chang Reviewed by: mav Approved by: re (gjb) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-14T01:03:24.156944Z K 7 svn:log V 502 Switch release/Makefile knobs from WITHOUT_FOO=1 to MK_FOO=no. This allows greater granular control over the release build, and avoids WITH_FOO=1 and WITHOUT_FOO=1 collision. This change was verified to produce correct results compared to an earlier build by diffing find(1) output of the resulting bootonly/, dvd/, and release/ directories. Tested on: head@r267449 MFC after: 1 month X-MFC-Note: Requires commits not yet MFC'd, so likely longer than 1 month. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T01:18:02.020353Z K 7 svn:log V 60 Undo commit r267455, which was done in the wrong directory. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T01:24:16.809761Z K 7 svn:log V 36 Remove wrongly tagged distribution. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-14T01:24:22.377181Z K 7 svn:log V 69 MFH @267460: Tracking commit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-14T01:32:48.379143Z K 7 svn:log V 231 MFC r264194: fix handling of -P without -p or -r Fork a child process and wait until the process terminates when the -P option is specified. This behavior is documented on the manual page. PR: 187265, 190643 Approved by: re END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-14T01:58:33.441984Z K 7 svn:log V 172 patch: cleanup some unnecessary cruft. - Drop some bogus casts to size_t. - The new_p_foo variables are not needed after r267426. Pointed out by: bde MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-14T02:57:40.558162Z K 7 svn:log V 442 MFC r266865; Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance. POSIX.1-2008 specifies that those two functions should be declared by including , not (the latter only has strcoll_l() and strxfrm_l()): http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html Bump __FreeBSD_version for ports that may be using the non-standard reference. Obtained from: DragonFlyBSD Reviewed by: theraven END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-14T06:54:03.042191Z K 7 svn:log V 121 Shadow RAM support is apparently not at all working on the Intel 5300 Wifi. Tested: * Intel 5300 3x3 wifi * Intel 5100 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-14T10:58:39.112510Z K 7 svn:log V 2141 Add API to ease adding new algorithms/new tabletypes to ipfw. Kernel-side changelog: * Split general tables code and algorithm-specific table data. Current algorithms (IPv4/IPv6 radix and interface tables radix) moved to new ip_fw_table_algo.c file. Tables code now supports any algorithm implementing the following callbacks: +struct table_algo { + char name[64]; + int idx; + ta_init *init; + ta_destroy *destroy; + table_lookup_t *lookup; + ta_prepare_add *prepare_add; + ta_prepare_del *prepare_del; + ta_add *add; + ta_del *del; + ta_flush_entry *flush_entry; + ta_foreach *foreach; + ta_dump_entry *dump_entry; + ta_dump_xentry *dump_xentry; +}; * Change ->state, ->xstate, ->tabletype fields of ip_fw_chain to ->tablestate pointer (array of 32 bytes structures necessary for runtime lookups (can be probably shrinked to 16 bytes later): +struct table_info { + table_lookup_t *lookup; /* Lookup function */ + void *state; /* Lookup radix/other structure */ + void *xstate; /* eXtended state */ + u_long data; /* Hints for given func */ +}; * Add count method for namedobj instance to ease size calculations * Bump ip_fw3 buffer in ipfw_clt 128->256 bytes. * Improve bitmask resizing on tables_max change. * Remove table numbers checking from most places. * Fix wrong nesting in ipfw_rewrite_table_uidx(). * Add IP_FW_OBJ_LIST opcode (list all objects of given type, currently implemented for IPFW_OBJTYPE_TABLE). * Add IP_FW_OBJ_LISTSIZE (get buffer size to hold IP_FW_OBJ_LIST data, currenly implemented for IPFW_OBJTYPE_TABLE). * Add IP_FW_OBJ_INFO (requests info for one object of given type). Some name changes: s/ipfw_xtable_tlv/ipfw_obj_tlv/ (no table specifics) s/ipfw_xtable_ntlv/ipfw_obj_ntlv/ (no table specifics) Userland changes: * Add do_set3() cmd to ipfw2 to ease dealing with op3-embeded opcodes. * Add/improve support for destroy/info cmds. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-14T11:02:55.548106Z K 7 svn:log V 35 Add ip_fw_algo.c to ipfw Makefile. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-14T11:13:02.437619Z K 7 svn:log V 75 Move most of external table structures/functions to separate ip_fw_table.h END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-06-14T11:20:41.083223Z K 7 svn:log V 329 MFC r267335: In some scenarios, when generating llvm/clang .inc.h files, multiple source files could be passed to tblgen or clang-tblgen, leading to a "Too many positional arguments specified" error message. Fix this by replacing the too-generic ${.ALLSRC} sources with explicit paths. Reported by: rysto32@gmail.com, rodrigc END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T11:30:25.681956Z K 7 svn:log V 221 Update to tzdata2014e: Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. Obtained from: ftp://ftp.iana.org/tz/releases/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T11:31:31.664559Z K 7 svn:log V 27 Tag of tzdata2014e sources END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T11:34:39.612464Z K 7 svn:log V 177 MFV of 267471, tzdata2014e Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T11:36:29.983260Z K 7 svn:log V 177 MFC of i267473,tzdata2013b Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T11:37:01.839705Z K 7 svn:log V 177 MFC of i267473,tzdata2013b Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T11:37:53.731121Z K 7 svn:log V 177 MFC of i267473,tzdata2014e Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-14T11:46:22.603368Z K 7 svn:log V 176 MFC of 267473,tzdata2014e Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-06-14T12:17:45.001275Z K 7 svn:log V 169 MFp4: change 1191346 In print_header32_tok(), correct printing in the XML case. This lead to invalid XML files before. PR: 176259 Submitted by: zi MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-14T12:26:12.218370Z K 7 svn:log V 57 Fix/improve fhe_stats sysctl output. MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-06-14T12:56:07.817638Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-14T17:47:44.361518Z K 7 svn:log V 89 Implement small KPI to access LUN options instead doing it by hands. MFC after: 2 weeks END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-06-14T18:43:48.863011Z K 7 svn:log V 110 Stop telling people to use send-pr; instead point them towards Bugzilla. Hat: bugmeister@ MFC after: 3 days END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-06-14T18:45:40.904020Z K 7 svn:log V 134 With the move away from GNATS, point end users to a better web page detailing how to report bugs. Hat: bugmeister MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-06-14T18:48:12.895104Z K 7 svn:log V 351 MFC r267335: In some scenarios, when generating llvm/clang .inc.h files, multiple source files could be passed to tblgen or clang-tblgen, leading to a "Too many positional arguments specified" error message. Fix this by replacing the too-generic ${.ALLSRC} sources with explicit paths. Reported by: rysto32@gmail.com, rodrigc Approved by: re (gjb) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-14T20:25:14.219591Z K 7 svn:log V 74 Remove non-functional remnants of control LUN -- 18MB of RAM for nothing. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-06-14T20:36:32.812255Z K 7 svn:log V 211 Remove send-pr, the supported interface to submit bugs is now via https://bugs.freebsd.org/submit/ Removing send-pr also removes one more piece of non-BSD-licensed software. Hat: bugmeister MFC after: 3 days END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-14T22:47:25.989583Z K 7 svn:log V 439 Move further to eliminate next pieces of number-assuming code inside tables. Kernel changes: * Add IP_FW_OBJ_FLUSH opcode (flush table based on its name/set) * Add IP_FW_OBJ_DUMP opcode (dumps table data based on its names/set) * Add IP_FW_OBJ_LISTSIZE / IP_FW_OBJ_LIST opcodes (get list of kernel tables) Userland changes: * move tables code to separate tables.c file * get rid of tables_max * switch "all"/list handling to new opcodes END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-14T23:36:17.649495Z K 7 svn:log V 127 Don't check the dma map address for a static DMA mapping against NULL to determine if the mapping is valid. Submitted by: jhb END K 10 svn:author V 5 edwin K 8 svn:date V 27 2014-06-15T00:53:24.448070Z K 7 svn:log V 199 MFC of 267473,tzdata2014e Fix historical data for Egypt. Better prediction for future Egypt / Morocco changes. Update to Cocos / Cook islands. Fix historical data for Russia. Approved by: re (gjb) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-15T03:54:23.776199Z K 7 svn:log V 510 patch: unsign the line length to avoid overflows. Patch(1) uses a short int for the line length, which is usually sufficient for regular diffs, but makes no effort to signal when there is an overflow. Change the line length to an unsigned short int to better use the fact that a length is never negative. The change is loosely inspired on a related change in DragonFly, but we avoid spending more memory than necessary. While here adjust the messages to be clearer on what is happening. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-15T04:51:53.433324Z K 7 svn:log V 279 Use vn_io_fault for the writes from core dumping code. Recursing into VM due to copyin(9) faulting while VFS locks are held is deadlock-prone there in the same way as for the write(2) syscall. Reported and tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-15T05:01:35.804938Z K 7 svn:log V 370 Fix some cosmetic issues with the use of kmem_malloc() in the i386 LDT sysarch(2) code. Use M_ZERO instead of explicit bzero(9). Do not check for failed allocation when M_WAITOK is specified (which is specified always). Use malloc(9) when allocating memory for the intermediate copy of the user-supplied buffer. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-15T05:07:01.048412Z K 7 svn:log V 231 Fix two issues: - Check for rc.d directory's existence before traversing it; - Don't output * when rc.d directory is empty. PR: conf/190665 Submitted by: Oleg Ginzburg (with changes) MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-15T05:15:38.419134Z K 7 svn:log V 221 MFC r267226: Initialize the pbuf counter for directio using SYSINIT. Mark ffs_rawread.c as requiring both ffs and directio options to be compiled into the kernel. Add ffs_rawread.c to the list of ufs.ko module' sources. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-15T05:17:40.930865Z K 7 svn:log V 47 MFC r267227: Remove write-only local variable. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-15T06:56:10.517227Z K 7 svn:log V 92 Add "vendor", "product" and "revision" options to control inquiry data. MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-06-15T07:52:59.908755Z K 7 svn:log V 374 One of the intentions behind r267254 was that the global variable "sgrowsiz" would be read once and cached in a local variable so that the resource limit check and map entry insertion would be guaranteed to use the same value. However, the value being passed to vm_map_insert() is still from "sgrowsiz" and not the local variable. Correct this oversight. Reviewed by: kib END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-15T08:43:52.142505Z K 7 svn:log V 59 Respect "vendor" option in all places. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-15T09:37:06.863145Z K 7 svn:log V 44 Remove custom processing for "file" option. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-15T10:04:44.517497Z K 7 svn:log V 186 Format Portal Group Tag same as istgt does -- %4.4x instead of %x. SPC-4 spec tells it should be "two or more hexadecimal digits". RFC3720 tells it is 16-bit value. MFC after: 2 weeks END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-15T10:18:57.513733Z K 7 svn:log V 10 Fix date. END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-15T10:31:50.862811Z K 7 svn:log V 66 mdoc: use display block in the beginning of the EXAMPLES section. END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-15T10:34:35.820231Z K 7 svn:log V 43 mdoc: remove superfluous paragraph macros. END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-15T10:40:54.779080Z K 7 svn:log V 45 mdoc: add missing width argument to Bl -tag. END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-15T10:43:12.100818Z K 7 svn:log V 43 mdoc: remove superfluous paragraph macros. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-15T11:21:44.919750Z K 7 svn:log V 41 Document additional LUN/backend options. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-15T12:08:33.556640Z K 7 svn:log V 68 Add very basic driver for 12-bit Analog to Digital Converter (ADC). END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-06-15T12:21:06.467656Z K 7 svn:log V 21 Implement pmap_pinit END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-15T13:40:27.657610Z K 7 svn:log V 520 Simplify opcode handling. * Use one u16 from op3 header to implement opcode versioning. * IP_FW_TABLE_XLIST has now 2 handlers, for ver.0 (old) and ver.1 (current). * Every getsockopt request is now handled in ip_fw_table.c * Rename new opcodes: IP_FW_OBJ_DEL -> IP_FW_TABLE_XDESTROY IP_FW_OBJ_LISTSIZE -> IP_FW_TABLES_XGETSIZE IP_FW_OBJ_LIST -> IP_FW_TABLES_XLIST IP_FW_OBJ_INFO -> IP_FW_TABLE_XINFO IP_FW_OBJ_INFO -> IP_FW_TABLE_XFLUSH * Add some docs about using given opcodes. * Group some legacy opcode/handlers. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-15T13:43:44.413726Z K 7 svn:log V 34 Remove unused ipfw_dump_xtable(). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-06-15T13:45:37.515334Z K 7 svn:log V 1047 Create a mechanism for providing fine-grained build order dependencies during SUBDIR_PARALLEL builds. This augments the coarse .WAIT mechanism, which is still useful if you've got a situation such as "almost everything depends on A and B". Because the parallel subdir mechanism uses non-obvious mangling of target names, which should probably remain a private detail of the implementation, it's not easy to do things like "libfoo: libbar", so instead the new mechanism lets you set a variable that lists dependencies: SUBDIR_DEPEND_libfoo= libgroodah libpouet Note that while I'm using libraries as an example here, it really has nothing to do with the generated library files. This is really saying "build in directory libfoo after building in the libgroodah and libpouet directories." This updates lib/Makefile with dependency information based on the old almost-accurate comment block and by combing through lib/* makefiles looking for LDADD dependencies to other libraries within lib/*. Reviewed by: Jia-Shiun Li END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-15T16:38:17.584708Z K 7 svn:log V 296 patch: add dry-run alias for compatibility with other implementations. Other implementations of patch(1), including GNU patch and "svn patch" have a --dry-run option which does the same as our -C or --check option. Add a new alias to make our implementation more compatible. MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-15T16:54:26.258621Z K 7 svn:log V 265 MFV r266988: Merge from r258379 missed the tests. 4248 dtrace(1M) should never create DOF with empty probes section 4249 Only probes from the first DTrace object file will be included Illumos Revision: 54a20ab41aadcb81c53e72fc65886e964e9add59 MFC after: 5 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-15T17:14:52.234245Z K 7 svn:log V 55 Move kern_total_len setting from backend to core code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-15T18:16:51.745940Z K 7 svn:log V 100 Remove memcpy() from ctl_private[] accesses. That union is aligned enough to access data directly. END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-15T18:30:26.443252Z K 7 svn:log V 36 mdoc: add missing width to Bl -tag. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-15T18:32:02.749148Z K 7 svn:log V 114 MFC r267395: - Fix out of range shifting bug in bitops.h. - Make code a bit easier to read by adding parenthesis. END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-15T18:39:10.292984Z K 7 svn:log V 25 Minor mdoc improvements. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-15T20:14:11.702047Z K 7 svn:log V 207 Make backends track completion by processed number of sectors instead of total transfer size. Commands such as VERIFY or COMPARE AND WRITE may have transfer size not matching directly to number of sectors. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-16T04:12:33.015100Z K 7 svn:log V 114 - Remove two write-only local variables - Remove unused element in the vtnet_rxq structure MFC after: 1 week END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-16T04:16:31.095329Z K 7 svn:log V 310 Remove kernel specific macro out of the VirtIO PCI header file The eventual goal is to share this file with userland, so remove the macro that is only specific for virtio_pci(4). Instead, add the VIRTIO_PCI_CONFIG_OFF macro from Linux to get the config size whether MSIX is enabled or not. MFC after: 1 week END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-16T04:25:04.940282Z K 7 svn:log V 413 Move the VIRTIO_RING_F_* defines out of virtqueue.h into virtio_config.h These defines are applicable to userland too, but virtqueue.h contains the kernel virtqueue interface, and is therefore not usable in userland. Note that Linux places these defines in virtio_ring.h, but I don't want the drivers including this header file to keep the VirtIO ring opaque to everything but the virtqueue. MFC after: 1 week END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-16T04:29:28.270052Z K 7 svn:log V 70 Make the feature negotiation code easier to follow MFC after: 1 week END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-16T04:32:27.569994Z K 7 svn:log V 361 Force two byte alignment for all control message headers The header structure consists of two 1-byte elements, but it must always be describable by a single SG entry. Note for consistency, specify the alignment everywhere, even if the structure has the appropriate natural alignment since it contains a uint16_t. Obtained from: DragonFlyBSD MFC after: 1 week END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-06-16T08:41:57.600862Z K 7 svn:log V 158 xen: fix style in pv.c Fix the lenght of some comments, and also add proper indentation to xen_init_ops Sponsored by: Citrix Systems R&D Approved by: gibbs END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-06-16T08:43:03.111735Z K 7 svn:log V 1029 amd64/i386: introduce APIC hooks for different APIC implementations. This is needed for Xen PV(H) guests, since there's no hardware lapic available on this kind of domains. This commit should not change functionality. Sponsored by: Citrix Systems R&D Reviewed by: jhb Approved by: gibbs amd64/include/cpu.h: amd64/amd64/mp_machdep.c: i386/include/cpu.h: i386/i386/mp_machdep.c: - Remove lapic_ipi_vectored hook from cpu_ops, since it's now implemented in the lapic hooks. amd64/amd64/mp_machdep.c: i386/i386/mp_machdep.c: - Use lapic_ipi_vectored directly, since it's now an inline function that will call the appropiate hook. x86/x86/local_apic.c: - Prefix bare metal public lapic functions with native_ and mark them as static. - Define default implementation of apic_ops. x86/include/apicvar.h: - Declare the apic_ops structure and create inline functions to access the hooks, so the change is transparent to existing users of the lapic_ functions. x86/xen/hvm.c: - Switch to use the new apic_ops. END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-06-16T08:43:45.985688Z K 7 svn:log V 896 xen: add hooks for Xen PV APIC Create the necessary hooks in order to provide a Xen PV APIC implementation that can be used on PVH. Most of the lapic ops shouldn't be called on Xen, since we trap those operations at a higher layer. Sponsored by: Citrix Systems R&D Approved by: gibbs x86/xen/hvm.c: x86/xen/xen_apic.c: - Move IPI related code to xen_apic.c x86/xen/xen_apic.c: - Introduce Xen PV APIC implementation, most of the functions of the lapic interface should never be called when running as PV(H) guest, so make sure FreeBSD panics when trying to use one of those. - Define the Xen APIC implementation in xen_apic_ops. xen/xen_pv.h: - Extern declaration of the xen_apic struct. x86/xen/pv.c: - Use xen_apic_ops as apic_ops when running as PVH guest. conf/files.amd64: conf/files.i386: - Include the xen_apic.c file in the build of i386/amd64 kernels using XENHVM. END