ƒ¸w244000 147 608 1720 146 213 302 302 302 364 681 153 163 149 458 223 1945 771 213 212 149 149 374 283 150 226 114 320 205 174 156 128 144 193 160 188 161 214 201 238 200 199 300 149 601 960 491 262 225 166 529 139 171 1208 693 121 135 176 174 341 408 187 1780 565 373 292 366 366 366 182 182 182 297 297 209 209 209 855 484 323 405 250 290 347 202 154 182 177 473 1540 1540 230 613 149 188 208 160 587 232 258 162 123 155 543 99 196 242 481 374 169 173 287 166 212 230 458 246 1479 558 190 1469 558 167 265 335 215 186 564 188 961 842 842 842 394 211 278 160 115 296 129 273 982 979 263 232 208 433 182 311 K 10 svn:author V 4 jeff K 8 svn:date V 27 2012-12-07T23:18:30.811686Z K 7 svn:log V 514 - Remember the list of virtual addresses we have mapped in the bus_dma_map on architectures that need to invalidate virtual caches. This makes the sync operation type agnostic. Rather than mallocing a small structure for each virtual address as busdma_machdep-v6.c on arm did, I opted to allocate an array sized by the maximum number of physical segments supported based on the idea that there should always be more physical than virtual segments. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-12-07T23:48:54.123237Z K 7 svn:log V 1626 Fix a panic during CAM EDT traversal. The problem was a race condition between the EDT traversal used by things like 'camcontrol devlist', and CAM peripheral driver removal. The EDT traversal code holds the CAM topology lock, and wants to show devices that have been invalidated. It acquires a reference to the peripheral to make sure the peripheral it is examining doesn't go away. However, because the peripheral removal code in camperiphfree() drops the CAM topology lock to call the peripheral's destructor routine, we can run into a situation where the EDT traversal increments the peripheral reference count after free process is already in progress. At that point, the reference count is ignored, because it was 0 when we started the process. Fix this race by setting a flag, CAM_PERIPH_FREE, that I previously added and checked in xptperiphtraverse() and xptpdperiphtravsere(), but failed to use. If the EDT traversal code sees that flag, it will know that the peripheral free process has already started, and that it should not access that peripheral. Also, fix an inconsistency in the locking between xptpdperiphtraverse() and xptperiphtraverse(). They now both hold the CAM topology lock while calling the peripheral traversal function. cam_xpt.c: Change xptperiphtraverse() to hold the CAM topology lock across calls to the traversal function. Take out the comment in xptpdperiphtraverse() that referenced the locking inconsistency. cam_periph.c: Set the CAM_PERIPH_FREE flag when we are in the process of freeing a peripheral driver. Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-08T00:08:30.751310Z K 7 svn:log V 54 MFC r238372: Fix build for kernels with dtrace hooks. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-08T00:21:55.487870Z K 7 svn:log V 117 MFC r243663: Add support for AT&T Sierra Wireless USB 3G adapter PR: kern/173982 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-08T00:25:51.143869Z K 7 svn:log V 206 MFC r243893: Remove hack to emulate effective uid and just use the EUID's name in the first place. I was unaware of this option when originally committing this change. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-08T00:25:51.243396Z K 7 svn:log V 206 MFC r243893: Remove hack to emulate effective uid and just use the EUID's name in the first place. I was unaware of this option when originally committing this change. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-08T00:25:51.896271Z K 7 svn:log V 206 MFC r243893: Remove hack to emulate effective uid and just use the EUID's name in the first place. I was unaware of this option when originally committing this change. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-08T00:28:16.177749Z K 7 svn:log V 268 MFC r243893: Remove hack to emulate effective uid and just use the EUID's name in the first place. I was unaware of this option when originally committing this change. I accidently merged this to only one directory last time :( Approved by: cperciva (implicit) END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-08T00:29:16.446868Z K 7 svn:log V 583 Add support for backchannels to the kernel RPC. Backchannels are used by NFSv4.1 for callbacks. A backchannel is a connection established by the client, but used for RPCs done by the server on the client (callbacks). As a result, this patch mixes some client side calls in the server side and vice versa. Some definitions in the .c files were extracted out into a file called krpc.h, so that they could be included in multiple .c files. This code has been in projects/nfsv4.1-client for some time. Although no one has given it a formal review, I believe kib@ has taken a look at it. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-12-08T00:47:03.832588Z K 7 svn:log V 60 Remove an unnecessary hack. bpfjit can handle mbuf chains. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-12-08T01:11:55.514722Z K 7 svn:log V 70 Disable bpfjit by default. Only allow toggling when a filter is set. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2012-12-08T01:16:54.255016Z K 7 svn:log V 56 Fix an unnecessary style change in the previous commit. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2012-12-08T02:32:35.595206Z K 7 svn:log V 364 - Make a MI/MD busdma interface for loading virtual addresses. Re-implement load_mbuf, load_uio, load_buf, and a new load of a virtual segment list using these primitives. This eliminates code duplicated in 8 places and allows for future expansion of the busdma types without changing each architecture. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-12-08T02:37:18.225668Z K 7 svn:log V 127 Determine the correct length and sector size for raw devices. Obtained from: NetApp Tested by: Michael Dexter with iscsi LUNs END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-12-08T04:03:04.533616Z K 7 svn:log V 1851 Fix a device departure bug for the the pass(4), enc(4), sg(4) and ch(4) drivers. The bug occurrs when a userland process has the driver instance open and the underlying device goes away. We get the devfs callback that the device node has been destroyed, but not all of the closes necessary to fully decrement the reference count on the CAM peripheral. The reason is that once devfs calls back and says the device has been destroyed, it is moved off to deadfs, and devfs guarantees that there will be no more open or close calls. So the solution is to keep track of how many outstanding open calls there are on the device, and just release that many references when we get the callback from devfs. scsi_pass.c, scsi_enc.c, scsi_enc_internal.h: Add an open count to the softc in these drivers. Increment it on open and decrement it on close. When we get a devfs callback to say that the device node has gone away, decrement the peripheral reference count by the number of still outstanding opens. Make sure we don't access the peripheral with cam_periph_unlock() after what might be the final call to cam_periph_release_locked(). The peripheral might have been freed, and we will be dereferencing freed memory. scsi_ch.c, scsi_sg.c: For the ch(4) and sg(4) drivers, add the same changes described above, and in addition, fix another bug that was previously fixed in the pass(4) and enc(4) drivers. These drivers were calling destroy_dev() from their cleanup routine, but that could cause a deadlock because the cleanup routine could be indirectly called from the driver's close routine. This would cause a deadlock, because the device node is being held open by the active close call, and can't be destroyed. Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-12-08T04:16:07.073009Z K 7 svn:log V 678 Fix the CTL OOA queue dumping code so that it does not hold a mutex while doing a copyout. That can cause a panic, because copyout can trigger VM faults, and we can't handle VM faults while holding a mutex. The solution here is to malloc a separate buffer to hold the OOA queue entries, so that we don't risk a VM fault while filling up the buffer and we don't have to drop the lock. The other solution would be to wire the user's memory while filling their buffer with copyout, but that would have been a little more complex. Also fix a debugging parenthesis issue in ctl_abort_task() pointed out by Chuck Tuffli. Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-12-08T04:55:06.353985Z K 7 svn:log V 120 Make sure we hold the SIM lock when calling xpt_free_path(). Sponsored by: Spectra Logic Corporation MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-08T05:51:27.607813Z K 7 svn:log V 116 Sync with Library of Congress list. Approved by: cperciva (implicit) Obtained from: DragonflyBSD MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-08T07:34:20.592568Z K 7 svn:log V 57 MFC r240885: Document ipv6 hook, present there for ages. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-08T07:34:57.867101Z K 7 svn:log V 57 MFC r240885: Document ipv6 hook, present there for ages. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-08T07:37:12.153312Z K 7 svn:log V 281 MFC r243571: Fix problem with the Samsung 840 PRO series SSD detection. The device reports support for SATA Asynchronous Notification in its IDENTIFY data, but returns error on attempt to enable that feature. Make SATA XPT of CAM only report these errors, but not fail the device. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-12-08T08:22:33.938622Z K 7 svn:log V 187 Ensure that the padding of the last parameter of an INIT chunk is not included in the chunk length as required by RFC 4960. While there, cleanup sctp_send_initiate(). MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-08T08:35:49.794847Z K 7 svn:log V 58 The socket_zone UMA zone is now private to uipc_socket.c. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2012-12-08T09:14:19.515697Z K 7 svn:log V 132 - Correct minor compile errors from cam and busdma work revealed by make universe. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-08T09:23:05.419131Z K 7 svn:log V 22 White-space cleanups. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-08T09:48:03.402558Z K 7 svn:log V 224 Fix a use-after-free bug in the Atheros fast-frames support. Tested: * AR5212 AP, AR5413 STA, iperf TCP STA->AP, destroyed and/or shutdown the STA vap during active iperf TCP traffic. PR: kern/174273 MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-12-08T09:50:38.288393Z K 7 svn:log V 109 Use correct padding of the ABORT chunk in case of an user initiated abort cause is used. MFC after: 2 weeks END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-12-08T09:58:11.016798Z K 7 svn:log V 77 Add support for various Yamaha keyboards. MFC after: 1 week PR: usb/174254 END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-12-08T10:23:51.048196Z K 7 svn:log V 64 Allow some overrides via environment, add some sanity checking. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-12-08T10:24:33.139338Z K 7 svn:log V 36 Ignore logfiles produced by svn2git END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-12-08T10:28:21.247912Z K 7 svn:log V 52 Add git configs for pushing to remote repositories. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-08T12:51:06.862258Z K 7 svn:log V 100 More warnings for zones that depend on the kern.ipc.maxsockets limit. Obtained from: WHEEL Systems END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-12-08T13:56:22.828048Z K 7 svn:log V 68 Attach all EHCIs inside USB core. Sponsored by: FreeBSD Foundation END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-12-08T15:11:09.609591Z K 7 svn:log V 93 Get it compiling without INET and INET6 support (mainly userland stack). MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-12-08T17:41:39.236062Z K 7 svn:log V 66 time: Use close-on-exec instead of fclose() in the child process. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2012-12-08T18:35:45.173206Z K 7 svn:log V 120 - Correct a few compile errors, dmat is spelled dt, unused variable, etc. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 4 jeff K 8 svn:date V 27 2012-12-08T18:36:51.972475Z K 7 svn:log V 107 - Convert the last few drivers to the new CAM_DATA_* format. Sponsored by: EMC / Isilon Storage Division END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-08T18:41:16.497057Z K 7 svn:log V 142 Add check for failure of mkstemp and setenv. Reviewed by: des Approved by: cperciva (implicit) Obtained from: DragonFlyBSD MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-12-08T19:42:15.863832Z K 7 svn:log V 104 libc: Add a missing header to a test program. Usage of dup(), mkstemp() and unlink() needs . END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-12-08T21:03:14.682400Z K 7 svn:log V 104 Remove outdated reference to tcp inflight limiting. It was removed a long time ago. MFC after: 1 week END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-08T22:16:36.332240Z K 7 svn:log V 204 A number of places in the source tree still reference cuad.* after sio(4) was deprecated by uart(4). s/cuad/cuau/g/ PR: docs/171533 Reviewed by: imp Approved by: cperciva (implicit) MFC after: 3 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-08T22:41:51.549938Z K 7 svn:log V 54 Release ray from mentorship. Go forth and code well! END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-08T22:52:39.246769Z K 7 svn:log V 503 Move the NFSv4.1 client patches over from projects/nfsv4.1-client to head. I don't think the NFS client behaviour will change unless the new "minorversion=1" mount option is used. It includes basic NFSv4.1 support plus support for pNFS using the Files Layout only. All problems detecting during an NFSv4.1 Bakeathon testing event in June 2012 have been resolved in this code and it has been tested against the NFSv4.1 server available to me. Although not reviewed, I believe that kib@ has looked at it. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-12-09T00:32:38.446061Z K 7 svn:log V 867 In the past four years, we've added two new vm object types. Each time, similar changes had to be made in various places throughout the machine- independent virtual memory layer to support the new vm object type. However, in most of these places, it's actually not the type of the vm object that matters to us but instead certain attributes of its pages. For example, OBJT_DEVICE, OBJT_MGTDEVICE, and OBJT_SG objects contain fictitious pages. In other words, in most of these places, we were testing the vm object's type to determine if it contained fictitious (or unmanaged) pages. To both simplify the code in these places and make the addition of future vm object types easier, this change introduces two new vm object flags that describe attributes of the vm object's pages, specifically, whether they are fictitious or unmanaged. Reviewed and tested by: kib END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-09T01:08:44.390122Z K 7 svn:log V 395 Don't panic if the stageq here is empty; just fall through with NULL pointers and leave the stage queue flush routine to just do nothing (since both head and tail here will be NULL.) This should quieten the "stageq empty" panic where the stageq itself is empty, but it won't fix the second KASSERT() here "staging queue empty" as that's likely a different underlying problem. PR: kern/174283 END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-09T04:15:51.636630Z K 7 svn:log V 166 MFC r243753: The getline function returns the number of characters read, not written. Use clearer text for this. PR: docs/174023 Approved by: cperciva (implicit) END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-12-09T04:54:22.660140Z K 7 svn:log V 128 Add a comment on why inlining critical_enter() may not be a good idea for the general case. Reviewed by: bde MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-12-09T09:58:44.287629Z K 7 svn:log V 69 Add new USB ID. MFC after: 1 week Submitted by: Artyom Mirgorodskiy END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-12-09T15:25:34.027682Z K 7 svn:log V 433 Use ASCII characters for box/line characters in frames.4th Committed with changes to support the following from loader.conf(5): + console="vidconsole comconsole" (not just console="comconsole") + boot_serial="anything" (not just boot_serial="YES") + boot_multicons="anything" (unsupported in originally-submitted patch) PR: conf/121064 Submitted by: koitsu Reviewed by: gcooper, adrian (co-mentor) Approved by: adrian (co-mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-09T18:45:20.333101Z K 7 svn:log V 44 Oops, Devin wasn't ever listed as a mentee. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-09T18:45:59.584459Z K 7 svn:log V 76 Formally/properly release dteske from mentorship. Go forth and code stuff! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-09T19:20:28.707705Z K 7 svn:log V 1111 Atheros SuperG bug fixes, as part of hunting down kern/174283. The stageqdepth (global, over all staging queues) was being kept incorrectly. It was being incremented whenever things were added, but only decremented during a flush. During active fast frames activity it wasn't being decremented, resulting in it always having a non-zero value during normal fast-frames operation. It was only used when checking if the aging queue should be checked; we may as well just defer to each of those staging queue counters (which look correct, thankfully.) Whilst I'm here, add locking assertions in the staging queue add/remove functions. The current crash shows that the staging queue has one frame, but only has a tail pointer set (the head pointer being set to NULL.) I'd like to grab a few more crashes where these locking assertions are in place so I can narrow down the issue between "somehow locking is messed up and things are racy" and "the stage queue head/tail pointer manipulation logic is subtly wrong." Tested: * AR5416 STA, AR5413 AP; with FastFrames enabled in the AR5416 HAL. PR: kern/174283 END K 10 svn:author V 3 ken K 8 svn:date V 27 2012-12-09T19:53:21.150478Z K 7 svn:log V 600 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 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-09T20:26:51.397143Z K 7 svn:log V 29 Fix typo. MFC after: 3 days END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-09T20:34:11.566674Z K 7 svn:log V 43 Remove useless comment. MFC after: 3 days END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-09T21:26:47.571238Z K 7 svn:log V 79 Document the new NFS mount options added by r244042. This is a content change. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-12-09T22:23:50.659798Z K 7 svn:log V 77 Add "nfsstat -m" support for the two new NFS mount options added by r244042. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-12-09T22:53:53.897256Z K 7 svn:log V 248 Get 'uname -r' earlier, so it can be used to determine what branch is being run to set BSDINSTALL_DISTSITE accordingly. This change allows non-RELEASE branches to use the FTP snapshots directory for bootonly.iso installations. Approved by: simon END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-12-09T22:54:03.103808Z K 7 svn:log V 313 Fix bandwidth reporting when doing a restarted download with "-r". The offset is already accounted for in xs->lastrcvd and doesn't have to be subtracted again. Reported by: Florian Smeets Submitted by: Mateusz Guzik Tested by: Florian Smeets MFC after: 1 week END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-12-09T22:55:51.411984Z K 7 svn:log V 95 Add missed BETA* to list. Approved by: simon (implicit) MFC after: 3 days X-MFC-With: r244058 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-09T22:56:29.462492Z K 7 svn:log V 1683 Handle ath-specific and WME IE's in adhoc mode. The Adhoc support wasn't parsing and handling the ath specific and WME IEs, thus the atheros vendor support and WME TXOP parameters aren't being copied from the peer. It copies the WME parameters from whichever adhoc node it decides to associate to, rather than just having them be statically configured per adhoc node. This may or may not be exactly "right", but it's certainly going to be more convienent for people - they just have to ensure their adhoc nodes are setup with correct WME parameters. Since WME parameters aren't per-node but are configured on hardware TX queues, if some nodes support WME and some don't - or perhaps, have different WME parameters - things will get quite quirky. So ensure that you configure your adhoc nodes with the same WME parameters. Secondly - the Atheros Vendor IE is parsed and operated on per-node, so this should work out ok between nodes that do and don't do Atheros extensions. Once you see a becaon from that node and you setup the association state, it _should_ parse things correctly. TODO: * I do need to ensure that both adhoc setup paths are correctly updating the IE stuff. Ie, if the adhoc node is created by a data frame instead of a beacon frame, it'll come up with no WME/ath IE config. The next beacon frame that it receives from that node will update the state. I just need to sit down and better understand how that's suppose to work in IBSS mode. Tested: * AR5416 <-> AR9280 - fast frames and the WME configuration both popped up. (This is with a local HAL patch that enables the fast frames capability on the AR5416 chipsets.) PR: kern/165969 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-09T23:56:29.883843Z K 7 svn:log V 469 Undo the previous adhoc commit - doing the WME IE handling here is totally wrong. If we parse the WME IE here, we'll be constantly updating the WME configuration from each WME enabled IBSS node we see. There's a separate issue where the WME configuration is blanked out when the interface is brought up; the WME parameters aren't "sticky." Also, ieee80211_init_neighbor() parses the ath IE, so doing it here isn't required. Sorry about the noise. PR: kern/165969 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-10T00:16:38.932019Z K 7 svn:log V 277 Update the aggressive mode logic to also enable aggressive mode parameters in IBSSes. IBSS was just being plainly ignored here even though aggressive mode was 'on'. This still doesn't fix the "why are the WME parameters reset upon interface down/up" issue. PR: kern/165969 END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:26:01.794167Z K 7 svn:log V 196 Give users a hint when their locate database is too small. Reviewed by: wblock, gcooper Reviewed by: "Lowell Gilbert" Approved by: cperciva (implicit) MFC after: 3 weeks END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:33:16.737674Z K 7 svn:log V 270 MFC r243084: Add support for a -q flag. While here make the custom argument parsing use getopt instead of hacking on it more. This change also fixes the method of silencing the compiler warning about gfn being used uninitialized. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:33:16.874475Z K 7 svn:log V 270 MFC r243084: Add support for a -q flag. While here make the custom argument parsing use getopt instead of hacking on it more. This change also fixes the method of silencing the compiler warning about gfn being used uninitialized. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:33:17.105925Z K 7 svn:log V 270 MFC r243084: Add support for a -q flag. While here make the custom argument parsing use getopt instead of hacking on it more. This change also fixes the method of silencing the compiler warning about gfn being used uninitialized. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:35:19.638142Z K 7 svn:log V 87 MFC r243077: Fix error code if file isn't readable. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:35:20.148018Z K 7 svn:log V 87 MFC r243077: Fix error code if file isn't readable. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:35:20.235056Z K 7 svn:log V 87 MFC r243077: Fix error code if file isn't readable. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:40:06.765005Z K 7 svn:log V 201 MFC r243101: Using set -x produces output on stderr instead of stdout. It also doesn't work with make -s. Prefer the use of builtin make features. PR: misc/126312 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:40:08.016546Z K 7 svn:log V 201 MFC r243101: Using set -x produces output on stderr instead of stdout. It also doesn't work with make -s. Prefer the use of builtin make features. PR: misc/126312 Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:44:46.496719Z K 7 svn:log V 113 MFC r243238: Standardize EXIT STATUS instructions in man pages when possible. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:44:46.708102Z K 7 svn:log V 113 MFC r243238: Standardize EXIT STATUS instructions in man pages when possible. Approved by: cperciva (implicit) END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-10T02:44:47.007497Z K 7 svn:log V 113 MFC r243238: Standardize EXIT STATUS instructions in man pages when possible. Approved by: cperciva (implicit) END K 10 svn:author V 4 grog K 8 svn:date V 27 2012-12-10T03:11:19.839643Z K 7 svn:log V 761 MFC to r242840: Add y flag and environment variable LS_SAMESORT to specify the same sorting order for time and name with the -t option. IEEE Std 1003.2 (POSIX.2) mandates that the -t option sort in descending order, and that if two files have the same timestamp, they should be sorted in ascending order of their names. The -r flag reverses both of these sort orders, so they're never the same. This creates significant problems for sequentially named files stored on FAT file systems, where it can be impossible to list them in the order in which they were created. Add , (comma) option to print file sizes grouped and separated by thousands using the non-monetary separator returned by localeconv(3), typically a comma or period. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-10T05:14:04.738034Z K 7 svn:log V 391 Do not ignore zero address, possibly returned by the vm_map_find() call. The function indicates a failure by the TRUE return value. To be extra safe, assert that the return value from the following vm_map_insert() indicates success. Fix style issues in the nearby lines, reformulate the comment. Reviewed by: alc (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-10T05:14:34.754912Z K 7 svn:log V 230 Add amd64-specific ddb command "show pte". The command displays the hierarchy of the page table entries which map the specified address. Reviewed by: alc (previous version) Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-10T07:00:46.472405Z K 7 svn:log V 309 Adjust the channel to correctly setup the HT flags when transitioning an IBSS VAP to RUN. An 11n IBSS was beaconing HTINFO/HTCAP IE's that didn't have any HT information setup (like the HT TX/RX MCS bitmask.) Tested: * AR9280, IBSS - both a statically setup channel and a scanned channel PR: kern/172955 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-12-10T11:26:18.523713Z K 7 svn:log V 153 MFC rr243398-243399: - core(5) references sysctl debug.num_cores, but it is really debug.ncores. - [mdoc] remove hard sentence breaks. PR: docs/173831 END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-12-10T12:19:03.834851Z K 7 svn:log V 195 Prevent long type overflow of realmem calculation on ILP32 by forcing calculation to be in quad_t space. Fix style issue with second parameter to qmin(). Reported by: alc Reviewed by: bde, alc END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-10T12:47:33.508672Z K 7 svn:log V 250 Merge r242474: Remove separate paragraph on ASCII messages and instead provide this information along with messages documentation, like this done in manual pages for other netgraph nodes. Submitted by: Mamontov Roman END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-10T13:08:14.705047Z K 7 svn:log V 105 NGM_NETFLOW_SHOW reports IPv6 flows as well. Submitted by: Dmitry Luhtionov END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-12-10T14:01:41.161900Z K 7 svn:log V 62 Use the right script and provide more error context on error. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-12-10T14:02:39.709947Z K 7 svn:log V 90 Really abort the whole run when pushing to the remote repos fails (only github currently) END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-12-10T14:10:00.713635Z K 7 svn:log V 85 Ignore more git metadata, we only want to track the gitconfigs used for these repos. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2012-12-10T14:13:44.161262Z K 7 svn:log V 380 Don't convert this very branch to git In a hilarious twist of irony, the addition of '.git' directories in r244030 broke the pushing to github, as it disallows people to upload git objects that contain ".git". While cloning from git.freebsd.org still works fine, you cannot checkout the user/uqs/git_conv branch, so drop it from the whole conversion ordeal. Noticed by: gcooper END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-12-10T14:36:48.102567Z K 7 svn:log V 1447 MFC recent ZFS changes from illumos: 243503, 243524, 243525, 243560, 243561 MFC r243503: Illumos 13879:4eac7a87eff2 3329 spa_sync() spends 10-20% of its time in spa_free_sync_cb() 3330 space_seg_t should have its own kmem_cache 3331 deferred frees should happen after sync_pass 1 3335 make SYNC_PASS_* constants tunable New loader-only tunables: vfs.zfs.sync_pass_deferred_free vfs.zfs.sync_pass_dont_compress vfs.zfs.sync_pass_rewrite References: https://www.illumos.org/issues/3329 https://www.illumos.org/issues/3330 https://www.illumos.org/issues/3331 https://www.illumos.org/issues/3335 MFC r243524: Import the zio nop-write improvement from Illumos. To reduce I/O, nop-write omits overwriting data if the checksum (cryptographically secure) of new data matches the checksum of existing data. It also saves space if snapshots are in use. It currently works only on datasets with enabled compression, disabled deduplication and sha256 checksums. IllumOS 13887:196932ec9e6a and 13888:7204b3392a58 3236 zio nop-write References: https://www.illumos.org/issues/3236 MFC r243525: Add loader(8) tunable to enable/disable nopwrite functionality: vfs.zfs.nopwrite_enabled MFC r243560: Introduce a new dataset aclmode setting "restricted" to protect ACL's being destroyed or corrupted by a drive-by chmod. illumos-gate 13889:a67716f16746 3254 add support in zfs for aclmode=restricted MFC r243561: Update manpage dates in zfs.8 and zpool.8 END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-12-10T14:37:18.364865Z K 7 svn:log V 1447 MFC recent ZFS changes from illumos: 243503, 243524, 243525, 243560, 243561 MFC r243503: Illumos 13879:4eac7a87eff2 3329 spa_sync() spends 10-20% of its time in spa_free_sync_cb() 3330 space_seg_t should have its own kmem_cache 3331 deferred frees should happen after sync_pass 1 3335 make SYNC_PASS_* constants tunable New loader-only tunables: vfs.zfs.sync_pass_deferred_free vfs.zfs.sync_pass_dont_compress vfs.zfs.sync_pass_rewrite References: https://www.illumos.org/issues/3329 https://www.illumos.org/issues/3330 https://www.illumos.org/issues/3331 https://www.illumos.org/issues/3335 MFC r243524: Import the zio nop-write improvement from Illumos. To reduce I/O, nop-write omits overwriting data if the checksum (cryptographically secure) of new data matches the checksum of existing data. It also saves space if snapshots are in use. It currently works only on datasets with enabled compression, disabled deduplication and sha256 checksums. IllumOS 13887:196932ec9e6a and 13888:7204b3392a58 3236 zio nop-write References: https://www.illumos.org/issues/3236 MFC r243525: Add loader(8) tunable to enable/disable nopwrite functionality: vfs.zfs.nopwrite_enabled MFC r243560: Introduce a new dataset aclmode setting "restricted" to protect ACL's being destroyed or corrupted by a drive-by chmod. illumos-gate 13889:a67716f16746 3254 add support in zfs for aclmode=restricted MFC r243561: Update manpage dates in zfs.8 and zpool.8 END K 10 svn:author V 6 dteske K 8 svn:date V 27 2012-12-10T15:29:56.201573Z K 7 svn:log V 134 Add support for comma-separated values (whitespace-separated still supported). PR: conf/121064 Submitted by: koitsu Reviewed by: jh END K 10 svn:author V 7 ghelmer K 8 svn:date V 27 2012-12-10T16:14:44.167023Z K 7 svn:log V 516 Changes to resolve races in bpfread() and catchpacket() that, at worst, cause kernel panics. Add a flag to the bpf descriptor to indicate whether the hold buffer is in use. In bpfread(), set the "hold buffer in use" flag before dropping the descriptor lock during the call to bpf_uiomove(). Everywhere else the hold buffer is used or changed, wait while the hold buffer is in use by bpfread(). Add a KASSERT in bpfread() after re-acquiring the descriptor lock to assist uncovering any additional hold buffer races. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-12-10T17:34:33.516636Z K 7 svn:log V 54 Improve style(9) compliance of function declarations. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-12-10T17:56:51.365944Z K 7 svn:log V 93 libc: Make various internal file descriptors close-on-exec. These are obtained via fopen(). END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-12-10T19:33:39.947886Z K 7 svn:log V 115 MFC: 238537,238552 Add support for walltimestamp in DTrace. Submitted by: Fabian Keil Includes correction by: avg END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-12-10T20:10:20.897665Z K 7 svn:log V 65 MFH at r244092. This rolls in the merge of NetBSD's pwcache(3). END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-10T20:44:09.664324Z K 7 svn:log V 494 Do not yield while owning a mutex. The Giant reacquire in the kern_yield() is problematic than. The owned mutex is the mount interlock, and it is in fact not needed to guarantee the stability of the mount list of active vnodes, so fix the the issue by only taking the mount interlock for MNT_REF and MNT_REL operations. While there, augment the unconditional yield by some amount of spinning [1]. Reported and tested by: pho Reviewed by: attilio Submitted by: attilio [1] MFC after: 3 days END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-12-10T20:52:52.086317Z K 7 svn:log V 135 Sync pf.os with OpenBSD: add a handful of linux signatures from p0fv2 and some other signatures from observation. MFC after: 2 weeks END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-12-10T21:18:02.116637Z K 7 svn:log V 165 MFC: 238979 When we return with an error we cannot unlock the mutex, because it's been freed. Protect against that, hopefully unlikely, case. Reviewed by: rpaulo END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-10T23:09:55.879912Z K 7 svn:log V 67 make sysctls kern.{bootfile,conftxt} read-only MFC after: 1 month END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-10T23:11:26.268508Z K 7 svn:log V 28 allow KASSERT to enter KDB. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-10T23:12:51.610972Z K 7 svn:log V 60 Add constant missed in r244099 KDB entered due to KASSERT. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-10T23:17:08.861355Z K 7 svn:log V 447 Add CTLFLAG_STATS to sysctl flags In preparation for sysctl(8) growing the ability to only print out boot/run-time tunables we need a way to differentiate between RW sysctl nodes that tune a particular thing, or simply export a stat that we want to allow the sysadmin to reset to 0 (or some other value). To do so, we add the CTLFLAG_STATS which should be OR'd into the CTLFLAGs when exporting a "writable/resettable" statistic node via sysctl. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-12-11T00:07:19.580045Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-11T00:10:20.158105Z K 7 svn:log V 100 back out half of 244098. kern.bootfile needs to be rw for installkernel. Pointed out by: kib, flo END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-12-11T01:12:29.008737Z K 7 svn:log V 145 In parse(): - Only operate on copy, don't operate on source. - Eliminate home-rolled strsep(). - Constify the parameter. MFC after: 2 weeks END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-11T01:23:50.852887Z K 7 svn:log V 385 Switch the hardwired WITNESS panics to kassert_panic. This is an ongoing effort to provide runtime debug information useful in the field that does not panic existing installations. This gives us the flexibility needed when shipping images to a potentially large audience with WITNESS enabled without worrying about formerly non-fatal LORs hurting a release. Sponsored by: iXsystems END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-11T01:28:06.640619Z K 7 svn:log V 278 Allow sysctl to filter boot and runtime tunables. Add the following flags to sysctl: -W - show only writable sysctls -T - show only tuneable sysctls This can be used to create a /var/run/sysctl.boot to compare set tunables versus booted tunables. Sponsored by: iXsystems END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-12-11T01:49:57.137213Z K 7 svn:log V 75 MFC r235767: Add missing header needed by free(). Reported by: tinderbox END K 10 svn:author V 5 kevlo K 8 svn:date V 27 2012-12-11T02:40:01.545233Z K 7 svn:log V 79 MFC r235771: Remove redundant declaration of yyparse. Reported by: tinderbox END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-12-11T04:19:51.325491Z K 7 svn:log V 191 There's no need to use a TXQ pointer here; we specifically need the hardware queue ID when queuing to EDMA descriptors. This is a small part of trying to reduce the size of ath_buf entries. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-11T05:11:28.061807Z K 7 svn:log V 74 MFC r243868: Do not allocate buffer of the 255 bytes length on the stack. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-11T05:59:16.090132Z K 7 svn:log V 116 Fix WITNESS when INVARIANT_SUPPORT is defined. This fixes tinderbox breakage from r244105. Pointed out by: adrian END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-11T07:08:14.144170Z K 7 svn:log V 134 Cleanup more of the kassert_panic. fix compile warnings on !amd64 and NULL derefs that would happen if kassert_panic() would return. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-11T08:37:08.526017Z K 7 svn:log V 361 Merge 1.127 from OpenBSD, that closes a regression from 1.125 (merged as r242694): do better detection of when we have a better version of the tcp sequence windows than our peer. this resolves the last of the pfsync traffic storm issues ive been able to produce, and therefore makes it possible to do usable active-active statuful firewalls with pf. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-12-11T09:38:12.929110Z K 7 svn:log V 152 Add pci id for the xeon hd4000 (IvyBridge server GT2) Submitted by: François Tigeot Obtained from: dragonfly MFC after: 3 days END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-12-11T12:32:11.745522Z K 7 svn:log V 1382 MFC r242936: Set optimized_out instead of reporting an error. This provides a better display when debugging code compiled with optimization on. GDB git revision e8395b4efd184f745070afb953f451f99e922be7 (prior to GDB's switch to GPLv3), modified for the interfaces provided by GDB 6.1.1. 2005-02-28 Daniel Jacobowitz * dwarf2loc.c (loclist_read_variable): Set optimized_out instead of reporting an error. * valprint.c (value_check_printable): New function. (common_val_print): New function. Use value_check_printable. (value_print): Use value_check_printable. * value.h (common_val_print): Add prototype. * c-valprint.c (c_val_print): Use common_val_print. * cp-valprint.c (cp_print_value_fields): Likewise. (cp_print_hpacc_virtual_table_entries): Likewise. * f-valprint.c (f_val_print): Likewise. * jv-valprint.c (java_value_print, java_print_value_fields): Likewise. * scm-valprint.c (scm_value_print): Likewise. * stack.c (print_frame_args): Likewise. * varobj.c (c_value_of_variable): Likewise. * p-valprint.c (pascal_val_print, pascal_value_print): Likewise. (pascal_object_print_value_fields): Likewise. Update call to pascal_object_print_static_field. (pascal_object_print_static_field): Remove TYPE argument. Use common_val_print. Sponsored by: ADARA Networks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-12-11T12:34:46.498807Z K 7 svn:log V 462 MFC r242943: Do not unwind past a zero PC frame. This improves GDB usability when debugging code compiled with optimization. Upstream GDB revision f0031b6d3ae9b164b3747986ab898190bd4dcf8c (prior to GDB's switch to GPLv3), with frame_debug_got_null_frame expanded inline. | 2004-12-12 Andrew Cagney | | * frame.c (get_prev_frame): When unwinding normal frames, check | that the PC isn't zero. Sponsored by: ADARA Networks END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-12-11T12:40:54.148373Z K 7 svn:log V 94 Revert r244108. yyparse() declaration isn't redundant in stable/9. Reported by: tinderbox :) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-12-11T12:57:08.878227Z K 7 svn:log V 1372 MFC r242936: Set optimized_out instead of reporting an error. This provides a better display when debugging code compiled with optimization on. GDB git revision e8395b4efd184f745070afb953f451f99e922be7 (prior to GDB's switch to GPLv3), modified for the interfaces provided by GDB 6.1.1. 2005-02-28 Daniel Jacobowitz * dwarf2loc.c (loclist_read_variable): Set optimized_out instead of reporting an error. * valprint.c (value_check_printable): New function. (common_val_print): New function. Use value_check_printable. (value_print): Use value_check_printable. * value.h (common_val_print): Add prototype. * c-valprint.c (c_val_print): Use common_val_print. * cp-valprint.c (cp_print_value_fields): Likewise. (cp_print_hpacc_virtual_table_entries): Likewise. * f-valprint.c (f_val_print): Likewise. * jv-valprint.c (java_value_print, java_print_value_fields): Likewise. * scm-valprint.c (scm_value_print): Likewise. * stack.c (print_frame_args): Likewise. * varobj.c (c_value_of_variable): Likewise. * p-valprint.c (pascal_val_print, pascal_value_print): Likewise. (pascal_object_print_value_fields): Likewise. Update call to pascal_object_print_static_field. (pascal_object_print_static_field): Remove TYPE argument. Use common_val_print. Sponsored by: ADARA Networks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-12-11T12:58:27.753444Z K 7 svn:log V 462 MFC r242943: Do not unwind past a zero PC frame. This improves GDB usability when debugging code compiled with optimization. Upstream GDB revision f0031b6d3ae9b164b3747986ab898190bd4dcf8c (prior to GDB's switch to GPLv3), with frame_debug_got_null_frame expanded inline. | 2004-12-12 Andrew Cagney | | * frame.c (get_prev_frame): When unwinding normal frames, check | that the PC isn't zero. Sponsored by: ADARA Networks END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-12-11T13:03:33.375778Z K 7 svn:log V 72 MFC r217749: Use string literal format strings to quiet clang warnings. END K 10 svn:author V 5 andre K 8 svn:date V 27 2012-12-11T13:51:05.944570Z K 7 svn:log V 170 Do not return ECONNABORTED on accept() when a connection has closed again already if there are more connections waiting. Instead loop and return the next from the queue. END K 10 svn:author V 6 eadler K 8 svn:date V 27 2012-12-11T18:39:53.749600Z K 7 svn:log V 239 Remove 'dangerous' instructions from the example make.conf. Clarify when and why these might be used and that this isn't a supported configuration. PR: docs/144488 Submitted by: amdmi3 Approved by: cperciva (implicit) MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2012-12-11T19:54:35.761347Z K 7 svn:log V 122 Similar to CTLFLAG_RDTUN, provide CTLFLAG_RWTUN that defines writable sysctl that can also be modified by loader tunable. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-12-11T20:08:57.417459Z K 7 svn:log V 94 Cleanup a few duplicate llvm libs that snuck in with the recent update. Noticed by: rdivacky END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-12-11T20:38:53.524904Z K 7 svn:log V 468 Sync with NetBSD as of 2012-12-10. They have accepted most of my compability changes. Drop the no-op -w support. The default behavior is better and if we do an MFC I'll implement the historic, awful behavior. Retain -T and encoding of glob characters. Also retain some FreeBSD specific foramtting differences. I'm seeking advice on retaining them under __FreeBSD__ or adding a -F flag. I've also discovered that there are formatting differences in the -d case. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-12-11T22:52:56.635394Z K 7 svn:log V 93 libc: Make various internal file descriptors close-on-exec. These are obtained via fopen(). END K 10 svn:author V 6 cherry K 8 svn:date V 27 2012-12-11T23:59:14.928283Z K 7 svn:log V 865 This change addresses a few issues related to the kernel pmap: - pte accesses are now possible by ad-hoc mapping of pte pages. XXX: vtopte() and friends assume dmap - vtop() and ptov() style functions ( essentialy v<->p map lookups for the kernel pmap ) are now able to consult the pv entry list and kernel object(s). We don't assume a fixed offset, although va == pa + KERNBASE is true for boottime pages and is guaranteed by the VM xen booloader and can be accessed via the PTOV() and VTOP() macros. This may be revamped in future. - XXX: kernel pte machine page pointers (returned via pmap_kextract_ma()) seem to have their LSBs set. ptes are aligned at 8bytes (64bits) on x86_64, so this is a bit mysterious. Masking out the entry pointers seem to work for now, but I need to reinvestigate this. Approved by: gibbs (implicit) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-12-12T00:39:04.853269Z K 7 svn:log V 743 MFC r243904: Don't call bus_dmamap_load in CAM_DIR_NONE case, since there is nothing to map, and technically this isn't allowed. Functionally, it works OK (at least on x86) to call bus_dmamap_load with a NULL data pointer and zero length, so this is primarily for correctness and consistency with other drivers. While here, remove check in isci_io_request_construct for nseg==0. Previously, bus_dmamap_load would pass nseg==1, even for case where buffer is NULL and length = 0, which allowed CAM_DIR_NONE CCBs to get processed. This check is not correct though, and needed to be removed both for the changes elsewhere in this patch, as well as jeff's preliminary bus_dmamap_load_ccb patch (which uncovered all of this in the first place). END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-12-12T00:39:32.680343Z K 7 svn:log V 743 MFC r243904: Don't call bus_dmamap_load in CAM_DIR_NONE case, since there is nothing to map, and technically this isn't allowed. Functionally, it works OK (at least on x86) to call bus_dmamap_load with a NULL data pointer and zero length, so this is primarily for correctness and consistency with other drivers. While here, remove check in isci_io_request_construct for nseg==0. Previously, bus_dmamap_load would pass nseg==1, even for case where buffer is NULL and length = 0, which allowed CAM_DIR_NONE CCBs to get processed. This check is not correct though, and needed to be removed both for the changes elsewhere in this patch, as well as jeff's preliminary bus_dmamap_load_ccb patch (which uncovered all of this in the first place). END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-12-12T00:39:54.182594Z K 7 svn:log V 743 MFC r243904: Don't call bus_dmamap_load in CAM_DIR_NONE case, since there is nothing to map, and technically this isn't allowed. Functionally, it works OK (at least on x86) to call bus_dmamap_load with a NULL data pointer and zero length, so this is primarily for correctness and consistency with other drivers. While here, remove check in isci_io_request_construct for nseg==0. Previously, bus_dmamap_load would pass nseg==1, even for case where buffer is NULL and length = 0, which allowed CAM_DIR_NONE CCBs to get processed. This check is not correct though, and needed to be removed both for the changes elsewhere in this patch, as well as jeff's preliminary bus_dmamap_load_ccb patch (which uncovered all of this in the first place). END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-12-12T01:05:19.289487Z K 7 svn:log V 301 MFC r244057, r244059: r244057: Get 'uname -r' earlier, so it can be used to determine what branch is being run to set BSDINSTALL_DISTSITE accordingly. This change allows non-RELEASE branches to use the FTP snapshots directory for bootonly.iso installations. r244059: Add missed BETA* to list. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-12-12T01:50:58.172431Z K 7 svn:log V 114 Add -R, an option to restart all enabled "local" services. Discussed on: -rc@ (in September) MFC after: 2 months END K 10 svn:author V 6 alfred K 8 svn:date V 27 2012-12-12T02:55:40.666766Z K 7 svn:log V 182 Make Tflag and Wflag filters work for more sysctl options. To do this move the Tflag and Wflag checks earlier in show_var() so we bail earlier for variables not matching our query. END K 10 svn:author V 4 grog K 8 svn:date V 27 2012-12-12T04:18:25.698439Z K 7 svn:log V 67 Handle large negative block counts correctly. MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-12T05:00:26.969062Z K 7 svn:log V 23 MFC r244053: Fix typo. END K 10 svn:author V 6 bryanv K 8 svn:date V 27 2012-12-12T05:01:01.123552Z K 7 svn:log V 200 virtio_scsi: Remove duplicated lines These must have been accidently copied from the if statement a few lines later. Also remove parameter name from function prototype. Approved by: grehan (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-12-12T05:02:56.272613Z K 7 svn:log V 37 MFC r244054: Remove useless comment. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-12T05:21:04.341588Z K 7 svn:log V 176 Create the errorlogs/ dir for the webserver if it does not exist. Note that due to packagestats, this directory needs to be owned by a general user, not a ports-specific one. END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-12-12T07:19:14.989064Z K 7 svn:log V 887 Merge r232639 Original commit: Add support for the MosChip MCS9904 four serial ports controller. PR: 165804 Submitted by: Eugene Grosbein MFC after: 1 week Modified: head/sys/dev/uart/uart_bus_pci.c Modified: head/sys/dev/uart/uart_bus_pci.c ============================================================================== --- head/sys/dev/uart/uart_bus_pci.c Wed Mar 7 06:25:17 2012 (r232638) +++ head/sys/dev/uart/uart_bus_pci.c Wed Mar 7 06:42:21 2012 (r232639) @@ -126,6 +126,8 @@ static struct pci_id pci_ns8250_ids[] = "MosChip MCS9900 PCIe to Peripheral Controller", 0x10 }, { 0x9710, 0x9901, 0xa000, 0x1000, "MosChip MCS9901 PCIe to Peripheral Controller", 0x10 }, +{ 0x9710, 0x9904, 0xa000, 0x1000, + "MosChip MCS9904 PCIe to Peripheral Controller", 0x10 }, { 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 }, { 0xffff, 0, 0xffff, 0, NULL, 0, 0} }; END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-12-12T07:22:50.670204Z K 7 svn:log V 884 MFC r232639 Original commit: Add support for the MosChip MCS9904 four serial ports controller. PR: 165804 Submitted by: Eugene Grosbein MFC after: 1 week Modified: head/sys/dev/uart/uart_bus_pci.c Modified: head/sys/dev/uart/uart_bus_pci.c ============================================================================== --- head/sys/dev/uart/uart_bus_pci.c Wed Mar 7 06:25:17 2012 (r232638) +++ head/sys/dev/uart/uart_bus_pci.c Wed Mar 7 06:42:21 2012 (r232639) @@ -126,6 +126,8 @@ static struct pci_id pci_ns8250_ids[] = "MosChip MCS9900 PCIe to Peripheral Controller", 0x10 }, { 0x9710, 0x9901, 0xa000, 0x1000, "MosChip MCS9901 PCIe to Peripheral Controller", 0x10 }, +{ 0x9710, 0x9904, 0xa000, 0x1000, + "MosChip MCS9904 PCIe to Peripheral Controller", 0x10 }, { 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 }, { 0xffff, 0, 0xffff, 0, NULL, 0, 0} }; END K 10 svn:author V 5 remko K 8 svn:date V 27 2012-12-12T07:24:37.314315Z K 7 svn:log V 168 MFC r232639 Original commit: Add support for the MosChip MCS9904 four serial ports controller. PR: 165804 Submitted by: Eugene Grosbein MFC after: 1 week END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-12T07:28:17.617125Z K 7 svn:log V 135 Allow arch to be passed in as a parameter. Keep "all" the default for backwards compatibility, although this should not be necessary. END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-12-12T07:29:38.046665Z K 7 svn:log V 111 Convert do-cleanup-chroots to take a parameter. This is part of refactoring this crontab into various pieces. END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-12-12T08:35:32.535100Z K 7 svn:log V 337 Implement an API to allow a hypervisor to save/restore guest floating point state without having to know the size of floating-point state. Unstaticize fpurestore to allow the hypervisor to save/restore guest state using fpusave/fpurestore on the allocated FPU state area. Reviewed by: kib Obtained from: NetApp/bhyve MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-12T11:44:20.734843Z K 7 svn:log V 90 Add quirks for AD1984A codec and Lenovo X300 laptop. PR: kern/148741 MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-12-12T11:53:15.019865Z K 7 svn:log V 218 Add IDs for SATA controllers on AMD Hudson-2 series chipsets. I am not exactly sure about the naming due to lack of specs on AMD site, but it is better to have some identification then none at all. MFC after: 1 month END