ƒ².249000 195 344 315 181 105 177 179 171 262 195 188 164 140 132 132 189 124 167 372 106 118 283 214 191 424 124 243 357 474 201 334 128 554 242 117 378 283 195 192 512 179 353 333 270 151 262 167 136 611 243 162 153 146 174 194 186 194 186 191 353 353 106 140 446 450 677 252 215 128 894 277 347 322 177 522 335 144 144 161 432 219 174 147 212 448 139 2005 123 144 112 262 156 186 131 637 196 167 193 289 95 177 626 95 308 326 320 218 193 221 644 117 114 163 116 242 512 333 599 162 179 262 803 160 162 158 515 274 173 197 167 149 232 348 246 202 247 507 114 331 111 277 131 111 137 126 244 545 448 253 342 736 287 230 1564 135 196 488 337 425 329 388 297 247 106 376 123 108 217 2430 145 375 408 158 145 244 176 150 221 162 316 290 148 162 202 124 132 225 266 287 262 183 132 133 158 237 300 K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-02T06:25:10.617495Z K 7 svn:log V 248 Mark a couple of places where I think the dmamap isn't being unmapped before the TX path is being aborted. Right now it's in the TDMA code and I can live with that; but it really should get fixed. I'll do a more thorough audit of this code soon. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-02T06:48:29.241385Z K 7 svn:log V 222 - Since we no longer have device allocq, rename *_dev_sendq() to *_devq(). - *_devq() functions are really operating on device queues that may be used for several buses, not on a single bus; change arguments respectively. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-04-02T06:49:44.201635Z K 7 svn:log V 90 MFC r248697: When we are removing a specific set, call ipfw_expire_dyn_rules only once. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-02T07:28:14.396391Z K 7 svn:log V 13 MFC @r249002 END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-02T08:15:39.495251Z K 7 svn:log V 86 Do not check against uninitialized rc and comment out vendor code MFC after: 16 days END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-02T08:41:38.667679Z K 7 svn:log V 87 Pull in a patchset from upstream to silence spurious "no such identity file" warnings. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-02T09:03:40.920589Z K 7 svn:log V 79 Pass SIM pointer as an argument to camisr_runqueue() instead of doneq pointer. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-02T09:33:22.086479Z K 7 svn:log V 169 Introduce sim_doneq_mtx, mutex protecting done CCB queue. Now it is only pessimization, but it removes barrier for dropping SIM mutex during CCB completion processing. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-02T09:38:04.757086Z K 7 svn:log V 100 Fix panic in the error path caused by recursive acquisition of XPT topology lock. Reviewed by: ken END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-02T09:42:42.233794Z K 7 svn:log V 94 Make it possible to build CTL as a module. Reviewed by: ken Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-02T09:44:12.419693Z K 7 svn:log V 72 Remove owner field from struct cam_ed, unused at least since FreeBSD 7. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-02T09:44:59.488442Z K 7 svn:log V 46 Fix dates in manual pages modified in 249009. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-02T09:45:34.758787Z K 7 svn:log V 38 Remove unused code. Reviewed by: ken END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-02T09:51:36.410941Z K 7 svn:log V 36 Merge head r243428 through r249011. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-02T10:05:30.386702Z K 7 svn:log V 97 - Drop alloc_ccb_entry field, unused since r248890. - Rename send_ccb_entry field to devq_entry. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-02T11:42:39.134446Z K 7 svn:log V 32 Silence printf format warnings. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-02T11:44:55.860490Z K 7 svn:log V 75 Merge upstream patch to silence spurious "no such identity file" warnings. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-02T11:45:38.706979Z K 7 svn:log V 279 Some cosmetic things: - Unify device to target insertion inside xpt_alloc_device() instead of duplicating it three times. - Remove extra checks for empty lists of devices and targets on release since zero refcount check also implies it. - Reformat code to reduce indentation. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-02T11:48:06.691379Z K 7 svn:log V 14 MFC @ r249017 END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-02T12:22:44.293100Z K 7 svn:log V 24 Fix comment formatting. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2013-04-02T12:40:01.152465Z K 7 svn:log V 187 Remove obsolete references to sysinstall. This change is not intended for MFC. PR: docs/177570 Submitted by: Garrett Cooper (partial) Approved by: bcr (mentor) END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-04-02T13:42:20.012279Z K 7 svn:log V 119 Add CMAC and HMAC to the build, fix a couple of typos and comment out some TCP-AO glue for an upcoming sync from HEAD. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-02T13:52:09.790689Z K 7 svn:log V 95 - Remove extra $FreeBSD$ - Touch options headers to make module buildable. Reviewed by: trasz END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-04-02T14:10:22.737610Z K 7 svn:log V 328 Oops, r240972 (Add DEBUG kernel distribution) forgot to make said distribution optional (such as the long-standing "local" distribution; also optional). This fixes a regression in the install process when the user selects "All" as the distribution-set. This is a direct commit to stable/8. PR: bin/177309 Reviewed by: eadler END K 10 svn:author V 5 andre K 8 svn:date V 27 2013-04-02T14:27:44.550917Z K 7 svn:log V 30 Integrate from HEAD @r294922. END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-02T16:49:49.497183Z K 7 svn:log V 150 Add support for XPT_CONT_TARGET_IO CCBs in _bus_dmamap_load_ccb(). Declare CCB types in their respective switch blocks. Sponsored by: Spectra Logic END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-02T16:50:50.367193Z K 7 svn:log V 262 Don't directly dereference userland pointer; instead use kernel pointer copied in from userspace. This fixes instant panic when creating CTL LUN on sparc64. Not a security problem, since the API is root-only. Reviewed by: ken Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-04-02T17:11:07.819460Z K 7 svn:log V 378 MFS8 r249023: Oops, r240972 (Add DEBUG kernel distribution) forgot to make said distribution optional (such as the long-standing "local" distribution; also optional). This fixes a regression in the install process when the user selects "All" as the distribution-set. This is a direct commit to stable/8. PR: bin/177309 Reviewed by: eadler Approved by: re (glebius) END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-02T17:29:17.393297Z K 7 svn:log V 108 Fix sending virtual scatter/gather lists from the CTL CAM frontend peripheral. Sponsored by: Spectra Logic END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-02T17:34:42.234208Z K 7 svn:log V 237 Fix OpenSSL multiple vulnerabilities. [13:03] Fix BIND remote denial of service. [13:04] Security: CVE-2013-0166, CVE-2013-0169 Security: FreeBSD-SA-13:03.openssl Security: CVE-2013-2266 Security: FreeBSD-SA-13:04.bind Approved by: so END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-02T19:07:11.058233Z K 7 svn:log V 36 Remove two no longer needed checks. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2013-04-02T19:33:35.501508Z K 7 svn:log V 459 When r241373 was merged, one file appears to have been missed from the commit. Merge it: Remove undefined behavior from sranddev() and srandomdev(). This doesn't actually work with any modern C compiler: In particular, both clang and modern gcc verisons silently elide any xor operation with 'junk'. No mergeinfo changes with this commit as r241475 already updated the mergeinfo. Approved by: re (jpaetzel) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-02T19:39:31.522126Z K 7 svn:log V 149 Do not declare that preloaded md(4) supports unmapped bio requests, it does not. Reported by: Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-04-02T21:31:11.421119Z K 7 svn:log V 25 Update to bmake-20130330 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-04-02T21:34:38.943835Z K 7 svn:log V 282 sh: Write as much into the heredoc pipe as possible, to avoid forking. Use non-blocking I/O to write as much as the pipe will accept (often 64K, but it can be as little as 4K), avoiding the need for the ugly PIPESIZE constant. If PIPESIZE was set too high, a deadlock would occur. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-02T23:41:20.838665Z K 7 svn:log V 186 Replace access to /dev/random with the kernel pseudo-random number source sysctl(KERN_ARND) and remove the fallback code. Obtained from: OpenBSD Reviewed by: secteam MFC after: 1 month END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2013-04-03T01:27:15.962666Z K 7 svn:log V 100 Comment out the VIMAGE since we need to build both LINTS to get good coverage. Pointed out by: jhb END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-03T06:29:26.208476Z K 7 svn:log V 99 SVM related MSR registers and bitfield definitions. Submitted by: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-04-03T06:37:25.110949Z K 7 svn:log V 419 Replace the remaining uses of vm_radix_node_page() by vm_radix_isleaf() and vm_radix_topage(). This transformation eliminates some unnecessary conditional branches from the inner loops of vm_radix_insert(), vm_radix_lookup{,_ge,_le}(), and vm_radix_remove(). Simplify the control flow of vm_radix_lookup_{ge,le}(). Reviewed by: attilio (an earlier version) Tested by: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-04-03T06:45:21.528831Z K 7 svn:log V 82 Add new USB ID. MFC after: 1 week Submitted by: Bruce Simpson END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-03T06:48:47.025186Z K 7 svn:log V 260 MFC r248802: Similar to r239870 and r239872, teach the other binutils tools about the DW_FORM_flag_present dwarf attribute, so they do not print errors or warnings on files that contain it. (This attribute can be emitted by newer versions of clang and gcc.) END K 10 svn:author V 8 dumbbell K 8 svn:date V 27 2013-04-03T08:27:35.148173Z K 7 svn:log V 235 drm and i915: Left-shift iic_msg.slave at creation time This is required because, in the radeon driver, we can't left-shift in a central place, like it was done in the i915 driver. Reviewed by: kib@, kan@, avg@ Tested by: kib@, avg@ END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-03T09:52:30.284636Z K 7 svn:log V 178 Fix possible pool hold leak in dmu_send_impl() Problem reported to vendor: https://www.illumos.org/issues/3645 Reported by: Andriy Gapon MFC after: 15 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-04-03T10:31:13.397508Z K 7 svn:log V 54 Add missing ifdef's for reduced feature compilations. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-03T10:37:26.301688Z K 7 svn:log V 165 o Add counter_enter(), counter_exit(), counter_u64_add_protected(). o Remove counter_u64_subtract() and change argument type to int64_t. Discussed with: luigi, kib END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-03T10:49:05.098479Z K 7 svn:log V 71 Document recent changes and improve wording[1]. Submitted by: bde [1] END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-03T11:00:50.334789Z K 7 svn:log V 44 MFH (r246358): load pfsync.ko if necessary. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-04-03T11:06:26.692957Z K 7 svn:log V 518 spa_open_common: fix argument to zvol_create_minors Prior to r248571 spa_open was always called with a bare pool name, but now it is called with a dataset name instead (spa_lookup handles that). So, when a ZFS root is mounted spa_open is called with a name of a root dataset, which can very well be different from the pool name. But zvol_create_minors should be called with the pool name, because it performs a recursive traversal of all datasets under the name to find all those that are volumes. MFC after: 7 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-03T11:30:18.004168Z K 7 svn:log V 150 Add xpt_release_ccb()'s missed at r248872. That made `shutdown -p` stuck on controller with small number of queue slots and several disks connected. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-03T11:51:11.811539Z K 7 svn:log V 70 MFH (r247270, r247271): allow starting rtadvd without any interfaces. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-03T12:17:35.896643Z K 7 svn:log V 61 MFH (r247810): correctly parse mixed quoted / unquoted text. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-03T12:20:08.711968Z K 7 svn:log V 54 MFH (r247285): always bootstrap liby along with yacc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-03T14:10:37.720808Z K 7 svn:log V 82 Add some more ATA_CAM ifdefs. Submitted by: marius (partially) MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-03T15:34:25.172464Z K 7 svn:log V 101 MFC r248562: Move the vn_start_write() call in the dounmount() before setting the MNTK_UNMOUNT flag. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-03T15:38:44.555091Z K 7 svn:log V 94 MFC r248563: Increment the write ref counter for the buffer object before calling bundirty(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-03T15:57:18.025665Z K 7 svn:log V 101 MFC r248562: Move the vn_start_write() call in the dounmount() before setting the MNTK_UNMOUNT flag. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-03T16:02:01.741978Z K 7 svn:log V 94 MFC r248563: Increment the write ref counter for the buffer object before calling bundirty(). END K 10 svn:author V 3 sjg K 8 svn:date V 27 2013-04-03T16:20:21.992162Z K 7 svn:log V 99 Tell bmake to use the FreeBSD preferred makefile preference list. PR: 177593 Reviewed by: obrien END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-03T16:26:58.340713Z K 7 svn:log V 260 MFC r248802: Similar to r239870 and r239872, teach the other binutils tools about the DW_FORM_flag_present dwarf attribute, so they do not print errors or warnings on files that contain it. (This attribute can be emitted by newer versions of clang and gcc.) END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-04-03T16:31:30.450531Z K 7 svn:log V 260 MFC r248802: Similar to r239870 and r239872, teach the other binutils tools about the DW_FORM_flag_present dwarf attribute, so they do not print errors or warnings on files that contain it. (This attribute can be emitted by newer versions of clang and gcc.) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-03T16:55:33.772919Z K 7 svn:log V 14 Match reality END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-03T17:19:26.826163Z K 7 svn:log V 44 Remove zero sized array. Submitted by: kib END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-03T18:30:09.031324Z K 7 svn:log V 353 Since ATA_CAM mode has no implemented support for serializing access to the different ATA channels, required for acard and pc98 ATA controllers, block access to second channels of both, hoping that one working channel is better then none. I have an idea how that support could be implemented, but I have no hardware to work on that. MFC after: 1 week END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-04-03T19:19:45.671177Z K 7 svn:log V 354 IFP4 change 222074. Introduce an explicit close of the output descriptor so that work done on close is accounted for in the summary output triggered at exit (implicit close()s occur after atexit() hooks). This is useful because some devices such as cfi(4) may perform signficant work after a close occurs (e.g. erasing and rewriting a block of flash). END K 10 svn:author V 8 mckusick K 8 svn:date V 27 2013-04-03T19:26:32.238781Z K 7 svn:log V 579 The code in clear_remove() and clear_inodedeps() skips one entry in the pagedep and inodedep hash tables. An entry in the table is skipped because 'pagedep_hash' and 'inodedep_hash' hold the size of the hash tables - 1. The chance that this would have any operational failure is extremely unlikely. These funtions only need to find a single entry and are only called when there are too many entries. The chance that they would fail because all the entries are on the single skipped hash chain are remote. Submitted by: Pedro Martelletto Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-03T20:26:52.867055Z K 7 svn:log V 157 Fix locking problem in ctl_maintenance_in() - one cannot use M_WAITOK or call ctl_done() with mutex held. Reviewed by: ken Sponsored by: FreeBSD Foundation END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-04-03T20:31:10.926573Z K 7 svn:log V 122 Check for SS_NBIO in the socket state field rather than socket buffer flags. Submitted by: Vijay Singh MFC after: 1 week END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2013-04-03T20:52:17.211295Z K 7 svn:log V 30 Fix typo (devicde -> device). END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-03T21:15:21.950278Z K 7 svn:log V 797 The current ZFS version in 8-STABLE supports feature flags, which enables many new features but makes it impossible to import pools created on earlier released FreeBSD 9.x releases, including 9.0 and 9.1-RELEASE, where the feature flags are not yet supported because they predates the merge (r243674), and 9.2-RELEASE will not be released before 8.4-RELEASE. To avoid surprises when users "upgrade" to 9.1-RELEASE, limit the creation version to 28 by default on stable/8. The user will still be able to upgrade the pool by using "zpool upgrade" or at create time by explicitly specifying "zpool create -o version=5000". This is a direct commit to stable/8 because it's not applicable to -HEAD, and can be reverted once 9.2-RELEASE is released. Requested by: re (jpaetzel, hrs) Reviewed by: mm END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-03T21:34:35.005319Z K 7 svn:log V 181 Trailing whitespace cleanup along with 80 column enforcemnt. Submitted by: hiren.panchasara@gmail.com Reviewed by: sbruno@freebsd.org Obtained from: Yahoo! Inc. MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-03T21:55:19.764905Z K 7 svn:log V 251 Update man page for igb(4) with a little bit of information about hw.igb.num_queues for those so inclined. PR: kern/177384 Submitted by: hiren.panchasara@gmail.com Reviewed by: sbruno@ Approved by: jfv@ Obtained from: Yahoo! Inc. MFC after: 2 weeks END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-04-03T22:24:36.298845Z K 7 svn:log V 226 MFP4 change 210763 Allow boothowto and bootverbose to be set via kernel options, which is useful on architectures that are unable to rely on a boot loader to pass configuration variables to the kernel. Submitted by: rwatson END K 10 svn:author V 6 brooks K 8 svn:date V 27 2013-04-03T22:37:40.754254Z K 7 svn:log V 82 MFP4 change 217313 and part of 222068: Add a simple nexus attachment for cfi(4). END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-03T23:11:15.406716Z K 7 svn:log V 426 Resolve kernel panic that occurs on callback from sysctl when setting hw.ciss.expose_hidden_physical=1 on a HP ProLiant DL360 G6 (and possibly others) due to mishandling of error value in acpica on stable/7 Note that this is a direct commit as this code has been fixed in stable/8 (8.4 included) and higher release for quite some time. PR: kern/152250 Submitted by: Loic Pefferkorn Reviewed by: avg@ END K 10 svn:author V 3 jfv K 8 svn:date V 27 2013-04-03T23:39:54.242150Z K 7 svn:log V 242 Correct the multicast handling in the E1000 drivers as was done in ixgbe, thanks to Mike Karels for this fix. When exiting promiscuous mode MPE bit was being unconditionally cleared, this should not be done if we are in MAX multicast groups. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-04T05:04:48.450009Z K 7 svn:log V 52 MFC r248968: Record the correct error in the trace. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-04T05:16:14.067992Z K 7 svn:log V 52 MFC r248968: Record the correct error in the trace. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-04T05:20:52.151660Z K 7 svn:log V 69 MFC r248967: Strip the unnneeded spaces, mostly at the end of lines. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-04T05:26:22.552945Z K 7 svn:log V 339 MFC r248567: Do not call vnode_pager_setsize() while a NFS node mutex is locked. vnode_pager_setsize() might sleep waiting for the page after EOF be unbusied. Call vnode_pager_setsize() both for the regular and directory vnodes. MFC r248581: Initialize the variable to avoid (false) compiler warning about use of an uninitialized local. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-04T05:29:37.645690Z K 7 svn:log V 126 MFC r248815: Release the v_writecount reference on the vnode in case of error, before the vnode is vput() in vm_mmap_vnode(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-04T05:36:11.049697Z K 7 svn:log V 82 MFC r247832: Import the likely() compat macro. MFC r247838: Correct the r247832. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-04T05:39:37.981092Z K 7 svn:log V 55 MFC r247833: Import the drm_mm_debug_table() function. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-04T05:47:50.254570Z K 7 svn:log V 119 MFC r247834: Import the drm_global references helpers. MFC r247839 (by dumbbell): Destroy sx in drm_global_release(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T07:12:24.249832Z K 7 svn:log V 355 Remove all legacy ATA code parts, not used since options ATA_CAM enabled in most kernels before FreeBSD 9.0. Remove such modules and respective kernel options: atadisk, ataraid, atapicd, atapifd, atapist, atapicam. Remove the atacontrol utility and some man pages. Remove useless now options ATA_CAM. No objections: current@, stable@ MFC after: never END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T07:57:32.367940Z K 7 svn:log V 47 Remove obsolete files of the legacy ATA stack. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-04T08:21:56.489825Z K 7 svn:log V 1908 Fix the busdma logic to work with EDMA chipsets when using bounce buffers (ie, >4GB on amd64.) The underlying problem was that PREREAD doesn't sync the mbuf with the DMA memory (ie, bounce buffer), so the bounce buffer may have had stale information. Thus it was always considering the buffer completed and things just went off the rails. This change does the following: * Make ath_rx_pkt() always consume the mbuf somehow; it no longer passes error mbufs (eg CRC errors, crypt errors, etc) back up to the RX path to recycle. This means that a new mbuf is always allocated each time, but it's cleaner. * Push the RX buffer map/unmap to occur in the RX path, not ath_rx_pkt(). Thus, ath_rx_pkt() now assumes (a) it has to consume the mbuf somehow, and (b) that it's already been unmapped and synced. * For the legacy path, the descriptor isn't mapped, it comes out of coherent, DMA memory anyway. So leave it there. * For the EDMA path, the RX descriptor has to be cleared before its passed to the hardware, so that when we check with a POSTREAD sync, we actually get either a blank (not finished) or a filled out descriptor (finished.) Otherwise we get stale data in the DMA memory. * .. so, for EDMA RX path, we need PREREAD|PREWRITE to sync the data -> DMA memory, then POSTREAD|POSTWRITE to finish syncing the DMA memory -> data. * Whilst we're here, make sure that in EDMA buffer setup (ie, bzero'ing the descriptor part) is done before the mbuf is map/synched. NOTE: there's been a lot of commits besides this one with regards to tidying up the busdma handling in ath(4). Please check the recent commit history. Discussed with and thanks to: scottl Tested: * AR5416 (non-EDMA) on i386, with the DMA tag for the driver set to 2^^30, not 2^^32, STA * AR9580 (EDMA) on i386, as above, STA * User - tested AR9380 on amd64 with 32GB RAM. PR: kern/177530 END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-04T08:30:04.111986Z K 7 svn:log V 30 Remove atapicam(4) reference. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-04T08:45:37.500983Z K 7 svn:log V 51 Remove references to ataraid(4) and atacontrol(8). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-04T08:57:29.570806Z K 7 svn:log V 17 Update comments! END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T09:15:19.855964Z K 7 svn:log V 169 Check status of ahci_em_reset() on attach and abort if reset failed. For now it is just a hypothetical case. Submitted by: Dmitry Luhtionov END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T09:21:24.608213Z K 7 svn:log V 64 Remove usr.sbin/burncd, useless after legacy ATA stack removal. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T10:19:05.993520Z K 7 svn:log V 94 Use xpt_lock_buses() instead of equivalent mtx_lock(&xsoftc.xpt_topo_lock) to unify the code. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-04T10:26:09.180104Z K 7 svn:log V 38 Minor rewording. Discussed with: mav END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-04T10:46:33.723182Z K 7 svn:log V 541 Implement AR933x polled IO uart bus code. This implements the bus transmit/receive/sigchg/ipend methods with a polled interrupt handler (ipend) rather than enabling hardware interrupts. The FIFO is faked at 16 bytes deep for now, just so the transmit IO side doesn't suck too bad (the callout frequency limits how quickly IO is flushed to the sender, rather than scheduling the callout more frequently whilst there's active TX. But I digress.) Tested: * Atheros AP121 (AR9330) reference board, booting to multi-user interactive mode. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T12:03:30.694023Z K 7 svn:log V 103 Remove some more references to legacy ATA. Submitted by: Dmitry Luhtionov END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T15:03:12.126538Z K 7 svn:log V 75 Remove periodic script for ataraid(4) and add instead script for graid(8). END K 10 svn:author V 3 gnn K 8 svn:date V 27 2013-04-04T15:16:53.974357Z K 7 svn:log V 100 Improve error handling when unwrapping received data. Submitted by: Rick Macklem MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-04-04T15:40:19.124692Z K 7 svn:log V 193 Remove a comment about devices being able to specify multiple interrupt types. This is no longer the case because interrupt types now have to map to an ithread priority (c.f. intr_priority()). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T16:02:21.746957Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T17:08:49.015175Z K 7 svn:log V 85 Remove xpt_sim_opened(), the only consumer of which was atapicam, which is now gone. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-04T17:10:36.527588Z K 7 svn:log V 529 Per Matthew Ahrens, version 5000 should not be exposed to user and there is a problem with my first revision, namely, specifying -d -o feature@...=enable will still bail out with: 'feature@' and 'version' properties cannot be specified together. Because zpool create -o version=5000 will not likely be supported by other ZFS implementations (including ours on -CURRENT and 9-STABLE), remove the hack that make that work. Users who want feature flags support can still do an explicit 'zpool upgrade' after creating a pool. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T17:10:44.733548Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-04T18:00:18.922457Z K 7 svn:log V 213 Since the CTL version in FreeBSD does not support High Availability, ctl_is_single should always be set to 1. Make it so. Previously it was always 0, because ctl_isc_start() never got to run. Suggested by: ken END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T18:42:23.460163Z K 7 svn:log V 233 - Add lock assertions to every point where reference counters are modified. - When reference counters are reaching zero, add assertions that there are no children items left. - Add a bit more locking to the xptpdperiphtraverse(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T18:59:29.517560Z K 7 svn:log V 227 MFprojects/camlock r248928: Move CAM_DEBUG_CDB messages from the point of queuing to the point of sending to SIM. That allows to inspect real requests execution order, respecting priorities, freezing, etc. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T19:04:15.114392Z K 7 svn:log V 125 MFprojects/camlock r248930: Remove extra NULL checks. d_drv1 can never be NULL during periph life cycle. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T19:07:37.998678Z K 7 svn:log V 100 MFprojects/camlock r248931: Replace some direct mutex operations with wrappers. MFC after: 2 weeks END K 10 svn:author V 6 rakuco K 8 svn:date V 27 2013-04-04T19:31:19.213038Z K 7 svn:log V 125 MFC r244704, r244714 and r244715: Add vendor IDs for Broadcom USB dongles (BCM20702). PR: kern/174707 Approved by: glebius END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-04T20:31:40.463475Z K 7 svn:log V 551 MFprojects/camlock: r249017: Some cosmetic things: - Unify device to target insertion inside xpt_alloc_device() instead of duplicating it three times. - Remove extra checks for empty lists of devices and targets on release since zero refcount check also implies it. - Reformat code to reduce indentation. r249103: - Add lock assertions to every point where reference counters are modified. - When reference counters are reaching zero, add assertions that there are no children items left. - Add a bit more locking to the xptpdperiphtraverse(). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-04T21:18:57.715806Z K 7 svn:log V 24 Import ACPICA 20130328. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-04T21:19:39.395322Z K 7 svn:log V 21 Tag ACPICA 20130328. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-04T21:34:22.782559Z K 7 svn:log V 70 Fix a potential memory leak. https://github.com/acpica/acpica/pull/6 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-04T22:11:30.476580Z K 7 svn:log V 23 Merge ACPICA 20130328. END K 10 svn:author V 2 wg K 8 svn:date V 27 2013-04-04T23:11:56.445583Z K 7 svn:log V 150 Add myself as a ports committer and my mentor relationship. While in the repository, add myself to calendar.freebsd. Approved by: jpaetzel (mentor) END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-04T23:14:14.549550Z K 7 svn:log V 415 Further improve previous revision: - enable_all_pool_feat will be unset if version is specified. Use it as a flag instead of testing the props nvlist; - Allow user to use -d -o feature@...=enable to create a v5000 pool when desired. Without this, the implicit -o version=28 would make the utility to complain about feature@ and version being conflict, which is confusing. Reviewed by: Matthew Ahrens END K 10 svn:author V 3 smh K 8 svn:date V 27 2013-04-04T23:19:51.975803Z K 7 svn:log V 240 Adds security options to camcontrol this includes the ability to secure erase disks such as SSD's Adds the ability to run ATA commands via the SCSI ATA Pass-Through(16) comand Reviewed by: mav Approved by: pjd (mentor) MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-04-04T23:36:14.416923Z K 7 svn:log V 502 MFS r249068 [1],249100,249114 [2]: Limit the creation version to 28 by default to avoid surprises when user "upgrade" to 9.1-RELEASE, which predates the merge of feature flags support to stable/9 (r243674) and is the latest stable/9 release at this time. Users who want the new features can still do "zpool upgrade" after pool creation, or by explicitly specifying feature flags and/or disabling all feature flags at creation time. Reviewed by: mm [1], Matthew Ahrens [2] Approved by: re (jpaetzel) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T00:21:17.316723Z K 7 svn:log V 67 Use geom_uncompress here; we need this to fit in a 4MB flash part. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T00:22:17.507339Z K 7 svn:log V 84 * Add AR9330/AR9331 to the soc identifier enum; * Set it when probing the CPU type. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T00:22:53.840743Z K 7 svn:log V 166 AR9330/AR9331 also needs to ACK the APB interrupt register, same as AR724x. This fixes 'stuck interrupt' problems I was having when writing the uart interrupt code. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T00:26:06.018161Z K 7 svn:log V 707 Implement the AR933x interrupt driven UART code. * Enable RX and host interrupts during bus probe/attach * Disable all interrupts (+ host ISR) during bus detach * Enable TX DONE interrupt only when we start transmitting; clear it when we're done. * The RX/TX FIFO depth is still conjecture on my part. I'll fix this shortly. * The TX FIFO interrupt isn't an "empty" interrupt, it's an "almost empty" interrupt. Sigh. So.. * .. in ar933x_bus_transmit(), wait for the FIFO to drain before continuing. I dislike having to wait for the FIFO to drain, alas. Tested: * Atheros AP121 board, AR9331 SoC. TODO: * RX/TX overflow, RX error, BREAK support, etc. * Figure out the true RX/TX FIFO depth. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T00:26:29.121355Z K 7 svn:log V 65 Now that interrupt driven uart IO is working, flip this back on. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-04-05T00:57:10.829967Z K 7 svn:log V 70 - Update releng/8.4 branch to -RC1 status Approved by: re (jpaetzel) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T01:35:59.911366Z K 7 svn:log V 63 Implement the AR933x ethernet support. Obtained from: OpenWRT END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T01:38:13.884626Z K 7 svn:log V 419 Add AP121 ethernet / switch PHY support. * arge0 is MII * arge1 is GMII * the MDIO bus is on arge1, not arge0 * the default switch config is to have ports 0-3 as the switch group, with port 4 being an external PHY dedicated to arge0 (ie, 'cpu' port.) Whilst I'm here, remove unused bits and pieces from the config. Tested: * AP121, ping on both arge0 and arge1 * Tested switch port detection using etherswitchcfg END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T02:01:05.736994Z K 7 svn:log V 178 Fix AR933x USB support - this needs the same controller initialisation as the AR7242. Tested: * Atheros AP121, AR9331 * ZyDas wifi device, and 64MB (yes, ew) USB flash storage END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T02:02:37.656276Z K 7 svn:log V 78 Implement USB device reset and poweron. Tested: * Atheros AP131, AR9331 SoC END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T02:15:10.274419Z K 7 svn:log V 101 Add the basic GPIO pin mapping to the hints file. Tested: * AP121 board, tested USB/jumpstart LEDs END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-04-05T04:08:03.748589Z K 7 svn:log V 75 Trim old imformation and bump version numbers. Approved by: re (implicit) END K 10 svn:author V 8 jhibbits K 8 svn:date V 27 2013-04-05T04:53:43.860099Z K 7 svn:log V 52 Print out DSISR in a fatal DSI trap. Sponsored by: END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-04-05T06:55:19.914543Z K 7 svn:log V 138 Macros, bitmasks and structs that describe the SVM virtual machine control block aka VMCB. Submitted by: Anish Gupta (akgupt3@gmail.com) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T07:41:47.441571Z K 7 svn:log V 252 HAL additions to enable MCI Bluetooth coexistence in the AR9300 HAL. * Add the rest of the missing GPIO output mux types; * Add in a new debug category; * And a new MCI btcoex configuration option in ath_hal.ah_config Obtained from: Qualcomm Atheros END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T08:22:11.290074Z K 7 svn:log V 153 MFC r227293 (by ed): Mark MALLOC_DEFINEs static that have no corresponding MALLOC_DECLAREs. This means that their use is restricted to a single C file. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T08:46:20.996665Z K 7 svn:log V 109 MFC r234177, r234374 (by trasz): Refactor da(4) to remove one of two code paths used to query capacity data. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T08:51:05.370959Z K 7 svn:log V 154 MFC r237478: Add scsi_extract_sense_ccb() -- wrapper around scsi_extract_sense_len(). It allows to remove number of duplicate checks from several places. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T09:02:04.558523Z K 7 svn:log V 414 MFC r237689 (by imp): Add a sysctl to set the cdrom timeout. Data recovery operations from a CD or DVD drive with a damaged disc often benefit from a shorter timeout. Also, when retries are set to 0, an application is expecting errors and recovering them so do not print the error into the log. The number of expected errors can literally be in the hundreds of thousands which significantly slows data recovery. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-05T09:06:26.107600Z K 7 svn:log V 22 Import unbound 1.4.20 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T09:06:39.702681Z K 7 svn:log V 235 Add a new TX power field - it's inteded to be used where low TX power is configured for higher rates (lower than max) but higher TX power is configured for the lower rates, above the configured cap, to improve long distance behaviour. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-05T09:06:59.499836Z K 7 svn:log V 19 Tag unbound 1.4.20 END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-04-05T09:14:30.923831Z K 7 svn:log V 184 strncmp for boot code: fix an off by one error Before this change strncmp would access and _compare_ n+1 characters in the case where the first n characters match. MFC after: 5 days END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-05T09:43:20.377799Z K 7 svn:log V 39 Minimal subset of the unbound sources. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-04-05T09:51:31.543453Z K 7 svn:log V 19 Upgrade to 1.4.20. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T10:10:39.696980Z K 7 svn:log V 45 MFC r226735 (by pjd): Simplify disk_alloc(). END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T10:13:44.237895Z K 7 svn:log V 34 MFC r226736: Improve style a bit. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T10:22:22.849310Z K 7 svn:log V 151 MFC r226737 (by pjd): Allow upper layers to discover than BIO_DELETE and/or BIO_FLUSH is not supported by returning EOPNOTSUPP instead of 0 or ENODEV. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T10:27:05.796770Z K 7 svn:log V 452 MFC r226998, r227004: Refactor disk disconnection and geom destruction handling sequences. Do not close/destroy opened consumer directly in case of disconnect. Instead keep it existing until it will be closed in regular way in response to upstream provider destruction. Delay geom destruction in the same way. Previous implementation could destroy consumers still having active requests and worked only because of global workaround made on GEOM level. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T10:29:14.899455Z K 7 svn:log V 355 MFC r227015: Add mutex and two flags to make orphan() call properly asynchronous: - delay consumer closing and detaching on orphan() until all I/Os complete; - prevent new I/Os submission after orphan() called. Previous implementation could destroy consumers still having active requests and worked only because of global workaround made on GEOM level. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T10:30:37.400759Z K 7 svn:log V 160 MFC r228204: Close race between geom destruction on g_vfs_close() when softc destroyed and g_vfs_orphan() call that tries to access softc, intruced at r227015. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T10:35:36.096578Z K 7 svn:log V 249 MFC r238198 (by trasz): Fix orphan() methods of several GEOM classes to not assume that there is an error set on the provider. With GEOM resizing, class can become orphaned when it doesn't implement resize() method and the provider size decreases. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T10:50:32.155710Z K 7 svn:log V 643 MFC r240822, r241022 (by pjd): Use the topology lock to protect list of providers while withering them. It is possible that provider is destroyed while we are iterating over the list. Remove the topology lock from disk_gone(), it might be called with regular mutexes held and the topology lock is an sx lock. The topology lock was there to protect traversing through the list of providers of disk's geom, but it seems that disk's geom has always exactly one provider. Change the code to call g_wither_provider() for this one provider, which is safe to do without holding the topology lock and assert that there is indeed only one provider. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T10:57:02.952607Z K 7 svn:log V 194 MFC r244716 (by pjd): Reset provider-specific fields when resending I/O request in low memory conditions. This fixes assertion which checks those fields when kernel is compiled with DIAGNOSTIC. END K 10 svn:author V 6 cherry K 8 svn:date V 27 2013-04-05T11:30:31.638670Z K 7 svn:log V 134 Update Copyright. Make asserts a bit more informative (prints the name of the current function scope) Approved by: gibbs (implicit) END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T11:41:56.291259Z K 7 svn:log V 1470 MFC r238886, r238892: Implement media change notification for DA and CD removable media devices. It includes three parts: 1) Modifications to CAM to detect media media changes and report them to disk(9) layer. For modern SATA (and potentially UAS) devices it utilizes Asynchronous Notification mechanism to receive events from hardware. Active polling with TEST UNIT READY commands with 3 seconds period is used for incapable hardware. After that both CD and DA drivers work the same way, detecting two conditions: "NOT READY: Medium not present" after medium was detected previously, and "UNIT ATTENTION: Not ready to ready change, medium may have changed". First one reported to disk(9) as media removal, second as media insert/change. To reliably receive second event new AC_UNIT_ATTENTION async added to make UAs broadcasted to all periphs by generic error handling code in cam_periph_error(). 2) Modifications to GEOM core to handle media remove and change events. Media removal handled by spoiling all consumers attached to the provider. Media change event also schedules provider retaste after spoiling to probe new media. New flag G_CF_ORPHAN was added to consumers to reflect that consumer is in process of destruction. It allows retaste to create new geom instance of the same class, while previous one is still dying. 3) Modifications to some GEOM classes: DEV -- to report media change events to devd; PART class already handles spoiling alike to orphan. END K 10 svn:author V 4 joel K 8 svn:date V 27 2013-04-05T11:42:28.532781Z K 7 svn:log V 42 mdoc: remove superfluous paragraph macro. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T11:45:52.055382Z K 7 svn:log V 103 MFC r245251 (by smh): Removes essentially unused variables from scsi_da probe setups PR: kern/169835 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T11:48:35.086687Z K 7 svn:log V 395 MFC r245252 (by smh): Updates delete_method sysctl changes to always maintain disk d_flags DISKFLAG_CANDELETE. While this change makes this layer consistent other layers such as UFS and ZFS BIO_DELETE support may not notice any change made manually via these device sysctls until the device is reopened via a mount. Also corrected var order in dadeletemethodsysctl PR: kern/169801 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T11:50:05.266714Z K 7 svn:log V 244 MFC r245253 (by smh): Changed scsi_da device requests to use the sysctl tunable value for retry_count and da_default_timeout where their current hardcoded values matched the current default value for said tunables. PR: kern/169976 END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T11:52:33.414876Z K 7 svn:log V 332 MFC r245306: Do not schedule periph for payload/TUR requests if reprobe is in progress to avoid sending extra READ CAPACITY requests by dastart(). Schedule periph again on reprobe completion, or otherwise it may stuck indefinitely long. This should fix USB explore thread hanging on device unplug, waiting for periph destruction. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T11:53:53.789035Z K 7 svn:log V 236 MFC r245310: - Add missig xpt_schedule() call for cases when requested immediate CCB priority is lower then payload/TUR one. - Reduce TUR priority and avoid sending them if there are any other outstanding commands, alike to DA driver. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T11:55:52.620656Z K 7 svn:log V 295 MFC r247154: Add DA_Q_NO_PREVENT quirk for Kingston DataTraveler G3 1.00 USB flash. PREVENT ALLOW MEDIUM REMOVAL commands return errors on these devices without returning sense data. In some cases unrelated following commands start to return errors too, that makes device to be dropped by CAM. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T11:57:41.448917Z K 7 svn:log V 204 MFC r247161: Hide SEMB port of the SiI3826 Port Multiplier by default to avoid extra errors while it tries to talk via I2C to usually missing external SEP. There is tunable to enable it back when needed. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T13:11:28.759894Z K 7 svn:log V 154 Following r241022, replace iteration over the provider list on media events by taking first one and asserting that there is no others. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-04-05T13:19:30.359223Z K 7 svn:log V 14 MFC @ r249161 END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-04-05T14:30:51.434313Z K 7 svn:log V 283 If filter of the interrupt event is not null, print it, in addition to the handler address. Add a mark to distinguish between filter and handler. Note that the arguments for both filter and handler are same. Sponsored by: The FreeBSD Foundation Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-04-05T15:56:33.642372Z K 7 svn:log V 28 Add the Sponsored by: line. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2013-04-05T16:04:31.085505Z K 7 svn:log V 13 Test commit. END K 10 svn:author V 3 gnn K 8 svn:date V 27 2013-04-05T18:09:43.350457Z K 7 svn:log V 124 Correct the returned message lengths for timeval and bintime control messages (SO_BINTIME, SO_TIMEVAL). Obtained from: phk END K 10 svn:author V 3 ken K 8 svn:date V 27 2013-04-05T19:33:31.935011Z K 7 svn:log V 2336 MFC r244052 and r245288: r244052 | ken | 2012-12-09 12:53:21 -0700 (Sun, 09 Dec 2012) | 20 lines Fix a couple of CTL locking issues and clean up some duplicated code. ctl_frontend_cam_sim.c: Coalesce cfcs_online() and cfcs_offline() into a single function since these were identical except for one line. Make sure we hold the SIM lock around path creation, and calling xpt_rescan(). scsi_ctl.c: In ctlfe_onoffline(), make sure we hold the SIM lock around path creation and free calls, as well as xpt_action(). In ctlfe_lun_enable(), hold the SIM lock around path and peripheral operations that require it. Sponsored by: Spectra Logic Corporation MFC after: 1 week ------------------------------------------------------------------------ r245228 | ken | 2013-01-09 10:02:08 -0700 (Wed, 09 Jan 2013) | 43 lines Make CTL work a little better with loading and unloading drivers. Previously CTL would leave individual LUNs enabled in the target driver, whether or not the port as a whole was enabled. It would also leave the wildcard LUN enabled indefinitely. This change means that CTL will enable and disable any active LUNs, as well as the wildcard LUN, when enabling and disabling a port. Also, fix a bug that could crop up due to an uninitialized CCB type. ctl.c: Before calling ctl_frontend_online(), run through the LUN list and enable all active LUNs. After calling ctl_frontend_offline(), run through the LUN list and disble all active LUNs. scsi_ctl.c: Before bringing a port online, allocate the wildcard peripheral for that bus. And after taking a port offline, invalidate the wildcard peripheral for that bus. Make sure that we hold the SIM lock around all calls to xpt_action() and other transport layer interfaces that require it. Use CAM_SIM_{LOCK|UNLOCK} consistently to acquire and release the SIM lock. Update a number of outdated comments. Some of these should have been fixed long ago. Actually do LUN disbables now. The newer drivers in the tree work correctly for this as far as I know. Initialize the CCB type to CTLFE_CCB_DEFAULT to avoid a panic due to uninitialized memory. Submitted by: Chuck Tuffli (partially) MFC after: 1 week END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-05T20:24:51.188705Z K 7 svn:log V 49 Fix memory leak in coredump(). Reviewed by: kib END K 10 svn:author V 3 gjb K 8 svn:date V 27 2013-04-05T20:41:46.323448Z K 7 svn:log V 282 Document that, although ZFS pool feature flags are available, 8.4-RC1 and later ZFS pool version defaults to version 28 to prevent problems with upgrading to FreeBSD 9.1-RELEASE. Feature flags can be enabled by explicitly running: zpool upgrade Approved by: re (delphij) END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-04-05T21:13:39.587229Z K 7 svn:log V 312 Notify CAM on state* change to a logical volume not status. This resolves the issues reported regarding camcontrol devlist not showing the rebuild states of volumes unless an explicit camcontrol rescan was executed. PR: kern/171650 Reviewed by: scottl@freebsd.org Obtained from: Yahoo! Inc. MFC after: 2 weeks END K 10 svn:author V 7 antoine K 8 svn:date V 27 2013-04-05T21:17:37.110660Z K 7 svn:log V 62 Add myself as a ports committer Approved by: eadler (mentor) END K 10 svn:author V 4 rene K 8 svn:date V 27 2013-04-05T21:18:01.035816Z K 7 svn:log V 52 Fix a typo in the burncd line. Approved by: cognet END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-04-05T22:14:07.922413Z K 7 svn:log V 148 config checksum is over the entire fixed portion, not just the config header. FreeBSD doesn't check this but other o/s's do. Obtained from: NetApp END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-04-05T22:16:31.521234Z K 7 svn:log V 81 Don't panic when a valid divisor of 1 has been requested. Obtained from: NetApp END K 10 svn:author V 6 grehan K 8 svn:date V 27 2013-04-05T22:19:02.290577Z K 7 svn:log V 55 Remove dangling ISA uart stubs. Obtained from: NetApp END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-04-05T23:35:23.767253Z K 7 svn:log V 125 Add the hw.floatingpoint sysctl to ARM to tell us if we have vfp support in the kernel and the hardware includes a vfp unit. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2013-04-05T23:41:34.093003Z K 7 svn:log V 69 Fix declaration vs. definition inconsistency. No functional change. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T23:41:38.982543Z K 7 svn:log V 220 Add blacklist entries for Atheros bluetooth device IDs that are known to need firmware before they will re-attach as correctly functioning bluetooth devices. Reviewed by: maksim Obtained from: Linux ath3k device driver END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-04-05T23:42:22.054334Z K 7 svn:log V 194 Extend ath3kfw to include overridable device / vendor IDs. This is required for ar3k series bluetooth devices who need firmware but have a different vendor ID than normal. Reviewed by: maksim END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-04-06T00:47:33.584633Z K 7 svn:log V 53 Hide non-assembler bits behind #ifndef __ASSEMBLER__ END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2013-04-06T03:31:28.765425Z K 7 svn:log V 68 Properly clean "spurious interrupt" state Suggested by: Ian Lepore END K 10 svn:author V 3 alc K 8 svn:date V 27 2013-04-06T06:02:55.115603Z K 7 svn:log V 109 Simplify vm_radix_insert(). Reviewed by: attilio Tested by: pho Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-06T07:10:54.330187Z K 7 svn:log V 28 Wording. Submitted by: bde END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-06T07:14:50.709936Z K 7 svn:log V 36 Merge head r243428 through r249183. END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-06T07:43:50.091411Z K 7 svn:log V 133 Update vendor/illumos/dist to illumos-gate 13991:53e4f9da98a1 Illumos ZFS issues: 3641 want a histogram of compressed block sizes END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-06T08:02:10.656792Z K 7 svn:log V 174 Update vendor-sys/illumos/dist to illumos-gate 13992:313c3db67359 Illumos ZFS issues: 3639 zpool.cache should skip over readonly pools 3640 want automatic devid updates END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-06T08:06:25.939006Z K 7 svn:log V 195 Update vendor/illumos/dist to illumos-gate 14004:dd91fed709a7 Illumos DTrace issues: 3675 DTrace print() should try to resolve function pointers 3676 dt_print_enum hardcodes a value of zero END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-04-06T08:21:37.386393Z K 7 svn:log V 170 MFV r242816: Import vendor change to reduce diff, no effect on FreeBSD. Illumos ZFS issues: 3517 importing pool with autoreplace=on and "hole" vdevs crashes syseventd END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-06T08:23:38.100353Z K 7 svn:log V 87 Move CRITICAL_ASSERT() macro to systm.h, where the critical(9) functions are declared. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-06T08:36:26.165582Z K 7 svn:log V 36 Merge head r243428 through r249189. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-06T08:49:44.829638Z K 7 svn:log V 37 Pass curthread to CRITICAL_ASSERT(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-04-06T09:57:27.893684Z K 7 svn:log V 62 Add dirty namespace pollution to make CRITICAL_ASSERT() work. END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-06T10:32:06.813993Z K 7 svn:log V 142 Make it possible to submit FLUSH bios through geom_dev strategy. This is required for CTL to work with device-backed LUNs. Reviewed by: mav END K 10 svn:author V 5 trasz K 8 svn:date V 27 2013-04-06T10:34:02.696968Z K 7 svn:log V 205 Make SYNCHRONIZE CACHE work with LUNs backed by device files (as opposed to regular files, which already worked fine). With this change, it's no longer neccessary to use "ctladm realsync off" workaround. END