Го~199606 199 668 246 134 321 312 320 110 187 366 138 604 326 186 239 246 185 210 102 115 167 174 225 153 452 235 249 120 235 1005 1005 170 143 113 132 211 244 218 113 126 361 164 646 1310 286 288 302 128 146 193 325 176 165 197 329 787 122 152 276 312 166 568 465 564 241 873 1100 292 163 139 198 210 190 170 466 169 347 128 249 193 252 149 317 124 181 215 153 167 147 212 131 424 257 916 133 182 145 182 182 150 159 142 326 125 124 124 124 871 155 772 535 292 275 160 1679 224 304 142 434 148 161 132 226 183 334 143 192 209 281 140 148 132 134 1072 216 150 130 455 225 126 242 173 632 147 257 127 137 181 178 302 273 131 402 249 110 146 180 235 314 388 346 177 268 346 164 202 116 120 132 113 142 121 135 142 135 107 169 369 461 175 279 251 170 141 128 270 277 120 154 277 277 376 376 177 118 125 283 343 334 548 K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-20T19:19:51.701752Z K 7 svn:log V 575 Add an internal _once() method. This works identical to pthread_once(3) with the additional property that it is safe for routines in libc to use in both single-threaded and multi-threaded processes. Multi-threaded processes use the pthread_once() implementation from the threading library while single-threaded processes use a simplified "stub" version internal to libc. The libc stub-version of pthread_once() now also uses the simplified "stub" version as well instead of being a nop. Reviewed by: deischen, Matthew Fleming @ Isilon Suggested by: alc MFC after: 1 week END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-20T19:21:33.432590Z K 7 svn:log V 153 Replace gmt_is_set and the gmt_mutex lock with a pthread_once_t variable and an init routine run on the first invocation via _once(). MFC after: 1 week END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-20T20:12:37.675112Z K 7 svn:log V 38 Remove unnecessary structure packing. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-20T20:18:53.329002Z K 7 svn:log V 224 Add initial endianness support. It seems the controller supports both big-endian and little-endian format in descriptors for Rx path but I couldn't find equivalent feature in Tx path. So just stick to little-endian for now. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-20T20:25:21.940472Z K 7 svn:log V 215 Because we know received bytes including CRC there is no reason to call m_adj(9). The controller also seems to have a capability to strip CRC bytes but I failed to activate this feature except for loopback traffic. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-20T20:33:59.777191Z K 7 svn:log V 223 Add IPv4/TCP/UDP Tx checksum offloading support. It seems the controller also has support for IP/TCP checksum offloading for Rx path. But I failed to find to way to enable Rx MAC to compute the checksum of received frames. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-20T20:40:34.161571Z K 7 svn:log V 14 Add __FBSDID. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-20T20:43:16.045977Z K 7 svn:log V 91 Only Tx checksum offloading is supported now. Remove experimental code sneaked in r199611. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-20T20:43:34.339913Z K 7 svn:log V 273 Revert the previous change to pthread_once() stub in libc. It is actually a feature that libstdc++ depends on to simulate the behavior of libc's internal '__isthreaded' variable. One benefit of this is that _libc_once() is now private to _once_stub.c. Requested by: kan END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-20T21:12:40.295861Z K 7 svn:log V 45 General style cleanup, no functional change. END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-11-20T21:21:13.254101Z K 7 svn:log V 506 Patch the experimental NFS server is a manner analagous to r197525, so that the creation verifier is handled correctly in va_atime for 64bit architectures. There were two problems. One was that the code incorrectly assumed that sizeof (struct timespec) == 8 and the other was that the tv_sec field needs to be assigned from a signed 32bit integer, so that sign extension occurs on 64bit architectures. This is required for correct operation when exporting ZFS volumes. Reviewed by: pjd MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2009-11-20T22:22:53.253320Z K 7 svn:log V 233 On the return path from F_RDAHEAD and F_READAHEAD fcntls, do not unlock Giant twice. While there, bring conditions in the do/while loops closer to style, that also makes the lines fit into 80 columns. Reported and tested by: dougb END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-20T23:14:08.714252Z K 7 svn:log V 92 - call in to zio pipeline even in the case of a page cache hit, but bypass the I/O stages END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-21T00:19:09.475006Z K 7 svn:log V 145 Add an experimental and rudimentary JIT optimizer to reduce unncessary overhead from short BPF filter programs such as "get the first 96 bytes". END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-21T00:34:51.256808Z K 7 svn:log V 151 - eliminate gratuitous white space changes with pre-buf support - allow arc to recycle sub-PAGE_SIZE buffers - validate stolen against data in recycle END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-21T01:43:22.512827Z K 7 svn:log V 91 Add a note that wpa_supplicant(8) may require a full world build to sync up with 20091109. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-21T01:54:32.854684Z K 7 svn:log V 115 - enforce size limit in arc_evict itself - mark new buffer as B_VMIO so that they are maintained in the page cache END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-21T01:57:19.553507Z K 7 svn:log V 9 fix typo END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-21T02:09:21.903379Z K 7 svn:log V 21 revert B_VMIO change END K 10 svn:author V 8 kensmith K 8 svn:date V 27 2009-11-21T06:13:29.241511Z K 7 svn:log V 70 Create release/8.0.0 for the 8.0-RELEASE. Approved by: re (implicit) END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-11-21T10:46:49.710267Z K 7 svn:log V 77 Fix minor resource leak in a function. Reviewed by: luigi MFC after: 1 week END K 10 svn:author V 4 sson K 8 svn:date V 27 2009-11-21T12:38:45.893155Z K 7 svn:log V 131 Bump __FreeBSD_version to reflect the point when EVFILT_USER kevent filter has been implemented. Approved by: rwatson (co-mentor) END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-11-21T14:12:51.802218Z K 7 svn:log V 57 Add a few very basic tests for cd -{L,P} and pwd -{L,P}. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-11-21T14:28:32.479631Z K 7 svn:log V 356 sh: Some changes to stderr flushing: * increase buffer size from 100 to 256 bytes * remove implied flush from out2str(), in particular this avoids unnecessary flushing in the middle of a -x tracing line * rename dprintf() to out2fmt_flush(), make it flush out2 and use this function in various places where flushing is desired after an error message END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-11-21T14:53:08.826613Z K 7 svn:log V 138 MFC r199017,199228 Fix handling of GPT headers when size is > 92 bytes. This should address reading GPT headers written by opensolaris. END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-11-21T14:53:22.385072Z K 7 svn:log V 152 Handle current work directories of arbitrary length. The argument to cd continues to be limited by PATH_MAX (1024). Obtained from: NetBSD PR: 104456 END K 10 svn:author V 7 stefanf K 8 svn:date V 27 2009-11-21T14:54:35.693032Z K 7 svn:log V 24 Add a test for r199631. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-11-21T14:54:45.842814Z K 7 svn:log V 138 MFC r199017,199228 Fix handling of GPT headers when size is > 92 bytes. This should address reading GPT headers written by opensolaris. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-11-21T15:02:35.070082Z K 7 svn:log V 908 MFC 198420 Correct some issues with zfs boot. - Teach it to read gang blocks. (essentially untested) If you see "ZFS: gang block detected!", please let me know, so we can either remove the printf if it works, or fix it if it doesn't. - If multiple partitions exist on a disk, probe them all. We also need to reset dsk->start to 0 to read the right sector here. - With GPT, we can have 128 partitions. - If the bootfs property has ever been set on a pool it seems that it never goes away. zpool won't allow you to add to the pool with the bootfs property set. However, if you clear the property back to default we end up getting 0 for the object number and read a bogus block pointer and fail to boot. - Fix some error printfs. The printf in the loader is only capable of c,s and u formats. - Teach printf how to display %llu END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-11-21T15:04:01.588043Z K 7 svn:log V 908 MFC 198420 Correct some issues with zfs boot. - Teach it to read gang blocks. (essentially untested) If you see "ZFS: gang block detected!", please let me know, so we can either remove the printf if it works, or fix it if it doesn't. - If multiple partitions exist on a disk, probe them all. We also need to reset dsk->start to 0 to read the right sector here. - With GPT, we can have 128 partitions. - If the bootfs property has ever been set on a pool it seems that it never goes away. zpool won't allow you to add to the pool with the bootfs property set. However, if you clear the property back to default we end up getting 0 for the object number and read a bogus block pointer and fail to boot. - Fix some error printfs. The printf in the loader is only capable of c,s and u formats. - Teach printf how to display %llu END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-21T16:16:30.846202Z K 7 svn:log V 70 Add another check on the return value from reading the Mambo console. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-21T16:17:11.697157Z K 7 svn:log V 43 Add USB back in: ohci and ehci work again. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-21T16:45:55.553184Z K 7 svn:log V 13 IFC @ 199632 END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-21T17:01:38.442829Z K 7 svn:log V 32 Make cpufreq work on powerpc64. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-21T17:11:51.802753Z K 7 svn:log V 119 Tidy up this code a bit. Add VBM_DIRTY that we can use throughout the code to serve as a dirty mask for rows/columns. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-11-21T20:44:34.304188Z K 7 svn:log V 148 trap: do not consider a bad signal name a fatal error. POSIX explicitly prescribes this. Continue processing any other signals and return status 1. END K 10 svn:author V 5 edwin K 8 svn:date V 27 2009-11-22T05:17:22.647664Z K 7 svn:log V 123 The output of perror(1) is now showing local messages for locales supported by libc/nls PR: bin/140499 Approved by: gnn@ END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-22T09:27:13.329524Z K 7 svn:log V 22 Import Terminus 4.30. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-22T10:53:26.418295Z K 7 svn:log V 34 Add some missing WDMA/UDMA modes. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-22T11:17:31.223179Z K 7 svn:log V 268 Fix Intel PATA UDMA timings setting, affecting write performance. Binary divider value 10 specified in datasheet is not a hex 0x10. UDMA2 should be 33/2 instead of 66/4, which is documented as reverved, UDMA4 should be 66/2 instead of 66/4, which is definitely wrong. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-22T12:19:50.240877Z K 7 svn:log V 72 Release over-agressive WDMA0 mode timings as close to spec as chip can. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-11-22T14:04:20.236782Z K 7 svn:log V 550 sh: Ensure the same command input file is on top after executing a builtin. This avoids weirdness when 'fc -e vi' or the like is done and there is a syntax error in the file. Formerly an interactive shell tried to execute stuff after the syntax error and exited. This should also avoid similar issues with 'command eval' and 'command .' when 'command' is implemented properly as in NetBSD sh. Special builtins did not have this problem since errors in them cause the shell to exit or to reset various state such as the current command input file. END K 10 svn:author V 8 kuriyama K 8 svn:date V 27 2009-11-22T14:32:32.884443Z K 7 svn:log V 1211 - MFC r199067,199215,199253 - Add hw.clflush_disable loader tunable to avoid panic (trap 9) at map_invalidate_cache_range() even if CPU is not Intel. - This tunable can be set to -1 (default), 0 and 1. -1 is same as current behavior, which automatically disable CLFLUSH on Intel CPUs without CPUID_SS (should be occured on Xen only). You can specify 1 when this panic happened on non-Intel CPUs (such as AMD's). Because disabling CLFLUSH may reduce performance, you can try with setting 0 on Intel CPUs without SS to use CLFLUSH feature. - Amd64 init_secondary() calls initializecpu() while curthread is still not properly set up. r199067 added the call to TUNABLE_INT_FETCH() to initializecpu() that results in hang because AP are started when kernel environment is already dynamic and thus needs to acquire mutex, that is too early in AP start sequence to work. Extract the code that should be executed only once, because it sets up global variables, from initializecpu() to initializecpucache(), and call the later only from hammer_time() executed on BSP. Now, TUNABLE_INT_FETCH() is done only once at BSP at the early boot stage. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-22T15:53:39.405822Z K 7 svn:log V 189 MFC r199209: Fix a potential buffer boundaries overflow in devclass_add_device() by using all available int lenghts digits for storing the information. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-22T15:57:08.030283Z K 7 svn:log V 191 MFC r199210: Introduce the new loader compile-time option BOOT_PROMPT_123 which allows to enter the loader prompt just after entering the sequence "123". Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-22T16:04:49.054524Z K 7 svn:log V 205 MFC r199208, r199223: Move inet_aton() (specular to inet_ntoa(), already present in libkern) into libkern in order to made it usable by other modules than alias_proxy. Sponsored by: Sandvine Incorporated END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-22T16:09:27.610395Z K 7 svn:log V 32 MFC r199007: Fix a memory leak. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-22T16:11:20.543330Z K 7 svn:log V 50 MFC r199008: Track lockmgr_disown() in the stack. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-22T16:13:16.387907Z K 7 svn:log V 97 MFC r199024: Use a safety belt for cases where corrupted narg can be passed to the ktrsyscall(). END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-22T16:51:44.012174Z K 7 svn:log V 232 When -n is specified, attempt to turn hostnames found in utmp into IP addresses, again. However, change a hostname into an IP address, only when a host has just one A/AAAA RR. Requested by: candy__at__kgc.co.jp MFC after: 2 weeks END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-22T17:05:46.069738Z K 7 svn:log V 84 MFC r199083: Add NLS catalogs support to gai_strerror(3). Controlled by NLS define. END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-22T17:08:52.401899Z K 7 svn:log V 73 MFC r199092: Add gai_strerror() catalog for ja_JP.UTF-8 and ja_JP.eucJP. END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-22T17:16:37.769912Z K 7 svn:log V 104 MFC r199242: Use ncursesw to output the date field of vmstat display with multi-byte string, correctly. END K 10 svn:author V 3 ume K 8 svn:date V 27 2009-11-22T17:25:11.146044Z K 7 svn:log V 236 MFC r199179, r199271: - Add unit to the short month names for Japanese locales. Without unit, the output of the application like ls(1) is complicated. - Since %b contains unit, %b is not suitable for c_fmt, now. Use %_m instead. END K 10 svn:author V 6 jilles K 8 svn:date V 27 2009-11-22T18:23:30.888068Z K 7 svn:log V 691 Fix various things about SIGINT handling: * exception handlers are now run with interrupts disabled, which avoids many race conditions * fix some cases where SIGINT only aborts one command and continues the script, in particular if a SIGINT causes an EINTR error which trumped the interrupt. Example: sh -c 'echo < /some/fifo; echo This should not be printed' The fifo should not have writers. When pressing ctrl+c to abort the open, the shell used to continue with the next command. Example: sh -c '/bin/echo < /some/fifo; echo This should not be printed' Similar. Note, however, that this particular case did not and does not work in interactive mode with job control enabled. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T18:30:19.402344Z K 7 svn:log V 26 Remove extra white space. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T18:34:15.723476Z K 7 svn:log V 56 Fix typo introduced in r199011. Pointed out by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T18:47:56.053243Z K 7 svn:log V 179 Due to newly added PCIe capabilities fallback code for finding the PCIe capability did not work right on recent controllers. Remove FreeBSD 6.x support code. Reviewed by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T19:11:34.674542Z K 7 svn:log V 215 Use capability pointer to access PCIe registers rather than directly access them at fixed address. While I'm here don't touch other bits of PCIe device control register except max payload size. Reviewed by: marius END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T19:17:32.293510Z K 7 svn:log V 70 Controller does not write Rx descriptors, remove BUS_DMASYNC_PREREAD. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T19:44:11.167986Z K 7 svn:log V 471 Rearrange bge_start_locked to see we can send more frames by checking IFF_DRV_RUNNING and IFF_DRV_OACTIVE flags. Also if we have less than 16 free send BDs set IFF_DRV_OACTIVE and try it later. Previously bge(4) used to reserve 16 free send BDs after loading dma maps but hardware just need one reserved send BD. If prouder index has the same value of consumer index it means the Tx queue is empty. While I'm here check IFQ_DRV_IS_EMPTY first to save one lock operation. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T20:02:13.369383Z K 7 svn:log V 368 Cache Rx producer/Tx consumer index as soon as we know status block update and then clear status block. Previously it used to access these index without synchronization which may cause problems when bounce buffers are used. Also add missing bus_dmamap_sync(9) in polling handler. Since we now update status block in driver, adjust bus_dmamap_sync(9) for status block. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T20:31:40.076162Z K 7 svn:log V 467 For MSI case, interrupt is not shared and we don't need to force PCI flush to get correct status block update. Add an optimized interrupt handler that is activated for MSI case. Actual interrupt handling is done by taskqueue such that the handler does not require driver lock for Rx path. The MSI capable bge(4) controllers automatically disables further interrupt once it enters interrupt state so we don't need PIO access to disable interrupt in interrupt handler. END K 10 svn:author V 10 nwhitehorn K 8 svn:date V 27 2009-11-22T20:45:15.585116Z K 7 svn:log V 140 Garbage collect some code that was never compiled in to handle Altivec during traps. It predates actual Altivec support and was never used. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T20:50:27.503546Z K 7 svn:log V 776 Fix two long standing bugs on bge(4). Most pre BCM5755 controllers have a DMA bug when buffer address crosses a multiple of the 4GB boundary(e.g. 4GB, 8GB, 12GB etc). Limit DMA address to be within 4GB address for these controllers. The second DMA bug limits DMA address to be within 40bit address space. This bug applies to BCM5714 and BCM5715 and 5708(bce(4) controller). This is not actually a MAC controller bug but an issue with the embedded PCIe to PCI-X bridge in the device. So for BCM5714/BCM5715 controllers also limit the DMA address to be within 40bit address space. Special thanks to davidch@ who gave me detailed errata information. I think this change will fix long standing bge(4) instability issues on systems with more than 4GB memory. Reviewed by: davidch END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T21:16:30.824952Z K 7 svn:log V 1002 Implement TSO for BCM5755 or newer controllers. Some controllers seem to require a special firmware to use TSO. But the firmware is not available to FreeBSD and Linux claims that the TSO performed by the firmware is slower than hardware based TSO. Moreover the firmware based TSO has one known bug which can't handle TSO if ethernet header + IP/TCP header is greater than 80 bytes. The workaround for the TSO bug exist but it seems it's too expensive than not using TSO at all. Some hardwares also have the TSO bug so limit the TSO to the controllers that are not affected TSO issues (e.g. 5755 or higher). While I'm here set VLAN tag bit to all descriptors that belengs to a frame instead of the first descriptor of a frame. The datasheet is not clear how to handle VLAN tag bit but it worked either way in my testing. This makes it simplify TSO configuration a little bit. Big thanks to davidch@ who sent me detailed TSO information. Without this I was not able to implement it. Tested by: current END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-22T21:16:43.620807Z K 7 svn:log V 195 Improve High Speed slot allocation mechanism by moving the computation to the endpoint rather than per xfer and provide functions around get/free of resources. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-22T21:19:01.804186Z K 7 svn:log V 67 Initialise variable before use. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T21:20:26.379930Z K 7 svn:log V 43 Add missing function prototype in r199671. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-22T21:21:22.719394Z K 7 svn:log V 101 Provide tunables for some of the usb sysctls that affect boot behaviour. Submitted by: Andriy Gapon END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-22T21:24:38.710320Z K 7 svn:log V 113 Correct register access for USB device side operation on the musb controller. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-22T21:26:27.874254Z K 7 svn:log V 94 add support for MIDI devices without audio control stream. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-22T21:31:31.170932Z K 7 svn:log V 74 Add missed register change in r199676. Submitted by: Hans Petter Selasky END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-22T21:45:55.361367Z K 7 svn:log V 369 Reduce status block size DMAed by controller. bge(4) uses single Tx/Rx/Rx return ring such that large part of status block was not used at all. All bge(4) controllers except BCM5700 AX/BX has a feature to control the size of status block. So use minimum status block size allowed in controller. This reduces number of DMAed status block size to 32 bytes from 80 bytes. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-22T21:53:09.802487Z K 7 svn:log V 73 Make the mode setting transfer asynchronous. Submitted by: Rohit Grover END K 10 svn:author V 5 dougb K 8 svn:date V 27 2009-11-22T21:58:06.955990Z K 7 svn:log V 252 In safe_exit() when deleting build-only packages add a cd before running pkg_delete to avoid it not being able to find its working directory. Remove unneeded spaces from rundeps In the package fetching code only set $packages if it's not already set END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-22T23:46:44.378374Z K 7 svn:log V 32 MFC r199007: Fix a memory leak. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-22T23:51:51.679452Z K 7 svn:log V 152 MFC r199209: Fix a potential buffer boundaries overflow in devclass_add_device() by using all available int lenghts digits for storing the information. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-22T23:54:19.999505Z K 7 svn:log V 97 MFC r199024: Use a safety belt for cases where corrupted narg can be passed to the ktrsyscall(). END K 10 svn:author V 6 emaste K 8 svn:date V 27 2009-11-23T01:23:03.625388Z K 7 svn:log V 156 MFC r199209: Fix a potential buffer boundaries overflow in devclass_add_device() by using all available int lenghts digits for storing the information. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T01:53:27.238344Z K 7 svn:log V 55 set vnode type so that vm object creation will succeed END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T01:59:12.657786Z K 7 svn:log V 222 - extend arc_binval to invalidate pages in the vm object - change arc_bgetvp to arc_bcache to cache freed buffers and their pages in the vm object - close race between getblk and brelvp by passing GB_LOCK_NOWAIT to getblk END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T03:44:25.506441Z K 7 svn:log V 30 don't recursively lock bufobj END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T04:36:54.313093Z K 7 svn:log V 87 - use vm_object_page_remove to remove a range of pages - clear vmio on getblk'd buffer END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T05:16:35.603081Z K 7 svn:log V 120 - move bgetvp to start of arc_pcache - don't getblk on 0 - assert that newbp's pages have been removed from vp's object END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T05:47:53.671835Z K 7 svn:log V 59 assert that a buffers pages are not attached to the object END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T06:48:54.187562Z K 7 svn:log V 73 - always release pages on invalidate - assert that they've been released END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-23T07:11:10.693118Z K 7 svn:log V 55 Linker scripts for octeon1 kernels of various flavors. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-23T07:49:22.167909Z K 7 svn:log V 119 Start linking at the kernel link address.... # this gets me a loading, but not working, kernel on octeon's simulator. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-23T07:49:50.271192Z K 7 svn:log V 39 Specify loader script and load address END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T08:45:17.218593Z K 7 svn:log V 331 MFC r198717: - Remove most of direct relations between ATA(4) peripherial and controller levels. It makes logic more transparent and is a mandatory step to wrap ATA(4) controller level into ATA-native CAM SIM. - Tune AHCI and SATA2 SiI drivers memory allocation a bit to allow bigger I/O transaction sizes without additional cost. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T08:46:26.702833Z K 7 svn:log V 164 MFC r198752: Allow SATA1 SiI chips to do full-sized DMA. Specification tells that we may release DMA constrants even more, but it require some additional handling. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T08:56:17.675358Z K 7 svn:log V 823 MFC r199259, r199262, r199322: Change the way in which AHCI+PATA combined controllers, such as JMicron are handled. Instead of trying to attach two different drivers to single device, wrapping each call, make one of them (atajmicron) attach do device solely, but create child device for AHCI driver, passing it all required resources. It is quite easy, as none of resources are shared, except IRQ. Add support for AHCI SATA parts of alike SATA+PATA MArvell controllers. Add IDs of Marvell 88SX6102, 88SX6111. 88SX6141 controllers. As result, it: - makes drivers operation more independent and straitforward, - allows to use new ahci(4) driver with such devices, adding support for new features, such as PMP and NCQ, same time keeping legacy PATA support, - will allow to just drop old ataahci driver, when it's time come. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T09:02:08.904920Z K 7 svn:log V 41 Refer more recently added Marvell chips. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-23T09:10:08.170044Z K 7 svn:log V 85 MFC: r199317 Fix a memory leak in acl_from_text() in case the conversion succeeded. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T09:13:32.067163Z K 7 svn:log V 53 MFC 199699: Refer more recently added Marvell chips. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-23T09:15:16.460324Z K 7 svn:log V 85 MFC: r199317 Fix a memory leak in acl_from_text() in case the conversion succeeded. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-23T09:16:39.985572Z K 7 svn:log V 85 MFC: r199317 Fix a memory leak in acl_from_text() in case the conversion succeeded. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T09:20:33.449437Z K 7 svn:log V 58 MFC r196762: Improve HDA controller capabilities logging. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T09:21:35.451137Z K 7 svn:log V 67 MFC r197017: Add Intel 82801JD (one more ICH10) HDA controller ID. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T09:22:38.113013Z K 7 svn:log V 50 MFC r197018: Add NVidia MCP89 HDA controller IDs. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T09:26:30.861317Z K 7 svn:log V 233 MFC r197611, r197640: - Add some bits of HDMI/DisplayPort support from later specification updates. It may be not enough to make them work, but at least should give some information about these beasts. - Add Realtek ALC887 codec ID. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T09:28:16.616515Z K 7 svn:log V 33 MFC r199258: Add more codec IDs. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-23T09:44:08.908971Z K 7 svn:log V 27 MFC: r199320 Fix grammar. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-23T09:45:11.250848Z K 7 svn:log V 27 MFC: r199320 Fix grammar. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-23T09:45:59.694819Z K 7 svn:log V 27 MFC: r199320 Fix grammar. END K 10 svn:author V 2 bz K 8 svn:date V 27 2009-11-23T11:52:20.820243Z K 7 svn:log V 779 MF7 r199330: Note: this change was never in head; thus directly merged from stable/7. As we pass the 'offset' unvalidated to vn_rdwr() make sure that it is unsigned rather than possibly set to something negative by a malicious binary. This is just the immediate fix to the problem mentioned in PR kern/80742 and by http://milw0rm.com/exploits/9206 but does not fix all possible problems imgact_pecoff has. As this feature does not work and is not compiled in by default, the security team considers this vulnerability to be of low risk to the user population and will not be issuing an advisory. PR: kern/80742 Reported by: Oliver Pinter (oliver.pntr gmail.com) via freebsd-security Help reproducing and testing by: Damian Weber (dweber htw-saarland.de) END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-11-23T15:26:16.884273Z K 7 svn:log V 58 Turn off the warnings about unused compilation arguments. END K 10 svn:author V 7 rnoland K 8 svn:date V 27 2009-11-23T16:00:16.778655Z K 7 svn:log V 675 Create a seperate ZFS enabled loader. This adds zfsloader which will be called by zfsboot/gptzfsboot code rather than the tradional loader. This eliminates the need to set the LOADER_ZFS_SUPPORT variable in order to get a ZFS enabled loader. Note however, that you must reinstall your bootcode (zfsboot/gptzfsboot) in order for the boot process to use the new loader. New installations will no longer be required to build a ZFS enabled loader for a working ZFS boot system. Installing zfsboot/gptzfsboot is sufficient for acknowledging the use of CDDL code and therefore the ZFS enabled loader. Based on a previous patch from jhb@ Reviewed by: jhb@ MFC after: 2 weeks END K 10 svn:author V 8 rmacklem K 8 svn:date V 27 2009-11-23T16:08:15.260429Z K 7 svn:log V 437 Modify the experimental nfs server so that it falls back to using VOP_LOOKUP() when VFS_VGET() returns EOPNOTSUPP in the ReaddirPlus RPC. This patch is based upon one by pjd@ for the regular nfs server which has not yet been committed. It is needed when a ZFS volume is exported and ReaddirPlus (which almost always happens for NFSv4) is performed by a client. The patch also simplifies vnode lock handling somewhat. MFC after: 2 weeks END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T17:54:57.206444Z K 7 svn:log V 199 MFC r199321: Disable PortMultiplier Async Notifications for time of ports reset. They are useless at that time, but confuse Marvell AHCI. Add quirk for SiI57XX Port Multipliers, to hide extra port. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-23T18:07:28.350072Z K 7 svn:log V 182 Do not attach JMicrons with single PCI function. They are not working as AHCI for some reason, even when declaring so. Let atajmicron configure them for us and provide PATA support. END K 10 svn:author V 7 thompsa K 8 svn:date V 27 2009-11-23T18:12:09.130886Z K 7 svn:log V 64 Actually disable interrupts in ehci_detach(). Reviewed by: HPS END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-23T21:09:23.078899Z K 7 svn:log V 1582 Revert previous commit. The problem was not related to overrunning the kernel stack at all. The new USB stack simply caused a change in timing that triggered a firmware bug more often. The addition of PRINTF_BUFR_SIZE apparently triggered the same firmware bug even more reliably. But even with KSTACK_PAGES=5, one instance of the firmware bug remained: booting with a CD inserted. This problem was run into by accident after installing Debian and having to boot FreeBSD to fixup the GPT partitioning (Thanks... not). After bumping KSTACK_PAGES to 5, it was pretty unbelievable that the stack was still being too small. After updating the firmware we could boot with a CD inserted and KSTACK_PAGES could be lowered back to 4 pages without problems. Note: It is believed to be a timing related firmware bug, because the machine check information showed access to the serial console on one CPU and access to the EHCI HCD on the other CPU. Since both are devices on the management unit and thus virtualized in some way, any execution trace that does not include concurrent access to the BMC from both CPUs is fine. Note also that it's not understood exactly how increasing the kernel stack avoided hitting the firmware bug. A change in page faults does change timing, but it's not known if that's what's happening here. In any case: the problem is being monitored. Reverting back to 4 pages for the kernel stack is preferred, because it makes it easier to switch to 16K pages (double the page size) without wasting too much memory by not being able to half the number of pages... END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-11-23T21:17:38.750347Z K 7 svn:log V 126 Add -L${WORLDTMP}/usr/lib/ to WMAKE so the right libs are picked up. I need to fix lib32 build similarly. Pointed out by: ru END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-23T22:23:19.853421Z K 7 svn:log V 210 - Add more aggressive BPF JIT optimization. This is in more favor of i386 while the previous commit was more amd64-centric. - Use calloc(3) instead of malloc(3)/memset(3) in user land[1]. Submitted by: ed[1] END K 10 svn:author V 4 jkim K 8 svn:date V 27 2009-11-23T22:28:15.541054Z K 7 svn:log V 49 Make this test case little bit more interesting. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-23T23:23:05.529275Z K 7 svn:log V 338 Don't make MJUMPAGESIZE equal to PAGE_SIZE unconditionally. When PAGE_SIZE is 16K, MJUMPAGESIZE equals MJUM16BYTES and causes build breakages. For PAGE_SIZE < 2K, define MJUMPAGESIZE as MCLBYTES. For PAGE_SIZE > 8K, define MJUMPAGESIZE as 8K. Everywhere inbetween, define MJUMPAGESIZE as PAGE_SIZE. Thus MCLBYTES <= MJUMPAGESIZE <= 8KB. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T23:28:25.558036Z K 7 svn:log V 54 add flag for marking ZFS buffers to help with logging END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T23:43:47.659449Z K 7 svn:log V 67 - simplify buffer invalidation - mark buffers for logging purposes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-23T23:45:26.758568Z K 7 svn:log V 38 - clear B_ZFS before finishing brelse END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-24T01:35:21.402096Z K 7 svn:log V 130 Improve upon revision 196196 by removing the newly added comment in the wrong place and instead add a KASSERT in the right place. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-24T01:44:11.195003Z K 7 svn:log V 89 don't cache buffers that are not page aligned account for sub-page sizes in invalidation END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-24T03:17:00.174964Z K 7 svn:log V 238 MFC r198338: o Align function on a 32-byte boundary so that the core's front-end can deliver 2 bundles per cycle to the back-end. o Mark syscall stubs with a special unwind ABI tag so that unwind libraries know how to unwind. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-24T03:23:40.548066Z K 7 svn:log V 48 MFC r198450: Implement _umtx_op_err() for ia64. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-24T03:28:35.700183Z K 7 svn:log V 97 MFC r198452: Add PRINTF_BUFR_SIZE=128, since we have SMP by default. While here, fix tabulation. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-24T03:32:42.097987Z K 7 svn:log V 113 MFC r198733: Reimplement the lazy FP context switching... ...This change fixes the high FP inconsistency panics. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2009-11-24T03:38:42.281792Z K 7 svn:log V 185 MFC r199274, r199284: Fix an obvious panic by not casting from a pointer that is 4-bytes alignment to a type that needs 8-byte alignment, and thus causing misaligned memory references. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-24T07:17:51.697642Z K 7 svn:log V 46 fixup kernel core dumps on paravirtual guests END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-24T07:18:38.887495Z K 7 svn:log V 54 remove annoying printf that cripples kdb on PV guests END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T07:40:38.199440Z K 7 svn:log V 40 Prefer ANSI spellings of uintXX_t, etc. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T07:41:15.685629Z K 7 svn:log V 42 Add size of octeon uart registers to map. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T07:50:19.927458Z K 7 svn:log V 979 Rewrite to try to be more sane: o Introduce a uart bus space so that we don't have to hack dev/uart to do 8 byte reads. This also handles the shift properly, so reset the shift we want dev/uart doing to 0. In effect, this bus space makes the octeon registers have an interface to dev/uart that looks just like the old ISA bus, but does the necessary 64-bit read/write to the bus. We only support read/write operations. We do all the widths, but likely could get away with only 64-bit and 8-bit given the restricted nature of use of this bus. o use bus_space_map to set the .bsh rather than a direct assignment. o Minor cleanup of uart_cpu_getdev to make it conform more to the other implementations. o Add some coments for future work. # with these changes, we now make it through cninit, but there's still some # problem that's preventing output, as well as another problem that causes # us to call panic just after we return from cninit() in platform_start. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-24T08:14:22.504960Z K 7 svn:log V 118 LSI MegaRAID 9260 works, sort the hardware list while here. Submitted by: Jason MFC after: 3 days END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T08:21:23.734719Z K 7 svn:log V 58 remove bogus panic. Don't use fortran style line control. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T08:21:48.483289Z K 7 svn:log V 38 TARGET_OCTEON reqiures opt_cputype.h. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T08:35:11.462558Z K 7 svn:log V 362 Move the hard-wiring of the dcache on octeon outside of the if statement. When no caches support was added, it looks like TARGET_OCTEON was bogusly moved inside the if. Also, include opt_cputype.h to make TARGET_OCTEON actually active. # now we die in pmap init somewhere... Most likely because 32MB of RAM is # too tight given the load address we're using. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-24T09:10:43.118180Z K 7 svn:log V 132 MFC r199535: Tune CAM ATA kernel options a bit. Move PMP support from da to scbus and add ada device option, according to man page. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-24T09:13:15.938730Z K 7 svn:log V 34 MFC r199532: Add ada(4) man page. END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-24T09:16:47.101563Z K 7 svn:log V 149 MFC r199247: Remove part that HDMI is not implemented. It had different meaning and confuse users. Extend BUGS section. Add some supported chipsets. END K 10 svn:author V 8 netchild K 8 svn:date V 27 2009-11-24T10:46:17.073750Z K 7 svn:log V 76 MFC r199351: Fix small resource leak (memory). Reviewed by: gad END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-24T12:47:58.694079Z K 7 svn:log V 539 MFp4: - Extend XPT-SIM transfer settings control API. Now it allows to report to SATA SIM number of tags supported by each device, implement ATA mode and SATA revision negotiation for both SATA and PATA SIMs. - Make ahci(4) and siis(4) to use submitted maximum tag number, when scheduling requests. It allows to support NCQ on devices with lower tags count then controller supports. - Make PMP driver to report attached devices connection speeds. - Implement ATA mode negotiation between user settings, device and controller capabilities. END K 10 svn:author V 8 brueffer K 8 svn:date V 27 2009-11-24T13:44:53.685787Z K 7 svn:log V 50 Grammar and mdoc improvements. MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-24T14:06:15.513014Z K 7 svn:log V 164 Use only lower byte of sectors_intr IDENTIFY word as sector count. This fixes SET_MULTI error during boot on devices supporting less then 16 sectors per interrupt. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-24T14:40:50.039843Z K 7 svn:log V 31 MFC 199007: Fix a memory leak. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T14:57:50.182862Z K 7 svn:log V 45 Get rid of redundant .kernel in these names. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T16:29:23.419290Z K 7 svn:log V 89 Make sure kstack0 is page aligned. # this may have been from neel@ for the sibyte stuff END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T16:30:29.519087Z K 7 svn:log V 86 Remove a comment that's bogus. Include opt_cputype.h since TARGET_OCTEON moved there. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T16:32:31.249006Z K 7 svn:log V 209 Include opt_cputype.h for all .c and .S files referencing TARGET_OCTEON. Spell ld script name right. # for the most part, we need to enhance infrastructure to obviate the need # for such an intrusive option. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T16:53:58.332966Z K 7 svn:log V 180 looks like there's more to this patch than just this one file. I'll leave it to neel@ to get all the relevant pieces into the tree. # we now get well into mi_start before we die END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-24T16:54:54.767393Z K 7 svn:log V 39 Use bus_*() rather than bus_space_*(). END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-24T16:57:35.804960Z K 7 svn:log V 309 - For 350 chips, don't set various INTR bits in TX control word; turning INTR bits on seems to confuse hardware TX engine. - For 350 chips, set TX desc's buffer physical address before turning on the TX desc valid bit. Submitted by: Jeremy O'Brien obrien654j | gmail, sephe Obtained from: DragonFly BSD END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T17:06:11.878761Z K 7 svn:log V 156 Only all critical_enter()/critical_exit() if curthread has been set. Otherwise we dereference a null pointer and can't get useful panic info early in boot. END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T17:14:23.320723Z K 7 svn:log V 18 kill stray printf END K 10 svn:author V 3 imp K 8 svn:date V 27 2009-11-24T17:15:22.807436Z K 7 svn:log V 54 Add in Cavium's CID. Report what the unknown CID is. END K 10 svn:author V 7 yongari K 8 svn:date V 27 2009-11-24T17:46:58.902751Z K 7 svn:log V 84 BGE_FLAG_40BIT_BUG should be set before creating DMA tags. Pointy hat to: yongari END K 10 svn:author V 3 jhb K 8 svn:date V 27 2009-11-24T18:34:47.311892Z K 7 svn:log V 142 Use a single private timer to drive the transmit watchdog rather than using if_watchdog and if_timer from the first port. Reviewed by: gonzo END K 10 svn:author V 7 fabient K 8 svn:date V 27 2009-11-24T19:26:53.500147Z K 7 svn:log V 217 - fix a LOR between process lock and pmc thread mutex - fix a system deadlock on process exit when the sample buffer is full (pmclog_loop blocked in fo_write) and pmcstat exit. Reviewed by: jkoshy MFC after: 3 weeks END K 10 svn:author V 6 ivoras K 8 svn:date V 27 2009-11-24T19:57:41.475765Z K 7 svn:log V 292 Make ULE process usage (%CPU) accounting usable again by keeping track of the last tick we incremented on. Submitted by: matthew.fleming/at/isilon.com, is/at/rambler-co.ru Reviewed by: jeff (who thinks there should be a better way in the future) Approved by: gnn (mentor) MFC after: 3 weeks END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-11-24T20:04:31.796235Z K 7 svn:log V 250 MFC: r199442 Unroll copying of the registers in {g,s}et_mcontext() and limit it to the set actually restored by tl0_ret() instead of using the whole trapframe. Additionally skip %g7 as that register is used as the userland TLS pointer. PR: 140523 END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-11-24T21:04:23.963764Z K 7 svn:log V 80 use -B for the crt* stuff and link /usr/bin from $WORLTMP to get the real ones. END K 10 svn:author V 8 rdivacky K 8 svn:date V 27 2009-11-24T21:06:41.783677Z K 7 svn:log V 170 Always link crt* stuff from /usr/lib/ or /usr/lib32 depending on wheteher we are cross compiling or not. This reveales a problem wth lib32 build that I am going to fix. END K 10 svn:author V 6 marius K 8 svn:date V 27 2009-11-24T22:13:06.357642Z K 7 svn:log V 250 MFC: r199442 Unroll copying of the registers in {g,s}et_mcontext() and limit it to the set actually restored by tl0_ret() instead of using the whole trapframe. Additionally skip %g7 as that register is used as the userland TLS pointer. PR: 140523 END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-24T22:37:04.176440Z K 7 svn:log V 70 when invalidating - try buffer lookup again if unaligned lookup fails END K 10 svn:author V 4 will K 8 svn:date V 27 2009-11-25T00:00:57.580732Z K 7 svn:log V 108 Make ``ifconfig -l ether'' only list interfaces that speak Ethernet. PR: 118987 Approved by: ken (mentor) END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T01:50:17.791642Z K 7 svn:log V 22 MFC core dump support END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T01:51:07.965461Z K 7 svn:log V 26 remove gratuitous comment END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T01:52:36.105696Z K 7 svn:log V 38 MFC xen pmap updates and eflags fixes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T01:55:34.823674Z K 7 svn:log V 19 fix UP compilation END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T02:00:09.659312Z K 7 svn:log V 48 create update 8 branch for debugging ZFS on Xen END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T02:10:07.295753Z K 7 svn:log V 27 merge releng_8_fcs changes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T02:13:44.624796Z K 7 svn:log V 41 improve logging for buffer state changes END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T02:38:20.097712Z K 7 svn:log V 48 fix printf for printing 64-bit values on 32-bit END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T02:39:11.989115Z K 7 svn:log V 41 fix compile for i386 and i386-xen builds END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T02:39:33.315369Z K 7 svn:log V 13 fix mismerge END K 10 svn:author V 7 wollman K 8 svn:date V 27 2009-11-25T04:21:42.667361Z K 7 svn:log V 73 Eliminate dead store. Found by: Clang static analyzer MFC after: 7 days END K 10 svn:author V 7 wollman K 8 svn:date V 27 2009-11-25T04:27:55.557061Z K 7 svn:log V 272 In __mbsconv(), if prec was zero, nconv could have been used uninitialized. Initialize it to a safe value so that there's no chance of returning an error if stack garbage happens to be equal to (size_t)-1 or (size_t)-2. Found by: Clang static analyzer MFC after: 7 days END K 10 svn:author V 7 wollman K 8 svn:date V 27 2009-11-25T04:35:54.654142Z K 7 svn:log V 364 Make all three if conditions look similar by always initializing nsec and moving the default initialization of prec into the else clause. The clang static analyzer erroneously thought that nsec can be used uninitialized here; it was not actually possible, but better to make the code clearer. (Clang can't know that sprintf() won't modify *pi behind the scenes.) END K 10 svn:author V 7 wollman K 8 svn:date V 27 2009-11-25T04:45:45.500360Z K 7 svn:log V 79 Eliminate more dead stores. Found by: Clang static analyzer MFC after: 7 days END K 10 svn:author V 7 wollman K 8 svn:date V 27 2009-11-25T04:49:41.886325Z K 7 svn:log V 182 In svc_raw_reply(), don't leave stat uninitialized if the MSG_ACCEPTED && SUCCESS case succeeds. The stack garbage might be zero. Found by: Clang static analyzer MFC after: 7 days END K 10 svn:author V 7 wollman K 8 svn:date V 27 2009-11-25T04:52:12.566283Z K 7 svn:log V 154 In clnt_raw_create(), avoid minor race condition initializing the file-scope variable clntraw_private. Found by: Clang static analyzer MFC after: 7 days END K 10 svn:author V 7 wollman K 8 svn:date V 27 2009-11-25T04:53:38.476115Z K 7 svn:log V 74 Style: use structure assignment rather than memcpy() to copy a structure. END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T04:55:50.697808Z K 7 svn:log V 47 fix user tool build by hiding buf manipulation END K 10 svn:author V 5 kmacy K 8 svn:date V 27 2009-11-25T05:42:54.011138Z K 7 svn:log V 34 make static ZFS compile on 32-bit END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-25T10:43:03.177221Z K 7 svn:log V 178 Use atomic increments for vt_unit. It's not likely that multiple allocations of vt devices will ever occur at the same time, but if it would happen, the results are very scary. END K 10 svn:author V 4 roam K 8 svn:date V 27 2009-11-25T10:52:07.247555Z K 7 svn:log V 183 Merge rev. 199180 to 8.x-STABLE, the change to isblank(3): Fix the grammar as in the PR, and then some. PR: 140454 Submitted by: Jeremy Huddleston END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-25T10:52:41.248301Z K 7 svn:log V 29 Remove unneeded initializer. END K 10 svn:author V 2 ed K 8 svn:date V 27 2009-11-25T10:56:50.664434Z K 7 svn:log V 63 Tidy up this code by moving the TTY == NULL checks to the top. END K 10 svn:author V 4 roam K 8 svn:date V 27 2009-11-25T11:16:39.120206Z K 7 svn:log V 183 Merge rev. 199180 to 7.x-STABLE, the change to isblank(3): Fix the grammar as in the PR, and then some. PR: 140454 Submitted by: Jeremy Huddleston END K 10 svn:author V 4 roam K 8 svn:date V 27 2009-11-25T11:17:28.851325Z K 7 svn:log V 183 Merge rev. 199180 to 8.x-STABLE, the change to isblank(3): Fix the grammar as in the PR, and then some. PR: 140454 Submitted by: Jeremy Huddleston END K 10 svn:author V 4 roam K 8 svn:date V 27 2009-11-25T11:23:44.907196Z K 7 svn:log V 282 Merge rev. 199181 to 8.x-STABLE: Correct the information about the doceng@ team members - Murray Stokely stepped down some time ago, about the same time as Giorgos Keramidas joined the team. PR: 140465 Submitted by: Denny Lin END K 10 svn:author V 4 roam K 8 svn:date V 27 2009-11-25T11:25:05.663921Z K 7 svn:log V 282 Merge rev. 199181 to 7.x-STABLE: Correct the information about the doceng@ team members - Murray Stokely stepped down some time ago, about the same time as Giorgos Keramidas joined the team. PR: 140465 Submitted by: Denny Lin END K 10 svn:author V 7 rwatson K 8 svn:date V 27 2009-11-25T13:31:17.724657Z K 7 svn:log V 81 Fix comment typo. Submitted by: Marc Balmer MFC after: 3 days END K 10 svn:author V 3 mav K 8 svn:date V 27 2009-11-25T14:24:14.273056Z K 7 svn:log V 26 Fix small copu-paste bug. END K 10 svn:author V 6 rpaulo K 8 svn:date V 27 2009-11-25T14:54:58.288252Z K 7 svn:log V 30 MFC r199491: Add WorldB SKU. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-25T14:57:07.247743Z K 7 svn:log V 186 Fix a socket leak in ftp_request() after that a connection is established. Submitted by: Sandvine Incorporated Reviewed by: des, emaste Sponsored by: Sandvine Incorporated MFC: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-25T14:59:28.582900Z K 7 svn:log V 246 In tac_get_av_value() empty attributes should be handled like 0-length strings rather than unset strings. Fix the present wrong behaviour. Obtained from: Sandvine Incorporated Reviewed by: emaste Sponsored by: Sandvine Incorporated MFC: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-25T15:02:32.447508Z K 7 svn:log V 237 Add the possibility to show informations about dropped packets on the input path when showing informations about the interfaces. Obtained from: Sandvine Incorporated Reviewed by: emaste Sponsored by: Sandvine Incorporated MFC: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2009-11-25T15:12:24.391748Z K 7 svn:log V 451 Avoid sshd, cron, syslogd and inetd to be killed under high-pressure swap environments. Please note that this can't be done while such processes run in jails. Note: in future it would be interesting to find a way to do that selectively for any desired proccess (choosen by user himself), probabilly via a ptrace interface or whatever. Obtained from: Sandvine Incorporated Reviewed by: emaste, arch@ Sponsored by: Sandvine Incorporated MFC: 1 month END