ı8219367 194 192 402 218 453 156 284 173 324 99 227 277 507 226 476 476 535 535 1504 131 240 239 171 173 387 267 190 1504 171 199 222 333 131 302 472 928 135 135 200 546 161 1339 142 374 113 328 328 328 328 313 194 259 191 365 160 192 397 112 258 627 133 179 120 524 261 149 235 120 137 248 173 891 153 175 333 429 468 177 319 225 225 376 144 377 124 208 573 336 231 272 330 135 133 130 163 218 273 459 271 104 107 301 238 185 268 201 304 313 555 380 193 166 178 162 296 505 198 196 169 169 174 174 164 164 185 185 142 242 169 149 149 158 158 170 170 179 179 384 275 161 99 181 298 264 181 164 188 154 154 138 138 146 176 128 176 147 147 235 150 336 464 145 114 371 1343 199 484 313 241 360 197 148 555 123 150 1460 153 196 196 196 196 300 504 146 166 166 190 178 144 616 110 114 154 366 336 K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-03-07T09:04:06.873931Z K 7 svn:log V 96 MFC r219158: Correct a typo. PR: bin/155175 Submitted by: Peter J. Philipp END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-07T09:28:21.689154Z K 7 svn:log V 309 To be able to use printf extensions we need to turn off gcc format checking. Following the convention of NO_WERROR and NO_WCAST_ALIGN add NO_WFORMAT, which, when defined in Makefile, turns off compile-time format checking (by adding -Wno-format), but still allows to use high WARNS level. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-07T10:33:52.114862Z K 7 svn:log V 125 Provides three states for pjdlog_initialized, so we can also tell that this is fist initialization ever. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-07T10:38:18.167826Z K 7 svn:log V 360 - Turn on printf extentions. - Load support for %T for pritning time. - Add support for %N for printing number in human readable form. - Add support for %S for printing sockaddr structure (currently only AF_INET family is supported, as this is all we need in HAST). - Disable gcc compile-time format checking as this will no longer work. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-07T10:39:26.098254Z K 7 svn:log V 64 Use %S to print IP address and port number. MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-07T10:41:12.566692Z K 7 svn:log V 191 - Log size of data to synchronize in human readable form (using %N). - Log synchronization time (using %T). - Log synchronization speed in human readable form (using %N). MFC after: 2 weeks END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-07T10:42:28.458859Z K 7 svn:log V 81 Print some of the numbers in human readable form (using %N). MFC after: 2 weeks END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-07T14:48:22.997583Z K 7 svn:log V 232 Backport Intel Core 2 and AMD Geode CPU types from gcc-4.3 (GPLv2) These options are supported in this shape in all newer GCC versions. PR: gnu/155308 Obtained from: gcc 4.3 (rev. 118090, 118973, 120846; GPLv2) MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-07T14:54:45.014872Z K 7 svn:log V 4 MFC END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-07T14:58:23.336047Z K 7 svn:log V 135 Add AMD Geode CPU type to bsd.cpu.mk and examples/etc/make.conf For CPUTYPE=core2 use -march=core2 PR: gnu/155308 MFC after: 2 weeks END K 10 svn:author V 6 rstone K 8 svn:date V 27 2011-03-07T15:19:17.587824Z K 7 svn:log V 181 Correct a typo in the malloc(3) manpage. Malloc options are set in the MALLOC_OPTIONS environment variable, not JEMALLOC_OPTIONS. Reviewed by: jasone Approved by: emaste (mentor) END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-07T15:24:35.713869Z K 7 svn:log V 415 MFC r215687: Use g_eventlock to protect against losing wakeups in the g_event process and replace tsleep(9) with msleep(9) which doesn't use a timeout. The previously used timeout caused the event process to wake up ten times per second on an idle system. one_event() is now called with the topology lock held and it returns with both the topology and event locks held when there are no more events in the queue. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-07T16:05:45.628002Z K 7 svn:log V 133 Add missing declarations that I intended to commit with r219359. Not sure why we have math.h in lib/msun/ and complex.h in include/. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-07T17:14:18.099455Z K 7 svn:log V 383 MFC 218970,219240: Use umtx_key objects to uniquely identify futexes. Private futexes in different processes that happen to use the same user address in the separate processes will now be treated as distinct futexes rather than the same futex. We can now honor shared futexes properly by mapping them to a AUTO_SHARED umtx_key. Private futexes use THREAD_SHARED umtx_key objects. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-07T17:15:10.085754Z K 7 svn:log V 383 MFC 218970,219240: Use umtx_key objects to uniquely identify futexes. Private futexes in different processes that happen to use the same user address in the separate processes will now be treated as distinct futexes rather than the same futex. We can now honor shared futexes properly by mapping them to a AUTO_SHARED umtx_key. Private futexes use THREAD_SHARED umtx_key objects. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-07T18:00:58.783388Z K 7 svn:log V 441 MFC: r218293 Do not let pw.conf(5) or -M option affect creation of basehome, e.g., /home. When the basehome does not exist, it creates all intermediate directories as required, which is logically equivalent to mkdir(1) with -m and -p options. However, it modifies all intermediate directories, not just the final home directory unlike mkdir. This problem was introduced in two revisions, i.e., r1.59 (SVN r167919) and r1.60 (SVN r168044). END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-07T18:01:58.565380Z K 7 svn:log V 441 MFC: r218293 Do not let pw.conf(5) or -M option affect creation of basehome, e.g., /home. When the basehome does not exist, it creates all intermediate directories as required, which is logically equivalent to mkdir(1) with -m and -p options. However, it modifies all intermediate directories, not just the final home directory unlike mkdir. This problem was introduced in two revisions, i.e., r1.59 (SVN r167919) and r1.60 (SVN r168044). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-07T18:33:29.579681Z K 7 svn:log V 1410 The UFS dirhash code was attempting to update shared state in the dirhash from multiple threads while holding a shared lock during a lookup operation. This could result in incorrect ENOENT failures which could then be permanently stored in the name cache. Specifically, the dirhash code optimizes the case that a single thread is walking a directory sequentially opening (or stat'ing) each file. It uses state in the dirhash structure to determine if a given lookup is using the optimization. If the optimization fails, it disables it and restarts the lookup. The problem arises when two threads both attempt the optimization and fail. The first thread will restart the loop, but the second thread will incorrectly think that it did not try the optimization and will only examine a subset of the directory entires in its hash chain. As a result, it may fail to find its directory entry and incorrectly fail with ENOENT. To make this safe for use with shared locks, simplify the state stored in the dirhash and move some of the state (the part that determines if the current thread is trying the optimization) into a local variable. One result is that we will now try the optimization more often. We still update the value under the shared lock, but it is a single atomic store similar to i_diroff that is stored in UFS directory i-nodes for the non-dirhash lookup. Reviewed by: kib MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-07T19:54:51.314285Z K 7 svn:log V 39 Unbreak the build. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-07T20:32:46.867429Z K 7 svn:log V 139 Remove dead code that snuck in from the 32-bit PowerPC version of this file. The error being checked for does not exist on 64-bit systems. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-03-07T21:53:15.565907Z K 7 svn:log V 141 - Remove superfluous ucom device lines in USB manual pages. Submitted by: Carl @ telus.net MFC after: 14 days Approved by: thompsa (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-07T22:36:11.052923Z K 7 svn:log V 79 Simplify uses of the web of pointers. Reviewed by: mckusick MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-07T22:50:27.320121Z K 7 svn:log V 78 MFC r198216 by ed: Fix quoting in a comment, to make it look more consistent. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2011-03-07T23:52:23.724407Z K 7 svn:log V 291 sh: Test that . /dev/null returns exit status 0 and does not preserve $?. Preserving $? may cause problems particularly if set -e is in effect. It may be useful to preserve the old value of $? in the dot script but this must not be implemented in such a way that it would break this test. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-08T01:17:30.293946Z K 7 svn:log V 166 Only validate the partition setup when the user presses "Save". If the user wants to exit without saving, it's not a problem if the disk is set up in an invalid way. END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-08T03:04:07.038895Z K 7 svn:log V 99 cxgbe shouldn't directly know of the UMA zones where network buffers come from. MFC after: 1 week END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-08T06:59:59.636141Z K 7 svn:log V 1407 Implement open-loop TX power control (OLC) for Merlin (AR9280) and generally tidy up the TX power programming code. Enforce that the TX power offset for Merlin is -5 dBm, rather than any other value programmable in the EEPROM. This requires some further code to be ported over from ath9k, so until that is done and tested, fail to attach NICs whose TX power offset isn't -5 dBm. This improves both legacy and HT transmission on my merlin board. It allows for stable MCS TX up to MCS15. Specifics: * Refactor out a bunch of the TX power calibration code - setting/obtaining the power detector / gain boundaries, programming the PDADC * Take the -5 dBm TX power offset into account on Merlin - "0" in the per-rate TX power register means -5 dBm, not 0 dBm * When doing OLC * Enforce min (0) and max (AR5416_MAX_RATE_POWER) when fiddling with the TX power, to avoid the TX power values from wrapping when low. * Implement the 1 dBm cck power offset when doing OLC * Implement temperature compensation for 2.4ghz mode when doing OLC * Implement an AR9280 specific TX power calibration routine which includes the OLC twiddles, leaving the earlier chipset path (AR5416, AR9160) alone Whilst here, use these refactored routines for the AR9285 TX power calibration/programming code and enforce correct overflow/underflow handling when fiddling with TX power values. Obtained from: linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-08T07:42:09.132946Z K 7 svn:log V 76 Break out the ath regulatory domain structures into a separate header file. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2011-03-08T08:02:39.555165Z K 7 svn:log V 101 - Bugfix: Root HUBs do not support re-enumeration. MFC after: 14 days Approved by: thompsa (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2011-03-08T11:50:59.266323Z K 7 svn:log V 129 Do not assert buffer lock in VFS_STRATEGY() when kernel already paniced. Sponsored by: The FreeBSD Foundation MFC after: 1 week END K 10 svn:author V 3 rrs K 8 svn:date V 27 2011-03-08T11:58:25.516621Z K 7 svn:log V 240 Tunes and fixes the new DC-CC to seem to hit the right mix. Still may need some tweaks but it appears to almost not give away too much to an RFC2581 flow, but can really minimize the amount of buffers used in the net. MFC after: 3 months END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-08T12:08:23.590311Z K 7 svn:log V 36 Update to keep in sync with the HAL END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-08T14:18:21.631427Z K 7 svn:log V 209 When constructing a new cpuset, apply the parent cpuset's mask to the new set's mask rather than the root mask. This was causing the root mask to be modified incorrectly. Reviewed by: jeff MFC after: 1 week END K 10 svn:author V 7 sobomax K 8 svn:date V 27 2011-03-08T17:00:31.724157Z K 7 svn:log V 375 Some linux distros put mount point into the ext2fs labels, such as '/', or '/boot', which confuses the devfs code and can cause userland programs to fail reading /dev/ext2fs directory with weird error code, such as any program that uses pwlib. Strip any leading slashes before feeding the label to the geom_label code. Sponsored by: Sippy Software, Inc. MFC after: 1 week END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-08T17:27:36.827600Z K 7 svn:log V 836 MFC r201773: - Change the type of size_max to u_quad_t because its value is converted with vfs_scanopt(9) using the "%qu" format string. - Limit the maximum value of size_max to (SIZE_MAX - PAGE_SIZE) to prevent overflow in howmany() macro. PR: kern/141194 MFC r202187: - Fix some style bugs in tmpfs_mount(). - Remove a stale comment about tmpfs_mem_info() 'total' argument. MFC r202708: - Change the type of nodes_max to u_int and use "%u" format string to convert its value. - Set default tm_nodes_max to min(pages + 3, UINT32_MAX). It's more reasonable than the old four nodes per page (with page size 4096) because non-empty regular files always use at least one page. This fixes possible overflow in the calculation. - Don't allow more than tm_nodes_max nodes allocated in tmpfs_alloc_node(). PR: kern/138367 END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-08T17:41:07.093648Z K 7 svn:log V 44 MFC r196526 by delphij: Add a missing .El. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-08T17:43:35.499697Z K 7 svn:log V 44 MFC r196526 by delphij: Add a missing .El. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-08T18:39:41.809615Z K 7 svn:log V 107 Correct readdir over ZFS handling. Reported by: Pierre Beyssac MFC after: 1 month END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-08T19:01:45.640898Z K 7 svn:log V 449 Extend struct sysvec with new method sv_schedtail, which is used for an explicit process at fork trampoline path instead of eventhadler(schedtail) invocation for each child process. Remove eventhandler(schedtail) code and change linux ABI to use newly added sysvec method. While here replace explicit comparing of module sysentvec structure with the newly created process sysentvec to detect the linux ABI. Discussed with: kib MFC after: 2 Week END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-08T19:05:14.104219Z K 7 svn:log V 65 Bump __FreeBSD_version for struct sysvec (sv_schedtail) changes. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2011-03-08T19:49:16.200988Z K 7 svn:log V 1241 Rearrange dc_tx_underrun() a bit to correctly set TX FIFO threshold value. Controllers that always require "store and forward" mode( Davicom and PNIC 82C168) have no way to recover from TX underrun except completely reinitializing hardware. Previously only Davicom was reinitialized and the TX FIFO threshold was changed not to use "store and forward" mode after reinitialization since the default FIFO threshold value was 0. This effectively disabled Davicom controller's "store and forward" mode once it encountered TX underruns. In theory, this can cause watchodg timeouts. Intel 21143 controller requires TX MAC should be idle before changing TX FIFO threshold. So driver tried to disable TX MAC and checked whether it saw the idle state of TX MAC. Driver should perform full hardware reinitialization on failing to enter to idle state and it should not touch TX MAC again once it performed full reinitialization. While I'm here remove resetting TX FIFO threshold to 0 when interface is put into down state. If driver ever encountered TX underrun, it's likely to trigger TX underrun again whenever interface is brought to up again. Keeping old/learned TX FIFO threshold value shall reduce the chance of seeing TX underrns in next run. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-08T20:13:29.734995Z K 7 svn:log V 49 Stop hard-coding default directory mode as 0777. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-08T21:06:17.310842Z K 7 svn:log V 279 Vendor import of tzdata2011c - No leapsecond in June 2011 - Add and update timezones for America/Juneau, America/Sitka, America/Metlakatla - Change of Summer time to Winter time in Chili happens in April 2011, not in March 2011. Obtained from: ftp://elsie.nci.nih.gov/pub/ END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-08T21:07:53.548180Z K 7 svn:log V 19 Tag of tzdata2011c END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-08T21:11:31.054351Z K 7 svn:log V 233 MFV of tzdata2011c, r219409 - No leapsecond in June 2011 - Add and update timezones for America/Juneau, America/Sitka, America/Metlakatla - Change of Summer time to Winter time in Chili happens in April 2011, not in March 2011. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-08T21:14:02.425910Z K 7 svn:log V 233 MFC of tzdata2011c, r219411 - No leapsecond in June 2011 - Add and update timezones for America/Juneau, America/Sitka, America/Metlakatla - Change of Summer time to Winter time in Chili happens in April 2011, not in March 2011. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-08T21:14:14.984977Z K 7 svn:log V 233 MFC of tzdata2011c, r219411 - No leapsecond in June 2011 - Add and update timezones for America/Juneau, America/Sitka, America/Metlakatla - Change of Summer time to Winter time in Chili happens in April 2011, not in March 2011. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2011-03-08T21:14:18.968588Z K 7 svn:log V 233 MFC of tzdata2011c, r219411 - No leapsecond in June 2011 - Add and update timezones for America/Juneau, America/Sitka, America/Metlakatla - Change of Summer time to Winter time in Chili happens in April 2011, not in March 2011. END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-08T21:36:42.848696Z K 7 svn:log V 221 Add -p option to `gpart show` command to show provider's names of partitions instead of partition's indexes. This may be useful with GPT partitioning scheme or EBR without GEOM_PART_EBR_COMPAT option. MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2011-03-08T22:01:47.146819Z K 7 svn:log V 102 It is better to sometimes have not aligned columns than often have wrapped lines. MFC after: 2 weeks END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-08T23:33:29.500614Z K 7 svn:log V 165 - Handle the direct map properly using the new vmap() implementation. - Only assume the memory is contiguous if direct.map is set, otherwise use the page list. END K 10 svn:author V 6 emaste K 8 svn:date V 27 2011-03-09T02:23:21.403455Z K 7 svn:log V 96 Remove stray semicolon. This fix appears in later upstream gdb versions. Submitted by: eadler END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-09T04:39:35.484085Z K 7 svn:log V 269 For chips that are full reset in ar5416ChipReset(), save and restore the TSF. Merlin (ar9280) and later were full-reset if they're doing open-loop TX power control but the TSF wasn't being saved/restored. Add ar5212SetTsf64() which sets the 64 bit TSF appropriately. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-09T04:48:06.077963Z K 7 svn:log V 65 The regdomain entries are 16 bits, not 8. Print out all 16 bits. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-09T05:59:33.448393Z K 7 svn:log V 96 Indeed, remove bogus since r219405 check of the Linux ABI. Pointed out: jhb MFC after: 2 Week END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-09T06:14:33.034236Z K 7 svn:log V 304 Import gdtoa sources dated 2011-03-04. This version includes a number of bugfixes, although I believe we already have local patches for the ones people are likely to notice. Per a request from arundel@, I also added the vendor's change log, which is available separately from ftp://ftp.netlib.org/fp/. END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-09T06:14:57.831531Z K 7 svn:log V 20 Tag gdtoa-20110304. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-09T07:43:51.330100Z K 7 svn:log V 165 Change example to not be controversial. I'm sorry to anyone who felt offended by this. PR: docs/155385 Reported by: maga_lena MFC after: 1 week END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-03-09T12:14:49.523097Z K 7 svn:log V 530 MFC r202897,r208164,r212174: msgbufp mapping changes on amd64. r202897 by alc: Simplify the mapping of the system message buffer. Use the direct map just like ia64 does. r208164 by alc: Correct an error of omission in r202897: Now that amd64 uses the direct map to access the message buffer, we must explicitly request that the underlying physical pages are included in a crash dump. r212174 by avg: vm_page.c: include opt_msgbuf.h for MSGBUF_SIZE use in vm_page_startup Approved by: alc, kib (mentor), avg (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2011-03-09T14:38:00.292577Z K 7 svn:log V 41 No newline required. MFC after: 2 weeks END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-09T15:02:23.849125Z K 7 svn:log V 79 Remove a redundant rm and avoiding tarring up work directories in ports trees. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-09T15:03:42.540499Z K 7 svn:log V 20 Fix whitespace nit. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-09T15:27:11.810534Z K 7 svn:log V 432 MFC r203164: Add "maxfilesize" mount option for tmpfs to allow specifying the maximum file size limit. Default is UINT64_MAX when the option is not specified. It was useless to set the limit to the total amount of memory and swap in the system. Use tmpfs_mem_info() rather than get_swpgtotal() in tmpfs_mount() to check if there is enough memory available. Remove now unused get_swpgtotal(). MFC r203169: Bump .Dd for r203164. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-09T16:16:38.600743Z K 7 svn:log V 167 Remove custom interrupt dispatcher. This is a pointless micro-optimization and it may cause problems if SS and SP are modified by real-mode code. MFC after: 1 month END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-09T16:52:55.454393Z K 7 svn:log V 58 MFC r203951 by delphij: Remove clause 3 from my license. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-09T16:55:17.411540Z K 7 svn:log V 143 MFC r203966: Improve descriptions for tmpfs mount options. The descriptions have been mostly obtained from NetBSD mount_tmpfs(8) manual page. END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-09T16:56:51.211817Z K 7 svn:log V 29 MFC r203967: Xref mdmfs(8). END K 10 svn:author V 2 ru K 8 svn:date V 27 2011-03-09T17:07:36.944296Z K 7 svn:log V 46 Sync manpage's SYNOPSIS with program's usage. END K 10 svn:author V 6 julian K 8 svn:date V 27 2011-03-09T17:15:11.722885Z K 7 svn:log V 152 Add a small change to the comment in the GENRIC config files that include udbp Submitted by: Chris Forgron, cforgeron at acsi dot ca MFC after: 1 week END K 10 svn:author V 2 np K 8 svn:date V 27 2011-03-09T21:07:09.538418Z K 7 svn:log V 82 Display holdoff timers and packet counts as a list of numbers. MFC after: 1 week END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-09T22:39:10.143912Z K 7 svn:log V 798 Add support for the following syscalls: - fchmod(2), - fchown(2), - fchflags(2), - fstat(2), - ftruncate(2), - fpathconf(2), - lpathconf(2). Make write(2) syscall to take descriptor instead of file name. We implement descriptors by keeping track of open files and allowing to reference them by the following syscalls. Because pjdfstest already supports executing multiple syscalls from one command it works pretty well. For example, the following command: pjdfstest open foo "O_CREAT,O_RDWR" 0 : open bar "O_CREAT,O_RDONLY" 640 : fchmod 0 0666 : fchown 0 -1 20 : fchmod 1 0444 is equivalent of (error checking omitted): int fd[2]; fd[0] = open("foo", O_CREAT | O_RDWR, 0); fd[1] = open("bar", O_CREAT | O_RDONLY, 0640); fchmod(fd[0], 0666); fchown(fd[0], -1, 20); fchmod(fd[1], 0444); END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-09T22:50:15.011820Z K 7 svn:log V 61 Pass descriptor number to write(2), now that it is possible. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-09T23:11:30.727757Z K 7 svn:log V 83 Few initial ftruncate(2) tests. One of them covers stand/154873. PR: stand/154873 END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-03-10T01:02:53.961376Z K 7 svn:log V 236 MFC r218432: Don't consider ioctl returning error as a fatal error and move on to next disk. When multiple devices are specified, a non-supporting ioctl will cause diskinfo(8) to stop at the point which does not seem to be necessary. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-10T02:09:06.012715Z K 7 svn:log V 333 Introduce the Merlin PWDCLKIND workaround. This is something bus clock related from what I can gather. It is needed for the AR9220 based Ubiquiti SR71-12 and SR71-15 Mini-PCI NICs. (Note: those NICs don't work right now because of earlier changes to handle power table offset correctly. That'll be resolved in a follow-up commit.) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-10T03:13:56.320074Z K 7 svn:log V 372 Migrate the regulatory database definitions into separate header files to both make things clearer, and to make it easier to write userland code which pulls in these definitions without needing to pull in the rest of the HAL. This stuff should be deprecated at some point in the future once the net80211 regulatory domain support encapsulates all of the defintions here. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-10T06:06:26.955363Z K 7 svn:log V 82 Merlin fix - first pdadc gain index is 0 - minpwr/2 . Obtained from: Linux ath9k END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-10T06:08:24.953997Z K 7 svn:log V 223 Port over the v14 eeprom PDADC curve changes from ath9k. It looks like these apply in both open and closed loop TX power control, but the only merlin boards i have either have OL -or- a non-default power offset, not both. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-10T06:09:55.482773Z K 7 svn:log V 129 Now that the power curve adjustment code is in, disable the error check I introduced earlier, and turn it into debugging output. END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-03-10T08:23:58.158200Z K 7 svn:log V 132 Remove bsdlabel.5, which hasn't been installed in over 7 years and contains little more than an out-dated copy of END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-03-10T08:24:10.822848Z K 7 svn:log V 283 Remove bsdlabel test-script that was full of broken assumptions. - the default label now includes an a: partition by default - the c: partition is no longer exported via devfs - writing of the labels usually works in all cases, though the script assumes half of them have to fail END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-03-10T08:24:21.197070Z K 7 svn:log V 52 Remove dead code in bsdlabel depending on __alpha__ END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-03-10T08:24:33.207441Z K 7 svn:log V 284 Widen fields that display partition offset/length. This makes partitions between 50GiB and 2TiB (16TiB for 4k drives) print correctly aligned. While here, fix type of secsize. g_sectorsize() returns ssize_t, don't store this in an unsigned var. Bump WARNS to 6. MFC after: 4 weeks END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-10T11:23:43.365095Z K 7 svn:log V 29 Kite is a 1x1 stream device. END K 10 svn:author V 2 mm K 8 svn:date V 27 2011-03-10T13:59:17.691298Z K 7 svn:log V 116 Vendor upgrade of gcc 4.2 to last GPLv2 revision. PR: gnu/153298 Obtained from: gcc (gcc-4_2-branch, rev. 127959) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2011-03-10T16:40:13.185826Z K 7 svn:log V 475 Some more shrinking. o bunch of variables are turned into uint8_t o initial setting of namep[] in lookup() is removed as it's only overwritten a few lines down o kname is explicitly initialized in main() as BSS in boot2 is not zeroed o the setting and reading of "fmt" in load() is removed o buf in printf() is made static to save space Reviewed by: jhb Tested by: me and Fabian Keil END K 10 svn:author V 2 jh K 8 svn:date V 27 2011-03-10T16:51:28.166538Z K 7 svn:log V 244 MFC r179926 by gonzo: Get pointer to devfs_ruleset struct after garbage collection has been performed. Otherwise if ruleset is used by given mountpoint and is empty it's freed by devfs_ruleset_reap and pointer becomes bogus. PR: kern/124853 END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2011-03-10T17:26:36.061459Z K 7 svn:log V 134 Unbreak mips OCTEON1: there's no options MALLOC_DEBUG_MAXZONES in stable/8. This is a direct commit to 8. Approved by: avg (mentor) END K 10 svn:author V 3 gjb K 8 svn:date V 27 2011-03-10T18:00:47.604149Z K 7 svn:log V 179 Move the explanation of using arguments for the PRIMARIES above the list of PRIMARIES. PR: 151812 Submitted by: Jay (jouellette of gmail com) Patch by: eadler MFC after: 1 week END K 10 svn:author V 8 bschmidt K 8 svn:date V 27 2011-03-10T18:17:24.179772Z K 7 svn:log V 232 Complete the MCS rate table based on the final 802.11n std. While here adjust the IEEE80211_HTRATE_MAXSIZE constant, only MCS0 - 76 are valid the other bits in the mcsset IE (77 - 127) are either reserved or used for TX parameters. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-10T18:49:15.909589Z K 7 svn:log V 42 Remove support for FreeBSD 4.x and below. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-10T18:58:40.356007Z K 7 svn:log V 40 Consistently add TSC support for amd64. END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-10T19:04:18.345262Z K 7 svn:log V 37 Remove alpha reminiscence from altq. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-10T19:50:12.838721Z K 7 svn:log V 71 Remove now-obsolete comment. Submitted by: netchild MFC after: 1 week END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-10T20:02:58.177148Z K 7 svn:log V 124 Deprecate rarely used tsc_is_broken. Instead, we zero out tsc_freq because it is almost always used with tsc_freq any way. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-10T20:37:54.731887Z K 7 svn:log V 180 Please welcome Mikolaj Golub as a new src committer. Mikolaj will be working on HAST and I'm sure lots of other stuff. I'll be his mentor and kib@ will help me. Approved by: core END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-10T20:59:02.078601Z K 7 svn:log V 366 Improve test a bit, now that we have fstat(2) support. The test was support to check if SUID/SGID bits are removed on first write, but actually we were checking if they were removed after close. Now we can check if SUID/SGID bits are gone after first write. While here add checks to see if when both SUID and SGID bits are set they are both cleared on first write. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2011-03-10T21:00:30.195238Z K 7 svn:log V 178 Add support for *at syscalls: - openat(2) - unlinkat(2) - mkdirat(2) - linkat(2) - symlinkat(2) - renameat(2) - mkfifoat(2) - mknodat(2) - fchmodat(2) - fchownat(2) - fstatat(2) END K 10 svn:author V 2 mr K 8 svn:date V 27 2011-03-10T21:34:51.722660Z K 7 svn:log V 13 MFH @r218568 END K 10 svn:author V 2 mr K 8 svn:date V 27 2011-03-10T21:56:31.979745Z K 7 svn:log V 16 Add ficl 4.0.31 END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-10T22:20:11.986513Z K 7 svn:log V 207 Detect NSC/AMD Geode SC1100 properly, not just Stepping 0. Although it is unclear that "TSC stops ticking with HLT instruction" problem is present with other steppings, it is limited to Stepping 0 for now. END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-03-10T22:56:00.338618Z K 7 svn:log V 145 Use MAXPATHLEN rather than the size of an extern array when copying the kernel name. Also consistenly use strlcpy(). Suggested by: Warner Losh END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-10T23:06:13.145351Z K 7 svn:log V 92 Turn off pointless P-state invariant TSC detection based on CPU model on a virtual machine. END K 10 svn:author V 5 gavin K 8 svn:date V 27 2011-03-10T23:20:32.517878Z K 7 svn:log V 173 Add a couple of nodes and edges in order to reduce the number of unattached committers in the rendered output. While here, add versus@ as being mentered by myself and fjoe@ END K 10 svn:author V 6 mjacob K 8 svn:date V 27 2011-03-10T23:53:01.808938Z K 7 svn:log V 105 Add support QLE220 card- an 2500 lookalike. Obtained mostly from: Roman && Konstantin MFC after: 1 week END K 10 svn:author V 7 delphij K 8 svn:date V 27 2011-03-11T00:38:07.174370Z K 7 svn:log V 207 Merge my change against libpcap trunk revision c65292b04b98d6a76d58c5a54ca8f81463bf24de to support new SIOCGIFDESCR ioctl interface which was too late for libpcap 1.1.1. Reported by: brucec Noticed by: wxs END K 10 svn:author V 4 jkim K 8 svn:date V 27 2011-03-11T00:44:32.725635Z K 7 svn:log V 219 Add a tunable "machdep.disable_tsc" to turn off TSC. Specifically, it turns off boot-time CPU frequency calibration, DELAY(9) with TSC, and using TSC as a CPU ticker. Note tsc_present does not change by this tunable. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-11T03:46:27.978373Z K 7 svn:log V 459 Don't call ar5416SetTransmitPower() directly from ar5416SetTxPowerLimit(); this is incorrect for Kite (AR9285) and any future chipsets that override the EEPROM related routines. It meant that a direct call to set the TX power would call the v14 EEPROM AR5416/AR9280 calibration routines, rather than the v4k EEPROM routines for the AR9285. It thus read the incorrect values from the EEPROM and programmed garbage PDADC and TX power values into the hardware. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-11T04:31:00.750952Z K 7 svn:log V 284 Bring over the same fix from the AR5416 PDADC calibration code. The ath9k driver has a unified boundary/pdadc function, whereas ours is split into two (one for each EEPROM type.) This is why the AR9280 check is done here where we could safely assume it'll always be AR9280 or later. END K 10 svn:author V 3 alc K 8 svn:date V 27 2011-03-11T07:07:48.618821Z K 7 svn:log V 100 Eliminate duplication of the fake page code and zone by the device and sg pagers. Reviewed by: jhb END K 10 svn:author V 3 mav K 8 svn:date V 27 2011-03-11T08:59:40.284571Z K 7 svn:log V 74 Add some first parts of Promise metadata support. Not really working yet. END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-03-11T10:11:22.810741Z K 7 svn:log V 82 Add myself to calendar.freebsd and committers-src.dot. Approved by: pjd (mentor) END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-11T11:07:53.954653Z K 7 svn:log V 67 Remove the ar9285FillVpdTable() and just use ar5416FillVpdTable(). END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-11T11:35:36.316308Z K 7 svn:log V 200 Introduce methods for the initial calibration and the new PA calibration routines. These are needed for the AR9285/AR2427 and AR9287 calibration routines which will be introducecd in a later commit. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2011-03-11T11:58:54.431982Z K 7 svn:log V 409 Port over the AR9285 PA calibration and initial calibration code from Linux ath9k. The ath9k ar9002_hw_init_cal() isn't entirely clear about what is supposed to be called for what chipsets, so I'm ignoring the rest of it and just porting the AR9285 init cal path as-is and leaving the rest alone. Subsequent commits may also tidy up the Merlin (AR9285) and other chipset support. Obtained from: Linux ath9k END K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-03-11T12:12:35.329994Z K 7 svn:log V 101 Make workers inherit debug level from the main process. Approved by: pjd (mentor) MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-11T13:11:15.414420Z K 7 svn:log V 103 Remove all object files during 'make clean'. PR: kern/154888 Submitted by: arundel MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T14:38:35.807084Z K 7 svn:log V 77 MFC r215522: specialreg.h: add definition for AMD Core Performance Boost bit END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T14:46:27.792056Z K 7 svn:log V 77 MFC r215522: specialreg.h: add definition for AMD Core Performance Boost bit END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T14:53:34.682184Z K 7 svn:log V 82 MFC r215523: specialreg.h: add AMD-specific "Hardware Configuration Register" MSR END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T14:55:23.295654Z K 7 svn:log V 82 MFC r215523: specialreg.h: add AMD-specific "Hardware Configuration Register" MSR END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T14:58:17.133652Z K 7 svn:log V 72 MFC r215524: specialreg.h: add definitions for MPERF/APERF pair of MSRs END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T15:01:54.164453Z K 7 svn:log V 72 MFC r215524: specialreg.h: add definitions for MPERF/APERF pair of MSRs END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T15:05:23.875175Z K 7 svn:log V 93 MFC r215748: specialreg.h: add definitions for some useful bits found in CPUID.6 EAX and ECX END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T15:06:56.879064Z K 7 svn:log V 93 MFC r215748: specialreg.h: add definitions for some useful bits found in CPUID.6 EAX and ECX END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T15:14:40.212023Z K 7 svn:log V 50 MFC r215750: taskqueue: drop unused tq_name field END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-11T15:34:06.883947Z K 7 svn:log V 149 MFC 208898: Call BUS_PROBE_NOMATCH() when device detached due to driver unload. This allows bus to power-down device when driver unloaded on-flight. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T15:38:42.738424Z K 7 svn:log V 77 MFC r216250: dtrace_gethrtime_init: pin to master while examining other CPUs END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T15:50:45.502997Z K 7 svn:log V 57 MFC r216373: fix incorrect use of atomic_set_xxx in cxgb END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T15:53:11.490044Z K 7 svn:log V 57 MFC r216373: fix incorrect use of atomic_set_xxx in cxgb END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T16:00:56.697338Z K 7 svn:log V 66 MFC r216251: dtrace_xcall: no need for special handling of curcpu END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T16:02:38.680476Z K 7 svn:log V 66 MFC r216251: dtrace_xcall: no need for special handling of curcpu END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T16:05:36.533932Z K 7 svn:log V 78 MFC r216252: opensolaris cyclic xcall: no need for special handling of curcpu END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T16:07:20.332916Z K 7 svn:log V 78 MFC r216252: opensolaris cyclic xcall: no need for special handling of curcpu END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T16:11:42.355286Z K 7 svn:log V 87 MFC r216254: opensolaris cyclic: fix deadlock and make a little bit closer to upstream END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T16:13:26.074597Z K 7 svn:log V 87 MFC r216254: opensolaris cyclic: fix deadlock and make a little bit closer to upstream END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-11T16:14:06.553284Z K 7 svn:log V 291 MFC 219135: Similar to 189574, properly handle subclasses of bus drivers when deleting a driver during kldunload. Specifically, recursively walk the tree of subclasses of a given driver attachment's bus device class detaching all instances of that driver for each class and its subclasses. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-11T16:21:45.560112Z K 7 svn:log V 182 MFC 219136: Use a suitable DIRPRFX for each invocation of make in the build32 and install32 targets so that the full path to each program or library is displayed in the make output. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2011-03-11T16:24:49.088480Z K 7 svn:log V 69 MFC 219137: Fully honor KERNSRCDIR for 'make universe' if it is set. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2011-03-11T16:30:30.687245Z K 7 svn:log V 4 MFC END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T16:43:39.243857Z K 7 svn:log V 89 MFC r216503: small cleanup of acpi battery status setting and checking PR: kern/124744 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-11T16:58:21.958784Z K 7 svn:log V 197 Add a wrapper script for Makefile.bsdinstall that does the source checkout/chroot/compile/release dance that the existing release Makefile does for those who want a totally pristine release build. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-11T17:01:14.934299Z K 7 svn:log V 163 Add support for generating release documentation. Note that, due to the release documentation build being broken at the moment, this is only partially functional. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T17:12:39.204034Z K 7 svn:log V 89 MFC r216503: small cleanup of acpi battery status setting and checking PR: kern/124744 END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-11T17:33:31.775839Z K 7 svn:log V 69 Fix warnings and style(9) issues. Set WARNS to 6. MFC after: 1 week END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-11T17:47:59.364329Z K 7 svn:log V 88 Fix bugs and make improvements to documentation renaming. Submitted by: Garrett Cooper END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T18:07:49.108960Z K 7 svn:log V 62 MFC r216376: acpi_fujitsu: update for P8010 PR: kern/121102 END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T18:10:37.299782Z K 7 svn:log V 62 MFC r216376: acpi_fujitsu: update for P8010 PR: kern/121102 END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T18:15:30.967386Z K 7 svn:log V 46 MFC r216374: fix atomic_set_xxx misuse in drm END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T18:21:16.994714Z K 7 svn:log V 46 MFC r216374: fix atomic_set_xxx misuse in drm END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T18:28:20.552406Z K 7 svn:log V 54 MFC r216375,r216408: fix atomic_set_xxx misuse in rge END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T18:42:17.133200Z K 7 svn:log V 84 MFC r216505: cyclic xcall: use smp_no_rendevous_barrier as setup function parameter END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-11T18:44:16.305763Z K 7 svn:log V 33 mptable.h is now in include/x86. END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T18:46:11.749377Z K 7 svn:log V 84 MFC r216505: cyclic xcall: use smp_no_rendevous_barrier as setup function parameter END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-11T18:48:28.549555Z K 7 svn:log V 52 Fix warnings and set WARNS to 6. MFC after: 1 week END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-11T18:51:42.011017Z K 7 svn:log V 52 Fix warnings and set WARNS to 6. MFC after: 1 week END K 10 svn:author V 3 mdf K 8 svn:date V 27 2011-03-11T18:56:55.427478Z K 7 svn:log V 142 Mostly revert r219468, as I had misremembered the C standard regarding the size of an extern array. Keep one change from strncpy to strlcpy. END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-11T19:19:47.421062Z K 7 svn:log V 55 Fix the build: we have snprintf(3). MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T19:21:42.474306Z K 7 svn:log V 243 amd64/NOTES: use a greater number in KSTACK_PAGES example This is a minor cosmetic change - the users are more likely to want to increase (rather than decrease) default kernel stack size, which is already 4 pages on amd64. MFC after: 4 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-11T19:27:31.245260Z K 7 svn:log V 371 use even larger stack size for ZFS txg_sync_thread While the stack size was larger than the default stack size on i386, it was smaller than the default stack size on amd64 and apparently that wasn't enough. So, bump the size to 4 pages. Upcoming ZFSv28 code uses 8 pages for this stack size. This is a direct commit to stable/8. PR: kern/154681 Discussed with: pjd END K 10 svn:author V 6 brucec K 8 svn:date V 27 2011-03-11T19:32:15.830974Z K 7 svn:log V 50 Fix warnings and style(9) issues. Set WARNS to 6. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2011-03-11T19:40:49.788372Z K 7 svn:log V 14 Correct typo. END K 10 svn:author V 2 ed K 8 svn:date V 27 2011-03-11T19:44:06.293060Z K 7 svn:log V 279 MFC r218844: Improve 256 color support. - Add screen-256color, - Improve rxvt-256color to set pa and op properly. - Add rxvt-unicode-256color as an alias to rxvt-256color. PR: conf/152713, conf/153164 Submitted by: Alexander Verbod and Fr̩d̩ric Perrin END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T20:00:38.676740Z K 7 svn:log V 1246 In the upstream rev. 1.61 of elf64-sparc.c the following bug was fixed: * elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of dynamic relocs against section symbols for the output section vma. However, with the addition of TLS support in the upstream rev. 1.104 this fix was essentially reverted. After factoring out the common parts of elf32-sparc.c and elf64-sparc.c a comment was added to elfxx-sparc.c in the upstream rev. 1.27 as part of unrelated changes, saying that the fix from elf64-sparc.c rev. 1.61 indeed should be implemented, but given that some unspecified OS has a broken ld.so expecting broken relocations deliberately is omitted. As the current behavior actually violates the SPARC ABI, FreeBSD never had such a broken ld.so and this is actually causing problems with at least kernel modules linked with binutils 2.17.50 committed in r218822 without the workaround committed in r219340 in place, re-implement the above fix in a way so that is only applied if the output format is ELFOSABI_FREEBSD. In the upstream version it probably would make sense to invert this check and only skip adjusting the addend for the OS with the broken ld.so, once it's determine which one that is. Approved by: dim END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T20:01:57.352151Z K 7 svn:log V 103 Revert the binutils workaround committed in r219340, the underlying problem has been fixed in r219530. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T20:30:58.148890Z K 7 svn:log V 388 - Remove clause 3 and 4 from TNF licenses. [1] - Add the _RF_X committed in r212998 also to the tables in the sparc64 reloc.c in order reduce differences between the kernel and the userland source. This results in no functional change though. - Fix further inconsistencies in the abbreviations of the names of the relocations. - Further whitespace fixes. Obtained from: NetBSD [1] END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T21:08:02.497284Z K 7 svn:log V 217 - Add support for TLS relocations. - Emitt an error when encountering an unsupported and in case of the kernel also for unaligned relocations. - Fix R_SPARC_LOX10 relocations. Apparently these are hardly ever used. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T21:24:02.271528Z K 7 svn:log V 145 Now that TLS is supported for sparc64 by both binutils 2.17.50 committed in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T21:35:38.697273Z K 7 svn:log V 264 Now that TLS generally is available on sparc64 since r219534 turn on support for it. Note that while sparc64 also supports the static TLS model and thus tls_model("initial-exec"), using the default model turned out to yield slightly better buildstone performance. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-11T21:52:47.142402Z K 7 svn:log V 101 Bump the heap size to 2MB. We typically have the memory for it, so there's no point in being stingy. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-11T21:54:45.350594Z K 7 svn:log V 53 Add fields for the PBVM page table address and size. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-11T22:00:45.305686Z K 7 svn:log V 459 o Add defines for Pre-Boot Virtual Memory (PBVM) o Move the backing store in the top half of region 0 now that region 4 is re-assigned to be part of the kernel. o De-emphasize VM_MAX_ADDRESS. It's really not used anywhere and probably means something different than the limit for process address space (we have VM_MAXUSER_ADDRESS for that). o Exclude the gateway page from VM_MAXUSER_ADDRESS (i.e. make it the same as VM_MAX_ADDRESS). END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-03-11T22:07:28.832782Z K 7 svn:log V 31 MFH r210933,219210: Typo fixes END K 10 svn:author V 3 uqs K 8 svn:date V 27 2011-03-11T22:09:13.078996Z K 7 svn:log V 58 MFH r206622,210933,219210: Typo fixes, prologue ordering. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-11T22:14:02.814247Z K 7 svn:log V 1363 Implement Pre-Boot Virtual Memory (PBVM). There's no 1-to-1 mapping between kernel virtual address and physical address anymore. This so that we can link the kernel at some virtual address without having to worry whether the corresponding physical memory exists and is available. The PBVM uses 64KB pages that are mapped to physical addresses using a page table. The page table is at least 1 EFI page in size, but can grow up to 1MB. This effectively gives us a memory size between 32MB and 8GB -- i.e. enough to load a DVD image if one wants to. The loader assigns physical memory based on the EFI memory map and makes sure that all physical memory is naturally aligned and a power of 2. At this time there's no consideration for allocating physical memory that is close to the BSP. The kernel is informed about the physical address of the page table and its size and can locate all PBVM pages through it. The loader does not wire the PBVM page table yet. Instead it wires all of the PBVM with a single translation. This is fine for now, but a follow-up commit will fix it. We cannot handle more than 32MB right now. Note that the loader will map as much of the loaded kernel and modules as possible, but it's up to the kernel to handle page faults for references that aren't mapped. To make that easier, the page table is mapped at a fixed virtual address. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-11T22:16:05.702219Z K 7 svn:log V 58 Bump the version information to account for PBVM support. END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T22:19:49.138512Z K 7 svn:log V 100 Allocate the DMA memory shared between the host and the controller as coherent. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T22:21:12.670625Z K 7 svn:log V 100 Allocate the DMA memory shared between the host and the controller as coherent. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T22:23:46.665856Z K 7 svn:log V 100 Allocate the DMA memory shared between the host and the controller as coherent. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T22:25:34.869604Z K 7 svn:log V 100 Allocate the DMA memory shared between the host and the controller as coherent. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T22:32:17.722832Z K 7 svn:log V 204 - Allocate the DMA memory shared between the host and the controller as coherent. - Constify the ti_devs table. - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that. MFC after: 2 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2011-03-11T22:42:04.163174Z K 7 svn:log V 408 Allocate the sound buffer DMA memory coherent. While NetBSD typically also does this for sound drivers it's probably not necessary for all combinations of controllers and drivers. However, given that our sound drivers completely lack bus_dmamap_sync(9) calls this at least serves as a workaround when enabling use of the IOMMU streaming buffers on sparc64 and generally for arm and mips. MFC after: 2 weeks END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-11T23:12:20.389510Z K 7 svn:log V 52 Pull up mergeinfo from r209199,210482,212138,217826 END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-11T23:13:22.617683Z K 7 svn:log V 72 MFC r219353: mbone is no longer a physical category Submitted by: pav END K 10 svn:author V 5 dougb K 8 svn:date V 27 2011-03-11T23:16:04.381036Z K 7 svn:log V 72 MFC r219353: mbone is no longer a physical category Submitted by: pav END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-12T00:08:58.725668Z K 7 svn:log V 95 Link the kernel at the PBVM base address and align the data segment at the PBVM page boundary. END K 10 svn:author V 4 jeff K 8 svn:date V 27 2011-03-12T00:41:57.101620Z K 7 svn:log V 85 - Don't m_freem() an mbuf after we pass it to icmp_error(), it does that for us. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-12T01:26:04.916433Z K 7 svn:log V 49 Merge svn+ssh://svn.freebsd.org/base/head@219553 END K 10 svn:author V 6 marcel K 8 svn:date V 27 2011-03-12T02:00:28.378816Z K 7 svn:log V 520 First cut at having the kernel run within the PBVM: o The bootinfo structure is now a virtual pointer. o Replace VM_MAX_ADDRESS with VM_MAXUSER_ADDRESS and redefine VM_MAX_ADDRESS as the maximum address possible (~0UL). o Since we're not using direct-mapped translations, switching to physical addressing is less trivial. Reserve the boot stack for running in physical mode and special-case the EFI call, as we're still on the boot stack. o Region 4 belongs to the kernel now, not process space. END K 10 svn:author V 6 andrew K 8 svn:date V 27 2011-03-12T06:35:53.442946Z K 7 svn:log V 15 MFC to r219548 END K 10 svn:author V 3 das K 8 svn:date V 27 2011-03-12T07:03:06.788199Z K 7 svn:log V 22 Merge gdtoa-20110304. END K 10 svn:author V 7 dchagin K 8 svn:date V 27 2011-03-12T07:47:05.117817Z K 7 svn:log V 58 Style(9) fixes. No functional changes. MFC after: 2 Week END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-12T08:51:43.790606Z K 7 svn:log V 273 add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls This commits makes necessary changes in syscall/sysent generation infrastructure. PR: kern/152822 Submitted by: Artem Belevich Reviewed by: jhb (ealier version) MFC after: 3 weeks END K 10 svn:author V 3 avg K 8 svn:date V 27 2011-03-12T08:58:19.264765Z K 7 svn:log V 243 add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls Regenerate system call and systrace support files. PR: kern/152822 Submitted by: Artem Belevich Reviewed by: jhb (earlier version) MFC after: 3 weeks END