‚Ù 266857 143 206 188 415 1317 526 761 205 227 460 162 444 158 185 193 386 355 236 214 265 113 182 186 215 186 172 320 171 183 192 154 201 298 170 302 161 282 257 194 564 150 207 192 205 174 370 140 167 302 187 817 230 323 212 233 237 294 211 201 228 149 246 525 270 156 141 383 278 712 224 149 136 142 159 486 148 133 495 364 185 342 673 351 336 152 389 197 275 128 244 209 226 156 296 159 325 929 662 164 216 217 138 264 129 444 197 751 189 179 318 135 123 119 302 593 414 287 345 2080 316 320 227 229 236 552 769 934 189 135 199 328 187 346 325 200 312 269 203 230 203 142 155 739 219 K 10 svn:author V 3 hrs K 8 svn:date V 27 2014-05-29T20:53:53.366244Z K 7 svn:log V 113 Add rwlock to struct dadq. A panic could occur when a large number of addresses performed DAD at the same time. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2014-05-29T21:00:06.049001Z K 7 svn:log V 93 In uart_bus_grab(), use the ier_mask instead of a custom hack for XScale. Suggested by: jmg END K 10 svn:author V 5 marck K 8 svn:date V 27 2014-05-29T21:02:57.173381Z K 7 svn:log V 320 Change examples to have master skew above 0 to have ability to overwrite this from the slave (for example, when master is failing on disk IO and could not be logged into or execute cronjob). Commented out examples changed too to simplify future merging. Idea by: kaa@zvuki.ru Discussed with: glebius MFC after: 1 week END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-05-29T21:03:49.735605Z K 7 svn:log V 1219 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. Reported by: bz, hrs Reviewed by: hrs MFC after: 1 week X-MFC-with: 264905 Sponsored by: Spectra Logic END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-05-29T21:10:33.136145Z K 7 svn:log V 430 Update size in vt_grow if we don't have to reallocate vt_grow may be called with a new size that's larger than previous but does not require reallocation - for example, when the number of columns is the same and new number of rows is less than the history size. Prior to this change we would fail to update vb_scr_size, and then hit a KASSERT when trying to write to the newly visible rows. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-05-29T21:52:42.137035Z K 7 svn:log V 665 Correct vt(4) border calculations on font switch If a vt(4) font does not exactly fit the screen dimensions, the console window is offset so that it is centered. A rectangle is drawn at the top, left, right, and bottom of the screen, to erase any leftovers that are outside of the new usable console area. If the x offset or y offset is 0 then the left border or top border respectively is not drawn. The right and bottom borders may be one pixel larger than necessary due to rounding, and are always drawn. Prior to this change a 0 offset would result in a panic when calling vt_drawrect with an x or y coordinate of -1. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 des K 8 svn:date V 27 2014-05-29T22:34:04.007513Z K 7 svn:log V 112 Create /var/unbound/conf.d for additional configuration files. Ensure that it is used if present. MFH: 3 weeks END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-30T00:12:25.136018Z K 7 svn:log V 134 Update stable/9 to -BETA1 for the first batch of 9.3-RELEASE builds. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-30T01:09:07.478399Z K 7 svn:log V 367 Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance. POSIX.1-2008 specifies that those two functions should be declared by including , not (the latter only has strcoll_l() and strxfrm_l()): http://pubs.opengroup.org/onlinepubs/9699919799/functions/strcasecmp.html Obtained from: DragonFlyBSD Reviewed by: theraven MFC after: 2 weeks END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-05-30T02:16:28.534896Z K 7 svn:log V 70 Minor mdoc fix Submitted by: hrs Approved by: hrs (mentor, implicit) END K 10 svn:author V 8 jmallett K 8 svn:date V 27 2014-05-30T04:44:07.241866Z K 7 svn:log V 346 Welcome Patrick Kelsey (pkelsey@) to the order of src committers. He will be contributing drivers and enhancements for various ARM and MIPS systems, and hopefully will merge some of the new network stack features from his "libuinet" project, which was the subject of a talk given by him at BSDCan 2014. I will be his mentor. Approved by: core END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-05-30T05:17:14.516316Z K 7 svn:log V 63 Cleanup the RADXA kernel config file a bit and enable modules. END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-05-30T06:26:30.363779Z K 7 svn:log V 93 Make test less verbose and clean up code a bit. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-05-30T06:34:29.491695Z K 7 svn:log V 100 Added new MK_MAN to Makefile. Fixed whitespace issues. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-05-30T06:37:06.760096Z K 7 svn:log V 289 Add common kernel config file for Rockchip RK3188 systems by splitting current RADXA config. Radxa Rock (RR) boards have few types such as RR (full version), RR Lite and some variants of RR engineering samples. Add kernel config and FDT file for RR Lite board. Approved by: stas (mentor) END K 10 svn:author V 2 br K 8 svn:date V 27 2014-05-30T06:45:50.127691Z K 7 svn:log V 263 o Make keyboard-related properties to be compatible with vendor standard o Allow setting keymap in FDT, use hardcoded one by default o Represent fallback keymap as a list rather than directly usable M*N array Submitted by: Maxim Ignatenko END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T07:30:24.964217Z K 7 svn:log V 138 Add support for basic read, write and read capacity disk operations to the USB mass storage test utility file. Sponsored by: DARPA, AFRL END K 10 svn:author V 2 br K 8 svn:date V 27 2014-05-30T07:43:55.944948Z K 7 svn:log V 122 Fix off-by-one error that makes 0-th pins of each bank unreachable. Submitted by: Maxim Ignatenko END K 10 svn:author V 2 br K 8 svn:date V 27 2014-05-30T07:48:55.510372Z K 7 svn:log V 173 Reset HSIC hub during EHCI initialization. This makes devices connected to external USB ports available to the system. Submitted by: Maxim Ignatenko END K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-05-30T08:22:58.526229Z K 7 svn:log V 17 Whitespace only. END K 10 svn:author V 3 pho K 8 svn:date V 27 2014-05-30T09:39:59.721978Z K 7 svn:log V 90 No need to source in the configuration file. Sponsored by: EMC / Isilon storage division END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T09:43:32.432775Z K 7 svn:log V 89 Add support for snprintf() to libstand. Reviewed by: brooks @ Sponsored by: DARPA, AFRL END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T10:18:01.512236Z K 7 svn:log V 117 style(9) requires an empty line when function have no local variables. Suggested by: ae @ Sponsored by: DARPA, AFRL END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-05-30T10:35:51.413993Z K 7 svn:log V 95 Use g_conf_printf_escaped() to escape symbols, which can break an XML tree. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T13:10:49.832896Z K 7 svn:log V 75 Add support for USB mass storage to libusbboot. Sponsored by: DARPA, AFRL END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T13:39:58.878027Z K 7 svn:log V 222 USB boot library improvements: - Make the USB boot library more configurable. - Resolve compile issues when cross building. - Allow use of separate malloc. - Allow use of separate endian macros. Sponsored by: DARPA, AFRL END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T13:42:11.972820Z K 7 svn:log V 74 Add ISP/SAF1761 bootloader bus interface file. Sponsored by: DARPA, AFRL END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T13:45:20.769172Z K 7 svn:log V 86 Make driver detach code in USB mass storage test optional. Sponsored by: DARPA, AFRL END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T13:53:37.321884Z K 7 svn:log V 95 Fix delay() function in the BERI loader code. Reviewed by: brooks @ Sponsored by: DARPA, AFRL END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T14:05:31.166570Z K 7 svn:log V 57 Export structure(s) properly. Sponsored by: DARPA, AFRL END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T14:30:52.988131Z K 7 svn:log V 103 Resolve issue with resolving malloc() and free() functions at linking time. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-05-30T14:58:06.814638Z K 7 svn:log V 205 MFC: 266171, 266174 Extend the size of the function or symbol that can be annotated. Update the amount of data we can collect for hwpmc(4) by default to work with modern processors and available memory. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-05-30T15:00:50.296029Z K 7 svn:log V 78 MFC: 266166 Extend the size of the function or symbol that can be annotated. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-05-30T15:02:29.164513Z K 7 svn:log V 209 MFC: 266209 Add a command line argument (-l) to end event collection after some number of seconds. The number of seconds may be a fraction. Submitted by: Julien Charbon Relnotes: yes END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-30T15:46:10.690332Z K 7 svn:log V 69 Use callout_*() rather than timeout()/untimeout(). Reviewed by: imp END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T16:44:03.685345Z K 7 svn:log V 184 It appears the ISP/SAF1761 sometimes is busy when reading the status word of the PTD and simply returns a value of zero. Retry a few times before giving up. Sponsored by: DARPA, AFRL END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T16:47:54.722866Z K 7 svn:log V 159 Add optional support for USB to BERI loader. Fix the linker script so that the garbage collection feature can be used when linking. Sponsored by: DARPA, AFRL END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-30T16:49:12.240063Z K 7 svn:log V 97 Use own memory pool of 128K until further, hence that works the best. Sponsored by: DARPA, AFRL END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-30T16:53:53.966549Z K 7 svn:log V 463 Enable a login console on ttyu0 by default if it is a serial console. This prevents surprising effects post-installation on serial-only x86 systems (e.g. bhyve) where the kernel messages will appear, rc scripts will run, and then there will be no login prompt and you will be locked out of the system. Thanks to Devin Teske and Peter Grehan for ideas and testing. With this patch, it may also be possible to unify all or most of the machine-specific ttys files. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2014-05-30T18:03:16.585824Z K 7 svn:log V 55 Add linux_event.c to COMPAT_LINUX32, it is needed too. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2014-05-30T18:04:10.756967Z K 7 svn:log V 111 Include opt_compat.h, so that COMPAT_LINUX32 is defined, and we can access to the semop structs and functions. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2014-05-30T18:05:04.427843Z K 7 svn:log V 97 Move the linux64 files in /compat/linux64, so that we can have both 32bits and 64bits installed. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2014-05-30T18:05:43.859772Z K 7 svn:log V 109 Choose /compat/linux or /compat/linux64 as prefix depending on if the process is a 32bits or 64bits process. END K 10 svn:author V 6 cognet K 8 svn:date V 27 2014-05-30T18:14:15.648640Z K 7 svn:log V 79 Backout, both 32 and 64bits should be able to live peacefully in /compat/linux END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-05-30T18:59:37.926373Z K 7 svn:log V 276 Allocate a zeroed LDT. Failing to do this might result in the LDT appearing to run out of free descriptors because of random junk in the descriptor's 'sd_type' field. http://lists.freebsd.org/pipermail/freebsd-amd64/2014-May/016088.html Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-05-30T19:45:21.236456Z K 7 svn:log V 45 Add missing libexec/bsdconfig subdirectories END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-05-30T20:12:47.581941Z K 7 svn:log V 72 Update default callchain depth to 16 to match kernel MFC after: 1 week END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-30T20:56:28.725312Z K 7 svn:log V 209 Bump FreeBSD_version due to changed header for strcasecmp(3) family. In r266865, strcasecmp_l() and strncasecmp_l() were moved from to for POSIX 2008 compliance. Requested by: linimon END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-05-30T20:58:32.175227Z K 7 svn:log V 94 Remove bogus check for kmem_malloc() failure even though M_WAITOK is set. Requested by: jkim END K 10 svn:author V 3 jhb K 8 svn:date V 27 2014-05-30T21:18:53.206689Z K 7 svn:log V 724 Rework the notion of CPU used in top. In particular, for subsequent displays after a pause, use the difference in runtime divided by the length of the pause as the percentage of CPU used instead of the value calculated by the kernel. In addition, when determing if a process or thread is idle or not, treat any process or thread that has used any runtime or performed any context switches during the interval as busy. Note that the percent CPU is calculated as a double and stored in an array to avoid recalculating the value multiple times in the comparison method used to sort processes in the CPU display. Tested by: Jamie Landeg-Jones Reviewed by: emaste (earlier version) MFC after: 1 week END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-05-30T22:34:06.213202Z K 7 svn:log V 138 While PAWS is disabled, there are no consumers for the tcp options argument to tcp_twcheck(); thus mark it __unused. MFC after: 2 weeks END K 10 svn:author V 2 np K 8 svn:date V 27 2014-05-30T22:59:45.930691Z K 7 svn:log V 231 cxgbe(4): Fix a NULL dereference when the very first call to get_scatter_segment() in get_fl_payload() fails. While here, fix the code to adjust fl_bufs_used when a failure occurs for any other scatter segment. MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-30T23:28:53.072828Z K 7 svn:log V 111 Experimental script for unprivileged port-building. Requires vfs.usermount set and the patch from kern/121073. END K 10 svn:author V 6 tychon K 8 svn:date V 27 2014-05-30T23:37:31.503864Z K 7 svn:log V 137 If VMX isn't enabled so long as the lock bit isn't set yet in MSR IA32_FEATURE_CONTROL it still can be. Approved by: grehan (co-mentor) END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-05-31T00:40:13.723275Z K 7 svn:log V 142 MFC r263446 Update hwpmc to support core events for Atom Silvermont microarchitecture. (Model 0x4D as per Intel document 330061-001 01/2014) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-31T00:54:21.681719Z K 7 svn:log V 201 Fix m2 regression test. This is not really a good test as the behaviour for /c is unspecified. For the record, ksh93 returns: $ printf "abc\n\cdef" abc ef$ Discussed with: Garret D'Amore (Illumos) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-31T00:57:31.398114Z K 7 svn:log V 114 3897 zfs filesystem and snapshot limits (fix leak) illumos/illumos-gate@fb7001f1cd0ee8c6cacc800126125242e40ecbd4 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-31T00:58:34.227590Z K 7 svn:log V 104 4901 zfs filesystem/snapshot limit leaks illumos/illumos-gate@adf340778b67ab4c04c186099a69e0a5435609c7 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-31T01:00:22.665348Z K 7 svn:log V 131 MFV 266913+266914: 3897 zfs filesystem and snapshot limits (fix leak) 4901 zfs filesystem/snapshot limit leaks MFC after: 3 days END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-05-31T01:44:11.708608Z K 7 svn:log V 54 Release Tycho from mentorship ! Co-Approved by: neel END K 10 svn:author V 7 pkelsey K 8 svn:date V 27 2014-05-31T05:16:12.588844Z K 7 svn:log V 149 - Added myself and mentor/mentee relationship to the src committers graph. - Added my info to the FreeBSD calendar. Approved by: jmallett (mentor) END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-05-31T05:59:55.826913Z K 7 svn:log V 428 MFC r266782: In r218101 I have not changed properly the futex syscall definition. Some Linux futex ops atomically verifies that the futex address uaddr (uval) contains the value val. Comparing signed uval and unsigned val may lead to an unexpected result, mostly to a deadlock. So copyin uaddr to an unsigned int to compare the parameters correctly. While here change ktr records to print parameters in more readable format. END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-05-31T06:17:34.697158Z K 7 svn:log V 173 Add #NO_UNIVERSE to RADXA and RADXA-LITE kernel configs since there aren't any new devices in those files so unhook them from universe build. Approved by: stas (mentor) END K 10 svn:author V 6 cognet K 8 svn:date V 27 2014-05-31T11:07:30.422435Z K 7 svn:log V 61 Define INLINE_LIMIT and disable -fstack-protector for arm64. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-31T11:08:22.202574Z K 7 svn:log V 44 MFC: r266270 Remove some unused variables. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-31T14:27:50.142209Z K 7 svn:log V 289 Add a bounds verification to the SCL and SDA pin values. At attach, print the SCL and SDA pin numbers. Remove a stray blank line. Remove the GPIOBUS locking from gpioiic_reset(), it is already called with this lock held. This fixes a crash when you try to scan the iicbus with i2c(8). END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-31T14:38:05.727352Z K 7 svn:log V 184 Ignore IIC_ENOADDR from iicbus_reset() as it only means we have a master-only controller. This fixes the iic bus scan with i2c(8) (on supported controllers). Tested with gpioiic(4). END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-05-31T14:58:53.578144Z K 7 svn:log V 615 Glibc was switched to the FUTEX_WAIT_BITSET op and CLOCK_REALTIME flag has been added instead of FUTEX_WAIT to replace the FUTEX_WAIT logic which needs to do gettimeofday() calls before the futex syscall to convert the absolute timeout to a relative timeout. Before this the CLOCK_MONOTONIC used by the FUTEX_WAIT_BITSET op. When the FUTEX_CLOCK_REALTIME is specified the timeout is an absolute time, not a relative time. Rework futex_wait to handle this. On the side fix the futex leak in error case and remove useless parentheses. Properly calculate the timeout for the CLOCK_MONOTONIC case. MFC after: 3 days END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-05-31T15:01:51.540262Z K 7 svn:log V 127 To allow to run the interpreter itself add a new ELF branding type. Allow Linux ABI to run ELF interpreter. MFC after: 3 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-31T16:11:39.422391Z K 7 svn:log V 54 Use objcopy and objdump, instead of my copies of them END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-31T16:14:16.090754Z K 7 svn:log V 41 Branch to mi_startup after initial setup END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-31T16:16:44.398441Z K 7 svn:log V 47 Stop using memset in bzero, memset calls bzero END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-31T16:22:58.112675Z K 7 svn:log V 64 Update pmap implementing more functions as they have been found END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-05-31T20:26:34.254164Z K 7 svn:log V 393 convert to using the _daddr_t types like newfs was... Put the superblock in the correct possition for UFS2... There is a bug in FFS that if we don't put it here (for UFS2), it will forcefully relocate the superblock, and I believe cause data loss.. I have a fix for that, but w/ how many releases are broken, we won't be able to switch to the better _FLOPPY (block 0) for this for a while.. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-31T21:12:14.948701Z K 7 svn:log V 51 Grammar cleanup; sort SEE ALSO. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-31T22:25:45.903799Z K 7 svn:log V 38 sh: Simplify find_command() slightly. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-05-31T23:37:34.145015Z K 7 svn:log V 401 Activate vcpus from bhyve(8) using the ioctl VM_ACTIVATE_CPU instead of doing it implicitly in vmm.ko. Add ioctl VM_GET_CPUS to get the current set of 'active' and 'suspended' cpus and display them via /usr/sbin/bhyvectl using the "--get-active-cpus" and "--get-suspended-cpus" options. This is in preparation for being able to reset virtual machine state without having to destroy and recreate it. END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-06-01T02:13:07.408428Z K 7 svn:log V 270 Limit the maximum number of back-to-back iterations of a "rep; ins/outs" to 16. This is arbitrary and is used to ensure that a vcpu goes back into the vm_run() loop to process interrupts or rendezvous events in a timely fashion. Found with: Coverity Scan CID: 1216436 END K 10 svn:author V 4 neel K 8 svn:date V 27 2014-06-01T02:47:09.590884Z K 7 svn:log V 92 Use MIN(a,b) from instead of rolling our own version. Pointed out by: grehan END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-06-01T03:14:03.345889Z K 7 svn:log V 248 Adds the bsnmp module to export the temperature data from lm75 sensors on the system. Together with lm75(4) this module allows easy temperature monitoring over SNMP, specially for embedded systems. Manual page reviewed by: brueffer (D128) END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-06-01T03:57:57.903821Z K 7 svn:log V 579 Export two new settings for the AM335x PWM, the clock prescaler (clkdiv) and the actual PWM frequency. Enforce the maximum value for the period sysctl. The frequency systcl now allows the direct setting of the PWM frequency (it will try to find the better clkdiv and period for a given frequency, i.e. the ones that will give the better PWM resolution). This allows the use lower frequencies on the PWM. Without changing the clock prescaler the minimum PWM frequency was 1.52kHz. PWM frequencies checked with an osciloscope. PWM output tested with some R/C servos at 50Hz. END K 10 svn:author V 7 rodrigc K 8 svn:date V 27 2014-06-01T04:08:45.776788Z K 7 svn:log V 254 Allow customization of the brand displayed in the boot menu. If the user specifies in /boot/loader.conf: loader_brand="mycustom-brand" Then "mycustom-brand" will be executed instead of "fbsd-logo". Submitted by: alfred Obtained from: FreeNAS END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-06-01T04:11:05.648431Z K 7 svn:log V 240 Pin the right thread. This _was_ right, a last minute suggestion and not enough testing makes Adrian a bad boy. Tested: * igb(4) with RSS patches, by hand verifying each igb(4) taskqueue tid from procstat -ka using cpuset -g -t . END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-06-01T05:02:48.733120Z K 7 svn:log V 56 Silence tinderbox build. Approved by: stas (mentor) END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-06-01T07:28:24.643875Z K 7 svn:log V 294 ECN marking implenetation for dummynet. Changes include both DCTCP and RFC 3168 ECN marking methodology. DCTCP draft: http://tools.ietf.org/html/draft-bensley-tcpm-dctcp-00 Submitted by: Midori Kato (aoimidori27@gmail.com) Worked with: Lars Eggert (lars@netapp.com) Reviewed by: luigi, hiren END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-01T07:34:54.281899Z K 7 svn:log V 105 Do only receive chars if there are some data in the buffer. This fixes operation on newer Exynos boards. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-01T08:15:34.291943Z K 7 svn:log V 183 Add support for Exynos 5420 Octa - 8-core heterogeneous (big.LITTLE) ARM machine (4 x Cortex-A15 @ 1.8Ghz, 4 x Cortex-A7 @ 1Ghz) Add configuration for Arndale Octa development board END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-01T08:34:45.908470Z K 7 svn:log V 37 Rename exynos uart driver filenames. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-01T08:45:27.346828Z K 7 svn:log V 152 Fix i2c communication interface to be compatible with vendor tools, e.g. embedded controller tool Submitted by: Maxim Ignatenko END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-01T10:22:18.813818Z K 7 svn:log V 111 Add basic support for isochronous transfers in host mode to the ISP/SAF1761 driver. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-06-01T11:25:34.321919Z K 7 svn:log V 130 sh: Avoid undefined behaviour shifting negative values left in arithmetic. With i386 base clang, arith_yacc.o remains unchanged. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-06-01T13:33:22.190217Z K 7 svn:log V 61 printf: Install tests/regress.missingpos1.out, fixing tests. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-06-01T16:35:22.038478Z K 7 svn:log V 195 Rip out all the gnop code. The same thing can be accomplished with the vfs.zfs.min_auto_ashift sysctl. Either we change the default there, or live with 512-byte blocks on disks that report such. END K 10 svn:author V 2 br K 8 svn:date V 27 2014-06-01T17:09:02.356555Z K 7 svn:log V 68 Add ident value. This fixes universe build. Pointed out by: andrew END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-01T18:16:01.768772Z K 7 svn:log V 229 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. MFC after: 1 week END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-06-01T18:41:33.609733Z K 7 svn:log V 836 MFC r266285,266866: ------------------------------------------------------------------------ r266285 | bjk | 2014-05-16 23:05:52 -0400 (Fri, 16 May 2014) | 9 lines Correct documentation of the limit on how much memory can be mlock()ed vm.max_wired is a system-wide limit, not per-process. Reword the section to make this more clear. PR: docs/189214 Submitted by: Lawrence Chen (original text) Approved by: hrs (mentor) ------------------------------------------------------------------------ r266866 | bjk | 2014-05-29 22:16:28 -0400 (Thu, 29 May 2014) | 5 lines Minor mdoc fix Submitted by: hrs Approved by: hrs (mentor, implicit) ------------------------------------------------------------------------ PR: docs/189214 Approved by: hrs (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-06-01T18:52:21.857911Z K 7 svn:log V 566 MFC r264480: mergemaster: Avoid "/var/tmp/temproot disappeared" if there is nothing to compare. Because of the change to find in SVN r253886, the entire temproot would be deleted if it became empty, leading to a confusing message "*** FATAL ERROR: The temproot directory ${TEMPROOT} has disappeared!" Note that mergemaster does not do anything useful in this situation anyway (e.g. put IGNORE_FILES="/etc/group /etc/master.passwd" in /etc/mergemaster.rc and run mergemaster -p). As noted in that commit, add -mindepth 1. PR: bin/188485 Submitted by: David Boyd END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-06-01T20:08:37.518043Z K 7 svn:log V 64 Diff reduction to HEAD: cut this down just to ZFS-related bits. END K 10 svn:author V 5 hiren K 8 svn:date V 27 2014-06-01T20:19:17.889223Z K 7 svn:log V 121 DNOLD_IS_ECN introduced by r266941 is not required. DNOLD_* flags are for compat with old binaries. Suggested by: luigi END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-06-01T21:30:45.660379Z K 7 svn:log V 121 Add more of pmap. pmap_enter is only partially implemented however it is enough to get further through the boot process. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-06-01T21:33:02.998736Z K 7 svn:log V 43 Add cpu_thread_alloc and start on cpu_fork END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-06-02T00:14:02.513704Z K 7 svn:log V 166 Add support for the Want Delegation flags on Open to the NFSv4.1 server. Also fix it so that it correctly reports that there is no backchannel in the Sequence reply. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-06-02T00:21:42.614572Z K 7 svn:log V 34 arc: add linting for python files END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-06-02T02:00:17.619264Z K 7 svn:log V 350 Configure the analog input 7 which, on BBB, is connected to the 3V3B rail through a voltage divisor (R163 and R164 on page 4 of BBB schematic). Add a note about this on ti_adc(4) man page. The ti_adc(4) man page will first appear on 10.1-RELEASE. MFC after: 1 week Suggested by: Sulev-Madis Silber (ketas) Manual page reviewed by: brueffer (D127) END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-06-02T02:20:28.460846Z K 7 svn:log V 103 Never, ever, abbreviate the month names on manual pages. Pointed out by: brueffer Pointy hat to: loos END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-06-02T03:03:57.469971Z K 7 svn:log V 658 Document some more socket features Add some mention of the functions used by protocol implementations, upcalls, and other general routines. Not all functionality is documented; in particular: o the *at() variants, which are useful only for implementing the corresponding syscalls. o soconnect2(), also only used to implement a syscall (socketpair()). o sockargs(), which is essentually unused and only tangentially socket-related. o selsocket(), which is commented as being present solely for use by netncp and netsmb. o getsockaddr(), which is just a convenience shortcut for copyin(). Reviewed by: jhb (previous version) Approved by: hrs (mentor) END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-06-02T03:07:16.042576Z K 7 svn:log V 97 Note that recording is not supported for snd_envy24* PR: docs/166755 Approved by: hrs (mentor) END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-06-02T03:27:33.170152Z K 7 svn:log V 87 enable sound modules on arm.. This is necessary to get the uaudio module installed... END K 10 svn:author V 2 np K 8 svn:date V 27 2014-06-02T05:01:08.362266Z K 7 svn:log V 226 MFC r266908: cxgbe(4): Fix a NULL dereference when the very first call to get_scatter_segment() in get_fl_payload() fails. While here, fix the code to adjust fl_bufs_used when a failure occurs for any other scatter segment. END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-06-02T06:08:09.826750Z K 7 svn:log V 41 Add initial post-commit -> bugzilla hook END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-06-02T06:09:05.388720Z K 7 svn:log V 29 Post commit -> bugzilla hook END K 10 svn:author V 5 peter K 8 svn:date V 27 2014-06-02T06:15:38.361895Z K 7 svn:log V 25 Test commit PR: 190488 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-06-02T07:08:34.067642Z K 7 svn:log V 204 Change type of the DMA address so that on PAE platforms we get can 64-bit DMA addresses even though the USB stack currently only uses 32-bit DMA. Suggested by: Kohji Okuno END K 10 svn:author V 2 ae K 8 svn:date V 27 2014-06-02T10:14:03.216696Z K 7 svn:log V 501 MFC r266444: We have two functions from where a geom orphan method could be called: g_orphan_register and g_resize_provider_event. Both are called from the event queue. Also we have GEOM_DEV class, which does deferred destroy for its consumers via g_dev_destroy (also called from the event queue). So it is possible, that for some consumers an orphan method will be called twice. This triggers panic in g_dev_orphan. Check that consumer isn't already orphaned before call orphan method. END K 10 svn:author V 4 gahr K 8 svn:date V 27 2014-06-02T13:48:57.144593Z K 7 svn:log V 320 - Return NULL and set errno to EINVAL if size is 0 (as required by POSIX). Update the manpage to reflect this change. - Always set the current position to the first null-byte when opening in append mode. This makes the implementation compatible with glibc's. Update the test suite. Reported by: pho Approved by: cognet END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2014-06-02T15:05:25.607320Z K 7 svn:log V 191 Document the diskid automatic label class. While there, also document the glabel "native" labels and explain why there are additional nodes created for nested GEOM classes. Reminded by: jmg END K 10 svn:author V 2 np K 8 svn:date V 27 2014-06-02T17:34:08.968920Z K 7 svn:log V 253 MFC r266908: cxgbe(4): Fix a NULL dereference when the very first call to get_scatter_segment() in get_fl_payload() fails. While here, fix the code to adjust fl_bufs_used when a failure occurs for any other scatter segment. Approved by: re (glebius) END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-02T17:54:39.280458Z K 7 svn:log V 1983 Introduce a procedural interface to the ifnet structure. The new interface allows the ifnet structure to be defined as an opaque type in NIC drivers. This then allows the ifnet structure to be changed without a need to change or recompile NIC drivers. Put differently, NIC drivers can be written and compiled once and be used with different network stack implementations, provided of course that those network stack implementations have an API and ABI compatible interface. This commit introduces the 'if_t' type to replace 'struct ifnet *' as the type of a network interface. The 'if_t' type is defined as 'void *' to enable the compiler to perform type conversion to 'struct ifnet *' and vice versa where needed and without warnings. The functions that implement the API are the only functions that need to have an explicit cast. The MII code has been converted to use the driver API to avoid unnecessary code churn. Code churn comes from having to work with both converted and unconverted drivers in correlation with having callback functions that take an interface. By converting the MII code first, the callback functions can be defined so that the compiler will perform the typecasts automatically. As soon as all drivers have been converted, the if_t type can be redefined as needed and the API functions can be fix to not need an explicit cast. The immediate benefactors of this change are: 1. Juniper Networks - The network stack implementation in Junos is entirely different from FreeBSD's one and this change allows Juniper to build "stock" NIC drivers that can be used in combination with both the FreeBSD and Junos stacks. 2. FreeBSD - This change opens the door towards changing ifnet and implementing new features and optimizations in the network stack without it requiring a change in the many NIC drivers FreeBSD has. Submitted by: Anuranjan Shukla Reviewed by: glebius@ Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-02T18:02:10.307725Z K 7 svn:log V 220 Add convert_drvapi.sh; a script that helps to convert NIC drivers to use the procedural interface. Submitted by: Sreekanth Rupavatharam Reviewed by: glebius@ Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2014-06-02T18:30:57.561047Z K 7 svn:log V 224 Remove extraneous "mkdir -p" The directory hierarchy is created by an mtree file (BSD.usr.dist, in the case of calendar(1)). An explicit "mkdir -p" in a program's Makefile is redundant, and can mask a missing mtree entry. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-02T18:45:36.034836Z K 7 svn:log V 131 Convert fxp(4) to use the driver API. Submitted by: Anuranjan Shukla Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-02T18:52:03.392604Z K 7 svn:log V 133 Convert em(4) to use the driver API. Submitted by: Anuranjan Shukla Obtained from: Juniper Networks, Inc. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-06-02T18:54:45.118264Z K 7 svn:log V 140 Convert bxe(4) to use the driver API. Submitted by: Sreekanth Rupavatharam Obtained from: Juniper Networks, Inc. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-06-02T19:28:11.508459Z K 7 svn:log V 455 MFC r266782: In r218101 I have not changed properly the futex syscall definition. Some Linux futex ops atomically verifies that the futex address uaddr (uval) contains the value val. Comparing signed uval and unsigned val may lead to an unexpected result, mostly to a deadlock. So copyin uaddr to an unsigned int to compare the parameters correctly. While here change ktr records to print parameters in more readable format. Approved by: re (glebius) END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-06-02T19:53:53.655642Z K 7 svn:log V 676 Overhaul CAM SG driver IOCTL interfaces. Make it really work for native FreeBSD programs. Before this it was broken for years due to different number of pointer dereferences in Linux and FreeBSD IOCTL paths, permanently returning errors to FreeBSD programs. This change breaks the driver FreeBSD IOCTL ABI, making it more strict, but since it was not working any way -- who bother. Add shims for 32-bit programs on 64-bit host, translating the argument of the SG_IO IOCTL for both FreeBSD and Linux ABIs. With this change I was able to run 32-bit Linux sg3_utils tools and simple 32 and 64-bit FreeBSD test tools on both 32 and 64-bit FreeBSD systems. MFC after: 1 month END K 10 svn:author V 3 bjk K 8 svn:date V 27 2014-06-02T20:23:41.789385Z K 7 svn:log V 841 MFC r266285,266866: ------------------------------------------------------------------------ r266285 | bjk | 2014-05-16 23:05:52 -0400 (Fri, 16 May 2014) | 9 lines Correct documentation of the limit on how much memory can be mlock()ed vm.max_wired is a system-wide limit, not per-process. Reword the section to make this more clear. PR: docs/189214 Submitted by: Lawrence Chen (original text) Approved by: hrs (mentor) ------------------------------------------------------------------------ r266866 | bjk | 2014-05-29 22:16:28 -0400 (Thu, 29 May 2014) | 5 lines Minor mdoc fix Submitted by: hrs Approved by: hrs (mentor, implicit) ------------------------------------------------------------------------ PR: 189214 Approved by: re (gjb), hrs (mentor) END K 10 svn:author V 3 gnn K 8 svn:date V 27 2014-06-02T20:50:08.550174Z K 7 svn:log V 97 Add missing Ivy Bridge and Haswell events. Submitted by: Anton Rang MFC: 2 weeks END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-06-02T22:58:00.494622Z K 7 svn:log V 43 add Xref to sound(4)... MFC after: 1 week END K 10 svn:author V 3 jmg K 8 svn:date V 27 2014-06-02T23:50:19.451572Z K 7 svn:log V 106 handle longer commands so that lines don't overflow... people who added commands forgot to check this... END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-06-03T00:55:15.256736Z K 7 svn:log V 233 2915 DTrace in a zone should see "cpu", "curpsinfo", et al 2916 DTrace in a zone should be able to access fds[] 2917 DTrace in a zone should have limited provider access illumos/illumos-gate@b0f673c4626e4cb1db7785287eaeed2731dfefe8 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-06-03T01:06:31.310536Z K 7 svn:log V 93 4477 DTrace should speak JSON illumos/illumos-gate@f497f9fe231e0e400f339c84a7d80c4aae2ac4d5 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-06-03T01:16:11.542818Z K 7 svn:log V 251 4248 dtrace(1M) should never create DOF with empty probes section 4249 Only probes from the first DTrace object file will be included illumos/illumos-gate@54a20ab41aadcb81c53e72fc65886e964e9add59 The r258379 import of this change omitted the tests. END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-06-03T01:24:46.988448Z K 7 svn:log V 230 4474 DTrace Userland CTF Support 4475 DTrace userland Keyword 4476 DTrace tests should be better citizens 4479 pid provider types 4480 dof emulation is missing checks illumos/illumos-gate@a386cc11a86ecb60f5a48078d22c1500e2ad003e END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-06-03T01:30:32.993228Z K 7 svn:log V 105 Fix build UDP-Lite with VIMAGE enabled when building with gcc. Reported and tested by: Jason Hellenthal END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-06-03T01:39:55.927684Z K 7 svn:log V 217 MFC r266490, r266738: - Configure Rx bulk - Announce flow control capability to PHY drivers - Improve performance by fixing incorrect Rx/Tx handling - Rename definition of AXGE_* to reflect reality - Add new USB IDs END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-06-03T01:42:09.932295Z K 7 svn:log V 174 4471 DTrace count() with histogram 4472 DTrace full width distribution histograms 4473 DTrace frequency trails illumos/illumos-gate@33093f5bcdc51014933497dd39374080c1ac5705 END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-06-03T01:52:05.078665Z K 7 svn:log V 108 4469 DTrace helper tracing should be dynamic illumos/illumos-gate@902686d13f8a39cfdc57f5605470369eafa51e1f END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-06-03T01:55:27.496762Z K 7 svn:log V 135 4470 overly aggressive D integer narrowing breaks 32-bit ustack helpers illumos/illumos-gate@2e0552679e3175533ade93573ac1229d20a8367b END K 10 svn:author V 5 markj K 8 svn:date V 27 2014-06-03T01:58:22.047237Z K 7 svn:log V 108 4767 dtrace_probe() always has the timestamp illumos/illumos-gate@82d86f4e8b1400610e24f161032c16e049f173a0 END K 10 svn:author V 6 grehan K 8 svn:date V 27 2014-06-03T02:34:21.579918Z K 7 svn:log V 47 MFC @ r266724 An SVM update will follow this. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2014-06-03T04:29:10.786343Z K 7 svn:log V 60 Add an opaque context pointer to the UDP tunneling callback END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-06-03T04:29:26.027765Z K 7 svn:log V 642 MFC r266924: Glibc was switched to the FUTEX_WAIT_BITSET op and CLOCK_REALTIME flag has been added instead of FUTEX_WAIT to replace the FUTEX_WAIT logic which needs to do gettimeofday() calls before the futex syscall to convert the absolute timeout to a relative timeout. Before this the CLOCK_MONOTONIC used by the FUTEX_WAIT_BITSET op. When the FUTEX_CLOCK_REALTIME is specified the timeout is an absolute time, not a relative time. Rework futex_wait to handle this. On the side fix the futex leak in error case and remove useless parentheses. Properly calculate the timeout for the CLOCK_MONOTONIC case. Tested by: Hans Petter Selasky END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-06-03T04:31:42.983640Z K 7 svn:log V 122 MFC r266925: To allow to run the interpreter itself add a new ELF branding type. Allow Linux ABI to run ELF interpreter. END