ıA241505 187 178 506 234 154 207 260 139 453 125 125 126 370 166 315 1078 218 234 223 792 164 164 124 121 165 165 142 142 168 168 152 152 583 255 214 121 371 158 251 122 258 122 191 267 164 152 148 282 253 248 143 381 623 157 1712 2584 217 398 125 216 130 270 192 674 817 223 619 619 336 810 672 346 738 246 347 220 289 245 185 115 115 115 115 115 446 218 407 621 434 475 127 166 247 204 273 154 459 447 207 140 214 117 218 213 216 229 353 159 125 238 244 244 639 340 156 203 263 206 206 202 202 491 130 107 686 572 162 162 163 163 156 156 659 167 167 169 150 165 245 211 171 223 274 215 271 193 194 182 150 239 122 453 159 197 607 450 303 496 173 260 234 440 251 251 251 257 257 257 150 170 337 288 134 143 141 550 548 653 151 130 327 144 208 141 200 121 653 115 K 10 svn:author V 3 dim K 8 svn:date V 27 2012-10-13T12:56:04.753306Z K 7 svn:log V 86 MFC r241427: Pull in r163710 from upstream llvm trunk: Add support for AMD Geode. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-10-13T13:00:51.270673Z K 7 svn:log V 413 MFC r241430: Pull in r164132 from upstream llvm trunk: When creating MCAsmBackend pass the CPU string as well. In X86AsmBackend store this and use it to not emit long nops when the CPU is geode which doesnt support them. Fixes PR11212. Pull in r164133 from upstream clang trunk: Follow up on llvm r164132. This should prevent illegal instructions when building world on Geode CPUs (e.g. Soekris). END K 10 svn:author V 3 ume K 8 svn:date V 27 2012-10-13T14:45:42.546041Z K 7 svn:log V 141 Make a command for pkg_info changeable like pkg_version in /etc/periodic/weekly/400.status-pkg to be friendly with pkgng. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-13T17:55:06.963969Z K 7 svn:log V 62 Extend SIM lock coverage during the bus registration process. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-13T18:11:50.532449Z K 7 svn:log V 114 Use xpt_create_path_unlocked() for initial debug path compilation because we are not holding respective SIM lock. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-13T18:24:52.793160Z K 7 svn:log V 167 Don't exclude XPT SIM from locking in xpt_create_path_unlocked(). We don't want xpt periph, device, target or bus disappeared because of incorrect reference counting. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-10-13T18:40:39.005016Z K 7 svn:log V 45 - Remove GNU sort and the WITH_GNU_SORT knob END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-10-13T18:46:46.735087Z K 7 svn:log V 360 Eliminate the conditional for releasing the page queues lock in vm_page_sleep(). vm_page_sleep() is no longer called with this lock held. Eliminate assertions that the page queues lock is NOT held. These assertions won't translate well to having distinct locks on the active and inactive page queues, and they really aren't that useful. MFC after: 3 weeks END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-10-13T19:29:07.944055Z K 7 svn:log V 31 - Remove WITH_GNU_SORT support END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-10-13T19:29:38.013922Z K 7 svn:log V 31 - Regen after GNU sort removal END K 10 svn:author V 5 gabor K 8 svn:date V 27 2012-10-13T19:37:58.599943Z K 7 svn:log V 32 - Fix typo Spotted by: glebius END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-10-13T19:53:11.324287Z K 7 svn:log V 275 * Update the comment that explains the choice of values in the table and the requirement on trailing zero bits. * Remove the __aligned() compiler directives as these were found to have a negative effect on the produced code. Submitted by: bde Approved by: das (mentor) END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-10-13T20:19:43.013062Z K 7 svn:log V 74 Move vm_page_requeue() to the only file that uses it. MFC after: 3 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-10-13T22:22:53.698431Z K 7 svn:log V 222 MFC r241353, r241356, r241400 To avoid page table page corruption, change pmap_pv_reclaim()'s method of mapping page table pages. Add some assertions that were helpful in debugging the page table page corruption. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-13T23:54:26.447481Z K 7 svn:log V 981 Import a FreeBSD port of the FUSE Linux module. This has been developed during 2 summer of code mandates and being revived by gnn recently. The functionality in this commit mirrors entirely content of fusefs-kmod port, which doesn't need to be installed anymore for -CURRENT setups. In order to get some sparse technical notes, please refer to: http://lists.freebsd.org/pipermail/freebsd-fs/2012-March/013876.html or to the project branch: svn://svn.freebsd.org/base/projects/fuse/ which also contains granular history of changes happened during port refinements. This commit does not came from the branch reintegration itself because it seems svn is not behaving properly for this functionaly at the moment. Partly Sponsored by: Google, Summer of Code program 2005, 2011 Originally submitted by: ilya, Csaba Henk In collabouration with: pho Tested by: flo, gnn, Gustau Perez, Kevin Oberman MFC after: 2 months END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-10-14T03:40:08.865981Z K 7 svn:log V 125 Correct an error in pmap_pv_reclaim(). It can legitimately encounter wired mappings. If it does, it should just skip them. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-14T03:51:59.063012Z K 7 svn:log V 137 Rename s/DEBUG()/FS_DEBUG() and s/DEBUG2G()/FS_DEBUG2G() in order to avoid a name clash in sparc64. MFC after: 2 months X-MFC: r241519 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-14T03:59:17.089816Z K 7 svn:log V 126 getopt_long() returns an int. Use the return value accordingly. Pointy hat to: me MFC after: 2 months X-MFC: r241519,241521 END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-10-14T06:52:49.787876Z K 7 svn:log V 696 Since the introduction of the new advanced boot menu (r222417), options like "boot verbose", "single user mode", "ACPI" and more are now stateful boolean menuitems rather than direct action-items. A short-coming in this new menu system is that when a user sets a non-default value in loader.conf(5), this non-default state is not reflected in the menu -- leading to confusion as to whether the option was taking effect or not. This patch adds dynamic menuitem constructors _and_ the necessary Forth callbacks to initialize these stateful menuitems -- causing the aforementioned menuitems to adhere to loader.conf(5) settings. PR: bin/172529 Approved by: adrian (co-mentor) MFC after: 21 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:17:55.141217Z K 7 svn:log V 72 MFC r240634: acpi_cpu: explicitly notify userland about c-state changes END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:18:32.193376Z K 7 svn:log V 72 MFC r240634: acpi_cpu: explicitly notify userland about c-state changes END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-10-14T07:19:42.159741Z K 7 svn:log V 31 Minor mdoc and language fixes. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-10-14T07:22:56.295842Z K 7 svn:log V 28 Remove trailing whitespace. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:28:21.278537Z K 7 svn:log V 73 MFC r240339: openssl: change SHLIB_VERSION_NUMBER to reflect the reality END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:28:42.974330Z K 7 svn:log V 73 MFC r240339: openssl: change SHLIB_VERSION_NUMBER to reflect the reality END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:45:40.520471Z K 7 svn:log V 50 MFC r241290: boot/zfs: a small whitespace cleanup END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:45:46.781797Z K 7 svn:log V 50 MFC r241290: boot/zfs: a small whitespace cleanup END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:52:25.692448Z K 7 svn:log V 76 MFC r241282: zfs boot: chose a "first" pool if none is explicitly requested END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:52:38.372671Z K 7 svn:log V 76 MFC r241282: zfs boot: chose a "first" pool if none is explicitly requested END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:54:54.473484Z K 7 svn:log V 60 MFC r241302: kvm_proclist: ignore processes in larvae state END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T07:55:14.478381Z K 7 svn:log V 60 MFC r241302: kvm_proclist: ignore processes in larvae state END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-10-14T08:50:05.413417Z K 7 svn:log V 490 Add explicit check for not set time inside cam_periph_freeze_after_event(). System time is set later on boot process then initial bus scan by CAM. Until that moment microtime() is equal to microuptime(), and if system boots quickly, the value can be close to zero. That causes settle time waiting even for buses that don't use reset during probe. On my test system this reduces boot time by 1 second if USB enabled, or by 4 seconds if USB disabled. CAM waited for ctl2cam0 bus "settle". END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T09:31:11.526605Z K 7 svn:log V 162 acpi_wmi: move wmi_info_list into sc different instances of acpi_wmi couldn't properly share it and, in fact, there was no reason to do that MFC after: 10 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T09:32:38.785882Z K 7 svn:log V 121 acpi_thermal: when _ACx is tripped, all _ALi i>= x should be on ... and not just _ALx as it is now. MFC after: 20 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-10-14T10:12:32.668396Z K 7 svn:log V 28 Remove cvs/cvsup reference. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-14T10:13:50.781047Z K 7 svn:log V 278 pciereg_cfg*: use assembly to access the mem-mapped cfg space AMD BKDG for CPU families 10h and later requires that the memory mapped config is always read into or written from al/ax/eax register. Discussed with: kib, alc Reviewed by: kib (earlier version) MFC after: 25 days END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-10-14T10:26:29.292322Z K 7 svn:log V 65 Minor mdoc improvements. Also remove unnecessary csup reference. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-14T13:41:42.282472Z K 7 svn:log V 155 Don't document the PORTSSUPFILE variable. Even though this still works, try to discourage users from depending on it. Approved by: joel MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-14T13:45:13.976776Z K 7 svn:log V 27 Bump .Dd Approved by: joel END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-10-14T13:59:17.278874Z K 7 svn:log V 164 mdoc: don't nest displays. The markup here isn't adding anything anyway. Fixes a mandoc lint warning. Discussed with: brueffer, Jason McIntyre END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-10-14T14:45:54.773985Z K 7 svn:log V 29 mdoc: avoid nested displays. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-14T15:03:06.884479Z K 7 svn:log V 95 Fix defines in r241245. We actually don't define FreeBSD. Reported & tested by: Oleg Ginzburg END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-14T15:08:07.851748Z K 7 svn:log V 170 Fix a miss from r241344: in ip_mloopback() we need to go to net byte order prior to calling in_delayed_cksum(). Reported by: Olivier Cochard-Labbe END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-10-14T17:07:34.023544Z K 7 svn:log V 72 Replace the XXX comment with the proper description. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-10-14T17:08:46.500902Z K 7 svn:log V 60 Print the %rip value for uprintf_signal. MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-10-14T17:09:50.462435Z K 7 svn:log V 56 MFamd64: add machdep.uprintf_signal. MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-14T17:26:32.431786Z K 7 svn:log V 186 Add support for the Buffalo RUF2 flash drive. PR: usb/166848 Submitted by: Andrew Gregory Reviewed by: hselasky Approved by: cperciva (implicit) MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-14T17:26:40.859836Z K 7 svn:log V 157 Add support for Feiya Elango USB MicroSD PR: usb/153599 Submitted by: CyberLeo Approved by: cperciva (implicit) MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-14T17:26:45.597416Z K 7 svn:log V 152 Add support for the extrememory Snippy PR: usb/159611 Submitted by: Fabian Keil Approved by: cperciva (implicit) MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-10-14T18:13:33.256585Z K 7 svn:log V 51 Grammar fixes. Submitted by: bf MFC after: 1 week END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2012-10-14T19:15:54.218831Z K 7 svn:log V 284 Implement modem control in u3g. Tested on Option GTM382W, Huawei E220, and Sierra Wireless MC8790V. Also implement the .ucom_poll method. Note: This makes it possible to use lqr/echo in ppp.conf. And it resolves ppp hanging during the PPp> phase. Reviewed by: hps MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-10-14T19:43:37.560977Z K 7 svn:log V 530 Add a KPI to allow to reserve some amount of space in the numvnodes counter, without actually allocating the vnodes. The supposed use of the getnewvnode_reserve(9) is to reclaim enough free vnodes while the code still does not hold any resources that might be needed during the reclamation, and to consume the slack later for getnewvnode() calls made from the innards. After the critical block is finished, the caller shall free any reserve left, by getnewvnode_drop_reserve(9). Reviewed by: avg Tested by: pho MFC after: 1 week END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-10-14T20:00:00.718665Z K 7 svn:log V 65 Create a work area for testing out GEOM direct dispatch changes. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-14T20:31:38.101032Z K 7 svn:log V 1615 Break the RX processing up into smaller chunks of 128 frames each. Right now processing a full 512 frame queue takes quite a while (measured on the order of milliseconds.) Because of this, the TX processing ends up sometimes preempting the taskqueue: * userland sends a frame * it goes in through net80211 and out to ath_start() * ath_start() will end up either direct dispatching or software queuing a frame. If TX had to wait for RX to finish, it would add quite a few ms of additional latency to the packet transmission. This in the past has caused issues with TCP throughput. Now, as part of my attempt to bring sanity to the TX/RX paths, the first step is to make the RX processing happen in smaller 'parts'. That way when TX is pushed into the ath taskqueue, there won't be so much latency in the way of things. The bigger scale change (which will come much later) is to actually process the frames in the ath_intr taskqueue but process _frames_ in the ath driver taskqueue. That would reduce the latency between processing and requeuing new descriptors. But that'll come later. The actual work: * Add ATH_RX_MAX at 128 (static for now); * break out of the processing loop if npkts reaches ATH_RX_MAX; * if we processed ATH_RX_MAX or more frames during the processing loop, immediately reschedule another RX taskqueue run. This will handle the further frames in the taskqueue. This should have very minimal impact on the general throughput case, unless the scheduler is being very very strange or the ath taskqueue ends up spending a lot of time on non-RX operations (such as TX completion.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-14T20:44:08.310947Z K 7 svn:log V 2487 Push the actual TX processing into the ath taskqueue, rather than having it run out of multiple concurrent contexts. Right now the ath(4) TX processing is a bit hairy. Specifically: * It was running out of ath_start(), which could occur from multiple concurrent sending processes (as if_start() can be started from multiple sending threads nowdays.. sigh) * during RX if fast frames are enabled (so not really at the moment, not until I fix this particular feature again..) * during ath_reset() - so anything which calls that * during ath_tx_proc*() in the ath taskqueue - ie, TX is attempted again after TX completion, as there's now hopefully some ath_bufs available. * Then, the ic_raw_xmit() method can queue raw frames for transmission at any time, from any net80211 TX context. Ew. This has caused packet ordering issues in the past - specifically, there's absolutely no guarantee that preemption won't occuring _during_ ath_start() by the TX completion processing, which will call ath_start() again. It's a mess - 802.11 really, really wants things to be in sequence or things go all kinds of loopy. So: * create a new task struct for TX'ing; * make the if_start method simply queue the task on the ath taskqueue; * make ath_start() just be called by the new TX task; * make ath_tx_kick() just schedule the ath TX task, rather than directly calling ath_start(). Now yes, this means that I've taken a step backwards in terms of concurrency - TX -and- RX now occur in the same single-task taskqueue. But there's nothing stopping me from separating out the TX / TX completion code into a separate taskqueue which runs in parallel with the RX path, if that ends up being appropriate for some platforms. This fixes the CCMP/seqno concurrency issues that creep up when you transmit large amounts of uni-directional UDP traffic (>200MBit) on a FreeBSD STA -> AP, as now there's only one TX context no matter what's going on (TX completion->retry/software queue, userland->net80211->ath_start(), TX completion -> ath_start()); but it won't fix any concurrency issues between raw transmitted frames and non-raw transmitted frames (eg EAPOL frames on TID 16 and any other TID 16 multicast traffic that gets put on the CABQ.) That is going to require a bunch more re-architecture before it's feasible to fix. In any case, this is a big step towards making the majority of the TX path locking irrelevant, as now almost all TX activity occurs in the taskqueue. Phew. END K 10 svn:author V 5 crees K 8 svn:date V 27 2012-10-14T22:28:56.574771Z K 7 svn:log V 122 Add the framework for an RC script testing tool. It will mostly be used by ports developers, but a base mode is possible END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-10-14T22:33:17.122698Z K 7 svn:log V 300 Add two new options to the nfssvc(2) syscall that allow processes running as root to suspend/resume execution of the kernel nfsd threads. An earlier version of this patch was tested by Vincent Hoffman (vince at unsane.co.uk) and John Hickey (jh at deterlab.net). Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-10-14T22:58:12.080396Z K 7 svn:log V 28 Return correct packet size. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-10-14T23:00:24.201371Z K 7 svn:log V 118 Name cpsw_stop to cpsw_stop_locked consistently with other functions in this file that assume locks are already held. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-10-14T23:07:54.421140Z K 7 svn:log V 33 Cut-and-paste dropped semicolon. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-10-14T23:45:56.494355Z K 7 svn:log V 174 Mirror the changes made in SVN r240798: Replace "( : ${var?} )" syntax with better "[ ${var+set} ]" syntax. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-14T23:52:30.588284Z K 7 svn:log V 97 Stop abusing the ATH_TID_*() queue macros for filtered frames and give them their own macro set. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-10-15T00:07:18.338327Z K 7 svn:log V 578 Track the total number of software queued frames in an atomic variable stashed away in ath_node. As much as I tried to stuff that behind the ATH_NODE lock, unfortunately the locking is just too plain hairy (for me! And I wrote it!) to do cleanly. Hence using atomics here instead of a lock. The ATH_NODE lock just isn't currently used anywhere besides the rate control updates. If in the future everything gets migrated back to using a single ATH_NODE lock or a single global ATH_TX lock (ie, a single TX lock for all TX and TX completion) then fine, I'll remove the atomics. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-10-15T00:17:16.002237Z K 7 svn:log V 719 Add a new '-S' option to mountd, which tells it to suspend execution of the nfsd threads while it is reloading the exports. This avoids clients from getting intermittent access errors when the exports are being reloaded non-atomically. It is not an ideal solution, since requests will back up while the nfsd threads are suspended. Also, when this option is used, if mountd crashes while reloading exports, mountd will have to be restarted to get the nfsd threads to resume execution. This has been tested by Vincent Hoffman (vince at unsane.co.uk) and John Hickey (jh at deterlab.net). The nfse patch offers a more comprehensive solution for this issue. PR: kern/9619, kern/131342 Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-10-15T00:24:23.787713Z K 7 svn:log V 125 Add a description for the '-S' option to the mountd man page. This is a content change. Reviewed by: kib MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-10-15T01:09:33.862473Z K 7 svn:log V 521 MFC: r241097 Attila Bogar and Herbert Poeckl both reported similar problems w.r.t. a Linux NFS client doing a krb5 NFS mount against the FreeBSD server. We determined this was a Linux bug: http://www.spinics.net/lists/linux-nfs/msg32466.html, however the mount failed to work, because the Destroy operation with a bogus encrypted checksum destroyed the authenticator handle. This patch changes the rpcsec_gss code so that it doesn't Destroy the authenticator handle for this case and, as such, the Linux mount will work. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-10-15T01:13:36.454450Z K 7 svn:log V 521 MFC: r241097 Attila Bogar and Herbert Poeckl both reported similar problems w.r.t. a Linux NFS client doing a krb5 NFS mount against the FreeBSD server. We determined this was a Linux bug: http://www.spinics.net/lists/linux-nfs/msg32466.html, however the mount failed to work, because the Destroy operation with a bogus encrypted checksum destroyed the authenticator handle. This patch changes the rpcsec_gss code so that it doesn't Destroy the authenticator handle for this case and, as such, the Linux mount will work. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-10-15T04:10:49.058386Z K 7 svn:log V 238 Fix an mbuf leak in cpsw driver, clean up mbuf management: * Record TX mbufs when we get them so we can release them. * Set TX/RX mbuf slots to NULL when we are no longer responsible for them * Move dma sync on RX into RX intr routine END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-15T06:41:54.362616Z K 7 svn:log V 718 MFC r241397-241399, r241409, r241493-24194. r241397: Remove unused item. cxgbe's rx queue's lock was removed a long time ago. r241398: There is no need to report the same error twice. r241399: Add a driver ioctl to read a byte from any device on a port's i2c bus. This lets userspace read arbitrary information from the SFP+ modules etc. on this bus. Reading multiple bytes in the same transaction isn't possible right now. I'll update the driver once the chip's firmware supports this. r241409: Add a driver ioctl to clear a port's MAC statistics. r241493: Use global knob in the TP_PARA_REG3 register to disable congestion drops if the user has chosen this behaviour. r241494: Temporary fix for kern/172364. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-15T06:48:50.423064Z K 7 svn:log V 580 MFC r241401, r241416. r241401: Add an "i2c" subcommand to cxgbetool. You can use this to read information from the transceivers connected to the ports of a cxgbe(4) based card. # cxgbetool t4nex0 i2c [] For example: # cxgbetool t4nex0 i2c 0 0xa0 3 0x10 [16] (As per SFF-8472 the SFP+ module is at 0xa0 and bit 4 in the value at address 3 indicates it's a 10Gbase-SR module, which it is.) r241416: Add a "clearstats" subcommand to cxgbetool that lets you clear the MAC statistics for any port. For example: # cxgbetool t4nex0 clearstats 0 END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-15T07:57:55.136426Z K 7 svn:log V 249 We don't need to convert ip6_len to host byte order before ip6_output(), the IPv6 stack is working in net byte order. The reason this code worked before is that ip6_output() doesn't look at ip6_plen at all and recalculates it based on mbuf length. END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2012-10-15T08:21:49.764196Z K 7 svn:log V 641 Add per-second scheduling into the cron(8). Right now it's only available via the new @every_second shortcut. ENOTIME to implement crontab(5) format extensions to allow more flexible scheduling. In order to address some concerns expressed by Terry Lambert while discussing the topic few years ago, about per-second cron possibly causing some bad effects on /etc/crontab by stat()ing it every second instead of every minute now (i.e. atime update), only check that database needs to be reloaded on every 60-th loop run. This should be close enough to the current behaviour. Add "@every_minute" shortcut while I am here. MFC after: 1 month END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-10-15T12:03:11.225152Z K 7 svn:log V 153 Defaulting to id "0" if ar7240_probe(dev) success, fix warning when building with DEBUG. Submitted by: Luiz Otavio O Souza Approved by: adrian (mentor) END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-10-15T12:20:40.885413Z K 7 svn:log V 254 Locking for etherswitch framework: * add lock/unlock methods; * add lock/unlock default implementation; * surround switch IOCTLs with locking; * add lock/unlock implementation for arswitch; Submitted by: Luiz Otavio O Souza Approved by: adrian (mentor) END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-10-15T12:28:14.371402Z K 7 svn:log V 127 Mask data to only 16 bits to be sure on write into switch reg. Submitted by: Luiz Otavio O Souza Approved by: adrian (mentor) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-15T12:33:53.118966Z K 7 svn:log V 193 Add support for the USB DISK Pro PMAP. This patch has sit for 6 years in the PR database. PR: usb/96381 Submitted by: jhs Reviewed by: mav Approved by: cperciva (implicit) MFC after: 3 days END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-15T13:20:08.565149Z K 7 svn:log V 149 Fix minor nits: use a comma after "i.e." sentences begin on new lines. No .Dd bump for trivial modification. Approved by: wblock MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-10-15T13:38:25.119573Z K 7 svn:log V 88 Add a comment describing why r241097 was done. Suggested by: rwatson MFC after: 1 week END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-15T14:14:21.191561Z K 7 svn:log V 21 mx1 -> smarthost.ysv END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-15T14:14:47.906075Z K 7 svn:log V 21 mx1 -> smarthost.ysv END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-15T14:15:15.052474Z K 7 svn:log V 21 mx1 -> smarthost.ysv END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-15T14:16:01.706056Z K 7 svn:log V 21 mx1 -> smarthost.ysv END K 10 svn:author V 5 peter K 8 svn:date V 27 2012-10-15T14:16:25.293028Z K 7 svn:log V 21 mx1 -> smarthost.ysv END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-15T15:26:00.898123Z K 7 svn:log V 353 Add locking to the adw(4) driver and mark it MPSAFE. - Use device_printf() and device_get_nameunit() instead of adw_name(). - Remove use of explicit bus space handles and tags. - Use pci_enable_busmaster() rather than frobbing the PCI command register directly. - Use the softc provided by new-bus rather than allocating a new one. Tested by: no one END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-15T15:59:13.973185Z K 7 svn:log V 125 Add locking to the aha(4) driver and mark it MPSAFE. - Remove use of explicit bus space handles and tags. Tested by: no one END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-15T16:05:02.492737Z K 7 svn:log V 314 Add locking to the ahb(4) driver and mark it MPSAFE. - Use device_printf() and device_get_unit() instead of storing the unit number in the softc. - Remove use of explicit bus space handles and tags. - Compare pointers against NULL. - Let new-bus allocate a softc rather than doing it by hand. Tested by: no one END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-15T16:09:59.128652Z K 7 svn:log V 528 Add locking to the aic(4) driver and mark it MPSAFE. - Move 'free_scbs' into the softc rather than having it be a global list and convert it to an SLIST instead of a hand-rolled linked-list. - Use device_printf() and device_get_unit() instead of storing the unit number in the softc. - Remove use of explicit bus space handles and tags. - Don't call device_set_desc() in the pccard attach routine, instead set a default description during the pccard probe if the matching product doesn't have a name. Tested by: no one END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-15T16:13:55.641057Z K 7 svn:log V 341 Add locking to the bt(4) driver and mark it MPSAFE. - Use device_printf() and device_get_unit() instead of storing the unit number in the softc. - Remove use of explicit bus space handles and tags. - Return an errno value from bt_eisa_attach() if an error occurs rather than -1. - Use BUS_PROBE_DEFAULT rather than 0. Tested by: no one END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-15T16:29:08.039451Z K 7 svn:log V 382 Add locking to the dpt(4) driver and mark it MPSAFE. - Use device_printf() and device_get_unit() instead of storing the unit number in the softc. - Remove use of explicit bus space handles and tags. - Remove the global dpt_softcs list and use devclass_get_device() instead. - Use pci_enable_busmaster() rather than frobbing the PCI command register directly. Tested by: no one END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-15T17:02:03.284054Z K 7 svn:log V 36 Pull in fixes that affect cxgbe(4). END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-15T17:10:41.188957Z K 7 svn:log V 71 Add my new association with bcr and jkois. Thanks! MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-10-15T17:19:47.538721Z K 7 svn:log V 151 Exclude potential circular symlink This does not occur with normal release builds but can happen when reusing these release parts for other purposes. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-10-15T18:15:18.263044Z K 7 svn:log V 111 Acquire the rangelock for truncate(2) as well. Reported and reviewed by: avg Tested by: pho MFC after: 1 week END K 10 svn:author V 5 crees K 8 svn:date V 27 2012-10-15T20:19:57.599918Z K 7 svn:log V 178 Split into functions; code is only used once, but separating makes it easier to read Check default variable assignments and be very fussy Use \ instead of : as error delimiter END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-10-15T21:53:26.276382Z K 7 svn:log V 61 MFC: r241214 Do not install incomplete unwind.h from clang. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-10-16T01:10:43.796154Z K 7 svn:log V 364 Split sdhci driver in two parts: sdhci and sdhci_pci. sdchi encapsulates a generic SD Host Controller logic that relies on actual hardware driver for register access. sdhci_pci implements driver for PCI SDHC controllers using new SDHCI interface No kernel config modifications are required, but if you load sdhc as a module you must switch to sdhci_pci instead. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-10-16T01:37:17.853286Z K 7 svn:log V 354 MFC r241143: rpc: be sure to free cl_netid and cl_tp. When creating a client with clnt_tli_create, it uses strdup to copy strings for these fields if nconf is passed in. clnt_dg_destroy frees these strings already. Make sure clnt_vc_destroy frees them in the same way. Tested by: David Wolfskill Obtained from: Bull GNU/Linux NFSv4 Project (libtirpc) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-16T02:52:30.327553Z K 7 svn:log V 111 Add a bunch more example completions. Submitted by: wblock Approved by: cperciva (implicit) MFC after: 3 days END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-16T08:40:09.289457Z K 7 svn:log V 44 Fix build of aha(4). Submitted by: delphij END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-16T09:55:31.168576Z K 7 svn:log V 117 Disconnect non-MPSAFE HPFS from the build in preparation for dropping GIANT from VFS. This is not targeted for MFC. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-10-16T09:57:34.548513Z K 7 svn:log V 21 Fix build of dpt(4). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-16T09:59:10.736923Z K 7 svn:log V 121 Disconnect non-MPSAFE PORTALFS from the build in preparation for dropping GIANT from VFS. This is not targeted for MFC. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-16T10:04:00.522954Z K 7 svn:log V 116 Disconnect non-MPSAFE XFS from the build in preparation for dropping GIANT from VFS. This is not targeted for MFC. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-16T10:09:21.039117Z K 7 svn:log V 119 Disconnect non-MPSAFE CODAFS from the build in preparation for dropping GIANT from VFS. This is not targeted for MFC. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2012-10-16T13:27:20.769216Z K 7 svn:log V 132 MFC r240164, r240203: Add Intel Ivy Bridge support to hwpmc(9). Update offcore RSP token for Sandy Bridge. Note: No uncore support. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-16T13:37:54.582917Z K 7 svn:log V 256 Make the "struct if_clone" opaque to users of the cloning API. Users now use function calls: if_clone_simple() if_clone_advanced() to initialize a cloner, instead of macros that initialize if_clone structure. Discussed with: brooks, bz, 1 year ago END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-10-16T15:25:04.057871Z K 7 svn:log V 63 Fix aha(4) build with i386 LINT (which includes 'device mca'). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-10-16T15:43:16.136491Z K 7 svn:log V 30 Obey the value of "MK_BMAKE". END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-16T17:49:14.602701Z K 7 svn:log V 142 Add support for samsung HM250JI PR: usb/121474 Submitted by: Ben Stuyts Approved by: cperciva (implicit) MFC after: 3 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-10-16T19:58:15.099656Z K 7 svn:log V 152 MFC r240955 (partial): Remove unsupported "-r" option from zfs send. Illumos issued covered: 2811 missing implementation: zfs send -r PR: kern/171761 END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-10-16T19:59:13.360986Z K 7 svn:log V 152 MFC r240955 (partial): Remove unsupported "-r" option from zfs send. Illumos issued covered: 2811 missing implementation: zfs send -r PR: kern/171761 END K 10 svn:author V 4 emax K 8 svn:date V 27 2012-10-16T20:18:15.863036Z K 7 svn:log V 545 introduce concept of ifi_baudrate power factor. the idea is to work around the problem where high speed interfaces (such as ixgbe(4)) are not able to report real ifi_baudrate. bascially, take a spare byte from struct if_data and use it to store ifi_baudrate power factor. in other words, real ifi_baudrate = ifi_baudrate * 10 ^ ifi_baudrate power factor this should be backwards compatible with old binaries. use ixgbe(4) as an example on how drivers would set ifi_baudrate power factor Discussed with: kib, scottl, glebius MFC after: 1 week END K 10 svn:author V 5 crees K 8 svn:date V 27 2012-10-16T20:24:54.943732Z K 7 svn:log V 245 Allow line breaks in large blocks Do basic checking of definitions Use tab as delimiter; regexes need colons and backslashes Check style and position of functions Handle missing rc files more gracefully Make regex checks for the whole file END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2012-10-16T21:34:02.452279Z K 7 svn:log V 60 Properly handle non-keyword case by setting e->second to 0. END K 10 svn:author V 4 emax K 8 svn:date V 27 2012-10-16T22:43:14.232897Z K 7 svn:log V 109 report total number of ports for each lagg(4) interface via net.link.lagg.X.count sysctl MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-17T00:27:29.712677Z K 7 svn:log V 167 MFC r241542: Don't document the PORTSSUPFILE variable. Even though this still works, try to discourage users from depending on it. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-17T00:30:33.216629Z K 7 svn:log V 110 MFC r241551: Add support for the Buffalo RUF2 flash drive. PR: usb/166848 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-17T00:30:33.369491Z K 7 svn:log V 110 MFC r241551: Add support for the Buffalo RUF2 flash drive. PR: usb/166848 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-17T00:33:10.257175Z K 7 svn:log V 106 MFC r241552: Add support for Feiya Elango USB MicroSD PR: usb/153599 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-17T00:33:10.618319Z K 7 svn:log V 106 MFC r241552: Add support for Feiya Elango USB MicroSD PR: usb/153599 Approved by: cperciva (implicit) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2012-10-17T00:44:34.941625Z K 7 svn:log V 394 o Use nanosleep(2) to sleep exact amount of time till the next second, not multiple of 1 second, which results in actual time to drift back and forth every run within 1 second of the actual action has been set for. Suggested by: Ian Lepore o Schedule the first run in 1 second after starting up, not on the boundary of the next minute, which results in the every_second jobs not being run. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-17T05:08:35.131729Z K 7 svn:log V 39 Whitespace cleanup. MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-10-17T08:19:08.286810Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T10:59:56.688132Z K 7 svn:log V 593 zfs: make use of getnewvnode_reserve in zfs_mknode and zfs_zget getnewvnode_reserve helps to avoid "recursing" back into zfs code via getnewvnode when that latter needs to reclaim some vnodes. zfs code may hold a number of locks around getnewvnode and doesn't expect any recursion to happen on those locks, because that never happens in solaris. I believe that this change also eleiminates a need for the delayed znode destruction via the taskqueue. Many thanks to kib for devising getnewvnode_reserve. Reported by: flo Tested by: bapt, kwm, swills MFC after: 2 weeks X-MFC after: r241556 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-17T11:16:17.017809Z K 7 svn:log V 475 Disconnect non-MPSAFE NWFS from the build in preparation for dropping GIANT from VFS. In addition, disconnect also netncp, which is a base requirement for NWFS. In the possibility of a future maintenance of the code and later readd to the FreeBSD base, maybe we should think about a better location for netncp. I'm not entirely sure the / top location is actually right, however I will let network people to comment on that more specifically. This is not targeted for MFC. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:24:06.583252Z K 7 svn:log V 70 MFC r241291: zfs boot spa_status: print bootfs for each reported pool END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:24:19.034247Z K 7 svn:log V 70 MFC r241291: zfs boot spa_status: print bootfs for each reported pool END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:26:27.860338Z K 7 svn:log V 71 MFC r241303: kvm_getprocs: gracefully handle errors from kvm_deadprocs END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:26:48.357961Z K 7 svn:log V 71 MFC r241303: kvm_getprocs: gracefully handle errors from kvm_deadprocs END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:28:21.337438Z K 7 svn:log V 64 MFC r240831: zfs: allow a zvol to be used as a pool vdev, again END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:28:44.412313Z K 7 svn:log V 64 MFC r240831: zfs: allow a zvol to be used as a pool vdev, again END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-17T11:30:00.406898Z K 7 svn:log V 562 Disconnect non-MPSAFE NTFS from the build in preparation for dropping GIANT from VFS. This code is particulary broken and fragile and other in-kernel implementations around, found in other operating systems, don't really seem clean and solid enough to be imported at all. If someone wants to reconsider in-kernel NTFS implementation for inclusion again, a fair effort for completely fixing and cleaning it up is expected. In the while NTFS regular users can use FUSE interface and ntfs-3g port to work with their NTFS partitions. This is not targeted for MFC. END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:30:14.277074Z K 7 svn:log V 75 MFC r241295: cngetc: use cpu_spinwait to ease the cncheckc loop a tiny bit END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:30:25.831018Z K 7 svn:log V 75 MFC r241295: cngetc: use cpu_spinwait to ease the cncheckc loop a tiny bit END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:33:32.100801Z K 7 svn:log V 77 MFC r241304: procstat_getprocs: honor kvm_getprocs interface - cnt is signed END K 10 svn:author V 3 avg K 8 svn:date V 27 2012-10-17T11:35:06.956553Z K 7 svn:log V 58 MFC r241305: ata_da: set disk::d_ident from serial number END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-17T13:04:05.692088Z K 7 svn:log V 69 Include a piece that was left out during r241629. Pointy hat to: me END K 10 svn:author V 2 np K 8 svn:date V 27 2012-10-17T16:37:16.351248Z K 7 svn:log V 153 Always provide sndbuf and MSS values in a flowc command, even when the driver is going to abort the connection right after the flowc. MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-10-17T18:21:14.421346Z K 7 svn:log V 115 Avoid panic when a netmap instance cannot obtain memory. A uint32_t is always >= 0. Sponsored by: ADARA Networks END K 10 svn:author V 5 crees K 8 svn:date V 27 2012-10-17T19:16:24.880577Z K 7 svn:log V 77 Style; 4 spaces instead of tabs, no one-line if/whiles Submitted by: eadler END K 10 svn:author V 8 andreast K 8 svn:date V 27 2012-10-17T19:21:52.781354Z K 7 svn:log V 125 Remove the netncp and nwfs files from here. They will be moved to the ObsoleteFiles.inc file later. Discussed with: attilio END K 10 svn:author V 4 emax K 8 svn:date V 27 2012-10-17T19:24:13.262834Z K 7 svn:log V 180 provide helper if_initbaudrate() to set if_baudrate_pf and if_baudrate_pf. again, use ixgbe(4) as an example of how to use new helper function. Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 5 crees K 8 svn:date V 27 2012-10-17T20:17:56.424766Z K 7 svn:log V 120 Fix regex code Submitted by: eadler Check that last line of file contains check_run_rc Functions checking still edgy END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-10-17T20:23:07.233659Z K 7 svn:log V 175 Avoid potential bad pointer dereference. Previously RuleAdd would leave entry->la unset for the first entry in the proxyList. Sponsored by: ADARA Networks MFC After: 1 week END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2012-10-17T20:45:48.280261Z K 7 svn:log V 97 Revert latest changes to cron, until better version is worked out (I hope). Requested by: few END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-17T21:19:27.093095Z K 7 svn:log V 98 Fix VIMAGE build. Reported by: Nikolai Lifanov Pointy hat to: glebius END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2012-10-17T21:26:35.793755Z K 7 svn:log V 86 Remove harmless, but superfluous local change that creeped in along with the r241649. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-17T21:30:16.075639Z K 7 svn:log V 54 Don't redefine macros defined in if.h and ethernet.h. END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-10-17T21:48:45.261244Z K 7 svn:log V 143 Ask to become root via sudo(8) and give user ability to save this preference. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 4 emax K 8 svn:date V 27 2012-10-17T21:53:38.205118Z K 7 svn:log V 29 fix build MFC after: 1 week END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-10-17T22:14:09.894796Z K 7 svn:log V 361 Add missing initialization for do_prefix. Corrects porting error in r238391 Vendor issue and changeset reference: 2883 changing "canmount" property to "on" should not always remount dataset https://www.illumos.org/issues/2883 Changeset 13743:95aba6e49b9f Reported by: Guido Falsi , avg Obtained from: illumos (issue #2883) MFC after: 1 week END K 10 svn:author V 4 emax K 8 svn:date V 27 2012-10-18T00:20:02.833700Z K 7 svn:log V 66 put another bandaid on the build until i figure out bsnmp headers END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-18T00:32:07.624678Z K 7 svn:log V 99 Add return codes to all functions used for submitting commands to I/O queues. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-18T00:37:11.116700Z K 7 svn:log V 508 Merge struct nvme_prp_list into struct nvme_tracker. This simplifies the driver significantly where it is constructing commands to be submitted to hardware. By reducing the number of PRPs (NVMe parlance for SGE) from 128 to 32, it ensures we do not allocate too much memory for more common smaller I/O sizes, while still supporting up to 128KB I/O sizes. This also paves the way for pre-allocation of nvme_tracker objects for each queue which will simplify the I/O path even further. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-18T00:38:28.419247Z K 7 svn:log V 351 Add struct nvme_request object which contains all of the parameters passed from an NVMe consumer. This allows us to mostly build NVMe command buffers without holding the qpair lock, and also allows for future queueing of nvme_request objects in cases where the submission queue is full and no nvme_tracker objects are available. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-18T00:39:29.686911Z K 7 svn:log V 204 Add nvme_ctrlr_submit_[admin|io]_request functions which consolidates code for allocating nvme_tracker objects and making calls into bus_dmamap_load for commands which have payloads. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-18T00:40:40.983613Z K 7 svn:log V 397 Cleanup uio-related code to use struct nvme_request and nvme_ctrlr_submit_io_request(). While here, also fix case where a uio may have more than 1 iovec. NVMe's definition of SGEs (called PRPs) only allows for the first SGE to start on a non-page boundary. The simplest way to handle this is to construct a temporary uio for each iovec, and submit an NVMe request for each. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-18T00:41:31.451068Z K 7 svn:log V 75 Simplify how the qpair lock is acquired and released. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-18T00:43:25.320014Z K 7 svn:log V 161 Create nvme_qpair_submit_request() which eliminates all of the code duplication between the admin and io controller-level submit functions. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-18T00:44:39.786609Z K 7 svn:log V 135 Preallocate a limited number of nvme_tracker objects per qpair, rather than dynamically creating them at runtime. Sponsored by: Intel END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-10-18T00:45:53.108696Z K 7 svn:log V 341 Add ability to queue nvme_request objects if no nvme_trackers are available. This eliminates the need to manage queue depth at the nvd(4) level for Chatham prototype board workarounds, and also adds the ability to accept a number of requests on a single qpair that is much larger than the number of trackers allocated. Sponsored by: Intel END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-18T01:12:15.076356Z K 7 svn:log V 155 MFC r241580: Add support for the USB DISK Pro PMAP. This patch has sit for 6 years in the PR database. PR: usb/96381 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-18T01:12:15.395280Z K 7 svn:log V 155 MFC r241580: Add support for the USB DISK Pro PMAP. This patch has sit for 6 years in the PR database. PR: usb/96381 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-18T01:12:15.773446Z K 7 svn:log V 155 MFC r241580: Add support for the USB DISK Pro PMAP. This patch has sit for 6 years in the PR database. PR: usb/96381 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-18T01:14:22.155725Z K 7 svn:log V 161 MFC r241581: Fix minor nits: use a comma after "i.e." sentences begin on new lines. No .Dd bump for trivial modification. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-18T01:14:22.459961Z K 7 svn:log V 161 MFC r241581: Fix minor nits: use a comma after "i.e." sentences begin on new lines. No .Dd bump for trivial modification. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-10-18T01:14:22.606374Z K 7 svn:log V 161 MFC r241581: Fix minor nits: use a comma after "i.e." sentences begin on new lines. No .Dd bump for trivial modification. Approved by: cperciva (implicit) END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2012-10-18T06:27:03.790187Z K 7 svn:log V 54 Fully backout latest changes. Pointy hat to: sobomax END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-10-18T07:55:09.034495Z K 7 svn:log V 75 Fix typo. Reviewed by: adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-10-18T08:11:14.708558Z K 7 svn:log V 244 Add git_conv scripts and rules, as used on git.freebsd.org The modified svn2git sources are at https://gitorious.org/~uqs/svn2git/uqs-svn2git This should make it easier for other people to re-do the conversions and verify their authenticity. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-10-18T09:55:16.935891Z K 7 svn:log V 195 Vendor import of mdocml 1.12.1 It is a suite of ISC licensed tools to compile and render mdoc/man pages and will replace groff for formatting manpages in the base system. http://mdocml.bsd.lv/ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-10-18T09:56:14.117563Z K 7 svn:log V 42 Tag version 1.12.1 (March 2012) of mdocml END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-18T09:57:56.581293Z K 7 svn:log V 47 Utilize new macro to initialize if_baudrate(). END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-18T09:59:50.494993Z K 7 svn:log V 45 Utilize new macro to initialize if_baudrate. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-10-18T10:29:16.428580Z K 7 svn:log V 454 It turns out that as documented, PCF8563_R_SECOND_VL (i.e. battery low) doesn't automatically clear when VDD rises above Vlow again and needs to be cleared manually. However, apparently this needs all of the time registers to be set, i.e. pcf8563_settime(), and not just PCF8563_R_SECOND in order for PCF8563_R_SECOND_VL to stick. Thus, we just issue a warning during pcf8563_attach() rather than failing with ENXIO in case it is set. MFC after: 3 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-18T12:04:56.352215Z K 7 svn:log V 451 Disconnect non-MPSAFE SMBFS from the build in preparation for dropping GIANT from VFS. In addition, disconnect also netsmb, which is a base requirement for SMBFS. In the while SMBFS regular users can use FUSE interface and smbnetfs port to work with their SMBFS partitions. Also, there are ongoing efforts by vendor to support in-kernel smbfs, so there are good chances that it will get relinked once properly locked. This is not targeted for MFC. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-10-18T12:06:26.490041Z K 7 svn:log V 557 MFC: r239864 - Unlike cache invalidation and TLB demapping IPIs, reading registers from other CPUs doesn't require locking so get rid of it. As the latter is used for the timecounter on certain machine models, using a spin lock in this case can lead to a deadlock with the upcoming callout(9) rework. - Merge r134227/r167250 from x86: Avoid cross-IPI SMP deadlock by using the smp_ipi_mtx spin lock not only for smp_rendezvous_cpus() but also for the MD cache invalidation and TLB demapping IPIs. - Mark some unused function arguments as such. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-10-18T12:11:13.511394Z K 7 svn:log V 55 Record the full non-MPSAFE pack filesystem disconnect. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-10-18T12:22:12.963688Z K 7 svn:log V 35 Revert unintended part of r241681. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-10-18T12:32:51.628788Z K 7 svn:log V 231 Allow LOCAL_(DIRS,LIBS) to install files in directories not found in the system mtree files via a LOCAL_MTREE variable which contains a list of mtree files to be applyed along with the base mtree files to the tmp root and DESTDIR. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-18T13:46:26.076400Z K 7 svn:log V 48 Looks like support.h is really not needed here. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-10-18T13:57:24.247284Z K 7 svn:log V 113 Mechanically remove the last stray remains of spl* calls from net*/*. They have been Noop's for a long time now. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-18T13:57:28.257197Z K 7 svn:log V 45 Utilize new macro to initialize if_baudrate. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-10-18T14:08:26.484251Z K 7 svn:log V 105 Use LOG_WARNING level in in_attachdomain1() instead of printf(). Submitted by: vijju.singh-at-gmail.com END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-10-18T14:25:33.238133Z K 7 svn:log V 25 Fix build after r241659. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-10-18T14:57:11.038194Z K 7 svn:log V 557 MFC: r239864 - Unlike cache invalidation and TLB demapping IPIs, reading registers from other CPUs doesn't require locking so get rid of it. As the latter is used for the timecounter on certain machine models, using a spin lock in this case can lead to a deadlock with the upcoming callout(9) rework. - Merge r134227/r167250 from x86: Avoid cross-IPI SMP deadlock by using the smp_ipi_mtx spin lock not only for smp_rendezvous_cpus() but also for the MD cache invalidation and TLB demapping IPIs. - Mark some unused function arguments as such. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-10-18T15:14:13.397819Z K 7 svn:log V 23 Use if_initbaudrate(). END