‚²o267873 127 880 508 340 481 220 483 483 119 509 202 367 689 126 205 194 113 130 131 559 624 158 217 423 631 159 436 138 134 136 160 160 167 429 267 288 167 229 136 283 372 113 174 156 549 398 252 236 356 180 345 182 148 111 270 295 315 308 202 245 172 538 373 242 219 158 224 138 174 296 240 227 481 293 513 508 296 595 170 190 132 181 609 219 258 248 449 145 175 1898 316 400 323 556 264 429 109 196 308 350 167 246 117 114 227 282 805 420 355 1189 124 211 271 344 259 183 158 177 155 134 169 238 199 441 134 225 267 246 K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-25T17:02:01.219041Z K 7 svn:log V 787 Introduce fine-grained CTL locking to improve SMP scalability. Split global ctl_lock, historically protecting most of CTL context: - remaining ctl_lock now protects lists of fronends and backends; - per-LUN lun_lock(s) protect LUN-specific information; - per-thread queue_lock(s) protect request queues. This allows to radically reduce congestion on ctl_lock. Create multiple worker threads, depending on number of CPUs, and assign each LUN to one of them. This allows to spread load between multiple CPUs, still avoiging congestion on queues and LUNs locks. On 40-core server, exporting 5 LUNs, each backed by gstripe of SATA SSDs, accessed via 6 iSCSI connections, this change improves peak request rate from 250K to 680K IOPS. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-06-25T17:10:26.613772Z K 7 svn:log V 415 MFC r267616, 267640: Retooling addrconfig() to exclude addresses on loopback interfaces when looking for configured addresses. This change is based upon the code from the submitter, and made following changes: - Exclude addresses assigned on interfaces which are down, like NetBSD does. - Exclude addresses assigned on interfaces which are ifdisabled. Use SOCK_CLOEXEC. PR: 190824 Submitted by: Justin McOmie END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-25T17:27:15.251560Z K 7 svn:log V 247 MFV r258381: 4251 libdtrace leaks open file handles Illumos commit: 93ed8d0d4b068b95d0bb50d57bb854df462a8485 (partial) Reference: https://www.illumos.org/issues/4251 Discussed with: Robert Mustacchi Obtained from: Illumos MFC after: 1 week END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-06-25T17:34:04.342407Z K 7 svn:log V 388 MFC r267616: Retooling addrconfig() to exclude addresses on loopback interfaces when looking for configured addresses. This change is based upon the code from the submitter, and made following changes: - Exclude addresses assigned on interfaces which are down, like NetBSD does. - Exclude addresses assigned on interfaces which are ifdisabled. PR: 190824 Submitted by: Justin McOmie END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-25T17:54:36.016687Z K 7 svn:log V 127 Lock devstat updates in block backend to make it usable. Polish lock names. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-25T18:59:43.441836Z K 7 svn:log V 390 MFC r267693: Fix a bug in bsdgrep(1) where patterns are not correctly detected. Certain criteria must be met for this bug to show up: * the -w flag is specified, and * neither -o or --color are specified, and * the pattern is part of another word in the line, and * the other word that contains the pattern occurs first PR: 181973 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-25T19:00:11.706703Z K 7 svn:log V 390 MFC r267693: Fix a bug in bsdgrep(1) where patterns are not correctly detected. Certain criteria must be met for this bug to show up: * the -w flag is specified, and * neither -o or --color are specified, and * the pattern is part of another word in the line, and * the other word that contains the pattern occurs first PR: 181973 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2014-06-25T19:08:40.234453Z K 7 svn:log V 27 Fix access control stanza. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-25T19:22:40.675462Z K 7 svn:log V 416 MFS9 r267879: Fix a bug in bsdgrep(1) where patterns are not correctly detected. Certain criteria must be met for this bug to show up: * the -w flag is specified, and * neither -o or --color are specified, and * the pattern is part of another word in the line, and * the other word that contains the pattern occurs first PR: 181973 Approved by: re (marius) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 np K 8 svn:date V 27 2014-06-25T19:41:39.358356Z K 7 svn:log V 110 MFC r267757: cxgbe(4): Update the bundled T4 and T5 firmwares to versions 1.11.27.0. Obtained from: Chelsio END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-25T20:30:47.518109Z K 7 svn:log V 274 Expand r261243 even further and ignore any I/O port resources assigned to PCI root bridges except for the one known-valid case on x86 where bridges claim the I/O port registers used for PCI config space access. Tested by: Hilko Meyer MFC after: 1 week END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-06-25T22:13:35.333604Z K 7 svn:log V 593 Expose the amount of resident and wired memory from the guest's vmspace. This is different than the amount shown for the process e.g. by /usr/bin/top - that is the mappings faulted in by the mmap'd region of guest memory. The values can be fetched with bhyvectl # bhyvectl --get-stats --vm=myvm ... Resident memory 413749248 Wired memory 0 ... vmm_stat.[ch] - Modify the counter code in bhyve to allow direct setting of a counter as opposed to incrementing, and providing a callback to fetch a counter's value. Reviewed by: neel END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-06-25T22:59:12.768451Z K 7 svn:log V 32 Add EV_REP support for ukbd(4). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-25T23:42:53.227592Z K 7 svn:log V 108 Use correct length for buffer. Submitted by: Sascha Wildner MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-26T00:31:58.505387Z K 7 svn:log V 98 Correct buffer size. Submitted by: Sascha Wildner MFC after: 2 weeks END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-26T01:10:53.558485Z K 7 svn:log V 18 Sync with ^/head. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-26T02:14:08.043073Z K 7 svn:log V 35 Add stubbed vhd.c for VHD support. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-26T02:39:17.275451Z K 7 svn:log V 36 We don't need APM definitions here. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-26T02:49:51.864513Z K 7 svn:log V 463 Add another RSS method to query the indirection table entries. There's 128 indirection table entries which correspond to the low 7 bits of the 32 bit RSS hash. Each value will correspond to an RSS bucket. (Then each RSS bucket currently will map to a CPU.) This is a more explicit way of figuring out which RSS bucket is in each RSS indirection slot. It can be inferred by the other methods but I'd rather drivers use something more simplified and explicit. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-26T03:27:12.458721Z K 7 svn:log V 531 MFS9 r267683 (dteske): - Replace pkg-tools with pkgng - Fix cosmetic typos - Use `pkg -vv' to obtain ABI - Unbreak the installer - Remove the env(1) but keep the var - Remove an unused variable - Improve debugging with f_eval_catch() - Fix package installation from physical media such as DVD - Fix PKG_ABI detection after pkg-1.2 - Fix failed attempt to send pkg(8) stderr to /dev/null - Export 'REPOS_DIR' when selected source medium is cdrom Approved by: re (glebius) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-26T03:28:47.454727Z K 7 svn:log V 63 Add structure definitions for headers with related constants . END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-26T04:04:53.660350Z K 7 svn:log V 121 Implement vhd_resize(): we round to a multiple of the block size, which is 4096 sectors per block or 2M bytes per block. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-26T04:12:41.187991Z K 7 svn:log V 327 Retire IP_RSSCPUID ; the right thing to do is query the RSS bucket; map the bucket to an RSS queue, then map the queue to a CPU ID. This way the bucket->queue and queue->CPU mapping can change over time. Introduce IP_RSSBUCKETID - which instead looks up the RSS bucket. User applications can then map the RSS bucket to a CPU. END K 10 svn:author V 6 davide K 8 svn:date V 27 2014-06-26T05:23:48.729607Z K 7 svn:log V 535 Improve r264388 removing namespace pollution previously introduced in . INT64_MAX actually requires __INT64_C() hack to get the type right on exotic architectures (e.g. on ones with 63-bit ints or long 0x7fffffffffffffff is unsigned int or long). The hardcoded LL suffix is good enough to avoid these problems for SBT_MAX (it makes the type always signed long long, without overflow since long long has at least 64 bits). Many thanks to Bruce Evans for the time spent me to explain this. Reported by: bde Reviewed by: bde END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-26T06:03:39.669210Z K 7 svn:log V 63 MFV r267843: update file/libmagic to 5.19. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T07:06:43.215719Z K 7 svn:log V 340 Bring the following change from the illumos-joyent repository: commit 78e24ab6803bbe11ba37642624e1498ede5b239d Author: Bryan Cantrill Date: Thu Oct 31 01:20:54 2013 OS-1688 DTrace count() with histogram OS-2360 DTrace full width distribution histograms OS-2361 DTrace frequency trails MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-26T08:24:18.355724Z K 7 svn:log V 46 MFC r267766: Use correct names for the flags. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-26T08:27:01.429549Z K 7 svn:log V 42 MFC r267629: Tidy up code of the wrapper. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-26T08:30:08.473643Z K 7 svn:log V 44 MFC r267630: Add MAP_EXCL flag for mmap(2). END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-06-26T08:41:54.269656Z K 7 svn:log V 64 MFC r261901: Preserve one character space for a trailing '\0'. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-06-26T08:44:28.624099Z K 7 svn:log V 64 MFC r261901: Preserve one character space for a trailing '\0'. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-06-26T08:55:06.404811Z K 7 svn:log V 71 MFC r267196: Add support for inspecting process flags set in p_flag2. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-26T08:56:36.493174Z K 7 svn:log V 336 Add READ BUFFER and improve WRITE BUFFER SCSI commands support. This gives some use to 512KB per-LUN buffers, allocated for Copan-specific processor code and not used. It allows, for example, to test transport performance and/or correctness without accessing the media, as supported by Linux version of sg3_utils. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-26T09:42:00.425571Z K 7 svn:log V 174 Allow MODE SENSE commands through Write Exclusive persistent reservation, as required by SPC-4. Report that fact in persistent reservation capabilities. MFC after: 2 weeks END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-06-26T10:09:37.598459Z K 7 svn:log V 191 MFC r254943 (by will, partially): Add the ability to display the default FIB number for a process to the ps(1) utility, e.g. "ps -O fib". The rest was previously (mis-)merged with r260208. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-06-26T10:13:11.874659Z K 7 svn:log V 71 MFC r267196: Add support for inspecting process flags set in p_flag2. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-06-26T10:21:00.340733Z K 7 svn:log V 132 Document EINVAL as per POSIX. This also follows r124335-r124336, r225827. PR: 191382 MFC after: 1 week Sponsored by: Nginx, Inc. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-26T10:48:01.315924Z K 7 svn:log V 39 Remove not needed initialisation code. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-06-26T11:02:51.292560Z K 7 svn:log V 188 Merge r267738 from stable/9: Remove send-pr and fix up all references to it. Replace it with a stub send-pr directing people towards the web site. Approved by: re (gjb), bugmeister END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-06-26T12:12:18.016779Z K 7 svn:log V 279 - Exclude loopback address rather than loopback interface. - style(9) TODO: When AI_ADDRCONFIG is specified, getaddrinfo() can be quite slow for system with many interfaces. We should have some kernel sysctls to report IPv4/IPv6 status. Spotted by: melifaro MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-06-26T13:02:21.240870Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-06-26T13:57:44.036064Z K 7 svn:log V 82 Remove duplicated includes. Submitted by: Mariusz Zaborski END K 10 svn:author V 3 ume K 8 svn:date V 27 2014-06-26T14:24:31.291401Z K 7 svn:log V 64 Fix build with WITHOUT_INET6. Spotted by: bf MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-26T15:25:42.914276Z K 7 svn:log V 453 In vhd_write(), construct the footer and write it out. Next in line is the dynamic header. After that, the block allocation table and the actual blocks. It's for the blocks we need some infrastructure support, because each data block is preceeded by a bitmap that tells whether a sector in that block has been written, etc. The point is that we interleave metadata with data and we don't have good support functions for writing chunks of the image yet. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-06-26T16:04:03.901793Z K 7 svn:log V 305 Delay the call to crhold() in vm_map_insert() until we know that we won't have to undo it by calling crfree(). This reduces the total number of calls by vm_map_insert() to crhold() and crfree() by 45% in my tests. Eliminate an unnecessary variable from vm_map_insert(). Reviewed by: kib Tested by: pho END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-06-26T16:49:45.109755Z K 7 svn:log V 160 In preparation for 64bit mode remove all the _4 from the function and macro names, rename val4 to val, and m4 to md. No functional change. MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-06-26T17:03:08.363086Z K 7 svn:log V 144 Rather than using a constant use sizeof(val) allowing for the length to automatically change as we switch between 32/64bit. MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-06-26T17:10:07.097167Z K 7 svn:log V 264 Allow switching between 32bit and 64bit bus width data access at compile time by setting NF10BMAC_64BIT and using a REGWTYPE #define to set correct variable and return value widths. Adjust comments to indicate the 32 or 64bit register widths. MFC after: 2 weeks END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-06-26T17:15:41.914277Z K 7 svn:log V 85 Add support for emulating the move instruction: "mov r/m8, imm8". Reviewed by: neel END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-06-26T17:20:45.982593Z K 7 svn:log V 253 Introduce opt_netfpga.h and allow setting NF10BMAC_64BIT from mips kernel configs. Switch the BERI_NETFPGA_MDROOT to 64bit by default. Give we have working interrupts also cleanup the extra polling CFLAGS from the module Makefile. MFC after: 2 weeks END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-06-26T17:26:33.992402Z K 7 svn:log V 91 Fix whitspace indentation from spaces to tabs. No functional changes. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T17:27:36.861175Z K 7 svn:log V 53 Use dtrace -s instead of /bin/sh for DTrace scripts. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T17:34:42.538910Z K 7 svn:log V 16 Revert r267898. END K 10 svn:author V 2 np K 8 svn:date V 27 2014-06-26T17:58:29.569246Z K 7 svn:log V 178 Merge r267757, which was MFC'd to stable/9 as r267882: cxgbe(4): Update the bundled T4 and T5 firmwares to versions 1.11.27.0. Approved by: re (glebius) Obtained from: Chelsio END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-06-26T17:59:23.519547Z K 7 svn:log V 199 Merge from HEAD at r267925 HEAD revision r266878 introduced a version of sprintf() that is functionally equivalent to this branch. Drop the branch version of sprintf() in favor of the one in head. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-26T19:19:06.369864Z K 7 svn:log V 222 MFC 264277: Handle single-byte reads from the bvmcons port (0x220) by returning 0xff. Some guests may attempt to read from this port to identify psuedo-PNP ISA devices. (The ie(4) driver in FreeBSD/i386 is one example.) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T19:38:16.415951Z K 7 svn:log V 212 MFV illumos r266986: 2915 DTrace in a zone should see "cpu", "curpsinfo", et al 2916 DTrace in a zone should be able to access fds[] 2917 DTrace in a zone should have limited provider access MFC after: 2 weeks END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-26T19:45:35.854928Z K 7 svn:log V 109 Bring a new header from OpenSolaris/Illumos. This is required for r266987 and probably other DTrace probes. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T19:48:59.873041Z K 7 svn:log V 149 OS-1723 DTrace should speak JSON Reviewed by: Bryan Cantrill illumos/illumos-gate@8017f1f8eea31bd1160b5e50755242a2a9aabc7d END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-06-26T20:02:29.118010Z K 7 svn:log V 80 Revert r267930. File looks better in vendor/ and was brought there in r267931. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-26T20:06:37.036216Z K 7 svn:log V 445 Simplify statistics calculation. Instead of trying to guess size of disk I/O operations (it just won't work that way for newly added commands, and is equal to data move size for old ones), account data move traffic. If disk I/Os are that interesting, then backends have to account and provide that information. Block backend already exports the information about disk I/Os via devstat, so having it here too is excessive. MFC after: 2 weeks END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-26T20:12:38.906211Z K 7 svn:log V 280 - Document -b to enable the bvmcons console (but mark it as deprecated similar to -g.) - Document -U to set the SMBIOS UUID. - Add missing options to the usage output and to the manpage Synopsis. - Don't claim that bvmdebug is amd64-only (it is also a device, not an option). END K 10 svn:author V 3 jfv K 8 svn:date V 27 2014-06-26T21:33:32.917878Z K 7 svn:log V 149 Sync the E1000 shared code with Intel internal, this adds fixes, and more importantly, new I218 adapter support to the em driver. MFC after: 1 week END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-06-26T21:44:30.290940Z K 7 svn:log V 125 use .Mt to mark up email addresses consistently (part6) PR: 191174 Submitted by: Franco Fichtner END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T21:45:49.057297Z K 7 svn:log V 63 MFV illumos 4477 DTrace should speak JSON MFC after: 2 weeks END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-06-26T21:46:14.107683Z K 7 svn:log V 130 use .Mt to mark up email addresses consistently (final part) PR: 191174 Submitted by: Franco Fichtner END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T21:49:27.118976Z K 7 svn:log V 43 Record MFV of r266988. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T22:38:06.502316Z K 7 svn:log V 79 Add stubs for CTF functions which are not yet implemented. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T23:21:11.944797Z K 7 svn:log V 200 MFV illumos 4474 DTrace Userland CTF Support 4475 DTrace userland Keyword 4476 DTrace tests should be better citizens 4479 pid provider types 4480 dof emulation is missing checks MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-26T23:24:59.329733Z K 7 svn:log V 144 MFV illumos 4471 DTrace count() with histogram 4472 DTrace full width distribution histograms 4473 DTrace frequency trails MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-27T00:11:01.938091Z K 7 svn:log V 134 Update releng/9.3 to -RC2 status as part of the 9.2-RELEASE process. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-27T00:37:03.688955Z K 7 svn:log V 384 MFC r258941,267839: Apply vendor improvements to oce(4) driver: - Add support to 20Gbps, 25Gbps, 40Gbps devices; - Add support to control adaptive interrupt coalescing (AIC) via sysctl; - Improve support of BE3 devices; - Big endian support fixes; Many thanks to Emulex for their continued support of FreeBSD. Submitted by: Venkata Duvvuru END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-27T03:41:40.247547Z K 7 svn:log V 197 o Avoid using strncpy(), as it will confuse Coverity. Use integrals for cookies and creator information. Just as meaningless; more cryptic. o Construct the dynamuc header and write it out. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-27T04:17:05.803058Z K 7 svn:log V 417 Construct and write the BAT. To allow testing of the code so far, scribble a bitmap before we write the image. This won't work for images that need multiple blocks, because each block starts with a sector bitmap, followed by 4096 sectors of user data. But it works nicely for images that fit in a single block (and are rounded to a block size. With this commit, we can test if the Azura platform accepts our images. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-06-27T05:04:36.421175Z K 7 svn:log V 415 Check lower bound of cmsg_len. If passed cm->cmsg_len was below cmsghdr size the experssion: datalen = (caddr_t)cm + cm->cmsg_len - (caddr_t)data; would give negative result. However, in practice it would not result in a crash because the kernel would try to obtain garbage fds for given process and would error out with EBADF. PR: 124908 Submitted by: campbell mumble.net (modified a little) MFC after: 1 week END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-27T05:15:53.781371Z K 7 svn:log V 200 Previous commit was premature in stating that we could test. The file must have the footer at the end and we didn't write it yet. With this commit we actually write the footer. Let the testing begin. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-06-27T05:27:37.662760Z K 7 svn:log V 499 Set the version and date to fixed fields rather than using preprocessor macros that don't allow reproducible builds. As a side-effect, the date string is now spec-compliant. root@bhyve:~ # dmidecode # dmidecode 2.12 SMBIOS 2.4 present. 12 structures occupying 514 bytes. Table at 0x000F101F. Handle 0x0001, DMI type 0, 24 bytes BIOS Information Vendor: BHYVE Version: 1.0 Release Date: 03/14/2014 Submitted by: des (original version) Reviewed by: tychon MFC after: 1 week END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-06-27T05:37:00.999333Z K 7 svn:log V 76 MFC r267690 Hide a harmless "QUEUE FULL EVENT" message behind bootverbose. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-06-27T05:50:55.633539Z K 7 svn:log V 94 MFC r266479, r267153: - Move Nx definition to a separate block. - Add Lb string for libcuse. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-27T06:52:37.418680Z K 7 svn:log V 40 Fix typo in r267481. MFC after: 3 days END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-06-27T09:11:24.475793Z K 7 svn:log V 85 MFC r261140: Add MLINK for fdclosedir.3 to directory.3 and sort fdopendir(3) entry. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-06-27T10:07:00.471731Z K 7 svn:log V 511 Use different approach for filling large datasets to userspace: Instead of trying to allocate bing contiguous chunk of memory, use intermediate-sized (page size) buffer as sliding window reducing number of sooptcopyout() calls to perform. This reduces dump functions complexity and provides additional layer of abstraction. User-visible api consists of 2 functions: ipfw_get_sopt_space() - gets contigious amount of storage (or NULL) and ipfw_get_sopt_header() - the same, but zeroes the rest of the buffer. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-27T10:24:36.387988Z K 7 svn:log V 121 Add proper rangechecks in "axge_rx_frame()" function and fix receive loop header parsing. MFC after: 3 days PR: 191432 END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-27T11:42:51.315312Z K 7 svn:log V 165 MFC r267664: Assert that the new entry is inserted into the right location in the map entries list, and that it does not overlap with the previous and next entries. END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-27T13:19:03.292975Z K 7 svn:log V 152 MFC: r224269 Add missing XHCI early takeover code. The XHCI takeover code is supposed to disable the BIOS from using the XHCI controller after bootup. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-27T14:42:13.359740Z K 7 svn:log V 353 MFC r265613, r267649: Handle ELF files with 65280 or more sections If e_shnum or e_shstrndx are at least SHN_LORESERVE (0xff00) then an escape value is used to indicate that the actual value is found in one of section 0's fields. Don't dump core when the ELF file has no section headers. The ELF core files created by gcore are among those. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-27T15:20:34.381485Z K 7 svn:log V 53 Sort command flags in usage output and the manpages. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-27T15:23:12.014189Z K 7 svn:log V 78 Don't hide zero-length strings when doing sysctl listings. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-27T16:33:43.754583Z K 7 svn:log V 1799 Extend the meaning of the CTLFLAG_TUN flag to automatically check if there is an environment variable which shall initialize the SYSCTL during early boot. This works for all SYSCTL types both statically and dynamically created ones, except for the SYSCTL NODE type and SYSCTLs which belong to VNETs. A new flag, CTLFLAG_NOFETCH, has been added to be used in the case a tunable sysctl has a custom initialisation function allowing the sysctl to still be marked as a tunable. The kernel SYSCTL API is mostly the same, with a few exceptions for some special operations like iterating childrens of a static/extern SYSCTL node. This operation should probably be made into a factored out common macro, hence some device drivers use this. The reason for changing the SYSCTL API was the need for a SYSCTL parent OID pointer and not only the SYSCTL parent OID list pointer in order to quickly generate the sysctl path. The motivation behind this patch is to avoid parameter loading cludges inside the OFED driver subsystem. Instead of adding special code to the OFED driver subsystem to post-load tunables into dynamically created sysctls, we generalize this in the kernel. Other changes: - Corrected a possibly incorrect sysctl name from "hw.cbb.intr_mask" to "hw.pcic.intr_mask". - Removed redundant TUNABLE statements throughout the kernel. - Some minor code rewrites in connection to removing not needed TUNABLE statements. - Added a missing SYSCTL_DECL(). - Wrapped two very long lines. - Avoid malloc()/free() inside sysctl string handling, in case it is called to initialize a sysctl from a tunable, hence malloc()/free() is not ready when sysctls from the sysctl dataset are registered. - Bumped FreeBSD version to indicate SYSCTL API change. MFC after: 2 weeks Sponsored by: Mellanox Technologies END K 10 svn:author V 8 jpaetzel K 8 svn:date V 27 2014-06-27T17:10:28.716629Z K 7 svn:log V 218 MFC: 267833 Fix issues in config parser relating to lun serial numbers. Without this fix some serial numbers needed to be quoted to avoid the config parser bailing out. Submitted by: delphij Sponsored by: iXsystems END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-06-27T17:18:54.037105Z K 7 svn:log V 306 After r267897 brought in a new version of file/libmagic, a filesystem image is identified as "DOS/MBR boot sector" as opposed to "x86 boot sector". This trips up vmrun.sh when using the new file(1) and makes it want to boot into the installer instead. Fix this by just looking for "boot sector" instead. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-27T17:22:18.028046Z K 7 svn:log V 230 MFC 261781: Don't waste a page of KVA for the boot-time memory test on x86. For amd64, reuse the first page of the crashdumpmap as CMAP1/CADDR1. For i386, remove CMAP1/CADDR1 entirely and reuse CMAP3/CADDR3 for the memory test. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-27T17:50:33.481972Z K 7 svn:log V 460 Use a common tunable to choose between vt(4)/sc(4) With this change and previous work from ray@ it will be possible to put both in GENERIC, and have one enabled by default, but allow the other to be selected via the loader. (The previous implementation had separate kern.vt.disable and hw.syscons.disable tunables, and would panic if both drivers were compiled in and neither was explicitly disabled.) MFC after: 1 week Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-06-27T18:00:38.937689Z K 7 svn:log V 170 Add post-mortem debugging for "EPT Misconfiguration" VM-exit. This error is hard to reproduce so try to collect all the breadcrumbs when it happens. Reviewed by: grehan END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-27T18:24:20.902831Z K 7 svn:log V 333 - SC_NO_SYSMOUSE isn't currently supported by vt(4), so nuke it from vt.4. - vt_vga(4) is a driver rather than a function so reference it accordingly. - Uncomment HISTORY section given that vt(4) will first appear in 9.3. Reviewed by: emaste (modulo last part) MFC after: 3 days Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-27T18:32:20.614233Z K 7 svn:log V 16 Minor mdoc fix. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-06-27T18:40:14.669262Z K 7 svn:log V 102 Correct the buffer length check to avoid overflows. Found with: Coverity Scan CID: 1222502, 1222503 END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-06-27T18:51:19.301330Z K 7 svn:log V 215 pw: fix up deletion of users from groups Previuosly given 'foo,bar' members, removing 'foo' would result in an infinite loop. PR: 191427 Submitted by: Voradesh Yenbut MFC after: 1 week END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-06-27T18:58:22.020365Z K 7 svn:log V 256 Simplify the code a little bit using the update_sensor_sysctl() routine to retrieve the sensor temperature. This also avoid the overflow that could happen on sysctlnametomib(3) because the code was not checking the length of the mib array. CID: 1222504 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-27T19:07:00.735754Z K 7 svn:log V 72 Add missing variable declarations when using RSS. Reported by: bryanv@ END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-27T19:07:35.358940Z K 7 svn:log V 150 Add CTLFLAG_NOFETCH flag; console vty code runs before tunable fetch Also remove redundant "" assignment for string in BSS. Submitted by: hselasky@ END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-27T19:10:35.993425Z K 7 svn:log V 24 Import ACPICA 20140627. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-27T19:11:32.173644Z K 7 svn:log V 21 Tag ACPICA 20140627. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-27T19:50:30.535425Z K 7 svn:log V 134 MFC 266296: Correct some minor nits in the per-thread signal format description such as missing posessives and misordering of fields. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-27T19:57:54.395722Z K 7 svn:log V 185 Always set UF_ARCHIVE on target (because they are by definition new files and should be archived) and ignore error when we can't set it (e.g. NFS). Reviewed by: ken MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-27T19:57:57.294797Z K 7 svn:log V 709 In order to get vt(4) a bit closer to the feature set provided by sc(4), implement options TERMINAL_{KERN,NORM}_ATTR. These are aliased to SC_{KERNEL_CONS,NORM}_ATTR and like these latter, allow to change the default colors of normal and kernel text respectively. Note on the naming: Although affecting the output of vt(4), technically kern/subr_terminal.c is primarily concerned with changing default colors so it would be inconsistent to term these options VT_{KERN,NORM}_ATTR. Actually, if the architecture and abstraction of terminal+teken+vt would be perfect, dev/vt/* wouldn't be touched by this commit at all. Reviewed by: emaste MFC after: 3 days Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-27T20:34:22.082184Z K 7 svn:log V 327 MFC 266293: - Add support for dumping current resource usage for processes via a new -r flag to procstat. - Add an -H flag to request information about threads rather than processes when dumping statistics. Currently it is only used for -r to display resource usage for individual threads instead of the entire process. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-27T20:39:45.413039Z K 7 svn:log V 262 MFC 267291: Use strcasecmp() instead of strcmp() when checking user-supplied encoding names so that encoding names are treated as case-insensitive. This allows the use of 'utf-8' instead of 'UTF-8' for example and matches the behavior of iconv(1). PR: 167977 END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-06-27T20:41:12.962398Z K 7 svn:log V 1095 Pull in r211627 from upstream llvm trunk (by Bill Schmidt): [PPC64] Fix PR20071 (fctiduz generated for targets lacking that instruction) PR20071 identifies a problem in PowerPC's fast-isel implementation for floating-point conversion to integer. The fctiduz instruction was added in Power ISA 2.06 (i.e., Power7 and later). However, this instruction is being generated regardless of which 64-bit PowerPC target is selected. The intent is for fast-isel to punt to DAG selection when this instruction is not available. This patch implements that change. For testing purposes, the existing fast-isel-conversion.ll test adds a RUN line for -mcpu=970 and tests for the expected code generation. Additionally, the existing test fast-isel-conversion-p5.ll was found to be incorrectly expecting the unavailable instruction to be generated. I've removed these test variants since we have adequate coverage in fast-isel-conversion.ll. This is needed to compile clang with debug+asserts on older powerpc64 and ppc970 targets. Requested by: jhibbits MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-06-27T20:45:17.460669Z K 7 svn:log V 32 Add the llvm patch for r267981. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-27T20:57:12.515915Z K 7 svn:log V 118 MFC 267647: Trust the state of a power resource that we get from a working _STA method instead of trying to cache it. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-06-27T21:33:15.159515Z K 7 svn:log V 174 Use Intel's official name (Secure Key) per Intel® Digital Random Number Generator (DRNG) Software Implementation Guide. Reviewed by: kib Approved by: so MFC after: 2 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-27T22:05:21.056027Z K 7 svn:log V 251 Revert r267961, r267973: These changes prevent sysctl(8) from returning proper output, such as: 1) no output from sysctl(8) 2) erroneously returning ENOMEM with tools like truss(1) or uname(1) truss: can not get etype: Cannot allocate memory END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-27T22:28:14.110742Z K 7 svn:log V 166 Remove odd practice of inverting error codes. -EPERM is equal to ERESTART, returning which from ioctl() handler causes infinite syscall restart. MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-27T22:38:42.696257Z K 7 svn:log V 88 Redefine SUNW based on SYSDIR in an attempt to fix a build problem. MFC after: 2 weeks END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-27T23:11:13.268289Z K 7 svn:log V 61 Revert the DS_SUSPENDED addition, since it's no longer used. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-27T23:12:24.319085Z K 7 svn:log V 80 Move the resume to *after* the config restore. This matches existing behavior. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-27T23:15:31.439422Z K 7 svn:log V 58 bus_generic_suspend/bus_generic_resume() no longer apply. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-06-28T00:01:18.490778Z K 7 svn:log V 40 Minimal update for cvsup -> svn change. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-28T03:56:17.239578Z K 7 svn:log V 72 Pull in r267961 and r267973 again. Fix for issues reported will follow. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-28T03:59:04.536160Z K 7 svn:log V 140 Fix regression issue after r267961. Handle special string case for SYSCTLs like previously. MFC after: 2 weeks Reported by: several people END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-28T04:10:46.311683Z K 7 svn:log V 103 Add image_copyout_region(). It allows a format to write chunks of the image interleaved with metadata. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-28T04:18:55.960008Z K 7 svn:log V 345 Add option -y for unit testing. When unit_testing is in effect, fields that have different values for each run, such as UUIDs and timestamps, will have a synthesized value. This allows us to compare images against a known baseline without fails negatives. Add mkimg_uuid() that wraps uuidgen() and provides synthesized values for unit testing. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-28T04:19:43.032384Z K 7 svn:log V 39 Use mkimg_uuid() instead of uuidgen(). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-28T04:27:00.494941Z K 7 svn:log V 129 Support unit testing: o use mkimg_uuid() instead of uuidgen(). o Check unit_testing in vhd_timestamp() to synthesize a time. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-28T04:30:40.512665Z K 7 svn:log V 171 Add vhd_geometry() to fill in the geometry in the footer. We respect the command line arguments if possible, but otherwise implement the algorithm from the specification. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-28T04:32:42.898018Z K 7 svn:log V 150 Use image_copyout_region() to write 2MB of user data interleaved with the block's sector bitmap. This should complete the support, modulo bug fixing. END