Ĭ$267186 166 4045 263 143 113 144 450 114 821 172 748 189 219 140 150 168 216 168 239 198 251 148 226 193 193 779 219 198 1021 143 109 284 418 153 166 141 323 125 158 176 141 750 182 724 121 125 214 407 720 117 113 504 444 115 149 486 236 377 540 278 204 244 303 211 266 167 195 270 686 673 803 142 145 156 143 135 127 168 149 171 346 117 179 467 229 391 390 318 427 201 402 990 132 133 505 136 297 299 216 512 153 131 158 184 193 420 394 113 120 159 210 219 204 210 194 218 362 171 174 203 489 202 498 206 918 249 567 328 187 928 168 153 144 255 145 181 353 418 262 142 161 203 191 315 200 257 677 230 346 524 426 290 418 175 783 445 301 242 410 160 561 147 480 480 580 507 226 K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-06-06T20:35:40.533208Z K 7 svn:log V 3947 MFC changes relating to running multiple interfaces on different fibs but with addresses on the same subnet. MFC r266860 Fix unintended KBI change from r264905. Add _fib versions of ifa_ifwithnet() and ifa_ifwithdstaddr() The legacy functions will call the _fib() versions with RT_ALL_FIBS, preserving legacy behavior. sys/net/if_var.h sys/net/if.c Add legacy-compatible functions as described above. Ensure legacy behavior when RT_ALL_FIBS is passed as fibnum. sys/netinet/in_pcb.c sys/netinet/ip_output.c sys/netinet/ip_options.c sys/net/route.c sys/net/rtsock.c sys/netinet6/nd6.c Call with _fib() functions if we must use a specific fib, or the legacy functions otherwise. tests/sys/netinet/fibs_test.sh tests/sys/netinet/udp_dontroute.c Improve the udp_dontroute test. The bug that this test exercises is that ifa_ifwithnet() will return the wrong address, if multiple interfaces have addresses on the same subnet but with different fibs. The previous version of the test only considered one possible failure mode: that ifa_ifwithnet_fib() might fail to find any suitable address at all. The new version also checks whether ifa_ifwithnet_fib() finds the correct address by checking where the ARP request goes. MFC r264917 Style fixes, mostly trailing whitespace elimination. No functional change. MFC r264905 Fix subnet and default routes on different FIBs on the same subnet. These two bugs are closely related. The root cause is that ifa_ifwithnet does not consider FIBs when searching for an interface address. sys/net/if_var.h sys/net/if.c Add a fib argument to ifa_ifwithnet and ifa_ifwithdstadddr. Those functions will only return an address whose interface fib equals the argument. sys/net/route.c Update calls to ifa_ifwithnet and ifa_ifwithdstaddr with fib arguments. sys/netinet/in.c Update in_addprefix to consider the interface fib when adding prefixes. This will prevent it from not adding a subnet route when one already exists on a different fib. sys/net/rtsock.c sys/netinet/in_pcb.c sys/netinet/ip_output.c sys/netinet/ip_options.c sys/netinet6/nd6.c Add RT_DEFAULT_FIB arguments to ifa_ifwithdstaddr and ifa_ifwithnet. In some cases it there wasn't a clear specific fib number to use. In others, I was unable to test those functions so I chose RT_DEFAULT_FIB to minimize divergence from current behavior. I will fix some of the latter changes along with PR kern/187553. tests/sys/netinet/fibs_test.sh tests/sys/netinet/udp_dontroute.c tests/sys/netinet/Makefile Revert r263738. The udp_dontroute test was right all along. However, bugs kern/187550 and kern/187553 cancelled each other out when it came to this test. Because of kern/187553, ifa_ifwithnet searched the default fib instead of the requested one, but because of kern/187550, there was an applicable subnet route on the default fib. The new test added in r263738 doesn't work right, however. I can verify with dtrace that ifa_ifwithnet returned the wrong address before I applied this commit, but route(8) miraculously found the correct interface to use anyway. I don't know how. Clear expected failure messages for kern/187550 and kern/187552. MFC r263738 tests/sys/netinet/Makefile tests/sys/netinet/fibs.sh Replace fibs:udp_dontroute with fibs:src_addr_selection_by_subnet. The original test was poorly written; it was actually testing kern/167947 instead of the desired kern/187553. The root cause of the bug is that ifa_ifwithnet did not have a fib argument. The new test more directly targets that behavior. tests/sys/netinet/udp_dontroute.c Delete the auxilliary binary used by the old test END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-06T20:49:56.064684Z K 7 svn:log V 168 make sure if_transmit returns 0 if the mbuf is enqueued. ixgbe/ixv.c still needs a similar fix but it takes a little more restructuring of the code. MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-06T20:59:29.065242Z K 7 svn:log V 50 Import OpenSSL 1.0.1h. Approved by: so (delphij) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-06T21:00:19.389240Z K 7 svn:log V 20 Tag OpenSSL 1.0.1h. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-06T21:38:34.769469Z K 7 svn:log V 51 Import OpenSSL 0.9.8za. Approved by: so (delphij) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-06-06T21:38:49.649320Z K 7 svn:log V 352 The new NFS server would not allow a hard link to be created to a symlink. This restriction (which was inherited from OpenBSD) is not required by the NFS RFCs. Since this is allowed by the old NFS server, it is a POLA violation to not allow it. This patch modifies the new NFS server to allow this. Reported by: jhb Reviewed by: jhb MFC after: 3 days END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-06T21:39:16.235340Z K 7 svn:log V 21 Tag OpenSSL 0.9.8za. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-06-06T21:45:14.523418Z K 7 svn:log V 724 MFC r264887 Fix host and network routes for new interfaces when net.add_addr_allfibs=0 sys/net/route.c In rtinit1, use the interface fib instead of the process fib. The latter wasn't very useful because ifconfig(8) is usually invoked with the default process fib. Changing ifconfig(8) to use setfib(2) would be redundant, because it already sets the interface fib. tests/sys/netinet/fibs_test.sh Clear the expected ATF failure sys/net/if.c Pass the interface fib in calls to rtrequest1_fib and rtalloc1_fib sys/netinet/in.c sys/net/if_var.h Add a fibnum argument to ifa_switch_loopback_route, a subroutine of in_scrubprefix. Pass it the interface fib. END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-06-06T21:58:27.678315Z K 7 svn:log V 80 Add Ukranian vt(4) keymaps as an example. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-06-06T22:14:25.494452Z K 7 svn:log V 651 MFC changes related to PR kern/189089. Unlike CURRENT, stable/10 does not panic when you attempt to remove the IP address. But it still fails to remove the address. MFC r265094 Add regression test for PR kern/189088. MFC r265092 Fix a panic when removing an IP address from an interface, if the same address exists on another interface. The panic was introduced by change 264887, which changed the fibnum parameter in the call to rtalloc1_fib() in ifa_switch_loopback_route() from RT_DEFAULT_FIB to RT_ALL_FIBS. The solution is to use the interface fib in that call. For the majority of users, that will be equivalent to the legacy behavior. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2014-06-06T22:52:11.309853Z K 7 svn:log V 93 Add support for inspecting process flags set in p_flag2. Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-06T23:53:59.876827Z K 7 svn:log V 123 Add Makefiles to automatically test all the DTS files. There are several broken DTS files right now in the arm directory. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-06-07T02:30:10.134624Z K 7 svn:log V 48 Add WITH*, *.mk and *.inc patterns to the list. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-07T02:38:13.904086Z K 7 svn:log V 55 Fix the script to run make_dtb.sh instead of just dtc. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-07T02:45:24.498220Z K 7 svn:log V 76 MFC r266609: Change the _rtld_atfork() to lock the bind lock in write mode. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-07T02:49:39.395547Z K 7 svn:log V 123 MFC r267067: Cross-reference jot(1) and seq(1). MFC r267098 (by pluknet): mdoc: drop the trailing dot from the xref list. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-07T02:55:53.253271Z K 7 svn:log V 73 Mov p2041rdb.dts, p3041ds.dts, and p5020ds.dts to the powerpc directory. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-07T03:39:12.099726Z K 7 svn:log V 146 MFC r267067: Cross-reference jot(1) and seq(1). MFC r267098 (by pluknet): mdoc: drop the trailing dot from the xref list. Approved by: re (gjb) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-07T04:55:19.658607Z K 7 svn:log V 100 Move the state save/restore to the bus_generic_suspend_child/resume_child, where it really belongs. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-07T05:05:58.114887Z K 7 svn:log V 153 Use bus_generic_suspend_child/resume_child instead of directly using DEVICE_SUSPEND_CHILD/DEVICE_RESUME_CHILD, so that extra bookkeeping can take place. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-07T05:07:52.554038Z K 7 svn:log V 51 Mark the mac-io GPIO bus as a BUS_PASS_BUS driver. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-07T05:09:41.966489Z K 7 svn:log V 128 Mark the PMU extint-gpio as an early driver, for suspend/resume purposes. Also add the suspend/resume EVENTHANDLER invocations. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-07T05:12:55.975453Z K 7 svn:log V 96 Add a macio function to reset an ATA channel. This will be used by ata_macio.c for ATA resets. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-07T05:14:07.703981Z K 7 svn:log V 96 Add an ATA channel reset handler for the macio controller. This is used during suspend/resume. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-07T07:23:17.848018Z K 7 svn:log V 681 Some further DWC OTG improvements for full speed and low speed devices: - Revert r265427. It appears we are halting the DWC OTG host controller schedule if we process events only at every SOF. When doing split transactions we rely on that events are processed quickly and waiting too long might cause data loss. - We are not always able to meet the timing requirements of interrupt endpoint split transactions. Switch from INTERRUPT to CONTROL endpoint type for interrupt endpoint events until further, hence CONTROL endpoint events are more relaxed, reducing the chance of data loss. See comment in code for more in-depth explanation. - Simplify TT scheduling. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-07T10:13:45.762986Z K 7 svn:log V 121 Fix for USB specification compliance. We need to accept both DATA0 and DATA1 for INTERRUPT endpoints. MFC after: 3 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-07T15:51:29.790178Z K 7 svn:log V 100 Make WITNESS happy by giving USB mutexes different names. Reported by: trociny @ MFC after: 3 days END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-06-07T17:12:26.724718Z K 7 svn:log V 928 Add a page size field to struct vm_page. Increase the page size field when a partially populated reservation becomes fully populated, and decrease this field when a fully populated reservation becomes partially populated. Use this field to simplify the implementation of pmap_enter_object() on amd64, arm, and i386. On all architectures where we support superpages, the cost of creating a superpage mapping is roughly the same as creating a base page mapping. For example, both kinds of mappings entail the creation of a single PTE and PV entry. With this in mind, use the page size field to make the implementation of vm_map_pmap_enter(..., MAP_PREFAULT_PARTIAL) a little smarter. Previously, if MAP_PREFAULT_PARTIAL was specified to vm_map_pmap_enter(), that function would only map base pages. Now, it will create up to 96 base page or superpage mappings. Reviewed by: kib Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-06-07T19:12:43.257984Z K 7 svn:log V 46 MFC: r266931 Grammar cleanup; sort SEE ALSO. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2014-06-07T19:42:37.527294Z K 7 svn:log V 12 IFC@r267209 END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-06-07T21:36:52.330560Z K 7 svn:log V 190 Add ioctl(VM_REINIT) to reinitialize the virtual machine state maintained by vmm.ko. This allows the virtual machine to be restarted without having to destroy it first. Reviewed by: grehan END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-06-07T23:05:12.262286Z K 7 svn:log V 322 Set the guest PAT MSR in the VMCB to power-on defaults. Linux guests accept the values in this register, while *BSD guests reprogram it. Default values of zero correspond to PAT_UNCACHEABLE, resulting in glacial performance. Thanks to Willem Jan Withagen for first reporting this and helping out with the investigation. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-06-07T23:08:06.136628Z K 7 svn:log V 58 Allow the TSC MSR to be accessed directly from the guest. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-06-08T06:35:08.488344Z K 7 svn:log V 69 MFC: r266931 Grammar cleanup; sort SEE ALSO. Approved by: re (gjb) END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-06-08T09:08:51.625784Z K 7 svn:log V 50 Remove unused variable. Sponsored by: Yandex LLC END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-08T09:40:26.071815Z K 7 svn:log V 230 Introduce new per-thread lock to protect the list of requests. This allows to slightly simplify svc_run_internal() code: if we processed all the requests in a queue, then we know that new one will not appear. MFC after: 2 weeks END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-06-08T09:49:42.805567Z K 7 svn:log V 31 Import xf86-input-evdev 2.3.3. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-08T10:18:22.609803Z K 7 svn:log V 66 Remove st_idle variable, duplicating st_xprt. MFC after: 2 weeks END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-06-08T10:21:29.811128Z K 7 svn:log V 82 Don't rely on ioctl() returning any positive value (as it can't do it on FreeBSD) END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-06-08T10:22:03.275828Z K 7 svn:log V 47 Include correct evdev header files on FreeBSD. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-08T10:55:06.321838Z K 7 svn:log V 657 Initialize the pbuf counter for directio using SYSINIT, instead of using a direct hook called from kern_vfs_bio_buffer_alloc(). Mark ffs_rawread.c as requiring both ffs and directio options to be compiled into the kernel. Add ffs_rawread.c to the list of ufs.ko module' sources. In addition to stopping breaking the layering violation, it also allows to link kernel when FFS is configured as module and DIRECTIO is enabled. One consequence of the change is that ffs_rawread.o is always linked into the module regardless of the DIRECTIO option. This is similar to the option QUOTA and ufs_quota.c. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-08T10:56:25.564690Z K 7 svn:log V 90 Remove write-only local variable. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-08T11:19:32.071445Z K 7 svn:log V 631 Split RPC pool threads into number of smaller semi-isolated groups. Old design with unified thread pool was good from the point of thread utilization. But single pool-wide mutex became huge congestion point for systems with many CPUs. To reduce the congestion create several thread groups within a pool (one group for every 6 CPUs and 12 threads), each group with own mutex. Each connection during its registration is assigned to one of the groups in round-robin fashion. File affinify code may still move requests between the groups, but otherwise groups are self-contained. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-06-08T11:24:02.278587Z K 7 svn:log V 27 Import libevdev @93bc9a32. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-06-08T11:27:21.561835Z K 7 svn:log V 31 Import python-evdev @91a04332. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-08T14:02:25.644378Z K 7 svn:log V 118 MFC r267078, r267079: Update vt(4) console font author's email address Remove extra copy of old email address. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-08T15:38:40.172756Z K 7 svn:log V 314 Use atomics to modify numvnodes variable. This allows to mostly avoid lock usage in getnewvnode_[drop_]reserve(), that reduces number of global vnode_free_list_mtx mutex acquisitions from 4 to 2 per NFS request on ZFS, improving SMP scalability. Reviewed by: kib MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-06-08T17:29:31.972555Z K 7 svn:log V 622 In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE. This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb Discussed between: des@ and Shawn Webb [2] END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2014-06-08T17:33:37.387064Z K 7 svn:log V 20 Regen after r267233 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-06-08T17:43:19.152763Z K 7 svn:log V 17 Merge from head. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-06-08T17:50:07.605304Z K 7 svn:log V 403 MFC r260913,266895: Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the device is an active kernel console and "off" otherwise. This is designed to allow serial-booting x86 systems to provide a login prompt on the serial line by default without providing one on all systems by default. Set this flag on x86 systems for ttyu0. Comments and suggestions by: grehan, dteske, jilles END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-06-08T18:09:42.367343Z K 7 svn:log V 347 - Fixup documentation for vm_page_unwire(). - Add stronger checks when queueing and dequeueing pages from the pagequeues. - Modify the vm_page_unwire() KPI by having it to accept directly the queue where to enqueue the page after the wire count reaches 0. This will make the interface quickly more extendible if new page queues are added. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-06-08T18:11:53.897980Z K 7 svn:log V 19 Fixup compilation. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-08T19:01:37.908809Z K 7 svn:log V 57 Remove extra branching from r267232. MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-08T20:10:29.329770Z K 7 svn:log V 388 Resolve a deadlock setting the USB configuration index from userspace on USB HUBs by moving the code into the USB explore threads. The deadlock happens because child devices of the USB HUB don't have the expected reference count when called from outside the explore thread. Only the HUB device itself, which the IOCTL interface locks, gets the correct reference count. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-06-08T20:20:08.203004Z K 7 svn:log V 144 IFH@r267239 Update the branch to latest HEAD which includes a new version of unbound. Resolve conflicts and merge changes for the DNS64 patch. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-08T20:39:39.081599Z K 7 svn:log V 279 MFC r267044, r267120, r267210 and r267211: Multiple fixes for FULL and LOW speed USB transfers going through the DWC OTG as split transactions. INTERRUPT transfers should have a higher chance of success after this series of patches and the chance of data loss should be reduced. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-06-08T21:21:54.799454Z K 7 svn:log V 439 MFC r260913,266895: Add a new flag to /etc/ttys: onifconsole. This is equivalent to "on" if the device is an active kernel console and "off" otherwise. This is designed to allow serial-booting x86 systems to provide a login prompt on the serial line by default without providing one on all systems by default. Set this flag on x86 systems for ttyu0. Comments and suggestions by: grehan, dteske, jilles Approved by: re (gjb) Relnotes: yes END K 10 svn:author V 2 np K 8 svn:date V 27 2014-06-08T23:22:25.271025Z K 7 svn:log V 186 MFC r267082: cxgbe(4): Properly account for the freelist buffers used when returning early from service_iq due to a budget restriction. This fixes a potential rx hang when using INTx. END K 10 svn:author V 3 alc K 8 svn:date V 27 2014-06-09T00:15:16.001159Z K 7 svn:log V 111 Refresh a comment. The VM_STACK option was eliminated in r43209. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-09T01:24:53.980501Z K 7 svn:log V 151 MFC r267160: Dereference portaudit(1), as it is now deprecated and its functionality exists in pkg-audit(8). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 2 np K 8 svn:date V 27 2014-06-09T01:39:47.773888Z K 7 svn:log V 211 MFC r267082: cxgbe(4): Properly account for the freelist buffers used when returning early from service_iq due to a budget restriction. This fixes a potential rx hang when using INTx. Approved by: re@ (gjb) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-06-09T01:54:00.759472Z K 7 svn:log V 115 acpiconf(8): document 'k' option Add missing documentation for the 'k' option based on reading the source code. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-09T02:26:41.831160Z K 7 svn:log V 173 MFC r267160: Dereference portaudit(1), as it is now deprecated and its functionality exists in pkg-audit(8). Approved by: re (kib) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-09T02:30:57.175590Z K 7 svn:log V 75 Document r267236, ttys 'onifconsole' Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-09T02:33:39.154234Z K 7 svn:log V 102 Document r267243, ttys 'onifconsole' Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-09T02:39:05.653349Z K 7 svn:log V 174 Remove an unnecessary variable reassignment And it would be bad if 'm' was different from '*m0' at this point, since we've already populated the SG list. MFC after: 3 days END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-09T02:45:53.765344Z K 7 svn:log V 590 Fix TSO support on VMware Fusion Apparently for VMware Fusion (and presumably VMware Workstation/Player since the PR states TSO is broken there too, but I cannot test), the TCP header pseudo checksum calculated should only include the protocol (IPPROTO_TCP) value, not also the lengths as the stack does instead. VMware ESXi seems to ignore whatever value is in the TCP header checksum, and it is a bit surprising there is a different behavior between the VMware products. And it is unfortunate that on ESXi we are forced to do this extra bit of work. PR: kern/185849 MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-09T03:37:41.646491Z K 7 svn:log V 580 Make mmap(MAP_STACK) search for the available address space, similar to !MAP_STACK mapping requests. For MAP_STACK | MAP_FIXED, clear any mappings which could previously exist in the used range. For this, teach vm_map_find() and vm_map_fixed() to handle MAP_STACK_GROWS_DOWN or _UP cow flags, by calling a new vm_map_stack_locked() helper, which is factored out from vm_map_stack(). The side effect of the change is that MAP_STACK started obeying MAP_ALIGNMENT and MAP_32BIT flags. Reported by: rwatson Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-09T03:38:03.546308Z K 7 svn:log V 710 Change the nblock mutex, protecting the needsbuffer buffer deficit flags, to rwlock. Lock it in read mode when used from subroutines called from buffer release code paths. The needsbuffer is now updated using atomics, while read lock of nblock prevents loosing the wakeups from bufspacewakeup() and bufcountadd() in getnewbuf_bufd_help(). In several interesting loads, needsbuffer flags are never set, while buffers are reused quickly. This causes brelse() and bqrelse() from different threads to content on the nblock. Now they take nblock in read mode, together with needsbuffer not needing an update, allowing higher parallelism. Tested by: pho Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-09T05:50:57.813594Z K 7 svn:log V 49 Merge OpenSSL 1.0.1h. Approved by: so (delphij) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-06-09T05:56:18.246501Z K 7 svn:log V 48 MFC: r267184 Add vte(4) to the hardware notes. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-09T06:00:28.213545Z K 7 svn:log V 63 MFC: r267256 Merge OpenSSL 1.0.1h. Approved by: so (delphij) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-09T06:03:38.490442Z K 7 svn:log V 50 Merge OpenSSL 0.9.8za. Approved by: so (delphij) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-06-09T06:16:12.944965Z K 7 svn:log V 40 acpiconf(8): bump .Dd Reported by: gjb END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-06-09T06:17:02.738307Z K 7 svn:log V 32 acpiconf(8): check the calendar END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-06-09T07:00:27.460041Z K 7 svn:log V 71 MFC: r267184 Add vte(4) to the hardware notes. Approved by: re (kib) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-06-09T07:21:42.404920Z K 7 svn:log V 55 MFC r267089: Remove D-Link DWA140 rev D1 by accident. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-09T09:10:31.799961Z K 7 svn:log V 79 Devolatile as needed. Sponsored by: The FreeBSD Foundation MFC after: 13 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-06-09T10:39:55.060129Z K 7 svn:log V 250 truncate: Detect integer overflow, fix relative sizes, add tests. The change to expand_number (r204654) broke detection of too large sizes and relative sizes ('+'/'-'). Also add some tests. PR: 190735 Submitted by: Kirk Russell MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2014-06-09T11:07:50.347538Z K 7 svn:log V 21 Fixup new prototype. END K 10 svn:author V 3 smh K 8 svn:date V 27 2014-06-09T13:04:58.231326Z K 7 svn:log V 87 Removed stale comment about multi-vdev root pool config not working MFC after: 1 week END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-06-09T13:52:10.862436Z K 7 svn:log V 369 MFC: r267191 The new NFS server would not allow a hard link to be created to a symlink. This restriction (which was inherited from OpenBSD) is not required by the NFS RFCs. Since this is allowed by the old NFS server, it is a POLA violation to not allow it. This patch modifies the new NFS server to allow this. Reported by: jhb Reviewed by: jhb Approved by: re (kib) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-09T13:53:37.304470Z K 7 svn:log V 133 MFC r267078, r267079: Update vt(4) console font author's email address Remove extra copy of old email address. Approved by: re END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-06-09T14:18:24.237732Z K 7 svn:log V 294 Add new protocol method pru_ready. The method is used to wake up a socket after pru_send with not ready data had been done before. The arguments should be pointer to mbuf that is already in the socket buffer, and a count of mbufs to set ready. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-06-09T14:24:41.971753Z K 7 svn:log V 293 - Relax assertion in sb_shift_nrdy(), there is corner case when it is not held. - Make sbready() capable to work not only on send buffer, but on receive buffers, as well. Caller should lock the buffer and check that it can SEND/RECVMORE. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-06-09T14:27:37.356113Z K 7 svn:log V 221 Provide pru_ready method for TCP. It simply checks pcb and socket buffer, calls sbready() and if the latter reports, that now there is data to send, it calls tcp_output(). Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-06-09T14:29:55.184515Z K 7 svn:log V 330 Provide pru_ready method for AF_LOCAL sockets. Like uipc_send(), it locates remote part of the socket pair, and issues sbready() on it. If the latter returned unblocked data, it wakeups remote socket. In uipc_send() do remote wakeup only if our write provided any available data. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-06-09T14:31:35.567007Z K 7 svn:log V 104 Do not go for unavailable data in soreceive_generic(). Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-06-09T14:34:33.840113Z K 7 svn:log V 305 - In sf_io_done() remove a hack that did a zero length pru_send, and instead call pru_ready. This is more efficient and makes sendfile() working on AF_LOCAL sockets. - Mark mbufs as M_NOTREADY only if sendfile_swapin() reported that it issued I/Os. Sponsored by: Netflix Sponsored by: Nginx, Inc. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-06-09T14:36:49.064197Z K 7 svn:log V 896 Ensure files are created during the build when using bsd.subdir.mk. When FILES is defined in a Makefile that _also_ includes bsd.subdir.mk, the build of the files (if any) was not properly triggered during the build stage. This was because bsd.files.mk did not define the buildfiles target if it was already defined... and bsd.subdir.mk defined this target on its own, thus causing a conflict. Fix this by unconditionally defining buildfiles from bsd.files.mk; this is safe because nothing else in the tree needs to redefine this and because the target itself contains no commands: all it does is define dependencies. Also ensure that bsd.files.mk is always pulled in by bsd.test.mk regardless of what bsd.prog.mk does. These fixes allow "make installworld" to run cleanly on a system with read-only src and obj trees. This is "make tinderbox" clean. Reviewed by: imp Obtained from: jilles END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-06-09T14:46:32.179194Z K 7 svn:log V 36 Merge head r258543 through r267276. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-09T15:00:43.545545Z K 7 svn:log V 41 Fix race in r267221. MFC after: 2 weeks END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-09T15:09:05.894597Z K 7 svn:log V 410 MFC svn 267065 and 267187 make sure ifp->if_transmit returns 0 if a buffer is enqueued. This should also be merged to stable/9. After this fix, drivers still known to have this bug are igxbe/ixv and i40e. Drivers using if_transmit are correct, and so are most of the other drivers that reassing if_transmit. Among other things, this bug causes panics when using netmap emulation on top of generic drivers. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-09T15:15:08.436801Z K 7 svn:log V 42 MFC 267167: whitespace changes (comments) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-09T15:16:17.328987Z K 7 svn:log V 202 MFC 267168: misc bugfixes: - stdio.h is needed for fprint() - make memsize uint32_t to avoid errors due to overflow - honor the *XPOLL flagg in NIOCREGIF requests - mmap fails wit MAP_FAILED, not NULL. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-09T15:24:45.858739Z K 7 svn:log V 204 sync netmap code with the version in HEAD: - fix handling of tx mbufs in emulated netmap mode; - introduce mbq_lock() and mbq_unlock() - rate limit some error messages - many whitespace and comment fixes END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-09T15:44:31.074554Z K 7 svn:log V 121 sync the code with the one in stable/10 (wrap the if_t compatibilty function into a __FreeBSD_version conditional block) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-09T15:46:11.582303Z K 7 svn:log V 417 Fixes from Fanco Ficthner on transparent mode * The way rings are updated changed with the last API bump. Also sync ->head when moving slots in netmap_sw_to_nic(). * Remove a crashing selrecord() call. * Unclog the logic surrounding netmap_rxsync_from_host(). * Add timestamping to RX host ring. * Remove a couple of obsolete comments. Submitted by: Franco Fichtner MFC after: 3 days Sponsored by: Packetwerk END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-09T16:30:56.960529Z K 7 svn:log V 60 Merge OpenSSL 0.9.8za. Approved by: re (kib), so (delphij) END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-09T17:03:16.719112Z K 7 svn:log V 38 Correct OpenSSL 0.9.8za release date. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2014-06-09T17:22:49.091369Z K 7 svn:log V 65 Correct OpenSSL 0.9.8za release date. Approved by: re (delphij) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-06-09T17:54:53.977605Z K 7 svn:log V 84 Make sure OSVERSION is set correctly when building a different-release package set. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-06-09T17:55:23.539683Z K 7 svn:log V 93 Improve analytics by allowing this to run on a live build rather than just as a port-mortem. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-09T18:15:05.548931Z K 7 svn:log V 327 Make the hpt27xx(4) driver MPSAFE. - Use the existing vbus locks instead of Giant for the CAM sim lock. - Use callout(9) instead of timeout(9). - Mark the interrupt handler as MPSAFE. - Don't attempt to pass data in the softc from probe() to attach(). Reviewed by: Steve Chang Assisted by: delphij END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-09T19:27:47.576493Z K 7 svn:log V 301 Use strcasecmp() instead of strcmp() when checking user-supplied encoding names so that encoding names are treated as case-insensitive. This allows the use of 'utf-8' instead of 'UTF-8' for example and matches the behavior of iconv(1). PR: 167977 Submitted by: buganini@gmail.com MFC after: 1 week END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-09T19:29:10.183533Z K 7 svn:log V 20 Remove blank lines. END K 10 svn:author V 4 joel K 8 svn:date V 27 2014-06-09T19:36:08.520397Z K 7 svn:log V 27 mdoc: fix AUTHORS section. END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-06-09T19:55:50.710378Z K 7 svn:log V 64 r267169 should apply to 64-bit BARs as well. Reviewed by: neel END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-06-09T20:28:27.649153Z K 7 svn:log V 109 Use features of bsd.port.mk instead of hacks to prevent ports from being too intelligent for their own good. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-09T20:42:52.027806Z K 7 svn:log V 126 Fix copy/paste mistake in openssl SA entry. Spotted by: jkim Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-09T20:48:38.813833Z K 7 svn:log V 111 Re-enable -Werror for these modules. It is already enabled for the same files when built as part of a kernel. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-09T20:49:13.096708Z K 7 svn:log V 114 vt fontcvt: Hide stats by default and improve error handling The font stats are interesting, but rather verbose. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-09T20:50:49.962709Z K 7 svn:log V 101 Move the Sendmail update to keep revision numbers incremental. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-06-09T20:51:08.964221Z K 7 svn:log V 124 Add reserved bit checking when doing %CR8 emulation and inject #GP if required. Pointed out by: grehan Reviewed by: tychon END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-09T20:52:35.791602Z K 7 svn:log V 266 vt fontcvt: Speed up bold glyph map deduplication Perform an O(n) deduplication pass over the bold maps at the end, rather than walking the normal map list to look for a duplicate glyph each time a bold mapping entry is added. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-09T20:52:42.371042Z K 7 svn:log V 79 Document r267256, OpenSSL 1.0.1h update. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-09T20:54:23.733791Z K 7 svn:log V 82 Document r267258, OpenSSL update to 1.0.1h. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-09T20:56:30.671493Z K 7 svn:log V 110 Document r267285, OpenSSL update to 0.9.8za. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-06-09T21:02:48.311057Z K 7 svn:log V 393 Temporary fix for guest idle detection. Handle ExtINT injection for SVM. The HPET emulation will inject a legacy interrupt at startup, and if this isn't handled, will result in the HLT-exit code assuming there are outstanding ExtINTs and return without sleeping. svm_inj_interrupts() needs more changes to bring it up to date with the VT-x version: these are forthcoming. Reviewed by: neel END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-09T21:06:46.126361Z K 7 svn:log V 106 Add vgarom font source These are in 'GNU Unifont' format, and are converted from syscons(4) cp437 fonts. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-06-09T21:35:36.692999Z K 7 svn:log V 402 siglongjmp(): Preserve floating point exception flags on i386 and amd64. Per POSIX, siglongjmp() shall be equivalent to longjmp() except that it must match sigsetjmp() instead of setjmp() and except for the effect on the signal mask. Therefore, it should preserve the floating point exception flags. This was fixed for longjmp() and _longjmp() in r180080 and r180081 for amd64 and i386 respectively. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-06-09T22:09:03.544103Z K 7 svn:log V 105 Reduce scope of CLEAN_FETCH_ENV so that pkg gets included in the dependency tree to ship with the build. END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-06-09T23:11:50.424683Z K 7 svn:log V 825 MFC r266416: ------------------------------------------------------------------------ r266416 | bjk | 2014-05-18 17:05:54 -0400 (Sun, 18 May 2014) | 14 lines Document some user-settable make variables in ports.7 This is not a comprehensive list, as the variables themselves are spread out over multiple files, but it is a start. Add a section to make.conf noting that variables may be set there that affect ports builds, but refer to ports.7 and elsewhere for the actual listing; any listing in make.conf.5 would likely become out of date fairly quickly. PR: docs/189199 Reviewed by: bdrewery (previous version) Approved by: hrs (mentor) ------------------------------------------------------------------------ PR: 189199 Approved by: hrs (mentor) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-10T01:19:48.861438Z K 7 svn:log V 153 Correct unicode map for VGA ROM character 0x0e The character is a beamed pair of sixteenth notes, so should be U+266C not U+266B (beamed eighth notes). END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-06-10T01:38:02.669362Z K 7 svn:log V 473 Turn on interrupt window exiting unconditionally when an ExtINT is being injected into the guest. This allows the hypervisor to inject another ExtINT or APIC vector as soon as the guest is able to process interrupts. This change is not to address any correctness issue but to guarantee that any pending APIC vector that was preempted by the ExtINT will be injected as soon as possible. Prior to this change such pending interrupts could be delayed until the next VM exit. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-10T03:23:35.457240Z K 7 svn:log V 232 MFC r266951: Split the virtio.h header file into multiple files Reorganize the previous contexts of the file as it is in Linux. The eventual goal is to install the header files and share them between the kernel and bhyve. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-10T03:29:15.252508Z K 7 svn:log V 92 Always append new bios to the tail of the queue, instead of sorting them MFC after: 1 week END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-06-10T04:28:57.679492Z K 7 svn:log V 835 MFC r266416: ------------------------------------------------------------------------ r266416 | bjk | 2014-05-18 17:05:54 -0400 (Sun, 18 May 2014) | 14 lines Document some user-settable make variables in ports.7 This is not a comprehensive list, as the variables themselves are spread out over multiple files, but it is a start. Add a section to make.conf noting that variables may be set there that affect ports builds, but refer to ports.7 and elsewhere for the actual listing; any listing in make.conf.5 would likely become out of date fairly quickly. PR: docs/189199 Reviewed by: bdrewery (previous version) Approved by: hrs (mentor) ------------------------------------------------------------------------ PR: 189199 Approved by: re (gjb), hrs (mentor) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-10T04:44:28.639149Z K 7 svn:log V 71 MFC r267212: Make WITNESS happy by giving USB mutexes different names. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-10T05:58:46.390650Z K 7 svn:log V 58 The, currently undocumented, -i option takes an argument. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-10T06:04:25.497064Z K 7 svn:log V 49 dtc: don't crash if the argument is a directory. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-10T06:16:34.610850Z K 7 svn:log V 159 dtc: ignore lines starting with #. This is necessary because we use the C pre-processor to parse #include lines and cpp adds line markings that start with #. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-06-10T06:24:01.621326Z K 7 svn:log V 50 Call cpp with -P to avoid printing line markings. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-06-10T08:15:41.443150Z K 7 svn:log V 86 acpiconf(8): tell users not to use -k Add language from jhb Requested by: jhb, jkim END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-10T08:20:00.996595Z K 7 svn:log V 257 Avoid the USB device disconnected and controller shutdown clutter on system shutdown by putting the former under !rebooting and turning the latter into debug messages. Reviewed by: hps MFC after: 1 week Sponsored by: Bally Wulff Games & Entertainment GmbH END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-10T09:33:58.238887Z K 7 svn:log V 322 MFC: r266821 (partial) - Actually, modules are built correctly when compiled along the kernel as they then pick up an opt_global.h from KERNBUILDDIR having PAE defined. Thus, build all modules by default except those which still really are defective as of r267058. - Minor style cleanup. Approved by: re (glebius) END K 10 svn:author V 6 marius K 8 svn:date V 27 2014-06-10T09:36:10.915756Z K 7 svn:log V 166 MFC: r266820 (partial) - Shrink the list of excluded modules to what actually still doesn't build as of r267058. - Some style cleanups. Approved by: re (glebius) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-10T12:59:56.495795Z K 7 svn:log V 47 vt fontcvt: handle failure writing output font END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-10T13:57:15.778554Z K 7 svn:log V 69 MFH @r267324: Tracking commit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-10T15:19:28.785706Z K 7 svn:log V 110 Add empty pkg-stage file to CLEANFILES if WITH_DVD=1. MFC after: 3 days Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-10T15:20:41.744464Z K 7 svn:log V 99 Fix indentation level. MFC after: 3 days X-MFC-With: r267326 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-10T16:06:59.860089Z K 7 svn:log V 220 change the netmap mbuf destructor so the same code works also on FreeBSD 9. For head and 10 this change has no effect, but on stable/9 it would cause panics when using emulated netmap on top of a standard device driver. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-06-10T16:11:20.377543Z K 7 svn:log V 104 Add support for the SCTP_LOCAL_TRACE_BUF options. While there, fix some whitespaces. MFC after: 1 week END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-06-10T16:45:58.172258Z K 7 svn:log V 163 Add helper functions to populate VM exit information for rendezvous and astpending exits. This is to reduce code duplication between VT-x and SVM implementations. END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-06-10T17:04:30.928812Z K 7 svn:log V 583 Put the test suite in its own tests.txz distribution file. Force all the contents of /usr/tests to go into a separate distribution file so that users of binary releases can easily choose to not install it. To make this possible, we need two fixes: - bsd.subdir.mk needs to properly honor NO_SUBDIR in all cases so that we do not recurse into 'tests' subdirectories when we needn't. Otherwise, we end up with some Kyuafiles in base.txz. - etc/Makefile needs to skip installing tests in its 'distribute' target so that a Kyuafile doesn't leak into base.txz. Approved by: gjb END K 10 svn:author V 4 jmmv K 8 svn:date V 27 2014-06-10T17:05:41.848089Z K 7 svn:log V 136 Strip out the test suite from the installation media. This affects the disc1.iso, dvd1.iso and bootonly.iso files. Obtained from: gjb END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-10T17:17:44.520175Z K 7 svn:log V 251 MFC 267328: change the netmap mbuf destructor so the same code works also on FreeBSD 9. For head and 10 this change has no effect, but on stable/9 it would cause panics when using emulated netmap on top of a standard device driver. MFC after: 3 days END K 10 svn:author V 5 luigi K 8 svn:date V 27 2014-06-10T17:24:46.786130Z K 7 svn:log V 429 MFC 267284 Fixes from Fanco Ficthner on transparent mode * The way rings are updated changed with the last API bump. Also sync ->head when moving slots in netmap_sw_to_nic(). * Remove a crashing selrecord() call. * Unclog the logic surrounding netmap_rxsync_from_host(). * Add timestamping to RX host ring. * Remove a couple of obsolete comments. Submitted by: Franco Fichtner MFC after: 3 days Sponsored by: Packetwerk END K 10 svn:author V 3 dim K 8 svn:date V 27 2014-06-10T17:54:24.735046Z K 7 svn:log V 333 In some scenarios, when generating llvm/clang .inc.h files, multiple source files could be passed to tblgen or clang-tblgen, leading to a "Too many positional arguments specified" error message. Fix this by replacing the too-generic ${.ALLSRC} sources with explicit paths. Reported by: rysto32@gmail.com, rodrigc MFC after: 3 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2014-06-10T18:21:37.838211Z K 7 svn:log V 193 PF_BLUETOOTH protocols: skip initialization of non-virtualized globals for non-default VNET instances. This fixes panic on a vnet initialization when ng_btsocket is loaded. MFC after: 1 week END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-10T18:29:45.548878Z K 7 svn:log V 322 vt fontcvt: move to usr.bin/vtfontcvt vtfontcvt is useful for end users to convert arbitrary bitmap fonts for use by vt(4). It can also be used as a build tool, allowing us to keep the source font data in the src tree rather than uuencoded binaries. Reviewed by: ray, wblock (D183) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-06-10T18:46:00.540136Z K 7 svn:log V 80 Replace enum forward declarations with complete definitions. Reviewed by: neel END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-10T19:00:14.133968Z K 7 svn:log V 690 MFC 261000,261785,263238,263322,264302: Various AHCI fixes: - Fix issue with stale fields from a recycled request pulled off the freelist. - Provide an indication a "PIO Setup Device to Host FIS" occurred while executing the IDENTIFY DEVICE and IDENTIFY PACKET DEVICE commands. - Provide an indication a "D2H Register FIS" occurred during a SET FEATURES command. - Though there currently isn't a way to insert new media into an ATAPI drive, at least pretend to support Asynchronous Notification (AN) to avoid a guest needlessly polling for it. - Don't reissue in-flight commands. - Constrain the amount of data returned to what is actually available not the size of the buffer. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-10T20:25:45.795810Z K 7 svn:log V 352 Don't destroy bus_dma maps created by bus_dmamem_alloc(). In some cases, don't create a map before calling bus_dmamem_alloc() (such maps were leaked). It is believed that the extra destroy of the map was generally harmless since bus_dmamem_alloc() often uses special maps for which bus_dmamap_destroy() is a no-op (e.g. on x86). Reviewed by: scottl END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-06-10T21:20:37.220576Z K 7 svn:log V 208 MFC 261217: Remove support for legacy PCI devices. These haven't been needed since support for LPC uart devices was added and it conflicts with upcoming patches to add PCI INTx support. Approved by: grehan END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2014-06-10T21:40:43.877823Z K 7 svn:log V 143 Use bitwise OR instead of logical OR when constructing value for SET_FEATURES/NUMBER_OF_QUEUES command. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-06-10T22:36:01.671966Z K 7 svn:log V 312 MFC: r267191 The new NFS server would not allow a hard link to be created to a symlink. This restriction (which was inherited from OpenBSD) is not required by the NFS RFCs. Since this is allowed by the old NFS server, it is a POLA violation to not allow it. This patch modifies the new NFS server to allow this. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-10T23:03:41.854360Z K 7 svn:log V 68 MFH@r267343: Tracking commit. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-06-10T23:22:17.073853Z K 7 svn:log V 468 Remove the hammer used to remove *.debug files in the resulting ISO image userland. Explicitly set MK_DEBUG_FILES=no, which overrides the WITH_DEBUG_FILES=1 and WITHOUT_DEBUG_FILES=1 collisions previously experienced. This change allows us to create the {base,kernel}_debug.txz distributions without accidentally installing the *.debug files on the medium itself. Inspired by: jmmv Tested on: projects/release-debugdist@r267344 Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-06-11T03:59:14.941749Z K 7 svn:log V 55 MFC r267060: Allow shared locking for the tmpfs vnode. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-11T05:39:08.550147Z K 7 svn:log V 382 MFC r267240: Resolve a deadlock setting the USB configuration index from userspace on USB HUBs by moving the code into the USB explore threads. The deadlock happens because child devices of the USB HUB don't have the expected reference count when called from outside the explore thread. Only the HUB device itself, which the IOCTL interface locks, gets the correct reference count. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-11T05:45:48.536634Z K 7 svn:log V 382 MFC r267240: Resolve a deadlock setting the USB configuration index from userspace on USB HUBs by moving the code into the USB explore threads. The deadlock happens because child devices of the USB HUB don't have the expected reference count when called from outside the explore thread. Only the HUB device itself, which the IOCTL interface locks, gets the correct reference count. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-11T05:50:04.372971Z K 7 svn:log V 482 MFC r267066 and r267041: Fixes for the RSU driver: - The R92S_TCR register is an 8-bit register. Don't access it like a 16-bit register. - Disable parsing the delete station event, due to many false events. - Ensure that there is only one transfer queue for each endpoint, so to hal packets transmitted don't get out of order. - Properly align temporary buffer to 32-bit. - Add an extra parenthesis to make expression clear. - Range check the association ID received from hardware. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-11T06:45:52.320043Z K 7 svn:log V 409 MFC r267240: Resolve a deadlock setting the USB configuration index from userspace on USB HUBs by moving the code into the USB explore threads. The deadlock happens because child devices of the USB HUB don't have the expected reference count when called from outside the explore thread. Only the HUB device itself, which the IOCTL interface locks, gets the correct reference count. Approved by: re, marius @ END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-11T08:14:08.199274Z K 7 svn:log V 133 Move root_mount_hold() functionality to separate mutex. It has nothing to share with mutex protecting list of mounted file systems. END