ı"221522 190 553 313 251 265 375 391 646 123 134 115 642 156 131 202 329 456 225 111 120 129 216 220 222 222 235 235 318 219 236 616 127 191 152 346 211 138 257 154 145 254 99 260 651 367 388 250 195 222 460 175 202 1586 375 169 172 176 171 107 732 350 160 160 160 347 154 545 316 321 424 151 156 128 225 236 354 252 214 215 412 147 242 562 244 163 208 221 244 138 182 170 2172 99 542 254 363 870 165 175 330 178 319 184 214 128 165 245 595 152 185 171 303 257 157 187 120 162 165 238 329 136 146 250 157 157 592 162 509 147 136 136 157 158 204 628 157 129 157 340 141 141 170 112 99 223 359 699 180 495 123 316 305 197 203 243 342 2235 157 305 115 113 113 109 109 104 155 165 1345 113 384 133 222 133 1056 219 299 240 532 99 168 179 371 476 241 211 124 115 279 275 99 524 K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-06T12:49:32.472317Z K 7 svn:log V 457 MFC r220903: sh: Do not word split "${#parameter}". This is only a problem if IFS contains digits, which is unusual but valid. Because of an incorrect fix for PR bin/12137, "${#parameter}" was treated as ${#parameter}. The underlying problem was that "${#parameter}" erroneously added CTLESC bytes before determining the length. This was properly fixed for PR bin/56147 but the incorrect fix was not backed out. Reported by: Seeker on forums.freebsd.org END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-06T13:11:50.249546Z K 7 svn:log V 220 Increase NFS_TICKINTVL value from 10 to 500. Now that callout does useful things only once per second, so other 99 calls per second were useless and just don't allow idle system to sleep properly. Reviewed by: rmacklem END K 10 svn:author V 7 fabient K 8 svn:date V 27 2011-05-06T13:12:45.267787Z K 7 svn:log V 154 MFC r220194: Fix two SA refcount: - AH does not release the SA like in ESP/IPCOMP when handling EAGAIN - ipsec_process_done incorrectly release the SA. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2011-05-06T13:24:10.431413Z K 7 svn:log V 168 MFC r220206: Optimisation in IPSEC(4): - Remove contention on ISR during the crypto operation by using rwlock(9). - Remove a second lookup of the SA in the callback. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-05-06T13:48:53.879285Z K 7 svn:log V 282 Retire isa_setup_intr() and isa_teardown_intr() and use the generic bus versions instead. They were never needed as bus_generic_intr() and bus_teardown_intr() had been changed to pass the original child device up in 42734, but the ISA bus was not converted to new-bus until 45720. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-06T13:51:54.065682Z K 7 svn:log V 298 prepare code that does topology detection for amd cpus for bulldozer This also introduces a new detection path for family 10h and newer pre-bulldozer cpus, pre-10h hardware should not be affected. Tested by: Gary Jennejohn (with pre-10h hardware) MFC after: 2 weeks END K 10 svn:author V 7 fabient K 8 svn:date V 27 2011-05-06T14:05:32.877913Z K 7 svn:log V 549 MFC r220198: Clearing the flag when preempting will let the preempted thread run too much time. This can finish in a scheduler deadlock with ping-pong between two threads. One sample of this is: - device lapic (to have a preemption point on critical_exit()) - options DEVICE_POLLING with HZ>1499 (to have lapic freq = hardclock freq) - running a cpu intensive task (that does not enter the kernel) - only one CPU on SMP or no SMP. As requested by jhb@ 4BSD have received the same type of fix instead of propagating the flag to the new thread. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-06T14:07:34.354794Z K 7 svn:log V 32 Don't track the generated file. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-06T14:08:24.518765Z K 7 svn:log V 43 Vendor import of bwk's 6-May-2011 release. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-06T14:11:01.829252Z K 7 svn:log V 24 Tag a 20110506 release. END K 10 svn:author V 7 fabient K 8 svn:date V 27 2011-05-06T14:11:20.055246Z K 7 svn:log V 545 MFC r220198: Clearing the flag when preempting will let the preempted thread run too much time. This can finish in a scheduler deadlock with ping-pong between two threads. One sample of this is: - device lapic (to have a preemption point on critical_exit()) - options DEVICE_POLLING with HZ>1499 (to have lapic freq = hardclock freq) - running a cpu intensive task (that does not enter the kernel) - only one CPU on SMP or no SMP. As requested by jhb@ 4BSD have received the same type of fix instead of propagating the flag to the new thread. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-06T14:21:46.141266Z K 7 svn:log V 65 Update to a 6-May-2011 release (upstreamed some of our changes). END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-06T15:31:27.958211Z K 7 svn:log V 35 Fix breakage. Reported by: sbruno END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-06T15:33:56.581599Z K 7 svn:log V 106 Add a function which enables or disables RX RIFS searching, and migrate the code which does this into it. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-06T15:40:58.881817Z K 7 svn:log V 228 Simplify this code somewhat by only writing a 512-byte-sector APM map. All firmwares can read it, we need to write one anyway for old OF versions, and if a 512-byte one is present, OS X ignores the 2048-byte one in favor of it. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-06T17:51:00.034540Z K 7 svn:log V 358 Set the initial value of maxfilesize to OFF_MAX in the new NFS client. It will then be reduced to whatever the server says it can support. There might be an argument that this could be one block larger, but since NFS is a byte granular system, I chose not to do that. Suggested by: Matt Dillon Tested by: Daniel Braniss (earlier version) MFC after: 2 weeks END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-06T18:40:51.788832Z K 7 svn:log V 128 MFC r221401: Fix prototype for ffsll(3) and fls(3). PR: docs/156796 Submitted by: Jean-Yves Migeon END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-06T19:10:27.804581Z K 7 svn:log V 20 Tidy up formatting. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-06T19:13:03.745384Z K 7 svn:log V 29 Removed trailing whitespace. END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-05-06T19:14:06.897851Z K 7 svn:log V 38 MK_GPIO changed its default; reflect. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-06T19:55:15.263893Z K 7 svn:log V 118 Fix the module dependency in nfs_kdtrace.c for the old NFS client. This should fix a problem reported by Marcus Reid. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-06T20:02:19.469358Z K 7 svn:log V 122 Move sys/nfsclient/nfs_kdtrace.h to sys/nfs/nfs_kdtrace.h so it can be used by the new NFS client as well as the old one. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-06T20:02:23.856594Z K 7 svn:log V 126 MFC: r221343 Fix an logic bug which caused jumbo buffers to not be synced and unloaded. Reported and tested by: Michael Moll END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-06T20:02:26.935670Z K 7 svn:log V 126 MFC: r221343 Fix an logic bug which caused jumbo buffers to not be synced and unloaded. Reported and tested by: Michael Moll END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-06T20:04:47.189699Z K 7 svn:log V 139 MFC: r216962 Inherit the APB and the generic OFW PCI-PCI bridge driver from the generic PCI-PCI bridge driver in order to safe some code. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-05-06T20:04:47.566159Z K 7 svn:log V 139 MFC: r216962 Inherit the APB and the generic OFW PCI-PCI bridge driver from the generic PCI-PCI bridge driver in order to safe some code. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T20:37:07.630771Z K 7 svn:log V 221 Do not increment collision counter if transmit have failed. Transmission error in tun(4) is queueing error(i.e. ENOBUFS) and it has nothing to do with collision. Reported by: Zeus V Panchenko (zeus <> ibs dot dn dot ua) END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-06T20:40:33.577013Z K 7 svn:log V 123 Change the name of an internal structure, since the name is used by a structure of the (new) SCTP API. MFC after: 1 week. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-05-06T20:43:02.063678Z K 7 svn:log V 135 SMP has worked perfectly for a very long time on 32-bit PowerPC on both UP and SMP hardware. Enable it in GENERIC. MFC after: 2 weeks END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-06T20:45:50.071080Z K 7 svn:log V 520 sh: Change the CTL* bytes to ones invalid in UTF-8. This ensures that mbrtowc(3) can be used directly once it has been verified that there is no CTL* byte. Dealing with a CTLESC byte within a multibyte character would be complicated. The new values do occur in iso-8859-* encodings. This decreases efficiency slightly but should not affect correctness. Caveat: Updating across this change and rebuilding without cleaning may yield a subtly broken sh binary. By default, make buildworld will clean and avoid problems. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T20:46:29.583484Z K 7 svn:log V 31 Fix white space nits and style END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2011-05-06T21:09:33.670783Z K 7 svn:log V 95 MFC r217637,218178 Add another ID for the ZTE MF190 Surf Stick New ID for the Novatel MC547 END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-06T21:53:29.888216Z K 7 svn:log V 56 Add sparc64 support. Compiled (and helped) by: pluknet END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T22:01:46.909932Z K 7 svn:log V 249 Rewrite RX filter logic and provide controller specific filter handler for 3C90x and 3C90xB/C respectively. This simplifies ioctl handler as well as enhancing readability. While I'm here don't reprogram multicast filter when driver is not running. END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2011-05-06T22:07:31.698064Z K 7 svn:log V 114 MFC r218422: Curitel UM150 needs a quirk to stop it from detaching straight after attach (resetting actually). END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T22:16:43.393405Z K 7 svn:log V 42 Remove unnecessary htole32/le32toh dance. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T22:26:57.355901Z K 7 svn:log V 160 Set status word once instead of twice. For 3C90xB/3C90xC, frame length of status word is ignored. While here move bus_dmamap_sync() up where DMA map is loaded. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-06T22:31:27.184767Z K 7 svn:log V 59 sh: Track if the current locale's charset is UTF-8 or not. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T22:36:43.469009Z K 7 svn:log V 49 Call bus_dmamap_sync() only after TX DPD update. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T22:45:13.533391Z K 7 svn:log V 157 Updating status word should be the last operation of UPD structure renewal. Disable instruction reordering by adding volatile to xl_list_onefrag structure. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-06T22:45:33.409645Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T22:55:53.901470Z K 7 svn:log V 163 Terminate interrupt handler if driver detect it's not running. Also add check for driver running state before trying to send frames. While I'm here, use for loop. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T23:01:29.227414Z K 7 svn:log V 554 Change xl_rxeof() a bit to return the number of processed frames in RX descriptor ring. Previously it returned the number of frames that were successfully passed to upper stack which in turn means it ignored frames that were discarded due to errors. The number of processed frames in RX descriptor ring is used to detect whether driver is out of sync with controller's current descriptor pointer. Returning number of processed frames reduces unnecessary (probably wrong) re-synchronization. While here, remove unnecessary local variable initialization. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-06T23:49:10.984425Z K 7 svn:log V 270 Reuse the TX descriptor(DPD) if xl_encap() failed instead of just picking the next available one. This may explain why xl(4) sees TX underrun error with no queued frame. I hope this addresses a long standing xl(4) watchdog timeout issue as well. Obtained from: OpenBSD END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-07T00:06:02.345694Z K 7 svn:log V 291 Rename xl_stats_update() callout handler to xl_tick() and move MII tick driving logic to xl_tick(). Now xl_tick() handles MII tick as well as periodic updating of statistics. This change removes a hack used in interrupt handler where it wanted to update statistics without driving MII tick. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-07T00:18:58.783421Z K 7 svn:log V 153 Rearm watchdog timer if driver kick controller to recover from TX underrun error. While here, prepend 0x to status code to show TX status is hex number. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-07T00:25:12.585878Z K 7 svn:log V 99 XL_DMACTL is 32bit register, use 32bit write macro. While I'm here add more bits for the register. END K 10 svn:author V 6 obrien K 8 svn:date V 27 2011-05-07T01:05:31.542462Z K 7 svn:log V 126 Add the ability to search for all the inlined instances of a given function. Reviewed by: jb Obtained from: Juniper Networks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-07T02:00:35.564426Z K 7 svn:log V 362 MFC: r220967 Fix a LOR in vfs_busy() where, after msleeping, it would lock the mutexes in the wrong order for the case where the MBF_MNTLSTLOCK is set. I believe this did have the potential for deadlock. For example, if multiple nfsd threads called vfs_busyfs(), which calls vfs_busy() with MBF_MNTLSTLOCK. Thanks go to pho for catching this during his testing. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-07T02:19:46.169742Z K 7 svn:log V 79 Remove unneeded use of variable status. This should have been done in r221557. END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-05-07T02:37:34.974556Z K 7 svn:log V 109 MFC 205076 [1], 209034 [1], 211406 [2]: manlint fixes. Reported by: manlint Obtained from: uqs[1], joel[2] END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-07T02:54:52.272148Z K 7 svn:log V 1489 Fix the OWL revision checks. A quick story, which is partially documented in the commit. The silicon revision in Linux ath9k and the Atheros HAL use an AR_SREV_REVISION mask of 0x07. FreeBSD's HAL uses the AR5212 AR_SREV_REVISION mask of 0x0F. Thus the OWL silicon revisions were coming through as 0xA, 0xB, 0xC, rather than 0x0, 0x1 and 0x2. My ath9k-sourced AR_SREV_OWL_ macros were thus using the wrong silicon revision values and wouldn't correctly match. This commit does a few things: * Change the AR_SREV_OWL_ macros to use the AR_SREV_REVISION_OWL_* values, not AR_XSREV_REVISION_OWL macros; * Disable AR_XSREV_REVISION_OWL_* values; * Modify the IS_5416 to properly check the MAC is OWL, rather than potentially matching on non-OWL revisions (which shouldn't happen unless there's a silicon revision of higher than 0x9 in a later chip..) * Add a couple more macros from the Atheros HAL for compatibility. The main difference now is that the Atheros HAL defines AR_SREV_OWL_{20,22}_OR_LATER subtly differently - it fails on all HOWL silicon. The AR_SREV_5416_*_OR_LATER macros match on the relevant OWL version -and- all HOWL versions, along with subsequent versions. A subsequent commit is going to migrate the uses of AR_SREV_OWL_X_OR_LATER to AR_SREV_5416_X_OR_LATER to match what's going on in the Atheros HAL. There's only two uses of AR_SREV_OWL_X_OR_LATER which currently don't apply to FreeBSD but it may do in the future. Yes, it's all confusing! END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-07T02:59:24.508510Z K 7 svn:log V 279 Change AR_SREV_OWL_{X}_OR_LATER to AR_SREV_5416_{X}_OR_LATER. For now, these are equivalent macros. AR_SREV_OWL{X}_OR_LATER will later change to exclude Howl (AR9130) in line with what the Atheros HAL does. This should not functionally change anything. Obtained from: Atheros END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-05-07T03:09:16.191608Z K 7 svn:log V 77 MFC 205076 [1]: manlint fixes. Reported by: manlint Obtained from: uqs [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-05-07T03:29:22.686652Z K 7 svn:log V 80 MFC 198441 [1]: manlint fixes. Reported by: manlint Obtained from: rpaulo [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-05-07T03:49:07.680668Z K 7 svn:log V 84 MFC 173192 [1]: manlint fixes. Reported by: manlint Obtained from: keramida [1] END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-05-07T03:58:27.297277Z K 7 svn:log V 79 MFC 205076 [1]: manlint fixes. Reported by: manlint Obtained from: uqs [1] END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-05-07T04:40:44.346179Z K 7 svn:log V 11 Fix build. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-07T06:45:35.156869Z K 7 svn:log V 636 Some BB hang changes: * Add Howl (ar9130) to the list of chips that have DFS/BB/MAC hangs * Don't treat unknown BB hangs as fatal; ath9k/Atheros HAL don't treat it as such. * Add HAL_DEBUG_DFS to the debug fields in ath_hal/ah_debug.h The BB hang check simply loops over an observation register checking for a stuck state engine, but it can happen under high traffic conditions. Ath9k and the Atheros HAL simply log a debug message and continue. Private to FreeBSD: * Add HAL_DEBUG_HANG to the debug fields * Change the hang debugging to HAL_DEBUG_HANG rather than HAL_DEBUG_DFS like in the Atheros HAL. Obtained from: Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-07T06:47:09.081488Z K 7 svn:log V 254 Add some comments about which HAL capabilities are currently FreeBSD specific. The Atheros HAL and FreeBSD HAL share the same capabilities up until HAL_CAP_11D, where things begin to diverge. I'll look at tidying these up soon. Obtained from: Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-07T06:52:04.980662Z K 7 svn:log V 65 Instead of returning an unknown mac/bb signature, just return 0. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-07T09:26:11.911114Z K 7 svn:log V 68 MFC r221388: SNDCTL_DSP_GETIPTR: set pointer to sndbuf_getfreeptr() END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-07T09:33:37.854855Z K 7 svn:log V 68 MFC r221388: SNDCTL_DSP_GETIPTR: set pointer to sndbuf_getfreeptr() END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-07T10:06:43.187576Z K 7 svn:log V 254 scsi_cd: silence READ_TOC errors in CDIOREADTOCHEADER ioctl An optical disk may not have a TOC (e.g. for blank media) and userland software may legitimately try to use CDIOREADTOCHEADER to find out about the TOC. Silence from: scsi@ MFC after: 10 days END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T10:08:01.237677Z K 7 svn:log V 61 MFC r201166 (kientzle): ar only needs to support ar format. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T10:23:07.065164Z K 7 svn:log V 451 MFC r208189: Removed ar(1)'s support for compressed archives. This change removes ar(1)'s dependencies on compressor libraries -lz, -lbz2 and -llzma and fixes building HEAD on some versions of FreeBSD[78]. Option -j and -z is now accepted but ignored. Compressed ar(1) archives are not useful without a ld(1) that can read them. Also, the current ar(1) compression scheme prevents random access of archive members and needs to be redesigned anyway. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T10:27:23.680615Z K 7 svn:log V 222 MFC r213643 (kientzle): Add -D (deterministic) option to ar. When set, it forces all timestamps and owners to zero and modes to 0644. Useful for producing libraries that are bitwise identical across multiple build runs. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T10:31:34.627226Z K 7 svn:log V 227 MFC r216014: Add option -D for ranlib(1). When -D is speicified, ranlib(1) will generate a deterministic archive symbol table (i.e. timestamp for the symbol table member header is set to 0). Submitted by: Erik Cederstrand END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T10:32:52.071194Z K 7 svn:log V 330 MFC r216716: * Add mention of the `-f`, `-q`, `-S`, and `-V` options in the synopsis section. * Document the `-l`, `-M` and `-S` options. * Improve the text describing the behavior of the `-r` option. * Start a section on standard compliance. * Indicate in the synopsis that the `-S` and `-s` options are mutually exclusive. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T10:33:59.660809Z K 7 svn:log V 58 MFC r216717: Improve the description of the `-q` option. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T10:35:43.351003Z K 7 svn:log V 63 MFC r216719: Document the syntax accepted by the `-M` option. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-07T10:40:57.710826Z K 7 svn:log V 36 a whitespace nit MFC after: 4 days END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T10:44:08.741366Z K 7 svn:log V 131 * Rewrite ar.5 mannual page to better document ar(1) archive format. * Use more standard BSD license. Obtained from: elftoolchain END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T11:04:36.943233Z K 7 svn:log V 142 For zero-sized sections, set the `d_buf` field of the `Elf_Data` descriptor returned by `elf_rawdata()` to NULL. Obtained from: elftoolchain END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-07T11:05:16.963877Z K 7 svn:log V 258 Read in the extended regulatory domain flags so future code can use them. These describe FCC/Japan channel and DFS behaviour. The AR9285 and later chips don't set these bits in the eeprom, the correct behaviour is to just assume all five bits are enabled. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-05-07T11:10:58.378095Z K 7 svn:log V 160 Add WITNESS_WARN() to getenv() to explicitly note that the function may sleep. This helps to expose bugs when the requested environment variable doesn't exist. END K 10 svn:author V 4 kaiw K 8 svn:date V 27 2011-05-07T11:29:48.671432Z K 7 svn:log V 120 Document the behavior of `elf_getdata()` and `elf_rawdata()` with zero-sized ELF sections. Obtained from: elftoolchain END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-07T12:27:25.239919Z K 7 svn:log V 122 Don't use MWAIT for short sleeps under XEN, as it was before r212541. This fixes panic during boot in PV mode on Xen 3.2. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-07T13:08:48.556557Z K 7 svn:log V 316 Update the ext channel cycpwr threshold 1 register for the extension channel when the channel is HT/40. The new ANI code (primarily for the AR9300/AR9400) in ath9k sets this register but the ANI code for the previous 11n chips didn't set this. Unlike ath9k, only set this for HT/40 channels. Obtained From: ath9k END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-07T13:57:30.388478Z K 7 svn:log V 55 a whitespace nit Reminder from: kib MFC after: 4 days END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-07T14:32:16.587130Z K 7 svn:log V 146 sh: Add UTF-8 support to ${#var}. If the current locale uses UTF-8, ${#var} counts codepoints (more precisely, bytes b with (b & 0xc0) != 0x80). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-07T15:30:23.186301Z K 7 svn:log V 466 Do a HAL capabilities sync pass based on the Atheros HAL. * Shuffle some of the capability numbers around to match the Atheros HAL capability IDs, just for consistency. * Add some new capabilities to FreeBSD from the Atheros HAL which will be be shortly used when new chipsets are added (HAL SGI-20 support is for Kiwi/AR9287 support); for TX aggregation (MBSSID aggregate support, WDS aggregation support); CST/GTT support for carrier sense/TX timeout. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-05-07T16:28:23.992858Z K 7 svn:log V 146 Minor usbdump update: - Use memcpy() instead of bcopy(). - Replace all asserts() by standard error messages. - Update usage(). MFC after: 7 days END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-05-07T16:32:59.059664Z K 7 svn:log V 66 Add new USB ID. Submitted by: Dmitry Luhtionov MFC after: 7 days END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-05-07T17:23:13.140396Z K 7 svn:log V 112 In pmap_kextract(), return the physical address for PBVM virtual addresses as well (incl. the PBVM page table). END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-05-07T17:59:07.152683Z K 7 svn:log V 129 To avoid duplicated warning, move WITNESS_WARN() added in r221597 to the branch which doesn't call malloc(9). Suggested by: kib END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-07T18:42:41.309778Z K 7 svn:log V 148 Fix the IS_5416 checks to actually work correctly. I've verified that my AR5416 revision 2.2 (minor revision 0x0A) now matches the correct checks. END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-07T21:54:49.358973Z K 7 svn:log V 44 - Tweak config.h to suit our building needs END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-07T22:03:36.492372Z K 7 svn:log V 88 - Decouple header files from config.h so that they can be used individually. - Clean up END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-07T22:05:14.207747Z K 7 svn:log V 76 - Customize tre-config.h, a copy of the already cleaned up config.h will do END K 10 svn:author V 7 n_hibma K 8 svn:date V 27 2011-05-07T22:20:01.772277Z K 7 svn:log V 2074 MFC overview: - Fix busg in events provided to devd from the USB stack. - Provide more info on the u3g devices that attached. - Make the ucom device numbering more sane. MFC r214429 Add support for setting per-interface PnP information. MFC r214761 - Simplify the way unit/subunit allocation is done in ucom. - hw.usb.ucom.cons_unit is now split into hw.usb.ucom.cons_unit/...cons_subunit. Note: The tunable/sysctl hw.usb.ucom.cons_unit needs to be reviewed if a) a console was defined a USB serial devices, and a USB device with more than 1 subunit is present, and this device is attached before the device functioning as a console or b) a console was defined on a USB device with more than 1 subunit MFC r214809 Don't terminate the notification with \n. This is done in usb_device.c:devctl_notify_f(). MFC r214830 Bugfix: Move the 'at =') and hence prevent 'port=X' (and 'bus=<"on" string>) from making it into the environment for the devd action. MFC r214831 - Remove an unused entry from the softc (only used in a debugging printf). - Fix the loop count on detach (causing a panic on detaching a serial dongle). - Increase a buffer in case some driver want extra long tty device names (postfixing the purpose of the tty for example, e.g. u3g.ppp). MFC r214843 Implement ucom_set_pnpinfo_usb() providing ttyname and port number information through devd. My E220 now produces the notification (1 line): +u3g0 at bus=1 hubaddr=1 port=0 devaddr=2 interface=0 \ vendor=0x12d1 product=0x1003 devclass=0x00 devsubclass=0x00 \ sernum="" release=0x0000 intclass=0xff intsubclass=0xff \ ttyname=U0 ttyports=2 on uhub0 Note: serial/ufoma and net/uhso still provide port number and tty name (uhso only) information through sysctls, which should now be removed. MFC r214919 Bugfix: Set the bit that marks a device number in use. This would cause a panic when disconnecting the second serial device. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-07T23:34:14.222093Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-08T00:39:49.921551Z K 7 svn:log V 445 All architectures define the size-bounded types (uint32_t, uint64_t, etc.) starting from base C types (int, long, etc). That is also reflected when building atomic operations, as the size-bounded types are built from the base C types. However, powerpc does the inverse thing, leading to a serie of nasty bugs. Cleanup the atomic implementation by defining as base the base C type version and depending on them, appropriately. Tested by: jceel END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2011-05-08T01:01:27.223162Z K 7 svn:log V 156 Change the new NFS server so that it uses vfs.nfsd naming for its sysctls instead of vfs.newnfs. This separates the names from the ones used by the client. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-08T03:24:17.909837Z K 7 svn:log V 267 Fiddle with the AR5416 1.0 chainmask setup. Apparently all three RX chains need to be enabled before initial calibration is done, even if only two are configured. Reorder the alt chain swap bit to match what the Atheros HAL is doing. Obtained From: ath9k, Atheros END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-08T05:25:42.707166Z K 7 svn:log V 774 * Add in a comment about ar5416InitUserSettings() potentially modifying AR_DIAG_SW. There's a hardware workaround which sets disabling some errors early at startup and clears said bits before the PCU begins receiving - it does this to avoid RX descriptor status errors. It's possible these bits aren't being completely properly twiddled in all instances; but in particular if the diag_reg HAL variable is set it won't be setting these bits correctly. I'll review this at some point. * Disable multicast search on mac address and key id - the driver doesn't use it at the moment and thus adhoc may be broken for merlin and later. * Change this to be for Merlin 1.0 (which from what I understand wasn't ever publicly released) to be more correct. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-08T05:45:06.574932Z K 7 svn:log V 70 Properly indent the WAR code i pasted in from ath9k a few months ago. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-05-08T06:25:50.295838Z K 7 svn:log V 84 MFC r221516: Bump up the number of egress queues that the driver is allowed to use. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-08T07:21:09.145047Z K 7 svn:log V 234 Fiddle with the PLL initialisation order to match ath9k/Atheros HAL. This seems to make the AR9160 behave better during heavy scanning, where before it'd hang and require a hard reset to recover. Obtained From: Linux ath9k, Atheros END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-05-08T08:17:16.994911Z K 7 svn:log V 81 MFC r214221, r216072 and r214809. Make configuration of USB stack more flexible. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-08T08:18:30.906790Z K 7 svn:log V 223 These EEPROM bits actually defined whether HT/20 and HT/40 support for the given channel is available. It isn't used yet; ar5416GetWirelessModes() needs to be taught about this rather than assuming HT20/HT40 is available. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-05-08T08:22:11.835073Z K 7 svn:log V 87 Cleanup usb_notify_addq_compat(). It should not be needed any more. MFC after: 7 days END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-08T09:08:50.276075Z K 7 svn:log V 121 Add magic field to the g_eli_key structure to detect if we are really operating on proper structures. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-08T09:09:49.534754Z K 7 svn:log V 36 Drop proper key. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-08T09:11:04.425277Z K 7 svn:log V 73 Remove prototype for a function that no longer exist. MFC after: 1 week END K 10 svn:author V 6 tuexen K 8 svn:date V 27 2011-05-08T09:11:59.077196Z K 7 svn:log V 149 Fix a locking issue showing up on Mac OS X when subscribing to authentication events. DTLS/SCTP renegotiations trigger the bug. MFC after: 2 weeks. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-08T09:17:56.776241Z K 7 svn:log V 502 When support for multiple encryption keys was committed, GELI integrity mode was not updated to pass CRD_F_KEY_EXPLICIT flag to opencrypto. This resulted in always using first key. We need to support providers created with this bug, so set special G_ELI_FLAG_FIRST_KEY flag for GELI provider in integrity mode with version smaller than 6 and pass the CRD_F_KEY_EXPLICIT flag to opencrypto only if G_ELI_FLAG_FIRST_KEY doesn't exist. Reported by: Anton Yuzhaninov MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-08T09:25:16.541191Z K 7 svn:log V 60 Detect and handle metadata of version 6. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-08T09:25:54.100223Z K 7 svn:log V 93 Version 6 is compatible with version 5 when it comes to control commands. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-08T09:29:21.757721Z K 7 svn:log V 79 Export GELI class version via sysctl kern.geom.eli.version. MFC after: 1 week END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-05-08T09:31:17.510807Z K 7 svn:log V 206 Fix isitme(), which is used to check if node-specific configuration belongs to our node, and was returning false positive if the first part of a node name matches short hostname. Approved by: pjd (mentor) END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-08T09:46:09.831400Z K 7 svn:log V 164 Document the following sysctls: kern.geom.eli.version kern.geom.eli.key_cache_limit kern.geom.eli.key_cache_hits kern.geom.eli.key_cache_misses MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T10:19:29.888176Z K 7 svn:log V 60 Re-add 2 device IDs which got lost. Pointed out by: benjsc END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T10:21:42.068506Z K 7 svn:log V 90 The 6000 series adapters have a slightly different offset for band 6, 2GHz HT40 channels. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T10:31:22.745391Z K 7 svn:log V 23 Hook HT channel setup. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T10:35:16.552828Z K 7 svn:log V 65 Use the enhanced TX power information availabe on newer EEPROMs. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T10:54:50.217102Z K 7 svn:log V 68 Allocate all TX rings, those will be use for TX packet aggregation. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T10:57:44.715687Z K 7 svn:log V 140 RX aggregation is slightly different then the legacy path, we will only receive one RX_PHY for each aggregate and not one RX_PHY per frame. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T11:01:53.009092Z K 7 svn:log V 231 Disable background scan support for 4965 adapters. On legacy channels every once in a while the firmware throws a SYSASSERT on line 208. On HT channels though this does always happen and I'm not aware of any workaround currently. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T11:03:16.769549Z K 7 svn:log V 39 Add HT capabilities to probe requests. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T11:05:03.040169Z K 7 svn:log V 49 Read chainmask information before announcing it. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-05-08T11:10:56.043883Z K 7 svn:log V 157 Allow to specify remote as 'none' again which was broken by r219351, where 'none' was defined as a value for checksum. Reported by: trasz MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-08T11:16:17.935371Z K 7 svn:log V 66 Limit number of sectors that can be addressed. MFC after: 1 week END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-08T11:20:27.069847Z K 7 svn:log V 66 Limit number of sectors that can be addressed. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-08T11:32:20.036503Z K 7 svn:log V 496 sh: Add UTF-8 support to pattern matching. ?, [...] patterns match codepoints instead of bytes. They do not match invalid sequences. [...] patterns must not contain invalid sequences otherwise they will not match anything. This is so that ${var#?} removes the first codepoint, not the first byte, without putting UTF-8 knowledge into the ${var#pattern} code. However, * continues to match any string and an invalid sequence matches an identical invalid sequence. (This differs from fnmatch(3).) END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-08T11:42:51.113705Z K 7 svn:log V 71 Replace UINT_MAX to UINT32_MAX. Pointed out by: kib MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T11:49:50.635761Z K 7 svn:log V 411 Prepare for transmitting frames at MCS rates: - instead of calling iwn_plcp_signal() for every frame, map the expected value directly within wn->ridx - concat plcp, rflags and xrflags, there is no clean byte boundary within the flags, for example the antenna setting uses bit 6, 7 and 8 - there is still need for a custom rate to plcp mapping, as those expected by the hardware are not conform to the std END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T11:54:38.305041Z K 7 svn:log V 50 Add support for transmitting frames at MCS rates. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T11:58:23.346848Z K 7 svn:log V 39 Add support for RX packet aggregation. END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T12:06:12.680830Z K 7 svn:log V 39 Add support for TX packet aggregation. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-08T12:11:16.974290Z K 7 svn:log V 66 Limit number of sectors that can be addressed. MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T12:11:20.854660Z K 7 svn:log V 61 Notify firmware about various HT parameters once associated. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-08T12:16:39.091023Z K 7 svn:log V 112 Limit number of sectors that can be addressed. Reject table if blkcount from metadata is greater than provider. END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-08T12:16:39.194138Z K 7 svn:log V 535 Jails have a problem in that if the jail directory is world-readable, an attacker with root access to the jail can create a setuid binary for their own use in the host environment (if they also have this access), thus breaking root in the host. This exploit is impossible if the jail's files are not world-readable. Add instructions to the man page on how to create a jail with the correct permissions set. PR: docs/156853 Submitted by: Chris Rees (utisoft at gmail dot com) Reviewed by: cperciva (security parts) MFC after: 9 days END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-08T12:20:30.243344Z K 7 svn:log V 66 Limit number of sectors that can be addressed. MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-05-08T12:23:01.040789Z K 7 svn:log V 32 Enable 11n (sans HT40) support. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-05-08T12:28:13.637919Z K 7 svn:log V 66 Limit number of sectors that can be addressed. MFC after: 1 week END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-05-08T12:34:31.717575Z K 7 svn:log V 245 We now have multiple filesystems (UFS, ZFS, ...), so for tools that only operate on one type of filesystem, mention this. While here, capitalise the use of "UFS" in growfs.8 to match other uses of the term in other man pages. MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-08T14:03:44.478801Z K 7 svn:log V 46 sh(1): Update BUGS section for UTF-8 support. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-08T14:23:21.405517Z K 7 svn:log V 45 - Fix a typo - Fix an inversion in the logic END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-08T14:29:25.753134Z K 7 svn:log V 74 Revert MAXCPU introduction. In userland it is always 1. Noted by: marcel END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-08T14:45:53.639121Z K 7 svn:log V 16 Fix a mismerge. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-08T14:56:02.480728Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 bcr K 8 svn:date V 27 2011-05-08T14:57:01.272171Z K 7 svn:log V 130 Revert r221655: Various people voiced their concerns about these changes. Until this is resolved, we should use the old version. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-08T15:25:22.668941Z K 7 svn:log V 263 * Add AR_SREV_KITE macro for later use * Modify AR_SREV_MERLIN_20() to match the Atheros/Linux ath9k behaviour - its supposed to match Merlin 2.0 and later Merlin chips. AR_SREV_MERLIN_20_OR_LATER() matches AR9280 2.0 and later chips (AR9285, AR9287, etc.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-08T15:55:52.680084Z K 7 svn:log V 603 Fix the 5ghz fast clock logic. The macro which I incorrectly copied into ah_internal.h assumed that it'd be called with an AR_SREV_MERLIN_20() check to ensure it was only enabled for Merlin (AR9280) silicon revision 2.0 or later. Trouble is, the 5GHz fast clock EEPROM flag is only valid for EEPROM revision 16 or greater; it's assumed to be enabled by default for Merlin rev >= 2.0. This meant it'd be incorrectly set for AR5416 and AR9160 in 5GHz mode. This would have affected non-default clock timings such as SIFS, ACK and slot time. The incorrect slot time was very likely wrong for 5ghz mode. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-08T16:15:50.696367Z K 7 svn:log V 85 sh: Optimize variable code by storing the length of the name. Obtained from: NetBSD END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-05-08T17:40:10.472284Z K 7 svn:log V 399 sh: Add \u/\U support (in $'...') for UTF-8. Because we have no iconv in base, support for other charsets is not possible. Note that \u/\U are processed using the locale that was active when the shell started. This is necessary to avoid behaviour that depends on the parse/execute split (for example when placing braces around an entire script). Therefore, UTF-8 encoding is implemented manually. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-08T21:40:42.703346Z K 7 svn:log V 31 create a place for my projects END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-08T21:46:12.759525Z K 7 svn:log V 223 create a branch for my "cross-cpu" changes this includes: - cpu stopping, hard and soft - cpu rendezvous - x86 tlb shootdowns - interactions of the above and extends to implementation of: - panic(9) - kdb - cpu resetting END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-09T00:04:36.179895Z K 7 svn:log V 210 - Bring in TRE headers into include so that it can be built as a part of the base system. - It is still called tre.h for compatibility of TRE-specific applications so regex.h only contains an include to it END K 10 svn:author V 5 gabor K 8 svn:date V 27 2011-05-09T00:29:20.105104Z K 7 svn:log V 102 - Remove tre.h and regex.h from here as they became system headers - Include tre.h as a system header END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:01:19.799189Z K 7 svn:log V 110 make panicstr a volatile pointer this is just to be safe and extra correct rather than to fix any real issue END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:03:01.540020Z K 7 svn:log V 150 add a macro to identify a panic thread the macro is placed into systm.h as all potential users of this macro should already include this header file END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:04:14.314349Z K 7 svn:log V 249 generic_stop_cpus: move timeout detection code from under DIAGNOSTIC ... and also increase it a bit. IMO it's better to detect and report the (rather serious) condition and allow a system to proceed somehow rather than be stuck in an endless loop. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:05:06.067236Z K 7 svn:log V 2141 re-implement hard stopping of CPUs and use it enforce panic(9) context Hard stopping changes: - stop_cpus_hard interface is intentionally narrowed to always act on all other cpus - stop_cpus_hard keeps its own accounting of stopped cpus completely disregarding soft stopping of cpus (pausing, suspending) - no recursion whatsoever is allowed for stop_cpus_hard; all callers must check if they are already in "super" mode - protect stop function with spinlock context - avoid potential deadlock between two cpus already being in nmi context (e.g. because of hardware) and trying to stop each other by checking the stopped bit while spinning on stopper lock; this is possibly an arch-specific thing [x86]; The last item is what I call a cross-cpu deadlock avoidance approach. General idea: if a CPU can't grab a lock protecting cross-/intra-CPU interactions, then while spinning on the lock the CPU should check for incoming cross-CPU events possibly posted by a CPU that currently holds the lock. In this scheme an IPI is used only to interrupt a CPU so that it can notice a new event, but the actual event should be passed via the memory (a bit in a cpu set - like newly introduced hard_stopping_cpus, or some other variable). Panic context changes: - ensure that only one (panic-ing) CPU runs after panic(9) call by stopping other CPUs using stop_cpus_hard() - disable interrupts/preemption early in panic(9) and do re-enable (this most probably breaks sync-on-panic behavior) - allow a panic-ing thread to penetrate all locks and never sleep on conditions (lockmgr locks are exempt actually): o mutex, spin mutex, rwlock, rmlock, sx: allow lock/unlock operations to unconditionally succeed for a thread in panic [jhb] o tsleep, msleep (msleep_spin, _sleep): return success without waiting for a thread in panic [jhb] o cv code already does that when panisctr != NULL - boot(): do not rebind to bsp if panic-ing [mdf] - in all places where we want to stop other cpus first check if they are not stopped already cpu_reset() and cpustop_hard_handler() are only (re-)implemented for amd64 at the moment. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:05:36.301200Z K 7 svn:log V 65 change generic_stop_cpus to use the same approach hard_stop_cpus END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:06:34.459798Z K 7 svn:log V 212 simplify the way of execution of reset on BSP instead of restarting the BSP and having a special restart hook, the hook is placed in the spin loop and it is triggered simply by setting hook function to non-NULL END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:07:18.949500Z K 7 svn:log V 23 a style nit in panic() END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:08:28.547343Z K 7 svn:log V 21 some whitespace nits END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:09:01.295505Z K 7 svn:log V 21 some whitespace nits END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:09:51.033292Z K 7 svn:log V 17 a whitespace nit END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:10:26.947980Z K 7 svn:log V 17 a whitespace nit END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:11:01.224841Z K 7 svn:log V 12 a style nit END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:11:35.954696Z K 7 svn:log V 63 increase how long we wait for BSP to become active, amd64 only END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:13:08.968011Z K 7 svn:log V 73 do reset on current CPU if somehow BSP doesn't become active, amd64 only END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:14:16.567988Z K 7 svn:log V 1251 re-implement smp rendezvous code - create one rendezvous (outgoing) mailbox per each cpu where a cpu would place its rendezvous request directed to other cpus - create a cpu mask for each cpu where other cpus can set a bit to indicate that they send a rendezvous request to the cpu in question - send an ipi only for a first rv request, piggyback subsequent requests if a target cpu is still processing previous incoming requests - many-to-many rv requests can be sent now, there is no locking, the only limitation is that a cpu can have only a single outgoing request at a time - to avoid deadlocks, when a cpu waits for its requested to be completed by target cpus, it also checks for and processes incoming requests - to avoid deadlock with cpu stopping logic, cpus also check for stop requests while waiting - there can be only one cpu asking other cpus to stop; this is implemented via a handrolled spin mutex analogue; similar to the above, to avoid deadlocks a cpu spinning for this lock also checks for an incoming stop request - implement tlb shootdowns via smp rendezvous mechanism, no special ipis are needed now, amd64 only (see if the code can be further simplified) - thus the smp_ipi_mtx is not needed any longer END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-05-09T07:15:15.173596Z K 7 svn:log V 21 some whitespace nits END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-05-09T07:37:47.774510Z K 7 svn:log V 291 Refactor TCP ISN increment logic. Instead of firing callout at 100Hz to keep constant ISN growth rate, do the same directly inside tcp_new_isn(), taking into account how much time (ticks) passed since the last call. On my test systems this decreases idle interrupt rate from 140Hz to 70Hz. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-09T10:39:15.638195Z K 7 svn:log V 38 This is a full 32 bit field for kite. END K 10 svn:author V 5 vanhu K 8 svn:date V 27 2011-05-09T13:16:21.106047Z K 7 svn:log V 127 Release SP's refcount in key_get_spdbyid(). PR: 156676 Submitted by: Tobias Brunner (tobias@strongswan.org) MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-09T14:04:49.230783Z K 7 svn:log V 38 Remove an un-needed PA cal call here. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-09T15:19:49.083243Z K 7 svn:log V 960 Import some initial Kite fixed diversity code from Atheros. For now, the diversity settings are controlled by 'txantenna', -not- rxantenna. This is because the earlier chipsets had controllable TX diversity; the RX antenna setting twiddles the default antenna register. I'll try sort that stuff out at some point. Call the antenna switch function from the board setup function so scans, channel changes, mode changes, etc don't set the diversity back to a default state too far from what's intended. Things to todo: * Squirrel away the last antenna diversity/combining parameters and restore them during board setup if HAL_ANT_VARIABLE is defined. That way scans, etc don't reset the diversity settings. * Add some more public facing statistics, rather than what's simply logged under HAL_DEBUG_DIVERSITY. For now, the fixed antenna settings behave better than variable settings for me. I have some further fiddling to do.. Obtained from: Atheros END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-05-09T15:57:04.097053Z K 7 svn:log V 121 Workaround for broken no-name USB audio devices sold by dealextreme called "3D sound" and the alike. MFC after: 14 days END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-09T15:59:34.747008Z K 7 svn:log V 202 - Introduce stubs for type-pun from long to int - Don't auto-cast _ptr operations as initially they were intended to be used rarely and consumers had to cast on their own. Reported by: bde, andreast END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-09T16:16:15.557079Z K 7 svn:log V 143 Add the powerpc support. Note that there is a dirty hack for calling openpic_write(), but nwhitehorn approved it. Discussed with: nwhitehorn END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-05-09T16:27:39.063820Z K 7 svn:log V 440 Add proper build infrastructure for teken. I'm not sure whether we should install teken as a library on any stock FreeBSD installation, but I can imagine people want to tinker around with it now and then. Create a /sys/teken/libteken, which holds a Makefile to install a shared library version of the terminal emulator, complete with a manpage. Also add Makefiles for the demo/stress applications, to build it against the shared library. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-09T16:47:13.548717Z K 7 svn:log V 4 MFC END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-09T16:49:40.316507Z K 7 svn:log V 73 Disable TX STBC - it isn't used for now, but it isn't supported on Kite. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-09T17:10:48.587721Z K 7 svn:log V 84 Fix a regression I introduced - only swap analog chains if the RX chainmask is 0x5. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-05-09T17:30:25.939704Z K 7 svn:log V 275 Disable diversity combining support until I can get a firm answer from Atheros as to what/when this is supposed to be enabled. Using the default RX fast diversity settings seems to help quite a bit. Whilst I'm here, change the prototype to return HAL_BOOL rather than int. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-09T17:34:00.324128Z K 7 svn:log V 382 Implement boot-time TSC synchronization test for SMP. This test is executed when the user has indicated that the system has synchronized TSCs or it has P-state invariant TSCs. For the former case, we may clear the tunable if it fails the test to prevent accidental foot-shooting. For the latter case, we may set it if it passes the test to notify the user that it may be usable. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-09T18:05:13.306616Z K 7 svn:log V 144 MFC r220925,221015,221016: - Define new registers offsets - Add toggling functions for SMI default setting Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-09T18:29:48.464481Z K 7 svn:log V 114 MFC r221023: Add the possibility to verify MD5 hash of incoming TCP packets. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-09T18:30:23.173357Z K 7 svn:log V 28 Vendor import of less v443. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-05-09T18:31:26.480262Z K 7 svn:log V 19 Tag for less v443. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-05-09T18:46:49.701139Z K 7 svn:log V 185 Move VT switching hack for suspend/resume from bus drivers to syscons.c using event handlers. A different version was Submitted by: Taku YAMAMOTO (taku at tackymt dot homeip dot net) END K 10 svn:author V 7 davidch K 8 svn:date V 27 2011-05-09T18:46:53.800471Z K 7 svn:log V 178 - Simplify multicast address programming. - Fix an incorrect "uint32_t *" cast in bxe_set_rx_mode(). Submitted by: yongari@ Approved by: davidch@ MFC after: Two weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-05-09T18:53:13.479793Z K 7 svn:log V 4 MFC END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-05-09T19:40:36.423720Z K 7 svn:log V 429 In shuffling around the updating of +REQUIRED_BY I forgot to delete empty grep_deps files. [1] While I'm looking at unlink'ing files, bring some sanity to the various places that it's done which haven't been reviewed in a while. * Fix the pm_unlink* functions to use the builtin test * Only/always call the function when we're not sure if the file exists * Just use /bin/unlink when we're sure it does Submitted by: olgeni [1] END