ĵ_271274 162 606 355 250 292 174 146 140 151 368 702 210 445 262 337 219 224 166 537 203 533 338 250 330 1678 2224 246 1168 223 384 138 1514 780 245 463 166 354 260 142 177 123 125 109 150 252 1032 336 195 327 118 124 176 225 185 444 126 266 256 444 160 1488 293 98 305 595 572 172 161 196 227 217 278 305 244 123 721 260 995 481 155 155 171 155 129 129 148 156 171 165 217 153 153 590 146 189 467 176 180 167 326 751 151 178 111 186 124 131 139 372 179 185 513 142 227 156 132 238 192 200 304 410 273 228 485 207 317 314 520 396 145 277 319 189 1326 372 422 701 200 309 359 446 996 619 215 116 168 171 1333 369 315 199 407 592 231 312 373 237 109 255 331 136 194 258 K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-08T15:28:17.182732Z K 7 svn:log V 510 MFC r270976: Allow standalone debug for non-default ${PROG} targets This allows WITH_DEBUG_FILES to produce standalone debug for the ELF runtime linker. We previously disabled standalone debug files for bsd.prog.mk consumers that included a non-default ${PROG} target, but this is not required. Consumers that do not support standalone debug are still handled by disabling it for statically linked binaries, and for those that specify a non-default binary format. Sponsored by: DARPA, AFRL Approved by: re END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-08T15:40:55.182607Z K 7 svn:log V 259 MFC r271047: Avoid ./ in zoneinfo entries in METALOG Use of "find ." resulted in METALOG entries with an extra ./ -- e.g., ./usr/share/zoneinfo/./America/Toronto. Avoid this by using globbing via "find *" instead. Approved by: re Sponsored by: DARPA, AFRL END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T15:42:45.896297Z K 7 svn:log V 157 Document r263720, hostname- and IP-based restrictions added to ctld(8). Submitted by: trasz Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T15:42:47.837602Z K 7 svn:log V 199 - Document 263725, ctld(8) 'portal-group' is overrideable. - Document 263726, ctld(8) 'auth-group' default entry. Submitted by: trasz Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-09-08T17:01:30.898085Z K 7 svn:log V 77 Avoid rs(1) hitting LINE_MAX with custom trees that have large dependencies. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-09-08T18:09:19.712059Z K 7 svn:log V 51 Vendor import of NetBSD's (un)vis(3) at 2014-09-08 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-09-08T18:10:10.901682Z K 7 svn:log V 45 Tag 2014-09-08 import of NetBSD's (un)vis(3) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-09-08T18:11:20.632205Z K 7 svn:log V 56 Take advantage of the ^ feature in modern SVN versions. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-08T18:43:33.449689Z K 7 svn:log V 272 Merge Clang debug info crash fix rev 200797: Debug info: fix a crasher when when emitting debug info for not-yet-completed templated types. getTypeSize() needs a complete type. rdar://problem/15931354 PR: 193347 MFC after: 3 days Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-08T18:48:54.309318Z K 7 svn:log V 606 Add clang patch for r271282 Note that r271282 contains only the src change from Clang rev 200797. This patch file includes two follow-on changes to the test case, which do not apply to the copy in the FreeBSD tree. Upstream Clang revisions: 200797: Debug info: fix a crasher when when emitting debug info for not-yet-completed templated types. getTypeSize() needs a complete type. rdar://problem/15931354 200798: Simplify testcase from r200797 some more. 200805: Further simplify r200797 and add an explanatory comment. PR: 193347 MFC after: 3 days Sponsored by: DARPA, AFRL END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-08T19:00:13.708963Z K 7 svn:log V 117 Include the gssapi_krb5 library in KRB5_LDFLAGS. PR: 156245 MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-08T19:19:10.509255Z K 7 svn:log V 352 Add a 'ubenv import' command to import environment variables from the u-boot env into the loader(8) env (which also gets them into the kernel env). You can import selected variables or the whole environment. Each u-boot var=value becomes uboot.var=value in the loader env. You can also use 'ubenv show' to display uboot vars without importing them. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-09-08T19:24:25.509558Z K 7 svn:log V 164 Use the right constants in comparisons. This is currently a nop, as MIN_RXD == MIN_TXD and MAX_RXD == MAX_TXD. Reviewed by: Eric Joyner @ Intel MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-09-08T19:26:21.849121Z K 7 svn:log V 241 Merge from NetBSD: PR/49185: Conrad Meyer: strvisx: Handle zero-length input strings gracefully. (don't abuse 0 to mean compute string length internally) PR: 193447 Submitted by: Conrad Meyer MFC after: 1 month END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-08T19:40:59.113162Z K 7 svn:log V 127 MFC r270927: Add the reverse part to rule #9. Also change its description in the netstat(8) output. Approved by: re (gjb) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-08T21:10:51.110548Z K 7 svn:log V 128 MFC r265014: Report boot method (BIOS/UEFI) via sysctl machdep.bootmethod Approved by: re Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-08T21:46:14.048282Z K 7 svn:log V 74 MFC 226041: Export devfs inode number allocator for the kernel consumers. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-09T00:19:02.331514Z K 7 svn:log V 441 Add a flag to ip_output() - IP_NODEFAULTFLOWID - which prevents it from overriding an existing flowid/flowtype field in the outbound mbuf with the inp_flowid/inp_flowtype details. The upcoming RSS UDP support calculates a valid RSS value for outbound mbufs and since it may change per send, it doesn't cache it in the inpcb. So overriding it here would be wrong. Differential Revision: https://reviews.freebsd.org/D527 Reviewed by: grehan END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-09T00:21:21.016140Z K 7 svn:log V 107 Add IP_NODEFAULTFLOWID awareness to ip6_output(). Differential Revision: https://reviews.freebsd.org/D527 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-09T01:45:39.507072Z K 7 svn:log V 437 Add support for receiving and setting flowtype, flowid and RSS bucket information as part of recvmsg(). This is primarily used for debugging/verification of the various processing paths in the IP, PCB and driver layers. Unfortunately the current implementation of the control message path results in a ~10% or so drop in UDP frame throughput when it's used. Differential Revision: https://reviews.freebsd.org/D527 Reviewed by: grehan END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-09T02:50:09.797857Z K 7 svn:log V 244 Add vendor import for pjdfstest This vendor import code was obtained from https://github.com/pjd/pjdfstest/commit/abf03c3a47745d4521b0e4aa141317553ca48f91 Approved by: rpaulo (mentor) Phabric: D743 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-09T02:53:55.707358Z K 7 svn:log V 156 Add tag ^/vendor/pjdfstest/abf03c3a47745d4521b0e4aa141317553ca48f91 Approved by: rpaulo (mentor) Phabric: D743 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-09T02:58:58.699694Z K 7 svn:log V 236 Be ANSI-C compliant when defining CX_LIMITED_RANGE #pragma This mutes warnings with clang Approved by: rpaulo (mentor) Reviewed by: das, kargl (both as part of a larger patch) Phabric: D742 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-09T03:10:21.447917Z K 7 svn:log V 1581 Implement IPv4 RSS software hash functions to use during packet ingress and egress. * rss_mbuf_software_hash_v4 - look at the IPv4 mbuf to fetch the IPv4 details + direction to calculate a hash. * rss_proto_software_hash_v4 - hash the given source/destination IPv4 address, port and direction. * rss_soft_m2cpuid - map the given mbuf to an RSS CPU ("bucket" for now) These functions are intended to be used by the stack to support the following: * Not all NICs do RSS hashing, so we should support some way of doing a hash in software; * The NIC / driver may not hash frames the way we want (eg UDP 4-tuple hashing when the stack is only doing 2-tuple hashing for UDP); so we may need to re-hash frames; * .. same with IPv4 fragments - they will need to be re-hashed after reassembly; * .. and same with things like IP tunneling and such; * The transmit path for things like UDP, RAW and ICMP don't currently have any RSS information attached to them - so they'll need an RSS calculation performed before transmit. TODO: * Counters! Everywhere! * Add a debug mode that software hashes received frames and compares them to the hardware hash provided by the hardware to ensure they match. The IPv6 part of this is missing - I'm going to do some re-juggling of where various parts of the RSS framework live before I add the IPv6 code (read: the IPv6 code is going to go into netinet6/in6_rss.[ch], rather than living here.) Note: This API is still fluid. Please keep that in mind. Differential Revision: https://reviews.freebsd.org/D527 Reviewed by: grehan END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-09T04:00:30.649434Z K 7 svn:log V 2129 MFC r267176, r267181, r268445 (ATF-related commits): Phabric: https://reviews.freebsd.org/D706 Approved by: rpaulo (mentor) Approved by: re (gjb) Reviewed by: jmmv Sponsored by: EMC / Isilon Storage Division r267176: Add the *_TESTS_SH_SED_* functionality to atf.test.mk. This exists already in plain.test.mk and tap.test.mk and should have been added to atf.test.mk too when the feature was first introduced. (It is probably time to address the related TODOs but I will do that separately.) r267181: Move atf-sh from /usr/bin/ to /usr/libexec/ In r266650, we made libatf-c and libatf-c++ private libraries so that no components outside of the source tree could unintendedly depend on them. This change does the same for the "atf-sh library" by moving the atf-sh interpreter from its public location in /usr/bin/ to the private location in /usr/libexec/. Our build system will ensure that our own test programs use the right binary, but users won't be able to depend on atf-sh by "mistake". Committing this now to ride the UPDATING notice added with r267172 today. r268445: Fix atf-sh's integration_test With the move of atf-sh into /usr/libexec in r267181, some of the tests in the integration_test program broke because they could not execute atf-sh from the path any longer. This slipped through because I do have a local atf installation in my home directory that appears in my path, hence the tests could still execute my own version. Fix this by forcing /usr/libexec to appear at the beginning of the path when attempting to execute atf-sh. To make upgrading easy (and to avoid an unnecessary entry in UPDATING), make integration_test depend on the Makefile so that a rebuild of the shell script is triggered. This requires a hack in the *.test.mk files to ensure the Makefile is not treated as a source to the generated program. Ugly, I know, but I don't have a better way of doing this at the moment. Will think of one once I address the TODO in the *.test.mk files that suggests generalizing the file generation functionality. PR: 191052 Reviewed by: Garrett Cooper END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-09-09T04:11:54.212723Z K 7 svn:log V 150 Add a callback to be notified about negotiated features. Submitted by: luigi Obtained from: Vincenzo Maffione, Universita` di Pisa MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-09T04:18:20.313071Z K 7 svn:log V 1071 Update the IPv4 input path to handle reassembled frames and incoming frames with no RSS hash. When doing RSS: * Create a new IPv4 netisr which expects the frames to have been verified; it just directly dispatches to the IPv4 input path. * Once IPv4 reassembly is done, re-calculate the RSS hash with the new IP and L3 header; then reinject it as appropriate. * Update the IPv4 netisr to be a CPU affinity netisr with the RSS hash function (rss_soft_m2cpuid) - this will do a software hash if the hardware doesn't provide one. NICs that don't implement hardware RSS hashing will now benefit from RSS distribution - it'll inject into the correct destination netisr. Note: the netisr distribution doesn't work out of the box - netisr doesn't query RSS for how many CPUs and the affinity setup. Yes, netisr likely shouldn't really be doing CPU stuff anymore and should be "some kind of 'thing' that is a workqueue that may or may not have any CPU affinity"; that's for a later commit. Differential Revision: https://reviews.freebsd.org/D527 Reviewed by: grehan END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-09T04:19:36.357995Z K 7 svn:log V 127 Calculate the RSS hash for outbound UDPv4 frames. Differential Revision: https://reviews.freebsd.org/D527 Reviewed by: grehan END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-09-09T04:20:53.043779Z K 7 svn:log V 288 Add basic RSS awareness for the UDPv6 send path. This doesn't include the same kind of userland overriding that the IPv4 path has; nor does it yet know about 2-tuple versus 4-tuple hashing. That'll come later. Differential Revision: https://reviews.freebsd.org/D527 Reviewed by: grehan END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-09-09T05:21:31.705986Z K 7 svn:log V 44 Drop frames that have larger than MCLBYTES. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-09T10:09:46.179823Z K 7 svn:log V 1416 Fix multiple OpenSSL vulnerabilities: The receipt of a specifically crafted DTLS handshake message may cause OpenSSL to consume large amounts of memory. [CVE-2014-3506] The receipt of a specifically crafted DTLS packet could cause OpenSSL to leak memory. [CVE-2014-3507] A flaw in OBJ_obj2txt may cause pretty printing functions such as X509_name_oneline, X509_name_print_ex et al. to leak some information from the stack. [CVE-2014-3508] OpenSSL DTLS clients enabling anonymous (EC)DH ciphersuites are subject to a denial of service attack. [CVE-2014-3510] If a multithreaded client connects to a malicious server using a resumed session and the server sends an ec point format extension it could write up to 255 bytes to freed memory. [CVE-2014-3509] A flaw in the OpenSSL SSL/TLS server code causes the server to negotiate TLS 1.0 instead of higher protocol versions when the ClientHello message is badly fragmented. [CVE-2014-3511] A malicious client or server can send invalid SRP parameters and overrun an internal buffer. [CVE-2014-3512] A malicious server can crash the client with a NULL pointer dereference by specifying a SRP ciphersuite even though it was not properly negotiated with the client. [CVE-2014-5139] Security: CVE-2014-3506, CVE-2014-3507, CVE-2014-3508, CVE-2014-3510, CVE-2014-3509, CVE-2014-3511, CVE-2014-3512, CVE-2014-5139 Security: FreeBSD-SA-14:18.openssl Approved by: so END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-09T10:13:46.263185Z K 7 svn:log V 683 Fix multiple OpenSSL vulnerabilities: The receipt of a specifically crafted DTLS handshake message may cause OpenSSL to consume large amounts of memory. [CVE-2014-3506] The receipt of a specifically crafted DTLS packet could cause OpenSSL to leak memory. [CVE-2014-3507] A flaw in OBJ_obj2txt may cause pretty printing functions such as X509_name_oneline, X509_name_print_ex et al. to leak some information from the stack. [CVE-2014-3508] OpenSSL DTLS clients enabling anonymous (EC)DH ciphersuites are subject to a denial of service attack. [CVE-2014-3510] Security: CVE-2014-3506, CVE-2014-3507, CVE-2014-3508, CVE-2014-3510 Security: FreeBSD-SA-14:18.openssl Approved by: so END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-09T10:29:27.029253Z K 7 svn:log V 148 Merge r270928: explicitly free packet on PF_DROP, otherwise a "quick" rule with "route-to" may still forward it. PR: 177808 Approved by: re (gjb) END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-09T10:52:50.896708Z K 7 svn:log V 371 Add the ability to set `prefer_source' flag to an IPv6 address. It affects the IPv6 source address selection algorithm (RFC 6724) and allows override the last rule ("longest matching prefix") for choosing among equivalent addresses. The address with `prefer_source' will be preferred source address. Obtained from: Yandex LLC MFC after: 1 month Sponsored by: Yandex LLC END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-09T11:29:55.222002Z K 7 svn:log V 74 Make ZVOL writes in device mode support IO_SYNC flag. MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-09T11:38:29.734972Z K 7 svn:log V 261 Improve cache control support, including DPO/FUA flags and the mode page. At this moment it works only for files and ZVOLs in device mode since BIOs have no respective respective cache control flags (DPO/FUA). MFC after: 1 month Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-09T13:50:21.539337Z K 7 svn:log V 167 Rename new to newval in inline asm code, to avoid clashes with C++ new. Also rename cmp to cmpval just to keep the asm variable names similar to the C variable names. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-09T14:09:51.141656Z K 7 svn:log V 50 Add support for Mode Page Policy (0x87) VPD page. END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-09-09T14:18:56.462754Z K 7 svn:log V 85 Revert r269474. Special keyboard combinations should be handled by separate sysctls. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-09T14:20:55.839140Z K 7 svn:log V 31 Oops, missed piece of r271311. END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-09-09T14:31:56.299187Z K 7 svn:log V 32 - Add missing " - Sort sections END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-09-09T14:34:54.739315Z K 7 svn:log V 16 Minor mdoc nit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-09T15:19:38.536269Z K 7 svn:log V 58 Report that DPO and FUA bits are supported after r271311. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-09T16:05:33.154638Z K 7 svn:log V 157 Avoid unlocking unlocked mutex in RCTL jail code. Specific test case is attached to PR. PR: 193457 MFC after: 1 week Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-09T16:11:04.375576Z K 7 svn:log V 936 MFC UEFI memstick build script r264935 (gjb): Add a separate script to build the memstick.img and the mini-memstick.img with UEFI support. As the comments in the file suggest, 1) there must be existing ${.OBJDIR}/usr/src/release/{release,bootonly}; 2) TARGET/TARGET_ARCH must be amd64; and 3) it must be a vt(4)-enabled kernel with vt_efifb (*not* vt_vga). This script is not hooked into release/Makefile in any way until further testing is complete. r264992 (nwhitehorn): Make a dual-boot BIOS/UEFI memstick image. Testing required before this gets renamed make-memstick.sh. r265017 (nwhitehorn): loader's GPT support on BIOS does not seem to like the root filesystem being the last filesystem on the disk for some reason when made by this script. Add a vestigial swap partition to allow this to boot with QEMU BIOS. Approved by: re Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-09T16:45:36.671559Z K 7 svn:log V 241 Fix ctld(8) to not forget to send TargetPortalGroupTag and TargetAlias when the initiator skips security negotiation. This fixes interoperability with Xtend SAN initiator. PR: 193021 MFC after: 1 week Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-09T16:57:02.996680Z K 7 svn:log V 100 Use keys_add_int() where appropriate. No functional changes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-09-09T17:03:58.450756Z K 7 svn:log V 229 Don't cross mount boundaries when cleaning tmp files. Mounting something in /tmp such as a build jail with nullfs mounts for some directories can result in very surprising results the next day. MFC after: 2 weeks Relnotes: yes END K 10 svn:author V 5 crees K 8 svn:date V 27 2014-09-09T17:16:06.596068Z K 7 svn:log V 24 Check for desc line too END K 10 svn:author V 5 crees K 8 svn:date V 27 2014-09-09T17:22:39.152090Z K 7 svn:log V 30 descexists should become true END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-09T17:38:55.357674Z K 7 svn:log V 84 Document SA-14:18. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-09T17:48:08.626507Z K 7 svn:log V 132 Trim advisories that do not affect stable/9 since the 9.3-RELEASE. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-09T17:52:27.909339Z K 7 svn:log V 93 Fix mailing list in footer. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-09T18:17:43.898051Z K 7 svn:log V 351 MFC r270862, r270878: MMU fixes for kernel startup. Fix the handling of MMU type in the AP entry code. The ARM_MMU_V6/V7 symbols are always #defined to 0 or 1, so use #if SYM not #if defined(SYM). Also, it helps if you include the header file that defines the symbols. The Marvell PJ4B cpu family is armv7, not armv6. Approved by: re(gjb) END K 10 svn:author V 2 np K 8 svn:date V 27 2014-09-09T18:36:00.477120Z K 7 svn:log V 35 Whitespace nit. MFC after: 1 week END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-09T19:26:55.036517Z K 7 svn:log V 173 MFC r270858, 270879: Remove duplicated option FDT from individual Wandboard configs, leave the one in the common IMX6 file that they all include. Approved by: re(gjb) END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-09T19:47:35.419838Z K 7 svn:log V 163 MFC r270065: Move the imx6 sysctl temperature info to hw.imx6 where all the other soc-wide info lives. It was under dev.imx6_anatop.0. Approved by: re(gjb) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-09T19:51:57.076404Z K 7 svn:log V 351 Change how the recommended mailing list to track is added to the footer of the release/doc/ pages by moving a hard-coded value (that is subject to human error to change) to release.ent where other values are regularly changed, and adding parsing logic to release.xsl. Approved by: re (implicit) MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-09T19:58:55.390671Z K 7 svn:log V 68 Add an arch.powerpc64 entity. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-09T20:36:56.004143Z K 7 svn:log V 1391 MFC improved vt(4) font generation r266851: Add VGAROM 8x8, 8x14 and 8x16 fonts for vt(4) These are converted from syscons(4) cp437 fonts. r267306: Add vgarom font source These are in 'GNU Unifont' format, and are converted from syscons(4) cp437 fonts. r267400: Add thin versions of VGAROM 8x8 and 8x16 fonts for vt(4) These are converted from syscons(4) cp437-thin-8x* fonts. r267423: 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. r267578: Add glyphs from converted syscons iso* fonts This consists of the unique glyphs from the following font files in /usr/share/syscons/fonts: iso*.fnt ISO-8859-1 West European iso02*.fnt ISO-8859-2 Central European iso04*.fnt ISO-8859-4 Baltic iso05*.fnt ISO-8859-5 Cyrillic iso07*.fnt ISO-8859-7 Greek iso08*.fnt ISO-8859-8 Hebrew iso09*.fnt ISO-8859-9 Turkish iso15*.fnt ISO-8859-15 West European r268022: Rename the WITHOUT_VT_SUPPORT knob to WITHOUT_VT The _SUPPORT knobs have a consistent meaning which differs from the behaviour controlled by this knob. As the knob is opt-out and has not appeared in a release the impact should be low. Approved by: re Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-09T21:07:21.256262Z K 7 svn:log V 200 Connect the UEFI-capable memstick.img to the build. This is a direct commit to stable/10, as the script in head/ does UEFI by default. Approved by: re (rodrigc) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-09-09T21:13:47.859357Z K 7 svn:log V 5 MFC. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-09T22:14:15.444099Z K 7 svn:log V 211 Expand the tests structure in test_small(..) to workaround the "initializer not constant" warning with gcc Approved by: jmmv (mentor) MFC after: 3 days Phabric: D744 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-09T22:24:01.360245Z K 7 svn:log V 502 MFC r270882, r270930: In ARM asm code, ensure that every ENTRY(foo) has a matching END(foo). The EABI unwind info requires a .fnend for every .fnstart, and newer binutils will complain about seeing two .fnstart in a row. This change allows newer tools to compile our code. Do not generate unwind info in asm functions if _STANDALONE is defined. The .fnend op causes the assembler to emit RELOC references to unwind support functions that don't exist in libstand. Approved by: re(gjb) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-09-09T22:35:02.135844Z K 7 svn:log V 476 Allow vtnet operation without merged rx buffers. NetBSD's virtio-net implementation doesn't negotiate the merged rx-buffers feature. To support this, check to see if the feature was negotiated, and then adjust the operation of the receive path accordingly by using a larger iovec, and a smaller rx header. In addition, ignore writes to the (read-only) status byte. Tested with NetBSD/amd64 5.2.2, 6.1.4 and 7-beta. Reviewed by: neel, tychon Phabric: D745 MFC after: 3 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-09T23:31:30.979424Z K 7 svn:log V 80 MFC r271050: Disable DIAGNOSTIC on low-end ARM platforms. Approved by: re(gjb) END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-09T23:39:43.801256Z K 7 svn:log V 68 Remove gratuitous forward declarations. Remove tabs on empty lines. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-10T00:19:33.790084Z K 7 svn:log V 103 Bump __FreeBSD_version after SA-14:18 Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-10T01:10:53.060854Z K 7 svn:log V 133 Allow guest read access to MSR_EFER without hypervisor intervention. Dirty the VMCB_CACHE_CR state cache when MSR_EFER is modified. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-10T01:37:32.039569Z K 7 svn:log V 123 Make the KTR tracepoints uniform and ensure that every VM-exit is logged. Discussed with: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-10T01:46:22.481891Z K 7 svn:log V 184 Remove a bogus check that flagged an error if the guest %rip was zero. An AP begins execution with %rip set to 0 after a startup IPI. Discussed with: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-10T02:20:32.640472Z K 7 svn:log V 211 Move the event injection function into svm.c and add KTR logging for every event injection. This in in preparation for changes to SVM guest interrupt injection. Discussed with: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-10T02:35:19.107746Z K 7 svn:log V 150 Move the VMCB initialization into svm.c in preparation for changes to the interrupt injection logic. Discussed with: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-09-10T02:44:02.720268Z K 7 svn:log V 30 Release ngie from mentorship. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-10T03:13:40.874103Z K 7 svn:log V 627 Allow intercepts and irq fields to be cached by the VMCB. Provide APIs svm_enable_intercept()/svm_disable_intercept() to add/delete VMCB intercepts. These APIs ensure that the VMCB state cache is invalidated when intercepts are modified. Each intercept is identified as a (index,bitmask) tuple. For e.g., the VINTR intercept is identified as (VMCB_CTRL1_INTCPT,VMCB_INTCPT_VINTR). The first 20 bytes in control area that are used to enable intercepts are represented as 'uint32_t intercept[5]' in 'struct vmcb_ctrl'. Modify svm_setcap() and svm_getcap() to use the new APIs. Discussed with: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T03:54:57.178147Z K 7 svn:log V 166 Add diagnostic printfs and disable test # 4 on i386 Reviewed by: jmmv, rpaulo MFC after: 3 days Phabric: D749 PR: 191676 Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-09-10T05:44:15.780076Z K 7 svn:log V 899 Fix issue with nmdm and leading zeros in device name. The nmdm code enforces a number between the 'nmdm' and 'A|B' portions of the device name. This is then used as a unit number, and sprintf'd back into the tty name. If leading zeros were used in the name, the created device name is different than the string used for the clone-open (e.g. /dev/nmdm0001A will result in /dev/nmdm1A). Since unit numbers are no longer required with the updated tty code, there seems to be no reason to force the string to be a number. The fix is to allow an arbitrary string between 'nmdm' and 'A|B', within the constraints of devfs names. This allows all existing user of numeric strings to continue to work, and also allows more meaningful names to be used, such as bhyve VM names. Tested on amd64, i386 and ppc64. Reported by: Dave Smith PR: 192281 Reviewed by: neel, glebius Phabric: D729 MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-09-10T05:52:30.264253Z K 7 svn:log V 388 Fix a boundary case error in vm_reserv_alloc_contig(): If a reservation isn't being allocated for the last of the requested pages, because a reservation won't fit in the gap between allocated pages, then the reservation structure shouldn't be initialized. While I'm here, improve the nearby comments. Reported by: jeff, pho MFC after: 1 week Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-10T06:25:18.358000Z K 7 svn:log V 63 Fix minor buffer overflow reported by Coverity. CID: 1006781 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-10T06:29:31.670537Z K 7 svn:log V 63 Fix memory leak on error, reported by Coverity. CID: 1007773 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-10T06:35:00.467663Z K 7 svn:log V 79 Fix couple off-by-one range check errors, reported by Coverity. CID: 1007837 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-10T06:48:23.606678Z K 7 svn:log V 58 MFC r270992: Fix logical error. Approved by: re, glebius END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-10T06:54:05.521032Z K 7 svn:log V 32 MFC r270992: Fix logical error. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-10T06:56:09.793766Z K 7 svn:log V 32 MFC r270992: Fix logical error. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-10T06:56:45.762163Z K 7 svn:log V 56 Fix array overrun, reported by Coverity. CID: 1229970 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-10T06:57:24.455090Z K 7 svn:log V 59 MFC r271017 and r271018: Add new quirk. PR: 193279 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-10T07:00:36.902297Z K 7 svn:log V 79 Remove uninitialized and unused variable, reported by Coverity. CID: 1230015 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-10T07:15:23.965900Z K 7 svn:log V 68 MFC r239298, r271017 and r271018: Add new quirk. PR: 193279 END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-10T07:16:17.289181Z K 7 svn:log V 124 Make ctl_port_mask an array to support more then 32 ports. Overflow reported by Coverity. CID: 1229894 MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-10T07:19:08.727659Z K 7 svn:log V 56 MFC r271218: Update mixer description for FastTrackPro. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-10T07:20:29.990576Z K 7 svn:log V 56 MFC r271218: Update mixer description for FastTrackPro. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T07:55:51.930134Z K 7 svn:log V 496 Remove many false positives with make checkdpadd - Reduce DPADD and LDADD in checkdpadd to -l - Skip over -Wl,[es]*-group because -Wl,--end-group and -Wl,--start-group might be required to properly link objects (see usr.bin/clang/lldb as an example) This caveat has been present for a while with some components of the build. However, these false positives were made more more apparent after r269648. Phabric: D635 Reviewed by: jmmv (an earlier version) PR: 192730 MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-10T08:06:31.667557Z K 7 svn:log V 54 Fix memory leak, reported by Coverity. CID: 1229996 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T09:12:26.103617Z K 7 svn:log V 96 Create a quick and dirty project branch to integrating pjdfstest into head from the vendor tree END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T09:21:14.249850Z K 7 svn:log V 373 Import pjdfstest from ^/vendor/pjdfstest/abf03c3a47745d4521b0e4aa141317553ca48f91 Remove tools/regression/pjdfstest Functional differences: - ftruncate testcases are added from upstream (github) Non-functional differences: - The copyright for the project has been updated to 2012 - pjd's contact information has been updated Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T09:37:55.235245Z K 7 svn:log V 83 Quick and dirty project branch for fixing the remaining make checkdpadd "failures" END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-10T09:40:51.168438Z K 7 svn:log V 83 MFC r271017 and r271018: Add new quirk. PR: 193279 Approved by: re, marius END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T09:42:10.701271Z K 7 svn:log V 74 Create contrib/pjdfstest/FREEBSD-Upgrade from contrib/atf/FREEBSD-Upgrade END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-10T09:47:16.961598Z K 7 svn:log V 233 MFC r271000: Delay the return from thread_single(SINGLE_EXIT) until all threads are really destroyed by thread_stash() after the last switch out. MFC r271007: Retire thread_unthread(). MFC r271008: Style. Approved by: re (marius) END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-09-10T09:57:32.699427Z K 7 svn:log V 654 Replace local copy-and-paste implementations of printmbuf() in several device drivers with calls to the centralised m_print() implementation. While the formatting and output details differ a little, the content is essentially the same, and it is unlikely anyone has used this debugging output in some time. This change reduces awareness of mbuf cluster allocation (and, especially, the M_EXT flag) outside of the mbuf allocator, which will make it easier to refine the external storage mechanism without disrupting drivers in the future. Style bugs are preserved. Reviewed by: bz, glebius MFC after: 3 days Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T10:04:25.806303Z K 7 svn:log V 58 Fix compiling pjdfstest with -Wall (-Wsign-compare issue) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-09-10T10:09:34.593472Z K 7 svn:log V 81 MFC r271218: Update mixer description for FastTrackPro. Approved by: re, marius END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T10:40:16.207753Z K 7 svn:log V 18 Remove tests/conf END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-10T10:59:17.901139Z K 7 svn:log V 91 Move if_smc_fdt.c to live in sys/dev/smc. It's not specific to the ARM Versatile hardware. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T11:01:18.402197Z K 7 svn:log V 31 Reduce nested directories by 1 END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T11:05:08.698902Z K 7 svn:log V 38 Add draft Makefiles and mtree entries END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-09-10T11:06:02.734816Z K 7 svn:log V 46 Add Makefile missing from the previous commit END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-09-10T11:13:13.887479Z K 7 svn:log V 279 o Add sysctls to enable/disable potentially dengerous key combinations, like reboot/halt/debug. o Add support for most key combinations supported by syscons(4). Reviewed by: dumbbell, emaste (prev revision of D747) MFC after: 5 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-09-10T11:27:33.975039Z K 7 svn:log V 87 spelling fixes Submitted by: "Sam Fourman Jr." MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-10T11:27:52.464256Z K 7 svn:log V 89 Revert r270963. The plan is that support for asynchronous paging is opt-in, not opt-out. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-10T11:33:42.603704Z K 7 svn:log V 416 - Make default implementation of VOP_GETPAGES_ASYNC() a wrapper around VOP_GETPAGES(). This emulates asynchronous operation on all filesystems, that use their own vop_getpages(), namely: nfs, smbfs, fuse, zfs. - Opt-in UFS to use true asynchronous vop_stdgetpages_async(). Note: other filesystems, that use default pager, need also to opt-in after some testing. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-09-10T11:48:13.103843Z K 7 svn:log V 50 Fix one more spelling mistake. Pointed by: danfe END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-10T12:35:42.071657Z K 7 svn:log V 135 Introduce INP6_PCBHASHKEY macro. Replace usage of hardcoded part of IPv6 address as hash key in all places. Obtained from: Yandex LLC END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-10T12:36:41.972114Z K 7 svn:log V 60 Remove unused arguments for VOP_GETPAGES(), VOP_PUTPAGES(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-10T12:55:34.596609Z K 7 svn:log V 36 Merge head r258543 through r271387. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-10T13:07:01.927111Z K 7 svn:log V 142 Stop accessing the saved stack pointer by looking past the end of the array of registers. Submitted by: Michal Meloun END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-10T13:13:30.259855Z K 7 svn:log V 96 MFC r271222: Fix typo. Submitted by: Dmitry Morozovsky Approved by: re (gjb) END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-10T13:17:35.928487Z K 7 svn:log V 108 Make in6_pcblookup_hash_locked and in6_pcbladdr static. Obtained from: Yandex LLC Sponsored by: Yandex LLC END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-09-10T13:21:44.666050Z K 7 svn:log V 207 MFC r271226: MFV r271223: In dnode_sync(), do dnode_increase_indirection() before processing the dn_next_nblkptr. Illumos issue: 5117 space map reallocation can cause corruption Approved by: re (gjb) END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-10T13:34:27.020289Z K 7 svn:log V 315 Make it possible to disable NOP-In PDUs by the iSCSI initiator by setting kern.cam.ctl.iscsi.ping_timeout to 0. This fixes interoperability with some initiators that don't properly support NOP-Ins, namely iPXE/gPXE. Submitted by: Chen Wen MFC after: 1 week Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-10T13:38:52.093321Z K 7 svn:log V 177 Add more register values to armreg.h and remove CPU_CONTROL_32BP_ENABLE from asm.h as they were already defined in armreg.h. Submitted by: Michal Meloun END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-09-10T14:04:10.085640Z K 7 svn:log V 133 Make sure we handle less than zero timeouts in iSCSI initiator and target in a reasonable way. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-10T14:32:07.986983Z K 7 svn:log V 393 Add additional checks for IPV6_PKTINFO handling (RFC 3542): * Return ENETDOWN when interface specified by ipi6_ifindex is not enabled for IPv6 use. * Return EADDRNOTAVAIL when ipi6_ifindex specifies an interface, but the address ipi6_addr is not available for use on that interface. * Return EINVAL when ipi6_addr is multicast address. Obtained from: Yandex LLC Sponsored by: Yandex LLC END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-09-10T14:57:26.690451Z K 7 svn:log V 110 Abort the create_socket test if socket creation fails. MFC after: 1 week Reported by: Coverity CID: 1232756 END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-10T15:25:15.923855Z K 7 svn:log V 221 Unify interrupts bit definition and usage. While here remove PSR_C_bit. Submitted by: Svatopluk Kraus , Michal Meloun Differential Revision: https://reviews.freebsd.org/D754 END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-10T15:45:18.049852Z K 7 svn:log V 221 MFC 270823,270825,270829: Use a unit number allocator to provide suitable st_dev and st_ino values for POSIX shared memory descriptors. The implementation is similar to that used for pipes. Approved by: re (gjb for 10) END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-10T16:26:18.600819Z K 7 svn:log V 428 Add scope zone id to the in_endpoints and hc_metrics structures. A non-global IPv6 address can be used in more than one zone of the same scope. This zone index is used to identify to which zone a non-global address belongs. Also we can have many foreign hosts with equal non-global addresses, but from different zones. So, they can have different metrics in the host cache. Obtained from: Yandex LLC Sponsored by: Yandex LLC END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-09-10T19:00:17.234776Z K 7 svn:log V 299 Conditionalize build of etcupdate(8) on MK_RCS. Since etcupdate calls merge(1), which is part of the RCS package, it must not be installed if WITHOUT_RCS update is set. Otherwise, it will produce confusing errors. CR: https://reviews.freebsd.org/D691 MFC after: 1 week Sponsored by: Spectra Logic END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-09-10T19:22:14.352531Z K 7 svn:log V 49 Regen after 271401. Sponsored by: Spectra Logic END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-10T19:53:31.421193Z K 7 svn:log V 184 Add PCI ID for Promise TX8660 8-port 3Gbps HBA. This device reports RAID subclass, but appears to be AHCI compatible. Submitted by: Yuri Perejilin MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-10T20:23:10.680471Z K 7 svn:log V 226 Update the mk-vmimage.sh script: - Use mkimg(1) to create the VMDK and VHD formats. - Skip qcow2 if qemu-img does not exist. - Use qemu-img for VHD and VMDK if mkimg(1) does not exist. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-10T21:04:44.007481Z K 7 svn:log V 97 Move code to set various MSRs on AMD cpus out of printcpuinfo() and into initalizecpu() instead. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-09-10T21:07:00.204229Z K 7 svn:log V 1232 Add support for calling pcibios routines from the bootloader. Implement the following routines: pcibios-device-count count the number of instances of a devid pcibios-read-config read pci config space pcibios-write-config write pci config space pcibios-find-devclass find the nth device with a given devclass pcibios-find-device find the nth device with a given devid pcibios-locator convert bus device function ti pcibios locator These commands are thin wrappers over their PCI BIOS 2.1 counterparts. More informaiton, such as it is, can be found in the standard. Export a nunmber of pcibios.X variables into the environment to report what the PCI IDENTIFY command returned. Also implmenet a new command line primitive (pci-device-count), but don't include it by default just yet, since it depends on the recently added words and any errors here can render a system unbootable. This is intended to allow the boot loader to do special things based on the hardware it finds. This could be have special settings that are optimized for the specific cards, or even loading special drivers. It goes without saying that writing to pci config space should not be done without a just cause and a sound mind. Sponsored by: Netflix END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-09-10T21:24:15.560913Z K 7 svn:log V 279 Extend UNMAP blacklist on all STEC SSD models. None of existing STEC devices need UNMAP or even support it well, having many limitations and even hanging sometimes executing those commands. New devices that may use UNMAP going to be released under HGST name. MFC after: 3 days END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-10T21:25:54.883157Z K 7 svn:log V 329 To workaround an errata on certain Pentium Pro CPUs, i386 disables the local APIC in initializecpu() and re-enables it if the APIC code decides to use the local APIC after all. Rework this workaround slightly so that initializecpu() won't re-disable the local APIC if it is called after the APIC code re-enables the local APIC. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-09-10T21:37:47.675604Z K 7 svn:log V 608 MFamd64: Use initializecpu() to set various model-specific registers on AP startup and AP resume (it was already used for BSP startup and BSP resume). - Split code to do one-time probing of cache properties out of initializecpu() and into initializecpucache(). This is called once on the BSP during boot. - Move enable_sse() into initializecpu(). - Call initializecpu() for AP startup instead of enable_sse() and manually frobbing MSR_EFER to enable PG_NX. - Call initializecpu() when an AP resumes. In theory this will now properly re-enable PG_NX in MSR_EFER when resuming a PAE kernel on APs. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-09-10T22:34:08.314467Z K 7 svn:log V 107 Fix header output when -P is specified and (ncpus - 1) != maxid. Reported by: Hiroaki Shimizu PR: 152738 END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-09-10T22:37:20.056731Z K 7 svn:log V 216 Fix a bug which could break extended attributes in a dump output. This occurred when a file was >892kB long and had a large data (>1kB) in the extended attributes. Reported by: Masashi Toriumi Reviewed by: mckusick END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-09-11T00:10:54.370972Z K 7 svn:log V 261 Fix bugzilla dfilter script to handle: 1. Multiple PR per line 2. Multiple PR 3. PR lines with extra stuff after them such as references and (notes) PR: ports/190866 [1] PR: ports/191064 [2] Reported by: many Submitted by: ak, bdrewery Acked by: peter END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-09-11T01:04:56.471957Z K 7 svn:log V 351 Use the linker to perform relocations in the SUNW_dof section rather than doing them in drti during startup. This fixes a number of problems with using USDT probes in stripped executables and shared libraries, and with USDT probes in static functions. Reviewed by: rpaulo MFC after: 1 month Sponsored by: EMC / Isilon Storage Division Phabric: D751 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-11T01:53:55.726402Z K 7 svn:log V 900 MFC Clang debug info crash fix r271282: Merge Clang debug info crash fix rev 200797: Debug info: fix a crasher when when emitting debug info for not-yet-completed templated types. getTypeSize() needs a complete type. rdar://problem/15931354 r271283: Add clang patch for r271282 Note that r271282 contains only the src change from Clang rev 200797. This patch file includes two follow-on changes to the test case, which do not apply to the copy in the FreeBSD tree. Upstream Clang revisions: 200797: Debug info: fix a crasher when when emitting debug info for not-yet-completed templated types. getTypeSize() needs a complete type. rdar://problem/15931354 200798: Simplify testcase from r200797 some more. 200805: Further simplify r200797 and add an explanatory comment. PR: 193347 Approved by: re Sponsored by: DARPA, AFRL END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-11T02:37:02.822297Z K 7 svn:log V 525 Repurpose the V_IRQ interrupt injection to implement VMX-style interrupt window exiting. This simply involves setting V_IRQ and enabling the VINTR intercept. This instructs the CPU to trap back into the hypervisor as soon as an interrupt can be injected into the guest. The pending interrupt is then injected via the traditional event injection mechanism. Rework vcpu interrupt injection so that Linux guests now idle with host cpu utilization close to 0%. Reviewed by: Anish Gupta (earlier version) Discussed with: grehan END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-09-11T02:42:20.076165Z K 7 svn:log V 122 Prevent stale devfs mount that is needed when building the qemu-img qcow2 vm image. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-09-11T03:16:57.348134Z K 7 svn:log V 24 Update a stale comment. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-09-11T05:48:39.184710Z K 7 svn:log V 72 Since r270929 raw sockets expect network byte order. Submitted by: avg END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-09-11T06:17:56.995100Z K 7 svn:log V 78 style(9): indent the switch, don't indent the case, indent case body one tab. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2014-09-11T07:16:15.618152Z K 7 svn:log V 1235 Add new a M_START() mbuf macro that returns a pointer to the start of an mbuf's storage (internal or external). Add a new M_SIZE() mbuf macro that returns the size of an mbuf's storage (internal or external). These contrast with m_data and m_len, which are with respect to data in the buffer, rather than the buffer itself. Rewrite M_LEADINGSPACE() and M_TRAILINGSPACE() in terms of M_START() and M_SIZE(). This is done as we currently have many instances of using mbuf flags to generate pointers or lengths for internal storage in header and regular mbufs, as well as to external storage. Rather than replicate this logic throughout the network stack, centralising the implementation will make it easier for us to refine mbuf storage. This should also help reduce bugs by limiting the amount of mbuf-type-specific pointer arithmetic. Followup changes will propagate use of the macros throughout the stack. M_SIZE() conflicts with one macro in the Chelsio driver; rename that macro in a slightly unsatisfying way to eliminate the collision. MFC after: 3 days Obtained from: jeff (with enhancements) Sponsored by: EMC / Isilon Storage Division Reviewed by: bz, glebius, np Differential Revision: https://reviews.freebsd.org/D753 END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-11T10:27:59.481034Z K 7 svn:log V 277 * constify argument of in6_addrscope(); * use IN6_IS_ADDR_XXX() macro instead of hardcoded values; * for multicast addresses just return scope value, the only exception is addresses with 0x0F scope value (RFC 4291 p2.7.0); Obtained from: Yandex LLC Sponsored by: Yandex LLC END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-09-11T10:53:57.544646Z K 7 svn:log V 219 Rename pmap_kenter_temp to pmap_kenter_temporary to be consistent with the other architectures with this function. Submitted by: Svatopluk Kraus Submitted by: Michal Meloun END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-09-11T11:25:10.341876Z K 7 svn:log V 106 MFC r270993 (by mjg): Fix up proc_realparent to always return correct process. Approved by: re (delphij) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-09-11T12:30:29.889587Z K 7 svn:log V 314 - Add $netif_ipexpand_max to specify the upper limit for the number of addresses generated by an address range specification. The default value is 2048. This can be increased by setting $netif_ipexpand_max in rc.conf. - Fix warning messages when an address range spec exceeds the upper limit. PR: 186841 END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-11T12:33:37.291035Z K 7 svn:log V 500 Introduce new scope related functions. * new macro to remove magic number - IPV6_ADDR_SCOPES_COUNT; * sa6_checkzone() - this function checks sockaddr_in6 structure for correctness of sin6_scope_id. It also can fill correct value sometimes. * in6_getscopezone() - this function returns scope zone id for specified interface and scope. * in6_getlinkifnet() - this function returns struct ifnet for corresponding zone id of link-local scope. Obtained from: Yandex LLC Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-11T12:54:17.662662Z K 7 svn:log V 139 * use M_ZERO flag with malloc instead of explicit zeroing. * remove MULTI_SCOPE ifdef. Obtained from: Yandex LLC Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-11T13:18:41.549905Z K 7 svn:log V 220 Add const qualifier to in6_addrhash() function. Add in6ifa_ifwithaddr() function. It is similar to ifa_ifwithaddr, but does fast lookup in the hash of inet6 addresses. Obtained from: Yandex LLC Sponsored by: Yandex LLC END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-09-11T15:36:36.616659Z K 7 svn:log V 280 Disable debugging-related options in all ARM kernel configs for stable-10. This is a direct commit to stable-10. The following options are disabled in all arm kernel configs: DEADLKRES DIAGNOSTIC INVARIANTS INVARIANTS_SUPPORT WITNESS WITNESS_SKIPSPIN Approved by: re(gjb) END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-09-11T16:21:51.070331Z K 7 svn:log V 144 Persist vdev_resilver_txg changes to avoid panic caused by validation vs a vdev_resilver_txg value from a previous resilver. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-09-11T17:19:44.997679Z K 7 svn:log V 18 Merge from head/. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-09-11T18:12:28.198288Z K 7 svn:log V 163 Add Reset Manager driver. This driver provides generic way to reset and provides sysctl tunables for enable/disable FPGA<->HPS bridges. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-11T18:19:08.778420Z K 7 svn:log V 235 Merge upstream Clang rev 205331 debuginfo crash fix: Debug info: fix a crash when emitting IndirectFieldDecls, which were previously not handled at all. rdar://problem/16348575 MFC after: 1 week Sponsored by: DARPA, AFRL END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-09-11T18:20:49.769234Z K 7 svn:log V 41 Add clang patch corresponding to r271432 END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-09-11T18:24:16.028427Z K 7 svn:log V 99 Update motd, clarifying the information and adding pointers to other resources. MFC after: 3 days END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-09-11T18:42:51.237812Z K 7 svn:log V 165 MFC r266497: Add sysctls for ZFS dirty data tuning. MFC r266533: Improve sysctl descriptions for new ZFS sysctls. Approved by: re (marius) Sponsored by: Multiplay END