ĵ238747 170 130 124 397 130 302 295 145 153 687 434 184 233 161 161 162 149 239 239 322 356 165 216 713 193 232 227 276 159 266 303 272 852 146 387 307 291 381 454 338 236 150 156 183 286 510 194 187 164 433 599 156 173 175 126 222 203 734 278 459 174 157 171 150 523 277 1255 306 233 109 140 136 128 112 127 246 303 398 666 297 176 160 198 343 108 139 386 127 240 138 220 248 223 410 145 148 434 403 143 182 212 176 228 259 189 615 163 244 139 161 118 215 388 163 110 1292 309 302 351 284 139 209 247 3655 315 738 225 160 153 284 622 179 174 147 265 185 307 139 588 948 1735 313 832 225 214 190 363 263 348 244 292 257 124 121 337 123 118 289 619 596 444 655 120 255 688 110 216 1630 183 177 292 K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-24T19:00:36.237992Z K 7 svn:log V 36 Vendor import of BIND 9.6-ESV-R7-P2 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-24T19:00:56.419751Z K 7 svn:log V 30 Tag the 9.6-ESV-R7-P2 release END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-24T19:04:35.415146Z K 7 svn:log V 302 Heavy DNSSEC Validation Load Can Cause a "Bad Cache" Assertion Failure in BIND9 High numbers of queries with DNSSEC validation enabled can cause an assertion failure in named, caused by using a "bad cache" data structure before it has been initialized. CVE: CVE-2012-3817 Posting date: 24 July, 2012 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-24T19:08:12.047166Z K 7 svn:log V 36 Update to reflect new svn realities END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-24T19:10:43.880698Z K 7 svn:log V 205 MFC r227316: Add KVME_FLAG_SUPER and use it in sysctl_kern_proc_vmmap for marking entries with superpages. Submitted by: Mel Flynn Reviewed by: alc, rwatson END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-24T19:11:50.936684Z K 7 svn:log V 198 MFC r227317, r227355: When displaying process virtual memory mappings print superpage mapping flag. Submitted by: Mel Flynn Reviewed by: alc, rwatson END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-24T19:40:12.813518Z K 7 svn:log V 49 Align the header with output. MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-24T20:15:41.984948Z K 7 svn:log V 59 Improve messages for processing of dependent ports when -r END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-07-24T22:10:11.654115Z K 7 svn:log V 588 Add rmb() to tsc_read_##x to enforce serialization of rdtsc captures. Intel Architecture Manual specifies that rdtsc instruction is not serialized, so without this change, TSC synchronization test would periodically fail, resulting in use of HPET timecounter instead of TSC-low. This caused severe performance degradation (40-50%) when running high IO/s workloads due to HPET MMIO reads and GEOM stat collection. Tests on Xeon E5-2600 (Sandy Bridge) 8C systems were seeing TSC synchronization fail approximately 20% of the time. Sponsored by: Intel Reviewed by: kib MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-24T22:32:03.222365Z K 7 svn:log V 339 MFV r238744: Heavy DNSSEC Validation Load Can Cause a "Bad Cache" Assertion Failure in BIND9 High numbers of queries with DNSSEC validation enabled can cause an assertion failure in named, caused by using a "bad cache" data structure before it has been initialized. CVE: CVE-2012-3817 Posting date: 24 July, 2012 Approved by: re (kib) END K 10 svn:author V 5 jceel K 8 svn:date V 27 2012-07-24T22:48:12.494797Z K 7 svn:log V 90 Make arm_process_devmap() able to map FDT device nodes which are placed directly on root. END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-07-25T00:21:16.496425Z K 7 svn:log V 139 Verify that VMX operation has been enabled by BIOS before executing the VMXON instruction. Reported by "s vas" on freebsd-virtualization@ END K 10 svn:author V 4 neel K 8 svn:date V 27 2012-07-25T01:05:49.194311Z K 7 svn:log V 68 Fix compilation error when compiling a kernel without KDTRACE_HOOKS END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-25T01:57:53.452612Z K 7 svn:log V 65 Revert r238715, the revision breaks firefox. Reported by: dougb END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-25T02:05:59.303355Z K 7 svn:log V 66 Release a reference count in case priority needn't to be changed. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-07-25T02:09:06.822448Z K 7 svn:log V 53 Use target thread's scheduling policy not current's. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-25T06:04:38.316045Z K 7 svn:log V 146 Preen unused Makefiles, programs and ftdump.c which has been renamed to fdtdump.c in the upstream repo. This escaped my attention in the import. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-25T10:55:14.198940Z K 7 svn:log V 141 MFC: r238574 Fix a small memory leak in mpssas_get_sata_identify(). The change has been submitted upstream as well. Approved by: re (kib) END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-07-25T11:28:15.011251Z K 7 svn:log V 227 Use legacy interrupts as a default. This gives up to 10% speedup when used in qemu (and this driver is for non-PCIe cards, so probably its largest use is in virtualized environments). Approved by: Jack Vogel MFC after: 3 days END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-07-25T11:33:43.586680Z K 7 svn:log V 261 Update the list of devices supported by uplcom. Although this only adds one device (support for Motorola cables), this syncronises us with: OpenBSD src/sys/dev/usb/uplcom.c 1.56 NetBSD src/sys/dev/usb/uplcom.c 1.73 Linux kernel.org HEAD MFC after: 1 week END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-07-25T11:50:36.983261Z K 7 svn:log V 67 Update test.sh for 006 test case to use correct flag for MeshGate. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-25T12:06:52.282156Z K 7 svn:log V 118 MFC: r238574 Fix a small memory leak in mpssas_get_sata_identify(). The change has been submitted upstream as well. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-25T12:14:39.684899Z K 7 svn:log V 621 Fix a problem when CARP is enabled on the interface for IPv4 but not for IPv6. The current checks in nd6_nbr.c along with the old version will result in ifa being NULL and subsequently the packet will be dropped. This prevented NS/NA, from working and with that IPv6. Now return the ifa from the carp lookup function in two cases: 1) if the address matches, is a carp address, and we are MASTER (as before), 2) if the address matches but it is not a carp address at all (new). Reported by: Peter Wemm (new Y! FreeBSD cluster, eating our own dogfood) Tested on: New Y! FreeBSD cluster machines Reviewed by: glebius END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-07-25T12:51:33.420965Z K 7 svn:log V 99 remove some extra testing code that slipped into the previous commit Reported-by: Alexander Motin END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-07-25T13:05:11.041284Z K 7 svn:log V 136 MFC r238705: Correct ugen.4 to show that it has been integrated into usb(4). Also fix some punctuation errors. Approved by: re (kib) END K 10 svn:author V 6 wblock K 8 svn:date V 27 2012-07-25T13:11:36.952730Z K 7 svn:log V 131 MFC r238705: Correct ugen.4 to show that it has been integrated into usb(4). Also fix some punctuation errors. Approved by: hps END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-07-25T17:15:52.073870Z K 7 svn:log V 179 In VOP_RMDIR and VOP_REMOVE the last comonent name will be used, thus when doing lookup the buffer must not be freed when nameiop == DELETE. Reported by: pho Tested by: pho, flo END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-07-25T17:25:44.943854Z K 7 svn:log V 65 Update supported hardware list after r238766. MFC after: 1 week END K 10 svn:author V 4 fjoe K 8 svn:date V 27 2012-07-25T17:42:57.339626Z K 7 svn:log V 172 MFC: r227457, r237350, r237357 Add support for the following Moxa PCIe multiport serial boards: - CP102E - CP102EL - CP104EL-A - CP104JU - CP114EL - CP118EL-A - CP168EL-A END K 10 svn:author V 3 gnn K 8 svn:date V 27 2012-07-25T17:49:01.097277Z K 7 svn:log V 210 Revert previous commit. The bug was actually caused by an issue in pre 1.8.5 versions of sudo which were sending too many SIGINTs to processes when the user hit Ctrl-C. Pointed out by: avg@, rpaulo@, sbruno@ END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-25T19:18:28.711162Z K 7 svn:log V 180 MFC r238700: Fix a bug introduced in r221129 that leads to a panic when using bundled SAs. For now allow same address family bundles. PR: kern/164400 Approved by: re (kib) END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-07-25T20:46:22.062458Z K 7 svn:log V 757 The baud rate on CP1201/2/3 devices can be set in one of two ways: - The USLCOM_SET_BAUD_DIV command (0x01) - The USLCOM_SET_BAUD_RATE command (0x13) Devices based on the CP1204 will only accept the latter command, and ignore the former. As the latter command works on all chips that this driver supports, switch to always using it. A slight confusion here is that the previously used command was incorrectly named USLCOM_BAUD_RATE - even though we no longer use it, rename it to USLCOM_SET_BAUD_DIV to closer match the name used in the datasheet. This change reflects a similar change made in the Linux driver, which was submitted by preston.fick at silabs.com, and has been tested on all of the uslcom(4) devices I have to hand. MFC after: 2 weeks END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-07-25T21:32:55.461148Z K 7 svn:log V 52 Add vendor.product for a mouse I have laying around END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-25T21:59:10.792905Z K 7 svn:log V 291 find: Implement real -ignore_readdir_race. If -ignore_readdir_race is present, [ENOENT] errors caused by deleting a file after find has read its name from a directory are ignored. Formerly, -ignore_readdir_race did nothing. PR: bin/169723 Submitted by: Valery Khromov and Andrey Ignatov END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-07-25T22:17:44.461877Z K 7 svn:log V 211 Add a new man page containing details of new locale-specific functions for wctype.h, iswalnum_l(3). Add it and its functions to the Makefile. Reviewed by: gavin, jilles Approved by: theraven MFC after: 5 days END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-07-26T03:50:24.339805Z K 7 svn:log V 196 Replace code that toggles between 53 and 64 bits on i386 class hardware with the ENTERI and RETURNI macros, which are now available in math_private.h. Suggested by: bde Approved by: das (mentor) END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-07-26T03:59:33.639365Z K 7 svn:log V 286 * ld80/expl.c: . Remove a few #ifdefs that should have been removed in the initial commit. . Sort fpmath.h to its rightful place. * ld128/s_expl.c: . Replace EXPMASK with its actual value. . Sort fpmath.h to its rightful place. Requested by: bde Approved by: das (mentor) END K 10 svn:author V 5 kargl K 8 svn:date V 27 2012-07-26T04:05:08.778563Z K 7 svn:log V 359 Replace the macro name NUM with INTERVALS. This change provides compatibility with the INTERVALS macro used in the soon-to-be-commmitted expm1l() and someday-to-be-committed log*l() functions. Add a comment into ld128/s_expl.c noting at gcc issue that was deleted when rewriting ld80/e_expl.c as ld128/s_expl.c. Requested by: bde Approved by: das (mentor) END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-26T05:35:10.096869Z K 7 svn:log V 245 Update partitions to reflect "sam9 demo" defaults. Update i2c devices to just include the eeprom. Update dataflash chip select to be CS 1 (this doesn't work yet and needs changes to at91_spi and the spibus infrastructure). Fix typo in comment. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-26T05:37:36.987617Z K 7 svn:log V 143 Fix typo in comment. spibus uses cs= rather than addr=, so fix hints to use that (nop since spibus cs defaults to 0, and at91_spi assumes 0). END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-26T05:46:56.417409Z K 7 svn:log V 58 Some models have 6 USARTS + DBGU. Set a consistent name. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-07-26T08:01:25.226311Z K 7 svn:log V 61 Add support for the Atmel AT91SAM9G45 CPU. Reviewed by: imp END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-07-26T08:05:28.519175Z K 7 svn:log V 88 Add support for the DesignA Electronics Snapper9g45 System on Module. Reviewed by: imp END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-26T08:10:29.236570Z K 7 svn:log V 190 Fix the sctp_sockstore union such that userland programs don't depend on INET and/or INET6 to be defined and in-tune with how the kernel was compiled. MFC after: 3 days Discussed with: rrs END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-26T09:06:48.688076Z K 7 svn:log V 417 Do not requeue held page or page for which locking failed, just leave them alone. Process the act_count updates for the held pages in the vm_pageout loop over the inactive queue, instead of refusing to do anything with such page. Clarify the intent of the addl_page_shortage counter and change its use for pages which are not processed in the loop according to the description. Reviewed by: alc MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-26T09:11:37.037989Z K 7 svn:log V 101 MFamd64 r238623: Introduce curpcb magic variable. Requested and reviewed by: bde MFC after: 3 weeks END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-26T09:13:47.291958Z K 7 svn:log V 90 MFC: r238393 Add and utilize defines for the ATA device register. Approved by: re (kib) END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2012-07-26T09:27:00.964095Z K 7 svn:log V 67 MFC: r238393 Add and utilize defines for the ATA device register. END K 10 svn:author V 4 ache K 8 svn:date V 27 2012-07-26T10:10:54.857736Z K 7 svn:log V 339 Try to avoid all files dependence on the modification time of the large and often modified directory created symbolic links points to - it cause unnecessary full rebuilds each time make runs when directory is changed. So do it only if symbolic link does not exists, which usually means that objdir is clean anyway. MFC after: 1 week END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-07-26T10:41:48.988154Z K 7 svn:log V 507 Cherry-pick vendor changes to mdoc: : 2012-07-17 Ingo Schwarze : : [mdoc] Make `Fl' correctly restore fonts. : : * tmac/doc.tmac (doc-flag-recursion): Do it. : : 2012-01-25 Ingo Schwarze : : [mdoc] * tmac/doc-syms: Fix meaning of XBD acronym. : : 2012-01-03 Kristaps Dzonsons : : [mdoc] Add `-isoC-2011'. : : * tmac/doc-syms (doc-str-St--isoC-2011): Add it. : * tmac/groff_mdoc.man: Document it. END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-07-26T10:47:26.017143Z K 7 svn:log V 58 Added test 007 (intermediate) PREP reply for proxy entry. END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-07-26T10:58:30.380938Z K 7 svn:log V 82 Backed out r236255, and added FreeBSD 9.1 support to mdoc(7) to where it belongs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-07-26T11:10:25.904248Z K 7 svn:log V 84 Backed out r228904, and added libstdthreads support to mdoc(7) to where it belongs. END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-07-26T11:12:38.512062Z K 7 svn:log V 35 Pull up vendor changes to mdoc(7). END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-07-26T11:51:29.468994Z K 7 svn:log V 125 Add OS X 10.8. Although they dropped the 'Mac' in this version, prefer to stick with it for consistency. Reviewed by: maxim END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-07-26T12:04:11.891902Z K 7 svn:log V 106 Update the 'C1x draft' reference to '.St -isoC-2011' mdoc macro. Reviewed by: theraven MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-07-26T12:10:19.157148Z K 7 svn:log V 639 Add support for more devices to uslcom(4). This commit syncronises the list of supported devices with the union of: NetBSD src/sys/dev/usb/uslsa.c 1.18 OpenBSD src/sys/dev/usb/uslcom.c 1.24 Linux source/drivers/usb/serial/cp210x.c HEAD Remove duplicate JABLOTRON PC60B entry. Note that some of the devices added here are multi-port devices. The uslcom(4) driver currently only supports the first port on such devices. Update the man page to reflect the full list of supported devices. Remove two caveats from the CAVEATS section, as both listed caveats no longer apply. Add a caveat about multi-port devices. MFC after: 2 weeks END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-07-26T12:18:23.806856Z K 7 svn:log V 183 Improve descriptions for several devices supported by uslcom(4). Correct the spelling of the company Telegesis. Move MpMan to the correct location alphabetically. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-26T13:44:48.997256Z K 7 svn:log V 366 Refactor enclosure manegement support in ahci(4). Move it out into separate subdevice ahciem. Emulate SEMB SES device from AHCI LED interface to expose it to users in form of ses(4) CAM device. If we ever see AHCI controllers supporting SES of SAF-TE over I2C as described by specification, they should fit well into this new picture. Sponsored by: iXsystems, Inc. END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-07-26T13:58:43.565169Z K 7 svn:log V 79 Switch to using FC-Tape firmware. Sponsered by: Spectralogic MFC after: 1 week END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-07-26T14:03:29.691242Z K 7 svn:log V 59 Added test 008 - mesh should be empty when peer goes down. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-07-26T14:46:19.793146Z K 7 svn:log V 78 Start manpage with Dd macro and also remove a trailing whitespace while here. END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2012-07-26T15:29:08.005835Z K 7 svn:log V 52 Added test 009 - test mesh peer code w/ ACL policy. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-07-26T15:48:07.221929Z K 7 svn:log V 430 Drop non-portable libedit's el_data_set() and el_data_get() for private data. We can set/get private data with the documented el_get() and el_set() so there's no need for our local extensions, which never received much use anyway. While here, also re-arrange the call to term_init_arrow. This was left over from r89735 but is not required anymore. This changes reduce differences against NetBSD's libedit. MFC after: 2 months END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-26T16:34:21.453598Z K 7 svn:log V 184 Trim read/write sizes to 128 bytes. Pages are only 128 bytes in size. Writes larger than this will wrap to the same page. Reads larger than this are permitted, but why take chances. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-07-26T16:45:28.457433Z K 7 svn:log V 1159 Add support for VALE bridges to the netmap core, see http://info.iet.unipi.it/~luigi/vale/ VALE lets you dynamically instantiate multiple software bridges that talk the netmap API (and are *extremely* fast), so you can test netmap applications without the need for high end hardware. This is particularly useful as I am completing a netmap-aware version of ipfw, and VALE provides an excellent testing platform. Also, I also have netmap backends for qemu mostly ready for commit to the port, and this too will let you interconnect virtual machines at high speed without fiddling with bridges, tap or other slow solutions. The API for applications is unchanged, so you can use the code in tools/tools/netmap (which i will update soon) on the VALE ports. This commit also syncs the code with the one in my internal repository, so you will see some conditional code for other platforms. The code should run mostly unmodified on stable/9 so people interested in trying it can just copy sys/dev/netmap/ and sys/net/netmap*.h from HEAD VALE is joint work with my colleague Giuseppe Lettieri, and is partly supported by the EU Projects CHANGE and OPENLAB END K 10 svn:author V 6 issyl0 K 8 svn:date V 27 2012-07-26T17:30:34.564445Z K 7 svn:log V 210 The ad(4) driver no longer exists in FreeBSD CURRENT or 9, so change the references to it in gsched(8) to the existing ada(4) driver. PR: docs/170085 Submitted by: olgeni Approved by: gavin MFC after: 5 days END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-07-26T18:13:21.931097Z K 7 svn:log V 137 Introduce tsleep_bt() function as part of the sleep(9) KPI. Use it in kern_nanosleep() so that we don't need to duplicate _sleep() code. END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-07-26T18:15:48.017465Z K 7 svn:log V 14 Fix a braino. END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-07-26T19:18:26.026780Z K 7 svn:log V 49 Synced mdoc(7) with head. Approved by: re (kib) END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-07-26T20:41:36.793554Z K 7 svn:log V 40 Document -g option in the usage string. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-07-26T21:37:58.613870Z K 7 svn:log V 34 define prefetch as a noop on !x86 END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-27T05:24:09.743412Z K 7 svn:log V 20 Minor style(9) nit. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-27T05:28:02.353607Z K 7 svn:log V 35 Add (back?) ohci atmel attachment. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-27T05:33:55.250086Z K 7 svn:log V 153 Turns out the ETHERNUT5 isn't anything like the SAM9260-EK. Make this board init match better: UART1 instead of UART2, No RMMI, no SPI0, SPI1 comments. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T05:34:45.418881Z K 7 svn:log V 207 Refactor out the descriptor allocation code from the buffer allocation code. The TX EDMA completion path is going to need descriptors allocated but not any buffers. This code will form the basis for that. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-27T05:37:01.444393Z K 7 svn:log V 305 Document the dataflash/mmc-sd issue. Add umass driver and usb. Boot off da0s1a instead of ate0. Note that MMC/SD is slot B. Until I switch over to NAND boot, dataflash booting will preclude having SD cards inserted at boot, so this last bit is untested. My SAM9260-EK not boots to multi-user prompt. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T05:48:42.021342Z K 7 svn:log V 570 Migrate the descriptor allocation function to not care about the number of buffers, only the number of descriptors. This involves: * Change the allocation function to not use nbuf at all; * When calling it, pass in "nbuf * ndesc" to correctly update how many descriptors are being allocated. Whilst here, fix the descriptor allocation code to correctly allocate a larger buffer size if the Merlin 4KB WAR is required. It overallocates descriptors when allocating a block that doesn't ever have a 4KB boundary being crossed, but that can be fixed at a later stage. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-27T08:24:12.007731Z K 7 svn:log V 205 Update libarchive's vendor dist to version 3.0.4 from release branch. Git branch: release Git commit: 8076b31490c90aaf0edccecf760004c30bd95edc Obtained from: https://github.com/libarchive/libarchive.git END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-07-27T08:25:37.848295Z K 7 svn:log V 80 Allow PKGNG line to be commented out in make.conf, and check its value as well. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-27T08:28:44.891358Z K 7 svn:log V 69 Update information on obtaining libarchive sources and FreeBSD-Xlist END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-27T09:16:48.513845Z K 7 svn:log V 101 Add assertion for refcount overflow. Submitted by: Andrey Zonov Reviewed by: kib END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-07-27T09:35:06.584370Z K 7 svn:log V 249 MFC: r238461 Make pkg bootstrap program ask for confirmation before proceeding. The previous behaviour was to silently download and install the pkg package, without ever telling user about what it was doing and why. Approved by: re, des (mentor) END K 10 svn:author V 2 ae K 8 svn:date V 27 2012-07-27T10:06:47.595716Z K 7 svn:log V 17 Sync with head/. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-07-27T10:31:26.202785Z K 7 svn:log V 45 remove unused definition, whitespace cleanup END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T10:38:17.256281Z K 7 svn:log V 290 Modify ath_descdma_cleanup() to handle ath_descdma instances with no buffers. ath_descdma is now being used for things other than the classical combination of ath_buf + ath_desc allocations. In this particular case, don't try to free and blank out the ath_buf list if it's not passed in. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-27T10:39:30.079780Z K 7 svn:log V 36 Tag vendor/libarchive/dist as 3.0.4 END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-27T10:41:10.505542Z K 7 svn:log V 147 Add F_DUP2FD_CLOEXEC. Apparently Solaris 11 already did this. Submitted by: Jukka A. Ukkonen PR: standards/169962 MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-27T10:41:53.334794Z K 7 svn:log V 46 Document F_DUP2FD_CLOEXEC. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T10:41:54.581127Z K 7 svn:log V 124 Allocate a descriptor ring for EDMA TX completion status. Configure the hardware with said ring physical address and size. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-07-27T10:52:21.247012Z K 7 svn:log V 153 use __builtin_prefetch() for prefetch. merge in the remaining part of the linux-specific glue so i do not need to maintain two different distributions. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T11:23:24.441189Z K 7 svn:log V 127 Bring this API in line with what the reference driver and Linux ath9k was doing. Obtained from: Qualcomm Atheros, Linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T11:43:10.234186Z K 7 svn:log V 314 Introduce a couple more fields in the rate scenario setup as part of (future) TPC support in the AR9300 HAL. This is effectively a no-op for the moment as (a) TPC isn't really supported, (b) the AR9300 HAL isn't yet public, and (c) the existing HAL code doesn't use these fields. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T11:44:48.609876Z K 7 svn:log V 50 Add some comments about what the two fields mean. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T11:45:57.951553Z K 7 svn:log V 53 Add a STBC TX flag. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T11:54:05.704869Z K 7 svn:log V 338 Add STBC TX support for AR5416 HAL chips. Specifically, however: * AR9280 and later support 1-stream STBC RX; * AR9280 and AR9287 support 1-stream STBC TX. The STBC support isn't announced (yet) via net80211 and it isn't at all chosen by the rate control code, so there's no real consumer of this yet. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-27T12:08:49.609190Z K 7 svn:log V 307 Tidy up the TX status fields a little and add a couple new flags. * shuffle things around so things fall on natural padding boundaries; * add a couple of new flags to specify LDPC and whether to switch to the low power RX chain configuration after this TX has completed. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-27T13:57:28.573512Z K 7 svn:log V 48 Add version so others can depend on this module END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-07-27T14:48:41.453268Z K 7 svn:log V 86 Remember not to check in test lines that don't work in production. Reminded by: bapt END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-27T16:38:02.386254Z K 7 svn:log V 119 Add new at91sam9g45 support and sn9g45 board to the ATMEL kernel. Adapt SN9G45 board support to cope with multi-board. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-27T17:07:54.096532Z K 7 svn:log V 84 Neither of these systems has PCI, but they do have ohci interface, so fix comments. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-27T17:28:11.447260Z K 7 svn:log V 135 Make this compile again. Also note that it is AT91RM9200+KB9202B specific still and needs some love to make it work on anything else. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-27T17:31:19.046973Z K 7 svn:log V 166 Add the usb device (gadget) side of things. Also add ehci bindings while I'm here in anticipation of usb2 support for newer SoCs. Requested by: Hans Petter Selasky END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-27T17:32:01.445429Z K 7 svn:log V 97 Add gadget devices. Not yet added to the child lists, but here to keep things from bit-rotting. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-27T18:23:11.988056Z K 7 svn:log V 519 Pull the tier-2 card and change the sparc64 ZFS loader to no longer probe all diskN aliases for providers (which more or less corresponds to how the x86 version behaves) but instead probe only those listed in the boot-device OFW environment variable. This has the following advantages: - avoids otherwise unavoidable OFW warnings about failures to open disks for which aliases exist but no actual hardware is connected - avoids issues due to different diskN naming schemes - aligns us with Solaris MFC after: 3 days END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-27T19:56:36.926273Z K 7 svn:log V 67 MFC r238753: Align the header with output. Approved by: re (kib) END K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-07-27T21:38:14.566385Z K 7 svn:log V 148 Correct BUGS description of static buffer use Since r142667 strerror has unconditionally returned a pointer to a static buffer. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-28T04:40:52.212531Z K 7 svn:log V 44 Add a missing call to ath_txdma_teardown(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-28T04:42:05.897902Z K 7 svn:log V 66 Flesh out the initial TX FIFO storage for each hardware TX queue. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-28T06:38:44.010245Z K 7 svn:log V 27 Update libarchive to 3.0.4 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-28T07:25:00.304493Z K 7 svn:log V 119 Commit missing #define from a previous check-in. The AR9300 and later have an 8-deep TX FIFO for each hardware queue. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-28T07:28:08.863248Z K 7 svn:log V 292 Flesh out the multi-rate retry capability. The existing method for testing for MRR is to call the "SetupXTXDesc" HAL method and see if it returns AH_TRUE or AH_FALSE. This capability explicitly lists what number of multi-rate attempts are possible. "1" means "one rate attempt supported". END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-07-28T07:42:30.512911Z K 7 svn:log V 68 Allow sort to compile on ARM by fixing the wchar_t/wint_t type used END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-07-28T07:56:23.061207Z K 7 svn:log V 15 MFC to r238858 END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-07-28T11:09:03.030638Z K 7 svn:log V 1194 Merge FreeBSD/beri Perforce change @211945 to head: Modify MIPS page table entry (PTE) initialisation so that cachability bits are set only once, using is_cacheable_mem() to determine what caching properties are required, rather than also unconditionally setting PTE_C_CACHE in init_pte_prot(). As PTE_C_CACHE | PTE_C_UNCACHED == PTE_C_CACHE, this meant that all userspace memory mappings of device memory (incorrectly) used caching TLB entries. This is arguably not quite what we want, even though it is (more) consistent with the MIPS pmap design: PTE caching properties should be derived from machine-independent page table attributes, but this is a substantially more complex change as the MIPS pmap doesn't yet know about page attributes, causing it to ignore requests by device drivers that want uncached userspace memory mappings as they describe memory-mapped FIFOs or shared memory with a device not participating in the cache coherence scheme. This fixes cacheability issues (specifically, undesired and unrequested caching) seen in userspace memory mappings of Avalon SoC bus device memory on BERI MIPS. Discussed with: jmallett, alc Sponsored by: DARPA, AFRL MFC after: 3 days END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-07-28T11:28:00.934999Z K 7 svn:log V 216 MFC r238721: When WITHOUT_CLANG is being used, also clean out the clang 3.1 headers in OptionalObsoleteFiles.inc. PR: misc/169902 Submitted by: Thomas Eberhardt Approved by: re (kib) END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-07-28T12:50:25.622507Z K 7 svn:log V 209 Similar to r238472, let clang pass --enable-new-dtags to the linker invocation by default. Also make sure --hash-style=both is passed for the same arches as gcc, e.g. arm, sparc and x86. X-MFC-with: r238472 END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-07-28T13:12:57.960747Z K 7 svn:log V 258 Similar to what is already done for Linux, make clang not complain about unused -g, -emit-llvm or -w arguments when doing linking. E.g. invoking "clang -g foo.o -o foo" will now be silent. Reported by: Jakub Lach MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-28T14:32:55.598775Z K 7 svn:log V 188 sh: Track continued jobs (even if not continued by bg or fg). This uses wait3's WCONTINUED flag. There is no message for this. The change is visible in "jobs" or if the job stops again. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-28T14:56:50.156494Z K 7 svn:log V 44 sh: Inline waitproc() into its only caller. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-28T15:13:48.372367Z K 7 svn:log V 113 sh: Do not ask for stopped/continued processes if we do not need them rather than retrying wait3 if they happen. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2012-07-28T16:30:50.236795Z K 7 svn:log V 150 Reorder things in g_gate_create() so at the moment when g_new_geomf() is called name is properly initialized. Discussed with: pjd MFC after: 2 weeks END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-07-28T20:06:29.207763Z K 7 svn:log V 3558 ----------- MISC CHANGES Add a new async event- ISP_TARGET_NOTIFY_ACK, that will guarantee eventual delivery of a NOTIFY ACK. This is tons better than just ignoring the return from isp_notify_ack and hoping for the best. Clean up the lower level lun enable code to be a bit more sensible. Fix a botch in isp_endcmd which was messing up the sense data. Fix notify ack for SRR to use a sensible error code in the case of a reject. Clean up and make clear what kind of firmware we've loaded and what capabilities it has. ----------- FULL (252 byte) SENSE DATA In CTIOs for the ISP, there's only a limimted amount of space to load SENSE DATA for associated CHECK CONDITIONS (24 or 26 bytes). This makes it difficult to send full SENSE DATA that can be up to 252 bytes. Implement MODE 2 responses which have us build the FCP Response in system memory which the ISP will put onto the wire directly. On the initiator side, the same problem occurs in that a command status response only has a limited amount of space for SENSE DATA. This data is supplemented by status continuation responses that the ISP pushes onto the response queue after the status response. We now pull them all together so that full sense data can be returned to the periph driver. This is supported on 23XX, 24XX and 25XX cards. This is also preparation for doing >16 byte CDBs. ----------- FC TAPE Implement full FC-TAPE on both initiator and target mode side. This capability is driven by firmware loaded, board type, board NVRAM settings, or hint configuration options to enable or disable. This is supported for 23XX, 24XX and 25XX cards. On the initiator side, we pretty much just have to generate a command reference number for each command we send out. This is FCP-4 compliant in that we do this per ITL nexus to generate the allowed 1 thru 255 CRN. In order to support the target side of FC-TAPE, we now pay attention to more of the PRLI word 3 parameters which will tell us whether an initiator wants confirmed responses. While we're at it, we'll pay attention to the initiator view too and report it. On sending back CTIOs, we will notice whether the initiator wants confirmed responses and we'll set up flags to do so. If a response or data frame is lost the initiator sends us an SRR (Sequence Retransmit Request) ELS which shows up as an SRR notify and all outstanding CTIOs are nuked with SRR Received status. The SRR notify contains the offset that the initiator wants us to restart the data transfer from or to retransmit the response frame. If the ISP driver still has the CCB around for which the data segment or response applies, it will retransmit. However, we typically don't know about a lost data frame until we send the FCP Response and the initiator totes up counters for data moved and notices missing segments. In this case we've already completed the data CCBs already and sent themn back up to the periph driver. Because there's no really clean mechanism yet in CAM to handle this, a hack has been put into place to complete the CTIO CCB with the CAM_MESSAGE_RECV status which will have a MODIFY DATA POINTER extended message in it. The internal ISP target groks this and ctl(8) will be modified to deal with this as well. At any rate, the data is retransmitted and an an FCP response is sent. The whole point here is to successfully complete a command so that you don't have to depend on ULP (SCSI) to have to recover, which in the case of tape is not really possible (hence the name FC-TAPE). Sponsored by: Spectralogic MFC after: 1 month END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-07-28T20:08:14.821019Z K 7 svn:log V 219 Handle a case where we had an SRR that pushed back the data pointer. This is a temp fix that resubmits the command, adjusted, so that the backend can fetch the data again. Sponsored by: Spectralogic MFC after: 1 month END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-28T20:31:39.476120Z K 7 svn:log V 646 Hardcode the loopback rx/tx checkum options for IPv6 to on without checking. This allows the FreeBSD 9.1 release process to move forward. Work around the problem that loopback connections to local addresses not on loopback interfaces and not on interfaces w/ IPv6 checksum offloading enabled would not work. A proper fix to allow us to disable the "checksum offload" on loopback for testing, measurements, ... as we allow for IPv4 needs to put in place later. Reported by: tuexen, Matthew Seaman (m.seaman infracaninophile.co.uk) Reported by: Mike Andrews (mandrews bit0.com), kib, ... PR: kern/170070 MFC after: 1 day X-MFC after: re approval END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-28T21:43:29.691956Z K 7 svn:log V 132 MFC r235285: Skip nd6 line with no warning message when the system does not support INET6. Spotted by: flo Approved by: re (kib) END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-28T21:56:24.738855Z K 7 svn:log V 68 Add support for Marvell 88F6282. Sponsored by: Plat'Home, Co.,Ltd. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-07-28T21:59:12.188301Z K 7 svn:log V 61 Add support for 88E1116R. Sponsored by: Plat'Home, Co.,Ltd. END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2012-07-28T22:42:52.429209Z K 7 svn:log V 188 MFC r238790: Fix the sctp_sockstore union such that userland programs don't depend on INET and/or INET6 to be defined and in-tune with how the kernel was compiled. Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-28T23:11:09.318627Z K 7 svn:log V 530 MFC r238871: Hardcode the loopback rx/tx checkum options for IPv6 to on without checking. This allows the FreeBSD 9.1 release process to move forward. Work around the problem that loopback connections to local addresses not on loopback interfaces and not on interfaces w/ IPv6 checksum offloading enabled would not work. A proper fix to allow us to disable the "checksum offload" on loopback for testing, measurements, ... as we allow for IPv4 needs to put in place later. PR: kern/170070 Approved by: re (kib) END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-29T00:44:41.096653Z K 7 svn:log V 88 Fix a comment that we do not have an SA yet but need to acquire one. MFC after: 3 days END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-29T00:45:24.714107Z K 7 svn:log V 83 For consistency put the IPsec comment iside the #fidef section. MFC after: 3 days END K 10 svn:author V 5 dougb K 8 svn:date V 27 2012-07-29T01:01:35.268808Z K 7 svn:log V 53 Add a couple of nice quotes from Edward Everett Hale END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-29T04:26:24.984238Z K 7 svn:log V 172 Add usb_template for the gadget support. Even though this isn't a bootable kernel, its config will likely be copied to places that are. Submitted by: Hans Petter Selasky END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-29T04:28:29.244456Z K 7 svn:log V 93 Commit the dci (gadget) support to the one ATMEL kernel config where it might actually work. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-29T06:33:27.979420Z K 7 svn:log V 215 Fix endless loop if reading unsupported ACL type. Apply fix from vendor's master branch. References: https://github.com/libarchive/libarchive/commit/d8b9dbd Reported on: freebsd-current@ Obtained from: libarchive END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-29T06:34:45.294551Z K 7 svn:log V 48 Catch up config_freebsd.h with libarchive 3.0.4 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-29T08:52:32.646015Z K 7 svn:log V 492 Fix breakage introduced in r238824 - correctly calculate the descriptor wrapping. The previous code was only wrapping descriptor "block" boundaries rather than individual descriptors. It sounds equivalent but it isn't. r238824 changed the descriptor allocation to enforce that an individual descriptor doesn't wrap a 4KiB boundary rather than the whole block of descriptors. Eg, for TX descriptors, they're allocated in blocks of 10 descriptors for each ath_buf (for scatter/gather DMA.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-29T09:23:32.328912Z K 7 svn:log V 852 Shuffle the rate control call to be consistent with non-aggregate TX. The correct ordering for non-aggregate TX is: * call ath_hal_setuptxdesc() to setup the first TX descriptor complete with the first TX rate/try count; * call ath_hal_setupxtxdesc() to setup the multi-rate retry; * .. or for 802.11n NICs, call ath_hal_set11nratescenario() for MRR and 802.11n flags; * then call ath_hal_filltxdesc() to setup intermediary descriptors in a multi-descriptor single frame. The call to ath_hal_filltxdesc() routines seem to correctly (consistently?) handle the intermediary descriptor flags, including copying the rate control information to the final descriptor in the frame. That's used by the rate control module rather than the hardware. Tested: * Only on AR9280 STA mode, however it should work on other chips in both STA and AP mode. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-29T11:51:48.722855Z K 7 svn:log V 1641 Implement media change notification for DA and CD removable media devices. It includes three parts: 1) Modifications to CAM to detect media media changes and report them to disk(9) layer. For modern SATA (and potentially UAS) devices it utilizes Asynchronous Notification mechanism to receive events from hardware. Active polling with TEST UNIT READY commands with 3 seconds period is used for incapable hardware. After that both CD and DA drivers work the same way, detecting two conditions: "NOT READY: Medium not present" after medium was detected previously, and "UNIT ATTENTION: Not ready to ready change, medium may have changed". First one reported to disk(9) as media removal, second as media insert/change. To reliably receive second event new AC_UNIT_ATTENTION async added to make UAs broadcasted to all periphs by generic error handling code in cam_periph_error(). 2) Modifications to GEOM core to handle media remove and change events. Media removal handled by spoiling all consumers attached to the provider. Media change event also schedules provider retaste after spoiling to probe new media. New flag G_CF_ORPHAN was added to consumers to reflect that consumer is in process of destruction. It allows retaste to create new geom instance of the same class, while previous one is still dying. 3) Modifications to some GEOM classes: DEV -- to report media change events to devd; VFS -- to handle spoiling same as orphan to prevent accessing replaced media. PART class already handles spoiling alike to orphan. Reviewed by: silence on geom@ and scsi@ Tested by: avg Sponsored by: iXsystems, Inc. / PC-BSD MFC after: 2 months END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2012-07-29T14:21:42.051283Z K 7 svn:log V 217 Grr.!$()!$$ I missed checking this in even though I *did* run a tinderbox myself and caught the error. Change to isp_send_cmd needs a final ecmd argument. Sponsored by: Spectralogic MFC after: 1 month X-MFC: 238869 END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-29T18:04:38.510680Z K 7 svn:log V 736 sh: Fix EINTR race condition in "wait" and "set -T" using sigsuspend(). When waiting for child processes using "wait" or if "set -T" is in effect, a signal interrupts the wait. Make sure there is no window where the signal handler may be invoked (setting a flag) just before going to sleep. There is a similar race condition in the shell language, but scripts can avoid it by exiting from the trap handler or enforcing synchronization using a fifo. If SIGCHLD is not trapped, a signal handler must be installed for it. Only install this handler for the duration of the wait to avoid triggering unexpected [EINTR] errors elsewhere. Note that for some reason only SIGINT and SIGQUIT interrupt a "wait" command. This remains the case. END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-29T18:20:49.905888Z K 7 svn:log V 132 Shave off a few more cycles from pmap_enter()'s critical section. In particular, do a little less work with the PV list lock held. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-07-29T18:52:01.440793Z K 7 svn:log V 121 MFC r238707: Document the following in rc.conf.5: - rtsold_enable - rtsold_flags - rtsol_flags Approved by: re (kib) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-07-29T18:52:18.816400Z K 7 svn:log V 98 MFC r238707: Document the following in rc.conf.5: - rtsold_enable - rtsold_flags - rtsol_flags END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-07-29T20:04:09.646153Z K 7 svn:log V 270 Partially revert r238886 in part of GEOM_VFS spoiling. This change triggered interesting foot shooting condition in GEOM when RW access to root partition by fsck spoils VFS geom there, which has it opened RO at the same time. Seems spoiling concept needs some rework. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-07-30T01:42:22.120240Z K 7 svn:log V 167 Break out the parsing code from main() and modularise things a little. The eventual aim will be to support listing "one" and "all" stations for the given ath device. END K 10 svn:author V 2 bz K 8 svn:date V 27 2012-07-30T03:00:58.313988Z K 7 svn:log V 256 Remove opt_enc.h from files committed with r235911. enc(4) is the 'encapsulating interface' used with IPsec and has nothing to do with storage 'enclosure' services. MFC after: 3 days Noticed while: debugging why enc(4) is no longer automatically created END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-07-30T06:00:31.489758Z K 7 svn:log V 151 Fix a couple of comments about the rm9200, and fix a couple of indentation issues. Add note that we need to implement at91sam9260 erratum workaround. END K 10 svn:author V 5 brian K 8 svn:date V 27 2012-07-30T07:13:06.516801Z K 7 svn:log V 197 Add d, p and r switches for recording script sessions with timing data and playing sessions back with or without time delays. PR: 114465 Submitted by: ighighi at gmail dot com MFC after: 3 weeks END K 10 svn:author V 5 brian K 8 svn:date V 27 2012-07-30T08:06:00.998384Z K 7 svn:log V 162 Mention when -d, -p and -r first hit FreeBSD. Bump the document date to when the change was made (rather than when the PR was submitted). Suggested by: pluknet END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-07-30T08:56:56.335963Z K 7 svn:log V 28 Return back double spacing. END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-07-30T10:14:37.260276Z K 7 svn:log V 28 Remove trailing whitespace. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-07-30T10:55:23.884337Z K 7 svn:log V 242 Fix some compile errors at high WARNS, including one for an uninitialized variable. unused parameters and variables are annotated with (void)foo; /* UNUSED */ instead of __unused, because this code needs to build also on linux and windows. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-07-30T10:58:13.484590Z K 7 svn:log V 28 Import compiler-rt r160957. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2012-07-30T11:00:55.091906Z K 7 svn:log V 23 Tag compiler-rt 160957 END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-07-30T11:02:22.310518Z K 7 svn:log V 194 remove the last __unused instance in sbin/ipfw. This particular function (show_prerequisites() ) we should actually remove the argument from the callers as well, but i'll do it at a later time. END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-30T11:11:05.982282Z K 7 svn:log V 523 Pull the tier-2 card and change the sparc64 ZFS loader to no longer probe all diskN aliases for providers (which more or less corresponds to how the x86 version behaves) but instead probe only those listed in the boot-device OFW environment variable. This has the following advantages: - avoids otherwise unavoidable OFW warnings about failures to open disks for which aliases exist but no actual hardware is connected - avoids issues due to different diskN naming schemes - aligns us with Solaris Approved by: re (kib) END K 10 svn:author V 6 marius K 8 svn:date V 27 2012-07-30T11:29:05.591126Z K 7 svn:log V 500 Pull the tier-2 card and change the sparc64 ZFS loader to no longer probe all diskN aliases for providers (which more or less corresponds to how the x86 version behaves) but instead probe only those listed in the boot-device OFW environment variable. This has the following advantages: - avoids otherwise unavoidable OFW warnings about failures to open disks for which aliases exist but no actual hardware is connected - avoids issues due to different diskN naming schemes - aligns us with Solaris END K 10 svn:author V 6 jilles K 8 svn:date V 27 2012-07-30T12:25:20.031460Z K 7 svn:log V 348 MFC r237939: ctype_l(3): Note that not all these functions are specified by POSIX.1-2008. The function isascii_l() is not in POSIX even though isascii() is, probably because isascii() is marked as obsolete. The other functions, like digittoint_l() and ishexnumber_l(), are FreeBSD-specific just like their non-_l versions. Approved by: re (kib) END K 10 svn:author V 6 davide K 8 svn:date V 27 2012-07-30T13:50:37.018046Z K 7 svn:log V 559 - Fix a LOR deadlock dropping the callout lock while executing the handler directly from hardware interrupt context. - Add migration support for callouts which runs from hw interrupt context. - Refactor a couple of comments to reflect the new world order. TODO: implement proper stats for direct callouts. Just a note: I'd like to thank flo@ for his invaluable help in testing and issues, mav@ that helped me in tackling the problem and Yahoo! which provided access to the machines on which tests were run. Reported by: avg, flo [1] Discused with: mav END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-07-30T14:34:30.754008Z K 7 svn:log V 24 Third time's the charm. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-07-30T14:47:35.829439Z K 7 svn:log V 163 Backport NFSv4 ACL fix from libarchive master branch. Source: https://github.com/libarchive/libarchive/commit/f67370d5 Obtained from: libarchive (master branch) END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-07-30T15:30:42.315395Z K 7 svn:log V 589 MFC r238755: Add rmb() to tsc_read_##x to enforce serialization of rdtsc captures. Intel Architecture Manual specifies that rdtsc instruction is not serialized, so without this change, TSC synchronization test would periodically fail, resulting in use of HPET timecounter instead of TSC-low. This caused severe performance degradation (40-50%) when running high IO/s workloads due to HPET MMIO reads and GEOM stat collection. Tests on Xeon E5-2600 (Sandy Bridge) 8C systems were seeing TSC synchronization fail approximately 20% of the time. Sponsored by: Intel Approved by: re (kib) END K 10 svn:author V 7 linimon K 8 svn:date V 27 2012-07-30T15:37:47.444489Z K 7 svn:log V 14 One more try. END K 10 svn:author V 5 luigi K 8 svn:date V 27 2012-07-30T18:21:48.864659Z K 7 svn:log V 121 - move the inclusion of netmap headers to the common part of the code; - more portable annotations for unused arguments; END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-30T19:05:41.186149Z K 7 svn:log V 1536 MFC 194358,230394,230441,230489,230552,232116,232420: - For dotdot lookup in nfs_lookup, inline the vn_vget_ino() to prevent operating on the unmounted mount point and freed mount data in case of forced unmount performed while dvp is unlocked to nget the target vnode. - Close a race in NFS lookup processing that could result in stale name cache entries on one client when a directory was renamed on another client. The root cause for the stale entry being trusted is that each per-vnode nfsnode structure has a single 'n_ctime' timestamp used to validate positive name cache entries. However, if there are multiple entries for a single vnode, they all share a single timestamp. To fix this, extend the name cache to allow filesystems to optionally store a timestamp value in each name cache entry. The NFS clients now fetch the timestamp associated with each name cache entry and use that to validate cache hits instead of the timestamps previously stored in the nfsnode. Another part of the fix is that the NFS clients now use timestamps from the post-op attributes of RPCs when adding name cache entries rather than pulling the timestamps out of the file's attribute cache. The latter is subject to races with other lookups updating the attribute cache concurrently. - Adjust the nfs_skip_wcc_data_onerr setting so that it does not block post-op attributes for ENOENT errors now that the name caching logic depends on working post-op attributes. Tested by: Mark Saad nonesuch longcount org END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-07-30T19:26:02.144977Z K 7 svn:log V 91 Change (unused) prototype for stmxcsr() to match reality. Noted by: jhb MFC after: 1 week END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-07-30T20:38:37.833175Z K 7 svn:log V 85 Eliminate an unneeded declaration. (I should have removed this as part of r227568.) END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-07-30T20:40:14.856468Z K 7 svn:log V 199 MFC 238164: Add another PS/2 keyboard PNP ID. This ID is listed as "Reserved by Microsoft" in the standard PNP ID table, but has been seen in the wild on at least one laptop. Approved by: re (kib) END