ƒ´r257000 176 316 322 358 373 297 465 323 278 434 273 268 377 396 214 272 152 228 1497 157 158 150 183 451 196 214 308 352 176 122 286 406 300 319 271 173 183 455 241 771 397 314 221 143 325 181 142 132 306 283 255 232 379 474 500 315 180 317 494 469 262 306 332 187 135 355 2011 293 122 165 240 222 247 338 292 250 299 285 136 407 210 150 163 273 403 220 400 197 162 414 243 243 242 444 385 753 768 403 685 207 185 507 209 209 135 139 124 284 284 106 399 311 140 284 310 364 227 134 179 166 586 586 229 287 334 202 260 307 201 803 226 393 188 116 798 534 188 228 183 235 199 127 313 150 576 181 418 195 892 189 345 311 190 426 677 411 187 381 206 207 238 190 385 377 158 192 334 219 218 200 254 658 338 256 140 128 135 K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T18:32:25.291955Z K 7 svn:log V 222 Sync with svn.7he.at/vps/trunk r195. r195 | klaus | 2013-07-29 06:35:25 -0600 (Mon, 29 Jul 2013) | 3 lines Added support for dumping fsid+fileid instead of path for vnodes. Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T18:33:09.331466Z K 7 svn:log V 228 Sync with svn.7he.at/vps/trunk r196. r196 | klaus | 2013-07-29 07:29:32 -0600 (Mon, 29 Jul 2013) | 3 lines Fixed a bug where an already deleted vps was referenced in deadlkres(). Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T18:34:06.252834Z K 7 svn:log V 264 Sync with svn.7he.at/vps/trunk r197. r197 | klaus | 2013-07-29 08:51:41 -0600 (Mon, 29 Jul 2013) | 4 lines Implemented ''savefile'' command in vpsctl, no rsync is not needed anymore when network filesystem is used. Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T18:35:06.776296Z K 7 svn:log V 279 Sync with svn.7he.at/vps/trunk r198. r198 | klaus | 2013-07-30 03:17:00 -0600 (Tue, 30 Jul 2013) | 4 lines Added check in deadlkres() for dead vps instances; and added locking in vps_deref() where the destroy task is initialized. Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T18:36:05.912298Z K 7 svn:log V 203 Sync with svn.7he.at/vps/trunk r199. r199 | klaus | 2013-07-30 04:29:38 -0600 (Tue, 30 Jul 2013) | 3 lines Showing relative paths for mountpoints in vps. Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-23T18:54:58.588516Z K 7 svn:log V 369 Export the block size capability to guests. - Use #defines for capability bits - Export the VTBLK_F_BLK_SIZE capability - Fix bug in calculating capacity: it is in 512-byte units, not the underlying sector size This allows virtio-blk to have backing devices with non 512-byte sector sizes e.g. /dev/cd0, and 4K-block harddrives. Reviewed by: neel MFC after: 3 days END K 10 svn:author V 7 asomers K 8 svn:date V 27 2013-10-23T18:58:11.917307Z K 7 svn:log V 226 sbin/geom/class/part/geom_part.c Always validate the return of find_geomcfg(). It could be NULL, for example when the geom is withering. Approved by: ken (mentor) Sponsored by: Spectra Logic Corporation MFC after: 3 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-23T18:58:38.161377Z K 7 svn:log V 181 Update driver to version 10.0.664.0. Many thanks to Emulex for their continued support of FreeBSD. Submitted by: Venkata Duvvuru MFC after: 3 day END K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T19:02:26.932783Z K 7 svn:log V 340 Sync with svn.7he.at/vps/trunk r200. Merge changes 251649:253795 from svn.freebsd.org/base/head/. to . Resolve merge conflict in sys/kern/kern_khelp.c: Remove vnet.h header file. r200 | klaus | 2013-07-30 10:21:26 -0600 (Tue, 30 Jul 2013) | 3 lines Updated from FreeBSD r251649 to r253795. Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T19:06:15.433767Z K 7 svn:log V 179 Sync with svn.7he.at/vps/trunk r201. r201 | klaus | 2013-07-31 02:29:02 -0600 (Wed, 31 Jul 2013) | 3 lines Fixed vpsctl Makefile. Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T19:06:53.410070Z K 7 svn:log V 174 Sync with svn.7he.at/vps/trunk r202. r202 | klaus | 2013-08-01 01:05:34 -0600 (Thu, 01 Aug 2013) | 3 lines Some build fixes. Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T19:12:02.366754Z K 7 svn:log V 283 Sync with svn.7he.at/vps/trunk r203. Merge changes 253795:253808 from svn.freebsd.org/base/head/. to . No merge conflicts. r203 | klaus | 2013-08-01 01:09:07 -0600 (Thu, 01 Aug 2013) | 3 lines Update from FreeBSD r253795 to r253808. Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 4 will K 8 svn:date V 27 2013-10-23T19:13:39.671306Z K 7 svn:log V 302 Sync with svn.7he.at/vps/trunk r204. This is the current upstream commit. r204 | klaus | 2013-08-05 09:07:50 -0600 (Mon, 05 Aug 2013) | 4 lines Added a script to change ''$FreeBSD: projects/vps/'' back to ''$FreeBSD: head/'' for an entire source tree. Submitted by: Klaus P. Ohrhallinger END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-23T19:45:14.252542Z K 7 svn:log V 121 Use copy method which maybe defined by framebuffer provider, but not just memmove. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-10-23T19:47:03.487523Z K 7 svn:log V 177 Adding a top-level makefile which can generate a single pdf containing all the course lectures. Adding cleanall target to delete resulting .pdf files. Discussed with: glebius END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-23T19:56:13.101745Z K 7 svn:log V 52 Typo while reviewing diffs. Sorry for the breakage! END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-23T20:00:14.686933Z K 7 svn:log V 127 Factor out MI portions of the PowerPC nexus device into /sys/dev/ofw. The sparc64 driver will be modified to use this shortly. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-23T21:35:39.872600Z K 7 svn:log V 1400 MFP4: Change 221534 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/01/27 16:05:30 FreeBSD/mips stores page-table entries in a near-identical format to MIPS TLB entries -- only it overrides certain "reserved" bits in the MIPS-defined EntryLo register to hold software-defined bits (swbits) to avoid significantly increasing the page table memory footprint. On n32 and n64, these bits were (a) colliding with MIPS64r2 physical memory extensions and (b) being improperly cleared. Attempt to fix both of these problems by pushing swbits further along 64-bit EntryLo registers into the reserved space, and improving consistency between C-based and assembly-based clearing of swbits -- in particular, to use the same definition. This should stop swbits from leaking into TLB entries -- while ignored by most current MIPS hardware, this would cause a problem with (much) larger physical memory sizes, and also leads to confusing hardware-level tracing as physical addresses contain unexpected (and inconsistent) higher bits. Discussed with: imp, jmallett Change 1187301 by brooks@brooks_zenith on 2013/10/23 14:40:10 Loop back the initial commit of 221534 to HEAD. Correct its implementation for mips32. MFC after: 3 days Sponsored by: DARPA/AFRL END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-10-23T21:42:53.414439Z K 7 svn:log V 64 Tidy usage messages for bhyve and bhyveload. Submitted by: jhb END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-23T22:49:32.923155Z K 7 svn:log V 67 Remove in6_clearscope() and in6_setscope() calls from nd6_ioctl(). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-23T22:58:27.923147Z K 7 svn:log V 59 Remove sa6_recoverscope(), use in6_getscopezone() instead. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-23T23:21:11.397461Z K 7 svn:log V 92 Add in6ifa_ifpwithdstaddr() function. It is IPv6 optimized version of ifa_ifpwithdstaddr(). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-23T23:40:49.087952Z K 7 svn:log V 359 Scope related cleanup in nd6_is_new_addr_neighbor(): * since we assume that addresses doesn't contains embedded zone ids, link-local addresses are always neighbors. So, remove sa6_recoverscope() and in6_setscope() calls; * use in6_localip() to check that address matches one of our addresses; * use in6ifa_ifpwithdstaddr() instead of ifa_ifwithdstaddr(). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-23T23:51:39.905628Z K 7 svn:log V 104 Change the type of the argument of the function nd6_is_addr_neighbor() from sockaddr_in6* to in6_addr*. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T00:00:24.269238Z K 7 svn:log V 122 Scope related cleanup in nd6_ns_input(): * remove in6_setscope() calls; * don't do route lookup for link-local addresses. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T00:09:17.398618Z K 7 svn:log V 216 Scope related cleanup in nd6_ns_output(): * remove in6_setscope() and in6_clearscope calls; * initialize sin6_scope_id before in6_selectsrc(); * use IPV6_USEROIF flag for ip6_output(). * sort variables declarations. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T00:21:44.409311Z K 7 svn:log V 260 Scope related cleanup in nd6_na_output/nd6_na_input: * remove in6_setscope() and in6_clearscope() calls; * initialize sin6_scope_id before in6_selectsrc(); * no need to initialize ro.ro_dst, in6_selectsrc will do it; * use IPV6_USEROIF flags for ip6_output(). END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T00:28:51.918982Z K 7 svn:log V 85 Remove sa6_embedscope(), use sa6_checkzone() instead. Remove in6_clearscope() calls. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T00:30:38.682847Z K 7 svn:log V 31 Remove in6_clearscope() calls. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-10-24T00:33:29.950953Z K 7 svn:log V 193 UFS2: make di_extsize unsigned. di_extsize is the EA size and as such it should be unsigned. Adjust related types for consistency. Reviewed by: mckusick (previous version) MFC after: 3 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T00:39:27.023686Z K 7 svn:log V 314 Scope related cleanup in rip6_output(): * remove sa6_embedscope() and in6_setscope() calls; * rip6_output() calls in6_selectsrc, so it always has outgoing interface and we can use IPV6_USEROIF when calling ip6_output. * add sa6_checkzone() to rip6_send. Application always must provide a proper scope zone id. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T00:48:31.127941Z K 7 svn:log V 208 Scope related cleanup in rip6_bind(): * remove sa6_embedscope() call, use sa6_checkzone() instead; * use in6ifa_ifwithaddr() to determine interface where address is configured. * initialize inp->in6p_zoneid. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T00:53:09.654817Z K 7 svn:log V 227 Scope related cleanup in rip6_connect(): * remove sa6_embedscope() and in6_setscope() calls; * use sa6_checkzone() to check sin6_scope_id for correctness; * when laddr or faddr is from link-local scope, initialize in6p_zoneid. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T01:02:39.531762Z K 7 svn:log V 179 Scope releated cleanup in in6_ifattach_linklocal(): * remove in6_setscope() call; * remove in6ifa_ifpforlinklocal() call. It is redundant, since in6_update_ifa() returns error. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-24T01:02:54.390379Z K 7 svn:log V 78 Add #ifdef wrapper around definitions so they aren't included multiple times. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-24T01:03:42.072230Z K 7 svn:log V 88 Break out the debug code into a new include file in preparation for some more iwn work. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-10-24T01:06:44.525605Z K 7 svn:log V 362 Return 0 if: 1. "-u N" specified, no -f, and mdN found, 2. no -u, "-f /pathname" specified, and mdN associated with /pathname found, 3. "-u N" specified, "-f /pathname" specified, and both of them found, 4. "-l" specified and no -f, 5. "-l" specified, "-f /pathname" specified, and /pathname found. otherwise return -1. Spotted by: Julian H. Stacey END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-10-24T02:39:07.483428Z K 7 svn:log V 146 Redefine the io provider using the SDT(9) macros instead of doing everything manually. This change has no functional impact. Discussed with: gnn END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-10-24T03:36:39.777231Z K 7 svn:log V 673 Be more selective when filtering for lib*.so.N files. These are deleted at the end of the upgrade process, after warning users to upgrade any 3rd party software (e.g., from the ports tree) which might link to the libraries being removed. Prior to this commit, the line /usr/lib/libc.so|...|/lib/libc.so.7 matched the regex, which -- upgrading from 9.x to 10.x, where libc.so is a regular file and thus was not part of a line which matched the regex -- resulted in freebsd-update thinking that /usr/lib/libc.so was a shared library which was being removed as part of the upgrade. This had some unfortunate consequences. This will be part of an upcoming Errata Notice. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-24T05:01:49.140971Z K 7 svn:log V 300 MFC r256833: Drop cm_lock before calling mapper_close, which in turn could call _citrus_mapper_close again and result in a deadlock otherwise. This is similar to NetBSD PR/24023 (fixed in their r1.5 of this file). PR: bin/182994 Submitted by: Fabian Keil Approved by: re (hrs) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-24T06:06:17.241735Z K 7 svn:log V 216 MFC r241082: Inherit USB mode from RootHUB port where the USB device is connected. Only RootHUB ports can be dual mode. Disallow OTG ports on external HUBs. This simplifies some checks in the USB controller drivers. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-24T06:22:43.387425Z K 7 svn:log V 123 MFC r252912, r254828 and r256548: Add host mode support to the Mentor Graphics USB OTG controller driver. PR: usb/181987 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-24T06:25:52.625626Z K 7 svn:log V 46 MFC r256500: Add new USB ID. PR: usb/182936 END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-24T07:38:32.578273Z K 7 svn:log V 227 MFC r256548: Correct programming of XXX_MAXP register. This register is 16-bit wide and not 8-bit. Fix support for isochronous transfers in USB host mode. Fix a whitespace while at it. PR: usb/181987 Approved by: re (Xin Li) END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-24T07:43:35.346635Z K 7 svn:log V 84 MFC r256500: Add new USB ID. PR: usb/182936 Approved by: re (Xin LI) Obtainedrom: END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-24T09:27:06.922293Z K 7 svn:log V 50 Fix crossed fingers output. Only comment changed. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-24T10:18:08.367057Z K 7 svn:log V 36 Merge head r256150 through r257045. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-24T10:31:02.963112Z K 7 svn:log V 213 MFC r256533: Unhide "Serial Number" lines from bootverbose. That information may be useful for system administration to have in hard copy (in logs) if one of several devices suddenly dies. Approved by: re (hrs) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-24T10:31:53.619974Z K 7 svn:log V 190 MFC r256533: Unhide "Serial Number" lines from bootverbose. That information may be useful for system administration to have in hard copy (in logs) if one of several devices suddenly dies. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-24T10:33:31.311320Z K 7 svn:log V 162 MFC r256552: Unify periph invalidation and destruction reporting. Print message containing device model and serial number on invalidation. Approved by: re (hrs) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-24T10:34:13.598719Z K 7 svn:log V 139 MFC r256552: Unify periph invalidation and destruction reporting. Print message containing device model and serial number on invalidation. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-24T10:49:55.784050Z K 7 svn:log V 281 Add support for using "pkg+http://" for the PACKAGESITE. pkg 1.2 is adding this support as well. This should help lessen the confusion on why the default SRV PACKAGESITE does not load in a browser. Adapated from: matthew's upstream pkg change Approved by: bapt MFC after: 2 days END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-24T10:53:35.559677Z K 7 svn:log V 376 MFC r256842: Fix 'make delete-old-libs' and 'make check-libs' to delete .debug files created by WITH_DEBUG_FILES. Also cleanup .symbols files from the period between r244236 when .symbols were supported and r251512 when they were renamed to .debug. Only propose to delete a .debug file if the corresponding library itself was deleted already. Approved by: bapt END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-24T11:35:50.308205Z K 7 svn:log V 402 MFC r256842: Fix 'make delete-old-libs' and 'make check-libs' to delete .debug files created by WITH_DEBUG_FILES. Also cleanup .symbols files from the period between r244236 when .symbols were supported and r251512 when they were renamed to .debug. Only propose to delete a .debug file if the corresponding library itself was deleted already. Approved by: bapt Approved by: re (glebius) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-24T14:05:44.707254Z K 7 svn:log V 222 Some microoptimizations for da and ada drivers: - Replace ordered_tag_count counter with single flag; - From da remove outstanding_cmds counter, duplicating pending_ccbs list; - From da_softc remove unused links field. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-24T14:15:05.521269Z K 7 svn:log V 80 interrupt-parent and #interrupt-cells are written to the tree using encode-int. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-10-24T15:00:19.317401Z K 7 svn:log V 224 Revert r256921 to prevent error output when in the wrong directory. This should have been reverted with the stable/10/Makefile.inc1 revert, but apparently my commit did not go through. Discussed with: cperciva (originally) END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-24T15:11:30.435428Z K 7 svn:log V 398 Regenerate documentation post r256915: Stop conflating WITHOUT_CLANG with WITHOUT_CLANG_IS_CC. This allows bootstrapping a copy of clang without building clang for the base system which is useful for nanobsd and similar setups. It's still probably wrong to conflate what is installed as /usr/bin/cc with the selection of a bootstrap compiler under WITH*_CLANG_IS_CC, but that's for another day. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-10-24T15:21:20.731421Z K 7 svn:log V 376 MFC r256889: Use the vdev's ashift to calculate the supported min block size passed to zio_compress_data(..) when compressing l2arc buffers. This eliminates L2ARC I/O errors, which resulted in very poor performance on vdev's configured with block size greater than 512b due to compression assuming a smaller min block size than the vdev supports. Approved by: re (glebius) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-24T15:37:32.052488Z K 7 svn:log V 161 Allow PIC drivers to translate firmware sense codes for themselves. This is designed to replace the tables in dev/fdt/fdt_ARCH.c, but will not happen quite yet. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-24T15:44:29.410749Z K 7 svn:log V 205 Do not map IRQs twice. This fixes PowerPC/FDT systems with multiple PICs, which would try to treat the previously-mapped interrupts from fdt_decode_intr() as interrupt line numbers on the same parent PIC. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-10-24T15:54:06.287679Z K 7 svn:log V 237 Don't spin with mutex hold when there is not enough room in the send socket buffer. While here, make the code flow somewhat nicer. Thanks to mav@ for tracking it down. Tested by: mav MFC after: 3 days Sponsored by: FreeBSD Foundation END K 10 svn:author V 4 loos K 8 svn:date V 27 2013-10-24T16:27:33.030778Z K 7 svn:log V 94 Add the Raspberry Pi SPI controller driver. Reviewed by: rpaulo Approved by: adrian (mentor) END K 10 svn:author V 5 hiren K 8 svn:date V 27 2013-10-24T16:42:48.209662Z K 7 svn:log V 41 Adding a README Discussed with: glebius END K 10 svn:author V 4 loos K 8 svn:date V 27 2013-10-24T16:56:38.738277Z K 7 svn:log V 261 Add an OFW SPI compatible bus. Fix the spibus probe to return BUS_PROBE_GENERIC and not BUS_PROBE_SPECIFIC (0) so the OFW SPI bus can attach when enabled. Export the spibus devclass_t and driver_t declarations. Submitted by: ray Approved by: adrian (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-24T17:04:16.782424Z K 7 svn:log V 1914 Fix a use-after-free node reference issue when waiting for a return from a management frame transmission. This bug is a bit loopy, so here goes. The underlying cause is pretty easy to understand - the node isn't referenced before passing into the callout, so if the node is deleted before the callout fires, it'll dereference free'd memory. The code path however is slightly more convoluted. The functions _say_ mgt_tx - ie management transmit - which is partially true. Yes, that callback is attached to the mbuf for some management frames. However, it's only for frames relating to scanning and authentication attempts. It helpfully drives the VAP state back to "SCAN" if the transmission fails _OR_ (as I subsequently found out!) if the transmission succeeds but the state machine doesn't make progress towards being authenticated and active. Now, the code itself isn't terribly clear about this. It _looks_ like it's just handling the transmit failure case. However, when you look at what goes on in the transmit success case, it's moving the VAP state back to SCAN if it hasn't changed state since the time the callback was scheduled. Ie, if it's in ASSOC or AUTH still, it'll go back to SCAN. But if it has transitioned to the RUN state, the comparison will fail and it'll not transition things back to the SCAN state. So, to fix this, I decided to leave everything the way it is and merely fix the locking and remove the node reference. The _better_ fix would be to turn this callout into a "assoc/auth request" timeout callback and make the callout locked, thus eliminating all races. However, until all the drivers have been fixed so that transmit completions occur outside of any locking that's going on, it's going to be impossible to do this without introducing LORs. So, I leave some of the evilness in there. Tested: * AR5212, ath(4), STA mode * 5100 and 4965 wifi, iwn(4), STA mode END K 10 svn:author V 6 marius K 8 svn:date V 27 2013-10-24T17:06:41.949092Z K 7 svn:log V 197 Move the implementation of bus_space_barrier(9) to the inline function in the header. Actually, there's only one version for all types of busses, so it doesn't make sense to walk up the hierarchy. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-10-24T19:32:20.713876Z K 7 svn:log V 26 Correct typo. s/an an/an/ END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-10-24T19:49:55.148935Z K 7 svn:log V 69 Modernize pass(4) description to the 21st century. Reviewed by: mav END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-24T20:13:40.300468Z K 7 svn:log V 147 Add ddb 'show ioapic' and 'show all ioapics' commands. Reviewed by: jhb (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-24T20:21:37.337479Z K 7 svn:log V 129 Move the PCI_DMA_BOUNDARY definition into the pcivar.h. Reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-24T20:25:29.434538Z K 7 svn:log V 154 Add some definitions for the bits in root control and status PCIe cap registers. Reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-24T20:29:29.529965Z K 7 svn:log V 245 Make pci_get_dma_tag() non-static. Since the function is only referenced by pointer, making it non-static should not have even the negligible impact on the existing code. Reviewed by: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-10-24T21:43:18.246661Z K 7 svn:log V 194 Sacrifice large patch files in order to avoid having mirrors run out of disk space when lots of things change at once (sweeping commits and/or changes to heavily depended-upon ports like perl). END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-24T21:43:46.577105Z K 7 svn:log V 157 o Fix scroll calculations. o Make vthistory_seek to return amount of lines to update +on_top/-on_bottom of screen. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-24T21:49:23.372559Z K 7 svn:log V 198 Remove some of the code required for supporting ssm(4) on SPARC in favor of a more PowerPC/FDT-focused design. Whenever SPARC64 is integrated into this rework, this should be (trivially) revisited. END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-24T21:54:24.154133Z K 7 svn:log V 192 o Mute keyboard input when ScrollLock mode is active. o Simplify keys handling. o Send ESC sequence for arrow keys in _cngetc, that will fix DDB history. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-10-24T21:58:14.292434Z K 7 svn:log V 43 Cleanup empty directories PR: conf/167133 END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-24T22:21:31.853802Z K 7 svn:log V 311 Fix panic in the tap driver when a tap and vmnet interface were created after each other e.g. ifconfig tap0 ifconfig vmnet0 Appears to be a cut'n'paste error from the tap code to the vmnet code where the name string wasn't updated in the call to make_dev(). Reviewed by: glebius MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-10-24T22:55:15.180612Z K 7 svn:log V 117 Fix build host pollution by avoiding calling 'uname -srp' to determine values for 'VERSION'. Looked at by: cperciva END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-24T23:47:31.520578Z K 7 svn:log V 59 Remove in6_purgeif() function. It seems it was never used. END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-10-25T00:17:12.568248Z K 7 svn:log V 66 ELF PowerPC64 ABI puts the LR save word at 16 byte offset, not 8. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T00:24:55.270629Z K 7 svn:log V 181 Some cleanups in in6_ifdetach(): * remove in6_setscope() call; * remove part of code, that already done in the in6_purgeaddr(); * don't remove route to multicast, we don't keep it. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T00:35:26.582969Z K 7 svn:log V 311 Remove all assumptions about embedded form of addresses: * cleanup comments; * remove in6_setscope(), in6_clearscope() and sa6_embedscope() calls; * use in6_getscopezone() to initialize sin6_scope_id; * use sa6_checkzone() to check addresses for correctness; * don't check unsigned ifindex for negative values. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T01:02:25.586243Z K 7 svn:log V 128 Initialize inc_fibnum for properly handling ICMP6_PACKET_TOO_BIG errors in multifib environment. PR: 183265 MFC after: 1 week END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-10-25T01:10:07.088703Z K 7 svn:log V 304 Queisce quite a few clang warnings -Wdangling-else due to this work around for compiling gperf under Visual Studio from 1998. ref. http://msdn.microsoft.com/en-us/library/b80153d8%28v=vs.90%29.aspx ref. http://stackoverflow.com/questions/984878/what-is-the-possible-use-for-define-for-if-false-else-for END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T01:47:02.432147Z K 7 svn:log V 105 Scope related cleanup in mld6.c: * cleanup comments; * remove in6_clearscope() and in6_setscope() calls; END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T01:49:08.862295Z K 7 svn:log V 71 Don't adjust checksum, since addresses don't contain scope id anymore. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T02:16:36.223024Z K 7 svn:log V 322 Scope related cleanup in udp6_output(): * remove sa6_embedscope() and in6_setscope() calls; * move address validation check from udp6_output() to udp6_send(); * when address isn't specified, try to determine outgoing interface from inc->in6p_zoneid; * use IPV6_USEROIF for ip6_output() when outgoing interface is known. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T02:21:00.475069Z K 7 svn:log V 151 Refactor udp6_getcred(): * remove sa6_embedscope() calls, use sa6_checkzone() instead; * determine interface by zone id and pass it to in6_pcblookup. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T02:40:56.234642Z K 7 svn:log V 151 Refactor tcp6_getcred(): * remove sa6_embedscope() calls, use sa6_checkzone() instead; * determine interface by zone id and pass it to in6_pcblookup. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T02:55:04.499879Z K 7 svn:log V 150 Refactor sysctl_drop(): * remove sa6_embedscope() calls, use sa6_checkzone() instead; * determine interface by zone id and pass it to in6_pcblookup. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-25T03:18:56.541222Z K 7 svn:log V 348 Fix bug in the ioapic emulation for level-triggered interrupts, where a pin assertion while a source was masked would result in the interrupt being lost, with the symptom being a console hang. The condition is now recorded, and the interrupt generated when the source is unmasked. Discovered by: OpenBSD 5.4 MP Reviewed by: neel MFC after: 3 days END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-25T03:55:52.170127Z K 7 svn:log V 284 Be a little more suspicious of thermal sensors, which can have single crazy readings occasionally. One wild reading should not be enough to trigger a shutdown, so instead wait for several concerning readings in a row. PR: powerpc/180593 Submitted by: Julio Merino MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-25T04:06:54.233859Z K 7 svn:log V 657 Add a configuration file and hints file for the Alfa Networks Hornet UB board. This is another AR9331 board similar to the Carambola2. It has different ethernet and LED wiring though. They make a variety of boards that mostly differ on the amount of RAM/flash available. Alfa Networks graciously donated a handful of 64MB RAM/16MB flash boards so I can finish off 802.11s support for the AR93xx chips and do up a tech demonstration with it. This is enough to bring up the board. Tested: * Alfa networks UB Hornet board - 64MB ram, 16MB flash version. Thankyou to Alfa Networks for the development boards! Sponsored by: Alfa Networks (hardware only) END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-25T05:11:10.291783Z K 7 svn:log V 672 Allow mixing bsd.files.mk with bsd.subdir.mk. If a single Makefile wants to recurse into subdirectories and also wants to install files, bsd.files.mk's targets would get ignored in favor of those defined by bsd.subdir.mk because installfiles would not get defined in bsd.files.mk. Prevent this from happening by defining the targets in bsd.files.mk with auxiliary names and listing them as dependencies of installfiles instead. This is required by bsd.test.mk, which needs to install a Kyuafile in pretty much all cases but may also need to recurse into subdirectories for build purposes. Submitted by: Julio Merino jmmv google.com Reviewed by: sjg MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-25T05:12:31.842374Z K 7 svn:log V 307 Move the TESTSBASE definition to bsd.own.mk. We need to be able to reference the value of TESTSBASE without requiring the inclusion of bsd.test.mk (e.g. in etc/Makefile), so move its definition to the more generic bsd.own.mk. Submitted by: Julio Merino jmmv google.com Reviewed by: sjg MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-25T05:25:19.546591Z K 7 svn:log V 589 Set up the /usr/tests hierarchy. Populate /usr/tests with the only test programs that currently live in the tree (those in lib/libcrypt/tests/) and add all the build machinery to accompany this change. In particular: - Add a WITHOUT_TESTS variable that users can define to request that no tests be put in /usr/tests. - Add a top-level Kyuafile for /usr/tests and a way to create similar Kyuafiles in top-level subdirectories. - Add a BSD.tests.dist file to define the directory layout of /usr/tests. Submitted by: Julio Merino jmmv google.com Reviewed by: sjg MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-25T05:27:36.636364Z K 7 svn:log V 111 Add missing WITHOUT_TESTS file. Submitted by: Julio Merio jmmv google.com Reviewed by: sjg MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-25T05:31:26.979222Z K 7 svn:log V 90 Add missing plain.test.mk. Submitted by: Julio Merino jmmv google.com MFC after: 2 weeks END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-25T05:33:04.830524Z K 7 svn:log V 411 Add a tests(7) manual page. This manual page intends to describe the structure and behavior of the FreeBSD test suite installed in /usr/tests. The contents have been inherited from the NetBSD manual page. As a side effect, this also updates the hier(7) manual page to mention /usr/tests and points at tests(7) for more details. Submitted by: Julio Merino jmmv google.com Reviewed by: sjg MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-25T06:03:07.306070Z K 7 svn:log V 116 MFC r256317: Fix mode page length calculation to remove last garbage line from the `camcontrol mode daX -l` output. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-10-25T06:04:21.180125Z K 7 svn:log V 116 MFC r256317: Fix mode page length calculation to remove last garbage line from the `camcontrol mode daX -l` output. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T06:11:12.226005Z K 7 svn:log V 44 Remove the last remnant of in6_clearscope() END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-10-25T06:15:23.736651Z K 7 svn:log V 48 Don't do route lookup for link-local addresses. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-10-25T06:37:43.218969Z K 7 svn:log V 29 Disable WITH_TESTS= for now. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-25T06:47:01.120473Z K 7 svn:log V 186 MFC r256750: Improve XHCI stability. When a command timeout happens, the command should be aborted else the command queue can stop. Refer to section "4.6.1.2" of the XHCI specification. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-25T06:48:57.588032Z K 7 svn:log V 186 MFC r256750: Improve XHCI stability. When a command timeout happens, the command should be aborted else the command queue can stop. Refer to section "4.6.1.2" of the XHCI specification. END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-25T08:41:36.529739Z K 7 svn:log V 14 MFC @r257107. END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-10-25T09:09:00.514908Z K 7 svn:log V 306 Add clang-CC and CC to list of hints allowing clang to identify its operating mode as c++ instead of defaulting to c for the binary names CC and clang-CC. This fixes builds that use cmake, which automatically sets CXX to /usr/bin/CC by default. PR: bin/182442 Reviewed by: dwhite, wca MFC after: 2 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-10-25T10:20:19.893837Z K 7 svn:log V 213 MFC r256750: Improve XHCI stability. When a command timeout happens, the command should be aborted else the command queue can stop. Refer to section "4.6.1.2" of the XHCI specification. Approved by: re (glebius) END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-25T11:44:39.470640Z K 7 svn:log V 48 Test UARTs physical address instead of virtual. END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-10-25T13:25:49.585768Z K 7 svn:log V 190 MFC r256925: Add a dummy statement to the beginning of the pthread_cleanup_pop() macro to allow a call of the macro to be labelled as in: label: pthread_cleanup_pop(); Reviewed by: imp END K 10 svn:author V 4 tijl K 8 svn:date V 27 2013-10-25T13:27:55.833280Z K 7 svn:log V 216 MFC r256925: Add a dummy statement to the beginning of the pthread_cleanup_pop() macro to allow a call of the macro to be labelled as in: label: pthread_cleanup_pop(); Reviewed by: imp Approved by: re (glebius) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-25T13:29:07.241142Z K 7 svn:log V 263 Use common OFW root code to set up fdtbus. This is an almost purely negative diff that should improve reliability somewhat. There should be no differences in behavior -- please report any that crop up. This has been tested on ARM and PPC systems. Tested by: ray END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-25T14:37:15.136988Z K 7 svn:log V 126 Remove some #ifdef and duplication in the MSR bit definitions. This adds some security features to the Book-E kernel as well. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-25T14:38:46.347703Z K 7 svn:log V 34 Remove dead reference to PSL_MBO. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-25T14:43:16.899743Z K 7 svn:log V 79 Convert e500 PCI driver to use common PPC PCI bus glue. No functional changes. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-25T15:37:58.257699Z K 7 svn:log V 66 Make sure to get the right node when looking up #interrupt-cells. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-25T15:43:59.116914Z K 7 svn:log V 489 MFC r253816: MFV r253780: To quote Illumos #3875: The problem here is that if we ever end up in the error path, we drop the locks protecting access to the zfsvfs_t prior to forcibly unmounting the filesystem. Because z_os is NULL, any thread that had already picked up the zfsvfs_t and was sitting in ZFS_ENTER() when we dropped our locks in zfs_resume_fs() will now acquire the lock, attempt to use z_os, and panic. Illumos ZFS issues: 3875 panic in zfs_root() after failed rollback END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-10-25T15:45:29.136013Z K 7 svn:log V 489 MFC r253816: MFV r253780: To quote Illumos #3875: The problem here is that if we ever end up in the error path, we drop the locks protecting access to the zfsvfs_t prior to forcibly unmounting the filesystem. Because z_os is NULL, any thread that had already picked up the zfsvfs_t and was sitting in ZFS_ENTER() when we dropped our locks in zfs_resume_fs() will now acquire the lock, attempt to use z_os, and panic. Illumos ZFS issues: 3875 panic in zfs_root() after failed rollback END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-25T16:31:28.684360Z K 7 svn:log V 136 MFC r256501: Remove two instances of ARGSUSED comment, and wrap lines nearby the code that is to be changed. Approved by: re (glebius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-25T16:33:24.112233Z K 7 svn:log V 194 MFC r256502: Similar to debug.iosize_max_clamp sysctl, introduce devfs_iosize_max_clamp sysctl, which allows/disables SSIZE_MAX-sized i/o requests on the devfs files. Approved by: re (glebius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-25T16:36:16.744997Z K 7 svn:log V 241 MFC r256504: Add a sysctl kern.disallow_high_osrel which disables executing the images compiled on the world with higher major version number than the high version number of the booted kernel. Default to disable. Approved by: re (glebius) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-25T16:49:32.732440Z K 7 svn:log V 109 MFC r256501: Remove two instances of ARGSUSED comment, and wrap lines nearby the code that is to be changed. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-25T17:04:46.142988Z K 7 svn:log V 167 MFC r256502: Similar to debug.iosize_max_clamp sysctl, introduce devfs_iosize_max_clamp sysctl, which allows/disables SSIZE_MAX-sized i/o requests on the devfs files. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-10-25T17:15:57.100287Z K 7 svn:log V 214 MFC r256504: Add a sysctl kern.disallow_high_osrel which disables executing the images compiled on the world with higher major version number than the high version number of the booted kernel. Default to disable. END K 10 svn:author V 4 loos K 8 svn:date V 27 2013-10-25T18:38:44.418278Z K 7 svn:log V 107 Remove all the instances of '#undef DEBUG' from kernel. Suggested by: rpaulo Approved by: adrian (mentor) END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-10-25T18:39:01.061639Z K 7 svn:log V 707 MFC r256926, r257005 r256926 Fix AHCI ATAPI emulation when backed with /dev/cd0 - remove assumption that the backing file/device had 512-byte sectors - fix incorrect iovec size variable that would result in a buffer overrun when an o/s issued an i/o request with more s/g elements than the blockif api r257005 Export the block size capability to guests. - Use #defines for capability bits - Export the VTBLK_F_BLK_SIZE capability - Fix bug in calculating capacity: it is in 512-byte units, not the underlying sector size This allows virtio-blk to have backing devices with non 512-byte sector sizes e.g. /dev/cd0, and 4K-block harddrives. Approved by: re (glebius) END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-10-25T18:43:53.772696Z K 7 svn:log V 128 Remove time and date stamps from svn* binaries, in order to make the builds reproducible. Reviewed by: peter MFC after: 3 days END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-10-25T19:15:21.446213Z K 7 svn:log V 300 Add a helper routine to search for a compat string in a table that associates compat strings with arbitrary values that mean something to the driver. This is handy for drivers that support several variations of similar hardware and need to know which one matched. Reviewed by: imp, jmg, nwhitehorn END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-10-25T19:19:12.397045Z K 7 svn:log V 96 Reject attempts to attack a disk device that has the old NEEDSGIANT flag set. Reviewed by: mav END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2013-10-25T19:39:22.144484Z K 7 svn:log V 20 Add id for GTM661W. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-25T19:44:53.745619Z K 7 svn:log V 702 Temporarily disable multi-rate retry (link quality) and eliminate rate index lookups. * My recent(ish) change to iwn(4) and the net80211 rate control API to support 11n rates broke the link quality table use. So, until I or someone else decides to fix it, let's just disable it for now. * Teach iwn_tx_data_raw() to use the iwn_rate_to_plcp() function. * Eliminate two uses of the net80211 rate index lookup functions - they are only for legacy rates and they're not needed here. This fixes some invalid looking rate control TX issues that showed up on my 4965 but it doesn't fix the two TX hangs I've noticed. Those look like DMA related issues. Tested: * 4965, STA mode * 5100, STA mode END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-25T19:46:52.170569Z K 7 svn:log V 438 Begin fleshing out a knob to enable/disable bluetooth coexistence. Some firmware versions seem to get very unhappy if they're sent btcoex commands when they don't actually have bluetooth hardware in them. So, disable sending them those commands. Tested: * 5100 (which has bluetooth, no problems) * 4965 (which doesn't have bluetooth, but didn't seem to crash) * 6200 (no bluetooth, seems to get unhappy being sent bluetooth commands.) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-25T19:49:03.427474Z K 7 svn:log V 92 vnet.h needs to be included before raw_cb.h. Now it compiles due to pollution via if_var.h. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-10-25T21:27:35.903591Z K 7 svn:log V 135 MFC r257079: Fix build host pollution by avoiding calling 'uname -srp' to determine values for 'VERSION'. Approved by: re (glebius) END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-25T21:57:03.108317Z K 7 svn:log V 91 Remove not done and not used driver for intel video. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-25T22:45:18.602555Z K 7 svn:log V 139 Switch the default mtree to nmtree our new NetBSD derived mtree. Exp-run by: bdrewery MFC after: 3 days Sponsored by: DARPA/AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-10-25T22:47:54.848852Z K 7 svn:log V 103 Regerate after r257138 swapped the default to WITH_NMTREE. MFC after: 3 days Sponsored by: DARPA/AFRL END K 10 svn:author V 6 cognet K 8 svn:date V 27 2013-10-25T23:38:58.102222Z K 7 svn:log V 32 Deliver zbb from my oppression. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-10-26T01:17:54.688287Z K 7 svn:log V 217 add 0x8b, lifted from Linux iwlegacy/commands.h This is "STA invalid". I saw it during some 4965 testing (kern/183260) and I still have no idea what is causing it. Obtained from: Linux drivers/net/wireless/iwlegacy END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T03:21:08.961455Z K 7 svn:log V 53 Wrap long lines Approved by: bapt MFC after: 2 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-10-26T03:21:54.587272Z K 7 svn:log V 481 Fix a couple of bugs in the fasttrap emulation of a "push %rbp" instruction: the code was trying to save the stack pointer rather than the frame pointer, and the arguments to copyout(9) were reversed, so nothing ended up being saved on the stack. This would cause process crashes when the pid provider was being used to instrument calls of a function starting with this instruction. Reported by: symbolics@gmx.com Tested by: symbolics@gmx.com (earlier version) MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-26T03:22:57.974469Z K 7 svn:log V 81 Fix build after r257111 by including headers with definition of pmap_kextract(). END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T03:31:05.123030Z K 7 svn:log V 320 Add support for reading configuration files from /etc/pkg. For now only /etc/pkg/FreeBSD.conf is supported. Its style is: Repo: { URL: "...", MIRROR_TYPE: "...", ... } The configuration will be read from /usr/local/etc/pkg.conf if exists, otherwise /etc/pkg/FreeBSD.conf Approved by: bapt MFC after: 2 days END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T03:32:06.374421Z K 7 svn:log V 98 Be verbose and tell where pkg(8) is being bootstrapped from. Approved by: bapt MFC after: 2 days END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T03:43:02.179993Z K 7 svn:log V 794 Support checking signature for pkg bootstrap. If the pkg.conf is configured with SIGNATURE_TYPE: FINGERPRINTS, and FINGERPRINTS: /etc/keys/pkg then a pkg.sig file is fetched along with pkg.txz. The signature contains the signature provided by the signing server, and the public key. The .sig is the exact output from the signing server in the following format: SIGNATURE CERT END The signature is verified with the following logic: - If the .sig file is missing, it fails. - If the .sig doesn't validate, it fails. - If the public key in the .sig is not in the known trusted fingerprints, it fails. - If the public key is in the revoked key list, it fails. Approved by: bapt MFC after: 2 days Discussed by: bapt with des, jonathan, gavin END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T03:44:08.193890Z K 7 svn:log V 92 Tell which fingerprint pkg is being validated against. Approved by: bapt MFC after: 2 days END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T03:47:49.184707Z K 7 svn:log V 247 Add support to check the signature of a local pkg.txz file being added with "pkg add". If the pkg.conf is configured to check for signature, then the pkg.txz.sig file will be expected and validated per r257147 Approved by: bapt MFC after: 2 days END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T03:53:24.511375Z K 7 svn:log V 213 Add infrastructure for installing pkg(8) keys into /etc/keys/pkg and add the current test key that packages will be signed with until 10.0-RELEASE. Approved by: bapt Discussed by: bapt with des MFC after: 2 days END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T03:55:29.868705Z K 7 svn:log V 93 Document /var/cache/pkg into hier(7) which pkg(8) uses. Approved by: bapt MFC after: 2 days END K 10 svn:author V 5 markj K 8 svn:date V 27 2013-10-26T06:23:51.980117Z K 7 svn:log V 331 Do some cleanup of the SDT code. In particular, * Remove the unused sdt cdev. * Don't bother keeping a list of probes in struct sdt_prov; it's not needed. * Invoke sdt_load and sdt_unload from the module handler instead of registering separate SYSINITs. * Keep to within 80 columns. * Check for errors from dtrace_unregister(). END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2013-10-26T08:34:35.713886Z K 7 svn:log V 579 MFC r256646, r256767, r257038: When installing updates, install new directories first and remove old directories last. Allow ~ in file names so libtool droppings in contrib don't break updates. It has happened twice now, and is likely to happen again. Be more selective when filtering for lib*.so.N files. These are deleted at the end of the upgrade process, after warning users to upgrade any 3rd party software (e.g., from the ports tree) which might link to the libraries being removed. Approved by: re (gjb) Errata Notice: FreeBSD-EN-13:04.freebsd-update END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-10-26T08:35:54.286261Z K 7 svn:log V 314 Merging local and remote bitmaps must be protected by hr_amp lock. This is believed to fix hastd crashes, which might occur during synchronization, triggered by the failed assertion: Assertion failed: (amp->am_memtab[ext] > 0), function activemap_write_complete, file activemap.c, line 351. MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2013-10-26T08:38:21.309787Z K 7 svn:log V 91 Make hastctl list command output current queue sizes. Reviewed by: pjd MFC after: 1 month END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-10-26T11:56:51.977211Z K 7 svn:log V 288 MFC r256157: Now our binutils's assembler supports the Intel Random Number Generator extensions, we can change the .byte directives in sys/dev/random/ivy.c to plain 'rdrand' mnemonics. This already worked for clang users, but now it will also work for gcc users. Approved by: so (des) END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-26T13:18:39.765347Z K 7 svn:log V 105 machine/pmap.h is included by vm/pmap.h, so is redundant here. Thanks to Alan Cox for pointing this out. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T13:38:49.989368Z K 7 svn:log V 109 Link in libcrypto as well to fix build in some cases. Approved by: bapt MFC after: 2 days Reported by: many END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T14:19:57.364745Z K 7 svn:log V 140 Disable fingerprint checking for now as the pkg repository mirrors will not receive the signature until later this week. Approved by: bapt END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-10-26T14:49:19.976129Z K 7 svn:log V 95 Queisce warnings for gperf -Wlogical-op-parentheses with parens to explicitly define the logic END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-26T14:52:55.856789Z K 7 svn:log V 284 Add pmap_mapdev_attr() and pmap_kenter_attr() interfaces. pmap_set_memattr() is slightly more complicated and is left unimplemented for now. Also prevent pmap_mapdev() from mapping over the kernel and KVA regions if devices happen to have high physical addresses. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-26T14:54:43.879786Z K 7 svn:log V 276 The old trap.h (then trap_aim.h) actually had trap ID codes for Book-E CPUs. Use it universally. Book-E traps may also need revisiting due to the introduction of fixed-offset traps and the deprecation of IVORs in POWER ISA 2.06, but that's very much an issue for another day. END K 10 svn:author V 3 ray K 8 svn:date V 27 2013-10-26T14:57:08.181203Z K 7 svn:log V 66 Move tools to proper place. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T15:02:34.160748Z K 7 svn:log V 95 Add missing /etc/pkg to BSD.root.dist Approved by: bapt MFC after: 2 days X-MFC-With: r257145 END K 10 svn:author V 3 jmg K 8 svn:date V 27 2013-10-26T15:05:27.078541Z K 7 svn:log V 241 Document that -a will output the device name when -u is not specified.. when -u is specified it is not... update the docs to say that you can use full device names w/ -u, and update the examples... Submitted by: #vbsdcon MFC after: 3 days END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-10-26T15:10:58.834584Z K 7 svn:log V 126 Update stable/10 to BETA2 as part of the 10.0-RELEASE cycle. Approved by: re (implicit) Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 ian K 8 svn:date V 27 2013-10-26T15:15:31.998865Z K 7 svn:log V 125 Switch to using ofw_bus_search_compatible() table-driven compat lookup. Add compat strings for Freescale Vybrid family SoCs. END K 10 svn:author V 8 bdrewery K 8 svn:date V 27 2013-10-26T16:19:14.121081Z K 7 svn:log V 102 Fix indentation Reported by: zont Approved by: bapt (implicit) MFC after: 2 days X-MFC-With: r257145 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-26T16:49:41.123767Z K 7 svn:log V 153 Fix concurrency issues with TLB1 updates and make pmap_kextract() search TLB1 mappings as well, which is required for the console to work after r257111. END K 10 svn:author V 3 zbb K 8 svn:date V 27 2013-10-26T17:24:59.483778Z K 7 svn:log V 565 Wait for DesignWare UART transfers completion before accessing line control When using DW UART with BUSY detection it is necessary to wait until all serial transfers are finished before manipulating the line control. LCR will not be affected when UART is busy. In addition, if Divisor Latch Access Bit is being set in order to modify UART divisors: 1. We will get BUSY interrupt if interrupts are enabled. 2. Because LCR will not be affected the THR and (even worse) IER contents will be corrupted. This will lead to console hang. Approved by: cognet (mentor) END K 10 svn:author V 3 zbb K 8 svn:date V 27 2013-10-26T17:27:32.808792Z K 7 svn:log V 245 Enable UART busy detection handling for Armada XP - based board All Armada XP chips should be affected. It is necessary to handle busy interrupt/indication by enabling busy-detect property in DTS. Tested by: kevlo Approved by: cognet (mentor) END K 10 svn:author V 3 zbb K 8 svn:date V 27 2013-10-26T17:29:50.172342Z K 7 svn:log V 163 Enable SATA interface on Armada XP - Add appropriate entry to DTS - Allow for MV78460 SATA probe and configuration Tested by: kevlo Approved by: cognet (mentor) END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-26T17:40:38.406735Z K 7 svn:log V 44 Move includes from if_bcereg.h to .c files. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-10-26T17:43:18.722009Z K 7 svn:log V 32 Remove unsigned < 0 comparison. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2013-10-26T17:54:31.187838Z K 7 svn:log V 35 Clean up missed header references. END