ĵ272702 148 696 169 247 527 201 145 569 158 309 174 185 425 174 297 494 246 150 316 1206 274 446 446 3926 446 244 382 166 296 925 143 128 195 302 1350 199 636 346 460 363 977 241 184 249 201 164 219 163 123 336 262 271 332 194 332 177 475 960 960 132 514 207 286 168 225 263 115 122 115 442 500 131 182 248 159 202 224 314 226 220 229 190 192 194 314 176 220 194 831 415 670 315 509 206 210 434 556 278 861 261 284 636 519 500 288 589 230 162 220 297 662 329 150 135 101 224 211 198 193 151 191 289 1071 301 191 119 134 123 219 177 184 178 194 311 116 188 194 478 280 2912 241 440 322 236 1550 338 228 191 447 K 10 svn:author V 3 avg K 8 svn:date V 27 2014-10-07T14:30:24.950566Z K 7 svn:log V 603 reduce L2ARC_WRITE_SIZE on FreeBSD FreeBSD has ARC_BUFC_NUMMETADATALISTS metadata lists and ARC_BUFC_NUMDATALISTS data lists (currently both are 16) while illumos has just a single list of each kind. L2ARC_WRITE_SIZE determines the default value of l2arc_write_max which defines limits on how much data is scanned and written to a cache device during each run of the l2arc feed thread. The limits are applied on the per buffer list basis. Because FreeBSD has more lists we proportionally reduce the limits. Reviewed by: Brendan Gregg (earlier version) MFC after: 2 weeks Sponsored by: HybridCluster END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-07T14:34:41.714522Z K 7 svn:log V 73 Inline sb_shift_nrdy(). Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-07T15:12:06.439466Z K 7 svn:log V 150 uipc_ready() should not honor SBS_CANTRCVMORE. We already put the data in the peer's receive buffer. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-10-07T15:21:20.345848Z K 7 svn:log V 430 MFC r265232 Fix a panic caused by doing "ifconfig -am" while a lagg is being destroyed. The thread that is destroying the lagg has already set sc->sc_psc=NULL when the "ifconfig -am" thread gets to lacp_req(). It tries to dereference sc->sc_psc and panics. The solution is for lacp_req() to check the value of sc->sc_psc. If NULL, harmlessly return an lacp_opreq structure full of zeros. Full details in GNATS. PR: 189003 END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-07T16:01:17.289698Z K 7 svn:log V 105 Fix a bug introduced in https://svnweb.freebsd.org/base?view=revision&revision=272347 MFC after: 3 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2014-10-07T16:06:10.685525Z K 7 svn:log V 53 revert r272702: wrong (earlier) change was committed END K 10 svn:author V 3 avg K 8 svn:date V 27 2014-10-07T16:08:21.468360Z K 7 svn:log V 476 l2arc_write_buffers: reduce headroom value FreeBSD has ARC_BUFC_NUMMETADATALISTS metadata lists and ARC_BUFC_NUMDATALISTS data lists (currently both are 16) while illumos has just a single list of each kind. headroom determines how much data is scanned on a single list during each run of the l2arc feed thread. Because FreeBSD has more lists we proportionally decrease the limit. Reviewed by: Brendan Gregg (earlier version) MFC after: 2 weeks Sponsored by: HybridCluster END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-07T16:46:11.990211Z K 7 svn:log V 61 Notify table algo aboute runtime data change on table flush. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-07T17:08:53.801512Z K 7 svn:log V 215 Implement the FLUSH operation in the virtio-block emulation. This gets rid of the following error message during FreeBSD guest bootup: "vtbd0: hard error cmd=flush fsbn 0" Reported by: rodrigc Reviewed by: grehan END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-10-07T17:23:11.025689Z K 7 svn:log V 78 Fix stupid error in r272703. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-10-07T17:39:30.151552Z K 7 svn:log V 94 Add driver for Synopsys DesignWare Mobile Storage Host Controller. Sponsored by: DARPA, AFRL END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-10-07T18:00:34.782137Z K 7 svn:log V 333 Since introducing the extra mapping in r250103 for architectural performance events we have actually counted 'Branch Instruction Retired' when people asked for 'Unhalted core cycles' using the 'unhalted-core-cycles' event mask mnemonic. Reviewed by: jimharris Discussed with: gnn, rwatson MFC after: 3 days Sponsored by: DARPA/AFRL END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-07T18:22:05.360312Z K 7 svn:log V 77 Fix possible crash when old value pointer is not updated after array resize. END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-10-07T18:47:53.774942Z K 7 svn:log V 204 Allow vt(4) to disable terminal bell with `sysctl kern.vt.bell_enable=0`, similar as syscons(4) do. Submitted by: Tiwei Bie MFC after: 2 weeks Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-10-07T19:07:50.054910Z K 7 svn:log V 399 Support the Vodafone R215 LET USB dongle, which is apparently a rebadged E5372 with different product IDs. Interestingly, the standard E5372 IDs (12d1:1506) are currently listed in u3g.c and are the same as the E3131. However, the R215/E5372 is an NCM device and works well with cdce(4) whereas the E3131 isn't. More work may be needed to better identify the other device IDs. MFC after: 1 week END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-07T19:08:02.906177Z K 7 svn:log V 151 Remove call to access(2) which didn't serve any purpose, and make it more tolerant to errors. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-10-07T20:13:47.318859Z K 7 svn:log V 57 Make kern.nswbuf tunable from loader. MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2014-10-07T21:26:22.745523Z K 7 svn:log V 224 cxgbe/tom: don't leak resources tied to an active open request that cannot be sent to the chip because a prerequisite L2 resolution failed. Submitted by: Hariprasad at chelsio dot com (original version) MFC after: 2 weeks. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2014-10-07T21:50:28.043756Z K 7 svn:log V 1109 Implement PLPMTUD blackhole detection (RFC 4821), inspired by code from xnu sources. If we encounter a network where ICMP is blocked the Needs Frag indicator may not propagate back to us. Attempt to downshift the mss once to a preconfigured value. Default this feature to off for now while we do not have a full PLPMTUD implementation in our stack. Adds the following new sysctl's for control: net.inet.tcp.pmtud_blackhole_detection -- turns on/off this feature net.inet.tcp.pmtud_blackhole_mss -- mss to try for ipv4 net.inet.tcp.v6pmtud_blackhole_mss -- mss to try for ipv6 Adds the following new sysctl's for monitoring: -- Number of times the code was activated to attempt a mss downshift net.inet.tcp.pmtud_blackhole_activated -- Number of times the blackhole mss was used in an attempt to downshift net.inet.tcp.pmtud_blackhole_min_activated -- Number of times that we failed to connect after we downshifted the mss net.inet.tcp.pmtud_blackhole_failed Phabricator: https://reviews.freebsd.org/D506 Reviewed by: rpaulo bz MFC after: 2 weeks Relnotes: yes Sponsored by: Limelight Networks END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-08T01:03:32.143053Z K 7 svn:log V 177 Fix a long standing bug in MAC statistics register access. One additional register was erroneously added in the MAC register set such that 7 TX statistics counters were wrong. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-08T04:07:07.464799Z K 7 svn:log V 350 MFC 272550: Remove stray uma_mtx lock/unlock in zone_drain_wait() Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not) the uma_mtx, but we would attempt to unlock and relock the mutex if we had to sleep because the zone was already draining. The M_NOWAIT callers may hold the uma_mtx, but we do not sleep in that case. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-08T04:11:05.035541Z K 7 svn:log V 350 MFC 272550: Remove stray uma_mtx lock/unlock in zone_drain_wait() Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not) the uma_mtx, but we would attempt to unlock and relock the mutex if we had to sleep because the zone was already draining. The M_NOWAIT callers may hold the uma_mtx, but we do not sleep in that case. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-08T04:25:17.493028Z K 7 svn:log V 3832 MFC r272414: Merge the following revisions from ^/projects/release-vmimage: r272234, r272236, r272262, r272264, r272269, r272271, r272272, r272277, r272279, r272376, r272380, r272381, r272392, r272234, r272412: r272234: Initial commit to include virtual machine images as part of the FreeBSD release builds. This adds a make(1) environment variable requirement, WITH_VMIMAGES, which triggers the virtual machine image targets when not defined to an empty value. Relevant user-driven variables include: o VMFORMATS: The virtual machine image formats to create. Valid formats are provided by running 'mkimg --formats' o VMSIZE: The size of the resulting virtual machine image. Typical compression is roughly 140Mb, regardless of the target size (10GB, 15GB, 20GB, 40GB sizes have been tested with the same result). o VMBASE: The prefix of the virtual machine disk images. The VMBASE make(1) environment variable is suffixed with each format in VMFORMATS for each individual disk image, as well as '.img' for the source UFS filesystem passed to mkimg(1). This also includes a new script, mk-vmimage.sh, based on how the VM images for 10.0-RELEASE, 9.3-RELEASE, and 10.1-RELEASE were created (mk-vmimage.sh in ^/user/gjb/thermite/). With the order in which the stages need to occur, as well as sanity-checking error cases, it makes much more sense to execute a shell script called from make(1), using env(1) to set specific parameters for the target image than it does to do this in make(1) directly. r272236: Use VMBASE in place of a hard-coded filename in the CLEANFILES list. r272262: Remove a 'set -x' that snuck in during testing. r272264: release/Makefile: Connect the virtual machine image build to the release target if WITH_VMIMAGES is set to a non-empty value. release/release.sh: Add WITH_VMIMAGES to RELEASE_RMAKEFLAGS. release/release.conf.sample: Add commented entries for tuning the release build if the WITH_VMIMAGES make(1) environment variable is set to a non-empty value. r272269: release/Makefile: Include .OBJDIR in DESTDIR in the vm-base target. release/release.sh: Provide the full path to mddev. r272271: Fix UFS label for the root filesystem. r272272: Remove comments left in accidentally while testing, so the VM /etc/fstab is actually created. r272277: Remove the UFS label from the root filesystem since it is added by mkimg(1) as a gpt label, consistent with the fstab(5) entry. r272279: Comment cleanup in panic() message when mkimg(1) does not support the requested disk image format. r272376: Separate release/scripts/mk-vmimage.sh to machine-specific scripts, making it possible to mimic the functionality for non-x86 targets. Move echo output if MAKEFLAGS is empty outside of usage(). Remove TARGET/TARGET_ARCH evaluation. r272380: Avoid using env(1) to set values passed to mk-vmimage.sh, and instead pass the values as arguments to the script, making it easier to run this by hand, without 'make release'. Add usage_vm_base() and usage_vm_image() usage helpers. r272381: After evaluating WITH_VMIMAGES is non-empty, ensure the mk-vmimage.sh script exists before running it. r272392: Add WITH_COMPRESSED_VMIMAGES variable, which when set enables xz(1) compression of the virtual machine images. This is intentionally separate to allow more fine-grained tuning over which images are compressed, especially in cases where compressing 20GB sparse images can take hours. r272412: Document the new 'vm-image' target, and associated release.conf variables. r272413: Remove two stray comments added during the initial iterations of testing, no longer needed. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-08T04:34:46.500448Z K 7 svn:log V 350 MFC 272550: Remove stray uma_mtx lock/unlock in zone_drain_wait() Callers of zone_drain_wait(M_WAITOK) do not need to hold (and were not) the uma_mtx, but we would attempt to unlock and relock the mutex if we had to sleep because the zone was already draining. The M_NOWAIT callers may hold the uma_mtx, but we do not sleep in that case. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-08T04:35:09.700499Z K 7 svn:log V 150 MFC r272270: tty_rel_free() can be called more than once for the same tty so make sure that the tty is dequeued from 'tty_list' only the first time. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-08T04:42:56.742907Z K 7 svn:log V 289 Revert r272724: Features not yet available in stable/10 are needed in mkimg(1), and it is more dangerous to tweak these changes in stable/10 directly without explicitly testing certain failure cases. Re-addition of this change is imminent. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-10-08T05:04:31.042647Z K 7 svn:log V 71 don't reinvent the wheel: rely on basename(3) Reviewed by: nwhitehorn END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-08T05:34:39.938340Z K 7 svn:log V 199 Add new quirk PCI_QUIRK_MSI_INTX_BUG to pci(4). QAC AR816x/E2200 controller has a silicon bug that MSI interrupt does not assert if PCIM_CMD_INTxDIS bit of command register is set. Reviewed by: jhb END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-08T05:47:01.330489Z K 7 svn:log V 828 Add support for QAC AR816x/AR817x Gigabit/Fast Ethernet controllers. These controllers seem to have the same feature of AR813x/AR815x and improved RSS support(4 TX queues and 8 RX queues). alc(4) supports all hardware features except RSS. I didn't implement RX checksum offloading for AR816x/AR817x just because I couldn't get confirmation from the Vendor whether AR816x/AR817x corrected its predecessor's RX checksum offloading bug on fragmented packets. This change adds supports for the following controllers. o AR8161 PCIe Gigabit Ethernet controller o AR8162 PCIe Fast Ethernet controller o AR8171 PCIe Gigabit Ethernet controller o AR8172 PCIe Fast Ethernet controller o Killer E2200 Gigabit Ethernet controller Tested by: Many Relnotes: yes MFC after: 2 weeks HW donated by: Qualcomm Atheros Communications, Inc. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-08T05:49:10.290972Z K 7 svn:log V 47 Document newly added controller AR816x/AR817x. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2014-10-08T05:53:04.114474Z K 7 svn:log V 32 Oops, fix typo made in r272729. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-08T07:00:50.556378Z K 7 svn:log V 98 Add support for disabling USB enumeration in general or on selected USB HUBs. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-08T07:48:36.550568Z K 7 svn:log V 209 Add support for WRITE ATOMIC (16) command and report SBC-4 compliance. Atomic writes are only supported for ZVOLs in "dev" mode. In other cases atomicity can not be guarantied and so the command is blocked. END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-10-08T08:48:18.364154Z K 7 svn:log V 1252 Current MegaRAID firmware and hence the driver only supported 64VDs. E.g: If the user wants to create more than 64VD on a controller, it is not possible on current firmware/driver. New feature and requirement to support upto 256VD, firmware/driver/apps need changes. In addition to that, there must be a backward compatibility of the new driver with the older firmware and vice versa. RAID map is the interface between Driver and FW to fetch all required fields(attributes) for each Virtual Drives. In the earlier design driver was using the FW copy of RAID map where as in the new design the Driver will keep the RAID map copy of its own; on which it will operate for any raid map access in fast path. Local driver raid map copy will provide ease of access through out the code and provide generic interface for future FW raid map changes. For the backward compatibility driver will notify FW that it supports 256VD to the FW in driver capability field. Based on the controller properly returned by the FW, the Driver will know whether it supports 256VD or not and will copy the RAID map accordingly. At any given time, driver will always have old or new Raid map. Reviewed by : ambrisko MFC after : 2 weeks Sponsored by: AVAGO Technologies END K 10 svn:author V 2 br K 8 svn:date V 27 2014-10-08T08:51:05.908588Z K 7 svn:log V 107 Always wait 'command done' interrupt status bit before proceeding next command. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-10-08T09:19:35.741109Z K 7 svn:log V 539 This is a feature provided to run 32-bit linux binaries on FreeBSD 64bit machine, for which 32bit compatibilty code has been added. As in linux there is only one device entry that is used to fire IOCTL commands, a new device entry megaraid_sas_ioctl_node is added for solely this purpose. From one dev node i.e mrgaraid_sa_ioctl_node we have to find out the controller instance in case of multicontroller, for which one management info structure has been added. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-10-08T09:30:35.764961Z K 7 svn:log V 249 Fix the minor svn add issue. $FreeBSD$ expands at the time of snv add, so I have added $FreeBSD$ as comment. This commit is contininous of last mrsas commit, so that compilation does not break. Obtained from: AVAGO Technologies MFC after: 2 weeks END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-10-08T09:34:25.970929Z K 7 svn:log V 363 Extended MSI-x vectors support for Invader and Fury(12Gb/s HBA). This Driver will create multiple MSI-x vector depending upon what FW expose. As of now 12 Gbp/s MR controller (Invader and Fury) expose 96 msix vector. As of now 6 Gbp/s MR controller (Thunderbolt) expose 16 msix vector. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-10-08T09:35:52.510735Z K 7 svn:log V 266 d_poll() callback function is the entry point for poll system call for the application. It is meant to notify the applications which will be waiting for some controller events to be occured. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-10-08T09:37:47.934417Z K 7 svn:log V 880 In the passthru IOCTL path, the mfi command pool was freely accessible N times where as there are limited number(32) of mfi commands in the pool. The mfi command pool is now restricted to 27 simultaneous accesses by using a counting semaphore while calling the passthru function. In the mrsas_cam.c source file there was a same function name mrsas_poll(), which was same as the mrsas_poll() implemented in the mrsas.c file for the polling interface. To clearly distinguish the functionality by usage we have renamed the former as mrsas_cam_poll(). In the passthru function let's say it has got an mfi command from the pool but it has failed in one of the DMA function call which will lead to leak an mfi command because in the ERROR case it directly returns and not freeing up the occupied mfi command. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-10-08T09:39:18.897365Z K 7 svn:log V 144 Driver version upgrade. Bring head mrsas same as internal Phase 6.5. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-08T09:44:02.113664Z K 7 svn:log V 90 Simplify; no functional changes. MFC after: 1 month Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 kadesai K 8 svn:date V 27 2014-10-08T10:14:37.591184Z K 7 svn:log V 152 No logical code change in this pathc. Only Style 9 changes for mrsas driver. Reviewed by: ambrisko MFC after: 2 weeks Sponsored by: AVAGO Technologies END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-08T11:12:14.863740Z K 7 svn:log V 103 Add IP_FW_DUMP_SOPTCODES sopt to be able to determine which opcodes are currently available in kernel. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-08T12:18:16.311520Z K 7 svn:log V 73 Add an ability to set dumpdev via loader(8) tunable. MFC after: 3 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-08T12:19:48.835014Z K 7 svn:log V 127 Revert r156046. We support setting dumpdev via loader tunable again. Also change default disk name to ada. MFC after: 3 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-08T12:24:24.941446Z K 7 svn:log V 71 Implement software (mode page) and hardware (config) write protection. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-08T12:33:31.393772Z K 7 svn:log V 32 Fix comment. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-08T15:29:49.462934Z K 7 svn:log V 240 Ensure that the number of stream reported in srs_number_streams is consistent with the amount of data provided in the SCTP_RESET_STREAMS socket option. Thanks to Peter Bostroem from Google for drawing my attention to this part of the code. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-08T15:30:59.207722Z K 7 svn:log V 166 Ensure that the list of streams sent in a stream reset parameter fits in an mbuf-cluster. Thanks to Peter Bostroem for drawing my attention to this part of the code. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-08T15:39:24.986528Z K 7 svn:log V 177 MFC r272270: tty_rel_free() can be called more than once for the same tty so make sure that the tty is dequeued from 'tty_list' only the first time. Approved by: re (glebius) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-08T15:44:11.668887Z K 7 svn:log V 236 MFC r271287: Merge from NetBSD: PR/49185: Conrad Meyer: strvisx: Handle zero-length input strings gracefully. (don't abuse 0 to mean compute string length internally) PR: 193447 Submitted by: Conrad Meyer END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-08T15:45:15.741112Z K 7 svn:log V 99 MFC r272706: Fix a bug introduced in https://svnweb.freebsd.org/base?view=revision&revision=272347 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-08T15:58:28.847731Z K 7 svn:log V 236 MFC r271287: Merge from NetBSD: PR/49185: Conrad Meyer: strvisx: Handle zero-length input strings gracefully. (don't abuse 0 to mean compute string length internally) PR: 193447 Submitted by: Conrad Meyer END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-08T16:22:26.167874Z K 7 svn:log V 85 Properly report 12Gbps connection rate. Reviewed by: kadesai, slm MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-08T16:22:59.175920Z K 7 svn:log V 382 Add schedgraph traces for callout handlers. Specifically, a callwheel logs a running event each time it executes a callout function. The event includes the function pointer, argument, and whether or not it was run from hardware interrupt context. The callwheel is marked idle when each handler completes. This effectively logs the duration of each callout routine in the graph. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-10-08T16:29:46.351152Z K 7 svn:log V 867 MFC r272273, r272387, r272443, r272533 : Add strptime(3) support for %U and %W Add support for the missing POSIX-2001 %U and %W features: the existing FreeBSD strptime code recognizes both directives and validates that the week number lies in the permitted range, but then simply discards the value. Initial support for the feature was written by Paul Green. David Carlier added the initial handling of tm_wday/tm_yday. Major credit goes to Andrey Chernov for detecting much of the brokenness and rewriting/cleaning most of the code, making it much more robust. Tested independently with the strptime test from the GNU C library. PR: 137307 Relnotes: yes MFC r272441 : strptime: %s format fix. Almost never needed in real life because %s is tends to be only one format spec. 1) Return code of gmtime_r() is checked. 2) All flags are set. Submitted by: ache END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-10-08T16:32:01.758415Z K 7 svn:log V 867 MFC r272273, r272387, r272443, r272533 : Add strptime(3) support for %U and %W Add support for the missing POSIX-2001 %U and %W features: the existing FreeBSD strptime code recognizes both directives and validates that the week number lies in the permitted range, but then simply discards the value. Initial support for the feature was written by Paul Green. David Carlier added the initial handling of tm_wday/tm_yday. Major credit goes to Andrey Chernov for detecting much of the brokenness and rewriting/cleaning most of the code, making it much more robust. Tested independently with the strptime test from the GNU C library. PR: 137307 Relnotes: yes MFC r272441 : strptime: %s format fix. Almost never needed in real life because %s is tends to be only one format spec. 1) Return code of gmtime_r() is checked. 2) All flags are set. Submitted by: ache END K 10 svn:author V 6 brooks K 8 svn:date V 27 2014-10-08T16:35:57.371884Z K 7 svn:log V 37 Revert botched r272755. PR: 193447 END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-10-08T16:48:03.883839Z K 7 svn:log V 421 Add an argument to the x86 pmap_invalidate_cache_range() to request forced invalidation of the cache range regardless of the presence of self-snoop feature. Some recent Intel GPUs in some modes are not coherent, and dirty lines in CPU cache must be flushed before the pages are transferred to GPU domain. Reviewed by: alc (previous version) Tested by: pho (amd64) Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-08T17:40:58.621545Z K 7 svn:log V 111 Correct scale factor for T terabyte suffix PR: 194250 MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-08T17:44:30.418146Z K 7 svn:log V 191 If we fail to send a signal after rotation, print the pidfile from which the corresponding PID was obtained. PR: 194143 Submitted by: Lyndon Nerenberg MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2014-10-08T19:49:10.691953Z K 7 svn:log V 74 It looks like an entry for the R215 is not required in cdce(4) after all. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-08T19:54:42.075252Z K 7 svn:log V 132 Remove one second wait for threads exit from icl_conn_close(). Switch it from polling with pause() to using cv_wait()/cv_signal(). END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-08T20:25:21.280554Z K 7 svn:log V 168 Pass up the error status of minidumpsys() to its callers. PR: 193761 Submitted by: Conrad Meyer Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-08T20:41:56.091422Z K 7 svn:log V 22 Import byacc 20140906 END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-08T20:44:05.262737Z K 7 svn:log V 29 Tag import of byacc 20141006 END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-08T20:46:38.771105Z K 7 svn:log V 22 Import byacc 20141006 END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-08T21:23:34.401020Z K 7 svn:log V 350 When tunneling interface is going to insert mbuf into netisr queue after stripping outer header, consider it as new packet and clear the protocols flags. This fixes problems when IPSEC traffic goes through various tunnels and router doesn't send ICMP/ICMPv6 errors. PR: 174602 Obtained from: Yandex LLC MFC after: 2 weeks Sponsored by: Yandex LLC END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-08T21:53:24.217423Z K 7 svn:log V 407 Rewrite timeout(9) to be callout(9)-centric instead. Move the description of timeout(9) to the end and mark it prominently as deprecated. Document somewhat how times are specified for the 'sbt' variants. Better explain how using callout_init_*() to associate a lock with a callout resolves common races. Differential Revision: https://reviews.freebsd.org/D847 Reviewed by: wblock, bjk MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-10-08T21:56:00.187180Z K 7 svn:log V 39 Forgot to bump Dd. Pointy hat to: jhb END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-08T22:01:35.946484Z K 7 svn:log V 87 MFC 271965, 272072, 272086: Add QCOW v1 & v2 support Requested by: gjb Relnotes: yes END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-08T22:06:38.811005Z K 7 svn:log V 152 MFC 272198, 272217: Add 3 long options (--version, --formats & --schemes) for getting information about mkimg itself. Requested by: gjb Relnotes: yes END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-08T22:09:36.500154Z K 7 svn:log V 64 MFC 272384: Improve performance of mking(1). Requested by: gjb END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-08T22:13:18.558472Z K 7 svn:log V 106 MFC r272485: Fill cyclinder, head and sector fields for the EBR, MBR and PC98 schemes. Requested by: gjb END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T00:32:33.977129Z K 7 svn:log V 130 Integrate usr.sbin/nmtree/tests from NetBSD into atf/kyua In collaboration with: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T00:37:58.029608Z K 7 svn:log V 220 Set the autoindent to 4 spaces with vim in BSD.tests.dist This will prevent vim users from accidentally checking in buggy mtree files (mixed tabs/spaces). MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T00:41:42.912023Z K 7 svn:log V 132 Integrate usr.sbin/basename/tests from NetBSD into atf/kyua In collaboration with: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T00:50:33.605657Z K 7 svn:log V 126 Integrate usr.bin/cmp/tests from NetBSD into atf/kyua In collaboration with: sjg Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T00:55:04.910022Z K 7 svn:log V 135 Integrate usr.bin/dirname/tests from NetBSD into atf/kyua In collaboration with: pho, sjg Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T01:39:07.705095Z K 7 svn:log V 97 Integrate bin/sleep/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T01:46:31.161875Z K 7 svn:log V 99 Integrate usr.bin/cut/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T01:53:23.109160Z K 7 svn:log V 100 Integrate usr.bin/grep/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-09T01:54:32.765822Z K 7 svn:log V 218 Properly NUL-terminate the on-stack buffer for reading /boot.config or /boot/config. In qemu, on a warm boot, the stack is not all zeroes and we parse beyond the file's contents. Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-09T01:59:25.569648Z K 7 svn:log V 81 Apply r269126 to tty_timedwait(): Don't return ERESTART when the device is gone. END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T02:07:34.415510Z K 7 svn:log V 126 Integrate usr.bin/diff/tests from NetBSD into atf/kyua at gnu/usr.bin/diff/tests Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 ngie K 8 svn:date V 27 2014-10-09T02:24:34.181394Z K 7 svn:log V 100 Integrate usr.bin/gzip/tests from NetBSD into atf/kyua Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-09T02:30:38.930238Z K 7 svn:log V 735 Fix draining in ttydev_leave(): 1. ERESTART is not only returned when the revoke count changed. It is also returned when a signal is received. While a change in the revoke count should be ignored, a signal should not. 2. Waiting until the output queue is entirely drained can cause a hang when the underlying device is stuck or broken. Have tty_drain() take care of this by telling it when we're leaving. When leaving, tty_drain() will use a timed wait to address point 2 above and it will check the revoke count to handle point 1 above. The timeout is set to 1 second, which is arbitrary and long enough to expect a change in the output queue. Discussed with: jilles@ Reported by: Yamagi Burmeister END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-09T02:49:33.634736Z K 7 svn:log V 323 MFC r271307: Add the ability to set `prefer_source' flag to an IPv6 address. It affects the IPv6 source address selection algorithm (RFC 6724) and allows override the last rule ("longest matching prefix") for choosing among equivalent addresses. The address with `prefer_source' will be preferred source address. END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-10-09T03:07:13.441102Z K 7 svn:log V 578 MFC r238273 (by hrs): Remove "prefer_source" address selection option. FreeBSD has had an implementation of RFC 3484 for this purpose for a long time and "prefer_source" was never implemented actually. ND6_IFF_PREFER_SOURCE macro is left intact. MFC r271307: Add the ability to set `prefer_source' flag to an IPv6 address. It affects the IPv6 source address selection algorithm (RFC 6724) and allows override the last rule ("longest matching prefix") for choosing among equivalent addresses. The address with `prefer_source' will be preferred source address. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-09T03:20:28.752106Z K 7 svn:log V 222 Add /usr/local/bin and /usr/local/sbin to PATH, needed if third-party software needs to use utilities outside of the base system during post-install stages (indexinfo is one culprit). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-09T03:29:52.121103Z K 7 svn:log V 416 Add prototypes for build-specific tuning: - vm_prebuild_setup(): Steps to run prior to creating the file-backed disk image. - vm_setup(): Steps to run while the file-backed disk image is mounted. - vm_postbuild_setup(): Steps to run after the file-backed disk image is dismounted. The intention is to override as necessary via build configuration files, as needed. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-09T03:50:38.283986Z K 7 svn:log V 113 Allow mk-vmimage.sh to accept a configuration file as an argument to '-c'. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-10-09T04:10:58.170557Z K 7 svn:log V 117 Reference vm_prebuild_setup(), vm_setup(), and vm_postbuild_setup() functions. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-09T04:40:19.793927Z K 7 svn:log V 338 Add M_FLOWID to M_COPYFLAGS The M_FLOWID flag should be propagated to the new mbuf pkthdr in m_move_pkthdr() and m_dup_pkthdr(). The new mbuf already got the existing flowid value, but would be ignored since the flag was not set. Phabricator: https://reviews.freebsd.org/D914 Reviewed by: adrian Obtained from: NetApp MFC after: 1 week END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-09T05:17:47.667045Z K 7 svn:log V 460 Check for mbuf copy failure when there are multiple multicast sockets This partitular case is the only path where the mbuf could be NULL. udp_append() checked for a NULL mbuf only after invoking the tunneling callback. Our only in tree tunneling callback - SCTP - assumed a non NULL mbuf, and it is a bit odd to make the callbacks responsible for checking this condition. This also reduces the differences between the IPv4 and IPv6 code. MFC after: 1 month END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-09T05:28:11.810121Z K 7 svn:log V 185 MFC r272650: Set CAM_SIM_QUEUED flag before calling ctl_queue() to avoid race. PR: 194128 Submitted by: Scott M. Ferris Sponsored by: EMC/Isilon Storage Division END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-10-09T05:33:25.501189Z K 7 svn:log V 765 Add a bus method to fetch the VM domain for the given device/bus. * Add a bus_if.m method - get_domain() - returning the VM domain or ENOENT if the device isn't in a VM domain; * Add bus methods to print out the domain of the device if appropriate; * Add code in srat.c to save the PXM -> VM domain mapping that's done and expose a function to translate VM domain -> PXM; * Add ACPI and ACPI PCI methods to check if the bus has a _PXM attribute and if so map it to the VM domain; * (.. yes, this works recursively.) * Have the pci bus glue print out the device VM domain if present. Note: this is just the plumbing to start enumerating information - it doesn't at all modify behaviour. Differential Revision: D906 Reviewed by: jhb Sponsored by: Norse Corp END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-10-09T05:34:28.489108Z K 7 svn:log V 165 Missing from previous commit - keep the VM domain -> PXM mapping array and use it to map PXM -> VM domain when needed. Differential Revision: D906 Reviewed by: jhb END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-09T05:42:07.259819Z K 7 svn:log V 188 Move the calls to u_tun_func() into udp6_append() A similar cleanup for UDPv4 was performed in r220620. Phabricator: https://reviews.freebsd.org/D383 Reviewed by: gnn MFC after: 1 month END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-09T05:48:06.360909Z K 7 svn:log V 539 5169 zdb should limit its ARC size 5170 zdb -c should create more scrub i/os by default 5171 zdb should print status while loading metaslabs for leak detection Reviewed by: Christopher Siden Reviewed by: George Wilson Reviewed by: Paul Dagnelie Reviewed by: Bayard Bell Approved by: Robert Mustacchi Author: Matthew Ahrens illumos/illumos-gate@06be98028b8a84e7f327188613dd09a708294d1a END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-09T05:50:23.845019Z K 7 svn:log V 422 5175 implement dmu_read_uio_dbuf() to improve cached read performance Reviewed by: Adam Leventhal Reviewed by: Alex Reece Reviewed by: George Wilson Reviewed by: Richard Elling Approved by: Robert Mustacchi Author: Matthew Ahrens illumos/illumos-gate@f8554bb92be6be88a684bea58293b41a6168a538 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-09T05:53:04.876137Z K 7 svn:log V 403 3693 restore_object uses at least two transactions to restore an object Reviewed by: Christopher Siden Reviewed by: George Wilson Reviewed by: Andriy Gapon Approved by: Robert Mustacchi Author: Matthew Ahrens illumos/illumos-gate@e77d42eaa49fe55bfae1e0e0065c6e99affc001b END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-09T05:53:58.506030Z K 7 svn:log V 195 Use proper variable when looping through periphs with CAM_PERIPH_FREE. PR: 194256 Submitted by: Scott M. Ferris MFC after: 3 days Sponsored by: EMC/Isilon Storage Division END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-09T06:02:53.705397Z K 7 svn:log V 492 MFV r272802: - Limit ARC for zdb at 256MB. zdb do not typically revisit data in the ARC. - Increase default max_inflight from 200 to 1000 (can be overriden by -I) so we can queue more I/Os when doing scrubbing. - Print status while loading meataslabs for leak detection. Illumos issues: 5169 zdb should limit its ARC size 5170 zdb -c should create more scrub i/os by default 5171 zdb should print status while loading metaslabs for leak detection MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-09T06:24:06.549822Z K 7 svn:log V 132 Refine support for disabling USB enumeration to allow device detach and suspend and resume of existing devices. MFC after: 2 weeks END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-09T06:58:33.625757Z K 7 svn:log V 69 Fix build with rpcgen using a recent (tested with gcc 4.9.1) GNU cpp END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-09T07:18:40.831550Z K 7 svn:log V 123 MFV r272803: Illumos issue: 5175 implement dmu_read_uio_dbuf() to improve cached read performance MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-10-09T07:52:51.611595Z K 7 svn:log V 200 MFV r272804: Refactor the code and stop restore_object from creating two transactions. Illumos issue: 3693 restore_object uses at least two transactions to restore an object MFC after: 2 weeks END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-09T09:04:01.343427Z K 7 svn:log V 568 Add CROSS_TOOLCHAIN macro select pre seeded external toolchain configuration files The goal is to provide pre seeded toolchain configurations withing the ports tree to allow the use of an external toolchain in a simple way: make CROSS_TOOLCHAIN=powerpc64-gcc TARGET=powerpc TARGET_ARCH=powerpc64 buildworld This will look for the external toolchain definition in /usr/local/share/mk/powerpc64-gcc.mk While here add the notion of X_COMPILER_TYPE to the external toolchain framework to allow to deal with differences between gcc and clang in regards of cross building END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-10-09T09:12:08.792976Z K 7 svn:log V 236 Make iSCSI connection close somewhat less aggressive. It allows to push out some final data from the send queue to the socket before its close. In particular, it increases chances for logout response to be delivered to the initiator. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-09T09:46:44.743567Z K 7 svn:log V 57 Fix build when XCC is defined and X_COMPILER_TYPE is not END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-09T10:47:14.063554Z K 7 svn:log V 42 Add OBJCOPY to the list of external tools END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-09T12:20:00.630835Z K 7 svn:log V 9 Fix typo END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-09T12:35:17.724747Z K 7 svn:log V 130 Only catch the line from the compiler output where 'version' is a word This allows to build the kernel with gcc 4.9.1 from ports END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-09T12:37:53.323034Z K 7 svn:log V 113 * Wire large user buffer before processing GET request. * Fix incorrect size calculation for IP_FW_XGET request. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-09T12:54:56.464953Z K 7 svn:log V 100 * Fix use-after-free in table printing code. * Fix showing human-readable error in table cmds code. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-09T13:36:37.919491Z K 7 svn:log V 98 MF10 r272773: Add QCOW v1 & v2 support Requested by: gjb@ Approved by: re (marius) Relnotes: yes END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-09T13:58:19.690457Z K 7 svn:log V 54 Add example devd configuration file for USB printers. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-09T14:33:20.857762Z K 7 svn:log V 94 Fix core on table destroy inroduced by table values code. Rename @ti array copy to 'ti_copy'. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-10-09T14:43:43.938814Z K 7 svn:log V 191 Add sysctl knob to disable port power on a specific USB HUB. You need to reset the USB HUB using "usbconfig -d X.Y reset" or boot having the setting in /boot/loader.conf before it activates. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-09T15:16:52.564995Z K 7 svn:log V 975 Move the SCTP syscalls to netinet with the rest of the SCTP code. The syscalls themselves are tightly coupled with the network stack and therefore should not be in the generic socket code. The following four syscalls have been marked as NOSTD so they can be dynamically registered in sctp_syscalls_init() function: sys_sctp_peeloff sys_sctp_generic_sendmsg sys_sctp_generic_sendmsg_iov sys_sctp_generic_recvmsg The syscalls are also set up to be dynamically registered when COMPAT32 option is configured. As a side effect of moving the SCTP syscalls, getsock_cap needs to be made available outside of the uipc_syscalls.c source file. A proper prototype has been added to the sys/socketvar.h header file. API tests from the SCTP reference implementation have been run to ensure compatibility. (http://code.google.com/p/sctp-refimpl/source/checkout) Submitted by: Steve Kiernan Reviewed by: tuexen, rrs Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-10-09T15:19:35.341265Z K 7 svn:log V 205 Regenerate after r272823: Move the SCTP syscalls to netinet with the rest of the SCTP code. Submitted by: Steve Kiernan Reviewed by: tuexen, rrs Obtained from: Juniper Networks, Inc. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-09T15:26:22.829600Z K 7 svn:log V 98 Use offsetof() from sys/types.h instead of a custom one This fixes build with recent gcc versions END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-09T15:35:28.473794Z K 7 svn:log V 22 Sync to HEAD@r272825. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-09T15:52:01.252299Z K 7 svn:log V 41 Add size(1) to the cross build toolchain END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-09T16:12:01.909457Z K 7 svn:log V 26 Bump ipfw module version. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-10-09T16:39:10.200327Z K 7 svn:log V 126 When building with a newer GCC, suppress some warnings for the moment. The kernel isn't ready for them without a lot of work. END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-09T16:45:11.466221Z K 7 svn:log V 85 Change the hardcoded default back from SHA512 to DES. PR: 192277 MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-10-09T16:48:42.285783Z K 7 svn:log V 89 Shuffle things. Suggested by: jhb Differential Revision: D906 Sponsored by: Norse Corp END K 10 svn:author V 4 bapt K 8 svn:date V 27 2014-10-09T17:26:29.949234Z K 7 svn:log V 85 Backout r272825 every useland usage of ufs/ufs/dir.h are now broken with that change END K 10 svn:author V 3 des K 8 svn:date V 27 2014-10-09T17:39:11.252998Z K 7 svn:log V 101 Two more places where login_setcryptfmt() defaults to MD5 were missed in r252688. MFC after: 3 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-10-09T17:45:58.930582Z K 7 svn:log V 216 Document the CPU+Pri_Class column rather than CPU+PRI, as the latter isn't used or implemented on FreeBSD. Reported by: kmacy Reviewed by: kmacy, rpaulo MFC after: 1 week Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-09T18:03:12.907274Z K 7 svn:log V 19 Merge HEAD@r272834 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2014-10-09T18:49:58.611062Z K 7 svn:log V 94 Remove remnants of some cleanup; no functional changes. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-09T18:50:37.388993Z K 7 svn:log V 97 Remove mergeinfo from sys/gnu/dts/arm to deal with Missing ranges: /head/sys/gnu/dts/arm:271140 END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-09T19:02:32.258729Z K 7 svn:log V 384 iasl(8) expects integer fields in data tables to be specified as hexadecimal values. Therefore the bit width of the "PM Timer Block" was actually being interpreted as 50-bits instead of the expected 32-bit. This eliminates an error message emitted by a Linux 3.17 guest during boot: "Invalid length for FADT/PmTimerBlock: 50, using default 32" Reviewed by: grehan MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-10-09T19:13:33.481539Z K 7 svn:log V 186 Support Intel-specific MSRs that are accessed when booting up a linux in bhyve: - MSR_PLATFORM_INFO - MSR_TURBO_RATIO_LIMITx - MSR_RAPL_POWER_UNIT Reviewed by: grehan MFC after: 1 week END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-10-09T19:32:35.408650Z K 7 svn:log V 2813 Merge projects/ipfw to HEAD. Main user-visible changes are related to tables: * Tables are now identified by names, not numbers. There can be up to 65k tables with up to 63-byte long names. * Tables are now set-aware (default off), so you can switch/move them atomically with rules. * More functionality is supported (swap, lock, limits, user-level lookup, batched add/del) by generic table code. * New table types are added (flow) so you can match multiple packet fields at once. * Ability to add different type of lookup algorithms for particular table type has been added. * New table algorithms are added (cidr:hash, iface:array, number:array and flow:hash) to make certain types of lookup more effective. * Table value are now capable of holding multiple data fields for different tablearg users Performance changes: * Main ipfw lock was converted to rmlock * Rule counters were separated from rule itself and made per-cpu. * Radix table entries fits into 128 bytes * struct ip_fw is now more compact so more rules will fit into 64 bytes * interface tables uses array of existing ifindexes for faster match ABI changes: All functionality supported by old ipfw(8) remains functional. Old & new binaries can work together with the following restrictions: * Tables named other than ^\d+$ are shown as table(65535) in ruleset in old binaries Internal changes:. Changing table ids to numbers resulted in format modification for most sockopt codes. Old sopt format was compact, but very hard to extend (no versioning, inability to add more opcodes), so * All relevant opcodes were converted to TLV-based versioned IP_FW3-based codes. * The remaining opcodes were also converted to be able to eliminate all older opcodes at once * All IP_FW3 handlers uses special API instead of calling sooptcopy* directly to ease adding another communication methods * struct ip_fw is now different for kernel and userland * tablearg value has been changed to 0 to ease future extensions * table "values" are now indexes in special value array which holds extended data for given index * Batched add/delete has been added to tables code * Most changes has been done to permit batched rule addition. * interface tracking API has been added (started on demand) to permit effective interface tables operations * O(1) skipto cache, currently turned off by default at compile-time (eats 512K). * Several steps has been made towards making libipfw: * most of new functions were separated into "parse/prepare/show and actuall-do-stuff" pieces (already merged). * there are separate functions for parsing text string into "struct ip_fw" and printing "struct ip_fw" to supplied buffer (already merged). * Probably some more less significant/forgotten features MFC after: 1 month Sponsored by: Yandex LLC END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-10-09T20:08:12.287435Z K 7 svn:log V 145 Ensure that the flags field of sctp_tmit_chunks is initialized. Thanks to Peter Bostroem from Google for reporting the issue. MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-10-09T20:39:18.635518Z K 7 svn:log V 344 Always return pathname in dl_iterate_phdr's dlpi_name, as Linux does Linux LD_ITERATE_PHDR(3): The dlpi_name field is a null-terminated string giving the pathname from which the shared object was loaded. That functionality is much more useful than returning just the short name. Approved by: kan Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2014-10-09T20:55:05.692786Z K 7 svn:log V 229 Fix problem on big endian systems introduced in r271579 - when we were returning from handling a nested nvlist we were resetting big-endian flag. Reported by: Kuleshov Aleksey @ yandex.ru Tested by: Kuleshov Aleksey @ yandex.ru END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-10-09T22:36:21.322349Z K 7 svn:log V 140 Add missing UDP multicast receive dtrace probes Phabricator: https://reviews.freebsd.org/D924 Reviewed by: rpaulo markj MFC after: 1 month END K 10 svn:author V 5 kargl K 8 svn:date V 27 2014-10-09T22:39:52.908507Z K 7 svn:log V 1454 The value small=2**-(p+3), where p is the precision, can be determine from lgamma(x) = -log(x) - log(1+x) + x*(1-g) + x**2*P(x) with g = 0.57... being the Euler constant and P(x) a polynomial. Substitution of small into the RHS shows that the last 3 terms are negligible in comparison to the leading term. The choice of 3 may be conservative. The value large=2**(p+3) is detemined from Stirling's approximation lgamma(x) = x*(log(x)-1) - log(x)/2 + log(2*pi)/2 + P(1/x)/x Again, substitution of large into the RHS reveals the last 3 terms are negligible in comparison to the leading term. Move the x=+-0 special case into the |x|