ƒ¸265691 152 302 365 373 229 131 131 131 717 615 615 334 334 341 170 343 246 602 602 649 312 312 338 171 610 3012 148 3012 218 166 108 304 267 263 610 354 252 252 490 6236 3347 168 153 167 168 261 235 131 278 219 231 296 186 150 164 155 425 362 620 240 125 167 238 186 163 154 426 362 115 362 153 143 122 125 152 136 248 295 192 192 235 129 132 186 251 264 278 1170 188 138 160 263 228 263 291 308 115 221 184 116 147 145 1084 128 286 286 286 286 188 118 236 108 113 157 182 143 422 182 182 250 424 114 225 627 451 138 403 138 150 202 167 401 126 179 282 448 153 183 325 458 255 355 288 225 232 229 177 294 125 357 348 320 171 K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-08T17:27:46.325289Z K 7 svn:log V 206 For some UDP packets (for example with 200 byte payload) and IP options, the IP header and the UDP header are not in the same mbuf. Add code to in_delayed_cksum() to deal with this case. MFC after: 3 days END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T18:06:44.866506Z K 7 svn:log V 267 Merge r258677. Fix key lookup in ipfw(8) broken since r232865. Print warning for IPv4 address strings which are valid in inet_aton() but not valid in inet_pton(). (1) Found by: Özkan KIRIK Submitted by: Ian Smith (1) END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T18:09:32.330434Z K 7 svn:log V 275 Merge r258677. Fix key lookup in ipfw(8) broken since r232865. Print warning for IPv4 address strings which are valid in inet_aton() but not valid in inet_pton(). (1) Found by: Özkan KIRIK Submitted by: Ian Smith (1) END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-08T18:36:42.246736Z K 7 svn:log V 136 Move the mptramp code which is specific to the Marvell ArmadaXP SoC out of the common locore.S file and into the mv/armadaxp directory. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-08T19:03:04.242891Z K 7 svn:log V 34 MFC: r265360 Remove stray comma. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-08T19:04:54.638614Z K 7 svn:log V 34 MFC: r265360 Remove stray comma. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-08T19:08:07.364494Z K 7 svn:log V 34 MFC: r265360 Remove stray comma. END K 10 svn:author V 7 asomers K 8 svn:date V 27 2014-05-08T19:10:04.707634Z K 7 svn:log V 620 Incorporate feedback from bde and jilles regarding r265472 to dd(1). * Don't use sysexits.h. Just exit 1 on error and 0 otherwise. * Don't sacrifice precision by converting the output of clock_gettime() to a double and then comparing the results. Instead, subtract the values of the two clock_gettime() calls, then convert to double. * Don't use CLOCK_MONOTONIC_PRECISE. It's an unportable synonym for CLOCK_MONOTONIC. * Use more appropriate names for some local variables. * In the summary message, round elapsed time to the nearest microsecond. Reported by: bde, jilles MFC after: 3 days X-MFC-With: 265472 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T19:11:14.603697Z K 7 svn:log V 517 Merge r258708, r258711, r260247, r261117. r258708: Check ipfw table numbers in both user and kernel space before rule addition. Found by: Saychik Pavel r258711: Simplify O_NAT opcode handling. r260247: Use rnh_matchaddr instead of rnh_lookup for longest-prefix match. rnh_lookup is effectively the same as rnh_matchaddr if called with empy network mask. r261117: Reorder struct ip_fw_chain: * move rarely-used fields down * move uh_lock to different cacheline * remove some usused fields END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T19:11:41.937947Z K 7 svn:log V 517 Merge r258708, r258711, r260247, r261117. r258708: Check ipfw table numbers in both user and kernel space before rule addition. Found by: Saychik Pavel r258711: Simplify O_NAT opcode handling. r260247: Use rnh_matchaddr instead of rnh_lookup for longest-prefix match. rnh_lookup is effectively the same as rnh_matchaddr if called with empy network mask. r261117: Reorder struct ip_fw_chain: * move rarely-used fields down * move uh_lock to different cacheline * remove some usused fields END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T19:35:12.196007Z K 7 svn:log V 236 Merge r260524,r260540 r260524: Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8). r260540: Bump dates in nestat(1) and route(8) man pages. Fix several small errors introduced by r260524. Suggested by: glebius END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T19:35:29.868213Z K 7 svn:log V 236 Merge r260524,r260540 r260524: Add -4/-6 shorthand for -finet/-finet6 in route(8) and netstat(8). r260540: Bump dates in nestat(1) and route(8) man pages. Fix several small errors introduced by r260524. Suggested by: glebius END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2014-05-08T19:40:37.276967Z K 7 svn:log V 244 Modify Copyright information and other strings to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business. Added clean option to Makefile Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation MFC after:5 days END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-08T19:45:31.760160Z K 7 svn:log V 75 Add / to the search path as semihosting only works from the root directory END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-08T20:02:38.243446Z K 7 svn:log V 250 Consolitate all the AP core startup stuff under a single #ifdef SMP block. Remove some other ifdefs that came in with a copy/paste that mean basically "if this processor supports multicore stuff", because if you're starting up an AP core... it does. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-08T20:20:59.574189Z K 7 svn:log V 153 Fix the incorrect handling of %b and \c in printf(1) This is required for POSIX compliance. Obtained from: Garrett D'Amore (Illumos) MFC after: 4 days END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T20:24:13.057834Z K 7 svn:log V 504 Merge r259528, r259528, r260295. r259528: Simplify contiguous mask checking. Suggested by: glebius r260228: Remove useless register variable modifiers. Do some more style(9). r260295: Change semantics for rnh_lookup() function: now it performs exact match search, regardless of netmask existance. This simplifies most of rnh_lookup() consumers. Fix panic triggered by deleting non-existent host route. PR: kern/185092 Submitted by: Nikolay Denev END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T20:27:06.645025Z K 7 svn:log V 504 Merge r259528, r259528, r260295. r259528: Simplify contiguous mask checking. Suggested by: glebius r260228: Remove useless register variable modifiers. Do some more style(9). r260295: Change semantics for rnh_lookup() function: now it performs exact match search, regardless of netmask existance. This simplifies most of rnh_lookup() consumers. Fix panic triggered by deleting non-existent host route. PR: kern/185092 Submitted by: Nikolay Denev END K 10 svn:author V 3 ken K 8 svn:date V 27 2014-05-08T20:28:22.972717Z K 7 svn:log V 556 Fix TLR (Transport Layer Retry) support in the mps(4) and mpr(4) drivers. TLR is necessary for reliable communication with SAS tape drives. This was broken by change 246713 in the mps(4) driver. It changed the cm_data field for SCSI I/O requests to point to the CCB instead of the data buffer. So, instead, look at the CCB's data pointer to determine whether or not we're talking to a tape drive. Also, take the residual into account to make sure that we don't go off the end of the request. MFC after: 3 days Sponsored by: Spectra Logic Corporation END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T20:33:47.491719Z K 7 svn:log V 214 Merge r260379, r260460. r260379: Partially fix IPv4 interface routes deletion in RADIX_MPATH. Noticed by: Nikolay Denev r260460: Constanly use RT_ALL_FIBS everywhere instead of -1. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T20:41:39.690809Z K 7 svn:log V 214 Merge r260379, r260460. r260379: Partially fix IPv4 interface routes deletion in RADIX_MPATH. Noticed by: Nikolay Denev r260460: Constanly use RT_ALL_FIBS everywhere instead of -1. END K 10 svn:author V 3 ken K 8 svn:date V 27 2014-05-08T20:46:46.965974Z K 7 svn:log V 245 Add #ifdefs in the mpr(4) driver so that versions of stable/9 that have implemented the PIM_NOSCAN rescan functionality will have it enabled. This is a no-op for head. Reviewed by: slm Sponsored by: Spectra Logic Corporation MFC after: 3 days END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-08T20:47:54.942187Z K 7 svn:log V 76 Use KASSERTs as suggested by glebius@ MFC after: 3 days X-MFC with: 265691 END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-08T20:52:25.122833Z K 7 svn:log V 512 MFC: r265252 The new draft specification for NFSv4.0 specifies that a server should either accept owner and owner_group strings that are just the digits of the uid/gid or return NFS4ERR_BADOWNER. This patch adds a sysctl vfs.nfsd.enable_stringtouid, which can be set to enable the server w.r.t. accepting numeric string. It also ensures that NFS4ERR_BADOWNER is returned if numeric uid/gid strings are not enabled. This fixes the server for recent Linux nfs4 clients that use numeric uid/gid strings by default. END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T20:57:13.061261Z K 7 svn:log V 2913 Merge 260488, r260508. r260488: Split rt_newaddrmsg_fib() into two different functions. Adding/deleting interface addresses involves access to 3 different subsystems, int different parts of code. Each call can fail, so reporting successful operation by rtsock in the middle of the process error-prone. Further split routing notification API and actual rtsock calls via creating public-available rt_addrmsg() / rt_routemsg() functions with "private" rtsock_* backend. r260508: Simplify inet alias handling code: if we're adding/removing alias which has the same prefix as some other alias on the same interface, use newly-added rt_addrmsg() instead of hand-rolled in_addralias_rtmsg(). This eliminates the following rtsock messages: Pinned RTM_ADD for prefix (for alias addition). Pinned RTM_DELETE for prefix (for alias withdrawal). Example (got 10.0.0.1/24 on vlan4, playing with 10.0.0.2/24): before commit, addition: got message of size 116 on Fri Jan 10 14:13:15 2014 RTM_NEWADDR: address being added to iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 10.0.0.2 10.0.0.255 got message of size 192 on Fri Jan 10 14:13:15 2014 RTM_ADD: Add Route: len 192, pid: 0, seq 0, errno 0, flags: locks: inits: sockaddrs: 10.0.0.0 10.0.0.2 (255) ffff ffff ff after commit, addition: got message of size 116 on Fri Jan 10 13:56:26 2014 RTM_NEWADDR: address being added to iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 14.0.0.2 14.0.0.255 before commit, wihdrawal: got message of size 192 on Fri Jan 10 13:58:59 2014 RTM_DELETE: Delete Route: len 192, pid: 0, seq 0, errno 0, flags: locks: inits: sockaddrs: 10.0.0.0 10.0.0.2 (255) ffff ffff ff got message of size 116 on Fri Jan 10 13:58:59 2014 RTM_DELADDR: address being removed from iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 10.0.0.2 10.0.0.255 adter commit, withdrawal: got message of size 116 on Fri Jan 10 14:14:11 2014 RTM_DELADDR: address being removed from iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 10.0.0.2 10.0.0.255 Sending both RTM_ADD/RTM_DELETE messages to rtsock is completely wrong (and requires some hacks to keep prefix in route table on RTM_DELETE). I've tested this change with quagga (no change) and bird (*). bird alias handling is already broken in *BSD sysdep code, so nothing changes here, too. I'm going to MFC this change if there will be no complains about behavior change. While here, fix some style(9) bugs introduced by r260488 (pointed by glebius and bde). END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-08T21:02:23.879430Z K 7 svn:log V 51 Fix two more typos. Submitted by: Trond Endrestol END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-08T21:03:31.267089Z K 7 svn:log V 2913 Merge 260488, r260508. r260488: Split rt_newaddrmsg_fib() into two different functions. Adding/deleting interface addresses involves access to 3 different subsystems, int different parts of code. Each call can fail, so reporting successful operation by rtsock in the middle of the process error-prone. Further split routing notification API and actual rtsock calls via creating public-available rt_addrmsg() / rt_routemsg() functions with "private" rtsock_* backend. r260508: Simplify inet alias handling code: if we're adding/removing alias which has the same prefix as some other alias on the same interface, use newly-added rt_addrmsg() instead of hand-rolled in_addralias_rtmsg(). This eliminates the following rtsock messages: Pinned RTM_ADD for prefix (for alias addition). Pinned RTM_DELETE for prefix (for alias withdrawal). Example (got 10.0.0.1/24 on vlan4, playing with 10.0.0.2/24): before commit, addition: got message of size 116 on Fri Jan 10 14:13:15 2014 RTM_NEWADDR: address being added to iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 10.0.0.2 10.0.0.255 got message of size 192 on Fri Jan 10 14:13:15 2014 RTM_ADD: Add Route: len 192, pid: 0, seq 0, errno 0, flags: locks: inits: sockaddrs: 10.0.0.0 10.0.0.2 (255) ffff ffff ff after commit, addition: got message of size 116 on Fri Jan 10 13:56:26 2014 RTM_NEWADDR: address being added to iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 14.0.0.2 14.0.0.255 before commit, wihdrawal: got message of size 192 on Fri Jan 10 13:58:59 2014 RTM_DELETE: Delete Route: len 192, pid: 0, seq 0, errno 0, flags: locks: inits: sockaddrs: 10.0.0.0 10.0.0.2 (255) ffff ffff ff got message of size 116 on Fri Jan 10 13:58:59 2014 RTM_DELADDR: address being removed from iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 10.0.0.2 10.0.0.255 adter commit, withdrawal: got message of size 116 on Fri Jan 10 14:14:11 2014 RTM_DELADDR: address being removed from iface: len 116, metric 0, flags: sockaddrs: 255.255.255.0 vlan4:8.0.27.c5.29.d4 10.0.0.2 10.0.0.255 Sending both RTM_ADD/RTM_DELETE messages to rtsock is completely wrong (and requires some hacks to keep prefix in route table on RTM_DELETE). I've tested this change with quagga (no change) and bird (*). bird alias handling is already broken in *BSD sysdep code, so nothing changes here, too. I'm going to MFC this change if there will be no complains about behavior change. While here, fix some style(9) bugs introduced by r260488 (pointed by glebius and bde). END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-08T21:12:39.081722Z K 7 svn:log V 122 Add format_write() that calls the write() function of the output format. Have the raw format use image_copyout() for now. END K 10 svn:author V 3 ray K 8 svn:date V 27 2014-05-08T22:52:05.284592Z K 7 svn:log V 74 Hide debug messages under VT_DEBUG. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-08T23:54:15.794446Z K 7 svn:log V 16 Merge from head END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-09T00:19:08.438390Z K 7 svn:log V 206 MFC: r264842 Modify the NFSv4 client's Pathconf RPC (actually a Getattr Op.) so that it only does the RPC for names that are answered by the RPC. Doing the RPC for other names is harmless, but unnecessary. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-09T00:24:11.084603Z K 7 svn:log V 169 MFC: r264845 Remove an unnecessary level of indirection for an argument. This simplifies the code and should avoid the clang sparc port from generating an abort() call. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-09T00:28:07.724942Z K 7 svn:log V 165 MFC: r264888 The PR reported that the old NFS server did not set uio_td == NULL for the VOP_READ() call. This patch fixes both the old and new server for this case. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-09T00:34:29.061584Z K 7 svn:log V 512 MFC: r265252 The new draft specification for NFSv4.0 specifies that a server should either accept owner and owner_group strings that are just the digits of the uid/gid or return NFS4ERR_BADOWNER. This patch adds a sysctl vfs.nfsd.enable_stringtouid, which can be set to enable the server w.r.t. accepting numeric string. It also ensures that NFS4ERR_BADOWNER is returned if numeric uid/gid strings are not enabled. This fixes the server for recent Linux nfs4 clients that use numeric uid/gid strings by default. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2014-05-09T01:13:14.753253Z K 7 svn:log V 258 Add image_get_size() so formats can query about the image size. Create the VMDK (embedded) descriptor file and round its size to a multiple of 512. TODO: We need the name of the output file -- it's in the extent description. For now, just use "mkimg.vmdk". END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-09T01:20:39.659072Z K 7 svn:log V 159 MFC r265202: Remove some unreachable breaks in regex. This is based on a much bigger cleanup done in Illumos. Reference: https://www.illumos.org/issues/2077 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-09T01:25:25.461542Z K 7 svn:log V 159 MFC r265202: Remove some unreachable breaks in regex. This is based on a much bigger cleanup done in Illumos. Reference: https://www.illumos.org/issues/2077 END K 10 svn:author V 3 pfg K 8 svn:date V 27 2014-05-09T01:30:15.484201Z K 7 svn:log V 397 MFC r265231: gcc: fix strict alignment. From the OpenBSD log: x86-64 ABI requires arrays greater than 16 bytes to be aligned to 16byte boundary. However, GCC 16-byte aligns arrays of >=16 BITS, not BYTES. This diff improves bug detectability for code which has local arrays of [16 .. 127] bits: in those cases SSP will now detect even 1-byte overflows. Obtained from: OpenBSD (CVS rev 1.4) END K 10 svn:author V 3 ken K 8 svn:date V 27 2014-05-09T03:52:10.001559Z K 7 svn:log V 6142 MFC the mpr(4) driver for LSI's 12Gb SAS cards. This includes r265236, r265237, r265241, r265261, r265386, r265424, and r265473. ------------------------------------------------------------------------ r265236 | ken | 2014-05-02 14:25:09 -0600 (Fri, 02 May 2014) | 51 lines Bring in the mpr(4) driver for LSI's MPT3 12Gb SAS controllers. This is derived from the mps(4) driver, but it supports only the 12Gb IT and IR hardware including the SAS 3004, SAS 3008 and SAS 3108. Some notes about this driver: o The 12Gb hardware can do "FastPath" I/O, and that capability is included in this driver. o WarpDrive functionality has been removed, since it isn't supported in the 12Gb driver interface. o The Scatter/Gather list handling code is significantly different between the 6Gb and 12Gb hardware. The 12Gb boards support IEEE Scatter/Gather lists. Thanks to LSI for developing and testing this driver for FreeBSD. share/man/man4/mpr.4: mpr(4) man page. sys/dev/mpr/*: mpr(4) driver files. sys/modules/Makefile, sys/modules/mpr/Makefile: Add a module Makefile for the mpr(4) driver. sys/conf/files: Add the mpr(4) driver. sys/amd64/conf/GENERIC, sys/i386/conf/GENERIC, sys/mips/conf/OCTEON1, sys/sparc64/conf/GENERIC: Add the mpr(4) driver to all config files that currently have the mps(4) driver. sys/ia64/conf/GENERIC: Add the mps(4) and mpr(4) drivers to the ia64 GENERIC config file. sys/i386/conf/XEN: Exclude the mpr module from building here. Submitted by: Steve McConnell Tested by: Chris Reeves Sponsored by: LSI, Spectra Logic Relnotes: LSI 12Gb SAS driver mpr(4) added ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265237 | ken | 2014-05-02 14:36:20 -0600 (Fri, 02 May 2014) | 8 lines Add the mpr(4) man page to the man4 Makefile. This should have been included in r265236. Submitted by: Steve McConnell Sponsored by: LSI, Spectra Logic ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265241 | brueffer | 2014-05-02 15:14:28 -0600 (Fri, 02 May 2014) | 2 lines Use our standard SYNOPSIS wording; perform some cleanup while here. ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265261 | brueffer | 2014-05-03 05:15:28 -0600 (Sat, 03 May 2014) | 2 lines Add a missing colon. ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265386 | ken | 2014-05-05 13:53:03 -0600 (Mon, 05 May 2014) | 15 lines Adjust #if statements inside mprsas_send_smpcmd() to more accurately reflect when unmapped I/O support was added. For FreeBSD 10, it arrived just prior to __FreeBSD_version 1000028. For FreeBSD 9, it arrived just prior to __FreeBSD_version 902001. Also, fix compiler warnings in mprsas_send_smpcmd() that happen in the i386 PAE build for non-unmapped I/O builds. These were fixed in mps(4) in revision 241145, but didn't make it into the mpr(4) driver. This change should only affect FreeBSD versions outside the above revisions, and thus doesn't affect head. Sponsored by: Spectra Logic Corporation ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265424 | ken | 2014-05-06 00:18:43 -0600 (Tue, 06 May 2014) | 33 lines Fix a problem with async notifications in the mpr(4) driver. This problem only occurs on versions of FreeBSD prior to the recent CAM locking changes. (i.e. stable/9 and older versions of stable/10) This change should be a no-op for head and stable/10. If a path isn't specified, xpt_register_async() will create a fully wildcarded path and acquire a lock (the XPT lock in older versions, and via xpt_path_lock() in newer versions) to call xpt_action() for the XPT_SASYNC_CB CCB. It will then drop the lock and if the requested event includes AC_FOUND_DEVICE or AC_PATH_REGISTERED, it will get the caller up to date with any device arrivals or path registrations. The issue is that before the locking changes, each SIM lock would get acquired in turn during the EDT tree traversal process. If a path is specified for xpt_register_async(), it won't acquire and drop its own lock, but instead expects the caller to hold its own SIM lock. That works for the first part of xpt_register_async(), but causes a recursive lock acquisition once the EDT traversal happens and it comes to the SIM in question. And it isn't possible to call xpt_action() without holding a SIM lock. The locking changes fix this by using the XPT topology lock for EDT traversal, so it is no longer an issue to hold the SIM lock while calling xpt_register_async(). The solution for FreeBSD versions before the locking changes is to request notification of all device arrivals (so we pass a NULL path into xpt_register_async()) and then filter out the arrivals that are not ours. Sponsored by: Spectra Logic Corporation ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265473 | ken | 2014-05-06 16:13:38 -0600 (Tue, 06 May 2014) | 7 lines Change the device name for mpr(4) from /dev/mpr_N to /dev/mprN. This is more consistent with the existing mps(4) behavior. Reviewed by: Steve McConnell ------------------------------------------------------------------------ Submitted by: Steve McConnell Tested by: Chris Reeves Sponsored by: LSI, Spectra Logic Relnotes: LSI 12Gb SAS driver mpr(4) added END K 10 svn:author V 3 ken K 8 svn:date V 27 2014-05-09T03:59:12.684806Z K 7 svn:log V 3253 MFC mpr(4) driver changes. This includes r265386, r265424, and r265473. ------------------------------------------------------------------------ r265386 | ken | 2014-05-05 13:53:03 -0600 (Mon, 05 May 2014) | 15 lines Adjust #if statements inside mprsas_send_smpcmd() to more accurately reflect when unmapped I/O support was added. For FreeBSD 10, it arrived just prior to __FreeBSD_version 1000028. For FreeBSD 9, it arrived just prior to __FreeBSD_version 902001. Also, fix compiler warnings in mprsas_send_smpcmd() that happen in the i386 PAE build for non-unmapped I/O builds. These were fixed in mps(4) in revision 241145, but didn't make it into the mpr(4) driver. This change should only affect FreeBSD versions outside the above revisions, and thus doesn't affect head. Sponsored by: Spectra Logic Corporation ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265424 | ken | 2014-05-06 00:18:43 -0600 (Tue, 06 May 2014) | 33 lines Fix a problem with async notifications in the mpr(4) driver. This problem only occurs on versions of FreeBSD prior to the recent CAM locking changes. (i.e. stable/9 and older versions of stable/10) This change should be a no-op for head and stable/10. If a path isn't specified, xpt_register_async() will create a fully wildcarded path and acquire a lock (the XPT lock in older versions, and via xpt_path_lock() in newer versions) to call xpt_action() for the XPT_SASYNC_CB CCB. It will then drop the lock and if the requested event includes AC_FOUND_DEVICE or AC_PATH_REGISTERED, it will get the caller up to date with any device arrivals or path registrations. The issue is that before the locking changes, each SIM lock would get acquired in turn during the EDT tree traversal process. If a path is specified for xpt_register_async(), it won't acquire and drop its own lock, but instead expects the caller to hold its own SIM lock. That works for the first part of xpt_register_async(), but causes a recursive lock acquisition once the EDT traversal happens and it comes to the SIM in question. And it isn't possible to call xpt_action() without holding a SIM lock. The locking changes fix this by using the XPT topology lock for EDT traversal, so it is no longer an issue to hold the SIM lock while calling xpt_register_async(). The solution for FreeBSD versions before the locking changes is to request notification of all device arrivals (so we pass a NULL path into xpt_register_async()) and then filter out the arrivals that are not ours. Sponsored by: Spectra Logic Corporation ------------------------------------------------------------------------ ------------------------------------------------------------------------ r265473 | ken | 2014-05-06 16:13:38 -0600 (Tue, 06 May 2014) | 7 lines Change the device name for mpr(4) from /dev/mpr_N to /dev/mprN. This is more consistent with the existing mps(4) behavior. Reviewed by: Steve McConnell ------------------------------------------------------------------------ Sponsored by: LSI, Spectra Logic END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-09T04:08:40.240846Z K 7 svn:log V 76 Document r265729, addition of mpr(4). Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-09T04:14:37.477606Z K 7 svn:log V 61 Add 9.3 to mdoc.local. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-09T04:16:10.744171Z K 7 svn:log V 75 MFC r265732: Add 9.3 to mdoc.local Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-09T04:18:32.002535Z K 7 svn:log V 76 MFC r265732: Add 9.3 to mdoc.local. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-09T04:21:46.396005Z K 7 svn:log V 168 Mark stable/9 as 9.3-PRERELEASE to indicate the code slush is now in effect for the 9.3-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 gjb K 8 svn:date V 27 2014-05-09T04:25:17.210831Z K 7 svn:log V 142 Now that stable/9 is in 9.3 mode, switch default manual page version to 9.3. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-09T04:49:43.773694Z K 7 svn:log V 39 Spell always the more traditional way. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-09T04:49:48.133492Z K 7 svn:log V 185 We have to include bsd.opts.mk (included in bsd.own.mk) after /etc/src.conf so that options set there will affect the options defined in bsd.opts.mk. Fix a few comments while I'm here. END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2014-05-09T05:39:57.435410Z K 7 svn:log V 122 Add the codes for enabling CPU cores of Rockchip RK3188 SoC. Enable SMP for Radxa Rock board. Approved by: stas (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T06:56:26.083389Z K 7 svn:log V 134 MFC r264669: MFV r264666: 4374 dn_free_ranges should use range_tree_t illumos/illumos-gate@bf16b11e8deb633dd6c4296d46e92399d1582df4 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:04:12.790291Z K 7 svn:log V 199 MFC r264671 (MFV r264668): 4754 io issued to near-full luns even after setting noalloc threshold 4755 mg_alloc_failures is no longer needed illumos/illumos@b6240e830b871f59c22a3918aebb3b36c872edba END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:07:25.785324Z K 7 svn:log V 90 MFC r264740: Use case insensitive match in portsnap. PR: bin/186510 Submitted by: olli END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-05-09T07:07:38.120625Z K 7 svn:log V 56 MFC - tracking commit. Merging r265457 through r265740. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:12:31.007793Z K 7 svn:log V 68 MFC r264835 (MFV r264829): 3897 zfs filesystem and snapshot limits END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:17:29.322340Z K 7 svn:log V 59 MFC r264836 (MFV r264830): 4745 fix AVL code misspellings END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:21:32.884835Z K 7 svn:log V 328 MFC r265458: Import George Wilson's change for Illumos #4730: 4730 metaslab group taskq should be destroyed in metaslab_group_destroy() Reviewed by: Alex Reece Reviewed by: Matthew Ahrens Reviewed by: Sebastien Roy Original author: George Wilson END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:24:39.007282Z K 7 svn:log V 265 MFC r265464: Sort .ALLSRC before concatenating files together. This makes sure that the file are always built the same. (Note that Header and Localstuff must appear first and in that order, the sorting does not affect as a coincident effect). Submitted by: sjg END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:34:38.289373Z K 7 svn:log V 523 MFC r263459 (MFV 263436-263438): 3947 zpool(1M) references nonexistent zfs-features(5) 4540 zpool(1M) man page doesn't describe "readonly" property 3948 zfs sync=default is not accepted 4611 zfs(1M) still mentions 'send -r' in synopsis 4415 zpool(1M) man page missing "import -m" description 4570 Document dedupditto pool property 4572 Dedup-related documentation additions for zpool and zdb. 1371 Add -D option description to zpool(1M) manpage 4571 Add documentation for -T and interval to "zpool list" END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:35:39.558631Z K 7 svn:log V 143 MFC r263889: MFV r263887: 3993 zpool(1M) and zfs(1M) should support -p for "list" and "get" 4700 "zpool get" doesn't support -H or -o options END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:38:22.178651Z K 7 svn:log V 29 MFC: nc(1) from OpenBSD 5.5. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T07:54:59.207465Z K 7 svn:log V 71 MFC r264669: MFV r264666: 4374 dn_free_ranges should use range_tree_t END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T08:02:52.656485Z K 7 svn:log V 141 MFC r264671: MFV r264668: 4754 io issued to near-full luns even after setting noalloc threshold 4755 mg_alloc_failures is no longer needed END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T08:07:05.505462Z K 7 svn:log V 90 MFC r264740: Use case insensitive match in portsnap. PR: bin/186510 Submitted by: olli END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T08:10:33.309544Z K 7 svn:log V 67 MFC r264835: MFV r264829: 3897 zfs filesystem and snapshot limits END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T08:13:11.107818Z K 7 svn:log V 58 MFC r264836: MFV r264830: 4745 fix AVL code misspellings END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T08:15:35.805794Z K 7 svn:log V 329 MFC r265458: Import George Wilson's change for Illumos #4730: 4730 metaslab group taskq should be destroyed in metaslab_group_destroy() Reviewed by: Alex Reece Reviewed by: Matthew Ahrens Reviewed by: Sebastien Roy Original author: George Wilson END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T08:18:57.714814Z K 7 svn:log V 265 MFC r265464: Sort .ALLSRC before concatenating files together. This makes sure that the file are always built the same. (Note that Header and Localstuff must appear first and in that order, the sorting does not affect as a coincident effect). Submitted by: sjg END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-09T08:20:47.750882Z K 7 svn:log V 20 Implement spinlocks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2014-05-09T08:22:02.832338Z K 7 svn:log V 265 MFC r265464: Sort .ALLSRC before concatenating files together. This makes sure that the file are always built the same. (Note that Header and Localstuff must appear first and in that order, the sorting does not affect as a coincident effect). Submitted by: sjg END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-09T08:59:54.873550Z K 7 svn:log V 58 Add the missing md_saved_daif from the mdthread structure END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-09T09:02:29.155038Z K 7 svn:log V 48 Pass a stack of KSTACK_PAGES pages into initarm END K 10 svn:author V 6 andrew K 8 svn:date V 27 2014-05-09T09:06:19.611896Z K 7 svn:log V 27 More early initialisation. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-05-09T12:09:18.649753Z K 7 svn:log V 31 Create space for GSoC project. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-05-09T12:11:16.832549Z K 7 svn:log V 58 Undo wrong directory creation, should include $USER part. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-05-09T12:13:22.773400Z K 7 svn:log V 42 Create space for GSoC project once again. END K 10 svn:author V 2 bz K 8 svn:date V 27 2014-05-09T12:59:38.374618Z K 7 svn:log V 156 Adjust the register layout to allow for 64bit registers in the future for nf10bmac(4). Also, add support for and enable RX interrupts. MFC after: 2 weeks END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-09T13:07:39.521269Z K 7 svn:log V 201 Fix a bug on ip17x switch initialization which will fail as soon as you disable the debug and diagnosis options from current. We must wait 2ms after the switch reset and not 2us. Tested on RB433UAH. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-09T13:18:24.758633Z K 7 svn:log V 95 MFC: r265244 Free resources in an error case. CID: 1018947 Found with: Coverity Prevent(tm) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2014-05-09T13:21:14.308808Z K 7 svn:log V 95 MFC: r265244 Free resources in an error case. CID: 1018947 Found with: Coverity Prevent(tm) END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-09T13:21:34.288080Z K 7 svn:log V 141 Fix the build with debug enabled and remove a variable used only at switch initialization, it is nonsense keep it around without futher use. END K 10 svn:author V 5 jceel K 8 svn:date V 27 2014-05-09T13:23:23.951533Z K 7 svn:log V 35 Initial import from HEAD @r265767. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-09T13:27:30.950186Z K 7 svn:log V 37 sh: Add more necessary INTOFF/INTON. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2014-05-09T13:32:36.766802Z K 7 svn:log V 91 sh: Send getopts error messages to stderr, not stdout. Adjust a testcase for this change. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-09T13:44:42.013294Z K 7 svn:log V 157 When a GPIO pin is set to be turned on by kernel hints (hint.gpio.X.pinon) make sure the GPIO pin is configured as an output as this is not always the case. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-09T14:02:18.492721Z K 7 svn:log V 170 Add support for reading RouterBoard's memory which is passed by the loader (RouterBOOT). Tested on RouterBoards, various and on RSPRO, TP-Link MR3x20 (for regressions). END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-09T14:15:48.057827Z K 7 svn:log V 182 Fix a logic bug which prevented the sending of UDP packet with 0 checksum. This bug was introduced in r264212 and should be X-MFCed with that revision, if UDP-Lite support if MFCed. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-09T14:23:06.681795Z K 7 svn:log V 1071 Multiple DWC OTG host mode related fixes and improvements: - Rework how we allocate and free USB host channels, so that we only allocate a channel if there is a real packet going out on the USB cable. - Use BULK type for control data and status, due to instabilities in the HW it appears. - Split FIFO TX levels into one for the periodic FIFO and one for the non-periodic FIFO. - Use correct HFNUM mask when scheduling host transactions. The HFNUM register does not count the full 16-bit range. - Correct START/COMPLETION slot for TT transactions. For INTERRUPT and ISOCHRONOUS type transactions the hardware always respects the ODDFRM bit, which means we need to allocate multiple host channels when processing such endpoints, to not miss any so-called complete split opportunities. - When doing ISOCHRONOUS OUT transfers through a TT send all data payload in a single ALL-burst. This deacreases the likelyhood for isochronous data underruns. - Fixed unbalanced unlock in case of "dwc_otg_init_fifo()" failure. - Increase interrupt priority. MFC after: 2 weeks END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-09T14:24:02.430942Z K 7 svn:log V 91 Fix ndp(8) -f flag parsing PR: bin/136661 Reminded by: Vinicius Zavam MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-09T14:28:11.404990Z K 7 svn:log V 41 Fix for NULL pointer. MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-09T14:35:07.139789Z K 7 svn:log V 63 Invert platform check. Suggested by: imp @ MFC after: 2 weeks END K 10 svn:author V 2 jh K 8 svn:date V 27 2014-05-09T15:55:45.063539Z K 7 svn:log V 171 MFC r264194: Fork a child process and wait until the process terminates when the -P option is specified. This behavior is documented on the manual page. PR: bin/187265 END K 10 svn:author V 8 melifaro K 8 svn:date V 27 2014-05-09T16:20:55.380964Z K 7 svn:log V 130 Allow systat(1) interactive dispay-specific commands to be specified via command line. Submitted by: vsevolod MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-09T16:40:41.446581Z K 7 svn:log V 165 Fix a regression issue: - ACK can be received before data arrives in RX FIFO. Handle this. - Remove obsolete comment. - Some minor code styling. MFC after: 2 weeks END K 10 svn:author V 3 ian K 8 svn:date V 27 2014-05-09T19:14:34.723278Z K 7 svn:log V 198 Call idcache_inv_all from the AP core entry code before turning on the MMU. Also, enable instruction and branch caches, which should be safe now that they're properly initialized/invalidated first. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-09T21:11:27.287984Z K 7 svn:log V 215 Introduce kern.opts.mk to hold all the options for kernel module builds. Include this in the right places. Make src.opts.mk optional so that modules can be built outside of the tree in the ports system. PR: 189520 END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T00:21:10.176964Z K 7 svn:log V 23 Handle empty meta list END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T00:23:12.935975Z K 7 svn:log V 128 When bootstrapping tools MACHINE==host and EARLY_BUILD defined, so not use any of stage tree. M_whence only first value counts END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T00:24:32.989860Z K 7 svn:log V 92 Don't make wildcards .PHONY Add pseudo machines host and common to machine list for destroy END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T00:25:21.358357Z K 7 svn:log V 24 We now want src.opts.mk END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T00:26:40.361371Z K 7 svn:log V 55 We may need to supress SHLIB_LINKS with NO_SHLIB_LINKS END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T00:42:43.831515Z K 7 svn:log V 53 Fix typo in FORMAT_EXTENSIONS which breaks universe. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-10T00:53:36.839154Z K 7 svn:log V 988 Add in support to optionally pin the swi threads. Under enough load, the swi's can actually be preempted and migrated to other currently free cores. When doing RSS experiments, this lead to the per-CPU TCP timers not lining up any more with the RX CPU said flows were ending up on, leading to increased lock contention. Since there was a little pushback on flipping them on by default, I've left the default at "don't pin." The other less obvious problem here is that the default swi is also the same as the destination swi for CPU #0. So if one pins the swi on CPU #0, there's no default floating swi. A nice future project would be to create a separate swi for the "default" floating swi, as well as per-CPU swis that are (optionally) pinned. Tested: * parallel TCP tests (2 x 1g unfortunately for now); CPU: Intel(R) Xeon(R) CPU E5-2650 Note: This is based on some initial investigation into RSS/TCP stack lock contention on FreeBSD-HEAD whilst at Netflix in January 2014. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2014-05-10T01:45:39.899330Z K 7 svn:log V 31 Merge in an up-to-date kernel. END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2014-05-10T02:06:46.346107Z K 7 svn:log V 189 MFC r265411 Modify Copyright information to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2014-05-10T02:08:04.032868Z K 7 svn:log V 189 MFC r265411 Modify Copyright information to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2014-05-10T02:09:09.632886Z K 7 svn:log V 189 MFC r265411 Modify Copyright information to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation END K 10 svn:author V 7 davidcs K 8 svn:date V 27 2014-05-10T02:10:32.095546Z K 7 svn:log V 189 MFC r265411 Modify Copyright information to reflect Qlogic Corporation's purchase of Broadcom's NetXtreme business Submitted by:David C Somayajulu (davidcs@freebsd.org) QLogic Corporation END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-05-10T03:24:45.688121Z K 7 svn:log V 93 Add a man page for the new vt.4 device. Reviewed by: ray, emaste (slightly earlier version) END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T05:11:34.061753Z K 7 svn:log V 26 Prep stage tree for tests END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T05:13:29.334981Z K 7 svn:log V 143 Toolchains are a pain - especially to bootstrap rather than waste time optimizing for a rare? event, leverage the targets in src/Makefile.inc1 END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T05:14:29.961422Z K 7 svn:log V 16 Use src.opts.mk END K 10 svn:author V 3 sjg K 8 svn:date V 27 2014-05-10T05:16:28.884761Z K 7 svn:log V 21 Updated dependencies END K 10 svn:author V 6 adrian K 8 svn:date V 27 2014-05-10T05:56:10.230344Z K 7 svn:log V 62 Fix the required calibration flags for the Centrino 1000 NIC. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-05-10T07:25:26.951029Z K 7 svn:log V 87 MFC r252440: Enable the second and the third I2C controllers on Beaglebone-black. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-05-10T07:26:49.773360Z K 7 svn:log V 48 Revert bogus change in 265804 to configparser.c END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2014-05-10T07:37:32.591470Z K 7 svn:log V 324 Optimise host channel disabling: - For non-periodic traffic we only need to wait two SOFs before disabling the channel. - Make sure we release the TX FIFO tracking level after the host channel is disabled. - Make sure the host channel state gets reset/disabled initially. - Two minor code style changes. MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-10T07:53:36.774727Z K 7 svn:log V 90 MFC r265275: Overwrite the de_Name for the directories on rename to correct the dot name. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-10T07:56:01.763861Z K 7 svn:log V 90 MFC r265275: Overwrite the de_Name for the directories on rename to correct the dot name. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-05-10T08:07:41.204041Z K 7 svn:log V 154 Manually MFC 262714: Add a missing semicolong, noticed by the gnu dt compiler. In head, the directory layout changed and we can't svn merge correctly. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2014-05-10T08:10:01.675710Z K 7 svn:log V 328 MFC r259126: Activate the device before attempt to access any of its registers. Without this change we may end up with a panic (Fatal kernel mode data abort: 'External Non-Linefetch Abort (S)') as described in http://e2e.ti.com/support/arm/sitara_arm/f/791/t/276862.aspx. It is now possible to bring up I2C1 and I2C2 on BBB. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-10T08:48:04.733871Z K 7 svn:log V 19 Whitespace change. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-05-10T09:17:45.358629Z K 7 svn:log V 128 Fix a bug in epoll_delete_event. fd parameter of the kern_kevent should be kqueue file descriptor not an ident file descriptor. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-10T12:19:02.977326Z K 7 svn:log V 533 Add the lm75 i2c digital temperature sensor driver. This driver supports the low and high precision models (9 and 11 bits) and it will auto-detect the both variants. The driver expose the temperature registers (actual temperature, shutdown and hysteresys temperature) and also the configuration register. It was tested on FDT systems: RPi, BBB and on non-FDT systems: AR71xx, with both, hardware i2c controllers (when available) and gpioiic(4). This provides a simple and cheap way for verifying the i2c bus on embedded systems. END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-10T12:58:18.217218Z K 7 svn:log V 357 Remove an old mistake of mine. This has sneak in the code i sent to gonzo at that time, but AFAIK it is only used on routerboards. Enabling GPIO_FUNC_SPI_CS[1|2]_EN will claim the use of gpio pins 0 and 1 respectivelly for use as SPI CS pins. When really needed, this can still be enabled on kernel hints using the function_set and function_clear knobs. END K 10 svn:author V 6 wblock K 8 svn:date V 27 2014-05-10T13:10:42.447900Z K 7 svn:log V 43 Fix document title. Submitted by: pluknet END K 10 svn:author V 4 loos K 8 svn:date V 27 2014-05-10T13:16:04.967808Z K 7 svn:log V 309 Do not configure all pins as outputs as this can lead to short circuits when the GPIO pin is connected to a push button (or other devices). Instead keep the boot loader settings. Calling ar71xx_gpio_pin_configure() with DEFAULT_CAPS was probably a mistake and was causing all the pins to be set as outputs. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2014-05-10T13:18:20.457760Z K 7 svn:log V 43 UDP-Lite uses SOCK_DGRAM, not SOCK_STREAM. END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-05-10T14:24:12.698720Z K 7 svn:log V 56 MFC - tracking commit. Merging r265741 through r265817. END K 10 svn:author V 5 markm K 8 svn:date V 27 2014-05-10T14:27:24.121787Z K 7 svn:log V 107 Make it clear that the harveting hooks in uma_core are not to be merged to CURRENT. Requested by: rwatson END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2014-05-10T14:47:53.045028Z K 7 svn:log V 71 Fix incorrect event_poll array indexing in epoll_kev_copyout callback. END K 10 svn:author V 3 mav K 8 svn:date V 27 2014-05-10T15:21:37.600257Z K 7 svn:log V 308 Comment out some pointless device open/close around reading device IDs. FreeBSD ZFS port unlike OpenSolaris does not use device IDs, and does not implement respective devid_*() fuctions. It is pointless to open devices just to close them back immediately. MFC after: 2 weeks Sponsored by: iXsystems, Inc. END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2014-05-10T15:34:32.131457Z K 7 svn:log V 32 Fix -width argument to Bl -tag. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2014-05-10T15:38:26.158104Z K 7 svn:log V 79 Simplify code slightly. Passing an array by &array[0] does work, but is silly. END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-10T16:30:48.298953Z K 7 svn:log V 189 Print the entry address in addition to the object. The variable is typically optimized out and debuggers cannot find its value. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2014-05-10T16:36:13.560416Z K 7 svn:log V 355 When printing the map with the ddb 'show procvm' command, do not dump page queues for the backing objects. The queues are huge and clutter the display, when mostly the map entries and its backing storage is interesting. The page queues can be seen with ddb 'show object' command. Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:37:28.451196Z K 7 svn:log V 61 Document WITHOUT_SYSCALL_COMPAT and WITHOUT_GNU_GREP_COMPAT. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:37:33.574526Z K 7 svn:log V 91 Remove a few more vestiges of allowing WITHOUT_BMAKE to imply you want to buid with fmake. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:37:39.582450Z K 7 svn:log V 232 Optionally allow building the historical FreeBSD make program and install it as fmake. This defaults to no. This should be viewed as the first step towards evental migration of this historic code to ports and removal from the tree. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:37:44.864772Z K 7 svn:log V 365 Support, to the extent we generate proper command lines, compiling with clang 3.3. Useful for test building -current on a -stable system in individual directories. Potentially useful if we ever want to support, say, gcc 4.8 or 4.9's new warnings when building with an external toolchain (but such support not yet committed). Document the bsd.compiler.mk interface. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:37:53.907247Z K 7 svn:log V 162 Migrate NO_WARN to MK_WARN. Support legacy NO_WARN usage. Remove a check for EARLY_BUILD because it isn't necessary (MK_WARN=no will always be defined for that). END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:38:03.177342Z K 7 svn:log V 262 Eliminate EARLY_BUILD flag. It is redundant and means MK_CLANG_FULL=no and MK_LLDB=no, so set those explicitly (now that we can do that). Simplify tests for these variables as well, since we know they will always be defined regardless of the phase of the build. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:38:09.636138Z K 7 svn:log V 195 Simplify clang ifdefs in the kernel a bit. Introduce CFLAGS.${COMPILER_TYPE} to mirror userland. Be explicit about which compiler needs something (not clang isn't necessarily gcc in the future). END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:38:18.452758Z K 7 svn:log V 132 Remove the compatibility hack for FreeBSD 7 systems for MACHINE_CPUARCH. Fewer places to have to hack each time a new one is added. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:38:27.629430Z K 7 svn:log V 139 g/c unmaintained, uninstalled bsd.pkg.mk. It tied into the ports system, as it existed 9 years ago, and has been obsolete for a long time. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:38:32.561975Z K 7 svn:log V 136 Remove some useless, commented out code. Remove name space polution in the POSIX case by moving more things under !Posix part of an if. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:38:37.298943Z K 7 svn:log V 85 Remove last two NO_MAN= in the tree. In both of these cases, MAN= is what is needed. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:38:45.744822Z K 7 svn:log V 201 We haven't done anything with _UPGRADING in ~forever (was present, but not needed, in FreeBSD 6.x, and has been absent in newer versions). This was needed to upgrade from 3.x -> 4.x, once upon a time. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:38:54.572368Z K 7 svn:log V 33 Move DOCCOMPRESS to MK variable. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:39:00.084545Z K 7 svn:log V 264 Sprinkle a few more .WAITs into the mix after csu, libc, msun and the early built libraries. This should be sufficient for most cases and has eliminated the issues I've seen with high -j builds. Races likely still remain, but this knocks the problem down a notch. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:39:08.393453Z K 7 svn:log V 255 grep -L returns non-zero status if none of the files had the pattern in them. This is often the case, so just ignore the return code. Actual errors that are found will also be detected downstream in the rare cases where the return code is 2 instead of 1. END K 10 svn:author V 3 imp K 8 svn:date V 27 2014-05-10T16:39:15.926706Z K 7 svn:log V 227 bitrotted compat cruft removal: o KMODDEPS warning is 15 years stale. Remove it. o MK_CTF will always be defined now, so no need to test to see if it is defined. o no need to define MK_FORMAT_EXTENTIONS if undefined anymore. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2014-05-10T16:59:15.548270Z K 7 svn:log V 76 arcconfig: add one Add a .arcconfig to allow arc to work in its usual way. END