ƒ³T239550 185 1015 144 256 180 837 133 133 159 159 334 257 257 198 538 829 536 536 170 134 297 261 215 209 269 106 240 98 270 500 386 164 98 403 278 151 197 104 176 364 415 419 548 269 141 215 215 166 737 397 110 168 412 337 114 208 167 199 306 193 226 225 220 132 233 204 474 474 151 220 296 565 368 303 188 195 164 171 348 151 160 179 180 127 128 188 127 173 180 306 178 407 438 256 144 156 218 158 142 138 140 153 153 137 176 222 311 185 225 649 178 143 304 191 296 155 324 126 225 392 326 429 420 579 257 1067 1180 1185 109 107 251 327 265 114 190 160 522 251 172 164 159 108 2206 137 243 362 368 229 134 135 138 306 159 131 184 197 171 419 891 283 492 148 199 231 308 157 179 230 168 420 672 112 175 264 259 99 381 381 208 155 155 233 882 882 276 1005 K 10 svn:author V 8 lstewart K 8 svn:date V 27 2012-08-22T01:28:16.845272Z K 7 svn:log V 917 MFC r239346: The TCP PAWS fix for kernels with fast tick rates (r231767) changed the TCP timestamp related stack variables to reference ms directly instead of ticks. The h_ertt(4) Khelp module relies on TCP timestamp information in order to calculate its enhanced RTT estimates, but was not updated as part of r231767. Consequently, h_ertt has not been calculating correct RTT estimates since r231767 was comitted, which in turn broke all delay-based congestion control algorithms because they rely on the h_ertt RTT estimates. Fix the breakage by switching h_ertt to use tcp_ts_getticks() in place of all previous uses of the ticks variable. This ensures all timestamp related variables in h_ertt use the same units as the TCP stack and therefore results in meaningful comparisons and RTT estimate calculations. Reported & tested by: Naeem Khademi (naeemk at ifi uio no) Discussed with: bz Approved by: re (kib) END K 10 svn:author V 2 np K 8 svn:date V 27 2012-08-22T02:41:02.797256Z K 7 svn:log V 53 Retire branch; these changes have made it into HEAD. END K 10 svn:author V 2 np K 8 svn:date V 27 2012-08-22T03:00:57.134909Z K 7 svn:log V 164 Backport of all TOE changes to stable/9. The changes are mostly MFC-able but will be available here initially rather than in stable/9 while they are being tested. END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-08-22T05:14:59.998804Z K 7 svn:log V 83 After r239366, fix the ti_edma3.c driver to use the exact name as used in the FDT. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T05:15:21.083918Z K 7 svn:log V 744 MFC r239040: Reduce code duplication and exposure of direct access to struct vm_page oflags by providing helper function vm_page_readahead_finish(), which handles completed reads for pages with indexes other then the requested one, for VOP_GETPAGES(). MFC r239246: Do not leave invalid pages in the object after the short read for a network file systems (not only NFS proper). Short reads cause pages other then the requested one, which were not filled by read response, to stay invalid. Change the vm_page_readahead_finish() interface to not take the error code, but instead to make a decision to free or to (de)activate the page only by its validity. As result, not requested invalid pages are freed even if the read RPC indicated success. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T05:18:38.758545Z K 7 svn:log V 41 MFC r239135: Always initialize pl_event. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T05:23:56.610295Z K 7 svn:log V 41 MFC r239135: Always initialize pl_event. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T05:26:54.069808Z K 7 svn:log V 67 MFC r239038: Remove verbose unused commented out debugging printf. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T05:28:55.554844Z K 7 svn:log V 67 MFC r239038: Remove verbose unused commented out debugging printf. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T05:30:51.608092Z K 7 svn:log V 241 MFC r238984: fsck_ffs shall accept the configured journal size, and not refuse to operate on it if journal size is greater then SUJ_MAX. The later constant is only to select maximal journal size when user did not specified size explicitely. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T05:36:10.746833Z K 7 svn:log V 164 MFC r239125: Do not apply errata 721 workaround when under hypervisor, since typical hypervisor does not implement access to the required MSR, causing #GP on boot. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T05:38:06.775357Z K 7 svn:log V 164 MFC r239125: Do not apply errata 721 workaround when under hypervisor, since typical hypervisor does not implement access to the required MSR, causing #GP on boot. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-08-22T06:37:30.720192Z K 7 svn:log V 105 Add -p flag to create the image as a sparse file. Submitted by: Shesha Sreenivasamurthy PR: bin/167779 END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-08-22T08:27:37.062883Z K 7 svn:log V 444 MFC: r234313,234315,234322,234351,234870,235726,238461 add usr.sbin/pkg which is a bootstrap tool for pkgng. it respects PACKAGESITE, PACKAGEROOT, and a new environment variable ABI (if a user want to use a different API from the base one for its packages) it has no man page on purpose to avoid hidding the pkg(8) man page from the pkgng package. for now uses pkgbeta.FreeBSD.org as default mirror to find its package it respects MK_PKGTOOLS END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-22T13:53:37.437331Z K 7 svn:log V 736 Revert r239356 and use an alternate algorithm. First, don't exit when the link goes down on an interface. Instead, teach dhclient to track changes in link state and to enter the reboot state when the link on an interface goes up causing dhclient to attempt to renew its existing lease. Second, remove the change I added to clear the old lease when dhclient exits due to an error (such as ifconfig down). If an interface is using autoconfiguration it should keep its autoconfiguration as much as possible. If the next time it needs a configuration it is able to reuse the previous autoconfiguration, then leaving the settings intact allows existing connections to survive temporary outages, etc. PR: bin/166656 MFC after: 1 month END K 10 svn:author V 3 mdf K 8 svn:date V 27 2012-08-22T17:13:00.920825Z K 7 svn:log V 443 MFC r238502: Fix a bug with memguard(9) on 32-bit architectures without a VM_KMEM_MAX_SIZE. The code was not taking into account the size of the kernel_map, which the kmem_map is allocated from, so it could produce a sub-map size too large to fit. The simplest solution is to ignore VM_KMEM_MAX entirely and base the memguard map's size off the kernel_map's size, since this is always relevant and always smaller. Found by: Justin Hibbits END K 10 svn:author V 3 mdf K 8 svn:date V 27 2012-08-22T17:16:05.380396Z K 7 svn:log V 443 MFC r238502: Fix a bug with memguard(9) on 32-bit architectures without a VM_KMEM_MAX_SIZE. The code was not taking into account the size of the kernel_map, which the kmem_map is allocated from, so it could produce a sub-map size too large to fit. The simplest solution is to ignore VM_KMEM_MAX entirely and base the memguard map's size off the kernel_map's size, since this is always relevant and always smaller. Found by: Justin Hibbits END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-08-22T18:30:13.048485Z K 7 svn:log V 73 Add new USB device ID. Submitted by: Dmitry Luhtionov MFC after: 1 week END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-08-22T18:35:17.849083Z K 7 svn:log V 39 Add dependencies based on security(7). END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-08-22T18:43:21.242499Z K 7 svn:log V 201 Remove old entropy seeding after consumption initializing /dev/random PRNG. Not doing so opens us up to replay attacks. Submitted by: Arthur Mesh Sponsored by: Juniper Networks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-08-22T18:49:02.093062Z K 7 svn:log V 165 Depend on the new 'postrandom' instead of random. We need to limit the amount of time between consuming the entropy seeds and removing it in case of a kernel panic. END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-22T19:02:07.151165Z K 7 svn:log V 116 Add -m option (for printing sampled PCs to a file) to pmcstat usage message. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2012-08-22T19:25:57.243028Z K 7 svn:log V 113 Sync FreeBSD's bmake branch with Juniper's internal bmake branch. Requested by: Simon Gerraty END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:27:17.515540Z K 7 svn:log V 176 MFC r239247: Adjust the r205536, by allowing a non-zero offset for anonymous mappings for a.out binaries. Apparently, a.out ld.so from FreeBSD 1.1.5.1 can issue such requests. END K 10 svn:author V 3 hrs K 8 svn:date V 27 2012-08-22T19:27:42.315591Z K 7 svn:log V 14 Sort options. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:29:22.911066Z K 7 svn:log V 147 MFC r239248: Implement the old mmap syscall for compat32, when COMPAT_43 option is enabled. The syscall is used by FreeBSD 1.1.5.1 dynamic linker. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:31:28.148705Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:34:02.242421Z K 7 svn:log V 177 MFC r239250: For old mmap syscall, when executing on amd64 or ia64, enforce the PROT_EXEC if prot is non-zero, process is 32bit and kern.elf32.i386_read_exec syscal is enabled. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:36:47.126964Z K 7 svn:log V 407 MFC r239251: Real hardware, as opposed to QEMU, does not allow to have a call gate in long mode which transfers control to 32bit code segment. Unbreak the lcall $7,$0 implementation on amd64 by putting the 64bit user code segment' selector into call gate, and execute the 64bit trampoline which converts the return frame into 32bit format and switches back to 32bit mode for executing int $0x80 trampoline. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:41:36.984556Z K 7 svn:log V 293 MFC r239252: Add a hackish debugging facility to provide a bit of information about reason for generated trap. The dump of basic signal information and 8 bytes of the faulting instruction are printed on the controlling terminal of the process, if the machdep.uprintf_signal syscal is enabled. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:43:46.677362Z K 7 svn:log V 72 MFC r239296: Provide 32bit compat for old truncate(2) and ftruncate(2). END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:45:18.418477Z K 7 svn:log V 7 Regen. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:53:33.394985Z K 7 svn:log V 310 MFC r239301: Add a sysctl kern.pid_max, which limits the maximum pid the system is allowed to allocate, and corresponding tunable with the same name. Note that existing processes with higher pids are left intact. MFC r239328: Fix grammar. MFC r239329: As a safety measure, disable lowering pid_max too much. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T19:56:41.135044Z K 7 svn:log V 185 MFC r239302: Add a short man page describing how to run a.out binaries on the current kernels. MFC r239305 (by joel): Minor mdoc fixes and language tweaks. MFC r239306: Small tweaks. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-22T20:00:41.047695Z K 7 svn:log V 59 Fix the 'show witness' DDB command to honor db_pager_quit. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-22T20:01:38.874974Z K 7 svn:log V 104 Mark the idle threads as non-sleepable and also assert that an idle thread never blocks on a turnstile. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-22T20:01:57.987546Z K 7 svn:log V 12 Fix a typo. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-22T20:02:42.511961Z K 7 svn:log V 84 Assert that system calls do not leak a pinned thread (via sched_pin()) to userland. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T20:05:34.612988Z K 7 svn:log V 271 Provide some compat32 shims for sysctl vfs.conflist. It is required for getvfsbyname(3) operation when called from 32bit process, and getvfsbyname(3) is used by recent bsdtar import. Reported by: many Tested by: David Naylor MFC after: 5 days END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-08-22T20:06:59.775625Z K 7 svn:log V 322 MFC r238178, 238624, 238810: Re-merge a couple of changes from NetBSD libedit. bin/sh has been taught about el_gets setting the count to -1 on error, so now we can partially revert r238173 to reduce differences with NetBSD's implementation. Also fix some warnings to be more in sync with NetBSD. Obtained from: NetBSD END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-08-22T20:07:10.409017Z K 7 svn:log V 326 MFC r238178, 238624, 238810: Re-merge a couple of changes from NetBSD libedit. bin/sh has been taught about el_gets setting the count to -1 on error, so now we can partially revert r238173 to reduce differences with NetBSD's implementation. Also fix some warnings to be more in sync with NetBSD. Obtained from: NetBSD END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-22T20:22:55.076265Z K 7 svn:log V 449 Remove unncessary atomic operation when reading process flags in PMC_PROC_IS_USING_PMCS macro. Invocations of this macro are not synchronized with setting/clearing of P_HWPMC flag, so the atomic operation here isn't needed. Removing the atomic operation provides noticeable improvement (5-6%) on some scheduler-intensive workloads with HWPMC_HOOKS enabled on an 8C Sandy Bridge Xeon system. Sponsored by: Intel Reviewed by: jhb MFC after: 1 week END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-22T20:34:23.423890Z K 7 svn:log V 176 MFC r239247: Adjust the r205536, by allowing a non-zero offset for anonymous mappings for a.out binaries. Apparently, a.out ld.so from FreeBSD 1.1.5.1 can issue such requests. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-08-22T20:56:53.086842Z K 7 svn:log V 46 Fix comment misspelling. Submitted by: kargl END K 10 svn:author V 2 np K 8 svn:date V 27 2012-08-22T21:14:59.666362Z K 7 svn:log V 123 Fully up-to-date backport/MFC of TOE to stable/9. I'll promptly push any fixes that I make to HEAD to this workspace too. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-08-22T22:17:35.963617Z K 7 svn:log V 118 Allow - be used in the name of a provider. Without this change it's not possible to specify a gptid in geli_devices. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-08-22T22:34:55.858163Z K 7 svn:log V 71 The entire comment block is now spell checked this time -- I promise. END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-22T22:48:50.404066Z K 7 svn:log V 642 Do not change "cachable" attribute for DMA memory allocated with BUS_DMA_COHERENT attribute The minimum unit for changing "cachable" attribute is page, so call to pmap_change_attr effectively disable cache for all pages that newly allocated DMA memory region spans on. The problem is that general-purpose memory could reside on these pages too and disabling cache might affect performance. Moreover ldrex/strex operators raise Data Abort exception when accessing memory on page with "cachable" attribute off. BUS_DMA_COHERENT does nto require memory to be coherent. It just suggests to do best effort for reducing synchronization overhead. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-08-22T23:37:24.486352Z K 7 svn:log V 301 * Reinstate r128059's consumption of our best entropy first. r128060 for "hardware-supplied entropy" reversed this without reason, seems a typo. * Isolate "better than nothing" implementation to a function. Submitted by: obrien & Arthur Mesh Sponsored by: Juniper Networks END K 10 svn:author V 6 obrien K 8 svn:date V 27 2012-08-22T23:44:12.124277Z K 7 svn:log V 15 Correct style. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-08-23T00:39:08.370923Z K 7 svn:log V 72 MFC r239464: As of r232844 we no longer need the maxpoll 9 workaround. END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-08-23T01:43:01.508982Z K 7 svn:log V 317 Remember that I'm using length-defined strings in parameters: Remove a bogus null terminator when stripping the netmask from IP addresses. This was causing later addresses in a comma-separated string to disappear. Use memcpy instead of strcpy. This could just cause Bad Things. PR: 170832 MFC after: 1 week END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-08-23T01:43:22.446449Z K 7 svn:log V 242 Pre-separate IP addresses passed on the command line, so they can be properly parsed for interface prefixes and netmask suffixes. This was already done for the old-style (fixed) command line, but missed for the new-style. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-23T02:58:06.628545Z K 7 svn:log V 19 Add chipset names. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-23T03:03:00.779909Z K 7 svn:log V 112 Add AR9380 devid HAL definitions and probe/attach strings. Obtained from: Device IDs are from Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-23T03:25:09.199092Z K 7 svn:log V 72 Add some more interrupt handling bits. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-23T03:37:01.337471Z K 7 svn:log V 103 Add a placeholder and typedefs for MFP (management frame protection.) Obtained from: Qualcomm Atheros END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-23T04:35:55.426764Z K 7 svn:log V 213 The check for MAXPHYS doesn't make sense, so remove it. Report errors indicated by the transport. If this is too chatty, I'll throw it behind a debug write. Remove commented out debugs that are no longer useful. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2012-08-23T04:57:56.899994Z K 7 svn:log V 97 MFC r239464: > As of r232844 we no longer need the maxpoll 9 workaround. > Approved by: re (kib) END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-08-23T05:15:15.170195Z K 7 svn:log V 129 Eliminate redundant code, _thr_spinlock_init() has already been called in init_private(), don't call it again in fork() wrapper. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-08-23T09:18:52.983845Z K 7 svn:log V 133 Update vendor/illumos and vendor-sys/illumos to revision 13777:b1e53580146d Obtained from: ssh://anonhg@hg.illumos.org/illumos-gate END K 10 svn:author V 4 zont K 8 svn:date V 27 2012-08-23T12:20:29.719412Z K 7 svn:log V 126 - Put arguments for print_syscall_ret() function in proper order. Bug was introduced in r192025. Approved by: kib (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2012-08-23T16:25:36.442426Z K 7 svn:log V 41 Check the return value of sbuf_finish(). END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-23T17:03:33.655196Z K 7 svn:log V 140 Make sure bsd.dep.mk does not filter out -stdlib=xxx from CXXFLAGS, since this determines parts of the C++ include path. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-23T17:08:07.374031Z K 7 svn:log V 111 Sprinkle a bit of style.Makefile(5) across various clang Makefiles. No functional changes. MFC after: 3 days END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-08-23T17:09:52.270141Z K 7 svn:log V 376 MFC r231187: Update the 802.11s IE numbers to represent the latest 802.11 amendment standard. This update breaks compatibility with older mesh setups but is necessary as the previous IDs are used by another amendment leading to unexpected results when trying to associate with an accesspoint using the affected IDs. Discussed with: re Tested by: honestqiao at gmail dot com END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-08-23T17:09:58.699542Z K 7 svn:log V 376 MFC r231187: Update the 802.11s IE numbers to represent the latest 802.11 amendment standard. This update breaks compatibility with older mesh setups but is necessary as the previous IDs are used by another amendment leading to unexpected results when trying to associate with an accesspoint using the affected IDs. Discussed with: re Tested by: honestqiao at gmail dot com END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2012-08-23T17:40:20.784708Z K 7 svn:log V 54 Add tunable for XHCI port routing. MFC after: 1 week END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-23T17:58:22.884045Z K 7 svn:log V 127 Since our clang now supports the tls_model attribute, remove the workaround for it in jemalloc_FreeBSD.h. Reviewed by: jasone END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-23T18:14:59.497026Z K 7 svn:log V 203 Pull in r162360 from upstream clang trunk: Merge existing attributes before processing pragmas in friend template declarations. Fixes pr13662. This should help when building Firefox with libc++. END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-08-23T19:32:57.501664Z K 7 svn:log V 473 Merge recent vendor changes: 3086 unnecessarily setting DS_FLAG_INCONSISTENT on async destroyed datasets 3090 vdev_reopen() during reguid causes vdev to be treated as corrupt 3102 vdev_uberblock_load() and vdev_validate() may read the wrong label Referenes: https://www.illumos.org/issues/3086 https://www.illumos.org/issues/3090 https://www.illumos.org/issues/3102 PR: kern/170912, kern/170914 Obtained from: illumos (changeset #13776, #13777) MFC after: 2 weeks END K 10 svn:author V 5 jamie K 8 svn:date V 27 2012-08-23T19:39:23.085446Z K 7 svn:log V 273 Partially roll back r239601 - keep parameter strings both length-delimited and null-terminated at the same time, because they're later passed to libjail as null-terminated. That means I also need to add a nul byte when comma-combining array parameters. MFC after: 6 days END K 10 svn:author V 2 mm K 8 svn:date V 27 2012-08-23T19:40:28.209346Z K 7 svn:log V 211 Apply fix for vendor pull request #17: Support appending to empty archives References: https://github.com/libarchive/libarchive/pull/17 Submitted by: myself Obtained from: libarchive master branch on github END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-23T21:31:52.449000Z K 7 svn:log V 96 Use proper resource type when freeing. Submitted by: Ian Lapore (indirectly in a larger patch) END K 10 svn:author V 2 np K 8 svn:date V 27 2012-08-23T21:32:02.798223Z K 7 svn:log V 103 Allow nmbjumbop, nmbjumbo9, and nmbjumbo16 to be set directly via loader tunables. MFC after: 1 month END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-08-23T22:23:56.361277Z K 7 svn:log V 72 Remove duplicated GEOM_PART_* options. PR: 170931 Approved by: adrian END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-23T22:38:37.843172Z K 7 svn:log V 79 Fetch the chip select in the bridge driver, like all the other spi bridges do. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T00:09:49.689135Z K 7 svn:log V 252 Add some new flags: * mfp support; * 4.9ghz support in the HAL; * device type - specifically, the bus type and whether it's a HB63 NIC (which requires some subtle chainmask handling differences in the AR5416 HAL.) Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T00:15:26.927271Z K 7 svn:log V 56 Wrap this a little so it's slightly easier on the eyes. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T00:17:39.663619Z K 7 svn:log V 65 Add some more diagnostic codes. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T00:33:25.908040Z K 7 svn:log V 84 Add the MFP capability to ath_hal_getcapability(). Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T00:36:47.783413Z K 7 svn:log V 85 Add some more capabilities (unused at the present.) Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T00:40:01.411269Z K 7 svn:log V 32 Oops, fix copy/paste silliness. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T00:43:10.883536Z K 7 svn:log V 33 Add rfkill HAL accessor methods. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T00:52:37.888363Z K 7 svn:log V 93 Add ath_hal_get_curmode() - this is used by the Osprey HAL. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T00:54:31.885236Z K 7 svn:log V 32 Oops, another copy/paste issue. END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-08-24T01:12:07.122686Z K 7 svn:log V 81 Add some basic definitions for a future htree implementation. MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T01:14:00.802640Z K 7 svn:log V 85 Bring over some new EEPROM regulatory domain flags. Obtained from: Qualcomm Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T01:29:46.522217Z K 7 svn:log V 210 Implement an API to fetch the default DFS parameters for the given chip. The only chip this is currently implemented for is the AR5416 HAL family. A follow-up commit will add AR5212 support. PR: kern/170904 END K 10 svn:author V 8 cperciva K 8 svn:date V 27 2012-08-24T05:36:37.797296Z K 7 svn:log V 81 MFC r239228: Build modules along with the XENHVM kernels. Approved by: re (kib) END K 10 svn:author V 2 ru K 8 svn:date V 27 2012-08-24T06:55:16.528444Z K 7 svn:log V 315 A workaround in r238563 was for makes (notably bmake) without the internal knowledge that "cd" is a shell's built-in. Such makes may attempt to exec() "cd" that in turn will fail on systems that lack the "cd" executable. Reworked this by eliminating the root cause. Submitted by: Simon Gerraty END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-08-24T06:56:44.962191Z K 7 svn:log V 340 MFC r231187: Update the 802.11s IE numbers to represent the latest 802.11 amendment standard. This update breaks compatibility with older mesh setups but is necessary as the previous IDs are used by another amendment leading to unexpected results when trying to associate with an accesspoint using the affected IDs. Approved by: re (kib) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T07:32:35.157192Z K 7 svn:log V 160 Add the method to fetch the default DFS parameters for the AR5212 PHY. I need to check whether new parameters were added for the AR5413 NIC. PR: kern/170904 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T07:35:18.157216Z K 7 svn:log V 49 Add default values for the NumTxMaps capability. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-08-24T09:28:22.456440Z K 7 svn:log V 60 Bringing pfsync0 down should really disable pfsync_input(). END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-24T09:58:14.838984Z K 7 svn:log V 125 MFH (r239327): warn when too much swap is configured, and avoid flooding the console when running out of space for metadata. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-24T10:09:34.631852Z K 7 svn:log V 66 MFH (r236226): pass filename to libarchive rather than descriptor END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-24T11:44:47.626222Z K 7 svn:log V 50 MFH (r238102, r238605): automatically name jails. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-24T13:11:30.352104Z K 7 svn:log V 46 MFH (r238968): restore a piece of BSD history END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-08-24T13:55:22.189475Z K 7 svn:log V 43 Document update of 802.11s IE identifiers. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-08-24T14:11:54.051335Z K 7 svn:log V 56 MFC r239649: Document update of 802.11s IE identifiers. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-08-24T14:22:47.493428Z K 7 svn:log V 56 MFC r239649: Document update of 802.11s IE identifiers. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-08-24T14:25:57.570296Z K 7 svn:log V 41 Backout r239186 and provide correct fix. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2012-08-24T14:50:44.741038Z K 7 svn:log V 79 MFC r239649: Document update of 802.11s IE identifiers. Approved by: re (kib) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-08-24T16:37:00.421669Z K 7 svn:log V 124 Dont use -Werror when building libbfd and gnu as on powerpc64 with clang as there are warnings. Reviewed by: nwhitehorn END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-24T17:08:02.263530Z K 7 svn:log V 212 Fix scsi_da's BIO_DELETE->SCSI_UNMAP translation to use correct local variable when determining various sizes related to SCSI UNMAP block descriptor lists. Sponsored by: Intel Reviewed by: mav MFC after: 3 days END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T17:37:12.980533Z K 7 svn:log V 90 Add an accessor macro for getting access to the default DFS parameters. PR: kern/170904 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T17:37:51.698035Z K 7 svn:log V 129 Correctly handle the "pe_enabled" flag - both when configuring DFS and fetching the current DFS configuration. PR: kern/170904 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T17:39:57.550038Z K 7 svn:log V 553 Remove the hard-coded AR5416-series parameters and instead use the DFS parameters fetched from the HAL. Check whether the specific chipset supports RADAR reporting before enabling DFS; or some of the (unset) DFS methods may fail. Tested: * AR5210 (correctly didn't enable radar PHY reporting) * AR5212 (correctly enabled radar PHY reporting w/ the correct default parameters.) TODO: * Now that I have this capability check in place, I could remove the (empty) DFS methods from AR5210/AR5211. * Test on AR5416, AR9160, AR9280. PR: kern/170904 END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T17:47:58.538258Z K 7 svn:log V 83 * Add AR5212 radar parsing code * Due to API changes, ieee80211.h is now required. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-24T17:48:15.222678Z K 7 svn:log V 48 * Add AR5212 PHY reporting * Fix compile issues END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-08-24T17:48:55.008082Z K 7 svn:log V 207 Since r238421 caused so much pain, restore the UMA initialization for the key zone, but make it ctor method rather then init method. This doesn't provide any optimisation, but just reduces code duplication. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2012-08-24T20:41:31.963071Z K 7 svn:log V 99 MFC 233872: Add descriptions after the 'device' line for several NICs to match the existing style. END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-08-24T21:08:56.464172Z K 7 svn:log V 202 - change ALWAYS_ASSUME_YES to ASSUME_ALWAYS_YES for consistency with pkg(8) - if not on a tty prompt about the missing pkg(8) but default on 'no' except if ASSUME_ALWAYS_YES is set MFC after: 2 days END K 10 svn:author V 4 bapt K 8 svn:date V 27 2012-08-24T21:45:52.697828Z K 7 svn:log V 62 Fix confirmation logic when detecting a tty Reported by: mjg END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-24T22:04:16.826576Z K 7 svn:log V 225 Clear freeze bit before calling xpt_release_devq. This ensures that any ccbs which immediately start during the call to xpt_release_devq see an accurate picture of the frozen_lun_mask. Sponsored by: Intel MFC after: 3 days END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-08-25T00:47:55.186790Z K 7 svn:log V 31 Set mdp only under #ifdef WII. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T07:47:12.733452Z K 7 svn:log V 128 Rename the gxemul console device to "ttyu0" to match the expectations of the default MIPS /etc/ttys. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T07:48:52.802210Z K 7 svn:log V 295 In the gxemul console, check the RB_SERIAL boot flag, and change the relative priority of the gxemul console in line with its role as a "seiral console". This allows it to override video console drivers that might otherwise take precdence, subject to that boot flag. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T08:02:46.547378Z K 7 svn:log V 229 On MIPS, when printing page fault information for an unexpected exception type, explicitly print out "unknown" rather than the empty string, and include the exception type number for ease of debugging. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T08:09:37.705865Z K 7 svn:log V 332 Provide basic glue to allow syscons to be used on MIPS, modelled on PowerPC support. This was clearly not something syscons was designed to do (very specific assumptions about the nature of VGA consoles on PCs), but fortunately others have long since blazed the way on making it work regardless of that. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T08:31:21.085931Z K 7 svn:log V 323 Add preliminary support for the SRI International / University of Cambridge Bluespec Extensible RISC Implementation (BERI) processor. BERI is a 64-bit MIPS ISA soft CPU core that can be synthesised to Altera and Xilinx FPGAs, and is being used for CPU and OS research at several institutions. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 rrs K 8 svn:date V 27 2012-08-25T09:26:37.309542Z K 7 svn:log V 486 This small change takes care of a race condition that can occur when both sides close at the same time. If that occurs, without this fix the connection enters FIN1 on both sides and they will forever send FIN|ACK at each other until the connection times out. This is because we stopped processing the FIN|ACK and thus did not advance the sequence and so never ACK'd each others FIN. This fix adjusts it so we *do* process the FIN properly and the race goes away ;-) MFC after: 1 month END K 10 svn:author V 6 thomas K 8 svn:date V 27 2012-08-25T10:36:31.792156Z K 7 svn:log V 161 (g_multipath_rotate): Fix algorithm so that it does rotate over all good providers, not just the last two. PR: kern/170379 Reviewed by: mav MFC after: 2 weeks END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T11:07:43.119285Z K 7 svn:log V 970 Add altera_avgen(4), a generic device driver to be used by hard and soft CPU cores on Altera FPGAs. The device driver allows memory-mapped devices on Altera's Avalon SoC bus to be exported to userspace via device nodes. device.hints directories dictate device name, permissible access methods, physical address and length, and I/O alignment. Devices can be accessed using read(2)/write(2), but also memory mapped in userspace using mmap(2). Devices attach directly to the Nexus, as is common for embedded device drivers; in the future something more mature might be desirable. There is currently no facility to support directing device-originated interrupts to userspace. In the future, this device driver may be renamed to socgen(4), as it can in principle also be used with other system-on-chip (SoC) busses, such as Axi on ASICs and FPGAs. However, we have only tested it on Avalon busses with memory-mapped ROMs, frame buffers, etc. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T11:19:20.115625Z K 7 svn:log V 1082 Add a device driver for the Altera University Program SD Card IP Core, which can be synthesised in Altera FPGAs. An altera_sdcardc device probes during the boot, and /dev/altera_sdcard devices come and go as inserted and removed. The device driver attaches directly to the Nexus, as is common for system-on-chip device drivers. This IP core suffers a number of significant limitations, including a lack of interrupt-driven I/O -- we must implement timer-driven polling, only CSD 0 cards (up to 2G) are supported, there are serious memory access issues that require the driver to verify writes to memory-mapped buffers, undocumented alignment requirements, and erroneous error returns. The driver must therefore work quite hard, despite a fairly simple hardware-software interface. The IP core also supports at most one outstanding I/O at a time, so is not a speed demon. However, with the above workarounds, and subject to performance problems, it works quite reliably in practice, and we can use it for read-write mounts of root file systems, etc. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T11:30:36.669210Z K 7 svn:log V 1087 Add altera_jtag_uart(4), a device driver for Altera's JTAG UART soft core, which presents a UART-like interface over the Avalon bus that can be addressed over JTAG. This IP core proves extremely useful, allowing us to connect trivially to the FreeBSD console over JTAG for FPGA-embedded hard and soft cores. As interrupts are optionally configured for this soft core, we support both interrupt-driven and polled modes of operation, which must be selected using device.hints. UART instances appear in /dev as ttyu0, ttyu1, etc. However, it also contains a number of quirks, which make it difficult to tell when JTAG is connected, and some buffering issues. We work around these as best we can, using various heuristics. While the majority of this device driver is not only not BERI-specific, but also not MIPS-specific, for now add its defines in the BERI files list, as the console-level parts are aware of where the first JTAG UART is mapped on Avalon, and contain MIPS-specific address translation, to use before Newbus and device.hints are available. Sponsored by: DARPA, AFRL END K 10 svn:author V 4 joel K 8 svn:date V 27 2012-08-25T11:34:55.160939Z K 7 svn:log V 16 Minor mdoc fix. END K 10 svn:author V 3 kib K 8 svn:date V 27 2012-08-25T11:53:55.718700Z K 7 svn:log V 15 Free melifaro. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T12:02:13.768647Z K 7 svn:log V 154 Add reference kernel configurations for FreeBSD/beri in simulation, on the Terasic DE-4, and Terasic tPad Altera-based boards. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-25T13:15:44.884277Z K 7 svn:log V 234 Add libcxxrt's objects (prefixing them with cxxrt_ to avoid collisions) to libc++.a and libc++_p.a, to make static linking of C++ executables with libc++ easier. This is similar to the approach used in libstdc++. MFC after: 2 weeks END K 10 svn:author V 3 alc K 8 svn:date V 27 2012-08-25T16:55:38.866850Z K 7 svn:log V 172 Retire PV_TABLE_MOD. When we destroy or write protect a dirty mapping, we call vm_page_dirty(). Maintaining the PV_TABLE_MOD flag, in addition, serves no useful purpose. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2012-08-25T17:15:33.753300Z K 7 svn:log V 19 Unbreak tinderbox. END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-08-25T17:34:48.785960Z K 7 svn:log V 95 Don't include syscons in the config just yet. We haven't imported the touchscreen driver yet. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T17:57:50.613924Z K 7 svn:log V 64 Add MD syscons header file for MIPS. Sponsored by: DARPA, AFRL END K 10 svn:author V 6 brooks K 8 svn:date V 27 2012-08-25T18:08:20.921944Z K 7 svn:log V 426 Add isf(4), a driver for the Intel StrataFlash family of NOR flash parts. The driver attempts to support all documented parts, but has only been tested with the 512Mbit part on the Terasic DE4 FPGA board. It should be trivial to adapt the driver's attach routine to other embedded boards using with any parts in the family. Also import isfctl(8) which can be used to erase sections of the flash. Sponsored by: DARPA, AFRL END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-25T19:30:15.448250Z K 7 svn:log V 158 When using -stdlib=libc++, add the correct dependency to .depend in bsd.prog.mk. Submitted by: Yamaya Takashi MFC after: 2 weeks END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-25T20:01:31.793057Z K 7 svn:log V 78 Add clrex, strex , ldrex, strex and variants Submitted by: Alexander Rybalko END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-25T20:13:19.100671Z K 7 svn:log V 70 ARM11 might have more then 32 interrupts, e.g. BCM2835: 72 interrupts END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-25T20:18:12.649899Z K 7 svn:log V 65 Do not swap byte order if we assign default value for intr_cells END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-25T21:13:00.034145Z K 7 svn:log V 14 Style cleanup END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-25T22:35:29.783706Z K 7 svn:log V 2108 Add terasic_mtl(4), a device driver for the Terasic Multi-Touch LCD, used with Terasic's DE-4 and other similar FPGA boards. This display is 800x480 and includes a capacitive touch screen, multi-touch gesture recognition, etc. This device driver depends on a Cambridge- provided IP core that allows the MTL device to be hooked up to the Altera Avalon SoC bus, and also provides a VGA-like text frame buffer. Although it is compiled as a single device driver, it actually implements a number of different device nodes exporting various aspects of this multi-function device to userspace: - Simple memory-mapped driver for the MTL 24-bit pixel frame buffer. - Simple memory-mapped driver for the MTL control register set. - Simple memory-mapped driver for the MTL text frame buffer. - syscons attachment for the MTL text frame buffer. This driver attaches directly to Nexus as is common for SoC device drivers, and for the time being is considered BERI-specific, although in principle it might be used with other hard and soft cores on Altera FPGAs. Control registers, including touchscreen input, are simply memory mapped; in the future it would be desirable to hook up a more conventional device node that can stream events, support kqueue(2)/ poll(2)/select(2), etc. This is the first use of syscons on MIPS, as far as I can tell, and there are some loose ends, such as an inability to use the hardware cursor. More fundamentally, it appears that syscons(4) assumes that either a host is PC-like (i386, amd64) *or* it must be using a graphical frame buffer. While the MTL supports a graphical frame buffer, using the text frame buffer is preferable for console use. Fixing this issue in syscons(4) requires non-trivial changes, as the text frame buffer support assumes that direct memory access can be done to the text frame buffer without using bus accessor methods, which is not the case on MIPS. As a workaround for this, we instead double-buffer and pretend to be a graphical frame buffer exposing text accessor methods, leading to some quirks in syscons behaviour. Sponsored by: DARPA, AFRL END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-08-25T22:45:26.179481Z K 7 svn:log V 40 Remove debug printfs from the rpc code. END K 10 svn:author V 3 mav K 8 svn:date V 27 2012-08-25T23:01:57.853180Z K 7 svn:log V 150 Return "locally assigned" Enclosure Logical Identifier instead of 8 zero bytes. Zeroes there are incorrect and tend to cause false device ID matches. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2012-08-25T23:03:45.315975Z K 7 svn:log V 264 Add support for segmented file layouts to PNFS for the NFSv4.1 client. Also fix up debug printfs by making them controlable via the sysctl vfs.nfs.debuglevel. This completes all changes for the NFSv4.1 client needed as a result of testing at the recent Bakeathon. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-25T23:08:24.654030Z K 7 svn:log V 275 For building libstdc++ and libsupc++, filter out any -stdlib=libc++ option from CXXFLAGS, otherwise these libraries will not build. Similarly, filter out any -std=xxx options that aren't supported. Submitted by: Yamaya Takashi MFC after: 2 weeks END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-25T23:59:31.414534Z K 7 svn:log V 134 Piggyback MIPS changes and add ARM syscons support for devices with framebuffer While here - sort #if defined() order alphabetically END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-26T00:46:57.992020Z K 7 svn:log V 40 Merge fix for hang on ARM11 from NetBSD END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-26T00:53:00.748358Z K 7 svn:log V 41 Call set_pcpu for ARMv6 architecture too END K 10 svn:author V 3 gjb K 8 svn:date V 27 2012-08-26T01:21:02.388532Z K 7 svn:log V 46 Grammar fix: s/NIC's/NICs/ MFC after: 3 days END K 10 svn:author V 6 grehan K 8 svn:date V 27 2012-08-26T01:41:41.775192Z K 7 svn:log V 210 Add sysctls to display the total and free amount of hard-wired mem for VMs # sysctl hw.vmm hw.vmm.mem_free: 2145386496 hw.vmm.mem_total: 2145386496 Submitted by: Takeshi HASEGAWA hasegaw at gmail com END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-26T02:23:21.940622Z K 7 svn:log V 65 Add support for ARM11 cpufunc Obtained from: NetBSD (partially) END K 10 svn:author V 5 gonzo K 8 svn:date V 27 2012-08-26T02:34:03.752893Z K 7 svn:log V 37 Add ARM11 support for elf trampoline END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-26T04:26:25.868057Z K 7 svn:log V 89 Add EEPROM data hooks for the AR9287. Tested: * AP99 Reference board (AR7241 + AR9287) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-26T04:26:49.644940Z K 7 svn:log V 101 Move this magic check to only occur if no eeprom data is given. Tested on: * AP99 (AR7241+AR9287) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-26T04:36:59.707681Z K 7 svn:log V 76 Create a skeleton AR724x SoC board configuration for use by AR724x devices. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2012-08-26T04:39:20.083530Z K 7 svn:log V 323 Ensure that BAR(0) is set for the PCI slot before the ath(4) PCI registers are written out. This allows EEPROM-less NICs on the AR7241 PCIe bus to be correctly initialised. Tested: * AP91 (AR7240+AR9285) - the existing board support didn't break; * AP99 (AR7241+AR9287) - this fixed the configuration of the AR9287 PCI. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-26T05:11:52.997449Z K 7 svn:log V 798 MFS: r239148 r239148 | imp | 2012-08-08 14:21:33 -0600 (Wed, 08 Aug 2012) | 8 lines Make the addition of the d_gone binary compatible. This allows storage drivers compiled for 9.0 to work on 9.1 and preserves the ABI for disks. Reviewed by: scottl, ken Approved by: re@ (kensmith) MFS after: releng/9.1 gets sorted This change fixes the binary compatibility problems with additions to the disk(9) API. Disk drivers compiled against 9.0 will not work on 9.1-RC1, but should start working after this change or in 9.1-RC2 and later. Disk drivers should not be linked against 9.1-RC1 for distribution, except specifically for testing on RC1. This was planned for RC1, but it was delayed due to circumstancs beyond my control. Approved by: re@ (kensmith) END K 10 svn:author V 4 ache K 8 svn:date V 27 2012-08-26T05:20:32.632133Z K 7 svn:log V 189 MFC r239477 According to resolvconf.conf(5) manpage and sources, there is no 'nameservers' option which used in examples in resolvconf.conf(5), it spelled 'name_servers', so fix examples. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-26T09:21:59.940400Z K 7 svn:log V 395 Add terasic_de4led, a led(4) driver for the on-board 8-element LED on the Terasic DE-4 board. Allow LED configuration to be set using loader tunables, not just from userspace, and preconfigure LED 8 as a kernel heartbeat. For now, this is a Nexus-attached, BERI-only driver, but it could be used with other hard and soft cores on Altera FPGAs as well, in principle. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 glebius K 8 svn:date V 27 2012-08-26T09:54:11.135355Z K 7 svn:log V 52 Fix function name in keg_cachespread_init() assert. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-26T10:30:01.472832Z K 7 svn:log V 106 MFC r239614: Sprinkle a bit of style.Makefile(5) across various clang Makefiles. No functional changes. END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-26T10:38:02.936996Z K 7 svn:log V 134 Add a altera_sdcardc(4) man page link for altera_sdcard(4), as that is the name that will appear in dmesg. Sponsored by: DARPA, AFRL END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2012-08-26T10:40:13.913204Z K 7 svn:log V 211 Expose DE4 buttons and switches via a de4bsw device, implemented using altera_avgen(4). Fix white space nit that must have arisen during the merge from Perforce. Submitted by: brooks Sponsored by: DARPA, AFRL END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-08-26T12:07:23.564674Z K 7 svn:log V 61 MFC r239468: Avoid segfault in the 'smpphylist' subcommand. END K 10 svn:author V 3 dim K 8 svn:date V 27 2012-08-26T14:30:14.544265Z K 7 svn:log V 87 Add libc++ and libcxxrt related files to OptionalObsoleteFiles.inc. MFC after: 1 week END K 10 svn:author V 3 ray K 8 svn:date V 27 2012-08-26T20:22:43.897461Z K 7 svn:log V 137 Move AR71XX (MIPS SoCs family) options to options.mips file. PR: 170859 Submitted by: Luiz Otavio O Souza Approved by: adrian (mentor) END K 10 svn:author V 3 pfg K 8 svn:date V 27 2012-08-27T02:56:58.032340Z K 7 svn:log V 76 MFC r239636: Add some basic definitions for a future htree implementation. END K 10 svn:author V 7 davidxu K 8 svn:date V 27 2012-08-27T03:09:39.569309Z K 7 svn:log V 323 In suspend_common(), don't wait for a thread which is in creation, because pthread_suspend_all_np() may have already suspended its parent thread. Add locking code in pthread_suspend_all_np() to only allow one thread to suspend other threads, this eliminates a deadlock where two or more threads try to suspend each others. END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-27T04:03:49.487573Z K 7 svn:log V 579 Don't puprosely overclock the SD bus to 30MHz, make the user explicltly enable that. The driver chose to use 60MHz / 2 (30MHz) most of the time rather than 60MHz / 4 (15MHz) based on the Linux driver of the time. This pushes the spec a little in order to not suffer the penalty of running at 15MHz. However, when other bus masters are active in the system, and the user tries 4-wire mode, the internal bus arbitration would fail with data loss as a result. # Comments from PR were reworked to reflect my historical perspective PR: 155214 (partial) Submitted by: Ian Lepore END K 10 svn:author V 3 imp K 8 svn:date V 27 2012-08-27T04:08:43.913604Z 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-08-27T04:30:53.033733Z K 7 svn:log V 83 Add hint and sysctl support for 4 wire mode. PR: 155241 Submitted by: Ian Lapore END K 10 svn:author V 8 kientzle K 8 svn:date V 27 2012-08-27T04:43:30.668280Z K 7 svn:log V 166 Correctly fetch the MAC address. Break down the bytes directly into the softc; the intermediate buffer isn't needed here. Break down the bytes in the correct order. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2012-08-27T10:59:49.175599Z K 7 svn:log V 162 Typo in previous change: print half the theoretical maximum as maximum recommended amount. Reported by: Reviewed by: des END K 10 svn:author V 7 attilio K 8 svn:date V 27 2012-08-27T11:59:04.371416Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-27T12:40:40.788093Z K 7 svn:log V 286 Merge r238766, r238774 from head: 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 END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-27T12:45:41.585567Z K 7 svn:log V 286 Merge r238766, r238774 from head: 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 END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-27T12:58:54.178551Z K 7 svn:log V 113 Merge r236101, r236102 from head: Update to reflect various src and doc commit bits taken into safekeeping. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-27T13:04:45.784355Z K 7 svn:log V 61 Merge r238396 from head: Update to reflect new core team. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-27T13:05:15.474469Z K 7 svn:log V 61 Merge r238396 from head: Update to reflect new core team. END K 10 svn:author V 3 des K 8 svn:date V 27 2012-08-27T13:22:27.783137Z K 7 svn:log V 140 Parly revert r239255: reinstate a default maxswzone on i386, where KVA is scarce, but set it slightly higher so we can handle 8 GB of swap. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-27T13:50:01.240675Z K 7 svn:log V 787 Merge r238778 from head: 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. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2012-08-27T14:44:40.486526Z K 7 svn:log V 787 Merge r238778 from head: 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. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2012-08-27T14:51:26.177591Z K 7 svn:log V 178 Dont cast from char* to struct chrp_header* which has a bigger alignment requirements. Copy it via union instead. Fixes a clang warning about alignment. Reviewed by: sobomax END K 10 svn:author V 9 jimharris K 8 svn:date V 27 2012-08-27T15:47:46.742064Z K 7 svn:log V 906 MFC r239545, r239665: Fix/add support for SCSI UNMAP to ATA DSM translation. This addresses kernel panic observed when sending SCSI UNMAP commands to SATA disks attached to isci(4). 1) Flesh out callback routines to allocate/free buffers needed for translating SCSI UNMAP data to ATA DSM data. 2) Add controller-level pool for storing buffers previously allocated for UNMAP translation, to lessen chance of no buffer available under memory pressure. 3) Ensure driver properly handles case where buffer pool is empty and contigmalloc returns NULL. 4) Clear freeze bit in isci_remote_device_release_lun_queue() before calling xpt_release_devq to ensure that any ccbs which immediately start during the call to xpt_release_devq() see an accurate picture of the frozen_lun_mask. This code path is extensively exercised when tagged read/write commands mix with non-tagged DSM commands. Sponsored by: Intel END