ƒ·:264000 153 175 193 573 197 133 269 354 208 593 218 914 854 318 144 855 146 144 201 145 309 258 468 356 277 205 287 150 812 219 218 269 422 494 155 162 509 149 176 324 162 427 169 243 139 199 293 333 211 404 648 92 853 298 153 396 374 226 1314 162 491 191 191 395 149 902 369 170 176 939 179 155 327 327 250 274 147 561 289 229 246 1969 290 151 436 305 190 296 342 1415 271 252 555 153 127 255 4792 833 629 128 213 154 129 165 116 201 222 570 221 185 186 189 236 393 393 243 162 207 207 253 179 135 363 227 176 153 159 272 258 401 542 221 302 169 287 148 217 383 344 119 206 278 563 220 193 374 893 1045 153 153 970 206 180 193 K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-01T14:48:16.614898Z K 7 svn:log V 83 Add the svn revision number to the IPX note. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T14:49:25.848256Z K 7 svn:log V 98 Add a method to get the PCI Routing ID for a device Reviewed by: kib Sponsored by: Sandvine, Inc END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T14:51:45.439416Z K 7 svn:log V 477 Re-implement the DMAR I/O MMU code in terms of PCI RIDs Under the hood the VT-d spec is really implemented in terms of PCI RIDs instead of bus/slot/function, even though the spec makes pains to convert back to bus/slot/function in examples. However working with bus/slot/function is not correct when PCI ARI is in use, so convert to using RIDs in most cases. bus/slot/function will only be used when reporting errors to a user. Reviewed by: kib Sponsored by: Sandvine Inc. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T14:54:43.709331Z K 7 svn:log V 101 Re-write bhyve's I/O MMU handling in terms of PCI RIDs Reviewed by: neel Sponsored by: Sandvine Inc END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-04-01T14:55:20.844815Z K 7 svn:log V 37 Merge head/ r258543 through r263998. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-04-01T14:55:29.270909Z K 7 svn:log V 175 Fix auto-detection of configurations. Expand the list of configuration files at the right time so that the filtering out of host.conf works as intended. Should fix r263868. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T15:06:03.701874Z K 7 svn:log V 258 Revert PCI RID changes. My PCI RID changes somehow got intermixed with my PCI ARI patch when I committed it. I may have accidentally applied a patch to a non-clean working tree. Revert everything while I figure out what went wrong. Pointy hat to: rstone END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T15:47:24.332735Z K 7 svn:log V 112 Add a method to get the PCI RID for a device. Reviewed by: kib MFC after: 2 months Sponsored by: Sandvine Inc. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T15:48:46.376648Z K 7 svn:log V 497 Re-implement the DMAR I/O MMU code in terms of PCI RIDs Under the hood the VT-d spec is really implemented in terms of PCI RIDs instead of bus/slot/function, even though the spec makes pains to convert back to bus/slot/function in examples. However working with bus/slot/function is not correct when PCI ARI is in use, so convert to using RIDs in most cases. bus/slot/function will only be used when reporting errors to a user. Reviewed by: kib MFC after: 2 months Sponsored by: Sandvine Inc. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T15:54:03.125691Z K 7 svn:log V 122 Re-write bhyve's I/O MMU handling in terms of PCI RID. Reviewed by: neel MFC after: 2 months Sponsored by: Sandvine Inc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-01T15:56:31.207589Z K 7 svn:log V 821 Support serial speeds up to 12mbaud with newer FTDI chips. Recent FDTI chips have the ability to operate at up to 12mbps. The newer chips with faster clocks have the same usb vendor/product IDs as the older chips; the bcdDevice field must be used to detect the newer versions. This change includes a new function to do that instead of using just the IDs from the vendor/product table. The code to choose the baud clock divisor is completely rewritten. In addition to supporting the new higher clock rates, the rewrite fixes a longstanding bug in the old code which put the high bits of the fractional part of the divisor into the wrong place in the wIndex field. That bug was mostly harmless -- it accidentally didn't affect standard baud rates and would only show up when using relatively fast non-standard rates. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T16:02:02.461178Z K 7 svn:log V 758 Add support for PCIe ARI PCIe Alternate RID Interpretation (ARI) is an optional feature that allows devices to have up to 256 different functions. It is implemented by always setting the PCI slot number to 0 and re-purposing the 5 bits used to encode the slot number to instead contain the function number. Combined with the original 3 bits allocated for the function number, this allows for 256 functions. This is enabled by default, but it's expected to be a no-op on currently supported hardware. It's a prerequisite for supporting PCI SR-IOV, and I want the ARI support to go in early to help shake out any bugs in it. ARI can be disabled by setting the tunable hw.pci.enable_ari=0. Reviewed by: kib MFC after: 2 months Sponsored by: Sandvine Inc. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T16:03:52.076386Z K 7 svn:log V 222 Print status of ARI capability in pciconf -c Teach pciconf how to print out the status (enabled/disabled) of the ARI capability on PCI Root Complexes and Downstream Ports. MFC after: 2 months Sponsored by: Sandvine Inc. END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-01T17:35:31.482901Z K 7 svn:log V 49 Add missing copyright date. MFC after: 2 months END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-01T17:57:45.419377Z K 7 svn:log V 762 MFC r250143, r257079, r258086, r262670: r250143 (benno): Optimize SUBDIR_OVERRIDE such that SUBDIR isn't automatically defined if SUBDIR_OVERRIDE is defined. r257079: Fix build host pollution by avoiding calling 'uname -srp' to determine values for 'VERSION'. r262670 (marcel): Use ${MAKE} so that we always use the same version/implementation of make. r258086 (cperciva): Strip the -pN patch level from the VERSION string which gets encoded into CTF data. Otherwise FreeBSD Update builds think every kernel file has changed every time there's a security advisory, since the FreeBSD Update build code isn't smart enough to look inside CTF data to ignore those changes. Tested on: stable/9@r263881 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-04-01T18:24:40.145337Z K 7 svn:log V 53 Push configuration files auto-detection to kyua[23]. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-04-01T18:37:00.523602Z K 7 svn:log V 52 Silence an unnecessary warning. MFC after: 2 weeks END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-04-01T18:38:04.345881Z K 7 svn:log V 105 Increment the SSN only after processing the last fragment of an ordered user message. MFC after: 3 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-01T18:41:54.734881Z K 7 svn:log V 53 Update the list of FTDI chips supported by uftdi(4). END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-04-01T18:46:56.452024Z K 7 svn:log V 215 Fix some of the style(9) problems on ti_gpio. Note that this commit does not fix all the style(9) problems, but will open room for the next commits. Remove redundant code and declarations. No functional changes. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-01T21:13:05.249508Z K 7 svn:log V 163 Remove the homegrown ctl_be_block_io allocator, replacing it with UMA. There is no performance difference. Reviewed by: mav@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-04-01T21:30:54.173332Z K 7 svn:log V 372 libnv: Don't lose big-endian flag when receiving a message. A bug caused the "big endian" flag to be lost when receiving a message. As a result, the bits are interpreted as little endian and an extremely large allocation is attempted. This change fixes ping(8)'s communication to casperd(8) on big-endian architectures. Reported by: Anton Shterenlikht Tested by: danfe END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-01T21:40:46.257066Z K 7 svn:log V 261 Get rid of ICL lock; use upper-layer (initiator or target) lock instead. This avoids extra locking in icl_pdu_queue(); the upper layer needs to call it while holding its own lock anyway, to avoid sending PDUs out of order. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-01T21:47:22.357246Z K 7 svn:log V 182 Instead of "icltx" and "iclrx", use thread names with prefix from upper layer, so that one can see which side of the stack the threads are for. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-01T21:54:20.702949Z K 7 svn:log V 110 Use atomic ops instead of mutexes where appropriate. Submitted by: mav@ Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-01T22:03:03.897699Z K 7 svn:log V 192 Get rid of the "autoscaling", instead just set socket buffer sizes in the usual way. The only thing the old code did was making things less predictable. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-01T22:21:56.504696Z K 7 svn:log V 56 Enable a KASSERT. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-01T22:41:26.706342Z K 7 svn:log V 719 Add a new release build variable, WITH_COMPRESSED_IMAGES. When set to a non-empty value, the installation medium is compressed with gzip(1) as part of the 'install' target in the release/ directory. With gzip(1) compression, downloadable image are reduced in size quite significantly. Build test against head@263927 shows the following: bootonly.iso: 64% smaller disc1.iso: 44% smaller memstick.img: 47% smaller mini-memstick.img: 65% smaller dvd1.iso: untested This option is off by default, I would eventually like to turn it on by default, and remove the '-k' flag to gzip(1) so only compressed images are published on FTP. Requested by: wkoszek MFC After: 1 week Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-01T22:46:46.739811Z K 7 svn:log V 126 Clean up trailing whitespace in release/Makefile. MFC after: 1 week X-MFC-With: r264027 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-01T22:52:27.014096Z K 7 svn:log V 125 Fix logic error: s/||/&&/ Pointyhat: gjb MFC after: 1 week X-MFC-With: r264027,r264028 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-01T22:54:54.415534Z K 7 svn:log V 176 If WITH_COMPRESSED_IMAGES is set, add the compressed images to the CLEANFILES list. MFC after: 1 week X-MFC-With: r264027,r264028,r264029 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T01:58:54.222715Z K 7 svn:log V 329 Use 2K buffers for IO to help achieve full device speed, rather than the default wMaxPacketSize (64 or 512 bytes). This actually helps older FTDI devices (which were USB 1/full speed) more than the new H-series high speed, but even for the new chips it helps cut the number of interrupts when doing very high speed (3-12mbaud). END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-04-02T06:17:57.779196Z K 7 svn:log V 401 MFC r263775: Avoid "cc1: warning: is shorter than expected" when using GNU cpp in combination with dtrace scripts, which have "#!/usr/sbin/dtrace -Cs" shebang lines. This is because dtrace positions the file pointer after the shebang line, before passing the file to GNU cpp. To fix the warning, adjust the size downwards by the current position, after a bit of sanity checking. Suggested by: avg END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-04-02T09:46:00.486066Z K 7 svn:log V 59 Fix compilation: use sbused() instead of sb_cc in cxgb(4). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-04-02T09:49:08.174629Z K 7 svn:log V 66 Use appropriate sbavail() or sbused() instead of access to sb_cc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-04-02T10:07:36.434468Z K 7 svn:log V 412 The SCTP code has its own usage of struct sockbuf, that seems incompatible with what uipc_sockbuf.c does. - sb_cc can be accessed w/o lock - sb_cc changed via atomic(9) - sb_cc can be increased/reduced w/o actual adding/removing mbufs For me it is unclear how to bring the SCTP code to the new notion of sbused() and sbavail(), thus to simply make it compilable do mechanical rename of s/sb_cc/sb_ccc/g. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-04-02T10:38:41.025034Z K 7 svn:log V 53 Use sbused() instead of access to sb_cc in cxgbe(4). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-04-02T10:57:11.037858Z K 7 svn:log V 80 Fixes for SIFTR, InfiniBand and RPC to use sbused()/sbavail() instead of sb_cc. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2014-04-02T11:10:46.107691Z K 7 svn:log V 226 Fix an issue where the locale and rune locale could become out of sync, causing mb* functions (and similar) to be called with the wrong data (possibly a null pointer, causing a crash). PR: standards/188036 MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-04-02T11:12:48.352695Z K 7 svn:log V 71 Document more parition types. Requested by: glebius MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-04-02T15:32:44.160674Z K 7 svn:log V 334 MFV r258379; 4248 dtrace(1M) should never create DOF with empty probes section 4249 Only probes from the first DTrace object file will be included Illumos Revision: 4a20ab41aadcb81c53e72fc65886e964e9add59 Reference: https://www.illumos.org/issues/4248 https://www.illumos.org/issues/4249 Obtained from: Illumos MFC after: 1 month END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T15:56:11.484263Z K 7 svn:log V 77 Add support for event timers whose clock frequency can change while running. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2014-04-02T16:07:48.383113Z K 7 svn:log V 145 Add support for some block functions that come from OS X. These are intended to build with any C compiler. Reviewed by: pfg MFC after: 3 weeks END K 10 svn:author V 8 theraven K 8 svn:date V 27 2014-04-02T16:29:29.463744Z K 7 svn:log V 42 Move scandir_b to a later symbol version. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-04-02T16:33:02.155869Z K 7 svn:log V 106 FreeBSD make (aka fmake) doesn't grok .MAKE.LEVEL. Failsafe and assume that it is OK to set MK_xxx flags. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-04-02T16:33:10.933050Z K 7 svn:log V 200 Move setting of the MK_xxx variables based on NO_xxx to avoid triggering the "you aren't allowed to set this" warning when building stand alone in directories whose Makefile sets NO_MAN, for example. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-02T16:53:07.826546Z K 7 svn:log V 240 Use xz(1) instead of gzip(1) to compress release images when WITH_COMPRESSED_IMAGES is used. Requested by: delphij, brooks, Nikolai Lifanov MFC After: 1 week X-MFC-With: r264027,r264028,r264029,r264030 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 jh K 8 svn:date V 27 2014-04-02T17:10:17.508145Z K 7 svn:log V 119 MFC r251565: Print file names without stdio buffering to avoid mixing buffered and unbuffered ouput. PR: bin/176886 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T17:34:17.866154Z K 7 svn:log V 311 Fix build breakage. Apparently all ARM configs build kern_et.c, but only a few of them also build kern_clocksource.c. That strikes me as insane, but maybe there's a good reason for it. Until I figure that out, un-break the build by not referencing functions in kern_clocksource if NO_EVENTTIMERS is defined. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T18:32:27.201814Z K 7 svn:log V 555 Disable the timer and clear any pending bit, then setup the new counter register values, then restart the timer. This prevents a situation where an old event fires just as we're about to load a new value into the timer, when the start routine is called to change the time of the current event. Also re-nest the parens properly for casting the result of converting time and frequency to a count. This doesn't actually change the result of the calcs, but will some day prevent a loss-of-precision warning on the assignment, if that warning gets enabled. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T18:43:56.453357Z K 7 svn:log V 1 END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T18:49:50.027092Z K 7 svn:log V 760 Trivial changes/forced-commit to document previous change r264050 whose description was eaten by the dog (or an editor crash or something). Add variable-frequency support to the arm mpcore eventtimer driver. This allows a platform's early init code to tell the mpcore driver that the clock frequency can vary. That causes the mpcore driver to register an eventtimer, but not a timecounter. The platform has to provide a time counter using some other fixed-frequency clock, but can still use the per-cpu goodness of the mpcore hardware for event timers. When the platform support code does something to change the frequency of the CPU clocks (power saving, thermal management) it must tell the mpcore driver code about it using arm_tmr_change_frequency(). END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T19:06:53.125885Z K 7 svn:log V 205 Don't call sdhci_init_slot() until after handling the FDT properties related to detecting card presence. This actually makes no difference now, but will when we get support for gpio-based card detection. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-02T19:41:48.379990Z K 7 svn:log V 58 Merge ^/head@264052 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T19:51:29.551625Z K 7 svn:log V 303 Change NO_EVENTTIMERS from an arm-specific to an MI option, so that it can be used in MI code. This is intended as a temporary measure to unbreak the build. The real fix is to write event timer drivers for legacy arm hardware, then get rid of this option completely. That's going to take a few days. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-04-02T20:18:17.135781Z K 7 svn:log V 278 Add support for the virtio RNG entropy-source device. Call through to /dev/random synchronously to fill virtio buffers with RNG data. Tested with FreeBSD-CURRENT and Ubuntu guests. Submitted by: Leon Dang Discussed with: markm MFC after: 3 weeks Sponsored by: Nahanni Systems END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T21:06:43.956719Z K 7 svn:log V 133 Switch imx6 to using the mpcore per-cpu event timers, but continue to use the GPT timer, which is fixed-frequency, as a timecounter. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-02T21:34:48.620833Z K 7 svn:log V 1220 Rework the cpu frequency management code for imx6. This adds the concept of "operating points," combinations of frequency and voltage at which the cpu is known to work correctly. Some day these should come from FDT data, but for now the table is hard-coded. This also allows tuning the min and max operating frequencies. The min frequency is what the thermal management code will slow down to if the core temperature gets too high. The max frequency is what gets used if the temperature is okay. Normally the max cannot be set higher than the value burned into the ocotp fuses as the chip's rated max, but there is now a new sysctl+tunable cpu_overclock_enable; when set to non-zero it allows raising the frequency above the ocotp value: USE WITH CARE! (At least one of my imx6 boards has a cpu whose ocotp values never got set correctly; they claim a max of 792mhz, but the physical markings on the chip say it's good to 1ghz.) Because all these values affect the entire SoC, there is a new sysctl node, hw.imx6, where all these values live. The values that are currently under dev.imx6_anatop.0 should probably move to hw.imx6 too, because "anatop" doesn't even mean anything to me, let alone to an end user. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-02T23:07:15.513061Z K 7 svn:log V 68 Fix build, broken by r264025. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-03T00:55:16.552695Z K 7 svn:log V 394 Implement GNU's extension of 'status' operand. The GNU syntax is borrowed where syntax status=noxfer means no transfer statistics and status=none means no status information at all. This feature is useful because the statistics information can sometimes be annoying, and redirecting stderr to /dev/null would mean error messages also gets silenced. Obtained from: OpenBSD MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-03T01:00:51.540525Z K 7 svn:log V 95 MFC r263385: Remove unused option -r from zpool. Submitted by: Richard Yao END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-03T01:02:14.119456Z K 7 svn:log V 95 MFC r263385: Remove unused option -r from zpool. Submitted by: Richard Yao END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-04-03T01:32:43.859787Z K 7 svn:log V 298 Correct endianness handling in getting station address from EEPROM. While I'm here, remove aue_eeprom_getword() as its only usage is to read station address and make it more readable. This change is inspired by NetBSD. With this change, aue(4) should work on big endian architectures. PR: 188177 END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-04-03T01:46:03.682206Z K 7 svn:log V 55 Improve readability of comments for DELAY_ACK() macro. END K 10 svn:author V 4 grog K 8 svn:date V 27 2014-04-03T05:48:28.383925Z K 7 svn:log V 808 Make -f set -a, as required by the standard. From the original OpenBSD commit message: restore the traditional behavior of -f implying -a; apparently Keith Bostic forgot to restore it when the -f flag was put back on 2nd of September 1989, after being removed on 16th of August as a consequence of issues getting it working over NFS, so deviation from traditional UNIX behavior in all BSDs looks like an historical accident; as a side effect, this change accommodates behavior of this option to IEEE Std 1003.1-2008 (``POSIX.1''). joint work with jmc@ (who found the inaccuracy in our implementation), schwarze@ (who provided a detailed tracking of historical facts) and millert@ Submitted by: Igor Sobrado Discussed with: mckusick Obtained from: OpenBSD project MFC after: 2 weeks END K 10 svn:author V 2 br K 8 svn:date V 27 2014-04-03T05:48:56.861892Z K 7 svn:log V 277 - Setup both secure and non-secure timer IRQs. We don't know our ARM security state, so one of them will operate. - Don't set frequency, since it's unpossible in non-secure state. Only rely on DTS clock-frequency value or get clock from timer. Discussed with: ian, cognet END K 10 svn:author V 4 grog K 8 svn:date V 27 2014-04-03T05:49:28.570131Z K 7 svn:log V 77 Add information on standards compliance of many options. MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-03T06:32:02.946484Z K 7 svn:log V 80 Make C_* contants fit in 32 bits again by using 4 unused bits. Noticed by: bde END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-04-03T07:28:36.087486Z K 7 svn:log V 845 Some xdev fixes: - if TARGET_ARCH is not defined and XDEV_ARCH is defined then early define TARGET_ARCH to the valud of XDEV_ARCH: This allow the xdev-build target to be able to correctly chose the compiler it needs to build - Allow overwriting XDTP to allow a user to not chose where the xdev env will live in - Fix build for gcc only xdev (like ia64) by providing the proper -B to the toolchain and not relying on gcc being installed already in base - Fix TOOLS_PREFIX so the generated toolchain has the right default sysroot when installed intead of getting the DESTDIR one - Fix supporting DESTDIR - Also overwrite CXX (needed for cross building c++ libraries with clang) and CPP (needed to cross build some libraries when gcc is the target default compiler but gcc is not installed on the building host) Discussed with: imp END K 10 svn:author V 8 theraven K 8 svn:date V 27 2014-04-03T08:08:36.659577Z K 7 svn:log V 82 Add an extra void* cast to work around a bug in FreeBSD-gcc inherited from Apple. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2014-04-03T08:16:45.361258Z K 7 svn:log V 58 Move _b functions into the 11.x symbol version namespace. END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-04-03T11:59:04.341471Z K 7 svn:log V 234 MFC r263809 Fix crash on resume in vt(9). Statically allocated terminal window have not initialized callout handler, so we have to initialize it even for existing window if it is console window. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-04-03T12:03:30.072829Z K 7 svn:log V 234 MFC r263809 Fix crash on resume in vt(9). Statically allocated terminal window have not initialized callout handler, so we have to initialize it even for existing window if it is console window. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-03T12:04:05.446893Z K 7 svn:log V 157 Allow overriding xz(1) path. Requested by: marck MFC After: 5 days X-MFC-With: r264027,r264028,r264029,r264030,r264046 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-03T14:13:57.864516Z K 7 svn:log V 181 Document that the FreeBSD/i386 instability with vfs.unmapped_buf_allowed=1 may be present on VMs running on hypervisors other than VirtualBox. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-04-03T14:47:36.945999Z K 7 svn:log V 50 MFC r263812: Update build(7) with LOCAL_* vars END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-04-03T14:58:52.513903Z K 7 svn:log V 464 o Provide a compatibility shim for netstat(1) to obtain output queue drops via NET_RT_IFLISTL sysctl. The sysctl handler appends oqdrops at the end of struct if_msghdrl, and netstat(1) sees that as an additional field of struct if_data. This allows us to fetch the data keeping ABI and API compatibility. This is direct commit to stable/10. o Merge r263331 from head, to restore printing of queue drops. Sponsored by: Nginx, Inc. Sponsored by: Netflix END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-04-03T15:04:32.877081Z K 7 svn:log V 196 Add BIO_DELETE support to ZVOL. It is an adapted merge from the vendor branch of: 701 UNMAP support for COMSTAR (in part related to ZFS) 2130 zvol DKIOCFREE uses nested DMU transactions END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-03T16:21:37.750170Z K 7 svn:log V 133 Put each source file on a separate line This will simplify rebasing the amd64 UEFI patch set. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-03T16:24:49.239654Z K 7 svn:log V 150 Put each source file on a separate line This is equivalent to r264078 in HEAD, for sys/boot/i386/efi/Makefile. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-04-03T16:57:16.107637Z K 7 svn:log V 1871 MFC r263116 Replace 4.4BSD Lite's unix domain socket backpressure hack with a cleaner mechanism, based on the new SB_STOP sockbuf flag. The old hack dynamically changed the sending sockbuf's high water mark whenever adding or removing data from the receiving sockbuf. It worked for stream sockets, but it never worked for SOCK_SEQPACKET sockets because of their atomic nature. If the sockbuf was partially full, it might return EMSGSIZE instead of blocking. The new solution is based on DragonFlyBSD's fix from commit 3a6117bbe0ed6a87605c1e43e12a1438d8844380 on 2008-05-27. It adds an SB_STOP flag to sockbufs. Whenever uipc_send surpasses the socket's size limit, it sets SB_STOP on the sending sockbuf. sbspace() will then return 0 for that sockbuf, causing sosend_generic and friends to block. uipc_rcvd will likewise clear SB_STOP. There are two fringe benefits: uipc_{send,rcvd} no longer need to call chgsbsize() on every send and receive because they don't change the sockbuf's high water mark. Also, uipc_sense no longer needs to acquire the UIPC linkage lock, because it's simpler to compute the st_blksizes. There is one drawback: since sbspace() will only ever return 0 or the maximum, sosend_generic will allow the sockbuf to exceed its nominal maximum size by at most one packet of size less than the max. I don't think that's a serious problem. In fact, I'm not even positive that FreeBSD guarantees a socket will always stay within its nominal size limit. sys/sys/sockbuf.h Add the SB_STOP flag and adjust sbspace() sys/sys/unpcb.h Delete the obsolete unp_cc and unp_mbcnt fields from struct unpcb. sys/kern/uipc_usrreq.c Adjust uipc_rcvd, uipc_send, and uipc_sense to use the SB_STOP backpressure mechanism. Removing obsolete unpcb fields from db_show_unpcb. tests/sys/kern/unix_seqpacket_test.c Clear expected failures from ATF. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-04-03T17:26:45.390860Z K 7 svn:log V 193 MFC r263428 share/man/man7/tests.7 Added a section on test suite configuration, and cleaned up up grammar errors and awkward prose. The config variables were discussed on freebsd-testing. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2014-04-03T17:31:38.862617Z K 7 svn:log V 54 Fix the inheritance of the FBSDprivate_1.0 namespace. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-04-03T17:55:08.084334Z K 7 svn:log V 342 Move the GPIO bank initialization to a new function to make easier to detect errors. Reset the GPIO module during the initialization. This is guaranteed to be the same as a hardware reset. Tested on AM335x (BBB) and checked against the omap3 and omap4 TRM. Do a better job freeing resources when there are errors and on ti_gpio_detach(). END K 10 svn:author V 5 joerg K 8 svn:date V 27 2014-04-03T20:00:02.744269Z K 7 svn:log V 210 Add the Dresden Elektronik "USB Levelshifter Stick Low Cost" to the list of known FTDI devices. https://shop.dresden-elektronik.de/accessories/levelshifter/usb-pegelwandler-stick-basic.html MFC after: 1 week END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-04-03T20:12:39.751771Z K 7 svn:log V 95 Add support for the Dlink DIR-825C1 74k MIPS router based on Atheros wireless, bridge and CPU. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-04-03T20:18:55.654180Z K 7 svn:log V 203 MFV r258922: 3580 Want zvols to return volblocksize when queried for physical block size illumos/illumos-gate@a0b60564dfc644f4bfaef1ce26d343b44cf68bc5 It is irrelevant for FreeBSD, just reducing diff. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-03T21:18:03.288171Z K 7 svn:log V 246 Build boot/ficl as 64-bit library on amd64 The 32-bit bootloaders on amd64 now use the 32-bit version in ficl32, as is done with libstand32. The native 64-bit ficl will be used by the upcoming UEFI loader. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-03T21:39:59.159115Z K 7 svn:log V 1318 Merge efilib changes from projects/uefi r247216: Add the ability for a device to have an "alias" handle. r247379: Fix network device registration. r247380: Adjust our load device when we boot from CD under UEFI. The process for booting from a CD under UEFI involves adding a FAT filesystem containing your loader code as an El Torito boot image. When UEFI detects this, it provides a block IO instance that points at the FAT filesystem as a child of the device that represents the CD itself. The problem being that the CD device is flagged as a "raw device" while the boot image is flagged as a "logical partition". The existing EFI partition code only looks for logical partitions and so the CD filesystem was rendered invisible. To fix this, check the type of each block IO device. If it's found to be a CD, and thus an El Torito boot image, look up its parent device and add that instead so that the loader will then load the kernel from the CD filesystem. This is done by using the handle for the boot filesystem as an alias. Something similar to this will be required for booting from other media as well as the loader will live in the EFI system partition, not on the partition containing the kernel. r247381: Remove a scatalogical debug printf that crept in. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-04-03T22:14:18.999780Z K 7 svn:log V 174 Detach from controlling session of parent. This is similar to what is done in daemon(3), which we can not use directly in this context. Reviewed by: pjd MFC after: 2 weeks END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-04-03T22:22:10.327439Z K 7 svn:log V 158 XDDESTDIR should not be set by the user, instead the user might want to tweak XDTP and let the standard DESTDIR decide where to install. Discussed with: imp END K 10 svn:author V 6 rstone K 8 svn:date V 27 2014-04-03T22:32:12.989751Z K 7 svn:log V 459 Correct a PCI enumeration bug introduced in r264011 Ensure that first_func is set to 0 on every iteration of the PCI slot enumeration loop after the first. There is a continue statement that would cause first_func to stay at 1 any PCI device where slot 0 has no functions until we find a slot that does have a function. This would cause us to not enumerate the first PCI function on the device. Credit to markj@ for spotting the bug. X-MFC-With: r264011 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-03T23:10:23.703734Z K 7 svn:log V 58 Add -fPIC for amd64 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 grog K 8 svn:date V 27 2014-04-03T23:22:04.776709Z K 7 svn:log V 34 Typo. Reported by: Igor Sobrado. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T00:00:05.380241Z K 7 svn:log V 162 Actually save the clock frequency retrieved from fdt data. I fumbled this when I converted getprop to getencprop. Submitted by: Thomas Skibo Pointy hat to: ian END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-04T00:16:46.849925Z K 7 svn:log V 4695 Support UEFI booting on amd64 via loader.efi This is largely the work from the projects/uefi branch, with some additional refinements. This is derived from (and replaces) the original i386 efi implementation; i386 support will be restored later. Specific revisions of note from projects/uefi: r247380: Adjust our load device when we boot from CD under UEFI. The process for booting from a CD under UEFI involves adding a FAT filesystem containing your loader code as an El Torito boot image. When UEFI detects this, it provides a block IO instance that points at the FAT filesystem as a child of the device that represents the CD itself. The problem being that the CD device is flagged as a "raw device" while the boot image is flagged as a "logical partition". The existing EFI partition code only looks for logical partitions and so the CD filesystem was rendered invisible. To fix this, check the type of each block IO device. If it's found to be a CD, and thus an El Torito boot image, look up its parent device and add that instead so that the loader will then load the kernel from the CD filesystem. This is done by using the handle for the boot filesystem as an alias. Something similar to this will be required for booting from other media as well as the loader will live in the EFI system partition, not on the partition containing the kernel. r246231: Add necessary code to hand off from loader to an amd64 kernel. r246335: Grab the EFI memory map and store it as module metadata on the kernel. This is the same approach used to provide the BIOS SMAP to the kernel. r246336: Pass the ACPI table metadata via hints so the kernel ACPI code can find them. r246608: Rework copy routines to ensure we always use memory allocated via EFI. The previous code assumed it could copy wherever it liked. This is not the case. The approach taken by this code is pretty ham-fisted in that it simply allocates a large (32MB) buffer area and stages into that, then copies the whole area into place when it's time to execute. A more elegant solution could be used but this works for now. r247214: Fix a number of problems preventing proper handover to the kernel. There were two issues at play here. Firstly, there was nothing preventing UEFI from placing the loader code above 1GB in RAM. This meant that when we switched in the page tables the kernel expects to be running on, we are suddenly unmapped and things no longer work. We solve this by making our trampoline code not dependent on being at any given position and simply copying it to a "safe" location before calling it. Secondly, UEFI could allocate our stack wherever it wants. As it happened on my PC, that was right where I was copying the kernel to. This did not cause happiness. The solution to this was to also switch to a temporary stack in a safe location before performing the final copy of the loaded kernel. r246231: Add necessary code to hand off from loader to an amd64 kernel. r246335: Grab the EFI memory map and store it as module metadata on the kernel. This is the same approach used to provide the BIOS SMAP to the kernel. r246336: Pass the ACPI table metadata via hints so the kernel ACPI code can find them. r246608: Rework copy routines to ensure we always use memory allocated via EFI. The previous code assumed it could copy wherever it liked. This is not the case. The approach taken by this code is pretty ham-fisted in that it simply allocates a large (32MB) buffer area and stages into that, then copies the whole area into place when it's time to execute. A more elegant solution could be used but this works for now. r247214: Fix a number of problems preventing proper handover to the kernel. There were two issues at play here. Firstly, there was nothing preventing UEFI from placing the loader code above 1GB in RAM. This meant that when we switched in the page tables the kernel expects to be running on, we are suddenly unmapped and things no longer work. We solve this by making our trampoline code not dependent on being at any given position and simply copying it to a "safe" location before calling it. Secondly, UEFI could allocate our stack wherever it wants. As it happened on my PC, that was right where I was copying the kernel to. This did not cause happiness. The solution to this was to also switch to a temporary stack in a safe location before performing the final copy of the loaded kernel. r247216: Use the UEFI Graphics Output Protocol to get the parameters of the framebuffer. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T00:59:40.241632Z K 7 svn:log V 740 Various fixes to the ti_sdhci driver, mostly to make it work on Pandaboard. - Don't allow high-speed mode on OMAP4 due to hardware erratum. - Check the proper bit in the status register when waiting for the controller to come out of reset. - Add handling for the "non-removable" fdt property by always returning "card is present" status. - Add the non-removable property for the MMC card on a Beaglebone Black. - Add the non-removable property for Pandaboard as a workaround. For Pandaboard the card detect pin is handled by the twl6030 fpga device which gets an interrupt on pin change and then has to query the fpga for the actual status. We don't have code to do that yet. Submitted by: Svatopluk Kraus END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T01:10:02.291403Z K 7 svn:log V 536 When changing the sd bus clock divisor, clear just the bus clock enable bit before changing the divisor bits in the register. We were writing a zero to the register, which clears the enable, but also cleared the divisor bits at the same time. That's a violation of the sdhci spec, which says the divisor can only be changed when the clock is disabled. This has worked okay on most hardware for years, but the TI OMAP controller would misbehave after changing the divisor improperly. Submitted by: Svatopluk Kraus END K 10 svn:author V 4 grog K 8 svn:date V 27 2014-04-04T01:48:25.788238Z K 7 svn:log V 35 -k option is compliant with POSIX. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T03:04:29.903750Z K 7 svn:log V 120 Fix the logic for translating between MMCHS and SDHCI clock divisors. Submitted by: Svatopluk Kraus END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T03:11:06.619722Z K 7 svn:log V 62 Switch OMAP4 (Pandaboard et. al.) to use the ti_sdhci driver. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T03:24:19.567918Z K 7 svn:log V 37 Use the sdhci driver for Pandaboard. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T03:48:43.481220Z K 7 svn:log V 73 Let's try having just one mmc/sd controller driver. Pointed out by: gjb END K 10 svn:author V 2 br K 8 svn:date V 27 2014-04-04T05:05:43.818313Z K 7 svn:log V 25 Remove unused prototype. END K 10 svn:author V 3 mjg K 8 svn:date V 27 2014-04-04T05:07:36.074058Z K 7 svn:log V 108 Garbage collect fdavail. It rarely returns an error and fdallocn handles the failure of fdalloc just fine. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-04T07:02:38.842315Z K 7 svn:log V 129 Merge r262907 from ^/projects/release-embedded: Add ZEDBOARD support for release builds. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-04T07:34:46.827290Z K 7 svn:log V 477 MFC r262810, r262862, r264105: r262810: Merge enabling building FreeBSD/arm images as part of the release build process. r262862: Provide backwards-compatibility with release.conf SVNROOT entries that do not have a trailing '/'. r264105: Add ZEDBOARD support for release builds. * Local modifications: - Set SRCBRANCH from head/ to stable/10/. - Strip svn:merginfo from ^/projects/release-embedded to avoid pollution. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-04T07:42:12.309180Z K 7 svn:log V 128 Merge r262906 from ^/projects/release-embedded: Remove only-works-on-amd64 restriction. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-04T07:43:11.319193Z K 7 svn:log V 93 MFC r264107: Remove only-works-on-amd64 restriction. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-04T08:43:23.853998Z K 7 svn:log V 92 We don't need TAILQ for iSCSI PDUs; STAILQ is enough. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-04T08:48:55.883402Z K 7 svn:log V 95 All the iSCSI sysctls are also tunables; advertise that. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-04-04T10:33:59.539848Z K 7 svn:log V 139 Merge r262341: - Improve logging of send errors, reporting error code and interface. - Reduce code duplication between INET and INET6. END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-04-04T11:17:49.703547Z K 7 svn:log V 300 MFC r263885 o Add new vd_driver method to do bitblt with mask, named vd_maskbitbltchr. o Move vd_bitbltchr vga's driver method to vd_maskbitbltchr. o Implement new vd_bitbltchr method for vga driver. (It do single write for 8 pixels, have to be a bit faster). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-04-04T11:19:02.891982Z K 7 svn:log V 300 MFC r263885 o Add new vd_driver method to do bitblt with mask, named vd_maskbitbltchr. o Move vd_bitbltchr vga's driver method to vd_maskbitbltchr. o Implement new vd_bitbltchr method for vga driver. (It do single write for 8 pixels, have to be a bit faster). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2014-04-04T12:31:13.487372Z K 7 svn:log V 146 Fix SIGIO delivery. Use fsetown() to handle file descriptor owner ioctl and use pgsigio() to send SIGIO. Submitted by: truckman Reviewed by: mjg END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-04T13:35:36.224356Z K 7 svn:log V 67 Fix printf format mismatches Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-04T14:18:37.380876Z K 7 svn:log V 111 MFC r261521 by antoine: Add files to remove WITHOUT_NIS PR: misc/186412 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-04T14:42:43.201919Z K 7 svn:log V 111 MFC r261521 by antoine: Add files to remove WITHOUT_NIS PR: misc/186412 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 royger K 8 svn:date V 27 2014-04-04T14:54:54.054554Z K 7 svn:log V 157 MFC r263001 Move asm IPIs handlers to C code, so both Xen and native IPI handlers share the same code. Approved by: gibbs Sponsored by: Citrix Systems R&D END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T15:03:03.981596Z K 7 svn:log V 87 Adjust the comments about translating clock divisor bits to match recent code changes. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T15:31:57.448722Z K 7 svn:log V 43 Flag several sysctl variables as tunables. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-04-04T15:49:23.144911Z K 7 svn:log V 270 gcc: define __block when block support is enabled This mimics the behaviour in clang and lets us build cleanly the libdispatch port on platforms where the base gcc is still the default compiler. Bump __FreeBSD_version for ports. Tested by: theraven MFC after: 3 days END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-04-04T15:49:37.800096Z K 7 svn:log V 132 Rework the iSCSI PDU transmit code to avoid lock contention and coalesce PDUs before sending. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-04-04T15:52:45.804649Z K 7 svn:log V 81 Change kernel/rootfs hints to use search patterns instead of absolute locations. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-04-04T15:55:38.050754Z K 7 svn:log V 62 Remove dead code. MFC after: 1 week Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-04-04T15:57:27.529287Z K 7 svn:log V 68 Remove unused variable. MFC after: 1 week Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-04-04T16:58:32.550615Z K 7 svn:log V 180 The check for local address spoofing lacks ifaddr locking. Remove these loops and use in_localip() and in6_localip() functions instead. MFC after: 1 week Sponsored by: Yandex LLC END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-04-04T17:01:49.346237Z K 7 svn:log V 162 Add PCI-IDs for TBD Gen9 RAID controller HBAs from HP to ciss(4) Submitted by: Benesh, Scott MFC after: 2 weeks Sponsored by: Yahoo! Inc. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T17:39:05.221017Z K 7 svn:log V 308 Fix TTB set operation for armv7. Perform sychronization (by "isb" barrier) after TTB is set. This is done to ensure that TLB invalidation always executes after TTB modification and operates on valid CP15 data (per specification). Submitted by: Wojciech Macek Reviewed by: ian@, cognet@ END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T17:45:39.920459Z K 7 svn:log V 449 Fix TLB maintenance issues for armv6 and armv7. - Add cpu_cpwait to comply with the convention. - Add missing TLB invalidations, especially in pmap_kenter & pmap_kremove with distinguishing between D and ID pages. - Modify pmap init/bootstrap invalidations to ID, just to be safe. - Fix TLB-inv and PTE_SYNC ordering. This combines changes submitted by ian@, cognet@, and Wojciech Macek, which have all been tested together as a unit. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T17:57:49.545396Z K 7 svn:log V 128 Allocate per-cpu resources for doing pmap_zero_page() and pmap_copy_page(). This is performance enhancement rather than bugfix. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-04-04T17:58:33.787031Z K 7 svn:log V 208 Prevent XDTP from being a relative path XDTP is used as the default SYSROOT for clang and thus should be an absolute path. PR: arm/188249 Submitted by: Edgar Martinez Reviewed by: imp END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-04T18:07:21.560626Z K 7 svn:log V 74 Connect sys/boot/amd64 to the build Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-04-04T18:10:11.084462Z K 7 svn:log V 193 Fix variable type to avoid printf formatter warning. This fixes the build under powerpc64 where gcc complains about a mismatch between a %zd printf formatter and an int variable passed to it. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-04-04T19:17:33.719683Z K 7 svn:log V 56 MFC r263878: Several fixes for the PCID implementation. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T19:35:38.424699Z K 7 svn:log V 124 We don't support any ARM systems with an ISA bus and don't need a freelist of memory to support ISA addressing limitations. END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-04-04T19:53:45.219741Z K 7 svn:log V 291 Correct return type of pdfork(2). The pdfork(2) man page states: "pdfork() returns a PID, 0 or -1, as fork(2) does." As it returns a PID, the return type should obviously be pid_t. As int and pid_t have the same size on all architectures, this change does not affect the ABI in any way. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T20:42:44.415325Z K 7 svn:log V 251 Switch wandboards over to the common IMX6 kernel config, which has SMP enabled. Also switch IMX6 to use SCHED_ULE. The now-unreferenced WANDBOARD.common config will be deleted after giving folks who may be including it a heads-up to switch to IMX6. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-04T20:58:45.874413Z K 7 svn:log V 27 Enable SMP for Pandaboard. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-04-04T21:09:06.709638Z K 7 svn:log V 110 Initialise m_pkthdr via bzero instead of explicitly zeroing each member Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-04T21:35:17.794292Z K 7 svn:log V 185 Document a potential panic or hang when using sas2flash to update firmware on mps(4) LSI controllers. Submitted by: smh Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-04-04T22:20:33.537452Z K 7 svn:log V 470 MFC r262810, r262862, r264105, r264107: r262810: Merge enabling building FreeBSD/arm images as part of the release build process. r262862: Provide backwards-compatibility with release.conf SVNROOT entries that do not have a trailing '/'. r264105: Add ZEDBOARD support for release builds. r264107: Remove only-works-on-amd64 restriction. * Local modifications to stable/9: - Set SRCBRANCH from head/ to stable/9/. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-04-05T03:01:29.460016Z K 7 svn:log V 122 Show error code when failing to destroy a mirror on delay Sponsored by: EMC / Isilon Storage Division MFC after: 2 weeks END K 10 svn:author V 8 theraven K 8 svn:date V 27 2014-04-05T08:17:48.351864Z K 7 svn:log V 96 Silence a warning with GCC that was breaking the build with Juniper's GCC. Reviewed by: marcel END K 10 svn:author V 2 ed K 8 svn:date V 27 2014-04-05T11:37:58.486476Z K 7 svn:log V 282 Add missing userspace bits to . - Include and define pid_t. - Add __BEGIN_DECLS/__END_DECLS. In my opinion we should have considered putting the userspace bits in a different header (e.g., ), but I think we've already passed that point. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-04-05T13:01:44.858444Z K 7 svn:log V 800 Add property and sysctl to control how ZVOLs are exposed to OS. New ZFS property volmode and sysctl vfs.zfs.vol.mode allow switching ZVOL between three modes: geom -- existing fully functional behavior (default); dev -- exposing volumes only as raw disk device file in devfs; none -- not exposing volumes outside ZFS. The "dev" mode is less functional (can't be partitioned, mounted, etc), but it is faster, and in some scenarios with untrusted consumers safer. It can be useful for NAS, VM block storages, etc. The "none" mode may be convenient for backup servers, etc. that don't need direct data access. Due to the way ZVOL is integrated with main ZFS code, those property and sysctl are checked only during pool import and volume creation. MFC after: 1 month Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-04-05T14:09:16.623477Z K 7 svn:log V 952 When KN_INFLUX is set on the knote due to kqueue_register() or kqueue_scan() unlocking the kqueue to call f_event, knote() or knote_fork() should not skip the knote. The knote is not going to disappear during the influx time, and the mutual exclusion between scan and knote() is ensured by both code pathes taking knlist lock. The race appears since knlist lock is before kq lock, so KN_INFLUX must be set, kq lock must be dropped and only then knlist lock can be taken. The window between kq unlock and knlist lock causes lost events. Add a flag KN_SCAN to indicate that KN_INFLUX is set in a manner safe for the knote(), and check for it to ignore KN_INFLUX in the knote*() as needed. Also, in knote(), remove the lockless check for the KN_INFLUX flag, which could also result in the lost notification. Reported and tested by: Kohji Okuno Discussed with: jmg Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-04-05T14:24:29.282162Z K 7 svn:log V 61 MFC r263912: Clear the kernel grab of the FPU state on fork. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-04-05T14:24:45.266358Z K 7 svn:log V 61 MFC r263912: Clear the kernel grab of the FPU state on fork. END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-04-05T16:08:13.457295Z K 7 svn:log V 877 Add ioctl(2) calls to uftdi(4) to access bitbang, MPSSE, CPU_FIFO, and other modes supported by the FTDI serial adapter chips. In addition to adding the new ioctls, this change removes all the code that reset the chip at attach and open/close time, and also the code that turned on RTS/CTS flow control on open without any permission to do so (that was just always a bug in the driver). When FTDI chips are configured as GPIO or MPSSE or other special-purpose uses by an attached serial eeprom, the chip will power on with certain pins driven or floating, and it's important that the driver not do anything to the chip to perturb that unless it receives a specific command to do so. When used for "plain old serial comms" the chip powers on into the right mode and never needs to be reset while it's running to operate properly, so this change is transparent to most users. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-04-05T16:38:27.036219Z K 7 svn:log V 114 Correct the end address of the video frame buffer. This fixes problem that sometimes display suddenly goes blank. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-04-05T16:54:47.680556Z K 7 svn:log V 84 Prevent alq from panic when the invalid alq_file path specified. MFC after: 1 week END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-04-05T17:29:40.148567Z K 7 svn:log V 98 Set MODINFOMD_KERNEND correctly. While here remove an unneeded printf and fix the style a little. END