ƒ²+256582 194 467 220 129 1430 270 218 629 206 195 175 133 463 339 250 198 303 164 208 190 141 168 345 172 181 252 179 297 169 159 110 194 336 390 176 106 166 192 825 579 125 278 163 829 464 121 209 254 151 109 113 123 131 324 174 170 308 330 152 187 123 557 146 143 532 575 189 1259 281 254 396 141 135 392 117 114 349 180 169 145 139 137 122 102 220 116 150 554 115 515 369 175 189 189 479 211 140 202 163 165 212 454 227 163 180 243 558 176 181 384 128 395 174 234 222 175 422 117 260 125 134 130 153 138 529 106 287 133 408 126 819 139 156 120 137 269 138 123 289 184 188 245 287 338 269 132 181 173 131 131 354 242 246 321 371 188 122 404 168 262 162 246 299 353 284 208 222 196 420 290 857 551 362 386 390 232 651 724 327 381 808 522 488 371 312 196 252 386 152 143 163 226 702 168 1385 K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-16T04:15:03.414050Z K 7 svn:log V 371 Add support for the AR9340 switch to the switch framework. * Do the hardware setup in the right order! * Modify/improve the chip probe check so it can actually probe the 7240/9340 directly (although it's not yet used..) * Initialise and fetch the is_mii option * Fix some debugging whilst I'm here. This is enough to get things off the ground. Tested: * AR9344 SoC END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-16T04:15:35.447604Z K 7 svn:log V 124 Add a big, big note to the vlan code that it needs to be taught about the new VLAN options for the AR9340 and AR8327 chips. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-16T04:16:54.500545Z K 7 svn:log V 34 Yes, this board has 128mb of RAM. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-16T04:22:26.613100Z K 7 svn:log V 1333 Now that all of the on-chip switch and basic platform support is updated, we can now add all the hardware bits for the DB120. * arge0/argemdio0 is hooked up to an AR8327 switch - which there's currently no support for. However, the bootloader on this board does set it up as a basic switch so we can at least _use_ it ourselves. So we should at least configure the arge0 side of things, including the GMAC register. * .. the GMAC config peels off arge0 from the internal switch and exposes it as an RGMII to said AR8327. * arge1/argemdio1 are hooked up to an internal 10/100 switch. So, that also needs configuring. * Add support for the NOR flash layout. * Add support for the wifi (which works, with bugs, but it works.) What's missing! * No GPIO stuff yet! * No sound (I2S) and no NAND flash support yet, sorry! * The normal DB120 has an external AR95xx wifi chip on PCIe but with the actual calibration data in the NOR flash. My DB120 has been modified to let me use the PCIe slot as a normal PCIe slot. I'll add the "default" settings later when I have access to a non-modified one. * Other stuff, like why the wifi unit gets upset and spits out stuck beacons and interrupt storms everywhere. Sigh. Tested: * DB120 board - AR9344 (mips74k SoC) booting off of SPI flash into multi-user mode. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-16T04:59:59.233780Z K 7 svn:log V 173 Rename Free() macro to R_Free(). This matches R_Malloc() and has much lower probability to clash with other headers. Submitted by: Eric van Gyzen END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-16T05:02:01.135751Z K 7 svn:log V 121 For VIMAGE kernels store vnet in the struct task, and set vnet context during task processing. Reported & tested by: mm END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-16T05:43:03.045810Z K 7 svn:log V 533 Fix SVM handling of ASTPENDING, which manifested as a hang on console output (due to a missing interrupt). SVM does exit processing and then handles ASTPENDING which overwrites the already handled SVM exit cause and corrupts virtual machine state. For example, if the SVM exit was due to an I/O port access but the main loop detected an ASTPENDING, the exit would be processed as ASTPENDING and leave the device (e.g. emulated UART) for that I/O port in bad state. Submitted by: Anish Gupta (akgupt3@gmail.com) Reviewed by: grehan END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-16T06:07:03.627676Z K 7 svn:log V 113 MFC r256209: Reduce code duplication, introduce the getmaxfd() helper to calculate the max filedescriptor index. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-16T06:13:08.621685Z K 7 svn:log V 102 MFC r256211: Do not flush buffers when the v_object of the passed vnode does not really belong to it. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-16T06:15:40.494694Z K 7 svn:log V 83 MFC r256213: Do not try to flush device vnodes from the buffer allocation context. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T07:52:19.243795Z K 7 svn:log V 42 Add checks for scope zone id to pcb code. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T08:14:05.023836Z K 7 svn:log V 371 Remove in6_pcbladdr() function: * move code from in6_pcbladdr() into in6_pcbconnect_mbuf(); * remove sa6_embedscope() and use sa6_checkzone() instead; * remove in6_setscope() call; * pass outgoing interface determined with SAS algorithm into in6_pcblookup_hash_locked() to be able determine scope zone id; * initialize in6p_zoneid when connection has link-local address. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-10-16T08:19:58.897373Z K 7 svn:log V 241 Speed up `freebsd-update IDS` by using IFS to split fields instead of forking lots of processes to run echo|cut. In one test this reduced the CPU time from 980s to 134s and the wallclock time from 806s to 132s. Submitted by: Oleg Ginzburg END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T08:21:44.189111Z K 7 svn:log V 158 Add in6_srcaddrscope() function. It is similar to in6_addrscope(), but returns link-local scope for IPv4-mapped addresses from 169.254/16 and 127/8 networks. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T08:24:06.173632Z K 7 svn:log V 106 Rename lookup_addrsel_policy() into lookup_policy_label(). Now it returns label insted of address policy. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T08:30:30.061174Z K 7 svn:log V 211 * Add srcaddrcmp() function to compare addresses using SAS Algorithm; * add srcaddr_choice and dstaddr_props structures to describe source and destination addresses; * remove old REPLACE, NEXT and BREAK macros; END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-16T08:48:45.250318Z K 7 svn:log V 68 An example module that handles a double linked list in racy manner. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T08:58:58.271427Z K 7 svn:log V 116 Add cached_rtlookup() function. It validates route and if it is ok, returns it. Otherwise it does new route lookup. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T09:02:11.310332Z K 7 svn:log V 99 Add check_scopezones() function to check that source address doesn't break destination scope zone. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-16T09:03:37.811354Z K 7 svn:log V 45 Minor nits and a script to demonstrate race. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T09:05:49.147715Z K 7 svn:log V 77 Add handle_pktinfo() function to handle IPV6_PKTINFO advanced socket option. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T09:12:40.911291Z K 7 svn:log V 252 MFprojects/camlock r254905: Introduce new function devstat_end_transaction_bio_bt(), adding new argument to specify present time. Use this function to move binuptime() out of lock, substantially reducing lock congestion when slow timecounter is used. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T09:15:07.234676Z K 7 svn:log V 81 Add handle_nexthop() function to handle IPV6_NEXTHOP advanced socket API option. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T09:17:46.119277Z K 7 svn:log V 90 When choosing hop limit, handle link-local destinations specially. Also some style fixes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T09:18:01.935341Z K 7 svn:log V 159 MFprojects/camlock r254907: Move g_io_deliver() out of the lock, as required for direct dispatch. Move g_destroy_bio() out too to reduce lock scope even more. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T09:21:40.971253Z K 7 svn:log V 87 MFprojects/camlock r256371: Fix passing uninitialized bio_resid argument to g_trace(). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T09:25:00.598723Z K 7 svn:log V 205 Rewrite socket options handling code. Use handle_pktinfo(), handle_nexthop() and cached_rtlookup() functions. Jail code should be changed to support scope zones, for now just disable it and mark with XXX. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T09:27:51.396434Z K 7 svn:log V 78 Rewrite the SAS Algorithm's loop and use srcaddrcmp() function for comparing. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T09:33:23.310373Z K 7 svn:log V 67 MFprojects/camlock r256445: Add unmapped I/O support to GEOM RAID. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T09:40:00.112243Z K 7 svn:log V 19 Constify argument. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T09:48:23.054260Z K 7 svn:log V 101 MFprojects/camlock r254685: Remove TQ_FLAGS_PENDING flag, softly duplicating queue emptiness status. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T09:52:59.035469Z K 7 svn:log V 243 MFprojects/camlock r254763: Move tq_enqueue() call out of the queue lock for known handlers (actually I have found no others in the base system). This reduces queue lock hold time and congestion spinning under active multithreaded enqueuing. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T09:56:40.736598Z K 7 svn:log V 297 MFprojects/camlock r256370: - Take BIO lock in biodone() only when there is no completion callback set and so we should wake up thread waiting in biowait(). - Remove msleep() timeout from biowait(). It was added 11 years ago, when there was no locks used, and it should not be needed any more. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T10:11:30.063264Z K 7 svn:log V 85 Remove in6_selectroute, in6_selectroute_fib, in6_selectif and selectroute functions. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T10:26:34.815951Z K 7 svn:log V 14 MFC @ r256615 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-10-16T10:33:20.868143Z K 7 svn:log V 69 Remove unused fields from radix_node_head. Sponsored by: Yandex LLC END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-10-16T10:36:42.326185Z K 7 svn:log V 95 Reflect r248070 (RTM_PINNED) changes in documentation. Pointed by: pluknet MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T11:30:47.372566Z K 7 svn:log V 732 Restore BIO_UNMAPPED and BIO_TRANSIENT_MAPPING in biodonne() when unmapping temporary mapped buffer. That fixes double unmap triggered by r256286, when biodone() called twice for the same BIO (but with different done methods). Move mapping removal before calling bio_done() method. I believe that it is very wrong to do anything to BIO after reporting completion. kib@ thinks it was done for some forgotten now case when bio_done() method needed mapped buffer. But 1) if BIO was sent as unmapped, then IMO done() should be called in the same way; 2) IMO there is no guatantee that buffer will be mapped at this point at all, for example, if all underlying stack supports unmapped I/O, so bio_done() handler can not expect that. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T11:51:08.810992Z K 7 svn:log V 487 Introduce new flag for ip6_output() - IPV6_USEROIF. It means, that top level already determined outgoing interface and ip6_output() can use it. But in some cases ip6_output() will ignore it (e.g. packet forwarded by pfil(4), routing header, etc). Rework route lookup part of ip6_output() to properly handle the fact, that now we don't keep routes for link-local addresses. Also, since in6_selectroute_fib() disappeared, now we need use in6_rtalloc(). But in some cases it isn't needed. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T11:53:03.033906Z K 7 svn:log V 34 Don't pass rtentry to nd6_output. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T12:13:20.048584Z K 7 svn:log V 185 Prohibit sleeping in CAM completion threads. We have limited number of them same as interrupt threads. We don't want somebody carelessly blocked all CAM subsystem by arbitrary sleep. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-16T12:15:33.671718Z K 7 svn:log V 71 Oops, fix for r256622: put THREAD_NO_SLEEPING() into the better place. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2013-10-16T12:18:44.393023Z K 7 svn:log V 731 Fix long-standing issue with incorrect radix mask calculation. Usual symptoms are messages like rn_delete: inconsistent annotation rn_addmask: mask impossibly already in tree or inability to flush/delete particular prefix in ipfw table. Changes: * Assume 32 bytes as maximum radix key length * Remove rn_init() * Statically allocate rn_ones/rn_zeroes * Make separate mask tree for each "normal" tree instead of system global one * Remove "optimization" on masks reusage and key zeroying * Change rn_addmask() arguments to accept tree pointer (no users in base) PR: kern/182851, kern/169206, kern/135476, kern/134531 Found by: Slawa Olhovchenkov MFC after: 2 weeks Reviewed by: glebius Sponsored by: Yandex LLC END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T13:07:06.005523Z K 7 svn:log V 372 Add additional error codes for IPV6_PKTINFO socket option handling corresponding to RFC3542: * Return ENETDOWN when interface specified by ipi6_ifindex is not enabled for IPv6 use. * Return EADDRNOTAVAIL when ipi6_ifindex specifies an interface but the address ipi6_addr is not available for use on that interface. * Return EINVAL when ipi6_addr is multicast address. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-16T13:23:47.840531Z K 7 svn:log V 25 More on synchronisation. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T13:33:48.261399Z K 7 svn:log V 117 RTFREE() sets ro_rt to NULL, no need to do it again. Also properly initialize ro_dst for IPV6_NEXTHOP socket option. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-10-16T14:24:22.048791Z K 7 svn:log V 161 Fix a register name typo. The effect was that CPU_CONTROL_AFLT_ENABLE wasn't being set, but it was almost assuredly already turned on anyway by the bootloader. END K 10 svn:author V 2 br K 8 svn:date V 27 2013-10-16T15:20:27.179369Z K 7 svn:log V 60 Add CPU ID for ARM Cortex A5. Approved by: cognet (mentor) END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-16T15:57:57.636145Z K 7 svn:log V 17 New dependencies END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-16T15:58:22.302525Z K 7 svn:log V 21 Updated dependencies END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-16T15:58:44.147746Z K 7 svn:log V 31 Avoid creating Makefile.depend END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-16T15:59:29.355418Z K 7 svn:log V 39 Make sure we can find openpam_static.c END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-16T16:03:01.478390Z K 7 svn:log V 231 We use distrib-dirs to populate stage tree. But that depends on up-to-date passwd and group files in /etc. If MK_INSTALL_AS_USER==yes and we are not root, filter the mtree input to avoid problems with [gu]name and [gu]id settings. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-16T16:05:12.999013Z K 7 svn:log V 82 Handle the different expectations of MACHINE_ARCH b/w buildworld etc and dirdeps. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-16T16:05:49.122831Z K 7 svn:log V 78 Make it possible to buildworld, while producing .meta files to aid debugging. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-10-16T16:32:35.417258Z K 7 svn:log V 215 When calculating the number of bounce pages needed, round the maxsize up to a multiple of PAGE_SIZE, and add one page because there can always be one more boundary crossing than the number of pages in the transfer. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-10-16T16:35:25.424457Z K 7 svn:log V 237 Add cases for the combinations of busdma sync op flags that we handle correctly by doing nothing, then add a panic for the default case, because that implies that some driver asked for a sync (probably incorrectly) and nothing was done. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-10-16T16:46:15.397760Z K 7 svn:log V 58 update the picobsd script to build with GCC and not CLANG END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-10-16T16:46:25.388294Z K 7 svn:log V 95 Allow 'make xdev' to work when DESTDIR is set. Submitted by: Patrick Kelsey END K 10 svn:author V 5 luigi K 8 svn:date V 27 2013-10-16T16:53:00.253381Z K 7 svn:log V 29 help running sshd on picobsd END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-16T17:00:21.999979Z K 7 svn:log V 464 Since C++ typeinfo objects are currently not guaranteed to be merged at runtime by the dynamic linker, check for their equality in libcxxrt by not only comparing the typeinfo's name pointers, but also comparing the full names, if necessary. (This is similar to what GNU libstdc++ does in its default configuration.) The 'deep' check can be turned off again by defining LIBCXXRT_MERGED_TYPEINFO, and recompiling libcxxrt. Reviewed by: theraven MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-10-16T17:03:46.350065Z K 7 svn:log V 51 Error out on failure to open specified config file END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-16T17:16:40.326626Z K 7 svn:log V 47 Make it possible to seek within a gzip stream. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-16T18:20:27.005997Z K 7 svn:log V 438 Add a new capability, VM_CAP_ENABLE_INVPCID, that can be enabled to expose 'invpcid' instruction to the guest. Currently bhyve will try to enable this capability unconditionally if it is available. Consolidate code in bhyve to set the capabilities so it is no longer duplicated in BSP and AP bringup. Add a sysctl 'vm.pmap.invpcid_works' to display whether the 'invpcid' instruction is available. Reviewed by: grehan MFC after: 3 days END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-10-16T18:36:53.346267Z K 7 svn:log V 477 When installing updates, install new directories first and remove old directories last. This is generally handled by the fact that the list of filesystem objects is sorted, but this sorting is broken by code which moves .so files ahead (so that they're present before any binaries which use them)... that code also moved .so files ahead of directories, which is a problem for upgrading to 10.0 where there's a new directory containing new .so files. Errata Notice Candidate. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-10-16T19:06:44.657596Z K 7 svn:log V 97 Invalidate the entire L2 cache before enabling it. Say whether it has been enabled or disabled. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-16T19:36:50.478076Z K 7 svn:log V 1162 Allow the MDIO bus frequency to be selected. The MDIO bus frequency is configured as a divisor off of the MDIO bus reference clock. For the AR9344 and later, the MDIO bus frequency can be faster than normal (ie, up to 100MHz) and thus a static divisor may not be very applicable. So, for those boards that may require an actual frequency to be selected regardless of what crazy stuff the vendor throws in uboot, one can now set the MDIO bus frequency. It uses the MDIO frequency and the target frequency to choose a divisor that doesn't exceed the target frequency. By default it will choose: * DIV_28 on everything; except * DIV_58 on the AR9344 to be conservative. Whilst I'm here, add some comments about the defaults being not quite right. For the other internal switch devices (like the AR933x, AR724x) the divisor can be higher - it's internal and the reference MDIO clock is much lower than 100MHz. The divisor tables and loop code is inspired from Linux/OpenWRT. It's very simple; I didn't feel that reimplementing it would yield a substantially different solution. Tested: * AR9331 (mips24k) * AR9344 (mips74k) Obtained from: Linux/OpenWRT END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-16T19:53:50.435018Z K 7 svn:log V 185 Whilst here, document that this TX alignment requirement may acutally not be required on later hardware. It would allow for higher packet rates so yes, it would be nice to disable it. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-10-16T20:04:06.695232Z K 7 svn:log V 158 kldxref: Add static keyword to the new function only used in the same file. The WARNS level is not such that the omission broke the build. Reported by: mdf END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-16T21:52:54.920086Z K 7 svn:log V 302 MFC r256570: Fix the witness warning that warned against calling uiomove() while holding the 'vmmdev_mtx' in vmmdev_rw(). Rely on the 'si_threadcount' accounting to ensure that we never destroy the VM device node while it has operations in progress (e.g. ioctl, mmap etc). Approved by: re (rodrigc) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-16T22:28:08.257831Z K 7 svn:log V 46 Vendor import of NetBSD's mtree at 2013-10-16 END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-16T22:30:29.045326Z K 7 svn:log V 40 Tag 2013-10-16 import of NetBSD's mtree END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-16T22:53:00.566488Z K 7 svn:log V 300 Rework ip6_input(): * remove bunch of unneeded variables and sort declarations; * don't use auxiliary data; * rework scope related checks, remove in6_setscope() calls; * use ifaddr hash to check for own addresses; * remove route and lle lookup from input path; * remove FAITH support from ip6_input. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-10-17T00:06:42.037787Z K 7 svn:log V 24 Import ACPICA 20130927. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-10-17T00:07:21.710536Z K 7 svn:log V 21 Tag ACPICA 20130927. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-17T00:28:35.612798Z K 7 svn:log V 255 Add an option to bhyveload(8) that allows setting a loader environment variable from the command line. The option syntax is "-e ". It may be used multiple times to set multiple environment variables. Reviewed by: grehan Requested by: alfred END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-17T01:53:07.378078Z K 7 svn:log V 85 Move a lot of debugging printf's to DPRINTF. Approved by: adrian MFC after: 2 weeks END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-10-17T01:59:08.364680Z K 7 svn:log V 75 Check for EHOSTUNREACH when establishing a connection. Reviewed by: trasz END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-10-17T02:02:29.483870Z K 7 svn:log V 52 Remove duplicates in ipfilter and kerberos sections END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-10-17T03:39:21.061287Z K 7 svn:log V 45 Fix the libproc build when DEBUG is defined. END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-10-17T04:51:28.954033Z K 7 svn:log V 44 Remove files which are in ObsoleteFiles.inc END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-10-17T05:20:40.844819Z K 7 svn:log V 29 wlconfig exists only on i386 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-17T05:43:28.369196Z K 7 svn:log V 7 Typos. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-10-17T05:44:15.392743Z K 7 svn:log V 122 MFC r253588 Increase the size of the OFW bounce buffer to 4 pages. With this I can now run 'ofwdump -ap' on my quad G5. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-17T05:51:54.187534Z K 7 svn:log V 21 Add a missing comma. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-10-17T06:14:32.734166Z K 7 svn:log V 53 MFC r253979 Micro-optimize OFW syscons 8-bit blank. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-10-17T06:48:43.731111Z K 7 svn:log V 461 MFC 256440, 256498: - Normalize jailname. "example.com" is converted to "example_com". - Fix a bug that some $jail_{jname}_foo variables did not work. - Fix a bug which prevented $jail_devfs_ruleset from working[1]. - Move $jail_parameters to the last of the configuraiton lines[1]. - Fix "ifname|addr" syntax support in jail_{jname}_ip. - Create /var/run/jail_{jname}.id because ezjail-admin depends on it. Reported by: jase [1] Approved by: re (gjb) END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-10-17T07:40:21.694064Z K 7 svn:log V 22 Cleanup clang section END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-17T07:57:58.932070Z K 7 svn:log V 422 Utilize the stronger guarantees on the call arguments from the harvester, which now always calls hwrngs with the buffer length multiple of the word size. This allows to remove the excessive memory accesses to temporary buffer when saving the entropy word. Streamline the assembly and unify it between i386 and amd64. Reviewed by: markm, des Approved by: so (des) Sponsored by: The FreeBSD Foundation MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-17T09:45:03.498509Z K 7 svn:log V 276 Make CTL CAM target frontend to drop periph lock while calling CTL or SIM methods. This radically reduces congestion on that lock. To make it possible, fix several target mode SIMs to not blindly clear ccb_h.flags field of ATIO CCBs. Not all CCB flags there belong to them. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-10-17T09:57:09.586312Z K 7 svn:log V 80 If we avoid to use the page at addr 0, we should adjust the size to reflect it. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T10:53:57.172558Z K 7 svn:log V 98 Remove auxiliary data support and use in6ifa_ifwithaddr() function instead of ip6_getdstifaddr(). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T11:33:16.424019Z K 7 svn:log V 98 Remove in6_setscope() calls and save ifnet pointer in the mbuf to be able disambiguate the scope. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T11:40:08.295693Z K 7 svn:log V 387 Rework icmp6_reflect(): * sort variables declarations; * when incoming packet was addressed directly for us, use interface where it is configured as outgoing interface (XXX: is it correct?); * otherwise, use SAS Algorithm and keep route information, that it returns. Use this route in ip6_output(). * since we always know outgoing interface, use IPV6_USEROIF flag for ip6_output() END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T11:43:55.378951Z K 7 svn:log V 119 Remove in6_clearscope() calls. Don't clear ifnet pointer, now we don't have enough scope information in the IP header. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T11:45:31.670231Z K 7 svn:log V 49 Fill sin6_scope_id instead of embedding zone id. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2013-10-17T11:49:46.418289Z K 7 svn:log V 106 Fix SNMP Error response PDUs and properly encode them when using v3 auth/encryption. Reported by: harti@ END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T11:50:47.147267Z K 7 svn:log V 72 Sort variables declarations, and initialize inc_fibnum and inc6_zoneid. END K 10 svn:author V 6 syrinx K 8 svn:date V 27 2013-10-17T12:03:17.089313Z K 7 svn:log V 70 Fix the -Wconversion warnings produced when compiling the SNMP agent. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-17T12:15:21.544733Z K 7 svn:log V 111 Sync with ofw_syscons.c: provide support for IBM framebuffers like that in the QEMU pSeries emulated platform. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-10-17T12:19:36.024563Z K 7 svn:log V 358 Fix resource free. The order of releasing resources in mlxen was wrong, which caused panic on reload of the module. conf_ctx list should be released before stat_ctx list, otherwise the leafs in conf_ctx list won't be released because of the dependancy. The fix is to change the order of the releases. Submitted by: Shahar Klein (shahark at mellanox.com) END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-10-17T12:43:29.710308Z K 7 svn:log V 134 Added tool for shuffling tests for hosts that does not have perl or random(6) installed. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-17T12:58:40.768855Z K 7 svn:log V 63 Use vt_generate_vga_palette() instead of a hard-coded mapping. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T13:28:57.345580Z K 7 svn:log V 89 When connection has non zero scope zone id, use its link ifnet to determine maximum mtu. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-10-17T14:08:46.855868Z K 7 svn:log V 147 Fix __free_pages() in the linux shim. __free_pages() is actaully supposed to take a "struct page *" not an address. MFC: 256546 Approved by: re END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-17T14:18:11.037159Z K 7 svn:log V 462 Upgrade to the latest version of mtree from NetBSD. This revision re-removes the printing of size for non-regular files, supports type-less root (.) entries as seen in a couple ports, and corrects a bug in -N that caused expanded Subversion $FreeBSD$ strings in comments to be processed as /etc/group entries. Includes one trivial portability fix (including in three files) that has been submitted upstream but not yet committed. MFC after: 3 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T14:20:44.953653Z K 7 svn:log V 85 Remove in6_setscope() from ni6_input() and use m_pulldown() instead of m_copydata(). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T15:14:58.222607Z K 7 svn:log V 90 Use the same actor key for media types of the same speed. PR: 176097 MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T16:18:43.513802Z K 7 svn:log V 292 Add an automatic resize support to the GEOM_PART class. When parent provider has been resized, the scheme specific G_PART_RESIZE method does an update of scheme's metadata. But all changes are not saved to disk, until `gpart commit` will be called. Discussed with: trasz MFC after: 1 month END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-10-17T17:11:15.948562Z K 7 svn:log V 33 Make casuword() atomic for armv6 END K 10 svn:author V 6 emaste K 8 svn:date V 27 2013-10-17T17:25:00.450533Z K 7 svn:log V 299 Fix .debug_line prologue header length calculation for 64-bit DWARF The header_length field is the number of bytes following the field to the first byte of the line number program. The hard-coded constants previously here (4 + 2 + 4) were correct only for 32-bit DWARF. Sponsored by: DARPA, AFRL END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-17T17:44:57.494070Z K 7 svn:log V 83 Remove in6_clearscope() and initialize sin6_scope_id instead of sa6_recoverscope() END K 10 svn:author V 2 np K 8 svn:date V 27 2013-10-17T18:37:25.094161Z K 7 svn:log V 142 iw_cxgbe: iWARP driver for Chelsio T4/T5 chips. This is a straight port of the iw_cxgb4 found in OFED distributions. Obtained from: Chelsio END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-10-17T19:04:05.228010Z K 7 svn:log V 129 - Add relative specification in expiration time. - Add proto3 option for RTF_PROTO3. - Use %lu for members of struct rt_metrics. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-10-17T19:24:10.275115Z K 7 svn:log V 83 Added two ptrace(2) regression tests. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-10-17T19:56:50.074041Z K 7 svn:log V 327 Internalize struct mb_args from sys/mbuf.h into kern/kern_mbuf.c which is the only place where it used now. Be consequent and move m_last() to a real function as well. Move the MCHTYPE() macro and m_chtype() inline function together and decide later what to do with them. The warning in the comment doesn't seem to be true. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-17T19:59:51.827254Z K 7 svn:log V 25 New/updated dependencies END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-17T20:01:59.799243Z K 7 svn:log V 167 Allow building these in-line The build-tools phase sets NO_WARNS If there is any other purpose (than hosttool during build) we could make this depend on MACHINE=host. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-17T20:02:36.414671Z K 7 svn:log V 33 Use the tools we built for host. END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-17T20:03:24.013290Z K 7 svn:log V 42 Saver to rm first when making link to dir END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-10-17T20:04:44.690956Z K 7 svn:log V 38 Use the tblgen etc we built for host. END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-10-17T20:14:47.434887Z K 7 svn:log V 60 Remove atf headers which never existed Reviewed by: marcel END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-10-17T20:15:14.446905Z K 7 svn:log V 44 Actually move m_last() to kern/uipc_mbuf.c. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-17T20:19:15.110604Z K 7 svn:log V 436 Optimize isp(4) to reduce CPU usage, especially in target mode: - Remove two excessive and slow register reads from isp_intr(). Instead of rereading value every time, assume that registers contain what we have written there. - Avoid sequential search through 4096 array elements when looking for command tag. Use hash of lists to store active tags separately from free ones and so greatly speedup the searches. Reviewed by: mjacob END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-17T20:23:28.514337Z K 7 svn:log V 14 MFC @ r256705 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-10-17T21:06:19.922247Z K 7 svn:log V 191 - Switch to use WBWA mappings for page tables on armv6, this is needed for SMP. - Fix PTE_SYNC() for PIPT L2 caches, using the virtual address wasn't so useful. - Use PTE_SYNC() for >= armv6 END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-10-17T21:38:14.234043Z K 7 svn:log V 38 Spell cpu_l2cache_wb_range correctly. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-17T21:56:39.391847Z K 7 svn:log V 312 Eliminate unconditional debug printfs. Linux writes to these nominally read-only registers, so avoid having bhyve write warning messages to stdout when the reg writes can be safely ignored. Change the WPRINTF to DPRINTF which is conditional. Reviewed by: mav Discussed with: mav, Zhixiang Yu MFC after: 3 days END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-10-17T22:00:35.366561Z K 7 svn:log V 33 Add lot of missed files and dirs END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-17T22:01:17.364092Z K 7 svn:log V 723 Changes required for OpenBSD/amd64: - Allow a hostbridge to be created with AMD as a vendor. This passes the OpenBSD check to allow the use of MSI on a PCI bus. - Enable the i/o interrupt section of the mptable, and populate it with unity ISA mappings. This allows the 'legacy' IRQ mappings of the PCI serial port to be set up. Delete unused print routine that was obscuring code. - Use the '-W' option to enable virtio single-vector MSI rather than an environment variable. Update the virtio net/block drivers to query this flag when setting up interrupts.: bhyverun.c - Fix the arithmetic used to derive the century byte in RTC CMOS, as well as encoding it in BCD. Reviewed by: neel MFC after: 3 days END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-10-17T22:12:32.071707Z K 7 svn:log V 44 Increase the KVA available for xscale CPUs. END K 10 svn:author V 2 np K 8 svn:date V 27 2013-10-17T23:57:17.741434Z K 7 svn:log V 65 iw_cxgbe should have a dependency on t4nex. Reported by: trasz@ END K 10 svn:author V 2 np K 8 svn:date V 27 2013-10-18T00:00:08.924712Z K 7 svn:log V 29 Fix typo in previous commit. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-10-18T02:22:38.729440Z K 7 svn:log V 45 Use long explicitly for the time difference. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-10-18T03:44:16.205291Z K 7 svn:log V 176 - Fix a bug which prevented jails from starting when $jail_conf was used and no jail name was specified. - Display error messages when start/stop fails. Reported by: swills END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-10-18T07:40:50.466795Z K 7 svn:log V 44 Update firmware for run(4) to version 0.33. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-10-18T07:42:16.532548Z K 7 svn:log V 29 Fix rf registers for RT3070. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-10-18T07:42:50.591425Z K 7 svn:log V 193 MFC r256489: Add executable bit to docsinstall [old] and entropy [new] scripts. MFC r256541: Document BSDINSTALL_TMPBOOT environment variable introduced by SVN r256343. Approved by: re (gjb) END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-10-18T07:43:49.975708Z K 7 svn:log V 90 Fix lower bits of RF_R3 for RT3370 and newer. This change doesn't affect older chipsets. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-10-18T07:46:28.490841Z K 7 svn:log V 94 Since the DAC issue has been fixed in RT3070(F), the voltage raising fix is no longer needed. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-10-18T07:48:20.897159Z K 7 svn:log V 150 Correct tx mixer gain value for RT3070 and RT3071. Correctly value in EEPROM/EFUSE is one or more for RT3070 and two or more for other RT3071 chips. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-10-18T09:07:10.816795Z K 7 svn:log V 192 Change the only user of the MCHTYPE macro to the m_chtype() function. Remove the MCHTYPE macro. Move the m_chtype() inline function to kern/kern_mbuf.c. Properly sort m_extadd() prototype. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-10-18T09:14:19.926689Z K 7 svn:log V 243 Make geom_label(4) resize-aware. This fixes a situation when "gpart resize" would resize a partition, but label providers - e.g. /dev/gptid/XXX - would stay the same size. Reviewed by: mav MFC after: 1 month Sponsored by: FreeBSD Foundation END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-10-18T09:17:35.777242Z K 7 svn:log V 174 Don't build krping.ko, iw_cxgb.ko, and iw_cxgbe.ko, if MK_OFED=no (the default). They build, but are unloadable, due to missing ibcore.ko. Sponsored by: FreeBSD Foundation END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-18T09:32:02.052245Z K 7 svn:log V 36 Merge head r233826 through r256722. END K 10 svn:author V 3 pho K 8 svn:date V 27 2013-10-18T09:32:16.506335Z K 7 svn:log V 89 Added regression test based on kern/150138. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-10-18T09:50:23.388967Z K 7 svn:log V 79 MFC r256050: Remove useless check - ki_loginclass is an array; can't be NULL. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-18T11:25:08.699930Z K 7 svn:log V 35 Revert r256587. Requested by: zec END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-18T11:26:40.447308Z K 7 svn:log V 35 Revert r256587. Requested by: zec END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-18T11:51:36.549992Z K 7 svn:log V 262 Scope related cleanup in icmp6_redirect_input() * Don't use in6_setscope(). We don't embed scope zones, thus these checks are useless. * Move check for multicast dst. It can be checked earlier. * Fill sin6_scope_id before pfctlinput(). It used in the PCB code. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-18T12:08:42.527674Z K 7 svn:log V 150 Since we already know outgoing interface, pass it to ip6_output and use IPV6_USEROIF flag in icmp6_redirect_output. Also remove in6_clearscope calls. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-10-18T12:24:24.432414Z K 7 svn:log V 151 Make mbuf.h more comprehensible to non-insiders by functionally grouping and sorting of macros and function definitions. Update and improve comments. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-18T12:31:32.429676Z K 7 svn:log V 229 Refactor ip6_forward(): * for link-local destinations use recv interface as outgoing; * if outgoing and recv interfaces are different, check that packet doesn't leave the zone of source address; * remove in6_setscope() calls. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-10-18T12:35:12.253095Z K 7 svn:log V 275 sh: Remove one syscall when waiting for a foreground job. The getpgrp() call is unnecessary: if there is no job control then the result was not used at all and if there is job control then we are not a subshell and our process group ID is equal to our process ID (rootpid). END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-10-18T12:35:47.705740Z K 7 svn:log V 94 Internalize mb_free_ext() to kern/kern_mbuf.c. Remove m_gettype() prototype from sys/mbuf.h. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-18T12:51:28.326357Z K 7 svn:log V 31 Disable scope6 related ioctls. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-18T13:02:09.170686Z K 7 svn:log V 312 Scope related cleanup in in6_control(): * remove sa6_embedscope(), sa6_recoverscope() and in6_setscope() calls; * use sa6_checkzone() to check sockaddr_in6 structure. Before this check initialize sin6_scope_id if it is zero. We can do this, because we know interface and can use ifnet to determine zone id. END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-10-18T13:05:18.826798Z K 7 svn:log V 74 Add/update/improve comments. Convert M_EXT test in m_clget() to KASSERT. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-18T13:27:34.613704Z K 7 svn:log V 170 Constify mcaddr argument in in6_joingroup() and rework in6_update_ifa_join_mc() function: * don't install routes for multicast addresses; * remove in6_setscope() calls; END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-18T13:54:58.097265Z K 7 svn:log V 71 Use in6_getscopezone() instead of in6_setscope() and sa6_embedscope(). END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-10-18T14:43:03.540549Z K 7 svn:log V 151 Add/update/improve comments. Wrap long lines. Remove unused variables and simplify logic. Convert/extend M_EXT KASSERT in m_cljget() and m_clget(). END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-18T15:24:18.809220Z K 7 svn:log V 203 MFP4: Change 227594 by brooks@brooks_zenith on 2013/04/11 17:10:14 When we fail, print the error that occured if we are giving up or if bootverbose is set. MFC after: 3 days Sponsored by: DARPA/AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-18T15:27:11.485835Z K 7 svn:log V 257 MFP4 (driver change only): Change 231100 by brooks@brooks_zenith on 2013/07/12 21:01:31 Add a new option ALTERA_SDCARD_FAST_SIM which checks immediatly for success of I/O operations rather than queuing a task. MFC after: 3 days Sponsored by: DARPA/AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-18T15:40:37.231387Z K 7 svn:log V 188 MFP4: Change 227630 by bz@bz_zenith on 2013/04/12 08:50:27 Implement soft reset setting sr in sr and just in case loop endlessly afterwards. MFC after: 3 days Sponsored by: DARPA/AFRL END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-18T17:06:13.126157Z K 7 svn:log V 115 Remove redundant redeclaration of gdtset in sys/xen/xen-os.h, to silence a gcc warning. Approved by: re (glebius) END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-18T17:08:23.199017Z K 7 svn:log V 129 MFC r256746: Remove redundant redeclaration of gdtset in sys/xen/xen-os.h, to silence a gcc warning. Approved by: re (glebius) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-10-18T17:21:47.453052Z K 7 svn:log V 100 KERNBASE is unsigned, so we'd better use hs instead of ge. Pointy hat to: cognet Suggested by: ian END K 10 svn:author V 7 asomers K 8 svn:date V 27 2013-10-18T17:35:51.976757Z K 7 svn:log V 323 cddl/sbin/zfsd/callout.cc lib/libdevctl/consumer.cc lib/libdevctl/event.cc lib/libdevctl/event_factory.cc Include headers that are implicitly included by gcc and libstdc++ but must be explicitly included when using clang and libc++. Submitted by: alans Approved by: ken (mentor) Sponsored by: Spectra Logic Corporation END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-18T17:38:57.660174Z K 7 svn:log V 192 Improve XHCI stability. When a command timeout happens, the command should be aborted else the command queue can stop. Refer to section "4.6.1.2" of the XHCI specification. MFC after: 1 week END K 10 svn:author V 7 asomers K 8 svn:date V 27 2013-10-18T17:43:48.411610Z K 7 svn:log V 760 Add the zfsd unit tests. They require googletest and googlemock from ports. cddl/sbin/zfsd/tests cddl/sbin/zfsd/tests/libmocks.c cddl/sbin/zfsd/tests/zfsd_unittest.cc cddl/sbin/zfsd/tests/libmocks.h cddl/sbin/zfsd/tests/Makefile Add the zfsd unit tests. cddl/sbin/zfsd/tests/zfsd_unittest.supp Add a valgrind suppression file. cddl/sbin/zfsd/tests/zfsd_test.sh An ATF test program that runs the unit tests cddl/sbin/zfsd/Makefile.common Modify Makefile.common so that it can be used either to build zfsd or zfsd's unit tests. cddl/sbin/zfsd/Makefile Don't descend into the tests directory if googletest and googlemock are not installed, even if MK_TESTS=yes Submitted by: asomers Approved by: ken (mentor) Sponsored by: Spectra Logic Corporation END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-18T20:44:19.336466Z K 7 svn:log V 455 MFP4: 221483, 221567, 221568, 221670, 221677, 221678, 221800, 221801, 221804, 221805, 222004, 222006, 222055, 222820, 1135077, 1135118, 1136259 Add atse(4), a driver for the Altera Triple Speed Ethernet MegaCore. The current driver support gigabit Ethernet speeds only and works with the MegaCore only in the internal FIFO configuration in the soon to be open sourced BERI CPU configuration. Submitted by: bz MFC after: 3 days Sponsored by: DARPA/AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-18T20:52:42.675572Z K 7 svn:log V 266 MFP4: 1136252 Add an option ATSE_CFI_HACK to allow memory mapped CFI devices to have their address range allocated sharable so that atse(4) can find it's Ethernet address in the expected location. We intend to remove this hack once the BERI platform has a loader. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-18T21:42:47.819240Z K 7 svn:log V 290 MFC r256709: Eliminate unconditional debug printfs. Linux writes to these nominally read-only registers, so avoid having bhyve write warning messages to stdout when the reg writes can be safely ignored. Change the WPRINTF to DPRINTF which is conditional. Approved by: re (gjb) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-18T22:05:17.172862Z K 7 svn:log V 294 MFC r256709: Eliminate unconditional debug printfs. Linux writes to these nominally read-only registers, so avoid having bhyve write warning messages to stdout when the reg writes can be safely ignored. Change the WPRINTF to DPRINTF which is conditional. Approved by: re (delphij) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-10-18T22:47:10.685954Z K 7 svn:log V 136 There's no need to guard pmap_extract(), it won't be called until well after the VM has been properly initialized. Spotted out by: alc END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-10-18T22:48:38.166125Z K 7 svn:log V 556 MFC: r256425 Centralize the detection logic for the Hyper-V hypervisor. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs, grehan Approved by: re (gjb) sys/sys/systm.h: * Add a new VM_GUEST type, VM_GUEST_HV (HyperV guest). sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c: sys/dev/hyperv/vmbus/hv_hv.c: sys/dev/hyperv/stordisengage/hv_ata_pci_disengage.c: * Set vm_guest to VM_GUEST_HV and use that on other HyperV related devices instead of cloning the cpuid hypervisor check. * Cleanup the vmbus_identify function. END K 10 svn:author V 5 gibbs K 8 svn:date V 27 2013-10-18T23:19:27.905149Z K 7 svn:log V 629 MFC r256425: Centralize the detection logic for the Hyper-V hypervisor. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs, grehan Approved by: re (gjb) sys/sys/systm.h: * Add a new VM_GUEST type, VM_GUEST_HV (HyperV guest). sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c: sys/dev/hyperv/vmbus/hv_hv.c: sys/dev/hyperv/stordisengage/hv_ata_pci_disengage.c: * Set vm_guest to VM_GUEST_HV and use that on other HyperV related devices instead of cloning the cpuid hypervisor check. * Cleanup the vmbus_identify function. ------------------------------------------------------------------------ END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-10-19T06:30:20.810649Z K 7 svn:log V 232 MFC: r256069 Expose system level ixgbe sysctls. Device level sysctls are already exposed as dev.ix. Fixing the case where number of queues for igb is auto-tuned and hw.igb.num_queues does not return current/updated value. END K 10 svn:author V 3 rrs K 8 svn:date V 27 2013-10-19T06:47:02.343629Z K 7 svn:log V 288 Corrects the Kirkwood dreamplug to use the right register for power managment. It was incorrectly using the clock register which also caused the status to be the opposite of what it is supposed to be. 1 - its disabled 0 - its enabled Per kirkwood spec FSS_88F6180_9x_6281_OpenSource.pdf END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-19T06:48:49.308823Z K 7 svn:log V 712 Clearly split the logic to build ATF and plain tests apart. This change introduces a new plain.test.mk file that provides the build infrastructure to build test programs that don't use any framework. Most of the code previously in bsd.test.mk moves to plain.test.mk and atf.test.mk is extended with the missing pieces. In doing so, this change pushes all test program building logic to the various *.test.mk files instead of trying to reuse some tiny bits. In fact, this attempt to reuse some definitions makes the code harder to read and harder to extend. The clear benefit of this is that the interface of bsd.test.mk is now clearly delimited. Submitted by: Julio Merino jmmv google.com MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-19T06:50:17.982293Z K 7 svn:log V 426 Add the automatic generation of Atffile files. These are only used by the deprecated atf-run and atf-report tools. Generating them is easy and provides a mechanism for people to experiment with these tools if they wish. But, because these tools and files are deprecated, doing this only happens if the user has explicitly set ALLOW_DEPRECATED_ATF_TOOLS to yes. Submitted by: Julio Merino jmmv google.com MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-19T06:50:56.545379Z K 7 svn:log V 392 Add the automatic generation of Kyuafile files. These files are generated from bsd.test.mk because kyua is able to run test programs implemented using different libraries/frameworks. In order to make this possible, this change also extends the various *.test.mk file to explicitly indicate the interface of every test program. Submitted by: Julio Merino jmmv google.com MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-19T06:51:34.927610Z K 7 svn:log V 275 Plug atf-run into the 'test' target. If atf-run exists in ATF_PREFIX and if ALLOW_DEPRECATED_ATF_TOOLS has been set to yes, the test target is automatically defined to use it for the execution of test programs. Submitted by: Julio Merino jmmv google.com MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-19T06:52:06.013978Z K 7 svn:log V 216 Plug kyua into the 'test' target. If kyua exists in KYUA_PREFIX, the test target is automatically defined to use it for the execution of test programs. Submitted by: Julio Merino jmmv google.com MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-10-19T08:20:00.752126Z K 7 svn:log V 101 Fix build with gcc by spelling unused format string as "unused" instead of NULL. MFC after: 29 days END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-19T09:40:29.869942Z K 7 svn:log V 159 Allow ~ in file names so libtool droppings in contrib don't break updates. It has happened twice now, and is likely to happen again. Errata notice candidate. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-19T09:59:11.019853Z K 7 svn:log V 293 Do not error out when adding an interface to a group to which it already belongs or removing it from a group to which it does not belong. This makes it possible to include group memberships in ifconfig_foo0 in rc.conf without fear of breaking "service netif restart foo0". MFC after: 3 days END K 10 svn:author V 3 des K 8 svn:date V 27 2013-10-19T10:00:51.467922Z K 7 svn:log V 60 Last few remnants of BIND (hopefully...) MFC after: 3 days END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-10-19T15:36:21.718587Z K 7 svn:log V 49 Improve bootstrapping message MFC after: 3 days END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-10-19T17:11:58.864126Z K 7 svn:log V 66 drm/radeon: radeonkms depends on firmware(9) Submitted by: tijl@ END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-10-19T18:13:32.885172Z K 7 svn:log V 131 - Add parentheses to all internet addresses - All the casts to uint32_t should be to in_addr_t Suggested by: bde Reviewed by: bde END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-10-19T18:51:06.690683Z K 7 svn:log V 609 Enable the automatic creation of a certificate (if one does not exists) and enable the usage by sendmail if sendmail is enabled. Include and document knobs to disable this feature and also set the Common Name of the certificate created. As the certificate is signed w/ a discarded key, it only helps prevent Eve, but not Malory from knowing the contents of the emails. This means that new installs (and people that use the updated freebsd.mc file) will automaticly have STARTTLS enabled allowing incoming email to be encrypted in most cases. Reviewed by: gshapiro MFC after: 3 days Security: Yes, please. END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-10-19T21:33:06.602299Z K 7 svn:log V 76 Clock divisors 0-3 correspond to dividing by 1-4, so add 1 before dividing. END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-10-19T21:37:06.691845Z K 7 svn:log V 1286 Add support for "first boot" rc.d scripts. [1] These scripts, containing # KEYWORD: firstboot will only be run if a sentinel file (default: /firstboot, configurable via the rc.conf ${firstboot_sentinel} variable) exists; this sentinel file will be deleted at the end of the boot process. Scripts can request that the system reboot after the first boot by creating the file ${firstboot_sentinel}-reboot. This functionality is expected to be useful for embedded systems and virtual machine images, where it may be desirable to (a) download and install updates which became available between when the image was created and when it was "turned on"; (b) download and install packages which may be newer than those which were available when the image was created; (c) install packages which run binaries during their install process, bypassing the problem of cross-architecture installs; (d) resize filesystems to match the disk onto which a VM image was installed; (e) perform initialization tasks relevant to cloud systems (e.g., Amazon's Elastic Compute Cloud); and likely to perform many other one-time initialization functions. Document this new functionality in rc.conf(5) and rc(8). [2] Reviewed by: freebsd-current, freebsd-rc [1] Reviewed by: Warren Block [2] MFC after: 3 days END